Documentation ¶
Index ¶
Constants ¶
const MaxK8sJobName = 63
Variables ¶
This section is empty.
Functions ¶
func NormalizeImageID ¶
NormalizeImageID remove "docker-pullable://" prefix from imageID if exists and then normalize it. In case the image is not pullable (local image), return it as is. https://github.com/kubernetes/kubernetes/issues/95968 input: docker-pullable://gcr.io/development-infra-208909/kubeclarity@sha256:6d5d0e4065777eec8237cefac4821702a31cd5b6255483ac50c334c057ffecfa output: gcr.io/development-infra-208909/kubeclarity@sha256:6d5d0e4065777eec8237cefac4821702a31cd5b6255483ac50c334c057ffecfa
func ParseImageHash ¶
ParseImageHash extracts image hash from image ID input: docker-pullable://gcr.io/development-infra-208909/kubeclarity@sha256:6d5d0e4065777eec8237cefac4821702a31cd5b6255483ac50c334c057ffecfa output: 6d5d0e4065777eec8237cefac4821702a31cd5b6255483ac50c334c057ffecfa
Types ¶
This section is empty.