Documentation ¶
Index ¶
- type Transformer
- func (t *Transformer) ConfigOptions() []Option
- func (t *Transformer) Description() string
- func (t *Transformer) RawTransform(datas []string) ([]string, error)
- func (t *Transformer) SampleConfig() string
- func (t *Transformer) SetStats(err string) StatsInfo
- func (t *Transformer) Stage() string
- func (t *Transformer) Stats() StatsInfo
- func (t *Transformer) Transform(datas []Data) ([]Data, error)
- func (t *Transformer) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transformer ¶ added in v1.5.2
type Transformer struct { Key string `json:"key"` Offset int `json:"offset"` LayoutBefore string `json:"time_layout_before"` LayoutAfter string `json:"time_layout_after"` // contains filtered or unexported fields }
func (*Transformer) ConfigOptions ¶ added in v1.5.2
func (t *Transformer) ConfigOptions() []Option
func (*Transformer) Description ¶ added in v1.5.2
func (t *Transformer) Description() string
func (*Transformer) RawTransform ¶ added in v1.5.2
func (t *Transformer) RawTransform(datas []string) ([]string, error)
func (*Transformer) SampleConfig ¶ added in v1.5.2
func (t *Transformer) SampleConfig() string
func (*Transformer) SetStats ¶ added in v1.5.2
func (t *Transformer) SetStats(err string) StatsInfo
func (*Transformer) Stage ¶ added in v1.5.2
func (t *Transformer) Stage() string
func (*Transformer) Stats ¶ added in v1.5.2
func (t *Transformer) Stats() StatsInfo
func (*Transformer) Transform ¶ added in v1.5.2
func (t *Transformer) Transform(datas []Data) ([]Data, error)
func (*Transformer) Type ¶ added in v1.5.2
func (t *Transformer) Type() string
Click to show internal directories.
Click to hide internal directories.