Skip to content

Commit 34f012e

Browse files
committed
specs-go/v1: add nondistributable media type
Signed-off-by: Antonio Murdaca <[email protected]>
1 parent 61989fe commit 34f012e

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

specs-go/v1/mediatype.go

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,22 @@
1515
package v1
1616

1717
const (
18-
// MediaTypeDescriptor specifies the mediaType for a content descriptor.
18+
// MediaTypeDescriptor specifies the media type for a content descriptor.
1919
MediaTypeDescriptor = "application/vnd.oci.descriptor.v1+json"
2020

21-
// MediaTypeImageManifest specifies the mediaType for an image manifest.
21+
// MediaTypeImageManifest specifies the media type for an image manifest.
2222
MediaTypeImageManifest = "application/vnd.oci.image.manifest.v1+json"
2323

24-
// MediaTypeImageManifestList specifies the mediaType for an image manifest list.
24+
// MediaTypeImageManifestList specifies the media type for an image manifest list.
2525
MediaTypeImageManifestList = "application/vnd.oci.image.manifest.list.v1+json"
2626

27-
// MediaTypeImageLayer is the mediaType used for layers referenced by the manifest.
27+
// MediaTypeImageLayer is the media type used for layers referenced by the manifest.
2828
MediaTypeImageLayer = "application/vnd.oci.image.layer.tar+gzip"
2929

30-
// MediaTypeImageConfig specifies the mediaType for the image configuration.
30+
// MediaTypeImageLayerNonDistributable is the media type for layers referenced by
31+
// the manifest but with distribution restrictions.
32+
MediaTypeImageLayerNonDistributable = "application/vnd.oci.image.layer.nondistributable.tar+gzip"
33+
34+
// MediaTypeImageConfig specifies the media type for the image configuration.
3135
MediaTypeImageConfig = "application/vnd.oci.image.config.v1+json"
3236
)

0 commit comments

Comments
 (0)