Documentation
¶
Index ¶
- func FindReplacePassedInput(key interface{}, dataset map[string]interface{}) (bool, interface{}, error)
- func ReplaceStepIdAll(step FlowStep, old, new string)
- func SwitchFlowStep(flowstep FlowStep, in map[string]interface{}) error
- type CommandStep
- type Flow
- type FlowStep
- type FlowStepInput
- type IfStep
- type IterationStep
- type PrintSpec
- type PrintStep
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindReplacePassedInput ¶
func ReplaceStepIdAll ¶
func SwitchFlowStep ¶
Types ¶
type CommandStep ¶
type CommandStep struct { Id string `json:"$id"` Command string `json:"$command"` Inputs FlowStepInput `json:"inputs"` Outputs interface{} `json:"outputs,omitempty"` Error error `json:"error,omitempty"` }
func (*CommandStep) GetId ¶
func (cs *CommandStep) GetId() string
func (*CommandStep) GetOutputs ¶
func (cs *CommandStep) GetOutputs() interface{}
func (*CommandStep) SetId ¶
func (cs *CommandStep) SetId(id string)
type FlowStep ¶
type FlowStepInput ¶
type FlowStepInput struct {
// contains filtered or unexported fields
}
func (*FlowStepInput) FindReplaceDeferredInputsFrom ¶
func (f *FlowStepInput) FindReplaceDeferredInputsFrom(in map[string]interface{}) error
func (*FlowStepInput) FindReplacePassedInputsFrom ¶
func (f *FlowStepInput) FindReplacePassedInputsFrom(in map[string]interface{}) error
func (*FlowStepInput) GetInputs ¶
func (f *FlowStepInput) GetInputs() map[string]interface{}
type IfStep ¶
type IfStep struct { Id string `json:"$id"` Condition string `json:"$condition"` Then []FlowStep `json:"$then"` Else []FlowStep `json:"$else"` Outputs interface{} `json:"outputs,omitempty"` }
func (*IfStep) GetOutputs ¶
func (is *IfStep) GetOutputs() interface{}
type IterationStep ¶
type IterationStep struct { Id string `json:"$id"` Range interface{} `json:"$range"` Steps []FlowStep `json:"$steps"` Outputs interface{} `json:"outputs,omitempty"` Error error `json:"error,omitempty"` ParentStepId string }
func (*IterationStep) GetId ¶
func (is *IterationStep) GetId() string
func (*IterationStep) GetOutputs ¶
func (is *IterationStep) GetOutputs() interface{}
func (*IterationStep) SetId ¶
func (is *IterationStep) SetId(id string)
Click to show internal directories.
Click to hide internal directories.