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