stdin

package
v0.103.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 10 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 `mapstructure:",squash"`
}

Config is the configuration of a stdin input operator.

func NewConfig added in v0.53.0

func NewConfig(operatorID string) *Config

NewConfig creates a new stdin input config with default values

func (*Config) Build added in v0.53.0

Build will build a stdin input operator.

type Input added in v0.53.0

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

Input is an operator that reads input from stdin

func (*Input) Start added in v0.53.0

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

Start will start generating log entries.

func (*Input) Stop added in v0.53.0

func (i *Input) Stop() error

Stop will stop generating logs.

Jump to

Keyboard shortcuts

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