e1a361bff2
Allow usage of the experimental docker resolver as a package. There are very few changes to the consuming code, demonstrating the effectiveness of the abstraction. This move will allow future contributions to a more featured resolver implementation. Signed-off-by: Stephen J Day <stephen.day@docker.com>
13 lines
652 B
Go
13 lines
652 B
Go
package images
|
|
|
|
// mediatype definitions for image components handled in containerd.
|
|
//
|
|
// oci components are generally referenced directly, although we may centralize
|
|
// here for clarity.
|
|
const (
|
|
MediaTypeDockerSchema2Layer = "application/vnd.docker.image.rootfs.diff.tar"
|
|
MediaTypeDockerSchema2LayerGzip = "application/vnd.docker.image.rootfs.diff.tar.gzip"
|
|
MediaTypeDockerSchema2Config = "application/vnd.docker.container.image.v1+json"
|
|
MediaTypeDockerSchema2Manifest = "application/vnd.docker.distribution.manifest.v2+json"
|
|
MediaTypeDockerSchema2ManifestList = "application/vnd.docker.distribution.manifest.list.v2+json"
|
|
)
|