Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseConfig ¶ added in v1.4.3
type BaseConfig struct {
Enable *bool `mapstructure:",omitempty"`
}
BaseConfig has params applicable to all extensions.
type ExtensionConfig ¶
type ExtensionConfig struct { Search *SearchConfig Sync *sync.Config Metrics *MetricsConfig Scrub *ScrubConfig Lint *LintConfig }
type LintConfig ¶ added in v1.4.2
type LintConfig struct { BaseConfig `mapstructure:",squash"` MandatoryAnnotations []string }
type MetricsConfig ¶
type MetricsConfig struct { BaseConfig `mapstructure:",squash"` Prometheus *PrometheusConfig }
type PrometheusConfig ¶
type PrometheusConfig struct {
Path string // default is "/metrics"
}
type ScrubConfig ¶ added in v1.4.0
type ScrubConfig struct { BaseConfig `mapstructure:",squash"` Interval time.Duration }
type SearchConfig ¶
type SearchConfig struct { BaseConfig `mapstructure:",squash"` // CVE search CVE *CVEConfig }
Click to show internal directories.
Click to hide internal directories.