Skip to content

Commit

Permalink
Merge pull request #297 from runcom/nondistributable-mt
Browse files Browse the repository at this point in the history
specs-go/v1: add nondistributable media type
  • Loading branch information
philips authored Sep 13, 2016
2 parents 6a6219d + 34f012e commit b1d6969
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions specs-go/v1/mediatype.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

0 comments on commit b1d6969

Please sign in to comment.