Documentation ¶
Index ¶
- func GetFlagsFromViper(key string) ([]string, error)
- func GetTrackerRunner(c *cobra.Command, version string) (cmd.Runner, error)
- type CRIConfig
- type CacheConfig
- type CapabilitiesConfig
- type DnsCacheConfig
- type LogAggregateConfig
- type LogConfig
- type LogFilterAttributes
- type LogFilterConfig
- type OutputConfig
- type OutputFormatConfig
- type OutputForwardConfig
- type OutputGoTemplateConfig
- type OutputOptsConfig
- type OutputWebhookConfig
- type ProcTreeCacheConfig
- type ProcTreeConfig
- type RegoConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFlagsFromViper ¶ added in v0.17.2
GetFlagsFromViper returns a slice of flags from a given config key. It relies on the fact that the config key is a viper.Gettable and that the config value complies with the cliFlagger interface (when structured).
Types ¶
type CacheConfig ¶ added in v0.17.2
type CapabilitiesConfig ¶ added in v0.17.2
type DnsCacheConfig ¶ added in v0.17.2
type LogAggregateConfig ¶ added in v0.17.2
type LogConfig ¶ added in v0.17.2
type LogConfig struct { Level string `mapstructure:"level"` File string `mapstructure:"file"` Aggregate LogAggregateConfig `mapstructure:"aggregate"` Filters LogFilterConfig `mapstructure:"filters"` }
type LogFilterAttributes ¶ added in v0.17.2
type LogFilterConfig ¶ added in v0.17.2
type LogFilterConfig struct { LibBPF bool `mapstructure:"libbpf"` In LogFilterAttributes `mapstructure:"in"` Out LogFilterAttributes `mapstructure:"out"` }
type OutputConfig ¶ added in v0.17.2
type OutputConfig struct { Options OutputOptsConfig `mapstructure:"options"` Table OutputFormatConfig `mapstructure:"table"` TableVerbose OutputFormatConfig `mapstructure:"table-verbose"` JSON OutputFormatConfig `mapstructure:"json"` Gob OutputFormatConfig `mapstructure:"gob"` GoTemplate OutputGoTemplateConfig `mapstructure:"gotemplate"` Forwards map[string]OutputForwardConfig `mapstructure:"forward"` Webhooks map[string]OutputWebhookConfig `mapstructure:"webhook"` }
type OutputFormatConfig ¶ added in v0.17.2
type OutputFormatConfig struct {
Files []string `mapstructure:"files"`
}
type OutputForwardConfig ¶ added in v0.17.2
type OutputGoTemplateConfig ¶ added in v0.17.2
type OutputOptsConfig ¶ added in v0.17.2
type OutputOptsConfig struct { None bool `mapstructure:"none"` StackAddresses bool `mapstructure:"stack-addresses"` ExecEnv bool `mapstructure:"exec-env"` RelativeTime bool `mapstructure:"relative-time"` ExecHash bool `mapstructure:"exec-hash"` ParseArguments bool `mapstructure:"parse-arguments"` ParseArgumentsFDs bool `mapstructure:"parse-arguments-fds"` SortEvents bool `mapstructure:"sort-events"` }
type OutputWebhookConfig ¶ added in v0.17.2
type ProcTreeCacheConfig ¶ added in v0.17.2
type ProcTreeConfig ¶ added in v0.17.2
type ProcTreeConfig struct { Source string `mapstructure:"source"` Cache ProcTreeCacheConfig `mapstructure:"cache"` }
type RegoConfig ¶ added in v0.17.2
Click to show internal directories.
Click to hide internal directories.