mirror of
https://github.com/project-zot/zot.git
synced 2025-02-17 23:45:36 -05:00
Following the spec defined here https://github.com/opencontainers/distribution-spec/tree/main/extensions Signed-off-by: Shivam Mishra <shimish2@cisco.com>
12 lines
446 B
Go
12 lines
446 B
Go
package constants
|
|
|
|
const (
|
|
ArtifactSpecRoutePrefix = "/oras/artifacts/v1"
|
|
RoutePrefix = "/v2"
|
|
DistAPIVersion = "Docker-Distribution-API-Version"
|
|
DistContentDigestKey = "Docker-Content-Digest"
|
|
BlobUploadUUID = "Blob-Upload-UUID"
|
|
DefaultMediaType = "application/json"
|
|
BinaryMediaType = "application/octet-stream"
|
|
DefaultMetricsExtensionRoute = "/metrics"
|
|
)
|