registry

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blob

type Blob struct {
	// MediaType describe the type of the content. All text based formats are
	// encoded as utf-8.
	MediaType string

	// Size in bytes of content.
	Size int64
}

Blob describes a

type Manifest

type Manifest struct {
	Data        []byte
	ContentType string
}

Manifest describes a

type Service

type Service interface {
	GetBlob(ctx context.Context, repository string, d digest.Digest) (io.ReadCloser, Blob, error)
	GetManifest(ctx context.Context, repositoryString string, referenceString string) (Manifest, error)
}

Service provides access to a remote registry image repositories

Directories

Path Synopsis
http

Jump to

Keyboard shortcuts

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