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 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.
Click to show internal directories.
Click to hide internal directories.