Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetadataOperator ¶
type MetadataOperator struct { helper.TransformerOperator helper.Labeler helper.Identifier }
MetadataOperator is an operator that can add metadata to incoming entries
type MetadataOperatorConfig ¶
type MetadataOperatorConfig struct { helper.TransformerConfig `yaml:",inline"` helper.LabelerConfig `yaml:",inline"` helper.IdentifierConfig `yaml:",inline"` }
MetadataOperatorConfig is the configuration of a metadata operator
func NewMetadataOperatorConfig ¶
func NewMetadataOperatorConfig(operatorID string) *MetadataOperatorConfig
NewMetadataOperatorConfig creates a new metadata config with default values
func (MetadataOperatorConfig) Build ¶
func (c MetadataOperatorConfig) Build(context operator.BuildContext) (operator.Operator, error)
Build will build a metadata operator from the supplied configuration
Click to show internal directories.
Click to hide internal directories.