consts

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OCIManifestSchema1        = "application/vnd.oci.image.manifest.v1+json"
	DockerManifestSchema2     = "application/vnd.docker.distribution.manifest.v2+json"
	DockerManifestListSchema2 = "application/vnd.docker.distribution.manifest.list.v2+json"
	OCIImageIndexSchema       = "application/vnd.oci.image.index.v1+json"

	DockerConfigJSON        = "application/vnd.docker.container.image.v1+json"
	DockerLayer             = "application/vnd.docker.image.rootfs.diff.tar.gzip"
	DockerForeignLayer      = "application/vnd.docker.image.rootfs.foreign.diff.tar.gzip"
	DockerUncompressedLayer = "application/vnd.docker.image.rootfs.diff.tar"
	OCILayer                = "application/vnd.oci.image.layer.v1.tar+gzip"
	OCIArtifact             = "application/vnd.oci.empty.v1+json"

	// ChartConfigMediaType is the reserved media type for the Helm chart manifest config
	ChartConfigMediaType = "application/vnd.cncf.helm.config.v1+json"

	// ChartLayerMediaType is the reserved media type for Helm chart package content
	ChartLayerMediaType = "application/vnd.cncf.helm.chart.content.v1.tar+gzip"

	// ProvLayerMediaType is the reserved media type for Helm chart provenance files
	ProvLayerMediaType = "application/vnd.cncf.helm.chart.provenance.v1.prov"

	// FileLayerMediaType is the reserved media type for File content layers
	FileLayerMediaType = "application/vnd.content.hauler.file.layer.v1"

	// FileLocalConfigMediaType is the reserved media type for File config
	FileLocalConfigMediaType     = "application/vnd.content.hauler.file.local.config.v1+json"
	FileDirectoryConfigMediaType = "application/vnd.content.hauler.file.directory.config.v1+json"
	FileHttpConfigMediaType      = "application/vnd.content.hauler.file.http.config.v1+json"

	// MemoryConfigMediaType is the reserved media type for Memory config for a generic set of bytes stored in memory
	MemoryConfigMediaType = "application/vnd.content.hauler.memory.config.v1+json"

	// WasmArtifactLayerMediaType is the reserved media type for WASM artifact layers
	WasmArtifactLayerMediaType = "application/vnd.wasm.content.layer.v1+wasm"

	// WasmConfigMediaType is the reserved media type for WASM configs
	WasmConfigMediaType = "application/vnd.wasm.config.v1+json"

	UnknownManifest = "application/vnd.hauler.cattle.io.unknown.v1+json"
	UnknownLayer    = "application/vnd.content.hauler.unknown.layer"

	OCIVendorPrefix    = "vnd.oci"
	DockerVendorPrefix = "vnd.docker"
	HaulerVendorPrefix = "vnd.hauler"
	OCIImageIndexFile  = "index.json"

	KindAnnotationName = "kind"
	KindAnnotation     = "dev.cosignproject.cosign/image"

	CarbideRegistry         = "rgcrprod.azurecr.us"
	ImageAnnotationKey      = "hauler.dev/key"
	ImageAnnotationPlatform = "hauler.dev/platform"
	ImageAnnotationRegistry = "hauler.dev/registry"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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