containersimageregistry

package
v1.71.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: Apache-2.0 Imports: 20 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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