2023-03-09 13:43:26 -05:00
|
|
|
//go:build !mgmt
|
|
|
|
// +build !mgmt
|
|
|
|
|
|
|
|
package extensions
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/gorilla/mux"
|
|
|
|
|
2024-01-31 23:34:07 -05:00
|
|
|
"zotregistry.dev/zot/pkg/api/config"
|
|
|
|
"zotregistry.dev/zot/pkg/log"
|
2023-03-09 13:43:26 -05:00
|
|
|
)
|
|
|
|
|
2023-05-25 06:46:52 -05:00
|
|
|
func IsBuiltWithMGMTExtension() bool {
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2023-03-09 13:43:26 -05: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")
|
|
|
|
}
|