mirror of
https://github.com/project-zot/zot.git
synced 2025-01-06 22:40:28 -05:00
c0170b0811
Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com>
21 lines
677 B
Go
21 lines
677 B
Go
package constants
|
|
|
|
// https://github.com/opencontainers/distribution-spec/tree/main/extensions#extensions-api-for-distribution
|
|
const (
|
|
ExtCatalogPrefix = "/_catalog"
|
|
ExtOciDiscoverPrefix = "/_oci/ext/discover"
|
|
// zot specific extensions.
|
|
ExtPrefix = "/_zot/ext"
|
|
|
|
ExtSearch = "/search"
|
|
ExtSearchPrefix = ExtPrefix + ExtSearch
|
|
FullSearchPrefix = RoutePrefix + ExtSearchPrefix
|
|
|
|
ExtMgmt = "/mgmt"
|
|
ExtMgmtPrefix = ExtPrefix + ExtMgmt
|
|
FullMgmtPrefix = RoutePrefix + ExtMgmtPrefix
|
|
|
|
ExtUserPreferences = "/userprefs"
|
|
ExtUserPreferencesPrefix = ExtPrefix + ExtUserPreferences
|
|
FullUserPreferencesPrefix = RoutePrefix + ExtUserPreferencesPrefix
|
|
)
|