mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 04:48:26 +08:00
build: add build tags to create customizable binaries
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package extensions
|
||||
|
||||
import "time"
|
||||
|
||||
type ExtensionConfig struct {
|
||||
Search *SearchConfig
|
||||
}
|
||||
|
||||
type SearchConfig struct {
|
||||
// CVE search
|
||||
CVE *CVEConfig
|
||||
}
|
||||
|
||||
type CVEConfig struct {
|
||||
UpdateInterval time.Duration // should be 2 hours or more, if not specified default be kept as 24 hours
|
||||
}
|
||||
Reference in New Issue
Block a user