Documentation
¶
Index ¶
- func Load(data []byte) (builder.Dimension, error)
- type Base
- type Default
- type Extraction
- func (e *Extraction) SetDimension(dimension string) *Extraction
- func (e *Extraction) SetExtractionFn(extractionFn builder.ExtractionFn) *Extraction
- func (e *Extraction) SetOutputName(outputName string) *Extraction
- func (e *Extraction) SetOutputType(outputType types.OutputType) *Extraction
- func (e *Extraction) UnmarshalJSON(data []byte) error
- type ListFiltered
- func (l *ListFiltered) SetDelegate(delegate builder.Dimension) *ListFiltered
- func (l *ListFiltered) SetDimension(dimension string) *ListFiltered
- func (l *ListFiltered) SetIsWhiteList(isWhiteList bool) *ListFiltered
- func (l *ListFiltered) SetOutputName(outputName string) *ListFiltered
- func (l *ListFiltered) SetOutputType(outputType types.OutputType) *ListFiltered
- func (l *ListFiltered) SetValues(values []string) *ListFiltered
- func (l *ListFiltered) UnmarshalJSON(data []byte) error
- type Lookup
- func (l *Lookup) SetLookup(lookup builder.LookupExtractor) *Lookup
- func (l *Lookup) SetName(name string) *Lookup
- func (l *Lookup) SetOptimize(optimize bool) *Lookup
- func (l *Lookup) SetOutputName(outputName string) *Lookup
- func (l *Lookup) SetReplaceMissingValueWith(replaceMissingValueWith string) *Lookup
- func (l *Lookup) SetRetainMissingValue(retainMissingValue bool) *Lookup
- func (l *Lookup) UnmarshalJSON(data []byte) error
- type PrefixFiltered
- func (p *PrefixFiltered) SetDelegate(delegate builder.Dimension) *PrefixFiltered
- func (p *PrefixFiltered) SetDimension(dimension string) *PrefixFiltered
- func (p *PrefixFiltered) SetOutputName(outputName string) *PrefixFiltered
- func (p *PrefixFiltered) SetOutputType(outputType types.OutputType) *PrefixFiltered
- func (p *PrefixFiltered) SetPrefix(prefix string) *PrefixFiltered
- func (p *PrefixFiltered) UnmarshalJSON(data []byte) error
- type RegexFiltered
- func (r *RegexFiltered) SetDelegate(delegate builder.Dimension) *RegexFiltered
- func (r *RegexFiltered) SetDimension(dimension string) *RegexFiltered
- func (r *RegexFiltered) SetOutputName(outputName string) *RegexFiltered
- func (r *RegexFiltered) SetOutputType(outputType types.OutputType) *RegexFiltered
- func (r *RegexFiltered) SetPattern(pattern string) *RegexFiltered
- func (r *RegexFiltered) UnmarshalJSON(data []byte) error
- type RegisteredLookup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Base ¶
type Base struct { Typ builder.ComponentType `json:"type,omitempty"` Dimension string `json:"dimension,omitempty"` OutputName string `json:"outputName,omitempty"` OutputType types.OutputType `json:"outputType,omitempty"` }
func (*Base) SetDimension ¶
func (*Base) SetOutputName ¶
func (*Base) SetOutputType ¶
func (b *Base) SetOutputType(outputType types.OutputType) *Base
func (*Base) Type ¶
func (b *Base) Type() builder.ComponentType
type Default ¶
type Default struct {
Base
}
func NewDefault ¶
func NewDefault() *Default
func (*Default) SetDimension ¶
func (*Default) SetOutputName ¶
func (*Default) SetOutputType ¶
func (d *Default) SetOutputType(outputType types.OutputType) *Default
type Extraction ¶
type Extraction struct { Base ExtractionFn builder.ExtractionFn `json:"extractionFn,omitempty"` }
func NewExtraction ¶
func NewExtraction() *Extraction
func (*Extraction) SetDimension ¶
func (e *Extraction) SetDimension(dimension string) *Extraction
func (*Extraction) SetExtractionFn ¶
func (e *Extraction) SetExtractionFn(extractionFn builder.ExtractionFn) *Extraction
func (*Extraction) SetOutputName ¶
func (e *Extraction) SetOutputName(outputName string) *Extraction
func (*Extraction) SetOutputType ¶
func (e *Extraction) SetOutputType(outputType types.OutputType) *Extraction
func (*Extraction) UnmarshalJSON ¶
func (e *Extraction) UnmarshalJSON(data []byte) error
type ListFiltered ¶
type ListFiltered struct { Base Delegate builder.Dimension `json:"delegate,omitempty"` Values []string `json:"values,omitempty"` IsWhiteList *bool `json:"isWhiteList,omitempty"` }
func NewListFiltered ¶
func NewListFiltered() *ListFiltered
func (*ListFiltered) SetDelegate ¶
func (l *ListFiltered) SetDelegate(delegate builder.Dimension) *ListFiltered
func (*ListFiltered) SetDimension ¶
func (l *ListFiltered) SetDimension(dimension string) *ListFiltered
func (*ListFiltered) SetIsWhiteList ¶
func (l *ListFiltered) SetIsWhiteList(isWhiteList bool) *ListFiltered
func (*ListFiltered) SetOutputName ¶
func (l *ListFiltered) SetOutputName(outputName string) *ListFiltered
func (*ListFiltered) SetOutputType ¶
func (l *ListFiltered) SetOutputType(outputType types.OutputType) *ListFiltered
func (*ListFiltered) SetValues ¶
func (l *ListFiltered) SetValues(values []string) *ListFiltered
func (*ListFiltered) UnmarshalJSON ¶
func (l *ListFiltered) UnmarshalJSON(data []byte) error
type Lookup ¶
type Lookup struct { Base Name string `json:"name,omitempty"` ReplaceMissingValueWith string `json:"replaceMissingValueWith,omitempty"` RetainMissingValue *bool `json:"retainMissingValue,omitempty"` Lookup builder.LookupExtractor `json:"lookup,omitempty"` Optimize *bool `json:"optimize,omitempty"` }
func (*Lookup) SetOptimize ¶
func (*Lookup) SetOutputName ¶
func (*Lookup) SetReplaceMissingValueWith ¶
func (*Lookup) SetRetainMissingValue ¶
func (*Lookup) UnmarshalJSON ¶
type PrefixFiltered ¶
type PrefixFiltered struct { Base Delegate builder.Dimension `json:"delegate,omitempty"` Prefix string `json:"prefix,omitempty"` }
func NewPrefixFiltered ¶
func NewPrefixFiltered() *PrefixFiltered
func (*PrefixFiltered) SetDelegate ¶
func (p *PrefixFiltered) SetDelegate(delegate builder.Dimension) *PrefixFiltered
func (*PrefixFiltered) SetDimension ¶
func (p *PrefixFiltered) SetDimension(dimension string) *PrefixFiltered
func (*PrefixFiltered) SetOutputName ¶
func (p *PrefixFiltered) SetOutputName(outputName string) *PrefixFiltered
func (*PrefixFiltered) SetOutputType ¶
func (p *PrefixFiltered) SetOutputType(outputType types.OutputType) *PrefixFiltered
func (*PrefixFiltered) SetPrefix ¶
func (p *PrefixFiltered) SetPrefix(prefix string) *PrefixFiltered
func (*PrefixFiltered) UnmarshalJSON ¶
func (p *PrefixFiltered) UnmarshalJSON(data []byte) error
type RegexFiltered ¶
type RegexFiltered struct { Base Delegate builder.Dimension `json:"delegate,omitempty"` Pattern string `json:"pattern,omitempty"` }
func NewRegexFiltered ¶
func NewRegexFiltered() *RegexFiltered
func (*RegexFiltered) SetDelegate ¶
func (r *RegexFiltered) SetDelegate(delegate builder.Dimension) *RegexFiltered
func (*RegexFiltered) SetDimension ¶
func (r *RegexFiltered) SetDimension(dimension string) *RegexFiltered
func (*RegexFiltered) SetOutputName ¶
func (r *RegexFiltered) SetOutputName(outputName string) *RegexFiltered
func (*RegexFiltered) SetOutputType ¶
func (r *RegexFiltered) SetOutputType(outputType types.OutputType) *RegexFiltered
func (*RegexFiltered) SetPattern ¶
func (r *RegexFiltered) SetPattern(pattern string) *RegexFiltered
func (*RegexFiltered) UnmarshalJSON ¶
func (r *RegexFiltered) UnmarshalJSON(data []byte) error
type RegisteredLookup ¶
Click to show internal directories.
Click to hide internal directories.