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
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 ¶
func (c *StdinInputConfig) Build(logger *zap.SugaredLogger) (operator.Operator, error)
Build will build a stdin input operator.
Click to show internal directories.
Click to hide internal directories.