client

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	mock.Mock
}

MockClient is an autogenerated mock type for the Client type

func NewMockClient

func NewMockClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockClient

NewMockClient creates a new instance of MockClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockClient) CancelWorkflow

func (_m *MockClient) CancelWorkflow(ctx context.Context, workflowID string, runID string) error

CancelWorkflow provides a mock function with given fields: ctx, workflowID, runID

func (*MockClient) CheckHealth

CheckHealth provides a mock function with given fields: ctx, request

func (*MockClient) Close

func (_m *MockClient) Close()

Close provides a mock function with given fields:

func (*MockClient) CompleteActivity

func (_m *MockClient) CompleteActivity(ctx context.Context, taskToken []byte, result interface{}, err error) error

CompleteActivity provides a mock function with given fields: ctx, taskToken, result, err

func (*MockClient) CompleteActivityByID

func (_m *MockClient) CompleteActivityByID(ctx context.Context, namespace string, workflowID string, runID string, activityID string, result interface{}, err error) error

CompleteActivityByID provides a mock function with given fields: ctx, namespace, workflowID, runID, activityID, result, err

func (*MockClient) CountWorkflow

CountWorkflow provides a mock function with given fields: ctx, request

func (*MockClient) DescribeTaskQueue

func (_m *MockClient) DescribeTaskQueue(ctx context.Context, taskqueue string, taskqueueType enums.TaskQueueType) (*workflowservice.DescribeTaskQueueResponse, error)

DescribeTaskQueue provides a mock function with given fields: ctx, taskqueue, taskqueueType

func (*MockClient) DescribeWorkflowExecution

func (_m *MockClient) DescribeWorkflowExecution(ctx context.Context, workflowID string, runID string) (*workflowservice.DescribeWorkflowExecutionResponse, error)

DescribeWorkflowExecution provides a mock function with given fields: ctx, workflowID, runID

func (*MockClient) EXPECT

func (_m *MockClient) EXPECT() *MockClient_Expecter

func (*MockClient) ExecuteWorkflow

func (_m *MockClient) ExecuteWorkflow(ctx context.Context, options client.StartWorkflowOptions, workflow interface{}, args ...interface{}) (client.WorkflowRun, error)

ExecuteWorkflow provides a mock function with given fields: ctx, options, workflow, args

func (*MockClient) GetSearchAttributes

GetSearchAttributes provides a mock function with given fields: ctx

func (*MockClient) GetWorkerBuildIdCompatibility

func (_m *MockClient) GetWorkerBuildIdCompatibility(ctx context.Context, options *client.GetWorkerBuildIdCompatibilityOptions) (*client.WorkerBuildIDVersionSets, error)

GetWorkerBuildIdCompatibility provides a mock function with given fields: ctx, options

func (*MockClient) GetWorkerTaskReachability added in v1.2.0

func (_m *MockClient) GetWorkerTaskReachability(ctx context.Context, options *client.GetWorkerTaskReachabilityOptions) (*client.WorkerTaskReachability, error)

GetWorkerTaskReachability provides a mock function with given fields: ctx, options

func (*MockClient) GetWorkflow

func (_m *MockClient) GetWorkflow(ctx context.Context, workflowID string, runID string) client.WorkflowRun

GetWorkflow provides a mock function with given fields: ctx, workflowID, runID

func (*MockClient) GetWorkflowHistory

func (_m *MockClient) GetWorkflowHistory(ctx context.Context, workflowID string, runID string, isLongPoll bool, filterType enums.HistoryEventFilterType) client.HistoryEventIterator

GetWorkflowHistory provides a mock function with given fields: ctx, workflowID, runID, isLongPoll, filterType

func (*MockClient) GetWorkflowUpdateHandle

GetWorkflowUpdateHandle provides a mock function with given fields: ref

func (*MockClient) ListArchivedWorkflow

ListArchivedWorkflow provides a mock function with given fields: ctx, request

func (*MockClient) ListClosedWorkflow

ListClosedWorkflow provides a mock function with given fields: ctx, request

func (*MockClient) ListOpenWorkflow

ListOpenWorkflow provides a mock function with given fields: ctx, request

func (*MockClient) ListWorkflow

ListWorkflow provides a mock function with given fields: ctx, request

func (*MockClient) OperatorService

