| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
package ociserver |
| 16 |
|
| 17 |
import ( |
| 18 |
ocispec "github.com/opencontainers/image-spec/specs-go/v1" |
| 19 |
) |
| 20 |
|
| 21 |
const ( |
| 22 |
mediaTypeOCIImageIndex = ocispec.MediaTypeImageIndex |
| 23 |
mediaTypeOCIRestrictedLayer = ocispec.MediaTypeImageLayerNonDistributableGzip |
| 24 |
mediaTypeOCIUncompressedRestrictedLayer = ocispec.MediaTypeImageLayerNonDistributable |
| 25 |
mediaTypeOCIManifestSchema1 = ocispec.MediaTypeImageManifest |
| 26 |
mediaTypeOCIConfigJSON = ocispec.MediaTypeImageConfig |
| 27 |
mediaTypeDockerConfigJSON = "application/vnd.docker.container.image.v1+json" |
| 28 |
mediaTypeOctetStream = "application/octet-stream" |
| 29 |
) |