config

package
v1.4.2-rc6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CVEConfig

type CVEConfig struct {
	UpdateInterval time.Duration // should be 2 hours or more, if not specified default be kept as 24 hours
}

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 {
	Enabled              *bool
	MandatoryAnnotations []string
}

type MetricsConfig

type MetricsConfig struct {
	Enable     *bool
	Prometheus *PrometheusConfig
}

type PrometheusConfig

type PrometheusConfig struct {
	Path string // default is "/metrics"
}

type ScrubConfig added in v1.4.0

type ScrubConfig struct {
	Interval time.Duration
}

type SearchConfig

type SearchConfig struct {
	// CVE search
	CVE    *CVEConfig
	Enable *bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL