remote

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Image

func Image(ctx context.Context, ref name.Reference, option types.RemoteOptions) (v1.Image, error)

Image is a wrapper of google/go-containerregistry/pkg/v1/remote.Image so that it can try multiple authentication methods.

func Referrers

func Referrers(ctx context.Context, d name.Digest, option types.RemoteOptions) (*v1.IndexManifest, error)

Referrers is a wrapper of google/go-containerregistry/pkg/v1/remote.Referrers so that it can try multiple authentication methods.

Types

type Descriptor

type Descriptor = remote.Descriptor

func Get

func Get(ctx context.Context, ref name.Reference, option types.RemoteOptions) (*Descriptor, error)

Get is a wrapper of google/go-containerregistry/pkg/v1/remote.Get so that it can try multiple authentication methods.

Jump to

Keyboard shortcuts

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