package image
import "sigs.k8s.io/kustomize/api/internal/image"
Index ¶
- func IsImageMatched(s, t string) bool
- func Split(imageName string) (name string, tag string, digest string)
Functions ¶
func IsImageMatched ¶
IsImageMatched returns true if the value of t is identical to the image name in the full image name and tag as given by s.
func Split ¶
Split separates and returns the name and tag parts from the image string using either colon `:` or at `@` separators. image reference pattern: [[host[:port]/]component/]component[:tag][@digest]
Source Files ¶
image.go
- Version
- v0.20.1 (latest)
- Published
- Jul 23, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 3 hours ago –
Tools for package owners.