use zot as an extension name, ext as a component and search as a module

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>
This commit is contained in:
Shivam Mishra
2022-05-23 19:22:52 +00:00
committed by Ramkumar Chinchani
parent 5e22acbbc4
commit dcdeb935fd
5 changed files with 28 additions and 17 deletions
+1 -1
View File
@@ -5,5 +5,5 @@ const (
ExtCatalogPrefix = "/_catalog"
ExtOciDiscoverPrefix = "/_oci/ext/discover"
// zot specific extensions.
ExtSearchPrefix = RoutePrefix + "/_search"
ExtSearchPrefix = RoutePrefix + "/_zot/ext/search"
)