k8sevent

package
v0.58.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.53.0

type Config 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"`
}

Config is the configuration of Input operator

func NewConfig added in v0.53.0

func NewConfig(operatorID string) *Config

NewConfig creates a default Config

func (Config) Build added in v0.53.0

func (c Config) Build(logger *zap.SugaredLogger) (operator.Operator, error)

Build will build a k8s_event_input operator from the supplied configuration

type Input added in v0.53.0

type Input struct {
	helper.InputOperator
	// contains filtered or unexported fields
}

Input is an operator for generating logs from k8s events

func (*Input) Start added in v0.53.0

func (k *Input) Start(_ operator.Persister) error

Start implements the operator.Operator interface

func (*Input) Stop added in v0.53.0

func (k *Input) Stop() error

Stop implements operator.Operator

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL