Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkflowInstance ¶
type WorkflowInstance struct { InstanceID string `json:"instance_id,omitempty"` ExecutionID string `json:"execution_id,omitempty"` Parent *WorkflowInstance `json:"parent,omitempty"` ParentEventID int64 `json:"parent_event_id,omitempty"` }
func NewSubWorkflowInstance ¶
func NewSubWorkflowInstance(instanceID, executionID string, parentInstance *WorkflowInstance, parentEventID int64) *WorkflowInstance
func NewWorkflowInstance ¶
func NewWorkflowInstance(instanceID, executionID string) *WorkflowInstance
func (*WorkflowInstance) SubWorkflow ¶
func (wi *WorkflowInstance) SubWorkflow() bool
type WorkflowInstanceState ¶
type WorkflowInstanceState int
const ( WorkflowInstanceStateActive WorkflowInstanceState = iota WorkflowInstanceStateContinuedAsNew WorkflowInstanceStateFinished )
type WorkflowMetadata ¶
func (WorkflowMetadata) Get ¶
func (wim WorkflowMetadata) Get(key string) string
func (WorkflowMetadata) Keys ¶
func (wim WorkflowMetadata) Keys() []string
func (WorkflowMetadata) Set ¶
func (wim WorkflowMetadata) Set(key string, value string)
Click to show internal directories.
Click to hide internal directories.