From 34f012e0e02d93eb05ed6c8a4216ffef103f5eac Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Mon, 12 Sep 2016 12:49:34 +0200 Subject: [PATCH] specs-go/v1: add nondistributable media type Signed-off-by: Antonio Murdaca --- specs-go/v1/mediatype.go | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/specs-go/v1/mediatype.go b/specs-go/v1/mediatype.go index 1cd5450cc..90199dd32 100644 --- a/specs-go/v1/mediatype.go +++ b/specs-go/v1/mediatype.go @@ -15,18 +15,22 @@ package v1 const ( - // MediaTypeDescriptor specifies the mediaType for a content descriptor. + // MediaTypeDescriptor specifies the media type for a content descriptor. MediaTypeDescriptor = "application/vnd.oci.descriptor.v1+json" - // MediaTypeImageManifest specifies the mediaType for an image manifest. + // MediaTypeImageManifest specifies the media type for an image manifest. MediaTypeImageManifest = "application/vnd.oci.image.manifest.v1+json" - // MediaTypeImageManifestList specifies the mediaType for an image manifest list. + // MediaTypeImageManifestList specifies the media type for an image manifest list. MediaTypeImageManifestList = "application/vnd.oci.image.manifest.list.v1+json" - // MediaTypeImageLayer is the mediaType used for layers referenced by the manifest. + // MediaTypeImageLayer is the media type used for layers referenced by the manifest. MediaTypeImageLayer = "application/vnd.oci.image.layer.tar+gzip" - // MediaTypeImageConfig specifies the mediaType for the image configuration. + // MediaTypeImageLayerNonDistributable is the media type for layers referenced by + // the manifest but with distribution restrictions. + MediaTypeImageLayerNonDistributable = "application/vnd.oci.image.layer.nondistributable.tar+gzip" + + // MediaTypeImageConfig specifies the media type for the image configuration. MediaTypeImageConfig = "application/vnd.oci.image.config.v1+json" )