Documentation ¶
Index ¶
- func Copy(ctx context.Context, log *zap.SugaredLogger, image string, dst string, ...) error
- func DownloadImage(ctx context.Context, log *zap.SugaredLogger, dryRun bool, image string) error
- func DownloadImages(ctx context.Context, log *zap.SugaredLogger, dryRun bool, images []string) error
- func PushImage(ctx context.Context, log *zap.SugaredLogger, dryRun bool, image string) error
- func PushImages(ctx context.Context, log *zap.SugaredLogger, dryRun bool, images []string) error
- func RetagImage(ctx context.Context, log *zap.SugaredLogger, dryRun bool, ...) (string, error)
- func RetagImages(ctx context.Context, log *zap.SugaredLogger, dryRun bool, images []string, ...) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadImage ¶
DownloadImage invokes the Docker CLI and pulls an image
func DownloadImages ¶
func DownloadImages(ctx context.Context, log *zap.SugaredLogger, dryRun bool, images []string) error
DownloadImages pulls all given images using the Docker CLI Invokes DownloadImage for actual pulling
func PushImages ¶
PushImages pushes all given images using the Docker CLI Invokes PushImage for actual pushing
func RetagImage ¶
func RetagImage(ctx context.Context, log *zap.SugaredLogger, dryRun bool, sourceImage, registry string) (string, error)
RetagImage invokes the Docker CLI and tags the given image so it belongs to the given registry.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.