Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ExportResponseManifestDesc is a key for the map returned from Exporter.Finalize. // The map value is a JSON string of an OCI desciptor of a manifest. ExporterResponseManifestDesc = "cache.manifest" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DistributionSourceLabelSetter ¶ added in v0.7.0
type DistributionSourceLabelSetter interface { SetDistributionSourceLabel(context.Context, digest.Digest) error SetDistributionSourceAnnotation(desc ocispec.Descriptor) ocispec.Descriptor }
type Exporter ¶
type Importer ¶
type Importer interface {
Resolve(ctx context.Context, desc ocispec.Descriptor, id string, w worker.Worker) (solver.CacheManager, error)
}
func NewImporter ¶
Click to show internal directories.
Click to hide internal directories.