store

package
v0.0.0-...-02142e6 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	// Write writes a descriptor and blob into the store
	Write(ctx context.Context, ref string, descriptor ocispec.Descriptor, blob []byte) error

	// Push takes a config, a manifest, and a set of layer descriptors and pushes it to the remote
	// fetching the blobs to push requires knowledge of the backing store, which is why this method is on the Store
	Push(ctx context.Context, resolver remotes.Resolver, ref string, image *image.Descriptor) (*digest.Digest, error)
}

Jump to

Keyboard shortcuts

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