Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainID ¶
type ChainID digest.Digest
ChainID is calculated from a series of serialized cache layers. The layers cacheID is "", but the COPY layer. same ChainID indicates that same entire file system.
func CalculateCacheID ¶
type ChainStore ¶
type ChainStore interface { Images() map[ImageID]*v1.Image GetChainLayer(id ChainID) (v1.Layer, error) }
ChainStore is an interface for manipulating images
func NewImageStore ¶
func NewImageStore(fs store.Backend, ls store.LayerStore) (ChainStore, error)
type Layer ¶
type LocalImageCache ¶
type LocalImageCache struct {
// contains filtered or unexported fields
}
LocalImageCache saves all the layer
func NewLocalImageCache ¶
func NewLocalImageCache(chainStore ChainStore) (*LocalImageCache, error)
type NopImageCache ¶
type NopImageCache struct { }
Click to show internal directories.
Click to hide internal directories.