File: spec.go

package info (click to toggle)
golang-github-containers-ocicrypt 1.1.9-1~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 524 kB
  • sloc: sh: 242; makefile: 17
file content (20 lines) | stat: -rw-r--r-- 1,405 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package spec

const (
	// MediaTypeLayerEnc is MIME type used for encrypted layers.
	MediaTypeLayerEnc = "application/vnd.oci.image.layer.v1.tar+encrypted"
	// MediaTypeLayerGzipEnc is MIME type used for encrypted gzip-compressed layers.
	MediaTypeLayerGzipEnc = "application/vnd.oci.image.layer.v1.tar+gzip+encrypted"
	// MediaTypeLayerZstdEnc is MIME type used for encrypted zstd-compressed layers.
	MediaTypeLayerZstdEnc = "application/vnd.oci.image.layer.v1.tar+zstd+encrypted"
	// MediaTypeLayerNonDistributableEnc is MIME type used for non distributable encrypted layers.
	MediaTypeLayerNonDistributableEnc = "application/vnd.oci.image.layer.nondistributable.v1.tar+encrypted"
	// MediaTypeLayerNonDistributableGzipEnc is MIME type used for non distributable encrypted gzip-compressed layers.
	MediaTypeLayerNonDistributableGzipEnc = "application/vnd.oci.image.layer.nondistributable.v1.tar+gzip+encrypted"
	// MediaTypeLayerNonDistributableZstdEnc is MIME type used for non distributable encrypted zstd-compressed layers.
	MediaTypeLayerNonDistributableZstdEnc = "application/vnd.oci.image.layer.nondistributable.v1.tar+zstd+encrypted"
	// MediaTypeLayerNonDistributableZsdtEnc is MIME type used for non distributable encrypted zstd-compressed layers.
	//
	// Deprecated: Use [MediaTypeLayerNonDistributableZstdEnc].
	MediaTypeLayerNonDistributableZsdtEnc = MediaTypeLayerNonDistributableZstdEnc
)