func (_m *MockClient) OperatorService() operatorservice.OperatorServiceClient

OperatorService provides a mock function with given fields:

func (*MockClient) QueryWorkflow

func (_m *MockClient) QueryWorkflow(ctx context.Context, workflowID string, runID string, queryType string, args ...interface{}) (converter.EncodedValue, error)

QueryWorkflow provides a mock function with given fields: ctx, workflowID, runID, queryType, args

func (*MockClient) QueryWorkflowWithOptions

QueryWorkflowWithOptions provides a mock function with given fields: ctx, request

func (*MockClient) RecordActivityHeartbeat

func (_m *MockClient) RecordActivityHeartbeat(ctx context.Context, taskToken []byte, details ...interface{}) error

RecordActivityHeartbeat provides a mock function with given fields: ctx, taskToken, details

func (*MockClient) RecordActivityHeartbeatByID

func (_m *MockClient) RecordActivityHeartbeatByID(ctx context.Context, namespace string, workflowID string, runID string, activityID string, details ...interface{}) error

RecordActivityHeartbeatByID provides a mock function with given fields: ctx, namespace, workflowID, runID, activityID, details

func (*MockClient) ResetWorkflowExecution

ResetWorkflowExecution provides a mock function with given fields: ctx, request

func (*MockClient) ScanWorkflow

ScanWorkflow provides a mock function with given fields: ctx, request

func (*MockClient) ScheduleClient

func (_m *MockClient) ScheduleClient() client.ScheduleClient

ScheduleClient provides a mock function with given fields:

func (*MockClient) SignalWithStartWorkflow

func (_m *MockClient) SignalWithStartWorkflow(ctx context.Context, workflowID string, signalName string, signalArg interface{}, options client.StartWorkflowOptions, workflow interface{}, workflowArgs ...interface{}) (client.WorkflowRun, error)

SignalWithStartWorkflow provides a mock function with given fields: ctx, workflowID, signalName, signalArg, options, workflow, workflowArgs

func (*MockClient) SignalWorkflow

func (_m *MockClient) SignalWorkflow(ctx context.Context, workflowID string, runID string, signalName string, arg interface{}) error

SignalWorkflow provides a mock function with given fields: ctx, workflowID, runID, signalName, arg

func (*MockClient) TerminateWorkflow

func (_m *MockClient) TerminateWorkflow(ctx context.Context, workflowID string, runID string, reason string, details ...interface{}) error

TerminateWorkflow provides a mock function with given fields: ctx, workflowID, runID, reason, details

func (*MockClient) UpdateWorkerBuildIdCompatibility

func (_m *MockClient) UpdateWorkerBuildIdCompatibility(ctx context.Context, options *client.UpdateWorkerBuildIdCompatibilityOptions) error

UpdateWorkerBuildIdCompatibility provides a mock function with given fields: ctx, options

func (*MockClient) UpdateWorkflow

func (_m *MockClient) UpdateWorkflow(ctx context.Context, workflowID string, workflowRunID string, updateName string, args ...interface{}) (client.WorkflowUpdateHandle, error)

UpdateWorkflow provides a mock function with given fields: ctx, workflowID, workflowRunID, updateName, args

func (*MockClient) UpdateWorkflowWithOptions

func (_m *MockClient) UpdateWorkflowWithOptions(ctx context.Context, request *client.UpdateWorkflowWithOptionsRequest) (client.WorkflowUpdateHandle, error)

UpdateWorkflowWithOptions provides a mock function with given fields: ctx, request

func (*MockClient) WorkflowService

func (_m *MockClient) WorkflowService() workflowservice.WorkflowServiceClient

WorkflowService provides a mock function with given fields:

type MockClient_CancelWorkflow_Call

type MockClient_CancelWorkflow_Call struct {
	*mock.Call
}

MockClient_CancelWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CancelWorkflow'

func (*MockClient_CancelWorkflow_Call) Return

func (*MockClient_CancelWorkflow_Call) Run

func (*MockClient_CancelWorkflow_Call) RunAndReturn

type MockClient_CheckHealth_Call

type MockClient_CheckHealth_Call struct {
	*mock.Call
}

MockClient_CheckHealth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckHealth'

func (*MockClient_CheckHealth_Call) Return

func (*MockClient_CheckHealth_Call) Run

