Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsUnsupportedReference ¶
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 (r *RemoteRegistry) Blob(ctx context.Context, s string) (io.ReadSeekCloser, error)
func (*RemoteRegistry) Manifest ¶
func (r *RemoteRegistry) Manifest(ctx context.Context, s string) (distribution.Manifest, error)
func (*RemoteRegistry) Repository ¶
func (r *RemoteRegistry) Repository(ref reference.Named) (Repository, error)
type Repository ¶
type Repository interface { ManifestLookup BlobLookup }
Click to show internal directories.
Click to hide internal directories.