Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct {
EndTime time.Time
ErrorMessage string
Last string
StartTime time.Time
State string
UUID string
Variables map[string]interface{}
Workflow Workflow
}
Runner is a stateful representation of a Running Workflow
func ParseRunner ¶
ParseRunner returns a parsed Runner from a string
func (*Runner) Current ¶
Current returns the current step. It is used, mainly, after a step has returned to add extra data
func (*Runner) End ¶
func (wfr *Runner) End()
End will set state to "ended" and end the workflow runner
type Step ¶
type Step struct {
Context map[string]string
Duration string
End string
ErrorMessage string
Failed bool
Name string
Register string
Start string
Type string
UUID string
}
Step is a state container containing data per step
type Workflow ¶
Workflow ... Raw workflow configuration container, reflects config in storage and without a state machine
func ParseWorkflow ¶
ParseWorkflow ... Return a Workflow from a textual representation from storage
Click to show internal directories.
Click to hide internal directories.