images

package
v0.0.0-...-ce96b73 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsUnsupportedReference

func IsUnsupportedReference(err error) bool

Types

type BlobLookup

type BlobLookup interface {
	// Open an io.ReadSeekCloser for the specified digest
	Blob(ctx context.Context, dgst digest.Digest) (io.ReadSeekCloser, error)
}

type ManifestLookup

type ManifestLookup interface {
	// Look up a manifest using the specified reference
	Manifest(ctx context.Context, ref reference.Reference, options ...distribution.ManifestServiceOption) (distribution.Manifest, error)
}

type Registry

type Registry interface {
	// Create repository instance  for a named repository
	Repository(named reference.Named) (Repository, error)
}

type RemoteRegistry

type RemoteRegistry struct {
	BaseUrl   string
	Transport http.RoundTripper
}

A client abstraction for a docker image registry.

func (*RemoteRegistry) Blob

func (*RemoteRegistry) Manifest

func (*RemoteRegistry) Repository

func (r *RemoteRegistry) Repository(ref reference.Named) (Repository, error)

type Repository

type Repository interface {
	ManifestLookup
	BlobLookup
}

Jump to

Keyboard shortcuts

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