mirror of
https://github.com/project-zot/zot.git
synced 2024-12-23 22:27:35 -05:00
28974e81dc
added support to point multiple storage locations in zot by running multiple instance of zot in background. see examples/config-multiple.json for more info about config. Closes #181
26 lines
820 B
Go
26 lines
820 B
Go
// +build minimal
|
|
|
|
package extensions
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/anuvu/zot/pkg/log"
|
|
"github.com/anuvu/zot/pkg/storage"
|
|
"github.com/gorilla/mux"
|
|
)
|
|
|
|
// DownloadTrivyDB ...
|
|
func downloadTrivyDB(dbDir string, log log.Logger, updateInterval time.Duration) error {
|
|
return nil
|
|
}
|
|
|
|
// EnableExtensions ...
|
|
func EnableExtensions(extension *ExtensionConfig, log log.Logger, rootDir string) {
|
|
log.Warn().Msg("skipping enabling extensions because given zot binary doesn't support any extensions, please build zot full binary for this feature")
|
|
}
|
|
|
|
// SetupRoutes ...
|
|
func SetupRoutes(router *mux.Router, storeController storage.StoreController, log log.Logger) {
|
|
log.Warn().Msg("skipping setting up extensions routes because given zot binary doesn't support any extensions, please build zot full binary for this feature")
|
|
}
|