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"` MaxDelaySeconds int `mapstructure:"maxDelaySeconds"` MaxJitterPercentage int `mapstructure:"maxJitterPercentage"` MaxImageSize int64 `mapstructure:"maxImageSize"` MaxSBOMSize int `mapstructure:"maxSBOMSize"` EnableFullPathTracing bool `mapstructure:"fullPathTracingEnabled"` EnableApplicationProfile bool `mapstructure:"applicationProfileServiceEnabled"` EnableMalwareDetection bool `mapstructure:"malwareDetectionEnabled"` EnablePrometheusExporter bool `mapstructure:"prometheusExporterEnabled"` EnableRuntimeDetection bool `mapstructure:"runtimeDetectionEnabled"` EnableHttpDetection bool `mapstructure:"httpDetectionEnabled"` EnableNetworkTracing bool `mapstructure:"networkServiceEnabled"` EnableNodeProfile bool `mapstructure:"nodeProfileServiceEnabled"` NodeProfileInterval time.Duration `mapstructure:"nodeProfileInterval"` EnableSeccomp bool `mapstructure:"seccompServiceEnabled"` ExcludeNamespaces []string `mapstructure:"excludeNamespaces"` IncludeNamespaces []string `mapstructure:"includeNamespaces"` EnableSbomGeneration bool `mapstructure:"sbomGenerationEnabled"` NamespaceName string `mapstructure:"namespaceName"` NodeName string `mapstructure:"nodeName"` PodName string `mapstructure:"podName"` }
func LoadConfig ¶
LoadConfig reads configuration from file or environment variables.
func (*Config) SkipNamespace ¶ added in v0.2.101
Click to show internal directories.
Click to hide internal directories.