Add uncompressed layer media type
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
parent
ad80b3d492
commit
28602af35a
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