Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalImageRef ¶ added in v0.122.0
CanonicalImageRef tries to parse provided image reference and return canonical image reference instead, i.e. image reference that have qualified repository path and image name If it's not possible to normalize image reference - empty string and error returned Extracted from k8sattributesprocessor for future reuse
Types ¶
type ImageRef ¶
func ParseImageName ¶
ParseImageName extracts image repository, tag, digest and digest algorithm from a combined image reference e.g. example.com:5000/alpine/alpine:test --> `example.com:5000/alpine/alpine` and `test`
Click to show internal directories.
Click to hide internal directories.