Versions in this module Expand all Collapse all v0 v0.20.4 Aug 7, 2024 Changes in this version + var ErrNotFound = errors.New("layer was not found") + func Image(i v1.Image, c Cache) v1.Image + func ImageIndex(ii v1.ImageIndex, c Cache) v1.ImageIndex + type Cache interface + Delete func(v1.Hash) error + Get func(v1.Hash) (v1.Layer, error) + Put func(v1.Layer) (v1.Layer, error) + func NewFilesystemCache(path string) Cache + func ReadOnly(c Cache) Cache