cache

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: Apache-2.0 Imports: 8 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRemoteCache

func NewRemoteCache(url RemoteURL, customHeaders http.Header) cache.ArtifactCache

Types

type RemoteCache

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

func (RemoteCache) MissingBlobs added in v0.9.0

func (c RemoteCache) MissingBlobs(imageID string, layerIDs []string) (bool, []string, error)

func (RemoteCache) PutArtifact added in v0.9.0

func (c RemoteCache) PutArtifact(imageID string, imageInfo types.ArtifactInfo) error

func (RemoteCache) PutBlob added in v0.9.0

func (c RemoteCache) PutBlob(diffID string, layerInfo types.BlobInfo) error

type RemoteURL

type RemoteURL string

Jump to

Keyboard shortcuts

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