stdin

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StdinInput

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

StdinInput is an operator that reads input from stdin

func (*StdinInput) Start

func (g *StdinInput) Start() error

Start will start generating log entries.

func (*StdinInput) Stop

func (g *StdinInput) Stop() error

Stop will stop generating logs.

type StdinInputConfig

type StdinInputConfig struct {
	helper.InputConfig `yaml:",inline"`
}

StdinInputConfig is the configuration of a stdin input operator.

func NewStdinInputConfig

func NewStdinInputConfig(operatorID string) *StdinInputConfig

NewStdinInputConfig creates a new stdin input config with default values

func (*StdinInputConfig) Build

Build will build a stdin input operator.

Jump to

Keyboard shortcuts

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