summaryrefslogtreecommitdiff
path: root/vendor/github.com/opencontainers/image-spec/specs-go/v1/mediatype.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/opencontainers/image-spec/specs-go/v1/mediatype.go')
-rw-r--r--vendor/github.com/opencontainers/image-spec/specs-go/v1/mediatype.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/opencontainers/image-spec/specs-go/v1/mediatype.go b/vendor/github.com/opencontainers/image-spec/specs-go/v1/mediatype.go
index bad7bb97f..4f35ac134 100644
--- a/vendor/github.com/opencontainers/image-spec/specs-go/v1/mediatype.go
+++ b/vendor/github.com/opencontainers/image-spec/specs-go/v1/mediatype.go
@@ -34,6 +34,10 @@ const (
// referenced by the manifest.
MediaTypeImageLayerGzip = "application/vnd.oci.image.layer.v1.tar+gzip"
+ // MediaTypeImageLayerZstd is the media type used for zstd compressed
+ // layers referenced by the manifest.
+ MediaTypeImageLayerZstd = "application/vnd.oci.image.layer.v1.tar+zstd"
+
// MediaTypeImageLayerNonDistributable is the media type for layers referenced by
// the manifest but with distribution restrictions.
MediaTypeImageLayerNonDistributable = "application/vnd.oci.image.layer.nondistributable.v1.tar"
@@ -43,6 +47,11 @@ const (
// restrictions.
MediaTypeImageLayerNonDistributableGzip = "application/vnd.oci.image.layer.nondistributable.v1.tar+gzip"
+ // MediaTypeImageLayerNonDistributableZstd is the media type for zstd
+ // compressed layers referenced by the manifest but with distribution
+ // restrictions.
+ MediaTypeImageLayerNonDistributableZstd = "application/vnd.oci.image.layer.nondistributable.v1.tar+zstd"
+
// MediaTypeImageConfig specifies the media type for the image configuration.
MediaTypeImageConfig = "application/vnd.oci.image.config.v1+json"
)