drop

package
v0.99.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 5 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.OutputConfig `mapstructure:",squash"`
}

Config is the configuration of a drop output operator.

func NewConfig added in v0.53.0

func NewConfig(operatorID string) *Config

NewConfig creates a new drop output config with default values

func (Config) Build added in v0.53.0

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

Build will build a drop output operator.

type Output added in v0.53.0

type Output struct {
	helper.OutputOperator
}

Output is an operator that consumes and ignores incoming entries.

func (*Output) Process added in v0.53.0

func (o *Output) Process(_ context.Context, _ *entry.Entry) error

Process will drop the incoming entry.

Jump to

Keyboard shortcuts

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