docker

package
v2.14.6+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadImage

func DownloadImage(ctx context.Context, log *zap.Logger, dryRun bool, image string) error

DownloadImage invokes the Docker CLI and pulls an image

func DownloadImages

func DownloadImages(ctx context.Context, log *zap.Logger, dryRun bool, images []string) error

DownloadImages pulls all given images using the Docker CLI Invokes DownloadImage for actual pulling

func PushImage

func PushImage(ctx context.Context, log *zap.Logger, dryRun bool, image string) error

PushImage invokes the Docker CLI and pushes the given image

func PushImages

func PushImages(ctx context.Context, log *zap.Logger, dryRun bool, images []string) error

PushImages pushes all given images using the Docker CLI Invokes PushImage for actual pushing

func RetagImage

func RetagImage(ctx context.Context, log *zap.Logger, dryRun bool, sourceImage, registry string) (string, error)

RetagImage invokes the Docker CLI and tags the given image so it belongs to the given registry.

func RetagImages

func RetagImages(ctx context.Context, log *zap.Logger, dryRun bool, images []string, registry string) ([]string, error)

RetagImages invokes the Docker CLI and tags the given images so they belongs to the given registry. Invokes RetagImage for actual tagging

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL