remotecache

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter interface {
	solver.CacheExporterTarget
	Finalize(ctx context.Context) error
}

func NewExporter

func NewExporter(ingester content.Ingester) Exporter

type Importer

type Importer interface {
	Resolve(ctx context.Context, desc ocispec.Descriptor, id string, w worker.Worker) (solver.CacheManager, error)
}

func NewImporter

func NewImporter(provider content.Provider) Importer

type ResolveCacheExporterFunc

type ResolveCacheExporterFunc func(ctx context.Context, typ, target string) (Exporter, error)

type ResolveCacheImporterFunc

type ResolveCacheImporterFunc func(ctx context.Context, typ, ref string) (Importer, ocispec.Descriptor, error)

ResolveCacheImporterFunc returns importer and descriptor. Currently typ needs to be an empty string.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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