consts

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

View Source
const (
	OCIManifestSchema1    = "application/vnd.oci.image.manifest.v1+json"
	DockerManifestSchema2 = "application/vnd.docker.distribution.manifest.v2+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"

	// 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
	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"
)

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