mirror of
https://github.com/project-zot/zot.git
synced 2024-12-23 22:27:35 -05:00
7d7bc9d5e4
- as requested by the latest version of the oci distribution spec Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com>
15 lines
574 B
Go
15 lines
574 B
Go
package constants
|
|
|
|
const (
|
|
ArtifactSpecRoutePrefix = "/oras/artifacts/v1"
|
|
RoutePrefix = "/v2"
|
|
Blobs = "blobs"
|
|
Uploads = "uploads"
|
|
DistAPIVersion = "Docker-Distribution-API-Version"
|
|
DistContentDigestKey = "Docker-Content-Digest"
|
|
SubjectDigestKey = "OCI-Subject"
|
|
BlobUploadUUID = "Blob-Upload-UUID"
|
|
DefaultMediaType = "application/json"
|
|
BinaryMediaType = "application/octet-stream"
|
|
DefaultMetricsExtensionRoute = "/metrics"
|
|
)
|