emcotemporalapi

package
v0.0.0-...-bb2f907 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL