mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
91dd5496fc
* chore: rename search route prefix * chore: use builtin time.Duration.Truncate() on latencies Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
10 lines
336 B
Go
10 lines
336 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 = "/_zot/ext/search"
|
|
FullSearchPrefix = RoutePrefix + ExtSearchPrefix
|
|
)
|