Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimeParserConfig ¶
type TimeParserConfig struct { helper.TransformerConfig `mapstructure:",squash" yaml:",inline"` helper.TimeParser `mapstructure:",omitempty,squash" yaml:",omitempty,inline"` }
TimeParserConfig is the configuration of a time parser operator.
func NewTimeParserConfig ¶
func NewTimeParserConfig(operatorID string) *TimeParserConfig
NewTimeParserConfig creates a new time parser config with default values
func (TimeParserConfig) Build ¶
func (c TimeParserConfig) Build(logger *zap.SugaredLogger) (operator.Operator, error)
Build will build a time parser operator.
type TimeParserOperator ¶
type TimeParserOperator struct { helper.TransformerOperator helper.TimeParser }
TimeParserOperator is an operator that parses time from a field to an entry.
Click to show internal directories.
Click to hide internal directories.