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 {
Stream(ctx context.Context, req *api.StreamExecutionRequest) (chan *execution.Execution, chan error, error)
Get(hash hash.Hash) (*execution.Execution, error)
Create(req *api.CreateExecutionRequest) (*execution.Execution, 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, runner RunnerSDK) *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.