forked from TrueCloudLab/distribution
Add uncompressed layer media type
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
parent
6b998f2755
commit
9ab7b0ed43
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@ const (
|
||||||
// MediaTypeForeignLayer is the mediaType used for layers that must be
|
// MediaTypeForeignLayer is the mediaType used for layers that must be
|
||||||
// downloaded from foreign URLs.
|
// downloaded from foreign URLs.
|
||||||
MediaTypeForeignLayer = "application/vnd.docker.image.rootfs.foreign.diff.tar.gzip"
|
MediaTypeForeignLayer = "application/vnd.docker.image.rootfs.foreign.diff.tar.gzip"
|
||||||
|
|
||||||
|
// MediaTypeUncompressedLayer is the mediaType used for layers which
|
||||||
|
// are not compressed.
|
||||||
|
MediaTypeUncompressedLayer = "application/vnd.docker.image.rootfs.diff.tar"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
Loading…
Reference in a new issue