mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
ada21ed842
Files were added to be built whether an extension is on or off. New build tags were added for each extension, while minimal and extended disappeared. added custom binary naming depending on extensions used and changed references from binary to binary-extended added automated blackbox tests for sync, search, scrub, metrics added contributor guidelines Signed-off-by: Alex Stan <alexandrustan96@yahoo.ro>
20 lines
471 B
Go
20 lines
471 B
Go
//go:build !scrub
|
|
// +build !scrub
|
|
|
|
package extensions
|
|
|
|
import (
|
|
"zotregistry.io/zot/pkg/api/config"
|
|
"zotregistry.io/zot/pkg/log"
|
|
"zotregistry.io/zot/pkg/storage"
|
|
)
|
|
|
|
// EnableScrubExtension ...
|
|
func EnableScrubExtension(config *config.Config,
|
|
log log.Logger, run bool,
|
|
imgStore storage.ImageStore, repo string,
|
|
) {
|
|
log.Warn().Msg("skipping enabling scrub extension because given zot binary doesn't include this feature," +
|
|
"please build a binary that does so")
|
|
}
|