mirror of
https://github.com/project-zot/zot.git
synced 2024-12-23 22:27:35 -05:00
dcdeb935fd
add endpoints field in ext discover api distribution spec extension discover api has endpoints field required. https://github.com/opencontainers/distribution-spec/blob/main/extensions/_oci.md#extensions-property-descriptions Signed-off-by: Shivam Mishra <shimish2@cisco.com>
9 lines
299 B
Go
9 lines
299 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.
|
|
ExtSearchPrefix = RoutePrefix + "/_zot/ext/search"
|
|
)
|