remote

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Image

func Image(fetcher remotes.Fetcher, desc ocispec.Descriptor) ociimage.Image

Types

type Registry

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

func DockerRegistry

func DockerRegistry(configPaths []string, opts ...auth.ResolverOption) (*Registry, error)

func (*Registry) Push

func (r *Registry) Push(ctx context.Context, ref string, img ociimage.Image) error

func (*Registry) Resolve

func (r *Registry) Resolve(ctx context.Context, ref string) (ociimage.Image, error)

Jump to

Keyboard shortcuts

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