Documentation ¶
Overview ¶
Package cache provides a primitive cache mechanism for bundle layers
Package cache provides a primitive cache mechanism for bundle layers
Index ¶
- func Add(filePathToAdd string) error
- func AddPulledImgLayers(pulledLayers []ocispec.Descriptor, dstDir string) (err error)
- func CheckLayerExists(ctx context.Context, layer ocispec.Descriptor, store *ocistore.Store, ...) (bool, error)
- func Exists(layerDigest string) bool
- func Use(layerDigest, dstDir string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPulledImgLayers ¶ added in v0.13.0
func AddPulledImgLayers(pulledLayers []ocispec.Descriptor, dstDir string) (err error)
AddPulledImgLayers caches the image layers that were just pulled
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.