Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sEvents ¶
type K8sEvents struct { helper.InputOperator // contains filtered or unexported fields }
K8sEvents is an operator for generating logs from k8s events
type K8sEventsConfig ¶
type K8sEventsConfig struct { helper.InputConfig `yaml:",inline"` Namespaces []string `json:"namespaces" yaml:"namespaces"` DiscoverNamespaces bool `json:"discover_namespaces" yaml:"discover_namespaces"` DiscoveryInterval helper.Duration `json:"discovery_interval" yaml:"discovery_interval"` }
K8sEventsConfig is the configuration of K8sEvents operator
func NewK8sEventsConfig ¶
func NewK8sEventsConfig(operatorID string) *K8sEventsConfig
NewK8sEventsConfig creates a default K8sEventsConfig
func (K8sEventsConfig) Build ¶
func (c K8sEventsConfig) Build(context operator.BuildContext) ([]operator.Operator, error)
Build will build a k8s_event_input operator from the supplied configuration
Click to show internal directories.
Click to hide internal directories.