Help us shape the future of Go! Take the 2026 Go Developer Survey

containersimageregistry

package
v1.73.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultSystemContext = &types.SystemContext{OSChoice: "linux"}

Functions

func New

func New(sourceCtx *types.SystemContext, opts ...Option) (orimage.Registry, error)

func NewDefault

func NewDefault() (orimage.Registry, error)

Types

type Option

type Option func(*Registry) error

func WithInsecureSkipTLSVerify

func WithInsecureSkipTLSVerify(insecureSkipTLSVerify bool) Option

func WithTemporaryImageCache

func WithTemporaryImageCache() Option

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

func (*Registry) Destroy

func (r *Registry) Destroy() error

func (*Registry) Labels

func (r *Registry) Labels(ctx context.Context, ref orimage.Reference) (map[string]string, error)

func (*Registry) Pull

func (r *Registry) Pull(ctx context.Context, ref orimage.Reference) error

func (*Registry) Unpack

func (r *Registry) Unpack(ctx context.Context, ref orimage.Reference, unpackDir string) error

Jump to

Keyboard shortcuts

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