type MockClient_Close_Call

type MockClient_Close_Call struct {
	*mock.Call
}

MockClient_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'

func (*MockClient_Close_Call) Return

func (*MockClient_Close_Call) Run

func (_c *MockClient_Close_Call) Run(run func()) *MockClient_Close_Call

func (*MockClient_Close_Call) RunAndReturn

func (_c *MockClient_Close_Call) RunAndReturn(run func()) *MockClient_Close_Call

type MockClient_CompleteActivityByID_Call

type MockClient_CompleteActivityByID_Call struct {
	*mock.Call
}

MockClient_CompleteActivityByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CompleteActivityByID'

func (*MockClient_CompleteActivityByID_Call) Return

func (*MockClient_CompleteActivityByID_Call) Run

func (_c *MockClient_CompleteActivityByID_Call) Run(run func(ctx context.Context, namespace string, workflowID string, runID string, activityID string, result interface{}, err error)) *MockClient_CompleteActivityByID_Call

func (*MockClient_CompleteActivityByID_Call) RunAndReturn

type MockClient_CompleteActivity_Call

type MockClient_CompleteActivity_Call struct {
	*mock.Call
}

MockClient_CompleteActivity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CompleteActivity'

func (*MockClient_CompleteActivity_Call) Return

func (*MockClient_CompleteActivity_Call) Run

func (_c *MockClient_CompleteActivity_Call) Run(run func(ctx context.Context, taskToken []byte, result interface{}, err error)) *MockClient_CompleteActivity_Call

func (*MockClient_CompleteActivity_Call) RunAndReturn

type MockClient_CountWorkflow_Call

type MockClient_CountWorkflow_Call struct {
	*mock.Call
}

MockClient_CountWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountWorkflow'

func (*MockClient_CountWorkflow_Call) Run

type MockClient_DescribeTaskQueue_Call

type MockClient_DescribeTaskQueue_Call struct {
	*mock.Call
}

MockClient_DescribeTaskQueue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeTaskQueue'

func (*MockClient_DescribeTaskQueue_Call) Return

func (*MockClient_DescribeTaskQueue_Call) Run

type MockClient_DescribeWorkflowExecution_Call

type MockClient_DescribeWorkflowExecution_Call struct {
	*mock.Call
}

MockClient_DescribeWorkflowExecution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeWorkflowExecution'

func (*MockClient_DescribeWorkflowExecution_Call) Run

type MockClient_ExecuteWorkflow_Call

type MockClient_ExecuteWorkflow_Call struct {
	*mock.Call
}

MockClient_ExecuteWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteWorkflow'

func (*MockClient_ExecuteWorkflow_Call) Return

func (*MockClient_ExecuteWorkflow_Call) Run

func (_c *MockClient_ExecuteWorkflow_Call) Run(run func(ctx context.Context, options client.StartWorkflowOptions, workflow interface{}, args ...interface{})) *MockClient_ExecuteWorkflow_Call

func (*MockClient_ExecuteWorkflow_Call) RunAndReturn

type MockClient_Expecter

type MockClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockClient_Expecter) CancelWorkflow

func (_e *MockClient_Expecter) CancelWorkflow(ctx interface{}, workflowID interface{}, runID interface{}) *MockClient_CancelWorkflow_Call

CancelWorkflow is a helper method to define mock.On call

  • ctx context.Context
  • workflowID string
  • runID string

func (*MockClient_Expecter) CheckHealth

func (_e *MockClient_Expecter) CheckHealth(ctx interface{}, request interface{}) *MockClient_CheckHealth_Call

CheckHealth is a helper method to define mock.On call

  • ctx context.Context
  • request *client.CheckHealthRequest

func (*MockClient_Expecter) Close

Close is a helper method to define mock.On call

func (*MockClient_Expecter) CompleteActivity

func (_e *MockClient_Expecter) CompleteActivity(ctx interface{}, taskToken interface{}, result interface{}, err interface{}) *MockClient_CompleteActivity_Call

CompleteActivity is a helper method to define mock.On call

  • ctx context.Context
  • taskToken []byte
  • result interface{}
  • err error

func (*MockClient_Expecter) CompleteActivityByID

