2023-03-09 20:43:26 +02:00
|
|
|
//go:build !mgmt
|
|
|
|
// +build !mgmt
|
|
|
|
|
|
|
|
package extensions
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/gorilla/mux"
|
|
|
|
|
2024-02-01 06:34:07 +02:00
|
|
|
"zotregistry.dev/zot/pkg/api/config"
|
|
|
|
"zotregistry.dev/zot/pkg/log"
|
2023-03-09 20:43:26 +02:00
|
|
|
)
|
|
|
|
|
2023-05-25 14:46:52 +03:00
|
|
|
func IsBuiltWithMGMTExtension() bool {
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2023-03-09 20:43:26 +02:00
|
|
|
func SetupMgmtRoutes(config *config.Config, router *mux.Router, log log.Logger) {
|
|
|
|
log.Warn().Msg("skipping setting up mgmt routes because given zot binary doesn't include this feature," +
|
|
|
|
"please build a binary that does so")
|
|
|
|
}
|