Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WfTemporalSpec ¶
type WfTemporalSpec struct { // Name of the workflow client to invoke. Required. WfClientName string `json:"workflowClientName"` // Options needed by wf client to start a workflow. Workflow ID is required. WfStartOpts cl.StartWorkflowOptions `json:"workflowStartOptions"` // Parameters that the wf client needs to pass to the workflow. Optional. WfParams WorkflowParams `json:"workflowParams,omitempty"` }
WfTemporalSpec is the specification needed to start a workflow. It is part of the EMCO workflow intent (see WorkflowIntentSpec in workflowmgr).
type WorkflowParams ¶
type WorkflowParams struct { // map of Temporal activity options indexed by activity name ActivityOpts map[string]wf.ActivityOptions `json:"activityOptions,omitempty"` // map of wf-specific key-value pairs indexed by activity name ActivityParams map[string]map[string]string `json:"activityParams,omitempty"` }
WorkflowParams are the per-activity data that the wf client passes to a workflow.
Click to show internal directories.
Click to hide internal directories.