stdin

package
v0.13.13-0...-98661b4 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 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