Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewParallelOrchestrationStrategy ¶
func NewParallelOrchestrationStrategy(executor orchestration.OperationExecutor, log logrus.FieldLogger, rescheduleDelay time.Duration) orchestration.Strategy
NewParallelOrchestrationStrategy returns a new parallel orchestration strategy, which executes operations in parallel using a pool of workers and a delaying queue to support time-based scheduling.
Types ¶
type ParallelOrchestrationStrategy ¶
type ParallelOrchestrationStrategy struct {
// contains filtered or unexported fields
}
func (*ParallelOrchestrationStrategy) Cancel ¶
func (p *ParallelOrchestrationStrategy) Cancel(executionID string)
func (*ParallelOrchestrationStrategy) Execute ¶
func (p *ParallelOrchestrationStrategy) Execute(operations []orchestration.RuntimeOperation, strategySpec orchestration.StrategySpec) (string, error)
Execute starts the parallel execution of operations.
func (*ParallelOrchestrationStrategy) Wait ¶
func (p *ParallelOrchestrationStrategy) Wait(executionID string)
Click to show internal directories.
Click to hide internal directories.