remotecache

package
v0.0.0-...-dbf67a6 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2018 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheExporter

type CacheExporter struct {
	// contains filtered or unexported fields
}

func NewCacheExporter

func NewCacheExporter(opt ExporterOpt) *CacheExporter

func (*CacheExporter) ExporterForTarget

func (ce *CacheExporter) ExporterForTarget(target string) *RegistryCacheExporter

func (*CacheExporter) Finalize

func (ce *CacheExporter) Finalize(ctx context.Context, cc *v1.CacheChains, target string) error

type CacheImporter

type CacheImporter struct {
	// contains filtered or unexported fields
}

func NewCacheImporter

func NewCacheImporter(opt ImportOpt) *CacheImporter

func (*CacheImporter) Resolve

func (ci *CacheImporter) Resolve(ctx context.Context, ref string) (solver.CacheManager, error)

type ExporterOpt

type ExporterOpt struct {
	SessionManager *session.Manager
}

type ImportOpt

type ImportOpt struct {
	SessionManager *session.Manager
	Worker         worker.Worker // TODO: remove. This sets the worker where the cache is imported to. Should be passed on load instead.
}

type RegistryCacheExporter

type RegistryCacheExporter struct {
	solver.CacheExporterTarget
	// contains filtered or unexported fields
}

func (*RegistryCacheExporter) Finalize

func (ce *RegistryCacheExporter) Finalize(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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