Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionSDK ¶ added in v0.15.0
type ExecutionSDK interface {
GetStream(f *executionsdk.Filter) *executionsdk.Listener
Get(hash hash.Hash) (*execution.Execution, error)
Execute(processHash, instanceHash, eventHash, parentHash hash.Hash, stepID string, taskKey string, inputData *types.Struct, tags []string) (executionHash hash.Hash, err error)
}
ExecutionSDK execution interface needed for the orchestrator
type Orchestrator ¶
type Orchestrator struct {
ErrC chan error
// contains filtered or unexported fields
}
Orchestrator manages the executions based on the definition of the processes
func New ¶
func New(event EventSDK, execution ExecutionSDK, process ProcessSDK) *Orchestrator
New creates a new Process instance
type ProcessSDK ¶ added in v0.15.0
ProcessSDK process interface needed for the orchestrator
Click to show internal directories.
Click to hide internal directories.