imageregistry

package
v3.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ImagePull       = crane.Pull
	MaxWaitDuration = time.Minute * 1
)

Functions

func NewCraneContainerImageRegistry

func NewCraneContainerImageRegistry() *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.

Jump to

Keyboard shortcuts

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