mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
792e82cbdf
"extensions": {
"search": {
"enable": true
}
}
18 lines
298 B
Go
18 lines
298 B
Go
package extensions
|
|
|
|
import "time"
|
|
|
|
type ExtensionConfig struct {
|
|
Search *SearchConfig
|
|
}
|
|
|
|
type SearchConfig struct {
|
|
// CVE search
|
|
CVE *CVEConfig
|
|
Enable bool
|
|
}
|
|
|
|
type CVEConfig struct {
|
|
UpdateInterval time.Duration // should be 2 hours or more, if not specified default be kept as 24 hours
|
|
}
|