func (_e *MockClient_Expecter) CompleteActivityByID(ctx interface{}, namespace interface{}, workflowID interface{}, runID interface{}, activityID interface{}, result interface{}, err interface{}) *MockClient_CompleteActivityByID_Call

CompleteActivityByID is a helper method to define mock.On call

  • ctx context.Context
  • namespace string
  • workflowID string
  • runID string
  • activityID string
  • result interface{}
  • err error

func (*MockClient_Expecter) CountWorkflow

func (_e *MockClient_Expecter) CountWorkflow(ctx interface{}, request interface{}) *MockClient_CountWorkflow_Call

CountWorkflow is a helper method to define mock.On call

  • ctx context.Context
  • request *workflowservice.CountWorkflowExecutionsRequest

func (*MockClient_Expecter) DescribeTaskQueue

func (_e *MockClient_Expecter) DescribeTaskQueue(ctx interface{}, taskqueue interface{}, taskqueueType interface{}) *MockClient_DescribeTaskQueue_Call

DescribeTaskQueue is a helper method to define mock.On call

  • ctx context.Context
  • taskqueue string
  • taskqueueType enums.TaskQueueType

func (*MockClient_Expecter) DescribeWorkflowExecution

func (_e *MockClient_Expecter) DescribeWorkflowExecution(ctx interface{}, workflowID interface{}, runID interface{}) *MockClient_DescribeWorkflowExecution_Call

DescribeWorkflowExecution is a helper method to define mock.On call

  • ctx context.Context
  • workflowID string
  • runID string

func (*MockClient_Expecter) ExecuteWorkflow

func (_e *MockClient_Expecter) ExecuteWorkflow(ctx interface{}, options interface{}, workflow interface{}, args ...interface{}) *MockClient_ExecuteWorkflow_Call

ExecuteWorkflow is a helper method to define mock.On call

  • ctx context.Context
  • options client.StartWorkflowOptions
  • workflow interface{}
  • args ...interface{}

func (*MockClient_Expecter) GetSearchAttributes

func (_e *MockClient_Expecter) GetSearchAttributes(ctx interface{}) *MockClient_GetSearchAttributes_Call

GetSearchAttributes is a helper method to define mock.On call

  • ctx context.Context

func (*MockClient_Expecter) GetWorkerBuildIdCompatibility

func (_e *MockClient_Expecter) GetWorkerBuildIdCompatibility(ctx interface{}, options interface{}) *MockClient_GetWorkerBuildIdCompatibility_Call

GetWorkerBuildIdCompatibility is a helper method to define mock.On call

  • ctx context.Context
  • options *client.GetWorkerBuildIdCompatibilityOptions

func (*MockClient_Expecter) GetWorkerTaskReachability added in v1.2.0

func (_e *MockClient_Expecter) GetWorkerTaskReachability(ctx interface{}, options interface{}) *MockClient_GetWorkerTaskReachability_Call

GetWorkerTaskReachability is a helper method to define mock.On call

  • ctx context.Context
  • options *client.GetWorkerTaskReachabilityOptions

func (*MockClient_Expecter) GetWorkflow

func (_e *MockClient_Expecter) GetWorkflow(ctx interface{}, workflowID interface{}, runID interface{}) *MockClient_GetWorkflow_Call

GetWorkflow is a helper method to define mock.On call

  • ctx context.Context
  • workflowID string
  • runID string

func (*MockClient_Expecter) GetWorkflowHistory

func (_e *MockClient_Expecter) GetWorkflowHistory(ctx interface{}, workflowID interface{}, runID interface{}, isLongPoll interface{}, filterType interface{}) *MockClient_GetWorkflowHistory_Call

GetWorkflowHistory is a helper method to define mock.On call

  • ctx context.Context
  • workflowID string
  • runID string
  • isLongPoll bool
  • filterType enums.HistoryEventFilterType

func (*MockClient_Expecter) GetWorkflowUpdateHandle

func (_e *MockClient_Expecter) GetWorkflowUpdateHandle(ref interface{}) *MockClient_GetWorkflowUpdateHandle_Call

GetWorkflowUpdateHandle is a helper method to define mock.On call

  • ref client.GetWorkflowUpdateHandleOptions

func (*MockClient_Expecter) ListArchivedWorkflow

func (_e *MockClient_Expecter) ListArchivedWorkflow(ctx interface{}, request interface{}) *MockClient_ListArchivedWorkflow_Call

