Documentation ¶
Index ¶
- type MockClient
- func (m *MockClient) CountWorkflowExecutions(ctx context.Context, _CountRequest *shared.CountWorkflowExecutionsRequest, ...) (success *shared.CountWorkflowExecutionsResponse, err error)
- func (m *MockClient) DeprecateDomain(ctx context.Context, _DeprecateRequest *shared.DeprecateDomainRequest, ...) (err error)
- func (m *MockClient) DescribeDomain(ctx context.Context, _DescribeRequest *shared.DescribeDomainRequest, ...) (success *shared.DescribeDomainResponse, err error)
- func (m *MockClient) DescribeTaskList(ctx context.Context, _Request *shared.DescribeTaskListRequest, ...) (success *shared.DescribeTaskListResponse, err error)
- func (m *MockClient) DescribeWorkflowExecution(ctx context.Context, _DescribeRequest *shared.DescribeWorkflowExecutionRequest, ...) (success *shared.DescribeWorkflowExecutionResponse, err error)
- func (m *MockClient) EXPECT() *_MockClientRecorder
- func (m *MockClient) GetSearchAttributes(ctx context.Context, opts ...yarpc.CallOption) (success *shared.GetSearchAttributesResponse, err error)
- func (m *MockClient) GetWorkflowExecutionHistory(ctx context.Context, _GetRequest *shared.GetWorkflowExecutionHistoryRequest, ...) (success *shared.GetWorkflowExecutionHistoryResponse, err error)
- func (m *MockClient) ListArchivedWorkflowExecutions(ctx context.Context, ...) (success *shared.ListArchivedWorkflowExecutionsResponse, err error)
- func (m *MockClient) ListClosedWorkflowExecutions(ctx context.Context, _ListRequest *shared.ListClosedWorkflowExecutionsRequest, ...) (success *shared.ListClosedWorkflowExecutionsResponse, err error)
- func (m *MockClient) ListDomains(ctx context.Context, _ListRequest *shared.ListDomainsRequest, ...) (success *shared.ListDomainsResponse, err error)
- func (m *MockClient) ListOpenWorkflowExecutions(ctx context.Context, _ListRequest *shared.ListOpenWorkflowExecutionsRequest, ...) (success *shared.ListOpenWorkflowExecutionsResponse, err error)
- func (m *MockClient) ListWorkflowExecutions(ctx context.Context, _ListRequest *shared.ListWorkflowExecutionsRequest, ...) (success *shared.ListWorkflowExecutionsResponse, err error)
- func (m *MockClient) PollForActivityTask(ctx context.Context, _PollRequest *shared.PollForActivityTaskRequest, ...) (success *shared.PollForActivityTaskResponse, err error)
- func (m *MockClient) PollForDecisionTask(ctx context.Context, _PollRequest *shared.PollForDecisionTaskRequest, ...) (success *shared.PollForDecisionTaskResponse, err error)
- func (m *MockClient) QueryWorkflow(ctx context.Context, _QueryRequest *shared.QueryWorkflowRequest, ...) (success *shared.QueryWorkflowResponse, err error)
- func (m *MockClient) RecordActivityTaskHeartbeat(ctx context.Context, ...) (success *shared.RecordActivityTaskHeartbeatResponse, err error)
- func (m *MockClient) RecordActivityTaskHeartbeatByID(ctx context.Context, ...) (success *shared.RecordActivityTaskHeartbeatResponse, err error)
- func (m *MockClient) RegisterDomain(ctx context.Context, _RegisterRequest *shared.RegisterDomainRequest, ...) (err error)
- func (m *MockClient) RequestCancelWorkflowExecution(ctx context.Context, ...) (err error)
- func (m *MockClient) ResetStickyTaskList(ctx context.Context, _ResetRequest *shared.ResetStickyTaskListRequest, ...) (success *shared.ResetStickyTaskListResponse, err error)
- func (m *MockClient) ResetWorkflowExecution(ctx context.Context, _ResetRequest *shared.ResetWorkflowExecutionRequest, ...) (success *shared.ResetWorkflowExecutionResponse, err error)
- func (m *MockClient) RespondActivityTaskCanceled(ctx context.Context, ...) (err error)
- func (m *MockClient) RespondActivityTaskCanceledByID(ctx context.Context, ...) (err error)
- func (m *MockClient) RespondActivityTaskCompleted(ctx context.Context, ...) (err error)
- func (m *MockClient) RespondActivityTaskCompletedByID(ctx context.Context, ...) (err error)
- func (m *MockClient) RespondActivityTaskFailed(ctx context.Context, _FailRequest *shared.RespondActivityTaskFailedRequest, ...) (err error)
- func (m *MockClient) RespondActivityTaskFailedByID(ctx context.Context, _FailRequest *shared.RespondActivityTaskFailedByIDRequest, ...) (err error)
- func (m *MockClient) RespondDecisionTaskCompleted(ctx context.Context, ...) (success *shared.RespondDecisionTaskCompletedResponse, err error)
- func (m *MockClient) RespondDecisionTaskFailed(ctx context.Context, _FailedRequest *shared.RespondDecisionTaskFailedRequest, ...) (err error)
- func (m *MockClient) RespondQueryTaskCompleted(ctx context.Context, _CompleteRequest *shared.RespondQueryTaskCompletedRequest, ...) (err error)
- func (m *MockClient) ScanWorkflowExecutions(ctx context.Context, _ListRequest *shared.ListWorkflowExecutionsRequest, ...) (success *shared.ListWorkflowExecutionsResponse, err error)
- func (m *MockClient) SignalWithStartWorkflowExecution(ctx context.Context, ...) (success *shared.StartWorkflowExecutionResponse, err error)
- func (m *MockClient) SignalWorkflowExecution(ctx context.Context, _SignalRequest *shared.SignalWorkflowExecutionRequest, ...) (err error)
- func (m *MockClient) StartWorkflowExecution(ctx context.Context, _StartRequest *shared.StartWorkflowExecutionRequest, ...) (success *shared.StartWorkflowExecutionResponse, err error)
- func (m *MockClient) TerminateWorkflowExecution(ctx context.Context, ...) (err error)
- func (m *MockClient) UpdateDomain(ctx context.Context, _UpdateRequest *shared.UpdateDomainRequest, ...) (success *shared.UpdateDomainResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient implements a gomock-compatible mock client for service WorkflowService.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
Build a new mock client for service WorkflowService.
mockCtrl := gomock.NewController(t) client := workflowservicetest.NewMockClient(mockCtrl)
Use EXPECT() to set expectations on the mock.
func (*MockClient) CountWorkflowExecutions ¶
func (m *MockClient) CountWorkflowExecutions( ctx context.Context, _CountRequest *shared.CountWorkflowExecutionsRequest, opts ...yarpc.CallOption, ) (success *shared.CountWorkflowExecutionsResponse, err error)
CountWorkflowExecutions responds to a CountWorkflowExecutions call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().CountWorkflowExecutions(gomock.Any(), ...).Return(...) ... := client.CountWorkflowExecutions(...)
func (*MockClient) DeprecateDomain ¶
func (m *MockClient) DeprecateDomain( ctx context.Context, _DeprecateRequest *shared.DeprecateDomainRequest, opts ...yarpc.CallOption, ) (err error)
DeprecateDomain responds to a DeprecateDomain call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().DeprecateDomain(gomock.Any(), ...).Return(...) ... := client.DeprecateDomain(...)
func (*MockClient) DescribeDomain ¶
func (m *MockClient) DescribeDomain( ctx context.Context, _DescribeRequest *shared.DescribeDomainRequest, opts ...yarpc.CallOption, ) (success *shared.DescribeDomainResponse, err error)
DescribeDomain responds to a DescribeDomain call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().DescribeDomain(gomock.Any(), ...).Return(...) ... := client.DescribeDomain(...)
func (*MockClient) DescribeTaskList ¶
func (m *MockClient) DescribeTaskList( ctx context.Context, _Request *shared.DescribeTaskListRequest, opts ...yarpc.CallOption, ) (success *shared.DescribeTaskListResponse, err error)
DescribeTaskList responds to a DescribeTaskList call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().DescribeTaskList(gomock.Any(), ...).Return(...) ... := client.DescribeTaskList(...)
func (*MockClient) DescribeWorkflowExecution ¶
func (m *MockClient) DescribeWorkflowExecution( ctx context.Context, _DescribeRequest *shared.DescribeWorkflowExecutionRequest, opts ...yarpc.CallOption, ) (success *shared.DescribeWorkflowExecutionResponse, err error)
DescribeWorkflowExecution responds to a DescribeWorkflowExecution call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().DescribeWorkflowExecution(gomock.Any(), ...).Return(...) ... := client.DescribeWorkflowExecution(...)
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *_MockClientRecorder
EXPECT returns an object that allows you to define an expectation on the WorkflowService mock client.
func (*MockClient) GetSearchAttributes ¶
func (m *MockClient) GetSearchAttributes( ctx context.Context, opts ...yarpc.CallOption, ) (success *shared.GetSearchAttributesResponse, err error)
GetSearchAttributes responds to a GetSearchAttributes call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().GetSearchAttributes(gomock.Any(), ...).Return(...) ... := client.GetSearchAttributes(...)
func (*MockClient) GetWorkflowExecutionHistory ¶
func (m *MockClient) GetWorkflowExecutionHistory( ctx context.Context, _GetRequest *shared.GetWorkflowExecutionHistoryRequest, opts ...yarpc.CallOption, ) (success *shared.GetWorkflowExecutionHistoryResponse, err error)
GetWorkflowExecutionHistory responds to a GetWorkflowExecutionHistory call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().GetWorkflowExecutionHistory(gomock.Any(), ...).Return(...) ... := client.GetWorkflowExecutionHistory(...)
func (*MockClient) ListArchivedWorkflowExecutions ¶
func (m *MockClient) ListArchivedWorkflowExecutions( ctx context.Context, _ListRequest *shared.ListArchivedWorkflowExecutionsRequest, opts ...yarpc.CallOption, ) (success *shared.ListArchivedWorkflowExecutionsResponse, err error)
ListArchivedWorkflowExecutions responds to a ListArchivedWorkflowExecutions call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().ListArchivedWorkflowExecutions(gomock.Any(), ...).Return(...) ... := client.ListArchivedWorkflowExecutions(...)
func (*MockClient) ListClosedWorkflowExecutions ¶
func (m *MockClient) ListClosedWorkflowExecutions( ctx context.Context, _ListRequest *shared.ListClosedWorkflowExecutionsRequest, opts ...yarpc.CallOption, ) (success *shared.ListClosedWorkflowExecutionsResponse, err error)
ListClosedWorkflowExecutions responds to a ListClosedWorkflowExecutions call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().ListClosedWorkflowExecutions(gomock.Any(), ...).Return(...) ... := client.ListClosedWorkflowExecutions(...)
func (*MockClient) ListDomains ¶
func (m *MockClient) ListDomains( ctx context.Context, _ListRequest *shared.ListDomainsRequest, opts ...yarpc.CallOption, ) (success *shared.ListDomainsResponse, err error)
ListDomains responds to a ListDomains call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().ListDomains(gomock.Any(), ...).Return(...) ... := client.ListDomains(...)
func (*MockClient) ListOpenWorkflowExecutions ¶
func (m *MockClient) ListOpenWorkflowExecutions( ctx context.Context, _ListRequest *shared.ListOpenWorkflowExecutionsRequest, opts ...yarpc.CallOption, ) (success *shared.ListOpenWorkflowExecutionsResponse, err error)
ListOpenWorkflowExecutions responds to a ListOpenWorkflowExecutions call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().ListOpenWorkflowExecutions(gomock.Any(), ...).Return(...) ... := client.ListOpenWorkflowExecutions(...)
func (*MockClient) ListWorkflowExecutions ¶
func (m *MockClient) ListWorkflowExecutions( ctx context.Context, _ListRequest *shared.ListWorkflowExecutionsRequest, opts ...yarpc.CallOption, ) (success *shared.ListWorkflowExecutionsResponse, err error)
ListWorkflowExecutions responds to a ListWorkflowExecutions call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().ListWorkflowExecutions(gomock.Any(), ...).Return(...) ... := client.ListWorkflowExecutions(...)
func (*MockClient) PollForActivityTask ¶
func (m *MockClient) PollForActivityTask( ctx context.Context, _PollRequest *shared.PollForActivityTaskRequest, opts ...yarpc.CallOption, ) (success *shared.PollForActivityTaskResponse, err error)
PollForActivityTask responds to a PollForActivityTask call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().PollForActivityTask(gomock.Any(), ...).Return(...) ... := client.PollForActivityTask(...)
func (*MockClient) PollForDecisionTask ¶
func (m *MockClient) PollForDecisionTask( ctx context.Context, _PollRequest *shared.PollForDecisionTaskRequest, opts ...yarpc.CallOption, ) (success *shared.PollForDecisionTaskResponse, err error)
PollForDecisionTask responds to a PollForDecisionTask call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().PollForDecisionTask(gomock.Any(), ...).Return(...) ... := client.PollForDecisionTask(...)
func (*MockClient) QueryWorkflow ¶
func (m *MockClient) QueryWorkflow( ctx context.Context, _QueryRequest *shared.QueryWorkflowRequest, opts ...yarpc.CallOption, ) (success *shared.QueryWorkflowResponse, err error)
QueryWorkflow responds to a QueryWorkflow call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().QueryWorkflow(gomock.Any(), ...).Return(...) ... := client.QueryWorkflow(...)
func (*MockClient) RecordActivityTaskHeartbeat ¶
func (m *MockClient) RecordActivityTaskHeartbeat( ctx context.Context, _HeartbeatRequest *shared.RecordActivityTaskHeartbeatRequest, opts ...yarpc.CallOption, ) (success *shared.RecordActivityTaskHeartbeatResponse, err error)
RecordActivityTaskHeartbeat responds to a RecordActivityTaskHeartbeat call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().RecordActivityTaskHeartbeat(gomock.Any(), ...).Return(...) ... := client.RecordActivityTaskHeartbeat(...)
func (*MockClient) RecordActivityTaskHeartbeatByID ¶
func (m *MockClient) RecordActivityTaskHeartbeatByID( ctx context.Context, _HeartbeatRequest *shared.RecordActivityTaskHeartbeatByIDRequest, opts ...yarpc.CallOption, ) (success *shared.RecordActivityTaskHeartbeatResponse, err error)
RecordActivityTaskHeartbeatByID responds to a RecordActivityTaskHeartbeatByID call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().RecordActivityTaskHeartbeatByID(gomock.Any(), ...).Return(...) ... := client.RecordActivityTaskHeartbeatByID(...)
func (*MockClient) RegisterDomain ¶
func (m *MockClient) RegisterDomain( ctx context.Context, _RegisterRequest *shared.RegisterDomainRequest, opts ...yarpc.CallOption, ) (err error)
RegisterDomain responds to a RegisterDomain call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().RegisterDomain(gomock.Any(), ...).Return(...) ... := client.RegisterDomain(...)
func (*MockClient) RequestCancelWorkflowExecution ¶
func (m *MockClient) RequestCancelWorkflowExecution( ctx context.Context, _CancelRequest *shared.RequestCancelWorkflowExecutionRequest, opts ...yarpc.CallOption, ) (err error)
RequestCancelWorkflowExecution responds to a RequestCancelWorkflowExecution call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().RequestCancelWorkflowExecution(gomock.Any(), ...).Return(...) ... := client.RequestCancelWorkflowExecution(...)
func (*MockClient) ResetStickyTaskList ¶
func (m *MockClient) ResetStickyTaskList( ctx context.Context, _ResetRequest *shared.ResetStickyTaskListRequest, opts ...yarpc.CallOption, ) (success *shared.ResetStickyTaskListResponse, err error)
ResetStickyTaskList responds to a ResetStickyTaskList call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().ResetStickyTaskList(gomock.Any(), ...).Return(...) ... := client.ResetStickyTaskList(...)
func (*MockClient) ResetWorkflowExecution ¶
func (m *MockClient) ResetWorkflowExecution( ctx context.Context, _ResetRequest *shared.ResetWorkflowExecutionRequest, opts ...yarpc.CallOption, ) (success *shared.ResetWorkflowExecutionResponse, err error)
ResetWorkflowExecution responds to a ResetWorkflowExecution call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().ResetWorkflowExecution(gomock.Any(), ...).Return(...) ... := client.ResetWorkflowExecution(...)
func (*MockClient) RespondActivityTaskCanceled ¶
func (m *MockClient) RespondActivityTaskCanceled( ctx context.Context, _CanceledRequest *shared.RespondActivityTaskCanceledRequest, opts ...yarpc.CallOption, ) (err error)
RespondActivityTaskCanceled responds to a RespondActivityTaskCanceled call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().RespondActivityTaskCanceled(gomock.Any(), ...).Return(...) ... := client.RespondActivityTaskCanceled(...)
func (*MockClient) RespondActivityTaskCanceledByID ¶
func (m *MockClient) RespondActivityTaskCanceledByID( ctx context.Context, _CanceledRequest *shared.RespondActivityTaskCanceledByIDRequest, opts ...yarpc.CallOption, ) (err error)
RespondActivityTaskCanceledByID responds to a RespondActivityTaskCanceledByID call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().RespondActivityTaskCanceledByID(gomock.Any(), ...).Return(...) ... := client.RespondActivityTaskCanceledByID(...)
func (*MockClient) RespondActivityTaskCompleted ¶
func (m *MockClient) RespondActivityTaskCompleted( ctx context.Context, _CompleteRequest *shared.RespondActivityTaskCompletedRequest, opts ...yarpc.CallOption, ) (err error)
RespondActivityTaskCompleted responds to a RespondActivityTaskCompleted call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().RespondActivityTaskCompleted(gomock.Any(), ...).Return(...) ... := client.RespondActivityTaskCompleted(...)
func (*MockClient) RespondActivityTaskCompletedByID ¶
func (m *MockClient) RespondActivityTaskCompletedByID( ctx context.Context, _CompleteRequest *shared.RespondActivityTaskCompletedByIDRequest, opts ...yarpc.CallOption, ) (err error)
RespondActivityTaskCompletedByID responds to a RespondActivityTaskCompletedByID call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().RespondActivityTaskCompletedByID(gomock.Any(), ...).Return(...) ... := client.RespondActivityTaskCompletedByID(...)
func (*MockClient) RespondActivityTaskFailed ¶
func (m *MockClient) RespondActivityTaskFailed( ctx context.Context, _FailRequest *shared.RespondActivityTaskFailedRequest, opts ...yarpc.CallOption, ) (err error)
RespondActivityTaskFailed responds to a RespondActivityTaskFailed call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().RespondActivityTaskFailed(gomock.Any(), ...).Return(...) ... := client.RespondActivityTaskFailed(...)
func (*MockClient) RespondActivityTaskFailedByID ¶
func (m *MockClient) RespondActivityTaskFailedByID( ctx context.Context, _FailRequest *shared.RespondActivityTaskFailedByIDRequest, opts ...yarpc.CallOption, ) (err error)
RespondActivityTaskFailedByID responds to a RespondActivityTaskFailedByID call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().RespondActivityTaskFailedByID(gomock.Any(), ...).Return(...) ... := client.RespondActivityTaskFailedByID(...)
func (*MockClient) RespondDecisionTaskCompleted ¶
func (m *MockClient) RespondDecisionTaskCompleted( ctx context.Context, _CompleteRequest *shared.RespondDecisionTaskCompletedRequest, opts ...yarpc.CallOption, ) (success *shared.RespondDecisionTaskCompletedResponse, err error)
RespondDecisionTaskCompleted responds to a RespondDecisionTaskCompleted call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().RespondDecisionTaskCompleted(gomock.Any(), ...).Return(...) ... := client.RespondDecisionTaskCompleted(...)
func (*MockClient) RespondDecisionTaskFailed ¶
func (m *MockClient) RespondDecisionTaskFailed( ctx context.Context, _FailedRequest *shared.RespondDecisionTaskFailedRequest, opts ...yarpc.CallOption, ) (err error)
RespondDecisionTaskFailed responds to a RespondDecisionTaskFailed call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().RespondDecisionTaskFailed(gomock.Any(), ...).Return(...) ... := client.RespondDecisionTaskFailed(...)
func (*MockClient) RespondQueryTaskCompleted ¶
func (m *MockClient) RespondQueryTaskCompleted( ctx context.Context, _CompleteRequest *shared.RespondQueryTaskCompletedRequest, opts ...yarpc.CallOption, ) (err error)
RespondQueryTaskCompleted responds to a RespondQueryTaskCompleted call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().RespondQueryTaskCompleted(gomock.Any(), ...).Return(...) ... := client.RespondQueryTaskCompleted(...)
func (*MockClient) ScanWorkflowExecutions ¶
func (m *MockClient) ScanWorkflowExecutions( ctx context.Context, _ListRequest *shared.ListWorkflowExecutionsRequest, opts ...yarpc.CallOption, ) (success *shared.ListWorkflowExecutionsResponse, err error)
ScanWorkflowExecutions responds to a ScanWorkflowExecutions call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().ScanWorkflowExecutions(gomock.Any(), ...).Return(...) ... := client.ScanWorkflowExecutions(...)
func (*MockClient) SignalWithStartWorkflowExecution ¶
func (m *MockClient) SignalWithStartWorkflowExecution( ctx context.Context, _SignalWithStartRequest *shared.SignalWithStartWorkflowExecutionRequest, opts ...yarpc.CallOption, ) (success *shared.StartWorkflowExecutionResponse, err error)
SignalWithStartWorkflowExecution responds to a SignalWithStartWorkflowExecution call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().SignalWithStartWorkflowExecution(gomock.Any(), ...).Return(...) ... := client.SignalWithStartWorkflowExecution(...)
func (*MockClient) SignalWorkflowExecution ¶
func (m *MockClient) SignalWorkflowExecution( ctx context.Context, _SignalRequest *shared.SignalWorkflowExecutionRequest, opts ...yarpc.CallOption, ) (err error)
SignalWorkflowExecution responds to a SignalWorkflowExecution call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().SignalWorkflowExecution(gomock.Any(), ...).Return(...) ... := client.SignalWorkflowExecution(...)
func (*MockClient) StartWorkflowExecution ¶
func (m *MockClient) StartWorkflowExecution( ctx context.Context, _StartRequest *shared.StartWorkflowExecutionRequest, opts ...yarpc.CallOption, ) (success *shared.StartWorkflowExecutionResponse, err error)
StartWorkflowExecution responds to a StartWorkflowExecution call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().StartWorkflowExecution(gomock.Any(), ...).Return(...) ... := client.StartWorkflowExecution(...)
func (*MockClient) TerminateWorkflowExecution ¶
func (m *MockClient) TerminateWorkflowExecution( ctx context.Context, _TerminateRequest *shared.TerminateWorkflowExecutionRequest, opts ...yarpc.CallOption, ) (err error)
TerminateWorkflowExecution responds to a TerminateWorkflowExecution call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().TerminateWorkflowExecution(gomock.Any(), ...).Return(...) ... := client.TerminateWorkflowExecution(...)
func (*MockClient) UpdateDomain ¶
func (m *MockClient) UpdateDomain( ctx context.Context, _UpdateRequest *shared.UpdateDomainRequest, opts ...yarpc.CallOption, ) (success *shared.UpdateDomainResponse, err error)
UpdateDomain responds to a UpdateDomain call based on the mock expectations. This call will fail if the mock does not expect this call. Use EXPECT to expect a call to this function.
client.EXPECT().UpdateDomain(gomock.Any(), ...).Return(...) ... := client.UpdateDomain(...)