1
0
mirror of https://github.com/distribution/distribution.git synced 2025-11-05 04:34:00 +00:00

Merge pull request from anusha-ragunathan/add-plugin-mediatype

Add plugin mediatype to distribution manifest.
This commit is contained in:
Derek McGowan
2016-08-16 13:53:36 -07:00
committed by GitHub

@@ -17,6 +17,9 @@ const (
// MediaTypeConfig specifies the mediaType for the image configuration. // MediaTypeConfig specifies the mediaType for the image configuration.
MediaTypeConfig = "application/vnd.docker.container.image.v1+json" MediaTypeConfig = "application/vnd.docker.container.image.v1+json"
// MediaTypePluginConfig specifies the mediaType for plugin configuration.
MediaTypePluginConfig = "application/vnd.docker.plugin.v0+json"
// MediaTypeLayer is the mediaType used for layers referenced by the // MediaTypeLayer is the mediaType used for layers referenced by the
// manifest. // manifest.
MediaTypeLayer = "application/vnd.docker.image.rootfs.diff.tar.gzip" MediaTypeLayer = "application/vnd.docker.image.rootfs.diff.tar.gzip"