ListArchivedWorkflow is a helper method to define mock.On call

  • ctx context.Context
  • request *workflowservice.ListArchivedWorkflowExecutionsRequest

func (*MockClient_Expecter) ListClosedWorkflow

func (_e *MockClient_Expecter) ListClosedWorkflow(ctx interface{}, request interface{}) *MockClient_ListClosedWorkflow_Call

ListClosedWorkflow is a helper method to define mock.On call

  • ctx context.Context
  • request *workflowservice.ListClosedWorkflowExecutionsRequest

func (*MockClient_Expecter) ListOpenWorkflow

func (_e *MockClient_Expecter) ListOpenWorkflow(ctx interface{}, request interface{}) *MockClient_ListOpenWorkflow_Call

ListOpenWorkflow is a helper method to define mock.On call

  • ctx context.Context
  • request *workflowservice.ListOpenWorkflowExecutionsRequest

func (*MockClient_Expecter) ListWorkflow

func (_e *MockClient_Expecter) ListWorkflow(ctx interface{}, request interface{}) *MockClient_ListWorkflow_Call

ListWorkflow is a helper method to define mock.On call

  • ctx context.Context
  • request *workflowservice.ListWorkflowExecutionsRequest

func (*MockClient_Expecter) OperatorService

OperatorService is a helper method to define mock.On call

func (*MockClient_Expecter) QueryWorkflow

func (_e *MockClient_Expecter) QueryWorkflow(ctx interface{}, workflowID interface{}, runID interface{}, queryType interface{}, args ...interface{}) *MockClient_QueryWorkflow_Call

QueryWorkflow is a helper method to define mock.On call

  • ctx context.Context
  • workflowID string
  • runID string
  • queryType string
  • args ...interface{}

func (*MockClient_Expecter) QueryWorkflowWithOptions

func (_e *MockClient_Expecter) QueryWorkflowWithOptions(ctx interface{}, request interface{}) *MockClient_QueryWorkflowWithOptions_Call

QueryWorkflowWithOptions is a helper method to define mock.On call

  • ctx context.Context
  • request *client.QueryWorkflowWithOptionsRequest

func (*MockClient_Expecter) RecordActivityHeartbeat

func (_e *MockClient_Expecter) RecordActivityHeartbeat(ctx interface{}, taskToken interface{}, details ...interface{}) *MockClient_RecordActivityHeartbeat_Call

RecordActivityHeartbeat is a helper method to define mock.On call

  • ctx context.Context
  • taskToken []byte
  • details ...interface{}

func (*MockClient_Expecter) RecordActivityHeartbeatByID

func (_e *MockClient_Expecter) RecordActivityHeartbeatByID(ctx interface{}, namespace interface{}, workflowID interface{}, runID interface{}, activityID interface{}, details ...interface{}) *MockClient_RecordActivityHeartbeatByID_Call

RecordActivityHeartbeatByID is a helper method to define mock.On call

  • ctx context.Context
  • namespace string
  • workflowID string
  • runID string
  • activityID string
  • details ...interface{}

func (*MockClient_Expecter) ResetWorkflowExecution

func (_e *MockClient_Expecter) ResetWorkflowExecution(ctx interface{}, request interface{}) *MockClient_ResetWorkflowExecution_Call

ResetWorkflowExecution is a helper method to define mock.On call

  • ctx context.Context
  • request *workflowservice.ResetWorkflowExecutionRequest

func (*MockClient_Expecter) ScanWorkflow

func (_e *MockClient_Expecter) ScanWorkflow(ctx interface{}, request interface{}) *MockClient_ScanWorkflow_Call

ScanWorkflow is a helper method to define mock.On call

  • ctx context.Context
  • request *workflowservice.ScanWorkflowExecutionsRequest

func (*MockClient_Expecter) ScheduleClient

ScheduleClient is a helper method to define mock.On call

func (*MockClient_Expecter) SignalWithStartWorkflow

func (_e *MockClient_Expecter) SignalWithStartWorkflow(ctx interface{}, workflowID interface{}, signalName interface{}, signalArg interface{}, options interface{}, workflow interface{}, workflowArgs ...interface{}) *MockClient_SignalWithStartWorkflow_Call

