Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
HashRegexp = regexp.MustCompile(`^(sha1|sha2|sha256|sha512)-.*$`)
)
Functions ¶
func ApplyDefaultImageTag ¶
TODO(euank): this is taken from kubelet/image/image_manager.go. "A little copying is better than a little dependency." -- https://go-proverbs.github.io/ This should not exist here, the kubelet should break out image and tag in the ImageStatusRequest and then we can leave it to parse. applyDefaultImageTag parses a docker image string, if it doesn't contain any tag or digest, a default tag will be applied.
func ExistInSlice ¶
func GetCanonicalImageName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.