Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VariableHolder ¶
type VariableHolder struct {
// contains filtered or unexported fields
}
func New ¶
func New(parent *VariableHolder, variables map[string]interface{}) VariableHolder
New creates a new VariableHolder with a given parent and variables map. All variables from parent holder are copied into this one. (hint: the copy is necessary, due to the fact we need to have all variables for expression evaluation in one map)
func (*VariableHolder) GetVariable ¶
func (vh *VariableHolder) GetVariable(key string) interface{}
func (*VariableHolder) PropagateVariable ¶
func (vh *VariableHolder) PropagateVariable(key string, value interface{})
PropagateVariable set a value with given key to the parent VariableHolder
func (*VariableHolder) SetVariable ¶
func (vh *VariableHolder) SetVariable(key string, val interface{})
func (*VariableHolder) Variables ¶
func (vh *VariableHolder) Variables() map[string]interface{}
Variables return all variables within this holder
Click to show internal directories.
Click to hide internal directories.