SignalWithStartWorkflow is a helper method to define mock.On call

  • ctx context.Context
  • workflowID string
  • signalName string
  • signalArg interface{}
  • options client.StartWorkflowOptions
  • workflow interface{}
  • workflowArgs ...interface{}

func (*MockClient_Expecter) SignalWorkflow

func (_e *MockClient_Expecter) SignalWorkflow(ctx interface{}, workflowID interface{}, runID interface{}, signalName interface{}, arg interface{}) *MockClient_SignalWorkflow_Call

SignalWorkflow is a helper method to define mock.On call

  • ctx context.Context
  • workflowID string
  • runID string
  • signalName string
  • arg interface{}

func (*MockClient_Expecter) TerminateWorkflow

func (_e *MockClient_Expecter) TerminateWorkflow(ctx interface{}, workflowID interface{}, runID interface{}, reason interface{}, details ...interface{}) *MockClient_TerminateWorkflow_Call

TerminateWorkflow is a helper method to define mock.On call

  • ctx context.Context
  • workflowID string
  • runID string
  • reason string
  • details ...interface{}

func (*MockClient_Expecter) UpdateWorkerBuildIdCompatibility

func (_e *MockClient_Expecter) UpdateWorkerBuildIdCompatibility(ctx interface{}, options interface{}) *MockClient_UpdateWorkerBuildIdCompatibility_Call

UpdateWorkerBuildIdCompatibility is a helper method to define mock.On call

  • ctx context.Context
  • options *client.UpdateWorkerBuildIdCompatibilityOptions

func (*MockClient_Expecter) UpdateWorkflow

func (_e *MockClient_Expecter) UpdateWorkflow(ctx interface{}, workflowID interface{}, workflowRunID interface{}, updateName interface{}, args ...interface{}) *MockClient_UpdateWorkflow_Call

UpdateWorkflow is a helper method to define mock.On call

  • ctx context.Context
  • workflowID string
  • workflowRunID string
  • updateName string
  • args ...interface{}

func (*MockClient_Expecter) UpdateWorkflowWithOptions

func (_e *MockClient_Expecter) UpdateWorkflowWithOptions(ctx interface{}, request interface{}) *MockClient_UpdateWorkflowWithOptions_Call

UpdateWorkflowWithOptions is a helper method to define mock.On call

  • ctx context.Context
  • request *client.UpdateWorkflowWithOptionsRequest

func (*MockClient_Expecter) WorkflowService

WorkflowService is a helper method to define mock.On call

type MockClient_GetSearchAttributes_Call

type MockClient_GetSearchAttributes_Call struct {
	*mock.Call
}

MockClient_GetSearchAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSearchAttributes'

func (*MockClient_GetSearchAttributes_Call) Run

type MockClient_GetWorkerBuildIdCompatibility_Call

type MockClient_GetWorkerBuildIdCompatibility_Call struct {
	*mock.Call
}

MockClient_GetWorkerBuildIdCompatibility_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWorkerBuildIdCompatibility'

func (*MockClient_GetWorkerBuildIdCompatibility_Call) Return

func (*MockClient_GetWorkerBuildIdCompatibility_Call) Run

type MockClient_GetWorkerTaskReachability_Call added in v1.2.0

type MockClient_GetWorkerTaskReachability_Call struct {
	*mock.Call
}

MockClient_GetWorkerTaskReachability_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWorkerTaskReachability'

func (*MockClient_GetWorkerTaskReachability_Call) Return added in v1.2.0

func (*MockClient_GetWorkerTaskReachability_Call) Run added in v1.2.0

type MockClient_GetWorkflowHistory_Call

type MockClient_GetWorkflowHistory_Call struct {
	*mock.Call
}

MockClient_GetWorkflowHistory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWorkflowHistory'

func (*MockClient_GetWorkflowHistory_Call) Return

func (*MockClient_GetWorkflowHistory_Call) Run

func (_c *MockClient_GetWorkflowHistory_Call) Run(run func(ctx context.Context, workflowID string, runID string, isLongPoll bool, filterType enums.HistoryEventFilterType)) *MockClient_GetWorkflowHistory_Call

type MockClient_GetWorkflowUpdateHandle_Call

type MockClient_GetWorkflowUpdateHandle_Call struct {
	*mock.Call
}

MockClient_GetWorkflowUpdateHandle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWorkflowUpdateHandle'

