docker

package
v0.0.0-...-ccdc392 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegistryUser

func RegistryUser() string

RegistryUser returns the username for provided container registry

Types

type Client

type Client interface {
	ImagePull(ctx context.Context, image string) error
	ImagePush(ctx context.Context, image string) error
	ImageTag(ctx context.Context, src, dst string) error
}

Client defines the operations that can be performed with a Docker client.

func CreateClient

func CreateClient() (Client, error)

CreateClient returns a DockerClient

Jump to

Keyboard shortcuts

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