Documentation
¶
Index ¶
- type Builder
- func (b *Builder) Build() *Runtime
- func (b *Builder) WithCircuitBreaker(config workflow.CircuitBreakerConfig, ...) *Builder
- func (b *Builder) WithDSLParser(enabled bool) *Builder
- func (b *Builder) WithHistoryStore(store *workflow.ExecutionHistoryStore) *Builder
- func (b *Builder) WithStepDependencies(deps engine.StepDependencies) *Builder
- type Runtime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder is the single workflow runtime assembly entrypoint.
func NewBuilder ¶
func NewBuilder(checkpointMgr workflow.CheckpointManager, logger *zap.Logger) *Builder
NewBuilder creates a workflow runtime builder with the default surface: DAG executor + facade + DSL parser.
func (*Builder) WithCircuitBreaker ¶
func (b *Builder) WithCircuitBreaker( config workflow.CircuitBreakerConfig, handler workflow.CircuitBreakerEventHandler, ) *Builder
WithCircuitBreaker configures circuit breaker behavior for the executor.
func (*Builder) WithDSLParser ¶
WithDSLParser toggles whether Build should provision a DSL parser.
func (*Builder) WithHistoryStore ¶
func (b *Builder) WithHistoryStore(store *workflow.ExecutionHistoryStore) *Builder
WithHistoryStore overrides the executor history store.
func (*Builder) WithStepDependencies ¶
func (b *Builder) WithStepDependencies(deps engine.StepDependencies) *Builder
WithStepDependencies shares engine-backed step dependencies with the DSL parser.
Click to show internal directories.
Click to hide internal directories.