Documentation
¶
Index ¶
Constants ¶
View Source
const NamespaceEnvVar = "NAMESPACE_NAME"
View Source
const NodeNameEnvVar = "NODE_NAME"
View Source
const PodNameEnvVar = "POD_NAME"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Exporters exporters.ExportersConfig `mapstructure:"exporters"`
InitialDelay time.Duration `mapstructure:"initialDelay"`
MaxSniffingTime time.Duration `mapstructure:"maxSniffingTimePerContainer"`
UpdateDataPeriod time.Duration `mapstructure:"updateDataPeriod"`
EnableFullPathTracing bool `mapstructure:"fullPathTracingEnabled"`
EnableApplicationProfile bool `mapstructure:"applicationProfileServiceEnabled"`
EnableMalwareDetection bool `mapstructure:"malwareDetectionEnabled"`
EnablePrometheusExporter bool `mapstructure:"prometheusExporterEnabled"`
EnableRuntimeDetection bool `mapstructure:"runtimeDetectionEnabled"`
EnableNetworkTracing bool `mapstructure:"networkServiceEnabled"`
EnableRelevancy bool `mapstructure:"relevantCVEServiceEnabled"`
EnableNodeProfile bool `mapstructure:"nodeProfileServiceEnabled"`
NodeProfileInterval time.Duration `mapstructure:"nodeProfileInterval"`
EnableSeccomp bool `mapstructure:"seccompServiceEnabled"`
}
func LoadConfig ¶
LoadConfig reads configuration from file or environment variables.
Click to show internal directories.
Click to hide internal directories.