Documentation ¶
Index ¶
- type DockerRegistry
- func (r *DockerRegistry) LayerDownload(ctx context.Context, repo string, digest digest.Digest) (io.ReadCloser, error)
- func (r *DockerRegistry) LayerExists(ctx context.Context, repo string, digest digest.Digest) (bool, error)
- func (r *DockerRegistry) LayerMount(ctx context.Context, repo string, digest digest.Digest) error
- func (r *DockerRegistry) LayerUpload(ctx context.Context, repo string, digest digest.Digest, reader io.Reader) error
- func (r *DockerRegistry) ManifestV2(ctx context.Context, repo string, ref string) (manifestV2.DeserializedManifest, error)
- func (r *DockerRegistry) ManifestV2Exists(ctx context.Context, repo string, ref string) (bool, error)
- func (r *DockerRegistry) ManifestV2Put(ctx context.Context, repo string, ref string, ...) error
- func (r *DockerRegistry) Ping() error
- type Registry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerRegistry ¶
func (*DockerRegistry) LayerDownload ¶
func (r *DockerRegistry) LayerDownload(ctx context.Context, repo string, digest digest.Digest) (io.ReadCloser, error)
func (*DockerRegistry) LayerExists ¶
func (*DockerRegistry) LayerMount ¶
func (r *DockerRegistry) LayerMount(ctx context.Context, repo string, digest digest.Digest) error
func (*DockerRegistry) LayerUpload ¶
func (*DockerRegistry) ManifestV2 ¶
func (r *DockerRegistry) ManifestV2(ctx context.Context, repo string, ref string) (manifestV2.DeserializedManifest, error)
func (*DockerRegistry) ManifestV2Exists ¶
func (*DockerRegistry) ManifestV2Put ¶
func (r *DockerRegistry) ManifestV2Put(ctx context.Context, repo string, ref string, manifest manifestV2.DeserializedManifest) error
func (*DockerRegistry) Ping ¶
func (r *DockerRegistry) Ping() error
type Registry ¶
type Registry interface { Ping() error ManifestV2(ctx context.Context, repo string, ref string) (manifestV2.DeserializedManifest, error) ManifestV2Exists(ctx context.Context, repo string, ref string) (bool, error) ManifestV2Put(ctx context.Context, repo string, ref string, manifest manifestV2.DeserializedManifest) error LayerExists(ctx context.Context, repo string, digest digest.Digest) (bool, error) LayerDownload(ctx context.Context, repo string, digest digest.Digest) (io.ReadCloser, error) LayerUpload(ctx context.Context, repo string, digest digest.Digest, reader io.Reader) error LayerMount(ctx context.Context, repo string, digest digest.Digest) error }
func NewRegistry ¶
Click to show internal directories.
Click to hide internal directories.