Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Stdout io.Writer = os.Stdout
Stdout is a global handle to standard output
Functions ¶
This section is empty.
Types ¶
type StdoutConfig ¶
type StdoutConfig struct {
helper.OutputConfig `yaml:",inline"`
}
StdoutConfig is the configuration of the Stdout operator
func NewStdoutConfig ¶
func NewStdoutConfig(operatorID string) *StdoutConfig
NewStdoutConfig creates a new stdout config with default values
func (StdoutConfig) Build ¶
func (c StdoutConfig) Build(context operator.BuildContext) (operator.Operator, error)
Build will build a stdout operator.
type StdoutOperator ¶
type StdoutOperator struct { helper.OutputOperator // contains filtered or unexported fields }
StdoutOperator is an operator that logs entries using stdout.
Click to show internal directories.
Click to hide internal directories.