Documentation
¶
Index ¶
- type Backend
- func (b *Backend) CancelWorkflowInstance(ctx context.Context, instance *workflow.Instance, cancelEvent *history.Event) error
- func (b *Backend) Close() error
- func (b *Backend) CompleteActivityTask(ctx context.Context, task *backend.ActivityTask, result *history.Event) error
- func (b *Backend) CompleteWorkflowTask(ctx context.Context, task *backend.WorkflowTask, ...) error
- func (b *Backend) CreateWorkflowInstance(ctx context.Context, instance *workflow.Instance, event *history.Event) error
- func (b *Backend) ExtendActivityTask(ctx context.Context, task *backend.ActivityTask) error
- func (b *Backend) ExtendWorkflowTask(ctx context.Context, task *backend.WorkflowTask) error
- func (b *Backend) FeatureSupported(feature backend.Feature) bool
- func (b *Backend) GetActivityTask(ctx context.Context, queues []workflow.Queue) (*backend.ActivityTask, error)
- func (b *Backend) GetStats(ctx context.Context) (*backend.Stats, error)
- func (b *Backend) GetWorkflowInstance(ctx context.Context, instance *core.WorkflowInstance) (*diag.WorkflowInstanceRef, error)
- func (b *Backend) GetWorkflowInstanceHistory(ctx context.Context, instance *workflow.Instance, lastSequenceID *int64) ([]*history.Event, error)
- func (b *Backend) GetWorkflowInstanceState(ctx context.Context, instance *workflow.Instance) (core.WorkflowInstanceState, error)
- func (b *Backend) GetWorkflowInstances(ctx context.Context, afterInstanceID, afterExecutionID string, count int) ([]*diag.WorkflowInstanceRef, error)
- func (b *Backend) GetWorkflowTask(ctx context.Context, queues []workflow.Queue) (*backend.WorkflowTask, error)
- func (b *Backend) GetWorkflowTree(ctx context.Context, instance *core.WorkflowInstance) (*diag.WorkflowInstanceTree, error)
- func (b *Backend) Metrics() metrics.Client
- func (b *Backend) Options() *backend.Options
- func (b *Backend) PrepareActivityQueues(ctx context.Context, queues []workflow.Queue) error
- func (b *Backend) PrepareWorkflowQueues(ctx context.Context, queues []workflow.Queue) error
- func (b *Backend) RemoveWorkflowInstance(ctx context.Context, instance *workflow.Instance) error
- func (b *Backend) RemoveWorkflowInstances(ctx context.Context, options ...backend.RemovalOption) error
- func (b *Backend) SignalWorkflow(ctx context.Context, instanceID string, event *history.Event) error
- func (b *Backend) Tracer() trace.Tracer
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
func (*Backend) CancelWorkflowInstance ¶
func (*Backend) CompleteActivityTask ¶
func (*Backend) CompleteWorkflowTask ¶
func (b *Backend) CompleteWorkflowTask( ctx context.Context, task *backend.WorkflowTask, state core.WorkflowInstanceState, executedEvents, activityEvents, timerEvents []*history.Event, workflowEvents []*history.WorkflowEvent, ) error
func (*Backend) CreateWorkflowInstance ¶
func (*Backend) ExtendActivityTask ¶
func (*Backend) ExtendWorkflowTask ¶
func (*Backend) GetActivityTask ¶
func (*Backend) GetWorkflowInstance ¶
func (b *Backend) GetWorkflowInstance(ctx context.Context, instance *core.WorkflowInstance) (*diag.WorkflowInstanceRef, error)
func (*Backend) GetWorkflowInstanceHistory ¶
func (*Backend) GetWorkflowInstanceState ¶
func (*Backend) GetWorkflowInstances ¶
func (*Backend) GetWorkflowTask ¶
func (*Backend) GetWorkflowTree ¶
func (b *Backend) GetWorkflowTree(ctx context.Context, instance *core.WorkflowInstance) (*diag.WorkflowInstanceTree, error)
func (*Backend) PrepareActivityQueues ¶
func (*Backend) PrepareWorkflowQueues ¶
func (*Backend) RemoveWorkflowInstance ¶
func (*Backend) RemoveWorkflowInstances ¶
func (*Backend) SignalWorkflow ¶
type Store ¶
type Store struct {
ActivityLock *activity_lock.Store
ActivityQueueItem *activity_queue_item.Store
HistoryEvent *history_event.Store
PendingEvent *pending_event.Store
WorkflowInstance *workflow_instance.Store
WorkflowInstanceLock *workflow_instance_lock.Store
WorkflowInstanceSticky *workflow_instance_sticky.Store
WorkflowQueueItem *workflow_queue_item.Store
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.