drop

package
v1.2.11 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DropOutput

type DropOutput struct {
	helper.OutputOperator
}

DropOutput is an operator that consumes and ignores incoming entries.

func (*DropOutput) Process

func (p *DropOutput) Process(ctx context.Context, entry *entry.Entry) error

Process will drop the incoming entry.

type DropOutputConfig

type DropOutputConfig struct {
	helper.OutputConfig `yaml:",inline"`
}

DropOutputConfig is the configuration of a drop output operator.

func NewDropOutputConfig

func NewDropOutputConfig(operatorID string) *DropOutputConfig

NewDropOutputConfig creates a new drop output config with default values

func (DropOutputConfig) Build

Build will build a drop output operator.

Jump to

Keyboard shortcuts

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