Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InitStep bool = false
InitStep is used to figure out if this operation should run before main Transformations. For example, Store operation needs to run first to load all Pipeline variables.
Functions ¶
func Register ¶
func Register(m map[string]transformer.Transformer)
Register adds this transformation to the map which will be used to create Transformation pipeline.
Types ¶
type Shift ¶
type Shift struct { Path string NewPath string Value string Separator string // contains filtered or unexported fields }
Shift object implements Transformer interface.
func (*Shift) Apply ¶
Apply is a main method of Transformation that moves existing values to a new locations.
func (*Shift) New ¶
func (s *Shift) New(key, value, separator string) transformer.Transformer
New returns a new instance of Shift object.
func (*Shift) SetStorage ¶
SetStorage sets a shared Storage with Pipeline variables.
Click to show internal directories.
Click to hide internal directories.