Documentation
¶
Overview ¶
Package layers contains functions for interacting with Cargoship layers stored in OCI registries, derived from github.com/zarf-dev/src/pkg/zoci.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LayerType ¶
type LayerType string
LayerType specifies a category of layers in a Cargoship OCI package.
const ( // ImageCacheDirectory is the directory within the Zarf cache containing an OCI store ImageCacheDirectory = "images" // MetadataLayers includes zarf.yaml, signature, and checksums. MetadataLayers LayerType = "metadata" // ImageLayers includes container image blobs. ImageLayers LayerType = "images" // OSLayers includes the OS tarball. OSLayers LayerType = "os" // FileLayers includes the File tarball. FileLayers LayerType = "files" )
func GetAllLayerTypes ¶
func GetAllLayerTypes() []LayerType
GetAllLayerTypes returns the complete set of layer types in a Cargoship OCI package.
Click to show internal directories.
Click to hide internal directories.