Documentation
¶
Index ¶
Constants ¶
View Source
const ( StepOK StepStatus = 0 StepFail = 1 StepRunning = 2 StepPending = 3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Step ¶
type Step struct {
StepDefinition
Status StepStatus
NextSteps []*Step
PreviousSteps []*Step
}
func (*Step) AddRequirement ¶
func (*Step) RequirementsFulfilled ¶
RequirementsFulfilled Check if all requirements steps have been completed by checking there status.
type StepDefinition ¶
type StepStatus ¶
type StepStatus uint16
func (StepStatus) GetName ¶
func (s StepStatus) GetName() string
type Workflow ¶
type Workflow struct {
Steps []*Step
// contains filtered or unexported fields
}
func NewWorkflow ¶
Click to show internal directories.
Click to hide internal directories.