Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ImagePull = crane.Pull MaxWaitDuration = time.Minute * 1 )
Functions ¶
func NewCraneContainerImageRegistry ¶
func NewCraneContainerImageRegistry(dockerUsername string, dockerPassword string) *craneContainerImageRegistry
NewCraneContainerImageRegistry creates a new instance of craneContainerImageRegistry
Types ¶
type ImageRegistry ¶
type ImageRegistry interface { // PullImageConfig is used to pull the given container image. PullImageConfig(ctx context.Context, image string) (*imagev1.ConfigFile, error) }
ImageRegistry abstracts the use of a container registry and includes functionality to pull container images.
Click to show internal directories.
Click to hide internal directories.