Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Operator Operator ScannerAquaCSP ScannerAquaCSP ScannerTrivy ScannerTrivy }
func GetOperatorConfig ¶
func (Config) GetOperatorNamespace ¶
GetOperatorNamespace returns the namespace the operator should be running in.
func (Config) GetTargetNamespaces ¶
GetTargetNamespaces returns namespaces the operator should be watching for changes.
type ScannerAquaCSP ¶
type ScannerAquaCSP struct { Enabled bool `env:"OPERATOR_SCANNER_AQUA_CSP_ENABLED" envDefault:"false"` Version string `env:"OPERATOR_SCANNER_AQUA_CSP_VERSION" envDefault:"5.0"` Host string `env:"OPERATOR_SCANNER_AQUA_CSP_HOST"` Username string `env:"OPERATOR_SCANNER_AQUA_CSP_USERNAME"` Password string `env:"OPERATOR_SCANNER_AQUA_CSP_PASSWORD"` }
type ScannerTrivy ¶
type VersionInfo ¶
Click to show internal directories.
Click to hide internal directories.