layers

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

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