mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
112fbec5b6
- image command is now deprecated in favor of 'images' - cve command is now deprecated in favor of 'cves' Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com>
36 lines
959 B
Go
36 lines
959 B
Go
package constants
|
|
|
|
// https://github.com/opencontainers/distribution-spec/tree/main/extensions#extensions-api-for-distribution
|
|
const (
|
|
ExtCatalogPrefix = "/_catalog"
|
|
ExtOciDiscoverPrefix = "/_oci/ext/discover"
|
|
|
|
BaseExtension = "_zot"
|
|
|
|
// zot specific extensions.
|
|
BasePrefix = "/_zot"
|
|
ExtPrefix = BasePrefix + "/ext"
|
|
|
|
// search extension.
|
|
ExtSearch = "/search"
|
|
ExtSearchPrefix = ExtPrefix + ExtSearch
|
|
FullSearchPrefix = RoutePrefix + ExtSearchPrefix
|
|
|
|
// mgmt extension.
|
|
Mgmt = "/mgmt"
|
|
ExtMgmt = ExtPrefix + Mgmt
|
|
FullMgmt = RoutePrefix + ExtMgmt
|
|
|
|
// signatures extension.
|
|
Notation = "/notation"
|
|
ExtNotation = ExtPrefix + Notation
|
|
FullNotation = RoutePrefix + ExtNotation
|
|
Cosign = "/cosign"
|
|
ExtCosign = ExtPrefix + Cosign
|
|
FullCosign = RoutePrefix + ExtCosign
|
|
|
|
// user preferences extension.
|
|
UserPrefs = "/userprefs"
|
|
ExtUserPrefs = ExtPrefix + UserPrefs
|
|
FullUserPrefs = RoutePrefix + ExtUserPrefs
|
|
)
|