37 lines
1.6 KiB
Go
37 lines
1.6 KiB
Go
// Copyright 2016 The Linux Foundation
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
package v1
|
|
|
|
const (
|
|
// MediaTypeDescriptor specifies the media type for a content descriptor.
|
|
MediaTypeDescriptor = "application/vnd.oci.descriptor.v1+json"
|
|
|
|
// MediaTypeImageManifest specifies the media type for an image manifest.
|
|
MediaTypeImageManifest = "application/vnd.oci.image.manifest.v1+json"
|
|
|
|
// MediaTypeImageManifestList specifies the media type for an image manifest list.
|
|
MediaTypeImageManifestList = "application/vnd.oci.image.manifest.list.v1+json"
|
|
|
|
// MediaTypeImageLayer is the media type used for layers referenced by the manifest.
|
|
MediaTypeImageLayer = "application/vnd.oci.image.layer.v1.tar+gzip"
|
|
|
|
// MediaTypeImageLayerNonDistributable is the media type for layers referenced by
|
|
// the manifest but with distribution restrictions.
|
|
MediaTypeImageLayerNonDistributable = "application/vnd.oci.image.layer.nondistributable.v1.tar+gzip"
|
|
|
|
// MediaTypeImageConfig specifies the media type for the image configuration.
|
|
MediaTypeImageConfig = "application/vnd.oci.image.config.v1+json"
|
|
)
|