2020-10-14 16:47:20 -05:00
// +build minimal
package extensions
import (
"time"
"github.com/anuvu/zot/pkg/log"
"github.com/anuvu/zot/pkg/storage"
"github.com/gorilla/mux"
)
// DownloadTrivyDB ...
2020-10-22 19:31:16 -05:00
func downloadTrivyDB ( dbDir string , log log . Logger , updateInterval time . Duration ) error {
2020-10-14 16:47:20 -05:00
return nil
}
2020-10-22 19:31:16 -05:00
// 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" )
2020-10-14 16:47:20 -05:00
}
2020-10-22 19:31:16 -05:00
// SetupRoutes ...
2020-10-14 16:47:20 -05:00
func SetupRoutes ( router * mux . Router , rootDir string , imgStore * storage . ImageStore , log log . Logger ) {
2020-10-22 19:31:16 -05:00
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" )
2020-10-14 16:47:20 -05:00
}