containersimageregistry

package
v1.58.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: Apache-2.0 Imports: 19 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