Documentation ¶
Overview ¶
Package history is a generated GoMock package.
Index ¶
- Constants
- Variables
- func NewEngineWithShardContext(shard shard.Context, visibilityMgr persistence.VisibilityManager, ...) engine.Engine
- func NewHandler(resource resource.Resource, config *config.Config) *handlerImpl
- func NewService(params *service.BootstrapParams) (resource.Resource, error)
- type Handler
- type MockHandler
- func (m *MockHandler) CloseShard(arg0 context.Context, arg1 *types.CloseShardRequest) error
- func (m *MockHandler) DescribeHistoryHost(arg0 context.Context, arg1 *types.DescribeHistoryHostRequest) (*types.DescribeHistoryHostResponse, error)
- func (m *MockHandler) DescribeMutableState(arg0 context.Context, arg1 *types.DescribeMutableStateRequest) (*types.DescribeMutableStateResponse, error)
- func (m *MockHandler) DescribeQueue(arg0 context.Context, arg1 *types.DescribeQueueRequest) (*types.DescribeQueueResponse, error)
- func (m *MockHandler) DescribeWorkflowExecution(arg0 context.Context, arg1 *types.HistoryDescribeWorkflowExecutionRequest) (*types.DescribeWorkflowExecutionResponse, error)
- func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
- func (m *MockHandler) GetDLQReplicationMessages(arg0 context.Context, arg1 *types.GetDLQReplicationMessagesRequest) (*types.GetDLQReplicationMessagesResponse, error)
- func (m *MockHandler) GetMutableState(arg0 context.Context, arg1 *types.GetMutableStateRequest) (*types.GetMutableStateResponse, error)
- func (m *MockHandler) GetReplicationMessages(arg0 context.Context, arg1 *types.GetReplicationMessagesRequest) (*types.GetReplicationMessagesResponse, error)
- func (m *MockHandler) Health(arg0 context.Context) (*types.HealthStatus, error)
- func (m *MockHandler) MergeDLQMessages(arg0 context.Context, arg1 *types.MergeDLQMessagesRequest) (*types.MergeDLQMessagesResponse, error)
- func (m *MockHandler) NotifyFailoverMarkers(arg0 context.Context, arg1 *types.NotifyFailoverMarkersRequest) error
- func (m *MockHandler) PollMutableState(arg0 context.Context, arg1 *types.PollMutableStateRequest) (*types.PollMutableStateResponse, error)
- func (m *MockHandler) PurgeDLQMessages(arg0 context.Context, arg1 *types.PurgeDLQMessagesRequest) error
- func (m *MockHandler) QueryWorkflow(arg0 context.Context, arg1 *types.HistoryQueryWorkflowRequest) (*types.HistoryQueryWorkflowResponse, error)
- func (m *MockHandler) ReadDLQMessages(arg0 context.Context, arg1 *types.ReadDLQMessagesRequest) (*types.ReadDLQMessagesResponse, error)
- func (m *MockHandler) ReapplyEvents(arg0 context.Context, arg1 *types.HistoryReapplyEventsRequest) error
- func (m *MockHandler) RecordActivityTaskHeartbeat(arg0 context.Context, arg1 *types.HistoryRecordActivityTaskHeartbeatRequest) (*types.RecordActivityTaskHeartbeatResponse, error)
- func (m *MockHandler) RecordActivityTaskStarted(arg0 context.Context, arg1 *types.RecordActivityTaskStartedRequest) (*types.RecordActivityTaskStartedResponse, error)
- func (m *MockHandler) RecordChildExecutionCompleted(arg0 context.Context, arg1 *types.RecordChildExecutionCompletedRequest) error
- func (m *MockHandler) RecordDecisionTaskStarted(arg0 context.Context, arg1 *types.RecordDecisionTaskStartedRequest) (*types.RecordDecisionTaskStartedResponse, error)
- func (m *MockHandler) RefreshWorkflowTasks(arg0 context.Context, arg1 *types.HistoryRefreshWorkflowTasksRequest) error
- func (m *MockHandler) RemoveSignalMutableState(arg0 context.Context, arg1 *types.RemoveSignalMutableStateRequest) error
- func (m *MockHandler) RemoveTask(arg0 context.Context, arg1 *types.RemoveTaskRequest) error
- func (m *MockHandler) ReplicateEventsV2(arg0 context.Context, arg1 *types.ReplicateEventsV2Request) error
- func (m *MockHandler) RequestCancelWorkflowExecution(arg0 context.Context, arg1 *types.HistoryRequestCancelWorkflowExecutionRequest) error
- func (m *MockHandler) ResetQueue(arg0 context.Context, arg1 *types.ResetQueueRequest) error
- func (m *MockHandler) ResetStickyTaskList(arg0 context.Context, arg1 *types.HistoryResetStickyTaskListRequest) (*types.HistoryResetStickyTaskListResponse, error)
- func (m *MockHandler) ResetWorkflowExecution(arg0 context.Context, arg1 *types.HistoryResetWorkflowExecutionRequest) (*types.ResetWorkflowExecutionResponse, error)
- func (m *MockHandler) RespondActivityTaskCanceled(arg0 context.Context, arg1 *types.HistoryRespondActivityTaskCanceledRequest) error
- func (m *MockHandler) RespondActivityTaskCompleted(arg0 context.Context, arg1 *types.HistoryRespondActivityTaskCompletedRequest) error
- func (m *MockHandler) RespondActivityTaskFailed(arg0 context.Context, arg1 *types.HistoryRespondActivityTaskFailedRequest) error
- func (m *MockHandler) RespondDecisionTaskCompleted(arg0 context.Context, arg1 *types.HistoryRespondDecisionTaskCompletedRequest) (*types.HistoryRespondDecisionTaskCompletedResponse, error)
- func (m *MockHandler) RespondDecisionTaskFailed(arg0 context.Context, arg1 *types.HistoryRespondDecisionTaskFailedRequest) error
- func (m *MockHandler) ScheduleDecisionTask(arg0 context.Context, arg1 *types.ScheduleDecisionTaskRequest) error
- func (m *MockHandler) SignalWithStartWorkflowExecution(arg0 context.Context, ...) (*types.StartWorkflowExecutionResponse, error)
- func (m *MockHandler) SignalWorkflowExecution(arg0 context.Context, arg1 *types.HistorySignalWorkflowExecutionRequest) error
- func (m *MockHandler) StartWorkflowExecution(arg0 context.Context, arg1 *types.HistoryStartWorkflowExecutionRequest) (*types.StartWorkflowExecutionResponse, error)
- func (m *MockHandler) SyncActivity(arg0 context.Context, arg1 *types.SyncActivityRequest) error
- func (m *MockHandler) SyncShardStatus(arg0 context.Context, arg1 *types.SyncShardStatusRequest) error
- func (m *MockHandler) TerminateWorkflowExecution(arg0 context.Context, arg1 *types.HistoryTerminateWorkflowExecutionRequest) error
- type MockHandlerMockRecorder
- func (mr *MockHandlerMockRecorder) CloseShard(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) DescribeHistoryHost(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) DescribeMutableState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) DescribeQueue(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) DescribeWorkflowExecution(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) GetDLQReplicationMessages(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) GetMutableState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) GetReplicationMessages(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) Health(arg0 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) MergeDLQMessages(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) NotifyFailoverMarkers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) PollMutableState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) PurgeDLQMessages(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) QueryWorkflow(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) ReadDLQMessages(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) ReapplyEvents(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) RecordActivityTaskHeartbeat(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) RecordActivityTaskStarted(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) RecordChildExecutionCompleted(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) RecordDecisionTaskStarted(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) RefreshWorkflowTasks(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) RemoveSignalMutableState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) RemoveTask(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) ReplicateEventsV2(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) RequestCancelWorkflowExecution(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) ResetQueue(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) ResetStickyTaskList(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) ResetWorkflowExecution(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) RespondActivityTaskCanceled(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) RespondActivityTaskCompleted(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) RespondActivityTaskFailed(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) RespondDecisionTaskCompleted(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) RespondDecisionTaskFailed(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) ScheduleDecisionTask(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) SignalWithStartWorkflowExecution(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) SignalWorkflowExecution(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) StartWorkflowExecution(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) SyncActivity(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) SyncShardStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) TerminateWorkflowExecution(arg0, arg1 interface{}) *gomock.Call
- type Service
- type ThriftHandler
- func (t ThriftHandler) CloseShard(ctx context.Context, request *shared.CloseShardRequest) error
- func (t ThriftHandler) DescribeHistoryHost(ctx context.Context, request *shared.DescribeHistoryHostRequest) (*shared.DescribeHistoryHostResponse, error)
- func (t ThriftHandler) DescribeMutableState(ctx context.Context, request *h.DescribeMutableStateRequest) (*h.DescribeMutableStateResponse, error)
- func (t ThriftHandler) DescribeQueue(ctx context.Context, request *shared.DescribeQueueRequest) (*shared.DescribeQueueResponse, error)
- func (t ThriftHandler) DescribeWorkflowExecution(ctx context.Context, request *h.DescribeWorkflowExecutionRequest) (*shared.DescribeWorkflowExecutionResponse, error)
- func (t ThriftHandler) GetDLQReplicationMessages(ctx context.Context, request *replicator.GetDLQReplicationMessagesRequest) (*replicator.GetDLQReplicationMessagesResponse, error)
- func (t ThriftHandler) GetMutableState(ctx context.Context, request *h.GetMutableStateRequest) (*h.GetMutableStateResponse, error)
- func (t ThriftHandler) GetReplicationMessages(ctx context.Context, request *replicator.GetReplicationMessagesRequest) (*replicator.GetReplicationMessagesResponse, error)
- func (t ThriftHandler) Health(ctx context.Context) (*health.HealthStatus, error)
- func (t ThriftHandler) MergeDLQMessages(ctx context.Context, request *replicator.MergeDLQMessagesRequest) (*replicator.MergeDLQMessagesResponse, error)
- func (t ThriftHandler) NotifyFailoverMarkers(ctx context.Context, request *h.NotifyFailoverMarkersRequest) error
- func (t ThriftHandler) PollMutableState(ctx context.Context, request *h.PollMutableStateRequest) (*h.PollMutableStateResponse, error)
- func (t ThriftHandler) PurgeDLQMessages(ctx context.Context, request *replicator.PurgeDLQMessagesRequest) error
- func (t ThriftHandler) QueryWorkflow(ctx context.Context, request *h.QueryWorkflowRequest) (*h.QueryWorkflowResponse, error)
- func (t ThriftHandler) ReadDLQMessages(ctx context.Context, request *replicator.ReadDLQMessagesRequest) (*replicator.ReadDLQMessagesResponse, error)
- func (t ThriftHandler) ReapplyEvents(ctx context.Context, request *h.ReapplyEventsRequest) error
- func (t ThriftHandler) RecordActivityTaskHeartbeat(ctx context.Context, request *h.RecordActivityTaskHeartbeatRequest) (*shared.RecordActivityTaskHeartbeatResponse, error)
- func (t ThriftHandler) RecordActivityTaskStarted(ctx context.Context, request *h.RecordActivityTaskStartedRequest) (*h.RecordActivityTaskStartedResponse, error)
- func (t ThriftHandler) RecordChildExecutionCompleted(ctx context.Context, request *h.RecordChildExecutionCompletedRequest) error
- func (t ThriftHandler) RecordDecisionTaskStarted(ctx context.Context, request *h.RecordDecisionTaskStartedRequest) (*h.RecordDecisionTaskStartedResponse, error)
- func (t ThriftHandler) RefreshWorkflowTasks(ctx context.Context, request *h.RefreshWorkflowTasksRequest) error
- func (t ThriftHandler) RemoveSignalMutableState(ctx context.Context, request *h.RemoveSignalMutableStateRequest) error
- func (t ThriftHandler) RemoveTask(ctx context.Context, request *shared.RemoveTaskRequest) error
- func (t ThriftHandler) ReplicateEventsV2(ctx context.Context, request *h.ReplicateEventsV2Request) error
- func (t ThriftHandler) RequestCancelWorkflowExecution(ctx context.Context, request *h.RequestCancelWorkflowExecutionRequest) error
- func (t ThriftHandler) ResetQueue(ctx context.Context, request *shared.ResetQueueRequest) error
- func (t ThriftHandler) ResetStickyTaskList(ctx context.Context, request *h.ResetStickyTaskListRequest) (*h.ResetStickyTaskListResponse, error)
- func (t ThriftHandler) ResetWorkflowExecution(ctx context.Context, request *h.ResetWorkflowExecutionRequest) (*shared.ResetWorkflowExecutionResponse, error)
- func (t ThriftHandler) RespondActivityTaskCanceled(ctx context.Context, request *h.RespondActivityTaskCanceledRequest) error
- func (t ThriftHandler) RespondActivityTaskCompleted(ctx context.Context, request *h.RespondActivityTaskCompletedRequest) error
- func (t ThriftHandler) RespondActivityTaskFailed(ctx context.Context, request *h.RespondActivityTaskFailedRequest) error
- func (t ThriftHandler) RespondDecisionTaskCompleted(ctx context.Context, request *h.RespondDecisionTaskCompletedRequest) (*h.RespondDecisionTaskCompletedResponse, error)
- func (t ThriftHandler) RespondDecisionTaskFailed(ctx context.Context, request *h.RespondDecisionTaskFailedRequest) error
- func (t ThriftHandler) ScheduleDecisionTask(ctx context.Context, request *h.ScheduleDecisionTaskRequest) error
- func (t ThriftHandler) SignalWithStartWorkflowExecution(ctx context.Context, request *h.SignalWithStartWorkflowExecutionRequest) (*shared.StartWorkflowExecutionResponse, error)
- func (t ThriftHandler) SignalWorkflowExecution(ctx context.Context, request *h.SignalWorkflowExecutionRequest) error
- func (t ThriftHandler) StartWorkflowExecution(ctx context.Context, request *h.StartWorkflowExecutionRequest) (*shared.StartWorkflowExecutionResponse, error)
- func (t ThriftHandler) SyncActivity(ctx context.Context, request *h.SyncActivityRequest) error
- func (t ThriftHandler) SyncShardStatus(ctx context.Context, request *h.SyncShardStatusRequest) error
- func (t ThriftHandler) TerminateWorkflowExecution(ctx context.Context, request *h.TerminateWorkflowExecutionRequest) error
Constants ¶
const ( // TerminateIfRunningReason reason for terminateIfRunning TerminateIfRunningReason = "TerminateIfRunning Policy" // TerminateIfRunningDetailsTemplate details template for terminateIfRunning TerminateIfRunningDetailsTemplate = "New runID: %s" )
Variables ¶
var ( // FailedWorkflowCloseState is a set of failed workflow close states, used for start workflow policy // for start workflow execution API FailedWorkflowCloseState = map[int]bool{ persistence.WorkflowCloseStatusFailed: true, persistence.WorkflowCloseStatusCanceled: true, persistence.WorkflowCloseStatusTerminated: true, persistence.WorkflowCloseStatusTimedOut: true, } )
Functions ¶
func NewEngineWithShardContext ¶
func NewEngineWithShardContext( shard shard.Context, visibilityMgr persistence.VisibilityManager, matching matching.Client, historyClient hc.Client, publicClient workflowserviceclient.Interface, historyEventNotifier events.Notifier, config *config.Config, replicationTaskFetchers replication.TaskFetchers, rawMatchingClient matching.Client, queueTaskProcessor task.Processor, failoverCoordinator failover.Coordinator, ) engine.Engine
NewEngineWithShardContext creates an instance of history engine
func NewHandler ¶
NewHandler creates a thrift handler for the history service
func NewService ¶
func NewService( params *service.BootstrapParams, ) (resource.Resource, error)
NewService builds a new cadence-history service
Types ¶
type Handler ¶
type Handler interface { Health(context.Context) (*types.HealthStatus, error) CloseShard(context.Context, *types.CloseShardRequest) error DescribeHistoryHost(context.Context, *types.DescribeHistoryHostRequest) (*types.DescribeHistoryHostResponse, error) DescribeMutableState(context.Context, *types.DescribeMutableStateRequest) (*types.DescribeMutableStateResponse, error) DescribeQueue(context.Context, *types.DescribeQueueRequest) (*types.DescribeQueueResponse, error) DescribeWorkflowExecution(context.Context, *types.HistoryDescribeWorkflowExecutionRequest) (*types.DescribeWorkflowExecutionResponse, error) GetDLQReplicationMessages(context.Context, *types.GetDLQReplicationMessagesRequest) (*types.GetDLQReplicationMessagesResponse, error) GetMutableState(context.Context, *types.GetMutableStateRequest) (*types.GetMutableStateResponse, error) GetReplicationMessages(context.Context, *types.GetReplicationMessagesRequest) (*types.GetReplicationMessagesResponse, error) MergeDLQMessages(context.Context, *types.MergeDLQMessagesRequest) (*types.MergeDLQMessagesResponse, error) NotifyFailoverMarkers(context.Context, *types.NotifyFailoverMarkersRequest) error PollMutableState(context.Context, *types.PollMutableStateRequest) (*types.PollMutableStateResponse, error) PurgeDLQMessages(context.Context, *types.PurgeDLQMessagesRequest) error QueryWorkflow(context.Context, *types.HistoryQueryWorkflowRequest) (*types.HistoryQueryWorkflowResponse, error) ReadDLQMessages(context.Context, *types.ReadDLQMessagesRequest) (*types.ReadDLQMessagesResponse, error) ReapplyEvents(context.Context, *types.HistoryReapplyEventsRequest) error RecordActivityTaskHeartbeat(context.Context, *types.HistoryRecordActivityTaskHeartbeatRequest) (*types.RecordActivityTaskHeartbeatResponse, error) RecordActivityTaskStarted(context.Context, *types.RecordActivityTaskStartedRequest) (*types.RecordActivityTaskStartedResponse, error) RecordChildExecutionCompleted(context.Context, *types.RecordChildExecutionCompletedRequest) error RecordDecisionTaskStarted(context.Context, *types.RecordDecisionTaskStartedRequest) (*types.RecordDecisionTaskStartedResponse, error) RefreshWorkflowTasks(context.Context, *types.HistoryRefreshWorkflowTasksRequest) error RemoveSignalMutableState(context.Context, *types.RemoveSignalMutableStateRequest) error RemoveTask(context.Context, *types.RemoveTaskRequest) error ReplicateEventsV2(context.Context, *types.ReplicateEventsV2Request) error RequestCancelWorkflowExecution(context.Context, *types.HistoryRequestCancelWorkflowExecutionRequest) error ResetQueue(context.Context, *types.ResetQueueRequest) error ResetStickyTaskList(context.Context, *types.HistoryResetStickyTaskListRequest) (*types.HistoryResetStickyTaskListResponse, error) ResetWorkflowExecution(context.Context, *types.HistoryResetWorkflowExecutionRequest) (*types.ResetWorkflowExecutionResponse, error) RespondActivityTaskCanceled(context.Context, *types.HistoryRespondActivityTaskCanceledRequest) error RespondActivityTaskCompleted(context.Context, *types.HistoryRespondActivityTaskCompletedRequest) error RespondActivityTaskFailed(context.Context, *types.HistoryRespondActivityTaskFailedRequest) error RespondDecisionTaskCompleted(context.Context, *types.HistoryRespondDecisionTaskCompletedRequest) (*types.HistoryRespondDecisionTaskCompletedResponse, error) RespondDecisionTaskFailed(context.Context, *types.HistoryRespondDecisionTaskFailedRequest) error ScheduleDecisionTask(context.Context, *types.ScheduleDecisionTaskRequest) error SignalWithStartWorkflowExecution(context.Context, *types.HistorySignalWithStartWorkflowExecutionRequest) (*types.StartWorkflowExecutionResponse, error) SignalWorkflowExecution(context.Context, *types.HistorySignalWorkflowExecutionRequest) error StartWorkflowExecution(context.Context, *types.HistoryStartWorkflowExecutionRequest) (*types.StartWorkflowExecutionResponse, error) SyncActivity(context.Context, *types.SyncActivityRequest) error SyncShardStatus(context.Context, *types.SyncShardStatusRequest) error TerminateWorkflowExecution(context.Context, *types.HistoryTerminateWorkflowExecutionRequest) error }
Handler interface for history service
type MockHandler ¶ added in v0.17.0
type MockHandler struct {
// contains filtered or unexported fields
}
MockHandler is a mock of Handler interface
func NewMockHandler ¶ added in v0.17.0
func NewMockHandler(ctrl *gomock.Controller) *MockHandler
NewMockHandler creates a new mock instance
func (*MockHandler) CloseShard ¶ added in v0.17.0
func (m *MockHandler) CloseShard(arg0 context.Context, arg1 *types.CloseShardRequest) error
CloseShard mocks base method
func (*MockHandler) DescribeHistoryHost ¶ added in v0.17.0
func (m *MockHandler) DescribeHistoryHost(arg0 context.Context, arg1 *types.DescribeHistoryHostRequest) (*types.DescribeHistoryHostResponse, error)
DescribeHistoryHost mocks base method
func (*MockHandler) DescribeMutableState ¶ added in v0.17.0
func (m *MockHandler) DescribeMutableState(arg0 context.Context, arg1 *types.DescribeMutableStateRequest) (*types.DescribeMutableStateResponse, error)
DescribeMutableState mocks base method
func (*MockHandler) DescribeQueue ¶ added in v0.17.0
func (m *MockHandler) DescribeQueue(arg0 context.Context, arg1 *types.DescribeQueueRequest) (*types.DescribeQueueResponse, error)
DescribeQueue mocks base method
func (*MockHandler) DescribeWorkflowExecution ¶ added in v0.17.0
func (m *MockHandler) DescribeWorkflowExecution(arg0 context.Context, arg1 *types.HistoryDescribeWorkflowExecutionRequest) (*types.DescribeWorkflowExecutionResponse, error)
DescribeWorkflowExecution mocks base method
func (*MockHandler) EXPECT ¶ added in v0.17.0
func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHandler) GetDLQReplicationMessages ¶ added in v0.17.0
func (m *MockHandler) GetDLQReplicationMessages(arg0 context.Context, arg1 *types.GetDLQReplicationMessagesRequest) (*types.GetDLQReplicationMessagesResponse, error)
GetDLQReplicationMessages mocks base method
func (*MockHandler) GetMutableState ¶ added in v0.17.0
func (m *MockHandler) GetMutableState(arg0 context.Context, arg1 *types.GetMutableStateRequest) (*types.GetMutableStateResponse, error)
GetMutableState mocks base method
func (*MockHandler) GetReplicationMessages ¶ added in v0.17.0
func (m *MockHandler) GetReplicationMessages(arg0 context.Context, arg1 *types.GetReplicationMessagesRequest) (*types.GetReplicationMessagesResponse, error)
GetReplicationMessages mocks base method
func (*MockHandler) Health ¶ added in v0.17.0
func (m *MockHandler) Health(arg0 context.Context) (*types.HealthStatus, error)
Health mocks base method
func (*MockHandler) MergeDLQMessages ¶ added in v0.17.0
func (m *MockHandler) MergeDLQMessages(arg0 context.Context, arg1 *types.MergeDLQMessagesRequest) (*types.MergeDLQMessagesResponse, error)
MergeDLQMessages mocks base method
func (*MockHandler) NotifyFailoverMarkers ¶ added in v0.17.0
func (m *MockHandler) NotifyFailoverMarkers(arg0 context.Context, arg1 *types.NotifyFailoverMarkersRequest) error
NotifyFailoverMarkers mocks base method
func (*MockHandler) PollMutableState ¶ added in v0.17.0
func (m *MockHandler) PollMutableState(arg0 context.Context, arg1 *types.PollMutableStateRequest) (*types.PollMutableStateResponse, error)
PollMutableState mocks base method
func (*MockHandler) PurgeDLQMessages ¶ added in v0.17.0
func (m *MockHandler) PurgeDLQMessages(arg0 context.Context, arg1 *types.PurgeDLQMessagesRequest) error
PurgeDLQMessages mocks base method
func (*MockHandler) QueryWorkflow ¶ added in v0.17.0
func (m *MockHandler) QueryWorkflow(arg0 context.Context, arg1 *types.HistoryQueryWorkflowRequest) (*types.HistoryQueryWorkflowResponse, error)
QueryWorkflow mocks base method
func (*MockHandler) ReadDLQMessages ¶ added in v0.17.0
func (m *MockHandler) ReadDLQMessages(arg0 context.Context, arg1 *types.ReadDLQMessagesRequest) (*types.ReadDLQMessagesResponse, error)
ReadDLQMessages mocks base method
func (*MockHandler) ReapplyEvents ¶ added in v0.17.0
func (m *MockHandler) ReapplyEvents(arg0 context.Context, arg1 *types.HistoryReapplyEventsRequest) error
ReapplyEvents mocks base method
func (*MockHandler) RecordActivityTaskHeartbeat ¶ added in v0.17.0
func (m *MockHandler) RecordActivityTaskHeartbeat(arg0 context.Context, arg1 *types.HistoryRecordActivityTaskHeartbeatRequest) (*types.RecordActivityTaskHeartbeatResponse, error)
RecordActivityTaskHeartbeat mocks base method
func (*MockHandler) RecordActivityTaskStarted ¶ added in v0.17.0
func (m *MockHandler) RecordActivityTaskStarted(arg0 context.Context, arg1 *types.RecordActivityTaskStartedRequest) (*types.RecordActivityTaskStartedResponse, error)
RecordActivityTaskStarted mocks base method
func (*MockHandler) RecordChildExecutionCompleted ¶ added in v0.17.0
func (m *MockHandler) RecordChildExecutionCompleted(arg0 context.Context, arg1 *types.RecordChildExecutionCompletedRequest) error
RecordChildExecutionCompleted mocks base method
func (*MockHandler) RecordDecisionTaskStarted ¶ added in v0.17.0
func (m *MockHandler) RecordDecisionTaskStarted(arg0 context.Context, arg1 *types.RecordDecisionTaskStartedRequest) (*types.RecordDecisionTaskStartedResponse, error)
RecordDecisionTaskStarted mocks base method
func (*MockHandler) RefreshWorkflowTasks ¶ added in v0.17.0
func (m *MockHandler) RefreshWorkflowTasks(arg0 context.Context, arg1 *types.HistoryRefreshWorkflowTasksRequest) error
RefreshWorkflowTasks mocks base method
func (*MockHandler) RemoveSignalMutableState ¶ added in v0.17.0
func (m *MockHandler) RemoveSignalMutableState(arg0 context.Context, arg1 *types.RemoveSignalMutableStateRequest) error
RemoveSignalMutableState mocks base method
func (*MockHandler) RemoveTask ¶ added in v0.17.0
func (m *MockHandler) RemoveTask(arg0 context.Context, arg1 *types.RemoveTaskRequest) error
RemoveTask mocks base method
func (*MockHandler) ReplicateEventsV2 ¶ added in v0.17.0
func (m *MockHandler) ReplicateEventsV2(arg0 context.Context, arg1 *types.ReplicateEventsV2Request) error
ReplicateEventsV2 mocks base method
func (*MockHandler) RequestCancelWorkflowExecution ¶ added in v0.17.0
func (m *MockHandler) RequestCancelWorkflowExecution(arg0 context.Context, arg1 *types.HistoryRequestCancelWorkflowExecutionRequest) error
RequestCancelWorkflowExecution mocks base method
func (*MockHandler) ResetQueue ¶ added in v0.17.0
func (m *MockHandler) ResetQueue(arg0 context.Context, arg1 *types.ResetQueueRequest) error
ResetQueue mocks base method
func (*MockHandler) ResetStickyTaskList ¶ added in v0.17.0
func (m *MockHandler) ResetStickyTaskList(arg0 context.Context, arg1 *types.HistoryResetStickyTaskListRequest) (*types.HistoryResetStickyTaskListResponse, error)
ResetStickyTaskList mocks base method
func (*MockHandler) ResetWorkflowExecution ¶ added in v0.17.0
func (m *MockHandler) ResetWorkflowExecution(arg0 context.Context, arg1 *types.HistoryResetWorkflowExecutionRequest) (*types.ResetWorkflowExecutionResponse, error)
ResetWorkflowExecution mocks base method
func (*MockHandler) RespondActivityTaskCanceled ¶ added in v0.17.0
func (m *MockHandler) RespondActivityTaskCanceled(arg0 context.Context, arg1 *types.HistoryRespondActivityTaskCanceledRequest) error
RespondActivityTaskCanceled mocks base method
func (*MockHandler) RespondActivityTaskCompleted ¶ added in v0.17.0
func (m *MockHandler) RespondActivityTaskCompleted(arg0 context.Context, arg1 *types.HistoryRespondActivityTaskCompletedRequest) error
RespondActivityTaskCompleted mocks base method
func (*MockHandler) RespondActivityTaskFailed ¶ added in v0.17.0
func (m *MockHandler) RespondActivityTaskFailed(arg0 context.Context, arg1 *types.HistoryRespondActivityTaskFailedRequest) error
RespondActivityTaskFailed mocks base method
func (*MockHandler) RespondDecisionTaskCompleted ¶ added in v0.17.0
func (m *MockHandler) RespondDecisionTaskCompleted(arg0 context.Context, arg1 *types.HistoryRespondDecisionTaskCompletedRequest) (*types.HistoryRespondDecisionTaskCompletedResponse, error)
RespondDecisionTaskCompleted mocks base method
func (*MockHandler) RespondDecisionTaskFailed ¶ added in v0.17.0
func (m *MockHandler) RespondDecisionTaskFailed(arg0 context.Context, arg1 *types.HistoryRespondDecisionTaskFailedRequest) error
RespondDecisionTaskFailed mocks base method
func (*MockHandler) ScheduleDecisionTask ¶ added in v0.17.0
func (m *MockHandler) ScheduleDecisionTask(arg0 context.Context, arg1 *types.ScheduleDecisionTaskRequest) error
ScheduleDecisionTask mocks base method
func (*MockHandler) SignalWithStartWorkflowExecution ¶ added in v0.17.0
func (m *MockHandler) SignalWithStartWorkflowExecution(arg0 context.Context, arg1 *types.HistorySignalWithStartWorkflowExecutionRequest) (*types.StartWorkflowExecutionResponse, error)
SignalWithStartWorkflowExecution mocks base method
func (*MockHandler) SignalWorkflowExecution ¶ added in v0.17.0
func (m *MockHandler) SignalWorkflowExecution(arg0 context.Context, arg1 *types.HistorySignalWorkflowExecutionRequest) error
SignalWorkflowExecution mocks base method
func (*MockHandler) StartWorkflowExecution ¶ added in v0.17.0
func (m *MockHandler) StartWorkflowExecution(arg0 context.Context, arg1 *types.HistoryStartWorkflowExecutionRequest) (*types.StartWorkflowExecutionResponse, error)
StartWorkflowExecution mocks base method
func (*MockHandler) SyncActivity ¶ added in v0.17.0
func (m *MockHandler) SyncActivity(arg0 context.Context, arg1 *types.SyncActivityRequest) error
SyncActivity mocks base method
func (*MockHandler) SyncShardStatus ¶ added in v0.17.0
func (m *MockHandler) SyncShardStatus(arg0 context.Context, arg1 *types.SyncShardStatusRequest) error
SyncShardStatus mocks base method
func (*MockHandler) TerminateWorkflowExecution ¶ added in v0.17.0
func (m *MockHandler) TerminateWorkflowExecution(arg0 context.Context, arg1 *types.HistoryTerminateWorkflowExecutionRequest) error
TerminateWorkflowExecution mocks base method
type MockHandlerMockRecorder ¶ added in v0.17.0
type MockHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockHandlerMockRecorder is the mock recorder for MockHandler
func (*MockHandlerMockRecorder) CloseShard ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) CloseShard(arg0, arg1 interface{}) *gomock.Call
CloseShard indicates an expected call of CloseShard
func (*MockHandlerMockRecorder) DescribeHistoryHost ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) DescribeHistoryHost(arg0, arg1 interface{}) *gomock.Call
DescribeHistoryHost indicates an expected call of DescribeHistoryHost
func (*MockHandlerMockRecorder) DescribeMutableState ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) DescribeMutableState(arg0, arg1 interface{}) *gomock.Call
DescribeMutableState indicates an expected call of DescribeMutableState
func (*MockHandlerMockRecorder) DescribeQueue ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) DescribeQueue(arg0, arg1 interface{}) *gomock.Call
DescribeQueue indicates an expected call of DescribeQueue
func (*MockHandlerMockRecorder) DescribeWorkflowExecution ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) DescribeWorkflowExecution(arg0, arg1 interface{}) *gomock.Call
DescribeWorkflowExecution indicates an expected call of DescribeWorkflowExecution
func (*MockHandlerMockRecorder) GetDLQReplicationMessages ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) GetDLQReplicationMessages(arg0, arg1 interface{}) *gomock.Call
GetDLQReplicationMessages indicates an expected call of GetDLQReplicationMessages
func (*MockHandlerMockRecorder) GetMutableState ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) GetMutableState(arg0, arg1 interface{}) *gomock.Call
GetMutableState indicates an expected call of GetMutableState
func (*MockHandlerMockRecorder) GetReplicationMessages ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) GetReplicationMessages(arg0, arg1 interface{}) *gomock.Call
GetReplicationMessages indicates an expected call of GetReplicationMessages
func (*MockHandlerMockRecorder) Health ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) Health(arg0 interface{}) *gomock.Call
Health indicates an expected call of Health
func (*MockHandlerMockRecorder) MergeDLQMessages ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) MergeDLQMessages(arg0, arg1 interface{}) *gomock.Call
MergeDLQMessages indicates an expected call of MergeDLQMessages
func (*MockHandlerMockRecorder) NotifyFailoverMarkers ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) NotifyFailoverMarkers(arg0, arg1 interface{}) *gomock.Call
NotifyFailoverMarkers indicates an expected call of NotifyFailoverMarkers
func (*MockHandlerMockRecorder) PollMutableState ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) PollMutableState(arg0, arg1 interface{}) *gomock.Call
PollMutableState indicates an expected call of PollMutableState
func (*MockHandlerMockRecorder) PurgeDLQMessages ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) PurgeDLQMessages(arg0, arg1 interface{}) *gomock.Call
PurgeDLQMessages indicates an expected call of PurgeDLQMessages
func (*MockHandlerMockRecorder) QueryWorkflow ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) QueryWorkflow(arg0, arg1 interface{}) *gomock.Call
QueryWorkflow indicates an expected call of QueryWorkflow
func (*MockHandlerMockRecorder) ReadDLQMessages ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) ReadDLQMessages(arg0, arg1 interface{}) *gomock.Call
ReadDLQMessages indicates an expected call of ReadDLQMessages
func (*MockHandlerMockRecorder) ReapplyEvents ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) ReapplyEvents(arg0, arg1 interface{}) *gomock.Call
ReapplyEvents indicates an expected call of ReapplyEvents
func (*MockHandlerMockRecorder) RecordActivityTaskHeartbeat ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) RecordActivityTaskHeartbeat(arg0, arg1 interface{}) *gomock.Call
RecordActivityTaskHeartbeat indicates an expected call of RecordActivityTaskHeartbeat
func (*MockHandlerMockRecorder) RecordActivityTaskStarted ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) RecordActivityTaskStarted(arg0, arg1 interface{}) *gomock.Call
RecordActivityTaskStarted indicates an expected call of RecordActivityTaskStarted
func (*MockHandlerMockRecorder) RecordChildExecutionCompleted ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) RecordChildExecutionCompleted(arg0, arg1 interface{}) *gomock.Call
RecordChildExecutionCompleted indicates an expected call of RecordChildExecutionCompleted
func (*MockHandlerMockRecorder) RecordDecisionTaskStarted ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) RecordDecisionTaskStarted(arg0, arg1 interface{}) *gomock.Call
RecordDecisionTaskStarted indicates an expected call of RecordDecisionTaskStarted
func (*MockHandlerMockRecorder) RefreshWorkflowTasks ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) RefreshWorkflowTasks(arg0, arg1 interface{}) *gomock.Call
RefreshWorkflowTasks indicates an expected call of RefreshWorkflowTasks
func (*MockHandlerMockRecorder) RemoveSignalMutableState ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) RemoveSignalMutableState(arg0, arg1 interface{}) *gomock.Call
RemoveSignalMutableState indicates an expected call of RemoveSignalMutableState
func (*MockHandlerMockRecorder) RemoveTask ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) RemoveTask(arg0, arg1 interface{}) *gomock.Call
RemoveTask indicates an expected call of RemoveTask
func (*MockHandlerMockRecorder) ReplicateEventsV2 ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) ReplicateEventsV2(arg0, arg1 interface{}) *gomock.Call
ReplicateEventsV2 indicates an expected call of ReplicateEventsV2
func (*MockHandlerMockRecorder) RequestCancelWorkflowExecution ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) RequestCancelWorkflowExecution(arg0, arg1 interface{}) *gomock.Call
RequestCancelWorkflowExecution indicates an expected call of RequestCancelWorkflowExecution
func (*MockHandlerMockRecorder) ResetQueue ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) ResetQueue(arg0, arg1 interface{}) *gomock.Call
ResetQueue indicates an expected call of ResetQueue
func (*MockHandlerMockRecorder) ResetStickyTaskList ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) ResetStickyTaskList(arg0, arg1 interface{}) *gomock.Call
ResetStickyTaskList indicates an expected call of ResetStickyTaskList
func (*MockHandlerMockRecorder) ResetWorkflowExecution ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) ResetWorkflowExecution(arg0, arg1 interface{}) *gomock.Call
ResetWorkflowExecution indicates an expected call of ResetWorkflowExecution
func (*MockHandlerMockRecorder) RespondActivityTaskCanceled ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) RespondActivityTaskCanceled(arg0, arg1 interface{}) *gomock.Call
RespondActivityTaskCanceled indicates an expected call of RespondActivityTaskCanceled
func (*MockHandlerMockRecorder) RespondActivityTaskCompleted ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) RespondActivityTaskCompleted(arg0, arg1 interface{}) *gomock.Call
RespondActivityTaskCompleted indicates an expected call of RespondActivityTaskCompleted
func (*MockHandlerMockRecorder) RespondActivityTaskFailed ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) RespondActivityTaskFailed(arg0, arg1 interface{}) *gomock.Call
RespondActivityTaskFailed indicates an expected call of RespondActivityTaskFailed
func (*MockHandlerMockRecorder) RespondDecisionTaskCompleted ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) RespondDecisionTaskCompleted(arg0, arg1 interface{}) *gomock.Call
RespondDecisionTaskCompleted indicates an expected call of RespondDecisionTaskCompleted
func (*MockHandlerMockRecorder) RespondDecisionTaskFailed ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) RespondDecisionTaskFailed(arg0, arg1 interface{}) *gomock.Call
RespondDecisionTaskFailed indicates an expected call of RespondDecisionTaskFailed
func (*MockHandlerMockRecorder) ScheduleDecisionTask ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) ScheduleDecisionTask(arg0, arg1 interface{}) *gomock.Call
ScheduleDecisionTask indicates an expected call of ScheduleDecisionTask
func (*MockHandlerMockRecorder) SignalWithStartWorkflowExecution ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) SignalWithStartWorkflowExecution(arg0, arg1 interface{}) *gomock.Call
SignalWithStartWorkflowExecution indicates an expected call of SignalWithStartWorkflowExecution
func (*MockHandlerMockRecorder) SignalWorkflowExecution ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) SignalWorkflowExecution(arg0, arg1 interface{}) *gomock.Call
SignalWorkflowExecution indicates an expected call of SignalWorkflowExecution
func (*MockHandlerMockRecorder) StartWorkflowExecution ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) StartWorkflowExecution(arg0, arg1 interface{}) *gomock.Call
StartWorkflowExecution indicates an expected call of StartWorkflowExecution
func (*MockHandlerMockRecorder) SyncActivity ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) SyncActivity(arg0, arg1 interface{}) *gomock.Call
SyncActivity indicates an expected call of SyncActivity
func (*MockHandlerMockRecorder) SyncShardStatus ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) SyncShardStatus(arg0, arg1 interface{}) *gomock.Call
SyncShardStatus indicates an expected call of SyncShardStatus
func (*MockHandlerMockRecorder) TerminateWorkflowExecution ¶ added in v0.17.0
func (mr *MockHandlerMockRecorder) TerminateWorkflowExecution(arg0, arg1 interface{}) *gomock.Call
TerminateWorkflowExecution indicates an expected call of TerminateWorkflowExecution
type ThriftHandler ¶ added in v0.17.0
type ThriftHandler struct {
// contains filtered or unexported fields
}
ThriftHandler wrap underlying handler and handles Thrift related type conversions
func NewThriftHandler ¶ added in v0.17.0
func NewThriftHandler(h Handler) ThriftHandler
NewThriftHandler creates Thrift handler on top of underlying handler
func (ThriftHandler) CloseShard ¶ added in v0.17.0
func (t ThriftHandler) CloseShard(ctx context.Context, request *shared.CloseShardRequest) error
CloseShard forwards request to the underlying handler
func (ThriftHandler) DescribeHistoryHost ¶ added in v0.17.0
func (t ThriftHandler) DescribeHistoryHost(ctx context.Context, request *shared.DescribeHistoryHostRequest) (*shared.DescribeHistoryHostResponse, error)
DescribeHistoryHost forwards request to the underlying handler
func (ThriftHandler) DescribeMutableState ¶ added in v0.17.0
func (t ThriftHandler) DescribeMutableState(ctx context.Context, request *h.DescribeMutableStateRequest) (*h.DescribeMutableStateResponse, error)
DescribeMutableState forwards request to the underlying handler
func (ThriftHandler) DescribeQueue ¶ added in v0.17.0
func (t ThriftHandler) DescribeQueue(ctx context.Context, request *shared.DescribeQueueRequest) (*shared.DescribeQueueResponse, error)
DescribeQueue forwards request to the underlying handler
func (ThriftHandler) DescribeWorkflowExecution ¶ added in v0.17.0
func (t ThriftHandler) DescribeWorkflowExecution(ctx context.Context, request *h.DescribeWorkflowExecutionRequest) (*shared.DescribeWorkflowExecutionResponse, error)
DescribeWorkflowExecution forwards request to the underlying handler
func (ThriftHandler) GetDLQReplicationMessages ¶ added in v0.17.0
func (t ThriftHandler) GetDLQReplicationMessages(ctx context.Context, request *replicator.GetDLQReplicationMessagesRequest) (*replicator.GetDLQReplicationMessagesResponse, error)
GetDLQReplicationMessages forwards request to the underlying handler
func (ThriftHandler) GetMutableState ¶ added in v0.17.0
func (t ThriftHandler) GetMutableState(ctx context.Context, request *h.GetMutableStateRequest) (*h.GetMutableStateResponse, error)
GetMutableState forwards request to the underlying handler
func (ThriftHandler) GetReplicationMessages ¶ added in v0.17.0
func (t ThriftHandler) GetReplicationMessages(ctx context.Context, request *replicator.GetReplicationMessagesRequest) (*replicator.GetReplicationMessagesResponse, error)
GetReplicationMessages forwards request to the underlying handler
func (ThriftHandler) Health ¶ added in v0.17.0
func (t ThriftHandler) Health(ctx context.Context) (*health.HealthStatus, error)
Health forwards request to the underlying handler
func (ThriftHandler) MergeDLQMessages ¶ added in v0.17.0
func (t ThriftHandler) MergeDLQMessages(ctx context.Context, request *replicator.MergeDLQMessagesRequest) (*replicator.MergeDLQMessagesResponse, error)
MergeDLQMessages forwards request to the underlying handler
func (ThriftHandler) NotifyFailoverMarkers ¶ added in v0.17.0
func (t ThriftHandler) NotifyFailoverMarkers(ctx context.Context, request *h.NotifyFailoverMarkersRequest) error
NotifyFailoverMarkers forwards request to the underlying handler
func (ThriftHandler) PollMutableState ¶ added in v0.17.0
func (t ThriftHandler) PollMutableState(ctx context.Context, request *h.PollMutableStateRequest) (*h.PollMutableStateResponse, error)
PollMutableState forwards request to the underlying handler
func (ThriftHandler) PurgeDLQMessages ¶ added in v0.17.0
func (t ThriftHandler) PurgeDLQMessages(ctx context.Context, request *replicator.PurgeDLQMessagesRequest) error
PurgeDLQMessages forwards request to the underlying handler
func (ThriftHandler) QueryWorkflow ¶ added in v0.17.0
func (t ThriftHandler) QueryWorkflow(ctx context.Context, request *h.QueryWorkflowRequest) (*h.QueryWorkflowResponse, error)
QueryWorkflow forwards request to the underlying handler
func (ThriftHandler) ReadDLQMessages ¶ added in v0.17.0
func (t ThriftHandler) ReadDLQMessages(ctx context.Context, request *replicator.ReadDLQMessagesRequest) (*replicator.ReadDLQMessagesResponse, error)
ReadDLQMessages forwards request to the underlying handler
func (ThriftHandler) ReapplyEvents ¶ added in v0.17.0
func (t ThriftHandler) ReapplyEvents(ctx context.Context, request *h.ReapplyEventsRequest) error
ReapplyEvents forwards request to the underlying handler
func (ThriftHandler) RecordActivityTaskHeartbeat ¶ added in v0.17.0
func (t ThriftHandler) RecordActivityTaskHeartbeat(ctx context.Context, request *h.RecordActivityTaskHeartbeatRequest) (*shared.RecordActivityTaskHeartbeatResponse, error)
RecordActivityTaskHeartbeat forwards request to the underlying handler
func (ThriftHandler) RecordActivityTaskStarted ¶ added in v0.17.0
func (t ThriftHandler) RecordActivityTaskStarted(ctx context.Context, request *h.RecordActivityTaskStartedRequest) (*h.RecordActivityTaskStartedResponse, error)
RecordActivityTaskStarted forwards request to the underlying handler
func (ThriftHandler) RecordChildExecutionCompleted ¶ added in v0.17.0
func (t ThriftHandler) RecordChildExecutionCompleted(ctx context.Context, request *h.RecordChildExecutionCompletedRequest) error
RecordChildExecutionCompleted forwards request to the underlying handler
func (ThriftHandler) RecordDecisionTaskStarted ¶ added in v0.17.0
func (t ThriftHandler) RecordDecisionTaskStarted(ctx context.Context, request *h.RecordDecisionTaskStartedRequest) (*h.RecordDecisionTaskStartedResponse, error)
RecordDecisionTaskStarted forwards request to the underlying handler
func (ThriftHandler) RefreshWorkflowTasks ¶ added in v0.17.0
func (t ThriftHandler) RefreshWorkflowTasks(ctx context.Context, request *h.RefreshWorkflowTasksRequest) error
RefreshWorkflowTasks forwards request to the underlying handler
func (ThriftHandler) RemoveSignalMutableState ¶ added in v0.17.0
func (t ThriftHandler) RemoveSignalMutableState(ctx context.Context, request *h.RemoveSignalMutableStateRequest) error
RemoveSignalMutableState forwards request to the underlying handler
func (ThriftHandler) RemoveTask ¶ added in v0.17.0
func (t ThriftHandler) RemoveTask(ctx context.Context, request *shared.RemoveTaskRequest) error
RemoveTask forwards request to the underlying handler
func (ThriftHandler) ReplicateEventsV2 ¶ added in v0.17.0
func (t ThriftHandler) ReplicateEventsV2(ctx context.Context, request *h.ReplicateEventsV2Request) error
ReplicateEventsV2 forwards request to the underlying handler
func (ThriftHandler) RequestCancelWorkflowExecution ¶ added in v0.17.0
func (t ThriftHandler) RequestCancelWorkflowExecution(ctx context.Context, request *h.RequestCancelWorkflowExecutionRequest) error
RequestCancelWorkflowExecution forwards request to the underlying handler
func (ThriftHandler) ResetQueue ¶ added in v0.17.0
func (t ThriftHandler) ResetQueue(ctx context.Context, request *shared.ResetQueueRequest) error
ResetQueue forwards request to the underlying handler
func (ThriftHandler) ResetStickyTaskList ¶ added in v0.17.0
func (t ThriftHandler) ResetStickyTaskList(ctx context.Context, request *h.ResetStickyTaskListRequest) (*h.ResetStickyTaskListResponse, error)
ResetStickyTaskList forwards request to the underlying handler
func (ThriftHandler) ResetWorkflowExecution ¶ added in v0.17.0
func (t ThriftHandler) ResetWorkflowExecution(ctx context.Context, request *h.ResetWorkflowExecutionRequest) (*shared.ResetWorkflowExecutionResponse, error)
ResetWorkflowExecution forwards request to the underlying handler
func (ThriftHandler) RespondActivityTaskCanceled ¶ added in v0.17.0
func (t ThriftHandler) RespondActivityTaskCanceled(ctx context.Context, request *h.RespondActivityTaskCanceledRequest) error
RespondActivityTaskCanceled forwards request to the underlying handler
func (ThriftHandler) RespondActivityTaskCompleted ¶ added in v0.17.0
func (t ThriftHandler) RespondActivityTaskCompleted(ctx context.Context, request *h.RespondActivityTaskCompletedRequest) error
RespondActivityTaskCompleted forwards request to the underlying handler
func (ThriftHandler) RespondActivityTaskFailed ¶ added in v0.17.0
func (t ThriftHandler) RespondActivityTaskFailed(ctx context.Context, request *h.RespondActivityTaskFailedRequest) error
RespondActivityTaskFailed forwards request to the underlying handler
func (ThriftHandler) RespondDecisionTaskCompleted ¶ added in v0.17.0
func (t ThriftHandler) RespondDecisionTaskCompleted(ctx context.Context, request *h.RespondDecisionTaskCompletedRequest) (*h.RespondDecisionTaskCompletedResponse, error)
RespondDecisionTaskCompleted forwards request to the underlying handler
func (ThriftHandler) RespondDecisionTaskFailed ¶ added in v0.17.0
func (t ThriftHandler) RespondDecisionTaskFailed(ctx context.Context, request *h.RespondDecisionTaskFailedRequest) error
RespondDecisionTaskFailed forwards request to the underlying handler
func (ThriftHandler) ScheduleDecisionTask ¶ added in v0.17.0
func (t ThriftHandler) ScheduleDecisionTask(ctx context.Context, request *h.ScheduleDecisionTaskRequest) error
ScheduleDecisionTask forwards request to the underlying handler
func (ThriftHandler) SignalWithStartWorkflowExecution ¶ added in v0.17.0
func (t ThriftHandler) SignalWithStartWorkflowExecution(ctx context.Context, request *h.SignalWithStartWorkflowExecutionRequest) (*shared.StartWorkflowExecutionResponse, error)
SignalWithStartWorkflowExecution forwards request to the underlying handler
func (ThriftHandler) SignalWorkflowExecution ¶ added in v0.17.0
func (t ThriftHandler) SignalWorkflowExecution(ctx context.Context, request *h.SignalWorkflowExecutionRequest) error
SignalWorkflowExecution forwards request to the underlying handler
func (ThriftHandler) StartWorkflowExecution ¶ added in v0.17.0
func (t ThriftHandler) StartWorkflowExecution(ctx context.Context, request *h.StartWorkflowExecutionRequest) (*shared.StartWorkflowExecutionResponse, error)
StartWorkflowExecution forwards request to the underlying handler
func (ThriftHandler) SyncActivity ¶ added in v0.17.0
func (t ThriftHandler) SyncActivity(ctx context.Context, request *h.SyncActivityRequest) error
SyncActivity forwards request to the underlying handler
func (ThriftHandler) SyncShardStatus ¶ added in v0.17.0
func (t ThriftHandler) SyncShardStatus(ctx context.Context, request *h.SyncShardStatusRequest) error
SyncShardStatus forwards request to the underlying handler
func (ThriftHandler) TerminateWorkflowExecution ¶ added in v0.17.0
func (t ThriftHandler) TerminateWorkflowExecution(ctx context.Context, request *h.TerminateWorkflowExecutionRequest) error
TerminateWorkflowExecution forwards request to the underlying handler
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package engine is a generated GoMock package.
|
Package engine is a generated GoMock package. |
Package events is a generated GoMock package.
|
Package events is a generated GoMock package. |
Package execution is a generated GoMock package.
|
Package execution is a generated GoMock package. |
Package failover is a generated GoMock package.
|
Package failover is a generated GoMock package. |
Package ndc is a generated GoMock package.
|
Package ndc is a generated GoMock package. |
Package queue is a generated GoMock package.
|
Package queue is a generated GoMock package. |
Package replication is a generated GoMock package.
|
Package replication is a generated GoMock package. |
Package reset is a generated GoMock package.
|
Package reset is a generated GoMock package. |
Package shard is a generated GoMock package.
|
Package shard is a generated GoMock package. |
Package task is a generated GoMock package.
|
Package task is a generated GoMock package. |