Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteFromCacheDir ¶
DeleteFromCacheDir deletes tar files stored in cache dir
func DigestByDockerLib ¶
DigestByDockerLib uses client by docker lib to return image digest img.ID in as same as image digest
func DigestByGoLib ¶
DigestByGoLib gets image digest uses go-containerregistry lib which is 4s slower thabn local daemon per lookup https://github.com/google/go-containerregistry/issues/627
func ExistsImageInDaemon ¶ added in v1.10.0
ExistsImageInDaemon if img exist in local docker daemon
func SaveToDir ¶
SaveToDir will cache images on the host
The cache directory currently caches images using the imagename_tag For example, k8s.gcr.io/kube-addon-manager:v6.5 would be stored at $CACHE_DIR/k8s.gcr.io/kube-addon-manager_v6.5
func WriteImageToDaemon ¶ added in v1.8.0
WriteImageToDaemon write img to the local docker daemon
Types ¶
This section is empty.