func (*MockClient_GetWorkflowUpdateHandle_Call) Return

func (*MockClient_GetWorkflowUpdateHandle_Call) Run

type MockClient_GetWorkflow_Call

type MockClient_GetWorkflow_Call struct {
	*mock.Call
}

MockClient_GetWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWorkflow'

func (*MockClient_GetWorkflow_Call) Return

func (*MockClient_GetWorkflow_Call) Run

func (_c *MockClient_GetWorkflow_Call) Run(run func(ctx context.Context, workflowID string, runID string)) *MockClient_GetWorkflow_Call

func (*MockClient_GetWorkflow_Call) RunAndReturn

type MockClient_ListArchivedWorkflow_Call

type MockClient_ListArchivedWorkflow_Call struct {
	*mock.Call
}

MockClient_ListArchivedWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListArchivedWorkflow'

type MockClient_ListClosedWorkflow_Call

type MockClient_ListClosedWorkflow_Call struct {
	*mock.Call
}

MockClient_ListClosedWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClosedWorkflow'

func (*MockClient_ListClosedWorkflow_Call) Run

type MockClient_ListOpenWorkflow_Call

type MockClient_ListOpenWorkflow_Call struct {
	*mock.Call
}

MockClient_ListOpenWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOpenWorkflow'

func (*MockClient_ListOpenWorkflow_Call) Run

type MockClient_ListWorkflow_Call

type MockClient_ListWorkflow_Call struct {
	*mock.Call
}

MockClient_ListWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListWorkflow'

func (*MockClient_ListWorkflow_Call) Run

type MockClient_OperatorService_Call

type MockClient_OperatorService_Call struct {
	*mock.Call
}

MockClient_OperatorService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OperatorService'

func (*MockClient_OperatorService_Call) Return

func (*MockClient_OperatorService_Call) Run

func (*MockClient_OperatorService_Call) RunAndReturn

type MockClient_QueryWorkflowWithOptions_Call

type MockClient_QueryWorkflowWithOptions_Call struct {
	*mock.Call
}

MockClient_QueryWorkflowWithOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryWorkflowWithOptions'

func (*MockClient_QueryWorkflowWithOptions_Call) Run

type MockClient_QueryWorkflow_Call

type MockClient_QueryWorkflow_Call struct {
	*mock.Call
}

MockClient_QueryWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryWorkflow'

func (*MockClient_QueryWorkflow_Call) Return

func (*MockClient_QueryWorkflow_Call) Run

func (_c *MockClient_QueryWorkflow_Call) Run(run func(ctx context.Context, workflowID string, runID string, queryType string, args ...interface{})) *MockClient_QueryWorkflow_Call

func (*MockClient_QueryWorkflow_Call) RunAndReturn

type MockClient_RecordActivityHeartbeatByID_Call

type MockClient_RecordActivityHeartbeatByID_Call struct {
	*mock.Call
}

MockClient_RecordActivityHeartbeatByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecordActivityHeartbeatByID'

func (*MockClient_RecordActivityHeartbeatByID_Call) Return

func (*MockClient_RecordActivityHeartbeatByID_Call) Run

func (_c *MockClient_RecordActivityHeartbeatByID_Call) Run(run func(ctx context.Context, namespace string, workflowID string, runID string, activityID string, details ...interface{})) *MockClient_RecordActivityHeartbeatByID_Call

func (*MockClient_RecordActivityHeartbeatByID_Call) RunAndReturn

type MockClient_RecordActivityHeartbeat_Call

type MockClient_RecordActivityHeartbeat_Call struct {
	*mock.Call
}

MockClient_RecordActivityHeartbeat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecordActivityHeartbeat'

func (*MockClient_RecordActivityHeartbeat_Call) Return

func (*MockClient_RecordActivityHeartbeat_Call) Run

func (_c *MockClient_RecordActivityHeartbeat_Call) Run(run func(ctx context.Context, taskToken []byte, details ...interface{})) *MockClient_RecordActivityHeartbeat_Call

func (*MockClient_RecordActivityHeartbeat_Call) RunAndReturn

type MockClient_ResetWorkflowExecution_Call

type MockClient_ResetWorkflowExecution_Call struct {
	*mock.Call
}

MockClient_ResetWorkflowExecution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetWorkflowExecution'

