2022-10-05 14:56:41 -05:00
|
|
|
//go:build !debug
|
|
|
|
// +build !debug
|
|
|
|
|
|
|
|
package debug
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/gorilla/mux"
|
2022-10-20 11:39:20 -05:00
|
|
|
|
2022-10-05 14:56:41 -05:00
|
|
|
"zotregistry.io/zot/pkg/api/config"
|
|
|
|
"zotregistry.io/zot/pkg/log"
|
|
|
|
"zotregistry.io/zot/pkg/storage"
|
|
|
|
)
|
|
|
|
|
|
|
|
// SetupGQLPlaygroundRoutes ...
|
|
|
|
func SetupGQLPlaygroundRoutes(conf *config.Config, router *mux.Router,
|
|
|
|
storeController storage.StoreController, log log.Logger,
|
|
|
|
) {
|
2022-11-08 03:38:16 -05:00
|
|
|
log.Warn().Msg("skipping enabling graphql playground extension because given zot binary " +
|
2022-10-05 14:56:41 -05:00
|
|
|
"doesn't include this feature, please build a binary that does so")
|
|
|
|
}
|