Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateInput ¶
type GenerateInput struct { helper.InputOperator // contains filtered or unexported fields }
GenerateInput is an operator that generates log entries.
func (*GenerateInput) Start ¶
func (g *GenerateInput) Start() error
Start will start generating log entries.
type GenerateInputConfig ¶
type GenerateInputConfig struct { helper.InputConfig `yaml:",inline"` Entry entry.Entry `json:"entry" yaml:"entry"` Count int `json:"count,omitempty" yaml:"count,omitempty"` Static bool `json:"static" yaml:"static,omitempty"` }
GenerateInputConfig is the configuration of a generate input operator.
func NewGenerateInputConfig ¶
func NewGenerateInputConfig(operatorID string) *GenerateInputConfig
NewGenerateInputConfig creates a new generate input config with default values
func (*GenerateInputConfig) Build ¶
func (c *GenerateInputConfig) Build(context operator.BuildContext) ([]operator.Operator, error)
Build will build a generate input operator.
Click to show internal directories.
Click to hide internal directories.