Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegexParser ¶
type RegexParser struct { helper.ParserOperator // contains filtered or unexported fields }
RegexParser is an operator that parses regex in an entry.
type RegexParserConfig ¶
type RegexParserConfig struct { helper.ParserConfig `yaml:",inline"` Regex string `json:"regex" yaml:"regex"` }
RegexParserConfig is the configuration of a regex parser operator.
func NewRegexParserConfig ¶
func NewRegexParserConfig(operatorID string) *RegexParserConfig
NewRegexParserConfig creates a new regex parser config with default values
func (RegexParserConfig) Build ¶
func (c RegexParserConfig) Build(context operator.BuildContext) ([]operator.Operator, error)
Build will build a regex parser operator.
Click to show internal directories.
Click to hide internal directories.