Add DefaultFilter field to TapConfig

This commit is contained in:
M. Mert Yildiran
2023-12-18 16:51:55 +03:00
parent 28bfbf4186
commit d3f2cdbf0e
3 changed files with 3 additions and 1 deletions

View File

@@ -131,6 +131,7 @@ type TapConfig struct {
Debug bool `yaml:"debug" json:"debug" default:"false"`
NoKernelModule bool `yaml:"noKernelModule" json:"noKernelModule" default:"false"`
Telemetry TelemetryConfig `yaml:"telemetry" json:"telemetry"`
DefaultFilter string `yaml:"defaultFilter" json:"defaultFilter"`
}
func (config *TapConfig) PodRegex() *regexp.Regexp {