mirror of
https://github.com/project-zot/zot.git
synced 2025-01-06 22:40:28 -05:00
20 lines
480 B
Go
20 lines
480 B
Go
|
//go:build !search || !ui
|
||
|
// +build !search !ui
|
||
|
|
||
|
package extensions
|
||
|
|
||
|
import (
|
||
|
"github.com/gorilla/mux"
|
||
|
|
||
|
"zotregistry.io/zot/pkg/api/config"
|
||
|
"zotregistry.io/zot/pkg/log"
|
||
|
"zotregistry.io/zot/pkg/storage"
|
||
|
)
|
||
|
|
||
|
func SetupUIRoutes(config *config.Config, router *mux.Router, storeController storage.StoreController,
|
||
|
log log.Logger,
|
||
|
) {
|
||
|
log.Warn().Msg("skipping setting up ui routes because given zot binary doesn't include this feature," +
|
||
|
"please build a binary that does so")
|
||
|
}
|