cache

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: Apache-2.0 Imports: 8 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRemoteCache

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

Types

type RemoteCache

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

func (RemoteCache) MissingLayers

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

func (RemoteCache) PutImage

func (c RemoteCache) PutImage(imageID string, imageInfo types.ImageInfo) error

func (RemoteCache) PutLayer

func (c RemoteCache) PutLayer(layerID, decompressedLayerID string, layerInfo types.LayerInfo) error

type RemoteURL

type RemoteURL string

Jump to

Keyboard shortcuts

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