Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActivityInvocation ¶
type ActivityInvocation struct { Name string Arguments []string Result string Commands []string ContainerImage string `yaml:"container_image"` }
ActivityInvocation is used to express invoking an Activity. The Arguments defined expected arguments as input to the Activity, the result specify the name of variable that it will store the result as which can then be used as arguments to subsequent ActivityInvocation.
type Parallel ¶
type Parallel struct {
Branches []*Statement
}
Parallel can be a collection of Statements that runs in parallel.
type Sequence ¶
type Sequence struct {
Elements []*Statement
}
Sequence consist of a collection of Statements that runs in sequential.
type Statement ¶
type Statement struct { Activity *ActivityInvocation Sequence *Sequence Parallel *Parallel }
Statement is the building block of dsl workflow. A Statement can be a simple ActivityInvocation or it could be a Sequence or Parallel.
Click to show internal directories.
Click to hide internal directories.