func (*MockClient_ResetWorkflowExecution_Call) Run

type MockClient_ScanWorkflow_Call

type MockClient_ScanWorkflow_Call struct {
	*mock.Call
}

MockClient_ScanWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScanWorkflow'

func (*MockClient_ScanWorkflow_Call) Run

type MockClient_ScheduleClient_Call

type MockClient_ScheduleClient_Call struct {
	*mock.Call
}

MockClient_ScheduleClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ScheduleClient'

func (*MockClient_ScheduleClient_Call) Return

func (*MockClient_ScheduleClient_Call) Run

func (*MockClient_ScheduleClient_Call) RunAndReturn

type MockClient_SignalWithStartWorkflow_Call

type MockClient_SignalWithStartWorkflow_Call struct {
	*mock.Call
}

MockClient_SignalWithStartWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignalWithStartWorkflow'

func (*MockClient_SignalWithStartWorkflow_Call) Return

func (*MockClient_SignalWithStartWorkflow_Call) Run

func (_c *MockClient_SignalWithStartWorkflow_Call) Run(run func(ctx context.Context, workflowID string, signalName string, signalArg interface{}, options client.StartWorkflowOptions, workflow interface{}, workflowArgs ...interface{})) *MockClient_SignalWithStartWorkflow_Call

func (*MockClient_SignalWithStartWorkflow_Call) RunAndReturn

type MockClient_SignalWorkflow_Call

type MockClient_SignalWorkflow_Call struct {
	*mock.Call
}

MockClient_SignalWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignalWorkflow'

func (*MockClient_SignalWorkflow_Call) Return

func (*MockClient_SignalWorkflow_Call) Run

func (_c *MockClient_SignalWorkflow_Call) Run(run func(ctx context.Context, workflowID string, runID string, signalName string, arg interface{})) *MockClient_SignalWorkflow_Call

func (*MockClient_SignalWorkflow_Call) RunAndReturn

type MockClient_TerminateWorkflow_Call

type MockClient_TerminateWorkflow_Call struct {
	*mock.Call
}

MockClient_TerminateWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TerminateWorkflow'

func (*MockClient_TerminateWorkflow_Call) Return

func (*MockClient_TerminateWorkflow_Call) Run

func (_c *MockClient_TerminateWorkflow_Call) Run(run func(ctx context.Context, workflowID string, runID string, reason string, details ...interface{})) *MockClient_TerminateWorkflow_Call

func (*MockClient_TerminateWorkflow_Call) RunAndReturn

type MockClient_UpdateWorkerBuildIdCompatibility_Call

type MockClient_UpdateWorkerBuildIdCompatibility_Call struct {
	*mock.Call
}

MockClient_UpdateWorkerBuildIdCompatibility_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateWorkerBuildIdCompatibility'

func (*MockClient_UpdateWorkerBuildIdCompatibility_Call) Return

func (*MockClient_UpdateWorkerBuildIdCompatibility_Call) Run

type MockClient_UpdateWorkflowWithOptions_Call

type MockClient_UpdateWorkflowWithOptions_Call struct {
	*mock.Call
}

MockClient_UpdateWorkflowWithOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateWorkflowWithOptions'

func (*MockClient_UpdateWorkflowWithOptions_Call) Return

func (*MockClient_UpdateWorkflowWithOptions_Call) Run

type MockClient_UpdateWorkflow_Call

type MockClient_UpdateWorkflow_Call struct {
	*mock.Call
}

MockClient_UpdateWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateWorkflow'

func (*MockClient_UpdateWorkflow_Call) Return

func (*MockClient_UpdateWorkflow_Call) Run

func (_c *MockClient_UpdateWorkflow_Call) Run(run func(ctx context.Context, workflowID string, workflowRunID string, updateName string, args ...interface{})) *MockClient_UpdateWorkflow_Call

func (*MockClient_UpdateWorkflow_Call) RunAndReturn

type MockClient_WorkflowService_Call

type MockClient_WorkflowService_Call struct {
	*mock.Call
}

MockClient_WorkflowService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WorkflowService'

func (*MockClient_WorkflowService_Call) Return

func (*MockClient_WorkflowService_Call) Run

func (*MockClient_WorkflowService_Call) RunAndReturn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL