mocks

package
v1.4.2-prerelease13 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: Apache-2.0 Imports: 5 Imported by: 8 modules, 14 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMockMessagingClient added in v0.3.11

func NewMockMessagingClient(publisher messaging.Producer, consumer messaging.Consumer) messaging.Client

NewMockMessagingClient generate a dummy implementation of messaging client

Types

type ExecutionManager

type ExecutionManager struct {
	mock.Mock
}

ExecutionManager is an autogenerated mock type for the ExecutionManager type

func NewExecutionManager added in v1.2.18

func NewExecutionManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *ExecutionManager

NewExecutionManager creates a new instance of ExecutionManager. 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 (*ExecutionManager) Close

func (_mock *ExecutionManager) Close()

Close provides a mock function for the type ExecutionManager

func (*ExecutionManager) CompleteHistoryTask added in v1.3.0

func (_mock *ExecutionManager) CompleteHistoryTask(ctx context.Context, request *persistence.CompleteHistoryTaskRequest) error

CompleteHistoryTask provides a mock function for the type ExecutionManager

func (*ExecutionManager) ConflictResolveWorkflowExecution added in v0.7.0

ConflictResolveWorkflowExecution provides a mock function for the type ExecutionManager

func (*ExecutionManager) CreateFailoverMarkerTasks added in v0.14.0

func (_mock *ExecutionManager) CreateFailoverMarkerTasks(ctx context.Context, request *persistence.CreateFailoverMarkersRequest) error

CreateFailoverMarkerTasks provides a mock function for the type ExecutionManager

func (*ExecutionManager) CreateHistoryTasks added in v1.4.1

func (_mock *ExecutionManager) CreateHistoryTasks(ctx context.Context, request *persistence.CreateHistoryTasksRequest) error

CreateHistoryTasks provides a mock function for the type ExecutionManager

func (*ExecutionManager) CreateWorkflowExecution

CreateWorkflowExecution provides a mock function for the type ExecutionManager

func (*ExecutionManager) DeleteActiveClusterSelectionPolicy added in v1.3.3

func (_mock *ExecutionManager) DeleteActiveClusterSelectionPolicy(ctx context.Context, request *persistence.DeleteActiveClusterSelectionPolicyRequest) error

DeleteActiveClusterSelectionPolicy provides a mock function for the type ExecutionManager

func (*ExecutionManager) DeleteCurrentWorkflowExecution added in v0.5.8

func (_mock *ExecutionManager) DeleteCurrentWorkflowExecution(ctx context.Context, request *persistence.DeleteCurrentWorkflowExecutionRequest) error

DeleteCurrentWorkflowExecution provides a mock function for the type ExecutionManager

func (*ExecutionManager) DeleteReplicationTaskFromDLQ added in v0.12.0

func (_mock *ExecutionManager) DeleteReplicationTaskFromDLQ(ctx context.Context, request *persistence.DeleteReplicationTaskFromDLQRequest) error

DeleteReplicationTaskFromDLQ provides a mock function for the type ExecutionManager

func (*ExecutionManager) DeleteWorkflowExecution

func (_mock *ExecutionManager) DeleteWorkflowExecution(ctx context.Context, request *persistence.DeleteWorkflowExecutionRequest) error

DeleteWorkflowExecution provides a mock function for the type ExecutionManager

func (*ExecutionManager) EXPECT added in v1.4.1

func (*ExecutionManager) FetchWorkflowTimerTasksForCleanup added in v1.4.1

func (_mock *ExecutionManager) FetchWorkflowTimerTasksForCleanup(ctx context.Context, request *persistence.FetchWorkflowTimerTasksForCleanupRequest) ([]persistence.HistoryTaskKey, error)

FetchWorkflowTimerTasksForCleanup provides a mock function for the type ExecutionManager

func (*ExecutionManager) GetActiveClusterSelectionPolicy added in v1.3.2

GetActiveClusterSelectionPolicy provides a mock function for the type ExecutionManager

func (*ExecutionManager) GetCurrentExecution

GetCurrentExecution provides a mock function for the type ExecutionManager

func (*ExecutionManager) GetHistoryTasks added in v1.2.18

GetHistoryTasks provides a mock function for the type ExecutionManager

func (*ExecutionManager) GetName added in v0.4.0

func (_mock *ExecutionManager) GetName() string

GetName provides a mock function for the type ExecutionManager

func (*ExecutionManager) GetReplicationDLQSize added in v0.14.0

GetReplicationDLQSize provides a mock function for the type ExecutionManager

func (*ExecutionManager) GetReplicationTasksFromDLQ added in v0.11.0

GetReplicationTasksFromDLQ provides a mock function for the type ExecutionManager

func (*ExecutionManager) GetWorkflowExecution

GetWorkflowExecution provides a mock function for the type ExecutionManager

func (*ExecutionManager) IsWorkflowExecutionExists added in v0.14.0

IsWorkflowExecutionExists provides a mock function for the type ExecutionManager

func (*ExecutionManager) ListConcreteExecutions added in v0.13.0

ListConcreteExecutions provides a mock function for the type ExecutionManager

func (*ExecutionManager) ListCurrentExecutions added in v0.14.0

ListCurrentExecutions provides a mock function for the type ExecutionManager

func (*ExecutionManager) PutReplicationTaskToDLQ added in v0.11.0

func (_mock *ExecutionManager) PutReplicationTaskToDLQ(ctx context.Context, request *persistence.PutReplicationTaskToDLQRequest) error

PutReplicationTaskToDLQ provides a mock function for the type ExecutionManager

func (*ExecutionManager) RangeCompleteHistoryTask added in v1.2.18

RangeCompleteHistoryTask provides a mock function for the type ExecutionManager

func (*ExecutionManager) RangeDeleteReplicationTaskFromDLQ added in v0.12.0

RangeDeleteReplicationTaskFromDLQ provides a mock function for the type ExecutionManager

func (*ExecutionManager) UpdateWorkflowExecution

UpdateWorkflowExecution provides a mock function for the type ExecutionManager

type ExecutionManager_Close_Call added in v1.4.1

type ExecutionManager_Close_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_Close_Call) Return added in v1.4.1

func (*ExecutionManager_Close_Call) Run added in v1.4.1

func (*ExecutionManager_Close_Call) RunAndReturn added in v1.4.1

func (_c *ExecutionManager_Close_Call) RunAndReturn(run func()) *ExecutionManager_Close_Call

type ExecutionManager_CompleteHistoryTask_Call added in v1.4.1

type ExecutionManager_CompleteHistoryTask_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_CompleteHistoryTask_Call) Return added in v1.4.1

func (*ExecutionManager_CompleteHistoryTask_Call) Run added in v1.4.1

func (*ExecutionManager_CompleteHistoryTask_Call) RunAndReturn added in v1.4.1

type ExecutionManager_ConflictResolveWorkflowExecution_Call added in v1.4.1

type ExecutionManager_ConflictResolveWorkflowExecution_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_ConflictResolveWorkflowExecution_Call) Return added in v1.4.1

func (*ExecutionManager_ConflictResolveWorkflowExecution_Call) Run added in v1.4.1

type ExecutionManager_CreateFailoverMarkerTasks_Call added in v1.4.1

type ExecutionManager_CreateFailoverMarkerTasks_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_CreateFailoverMarkerTasks_Call) Return added in v1.4.1

func (*ExecutionManager_CreateFailoverMarkerTasks_Call) Run added in v1.4.1

func (*ExecutionManager_CreateFailoverMarkerTasks_Call) RunAndReturn added in v1.4.1

type ExecutionManager_CreateHistoryTasks_Call added in v1.4.1

type ExecutionManager_CreateHistoryTasks_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_CreateHistoryTasks_Call) Return added in v1.4.1

func (*ExecutionManager_CreateHistoryTasks_Call) Run added in v1.4.1

func (*ExecutionManager_CreateHistoryTasks_Call) RunAndReturn added in v1.4.1

type ExecutionManager_CreateWorkflowExecution_Call added in v1.4.1

type ExecutionManager_CreateWorkflowExecution_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_CreateWorkflowExecution_Call) Return added in v1.4.1

func (*ExecutionManager_CreateWorkflowExecution_Call) Run added in v1.4.1

type ExecutionManager_DeleteActiveClusterSelectionPolicy_Call added in v1.4.1

type ExecutionManager_DeleteActiveClusterSelectionPolicy_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_DeleteActiveClusterSelectionPolicy_Call) Return added in v1.4.1

func (*ExecutionManager_DeleteActiveClusterSelectionPolicy_Call) Run added in v1.4.1

func (*ExecutionManager_DeleteActiveClusterSelectionPolicy_Call) RunAndReturn added in v1.4.1

type ExecutionManager_DeleteCurrentWorkflowExecution_Call added in v1.4.1

type ExecutionManager_DeleteCurrentWorkflowExecution_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_DeleteCurrentWorkflowExecution_Call) Return added in v1.4.1

func (*ExecutionManager_DeleteCurrentWorkflowExecution_Call) Run added in v1.4.1

func (*ExecutionManager_DeleteCurrentWorkflowExecution_Call) RunAndReturn added in v1.4.1

type ExecutionManager_DeleteReplicationTaskFromDLQ_Call added in v1.4.1

type ExecutionManager_DeleteReplicationTaskFromDLQ_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_DeleteReplicationTaskFromDLQ_Call) Return added in v1.4.1

func (*ExecutionManager_DeleteReplicationTaskFromDLQ_Call) Run added in v1.4.1

func (*ExecutionManager_DeleteReplicationTaskFromDLQ_Call) RunAndReturn added in v1.4.1

type ExecutionManager_DeleteWorkflowExecution_Call added in v1.4.1

type ExecutionManager_DeleteWorkflowExecution_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_DeleteWorkflowExecution_Call) Return added in v1.4.1

func (*ExecutionManager_DeleteWorkflowExecution_Call) Run added in v1.4.1

func (*ExecutionManager_DeleteWorkflowExecution_Call) RunAndReturn added in v1.4.1

type ExecutionManager_Expecter added in v1.4.1

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

func (*ExecutionManager_Expecter) Close added in v1.4.1

Close is a helper method to define mock.On call

func (*ExecutionManager_Expecter) CompleteHistoryTask added in v1.4.1

func (_e *ExecutionManager_Expecter) CompleteHistoryTask(ctx interface{}, request interface{}) *ExecutionManager_CompleteHistoryTask_Call

CompleteHistoryTask is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.CompleteHistoryTaskRequest

func (*ExecutionManager_Expecter) ConflictResolveWorkflowExecution added in v1.4.1

func (_e *ExecutionManager_Expecter) ConflictResolveWorkflowExecution(ctx interface{}, request interface{}) *ExecutionManager_ConflictResolveWorkflowExecution_Call

ConflictResolveWorkflowExecution is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ConflictResolveWorkflowExecutionRequest

func (*ExecutionManager_Expecter) CreateFailoverMarkerTasks added in v1.4.1

func (_e *ExecutionManager_Expecter) CreateFailoverMarkerTasks(ctx interface{}, request interface{}) *ExecutionManager_CreateFailoverMarkerTasks_Call

CreateFailoverMarkerTasks is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.CreateFailoverMarkersRequest

func (*ExecutionManager_Expecter) CreateHistoryTasks added in v1.4.1

func (_e *ExecutionManager_Expecter) CreateHistoryTasks(ctx interface{}, request interface{}) *ExecutionManager_CreateHistoryTasks_Call

CreateHistoryTasks is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.CreateHistoryTasksRequest

func (*ExecutionManager_Expecter) CreateWorkflowExecution added in v1.4.1

func (_e *ExecutionManager_Expecter) CreateWorkflowExecution(ctx interface{}, request interface{}) *ExecutionManager_CreateWorkflowExecution_Call

CreateWorkflowExecution is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.CreateWorkflowExecutionRequest

func (*ExecutionManager_Expecter) DeleteActiveClusterSelectionPolicy added in v1.4.1

func (_e *ExecutionManager_Expecter) DeleteActiveClusterSelectionPolicy(ctx interface{}, request interface{}) *ExecutionManager_DeleteActiveClusterSelectionPolicy_Call

DeleteActiveClusterSelectionPolicy is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.DeleteActiveClusterSelectionPolicyRequest

func (*ExecutionManager_Expecter) DeleteCurrentWorkflowExecution added in v1.4.1

func (_e *ExecutionManager_Expecter) DeleteCurrentWorkflowExecution(ctx interface{}, request interface{}) *ExecutionManager_DeleteCurrentWorkflowExecution_Call

DeleteCurrentWorkflowExecution is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.DeleteCurrentWorkflowExecutionRequest

func (*ExecutionManager_Expecter) DeleteReplicationTaskFromDLQ added in v1.4.1

func (_e *ExecutionManager_Expecter) DeleteReplicationTaskFromDLQ(ctx interface{}, request interface{}) *ExecutionManager_DeleteReplicationTaskFromDLQ_Call

DeleteReplicationTaskFromDLQ is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.DeleteReplicationTaskFromDLQRequest

func (*ExecutionManager_Expecter) DeleteWorkflowExecution added in v1.4.1

func (_e *ExecutionManager_Expecter) DeleteWorkflowExecution(ctx interface{}, request interface{}) *ExecutionManager_DeleteWorkflowExecution_Call

DeleteWorkflowExecution is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.DeleteWorkflowExecutionRequest

func (*ExecutionManager_Expecter) FetchWorkflowTimerTasksForCleanup added in v1.4.1

func (_e *ExecutionManager_Expecter) FetchWorkflowTimerTasksForCleanup(ctx interface{}, request interface{}) *ExecutionManager_FetchWorkflowTimerTasksForCleanup_Call

FetchWorkflowTimerTasksForCleanup is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.FetchWorkflowTimerTasksForCleanupRequest

func (*ExecutionManager_Expecter) GetActiveClusterSelectionPolicy added in v1.4.1

func (_e *ExecutionManager_Expecter) GetActiveClusterSelectionPolicy(ctx interface{}, request interface{}) *ExecutionManager_GetActiveClusterSelectionPolicy_Call

GetActiveClusterSelectionPolicy is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.GetActiveClusterSelectionPolicyRequest

func (*ExecutionManager_Expecter) GetCurrentExecution added in v1.4.1

func (_e *ExecutionManager_Expecter) GetCurrentExecution(ctx interface{}, request interface{}) *ExecutionManager_GetCurrentExecution_Call

GetCurrentExecution is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.GetCurrentExecutionRequest

func (*ExecutionManager_Expecter) GetHistoryTasks added in v1.4.1

func (_e *ExecutionManager_Expecter) GetHistoryTasks(ctx interface{}, request interface{}) *ExecutionManager_GetHistoryTasks_Call

GetHistoryTasks is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.GetHistoryTasksRequest

func (*ExecutionManager_Expecter) GetName added in v1.4.1

GetName is a helper method to define mock.On call

func (*ExecutionManager_Expecter) GetReplicationDLQSize added in v1.4.1

func (_e *ExecutionManager_Expecter) GetReplicationDLQSize(ctx interface{}, request interface{}) *ExecutionManager_GetReplicationDLQSize_Call

GetReplicationDLQSize is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.GetReplicationDLQSizeRequest

func (*ExecutionManager_Expecter) GetReplicationTasksFromDLQ added in v1.4.1

func (_e *ExecutionManager_Expecter) GetReplicationTasksFromDLQ(ctx interface{}, request interface{}) *ExecutionManager_GetReplicationTasksFromDLQ_Call

GetReplicationTasksFromDLQ is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.GetReplicationTasksFromDLQRequest

func (*ExecutionManager_Expecter) GetWorkflowExecution added in v1.4.1

func (_e *ExecutionManager_Expecter) GetWorkflowExecution(ctx interface{}, request interface{}) *ExecutionManager_GetWorkflowExecution_Call

GetWorkflowExecution is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.GetWorkflowExecutionRequest

func (*ExecutionManager_Expecter) IsWorkflowExecutionExists added in v1.4.1

func (_e *ExecutionManager_Expecter) IsWorkflowExecutionExists(ctx interface{}, request interface{}) *ExecutionManager_IsWorkflowExecutionExists_Call

IsWorkflowExecutionExists is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.IsWorkflowExecutionExistsRequest

func (*ExecutionManager_Expecter) ListConcreteExecutions added in v1.4.1

func (_e *ExecutionManager_Expecter) ListConcreteExecutions(ctx interface{}, request interface{}) *ExecutionManager_ListConcreteExecutions_Call

ListConcreteExecutions is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ListConcreteExecutionsRequest

func (*ExecutionManager_Expecter) ListCurrentExecutions added in v1.4.1

func (_e *ExecutionManager_Expecter) ListCurrentExecutions(ctx interface{}, request interface{}) *ExecutionManager_ListCurrentExecutions_Call

ListCurrentExecutions is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ListCurrentExecutionsRequest

func (*ExecutionManager_Expecter) PutReplicationTaskToDLQ added in v1.4.1

func (_e *ExecutionManager_Expecter) PutReplicationTaskToDLQ(ctx interface{}, request interface{}) *ExecutionManager_PutReplicationTaskToDLQ_Call

PutReplicationTaskToDLQ is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.PutReplicationTaskToDLQRequest

func (*ExecutionManager_Expecter) RangeCompleteHistoryTask added in v1.4.1

func (_e *ExecutionManager_Expecter) RangeCompleteHistoryTask(ctx interface{}, request interface{}) *ExecutionManager_RangeCompleteHistoryTask_Call

RangeCompleteHistoryTask is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.RangeCompleteHistoryTaskRequest

func (*ExecutionManager_Expecter) RangeDeleteReplicationTaskFromDLQ added in v1.4.1

func (_e *ExecutionManager_Expecter) RangeDeleteReplicationTaskFromDLQ(ctx interface{}, request interface{}) *ExecutionManager_RangeDeleteReplicationTaskFromDLQ_Call

RangeDeleteReplicationTaskFromDLQ is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.RangeDeleteReplicationTaskFromDLQRequest

func (*ExecutionManager_Expecter) UpdateWorkflowExecution added in v1.4.1

func (_e *ExecutionManager_Expecter) UpdateWorkflowExecution(ctx interface{}, request interface{}) *ExecutionManager_UpdateWorkflowExecution_Call

UpdateWorkflowExecution is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.UpdateWorkflowExecutionRequest

type ExecutionManager_FetchWorkflowTimerTasksForCleanup_Call added in v1.4.1

type ExecutionManager_FetchWorkflowTimerTasksForCleanup_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_FetchWorkflowTimerTasksForCleanup_Call) Return added in v1.4.1

func (*ExecutionManager_FetchWorkflowTimerTasksForCleanup_Call) Run added in v1.4.1

func (*ExecutionManager_FetchWorkflowTimerTasksForCleanup_Call) RunAndReturn added in v1.4.1

type ExecutionManager_GetActiveClusterSelectionPolicy_Call added in v1.4.1

type ExecutionManager_GetActiveClusterSelectionPolicy_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_GetActiveClusterSelectionPolicy_Call) Return added in v1.4.1

func (*ExecutionManager_GetActiveClusterSelectionPolicy_Call) Run added in v1.4.1

type ExecutionManager_GetCurrentExecution_Call added in v1.4.1

type ExecutionManager_GetCurrentExecution_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_GetCurrentExecution_Call) Return added in v1.4.1

func (*ExecutionManager_GetCurrentExecution_Call) Run added in v1.4.1

func (*ExecutionManager_GetCurrentExecution_Call) RunAndReturn added in v1.4.1

type ExecutionManager_GetHistoryTasks_Call added in v1.4.1

type ExecutionManager_GetHistoryTasks_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_GetHistoryTasks_Call) Return added in v1.4.1

func (*ExecutionManager_GetHistoryTasks_Call) Run added in v1.4.1

func (*ExecutionManager_GetHistoryTasks_Call) RunAndReturn added in v1.4.1

type ExecutionManager_GetName_Call added in v1.4.1

type ExecutionManager_GetName_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_GetName_Call) Return added in v1.4.1

func (*ExecutionManager_GetName_Call) Run added in v1.4.1

func (*ExecutionManager_GetName_Call) RunAndReturn added in v1.4.1

type ExecutionManager_GetReplicationDLQSize_Call added in v1.4.1

type ExecutionManager_GetReplicationDLQSize_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_GetReplicationDLQSize_Call) Return added in v1.4.1

func (*ExecutionManager_GetReplicationDLQSize_Call) Run added in v1.4.1

func (*ExecutionManager_GetReplicationDLQSize_Call) RunAndReturn added in v1.4.1

type ExecutionManager_GetReplicationTasksFromDLQ_Call added in v1.4.1

type ExecutionManager_GetReplicationTasksFromDLQ_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_GetReplicationTasksFromDLQ_Call) Return added in v1.4.1

func (*ExecutionManager_GetReplicationTasksFromDLQ_Call) Run added in v1.4.1

type ExecutionManager_GetWorkflowExecution_Call added in v1.4.1

type ExecutionManager_GetWorkflowExecution_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_GetWorkflowExecution_Call) Return added in v1.4.1

func (*ExecutionManager_GetWorkflowExecution_Call) Run added in v1.4.1

func (*ExecutionManager_GetWorkflowExecution_Call) RunAndReturn added in v1.4.1

type ExecutionManager_IsWorkflowExecutionExists_Call added in v1.4.1

type ExecutionManager_IsWorkflowExecutionExists_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_IsWorkflowExecutionExists_Call) Return added in v1.4.1

func (*ExecutionManager_IsWorkflowExecutionExists_Call) Run added in v1.4.1

type ExecutionManager_ListConcreteExecutions_Call added in v1.4.1

type ExecutionManager_ListConcreteExecutions_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_ListConcreteExecutions_Call) Return added in v1.4.1

func (*ExecutionManager_ListConcreteExecutions_Call) Run added in v1.4.1

func (*ExecutionManager_ListConcreteExecutions_Call) RunAndReturn added in v1.4.1

type ExecutionManager_ListCurrentExecutions_Call added in v1.4.1

type ExecutionManager_ListCurrentExecutions_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_ListCurrentExecutions_Call) Return added in v1.4.1

func (*ExecutionManager_ListCurrentExecutions_Call) Run added in v1.4.1

func (*ExecutionManager_ListCurrentExecutions_Call) RunAndReturn added in v1.4.1

type ExecutionManager_PutReplicationTaskToDLQ_Call added in v1.4.1

type ExecutionManager_PutReplicationTaskToDLQ_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_PutReplicationTaskToDLQ_Call) Return added in v1.4.1

func (*ExecutionManager_PutReplicationTaskToDLQ_Call) Run added in v1.4.1

func (*ExecutionManager_PutReplicationTaskToDLQ_Call) RunAndReturn added in v1.4.1

type ExecutionManager_RangeCompleteHistoryTask_Call added in v1.4.1

type ExecutionManager_RangeCompleteHistoryTask_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_RangeCompleteHistoryTask_Call) Return added in v1.4.1

func (*ExecutionManager_RangeCompleteHistoryTask_Call) Run added in v1.4.1

type ExecutionManager_RangeDeleteReplicationTaskFromDLQ_Call added in v1.4.1

type ExecutionManager_RangeDeleteReplicationTaskFromDLQ_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_RangeDeleteReplicationTaskFromDLQ_Call) Return added in v1.4.1

func (*ExecutionManager_RangeDeleteReplicationTaskFromDLQ_Call) Run added in v1.4.1

type ExecutionManager_UpdateWorkflowExecution_Call added in v1.4.1

type ExecutionManager_UpdateWorkflowExecution_Call struct {
	*mock.Call
}

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

func (*ExecutionManager_UpdateWorkflowExecution_Call) Return added in v1.4.1

func (*ExecutionManager_UpdateWorkflowExecution_Call) Run added in v1.4.1

type HistoryV2Manager added in v0.5.0

type HistoryV2Manager struct {
	mock.Mock
}

HistoryV2Manager is an autogenerated mock type for the HistoryManager type

func NewHistoryV2Manager added in v1.4.1

func NewHistoryV2Manager(t interface {
	mock.TestingT
	Cleanup(func())
}) *HistoryV2Manager

NewHistoryV2Manager creates a new instance of HistoryV2Manager. 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 (*HistoryV2Manager) AppendHistoryNodes added in v0.5.0

AppendHistoryNodes provides a mock function for the type HistoryV2Manager

func (*HistoryV2Manager) Close added in v0.5.0

func (_mock *HistoryV2Manager) Close()

Close provides a mock function for the type HistoryV2Manager

func (*HistoryV2Manager) DeleteHistoryBranch added in v0.5.0

func (_mock *HistoryV2Manager) DeleteHistoryBranch(ctx context.Context, request *persistence.DeleteHistoryBranchRequest) error

DeleteHistoryBranch provides a mock function for the type HistoryV2Manager

func (*HistoryV2Manager) EXPECT added in v1.4.1

func (*HistoryV2Manager) ForkHistoryBranch added in v0.5.0

ForkHistoryBranch provides a mock function for the type HistoryV2Manager

func (*HistoryV2Manager) GetAllHistoryTreeBranches added in v0.9.0

GetAllHistoryTreeBranches provides a mock function for the type HistoryV2Manager

func (*HistoryV2Manager) GetHistoryTree added in v0.5.0

GetHistoryTree provides a mock function for the type HistoryV2Manager

func (*HistoryV2Manager) GetName added in v0.5.0

func (_mock *HistoryV2Manager) GetName() string

GetName provides a mock function for the type HistoryV2Manager

func (*HistoryV2Manager) ReadHistoryBranch added in v0.5.0

ReadHistoryBranch provides a mock function for the type HistoryV2Manager

func (*HistoryV2Manager) ReadHistoryBranchByBatch added in v0.5.0

ReadHistoryBranchByBatch provides a mock function for the type HistoryV2Manager

func (*HistoryV2Manager) ReadRawHistoryBranch added in v0.9.0

ReadRawHistoryBranch provides a mock function for the type HistoryV2Manager

type HistoryV2Manager_AppendHistoryNodes_Call added in v1.4.1

type HistoryV2Manager_AppendHistoryNodes_Call struct {
	*mock.Call
}

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

func (*HistoryV2Manager_AppendHistoryNodes_Call) Return added in v1.4.1

func (*HistoryV2Manager_AppendHistoryNodes_Call) Run added in v1.4.1

func (*HistoryV2Manager_AppendHistoryNodes_Call) RunAndReturn added in v1.4.1

type HistoryV2Manager_Close_Call added in v1.4.1

type HistoryV2Manager_Close_Call struct {
	*mock.Call
}

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

func (*HistoryV2Manager_Close_Call) Return added in v1.4.1

func (*HistoryV2Manager_Close_Call) Run added in v1.4.1

func (*HistoryV2Manager_Close_Call) RunAndReturn added in v1.4.1

func (_c *HistoryV2Manager_Close_Call) RunAndReturn(run func()) *HistoryV2Manager_Close_Call

type HistoryV2Manager_DeleteHistoryBranch_Call added in v1.4.1

type HistoryV2Manager_DeleteHistoryBranch_Call struct {
	*mock.Call
}

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

func (*HistoryV2Manager_DeleteHistoryBranch_Call) Return added in v1.4.1

func (*HistoryV2Manager_DeleteHistoryBranch_Call) Run added in v1.4.1

func (*HistoryV2Manager_DeleteHistoryBranch_Call) RunAndReturn added in v1.4.1

type HistoryV2Manager_Expecter added in v1.4.1

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

func (*HistoryV2Manager_Expecter) AppendHistoryNodes added in v1.4.1

func (_e *HistoryV2Manager_Expecter) AppendHistoryNodes(ctx interface{}, request interface{}) *HistoryV2Manager_AppendHistoryNodes_Call

AppendHistoryNodes is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.AppendHistoryNodesRequest

func (*HistoryV2Manager_Expecter) Close added in v1.4.1

Close is a helper method to define mock.On call

func (*HistoryV2Manager_Expecter) DeleteHistoryBranch added in v1.4.1

func (_e *HistoryV2Manager_Expecter) DeleteHistoryBranch(ctx interface{}, request interface{}) *HistoryV2Manager_DeleteHistoryBranch_Call

DeleteHistoryBranch is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.DeleteHistoryBranchRequest

func (*HistoryV2Manager_Expecter) ForkHistoryBranch added in v1.4.1

func (_e *HistoryV2Manager_Expecter) ForkHistoryBranch(ctx interface{}, request interface{}) *HistoryV2Manager_ForkHistoryBranch_Call

ForkHistoryBranch is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ForkHistoryBranchRequest

func (*HistoryV2Manager_Expecter) GetAllHistoryTreeBranches added in v1.4.1

func (_e *HistoryV2Manager_Expecter) GetAllHistoryTreeBranches(ctx interface{}, request interface{}) *HistoryV2Manager_GetAllHistoryTreeBranches_Call

GetAllHistoryTreeBranches is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.GetAllHistoryTreeBranchesRequest

func (*HistoryV2Manager_Expecter) GetHistoryTree added in v1.4.1

func (_e *HistoryV2Manager_Expecter) GetHistoryTree(ctx interface{}, request interface{}) *HistoryV2Manager_GetHistoryTree_Call

GetHistoryTree is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.GetHistoryTreeRequest

func (*HistoryV2Manager_Expecter) GetName added in v1.4.1

GetName is a helper method to define mock.On call

func (*HistoryV2Manager_Expecter) ReadHistoryBranch added in v1.4.1

func (_e *HistoryV2Manager_Expecter) ReadHistoryBranch(ctx interface{}, request interface{}) *HistoryV2Manager_ReadHistoryBranch_Call

ReadHistoryBranch is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ReadHistoryBranchRequest

func (*HistoryV2Manager_Expecter) ReadHistoryBranchByBatch added in v1.4.1

func (_e *HistoryV2Manager_Expecter) ReadHistoryBranchByBatch(ctx interface{}, request interface{}) *HistoryV2Manager_ReadHistoryBranchByBatch_Call

ReadHistoryBranchByBatch is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ReadHistoryBranchRequest

func (*HistoryV2Manager_Expecter) ReadRawHistoryBranch added in v1.4.1

func (_e *HistoryV2Manager_Expecter) ReadRawHistoryBranch(ctx interface{}, request interface{}) *HistoryV2Manager_ReadRawHistoryBranch_Call

ReadRawHistoryBranch is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ReadHistoryBranchRequest

type HistoryV2Manager_ForkHistoryBranch_Call added in v1.4.1

type HistoryV2Manager_ForkHistoryBranch_Call struct {
	*mock.Call
}

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

func (*HistoryV2Manager_ForkHistoryBranch_Call) Return added in v1.4.1

func (*HistoryV2Manager_ForkHistoryBranch_Call) Run added in v1.4.1

func (*HistoryV2Manager_ForkHistoryBranch_Call) RunAndReturn added in v1.4.1

type HistoryV2Manager_GetAllHistoryTreeBranches_Call added in v1.4.1

type HistoryV2Manager_GetAllHistoryTreeBranches_Call struct {
	*mock.Call
}

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

func (*HistoryV2Manager_GetAllHistoryTreeBranches_Call) Return added in v1.4.1

func (*HistoryV2Manager_GetAllHistoryTreeBranches_Call) Run added in v1.4.1

type HistoryV2Manager_GetHistoryTree_Call added in v1.4.1

type HistoryV2Manager_GetHistoryTree_Call struct {
	*mock.Call
}

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

func (*HistoryV2Manager_GetHistoryTree_Call) Return added in v1.4.1

func (*HistoryV2Manager_GetHistoryTree_Call) Run added in v1.4.1

func (*HistoryV2Manager_GetHistoryTree_Call) RunAndReturn added in v1.4.1

type HistoryV2Manager_GetName_Call added in v1.4.1

type HistoryV2Manager_GetName_Call struct {
	*mock.Call
}

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

func (*HistoryV2Manager_GetName_Call) Return added in v1.4.1

func (*HistoryV2Manager_GetName_Call) Run added in v1.4.1

func (*HistoryV2Manager_GetName_Call) RunAndReturn added in v1.4.1

type HistoryV2Manager_ReadHistoryBranchByBatch_Call added in v1.4.1

type HistoryV2Manager_ReadHistoryBranchByBatch_Call struct {
	*mock.Call
}

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

func (*HistoryV2Manager_ReadHistoryBranchByBatch_Call) Return added in v1.4.1

func (*HistoryV2Manager_ReadHistoryBranchByBatch_Call) Run added in v1.4.1

func (*HistoryV2Manager_ReadHistoryBranchByBatch_Call) RunAndReturn added in v1.4.1

type HistoryV2Manager_ReadHistoryBranch_Call added in v1.4.1

type HistoryV2Manager_ReadHistoryBranch_Call struct {
	*mock.Call
}

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

func (*HistoryV2Manager_ReadHistoryBranch_Call) Return added in v1.4.1

func (*HistoryV2Manager_ReadHistoryBranch_Call) Run added in v1.4.1

func (*HistoryV2Manager_ReadHistoryBranch_Call) RunAndReturn added in v1.4.1

type HistoryV2Manager_ReadRawHistoryBranch_Call added in v1.4.1

type HistoryV2Manager_ReadRawHistoryBranch_Call struct {
	*mock.Call
}

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

func (*HistoryV2Manager_ReadRawHistoryBranch_Call) Return added in v1.4.1

func (*HistoryV2Manager_ReadRawHistoryBranch_Call) Run added in v1.4.1

func (*HistoryV2Manager_ReadRawHistoryBranch_Call) RunAndReturn added in v1.4.1

type KafkaProducer added in v0.3.7

type KafkaProducer struct {
	mock.Mock
}

KafkaProducer is an autogenerated mock type for the KafkaProducer type

func (*KafkaProducer) Close added in v0.3.7

func (_m *KafkaProducer) Close() error

Close provides a mock function with given fields:

func (*KafkaProducer) Publish added in v0.3.7

func (_m *KafkaProducer) Publish(ctx context.Context, message interface{}) error

Publish provides a mock function with given fields: ctx, message

type MessagingClient added in v0.3.11

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

MessagingClient is the mock implementation for Service interface

func (*MessagingClient) NewConsumer added in v0.3.11

func (c *MessagingClient) NewConsumer(appName, consumerName string) (messaging.Consumer, error)

NewConsumer generates a dummy implementation of kafka consumer

func (*MessagingClient) NewProducer added in v0.3.11

func (c *MessagingClient) NewProducer(appName string) (messaging.Producer, error)

NewProducer generates a dummy implementation of kafka producer

type MetadataManager

type MetadataManager struct {
	mock.Mock
}

MetadataManager is an autogenerated mock type for the DomainManager type

func NewMetadataManager added in v1.4.1

func NewMetadataManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *MetadataManager

NewMetadataManager creates a new instance of MetadataManager. 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 (*MetadataManager) Close

func (_mock *MetadataManager) Close()

Close provides a mock function for the type MetadataManager

func (*MetadataManager) CreateDomain

CreateDomain provides a mock function for the type MetadataManager

func (*MetadataManager) DeleteDomain

func (_mock *MetadataManager) DeleteDomain(ctx context.Context, request *persistence.DeleteDomainRequest) error

DeleteDomain provides a mock function for the type MetadataManager

func (*MetadataManager) DeleteDomainByName

func (_mock *MetadataManager) DeleteDomainByName(ctx context.Context, request *persistence.DeleteDomainByNameRequest) error

DeleteDomainByName provides a mock function for the type MetadataManager

func (*MetadataManager) EXPECT added in v1.4.1

func (*MetadataManager) GetDomain

GetDomain provides a mock function for the type MetadataManager

func (*MetadataManager) GetMetadata added in v0.3.13

GetMetadata provides a mock function for the type MetadataManager

func (*MetadataManager) GetName added in v0.4.0

func (_mock *MetadataManager) GetName() string

GetName provides a mock function for the type MetadataManager

func (*MetadataManager) ListDomains added in v0.3.14

ListDomains provides a mock function for the type MetadataManager

func (*MetadataManager) UpdateDomain

func (_mock *MetadataManager) UpdateDomain(ctx context.Context, request *persistence.UpdateDomainRequest) error

UpdateDomain provides a mock function for the type MetadataManager

type MetadataManager_Close_Call added in v1.4.1

type MetadataManager_Close_Call struct {
	*mock.Call
}

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

func (*MetadataManager_Close_Call) Return added in v1.4.1

func (*MetadataManager_Close_Call) Run added in v1.4.1

func (*MetadataManager_Close_Call) RunAndReturn added in v1.4.1

func (_c *MetadataManager_Close_Call) RunAndReturn(run func()) *MetadataManager_Close_Call

type MetadataManager_CreateDomain_Call added in v1.4.1

type MetadataManager_CreateDomain_Call struct {
	*mock.Call
}

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

func (*MetadataManager_CreateDomain_Call) Return added in v1.4.1

func (*MetadataManager_CreateDomain_Call) Run added in v1.4.1

func (*MetadataManager_CreateDomain_Call) RunAndReturn added in v1.4.1

type MetadataManager_DeleteDomainByName_Call added in v1.4.1

type MetadataManager_DeleteDomainByName_Call struct {
	*mock.Call
}

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

func (*MetadataManager_DeleteDomainByName_Call) Return added in v1.4.1

func (*MetadataManager_DeleteDomainByName_Call) Run added in v1.4.1

func (*MetadataManager_DeleteDomainByName_Call) RunAndReturn added in v1.4.1

type MetadataManager_DeleteDomain_Call added in v1.4.1

type MetadataManager_DeleteDomain_Call struct {
	*mock.Call
}

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

func (*MetadataManager_DeleteDomain_Call) Return added in v1.4.1

func (*MetadataManager_DeleteDomain_Call) Run added in v1.4.1

func (*MetadataManager_DeleteDomain_Call) RunAndReturn added in v1.4.1

type MetadataManager_Expecter added in v1.4.1

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

func (*MetadataManager_Expecter) Close added in v1.4.1

Close is a helper method to define mock.On call

func (*MetadataManager_Expecter) CreateDomain added in v1.4.1

func (_e *MetadataManager_Expecter) CreateDomain(ctx interface{}, request interface{}) *MetadataManager_CreateDomain_Call

CreateDomain is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.CreateDomainRequest

func (*MetadataManager_Expecter) DeleteDomain added in v1.4.1

func (_e *MetadataManager_Expecter) DeleteDomain(ctx interface{}, request interface{}) *MetadataManager_DeleteDomain_Call

DeleteDomain is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.DeleteDomainRequest

func (*MetadataManager_Expecter) DeleteDomainByName added in v1.4.1

func (_e *MetadataManager_Expecter) DeleteDomainByName(ctx interface{}, request interface{}) *MetadataManager_DeleteDomainByName_Call

DeleteDomainByName is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.DeleteDomainByNameRequest

func (*MetadataManager_Expecter) GetDomain added in v1.4.1

func (_e *MetadataManager_Expecter) GetDomain(ctx interface{}, request interface{}) *MetadataManager_GetDomain_Call

GetDomain is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.GetDomainRequest

func (*MetadataManager_Expecter) GetMetadata added in v1.4.1

func (_e *MetadataManager_Expecter) GetMetadata(ctx interface{}) *MetadataManager_GetMetadata_Call

GetMetadata is a helper method to define mock.On call

  • ctx context.Context

func (*MetadataManager_Expecter) GetName added in v1.4.1

GetName is a helper method to define mock.On call

func (*MetadataManager_Expecter) ListDomains added in v1.4.1

func (_e *MetadataManager_Expecter) ListDomains(ctx interface{}, request interface{}) *MetadataManager_ListDomains_Call

ListDomains is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ListDomainsRequest

func (*MetadataManager_Expecter) UpdateDomain added in v1.4.1

func (_e *MetadataManager_Expecter) UpdateDomain(ctx interface{}, request interface{}) *MetadataManager_UpdateDomain_Call

UpdateDomain is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.UpdateDomainRequest

type MetadataManager_GetDomain_Call added in v1.4.1

type MetadataManager_GetDomain_Call struct {
	*mock.Call
}

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

func (*MetadataManager_GetDomain_Call) Return added in v1.4.1

func (*MetadataManager_GetDomain_Call) Run added in v1.4.1

func (*MetadataManager_GetDomain_Call) RunAndReturn added in v1.4.1

type MetadataManager_GetMetadata_Call added in v1.4.1

type MetadataManager_GetMetadata_Call struct {
	*mock.Call
}

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

func (*MetadataManager_GetMetadata_Call) Return added in v1.4.1

func (*MetadataManager_GetMetadata_Call) Run added in v1.4.1

func (*MetadataManager_GetMetadata_Call) RunAndReturn added in v1.4.1

type MetadataManager_GetName_Call added in v1.4.1

type MetadataManager_GetName_Call struct {
	*mock.Call
}

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

func (*MetadataManager_GetName_Call) Return added in v1.4.1

func (*MetadataManager_GetName_Call) Run added in v1.4.1

func (*MetadataManager_GetName_Call) RunAndReturn added in v1.4.1

type MetadataManager_ListDomains_Call added in v1.4.1

type MetadataManager_ListDomains_Call struct {
	*mock.Call
}

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

func (*MetadataManager_ListDomains_Call) Return added in v1.4.1

func (*MetadataManager_ListDomains_Call) Run added in v1.4.1

func (*MetadataManager_ListDomains_Call) RunAndReturn added in v1.4.1

type MetadataManager_UpdateDomain_Call added in v1.4.1

type MetadataManager_UpdateDomain_Call struct {
	*mock.Call
}

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

func (*MetadataManager_UpdateDomain_Call) Return added in v1.4.1

func (*MetadataManager_UpdateDomain_Call) Run added in v1.4.1

func (*MetadataManager_UpdateDomain_Call) RunAndReturn added in v1.4.1

type ShardManager

type ShardManager struct {
	mock.Mock
}

ShardManager is an autogenerated mock type for the ShardManager type

func NewShardManager added in v1.4.1

func NewShardManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *ShardManager

NewShardManager creates a new instance of ShardManager. 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 (*ShardManager) Close

func (_mock *ShardManager) Close()

Close provides a mock function for the type ShardManager

func (*ShardManager) CreateShard

func (_mock *ShardManager) CreateShard(ctx context.Context, request *persistence.CreateShardRequest) error

CreateShard provides a mock function for the type ShardManager

func (*ShardManager) EXPECT added in v1.4.1

func (_m *ShardManager) EXPECT() *ShardManager_Expecter

func (*ShardManager) GetName added in v0.4.0

func (_mock *ShardManager) GetName() string

GetName provides a mock function for the type ShardManager

func (*ShardManager) GetShard

GetShard provides a mock function for the type ShardManager

func (*ShardManager) UpdateShard

func (_mock *ShardManager) UpdateShard(ctx context.Context, request *persistence.UpdateShardRequest) error

UpdateShard provides a mock function for the type ShardManager

type ShardManager_Close_Call added in v1.4.1

type ShardManager_Close_Call struct {
	*mock.Call
}

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

func (*ShardManager_Close_Call) Return added in v1.4.1

func (*ShardManager_Close_Call) Run added in v1.4.1

func (_c *ShardManager_Close_Call) Run(run func()) *ShardManager_Close_Call

func (*ShardManager_Close_Call) RunAndReturn added in v1.4.1

func (_c *ShardManager_Close_Call) RunAndReturn(run func()) *ShardManager_Close_Call

type ShardManager_CreateShard_Call added in v1.4.1

type ShardManager_CreateShard_Call struct {
	*mock.Call
}

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

func (*ShardManager_CreateShard_Call) Return added in v1.4.1

func (*ShardManager_CreateShard_Call) Run added in v1.4.1

func (*ShardManager_CreateShard_Call) RunAndReturn added in v1.4.1

type ShardManager_Expecter added in v1.4.1

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

func (*ShardManager_Expecter) Close added in v1.4.1

Close is a helper method to define mock.On call

func (*ShardManager_Expecter) CreateShard added in v1.4.1

func (_e *ShardManager_Expecter) CreateShard(ctx interface{}, request interface{}) *ShardManager_CreateShard_Call

CreateShard is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.CreateShardRequest

func (*ShardManager_Expecter) GetName added in v1.4.1

GetName is a helper method to define mock.On call

func (*ShardManager_Expecter) GetShard added in v1.4.1

func (_e *ShardManager_Expecter) GetShard(ctx interface{}, request interface{}) *ShardManager_GetShard_Call

GetShard is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.GetShardRequest

func (*ShardManager_Expecter) UpdateShard added in v1.4.1

func (_e *ShardManager_Expecter) UpdateShard(ctx interface{}, request interface{}) *ShardManager_UpdateShard_Call

UpdateShard is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.UpdateShardRequest

type ShardManager_GetName_Call added in v1.4.1

type ShardManager_GetName_Call struct {
	*mock.Call
}

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

func (*ShardManager_GetName_Call) Return added in v1.4.1

func (*ShardManager_GetName_Call) Run added in v1.4.1

func (*ShardManager_GetName_Call) RunAndReturn added in v1.4.1

func (_c *ShardManager_GetName_Call) RunAndReturn(run func() string) *ShardManager_GetName_Call

type ShardManager_GetShard_Call added in v1.4.1

type ShardManager_GetShard_Call struct {
	*mock.Call
}

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

func (*ShardManager_GetShard_Call) Return added in v1.4.1

func (*ShardManager_GetShard_Call) Run added in v1.4.1

func (*ShardManager_GetShard_Call) RunAndReturn added in v1.4.1

type ShardManager_UpdateShard_Call added in v1.4.1

type ShardManager_UpdateShard_Call struct {
	*mock.Call
}

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

func (*ShardManager_UpdateShard_Call) Return added in v1.4.1

func (*ShardManager_UpdateShard_Call) Run added in v1.4.1

func (*ShardManager_UpdateShard_Call) RunAndReturn added in v1.4.1

type TaskManager

type TaskManager struct {
	mock.Mock
}

TaskManager is an autogenerated mock type for the TaskManager type

func NewTaskManager added in v1.2.6

func NewTaskManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *TaskManager

NewTaskManager creates a new instance of TaskManager. 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 (*TaskManager) Close

func (_mock *TaskManager) Close()

Close provides a mock function for the type TaskManager

func (*TaskManager) CompleteTask

func (_mock *TaskManager) CompleteTask(ctx context.Context, request *persistence.CompleteTaskRequest) error

CompleteTask provides a mock function for the type TaskManager

func (*TaskManager) CompleteTasksLessThan added in v0.5.7

CompleteTasksLessThan provides a mock function for the type TaskManager

func (*TaskManager) CreateTasks

CreateTasks provides a mock function for the type TaskManager

func (*TaskManager) DeleteTaskList added in v0.5.7

func (_mock *TaskManager) DeleteTaskList(ctx context.Context, request *persistence.DeleteTaskListRequest) error

DeleteTaskList provides a mock function for the type TaskManager

func (*TaskManager) EXPECT added in v1.4.1

func (_m *TaskManager) EXPECT() *TaskManager_Expecter

func (*TaskManager) GetName added in v0.4.0

func (_mock *TaskManager) GetName() string

GetName provides a mock function for the type TaskManager

func (*TaskManager) GetOrphanTasks added in v0.21.0

GetOrphanTasks provides a mock function for the type TaskManager

func (*TaskManager) GetTaskList added in v1.2.15

GetTaskList provides a mock function for the type TaskManager

func (*TaskManager) GetTaskListSize added in v1.2.6

GetTaskListSize provides a mock function for the type TaskManager

func (*TaskManager) GetTasks

GetTasks provides a mock function for the type TaskManager

func (*TaskManager) LeaseTaskList

LeaseTaskList provides a mock function for the type TaskManager

func (*TaskManager) ListTaskList added in v0.5.7

ListTaskList provides a mock function for the type TaskManager

func (*TaskManager) UpdateTaskList

UpdateTaskList provides a mock function for the type TaskManager

type TaskManager_Close_Call added in v1.4.1

type TaskManager_Close_Call struct {
	*mock.Call
}

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

func (*TaskManager_Close_Call) Return added in v1.4.1

func (*TaskManager_Close_Call) Run added in v1.4.1

func (_c *TaskManager_Close_Call) Run(run func()) *TaskManager_Close_Call

func (*TaskManager_Close_Call) RunAndReturn added in v1.4.1

func (_c *TaskManager_Close_Call) RunAndReturn(run func()) *TaskManager_Close_Call

type TaskManager_CompleteTask_Call added in v1.4.1

type TaskManager_CompleteTask_Call struct {
	*mock.Call
}

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

func (*TaskManager_CompleteTask_Call) Return added in v1.4.1

func (*TaskManager_CompleteTask_Call) Run added in v1.4.1

func (*TaskManager_CompleteTask_Call) RunAndReturn added in v1.4.1

type TaskManager_CompleteTasksLessThan_Call added in v1.4.1

type TaskManager_CompleteTasksLessThan_Call struct {
	*mock.Call
}

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

func (*TaskManager_CompleteTasksLessThan_Call) Return added in v1.4.1

func (*TaskManager_CompleteTasksLessThan_Call) Run added in v1.4.1

func (*TaskManager_CompleteTasksLessThan_Call) RunAndReturn added in v1.4.1

type TaskManager_CreateTasks_Call added in v1.4.1

type TaskManager_CreateTasks_Call struct {
	*mock.Call
}

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

func (*TaskManager_CreateTasks_Call) Return added in v1.4.1

func (*TaskManager_CreateTasks_Call) Run added in v1.4.1

func (*TaskManager_CreateTasks_Call) RunAndReturn added in v1.4.1

type TaskManager_DeleteTaskList_Call added in v1.4.1

type TaskManager_DeleteTaskList_Call struct {
	*mock.Call
}

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

func (*TaskManager_DeleteTaskList_Call) Return added in v1.4.1

func (*TaskManager_DeleteTaskList_Call) Run added in v1.4.1

func (*TaskManager_DeleteTaskList_Call) RunAndReturn added in v1.4.1

type TaskManager_Expecter added in v1.4.1

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

func (*TaskManager_Expecter) Close added in v1.4.1

Close is a helper method to define mock.On call

func (*TaskManager_Expecter) CompleteTask added in v1.4.1

func (_e *TaskManager_Expecter) CompleteTask(ctx interface{}, request interface{}) *TaskManager_CompleteTask_Call

CompleteTask is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.CompleteTaskRequest

func (*TaskManager_Expecter) CompleteTasksLessThan added in v1.4.1

func (_e *TaskManager_Expecter) CompleteTasksLessThan(ctx interface{}, request interface{}) *TaskManager_CompleteTasksLessThan_Call

CompleteTasksLessThan is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.CompleteTasksLessThanRequest

func (*TaskManager_Expecter) CreateTasks added in v1.4.1

func (_e *TaskManager_Expecter) CreateTasks(ctx interface{}, request interface{}) *TaskManager_CreateTasks_Call

CreateTasks is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.CreateTasksRequest

func (*TaskManager_Expecter) DeleteTaskList added in v1.4.1

func (_e *TaskManager_Expecter) DeleteTaskList(ctx interface{}, request interface{}) *TaskManager_DeleteTaskList_Call

DeleteTaskList is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.DeleteTaskListRequest

func (*TaskManager_Expecter) GetName added in v1.4.1

GetName is a helper method to define mock.On call

func (*TaskManager_Expecter) GetOrphanTasks added in v1.4.1

func (_e *TaskManager_Expecter) GetOrphanTasks(ctx interface{}, request interface{}) *TaskManager_GetOrphanTasks_Call

GetOrphanTasks is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.GetOrphanTasksRequest

func (*TaskManager_Expecter) GetTaskList added in v1.4.1

func (_e *TaskManager_Expecter) GetTaskList(ctx interface{}, request interface{}) *TaskManager_GetTaskList_Call

GetTaskList is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.GetTaskListRequest

func (*TaskManager_Expecter) GetTaskListSize added in v1.4.1

func (_e *TaskManager_Expecter) GetTaskListSize(ctx interface{}, request interface{}) *TaskManager_GetTaskListSize_Call

GetTaskListSize is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.GetTaskListSizeRequest

func (*TaskManager_Expecter) GetTasks added in v1.4.1

func (_e *TaskManager_Expecter) GetTasks(ctx interface{}, request interface{}) *TaskManager_GetTasks_Call

GetTasks is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.GetTasksRequest

func (*TaskManager_Expecter) LeaseTaskList added in v1.4.1

func (_e *TaskManager_Expecter) LeaseTaskList(ctx interface{}, request interface{}) *TaskManager_LeaseTaskList_Call

LeaseTaskList is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.LeaseTaskListRequest

func (*TaskManager_Expecter) ListTaskList added in v1.4.1

func (_e *TaskManager_Expecter) ListTaskList(ctx interface{}, request interface{}) *TaskManager_ListTaskList_Call

ListTaskList is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ListTaskListRequest

func (*TaskManager_Expecter) UpdateTaskList added in v1.4.1

func (_e *TaskManager_Expecter) UpdateTaskList(ctx interface{}, request interface{}) *TaskManager_UpdateTaskList_Call

UpdateTaskList is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.UpdateTaskListRequest

type TaskManager_GetName_Call added in v1.4.1

type TaskManager_GetName_Call struct {
	*mock.Call
}

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

func (*TaskManager_GetName_Call) Return added in v1.4.1

func (*TaskManager_GetName_Call) Run added in v1.4.1

func (*TaskManager_GetName_Call) RunAndReturn added in v1.4.1

func (_c *TaskManager_GetName_Call) RunAndReturn(run func() string) *TaskManager_GetName_Call

type TaskManager_GetOrphanTasks_Call added in v1.4.1

type TaskManager_GetOrphanTasks_Call struct {
	*mock.Call
}

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

func (*TaskManager_GetOrphanTasks_Call) Return added in v1.4.1

func (*TaskManager_GetOrphanTasks_Call) Run added in v1.4.1

func (*TaskManager_GetOrphanTasks_Call) RunAndReturn added in v1.4.1

type TaskManager_GetTaskListSize_Call added in v1.4.1

type TaskManager_GetTaskListSize_Call struct {
	*mock.Call
}

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

func (*TaskManager_GetTaskListSize_Call) Return added in v1.4.1

func (*TaskManager_GetTaskListSize_Call) Run added in v1.4.1

func (*TaskManager_GetTaskListSize_Call) RunAndReturn added in v1.4.1

type TaskManager_GetTaskList_Call added in v1.4.1

type TaskManager_GetTaskList_Call struct {
	*mock.Call
}

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

func (*TaskManager_GetTaskList_Call) Return added in v1.4.1

func (*TaskManager_GetTaskList_Call) Run added in v1.4.1

func (*TaskManager_GetTaskList_Call) RunAndReturn added in v1.4.1

type TaskManager_GetTasks_Call added in v1.4.1

type TaskManager_GetTasks_Call struct {
	*mock.Call
}

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

func (*TaskManager_GetTasks_Call) Return added in v1.4.1

func (*TaskManager_GetTasks_Call) Run added in v1.4.1

func (*TaskManager_GetTasks_Call) RunAndReturn added in v1.4.1

type TaskManager_LeaseTaskList_Call added in v1.4.1

type TaskManager_LeaseTaskList_Call struct {
	*mock.Call
}

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

func (*TaskManager_LeaseTaskList_Call) Return added in v1.4.1

func (*TaskManager_LeaseTaskList_Call) Run added in v1.4.1

func (*TaskManager_LeaseTaskList_Call) RunAndReturn added in v1.4.1

type TaskManager_ListTaskList_Call added in v1.4.1

type TaskManager_ListTaskList_Call struct {
	*mock.Call
}

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

func (*TaskManager_ListTaskList_Call) Return added in v1.4.1

func (*TaskManager_ListTaskList_Call) Run added in v1.4.1

func (*TaskManager_ListTaskList_Call) RunAndReturn added in v1.4.1

type TaskManager_UpdateTaskList_Call added in v1.4.1

type TaskManager_UpdateTaskList_Call struct {
	*mock.Call
}

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

func (*TaskManager_UpdateTaskList_Call) Return added in v1.4.1

func (*TaskManager_UpdateTaskList_Call) Run added in v1.4.1

func (*TaskManager_UpdateTaskList_Call) RunAndReturn added in v1.4.1

type VisibilityManager

type VisibilityManager struct {
	mock.Mock
}

VisibilityManager is an autogenerated mock type for the VisibilityManager type

func NewVisibilityManager added in v1.2.11

func NewVisibilityManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *VisibilityManager

NewVisibilityManager creates a new instance of VisibilityManager. 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 (*VisibilityManager) Close

func (_mock *VisibilityManager) Close()

Close provides a mock function for the type VisibilityManager

func (*VisibilityManager) CountWorkflowExecutions added in v0.5.8

CountWorkflowExecutions provides a mock function for the type VisibilityManager

func (*VisibilityManager) DeleteUninitializedWorkflowExecution added in v1.0.0

func (_mock *VisibilityManager) DeleteUninitializedWorkflowExecution(ctx context.Context, request *persistence.VisibilityDeleteWorkflowExecutionRequest) error

DeleteUninitializedWorkflowExecution provides a mock function for the type VisibilityManager

func (*VisibilityManager) DeleteWorkflowExecution added in v0.5.7

func (_mock *VisibilityManager) DeleteWorkflowExecution(ctx context.Context, request *persistence.VisibilityDeleteWorkflowExecutionRequest) error

DeleteWorkflowExecution provides a mock function for the type VisibilityManager

func (*VisibilityManager) EXPECT added in v1.4.1

func (*VisibilityManager) GetClosedWorkflowExecution

GetClosedWorkflowExecution provides a mock function for the type VisibilityManager

func (*VisibilityManager) GetName added in v0.4.0

func (_mock *VisibilityManager) GetName() string

GetName provides a mock function for the type VisibilityManager

func (*VisibilityManager) ListClosedWorkflowExecutions

ListClosedWorkflowExecutions provides a mock function for the type VisibilityManager

func (*VisibilityManager) ListClosedWorkflowExecutionsByStatus

ListClosedWorkflowExecutionsByStatus provides a mock function for the type VisibilityManager

func (*VisibilityManager) ListClosedWorkflowExecutionsByType

ListClosedWorkflowExecutionsByType provides a mock function for the type VisibilityManager

func (*VisibilityManager) ListClosedWorkflowExecutionsByWorkflowID

ListClosedWorkflowExecutionsByWorkflowID provides a mock function for the type VisibilityManager

func (*VisibilityManager) ListOpenWorkflowExecutions

ListOpenWorkflowExecutions provides a mock function for the type VisibilityManager

func (*VisibilityManager) ListOpenWorkflowExecutionsByType

ListOpenWorkflowExecutionsByType provides a mock function for the type VisibilityManager

func (*VisibilityManager) ListOpenWorkflowExecutionsByWorkflowID

ListOpenWorkflowExecutionsByWorkflowID provides a mock function for the type VisibilityManager

func (*VisibilityManager) ListWorkflowExecutions added in v0.5.7

ListWorkflowExecutions provides a mock function for the type VisibilityManager

func (*VisibilityManager) RecordWorkflowExecutionClosed

func (_mock *VisibilityManager) RecordWorkflowExecutionClosed(ctx context.Context, request *persistence.RecordWorkflowExecutionClosedRequest) error

RecordWorkflowExecutionClosed provides a mock function for the type VisibilityManager

func (*VisibilityManager) RecordWorkflowExecutionStarted

func (_mock *VisibilityManager) RecordWorkflowExecutionStarted(ctx context.Context, request *persistence.RecordWorkflowExecutionStartedRequest) error

RecordWorkflowExecutionStarted provides a mock function for the type VisibilityManager

func (*VisibilityManager) RecordWorkflowExecutionUninitialized added in v0.25.0

func (_mock *VisibilityManager) RecordWorkflowExecutionUninitialized(ctx context.Context, request *persistence.RecordWorkflowExecutionUninitializedRequest) error

RecordWorkflowExecutionUninitialized provides a mock function for the type VisibilityManager

func (*VisibilityManager) ScanWorkflowExecutions added in v0.5.8

ScanWorkflowExecutions provides a mock function for the type VisibilityManager

func (*VisibilityManager) UpsertWorkflowExecution added in v0.6.0

func (_mock *VisibilityManager) UpsertWorkflowExecution(ctx context.Context, request *persistence.UpsertWorkflowExecutionRequest) error

UpsertWorkflowExecution provides a mock function for the type VisibilityManager

type VisibilityManager_Close_Call added in v1.4.1

type VisibilityManager_Close_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_Close_Call) Return added in v1.4.1

func (*VisibilityManager_Close_Call) Run added in v1.4.1

func (*VisibilityManager_Close_Call) RunAndReturn added in v1.4.1

func (_c *VisibilityManager_Close_Call) RunAndReturn(run func()) *VisibilityManager_Close_Call

type VisibilityManager_CountWorkflowExecutions_Call added in v1.4.1

type VisibilityManager_CountWorkflowExecutions_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_CountWorkflowExecutions_Call) Return added in v1.4.1

func (*VisibilityManager_CountWorkflowExecutions_Call) Run added in v1.4.1

type VisibilityManager_DeleteUninitializedWorkflowExecution_Call added in v1.4.1

type VisibilityManager_DeleteUninitializedWorkflowExecution_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_DeleteUninitializedWorkflowExecution_Call) Return added in v1.4.1

func (*VisibilityManager_DeleteUninitializedWorkflowExecution_Call) Run added in v1.4.1

func (*VisibilityManager_DeleteUninitializedWorkflowExecution_Call) RunAndReturn added in v1.4.1

type VisibilityManager_DeleteWorkflowExecution_Call added in v1.4.1

type VisibilityManager_DeleteWorkflowExecution_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_DeleteWorkflowExecution_Call) Return added in v1.4.1

func (*VisibilityManager_DeleteWorkflowExecution_Call) Run added in v1.4.1

func (*VisibilityManager_DeleteWorkflowExecution_Call) RunAndReturn added in v1.4.1

type VisibilityManager_Expecter added in v1.4.1

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

func (*VisibilityManager_Expecter) Close added in v1.4.1

Close is a helper method to define mock.On call

func (*VisibilityManager_Expecter) CountWorkflowExecutions added in v1.4.1

func (_e *VisibilityManager_Expecter) CountWorkflowExecutions(ctx interface{}, request interface{}) *VisibilityManager_CountWorkflowExecutions_Call

CountWorkflowExecutions is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.CountWorkflowExecutionsRequest

func (*VisibilityManager_Expecter) DeleteUninitializedWorkflowExecution added in v1.4.1

func (_e *VisibilityManager_Expecter) DeleteUninitializedWorkflowExecution(ctx interface{}, request interface{}) *VisibilityManager_DeleteUninitializedWorkflowExecution_Call

DeleteUninitializedWorkflowExecution is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.VisibilityDeleteWorkflowExecutionRequest

func (*VisibilityManager_Expecter) DeleteWorkflowExecution added in v1.4.1

func (_e *VisibilityManager_Expecter) DeleteWorkflowExecution(ctx interface{}, request interface{}) *VisibilityManager_DeleteWorkflowExecution_Call

DeleteWorkflowExecution is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.VisibilityDeleteWorkflowExecutionRequest

func (*VisibilityManager_Expecter) GetClosedWorkflowExecution added in v1.4.1

func (_e *VisibilityManager_Expecter) GetClosedWorkflowExecution(ctx interface{}, request interface{}) *VisibilityManager_GetClosedWorkflowExecution_Call

GetClosedWorkflowExecution is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.GetClosedWorkflowExecutionRequest

func (*VisibilityManager_Expecter) GetName added in v1.4.1

GetName is a helper method to define mock.On call

func (*VisibilityManager_Expecter) ListClosedWorkflowExecutions added in v1.4.1

func (_e *VisibilityManager_Expecter) ListClosedWorkflowExecutions(ctx interface{}, request interface{}) *VisibilityManager_ListClosedWorkflowExecutions_Call

ListClosedWorkflowExecutions is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ListWorkflowExecutionsRequest

func (*VisibilityManager_Expecter) ListClosedWorkflowExecutionsByStatus added in v1.4.1

func (_e *VisibilityManager_Expecter) ListClosedWorkflowExecutionsByStatus(ctx interface{}, request interface{}) *VisibilityManager_ListClosedWorkflowExecutionsByStatus_Call

ListClosedWorkflowExecutionsByStatus is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ListClosedWorkflowExecutionsByStatusRequest

func (*VisibilityManager_Expecter) ListClosedWorkflowExecutionsByType added in v1.4.1

func (_e *VisibilityManager_Expecter) ListClosedWorkflowExecutionsByType(ctx interface{}, request interface{}) *VisibilityManager_ListClosedWorkflowExecutionsByType_Call

ListClosedWorkflowExecutionsByType is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ListWorkflowExecutionsByTypeRequest

func (*VisibilityManager_Expecter) ListClosedWorkflowExecutionsByWorkflowID added in v1.4.1

func (_e *VisibilityManager_Expecter) ListClosedWorkflowExecutionsByWorkflowID(ctx interface{}, request interface{}) *VisibilityManager_ListClosedWorkflowExecutionsByWorkflowID_Call

ListClosedWorkflowExecutionsByWorkflowID is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ListWorkflowExecutionsByWorkflowIDRequest

func (*VisibilityManager_Expecter) ListOpenWorkflowExecutions added in v1.4.1

func (_e *VisibilityManager_Expecter) ListOpenWorkflowExecutions(ctx interface{}, request interface{}) *VisibilityManager_ListOpenWorkflowExecutions_Call

ListOpenWorkflowExecutions is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ListWorkflowExecutionsRequest

func (*VisibilityManager_Expecter) ListOpenWorkflowExecutionsByType added in v1.4.1

func (_e *VisibilityManager_Expecter) ListOpenWorkflowExecutionsByType(ctx interface{}, request interface{}) *VisibilityManager_ListOpenWorkflowExecutionsByType_Call

ListOpenWorkflowExecutionsByType is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ListWorkflowExecutionsByTypeRequest

func (*VisibilityManager_Expecter) ListOpenWorkflowExecutionsByWorkflowID added in v1.4.1

func (_e *VisibilityManager_Expecter) ListOpenWorkflowExecutionsByWorkflowID(ctx interface{}, request interface{}) *VisibilityManager_ListOpenWorkflowExecutionsByWorkflowID_Call

ListOpenWorkflowExecutionsByWorkflowID is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ListWorkflowExecutionsByWorkflowIDRequest

func (*VisibilityManager_Expecter) ListWorkflowExecutions added in v1.4.1

func (_e *VisibilityManager_Expecter) ListWorkflowExecutions(ctx interface{}, request interface{}) *VisibilityManager_ListWorkflowExecutions_Call

ListWorkflowExecutions is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ListWorkflowExecutionsByQueryRequest

func (*VisibilityManager_Expecter) RecordWorkflowExecutionClosed added in v1.4.1

func (_e *VisibilityManager_Expecter) RecordWorkflowExecutionClosed(ctx interface{}, request interface{}) *VisibilityManager_RecordWorkflowExecutionClosed_Call

RecordWorkflowExecutionClosed is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.RecordWorkflowExecutionClosedRequest

func (*VisibilityManager_Expecter) RecordWorkflowExecutionStarted added in v1.4.1

func (_e *VisibilityManager_Expecter) RecordWorkflowExecutionStarted(ctx interface{}, request interface{}) *VisibilityManager_RecordWorkflowExecutionStarted_Call

RecordWorkflowExecutionStarted is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.RecordWorkflowExecutionStartedRequest

func (*VisibilityManager_Expecter) RecordWorkflowExecutionUninitialized added in v1.4.1

func (_e *VisibilityManager_Expecter) RecordWorkflowExecutionUninitialized(ctx interface{}, request interface{}) *VisibilityManager_RecordWorkflowExecutionUninitialized_Call

RecordWorkflowExecutionUninitialized is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.RecordWorkflowExecutionUninitializedRequest

func (*VisibilityManager_Expecter) ScanWorkflowExecutions added in v1.4.1

func (_e *VisibilityManager_Expecter) ScanWorkflowExecutions(ctx interface{}, request interface{}) *VisibilityManager_ScanWorkflowExecutions_Call

ScanWorkflowExecutions is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.ListWorkflowExecutionsByQueryRequest

func (*VisibilityManager_Expecter) UpsertWorkflowExecution added in v1.4.1

func (_e *VisibilityManager_Expecter) UpsertWorkflowExecution(ctx interface{}, request interface{}) *VisibilityManager_UpsertWorkflowExecution_Call

UpsertWorkflowExecution is a helper method to define mock.On call

  • ctx context.Context
  • request *persistence.UpsertWorkflowExecutionRequest

type VisibilityManager_GetClosedWorkflowExecution_Call added in v1.4.1

type VisibilityManager_GetClosedWorkflowExecution_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_GetClosedWorkflowExecution_Call) Return added in v1.4.1

func (*VisibilityManager_GetClosedWorkflowExecution_Call) Run added in v1.4.1

type VisibilityManager_GetName_Call added in v1.4.1

type VisibilityManager_GetName_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_GetName_Call) Return added in v1.4.1

func (*VisibilityManager_GetName_Call) Run added in v1.4.1

func (*VisibilityManager_GetName_Call) RunAndReturn added in v1.4.1

type VisibilityManager_ListClosedWorkflowExecutionsByStatus_Call added in v1.4.1

type VisibilityManager_ListClosedWorkflowExecutionsByStatus_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_ListClosedWorkflowExecutionsByStatus_Call) Return added in v1.4.1

func (*VisibilityManager_ListClosedWorkflowExecutionsByStatus_Call) Run added in v1.4.1

type VisibilityManager_ListClosedWorkflowExecutionsByType_Call added in v1.4.1

type VisibilityManager_ListClosedWorkflowExecutionsByType_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_ListClosedWorkflowExecutionsByType_Call) Return added in v1.4.1

func (*VisibilityManager_ListClosedWorkflowExecutionsByType_Call) Run added in v1.4.1

type VisibilityManager_ListClosedWorkflowExecutionsByWorkflowID_Call added in v1.4.1

type VisibilityManager_ListClosedWorkflowExecutionsByWorkflowID_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_ListClosedWorkflowExecutionsByWorkflowID_Call) Return added in v1.4.1

func (*VisibilityManager_ListClosedWorkflowExecutionsByWorkflowID_Call) Run added in v1.4.1

type VisibilityManager_ListClosedWorkflowExecutions_Call added in v1.4.1

type VisibilityManager_ListClosedWorkflowExecutions_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_ListClosedWorkflowExecutions_Call) Return added in v1.4.1

func (*VisibilityManager_ListClosedWorkflowExecutions_Call) Run added in v1.4.1

type VisibilityManager_ListOpenWorkflowExecutionsByType_Call added in v1.4.1

type VisibilityManager_ListOpenWorkflowExecutionsByType_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_ListOpenWorkflowExecutionsByType_Call) Return added in v1.4.1

func (*VisibilityManager_ListOpenWorkflowExecutionsByType_Call) Run added in v1.4.1

type VisibilityManager_ListOpenWorkflowExecutionsByWorkflowID_Call added in v1.4.1

type VisibilityManager_ListOpenWorkflowExecutionsByWorkflowID_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_ListOpenWorkflowExecutionsByWorkflowID_Call) Return added in v1.4.1

func (*VisibilityManager_ListOpenWorkflowExecutionsByWorkflowID_Call) Run added in v1.4.1

type VisibilityManager_ListOpenWorkflowExecutions_Call added in v1.4.1

type VisibilityManager_ListOpenWorkflowExecutions_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_ListOpenWorkflowExecutions_Call) Return added in v1.4.1

func (*VisibilityManager_ListOpenWorkflowExecutions_Call) Run added in v1.4.1

type VisibilityManager_ListWorkflowExecutions_Call added in v1.4.1

type VisibilityManager_ListWorkflowExecutions_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_ListWorkflowExecutions_Call) Return added in v1.4.1

func (*VisibilityManager_ListWorkflowExecutions_Call) Run added in v1.4.1

type VisibilityManager_RecordWorkflowExecutionClosed_Call added in v1.4.1

type VisibilityManager_RecordWorkflowExecutionClosed_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_RecordWorkflowExecutionClosed_Call) Return added in v1.4.1

func (*VisibilityManager_RecordWorkflowExecutionClosed_Call) Run added in v1.4.1

func (*VisibilityManager_RecordWorkflowExecutionClosed_Call) RunAndReturn added in v1.4.1

type VisibilityManager_RecordWorkflowExecutionStarted_Call added in v1.4.1

type VisibilityManager_RecordWorkflowExecutionStarted_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_RecordWorkflowExecutionStarted_Call) Return added in v1.4.1

func (*VisibilityManager_RecordWorkflowExecutionStarted_Call) Run added in v1.4.1

func (*VisibilityManager_RecordWorkflowExecutionStarted_Call) RunAndReturn added in v1.4.1

type VisibilityManager_RecordWorkflowExecutionUninitialized_Call added in v1.4.1

type VisibilityManager_RecordWorkflowExecutionUninitialized_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_RecordWorkflowExecutionUninitialized_Call) Return added in v1.4.1

func (*VisibilityManager_RecordWorkflowExecutionUninitialized_Call) Run added in v1.4.1

func (*VisibilityManager_RecordWorkflowExecutionUninitialized_Call) RunAndReturn added in v1.4.1

type VisibilityManager_ScanWorkflowExecutions_Call added in v1.4.1

type VisibilityManager_ScanWorkflowExecutions_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_ScanWorkflowExecutions_Call) Return added in v1.4.1

func (*VisibilityManager_ScanWorkflowExecutions_Call) Run added in v1.4.1

type VisibilityManager_UpsertWorkflowExecution_Call added in v1.4.1

type VisibilityManager_UpsertWorkflowExecution_Call struct {
	*mock.Call
}

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

func (*VisibilityManager_UpsertWorkflowExecution_Call) Return added in v1.4.1

func (*VisibilityManager_UpsertWorkflowExecution_Call) Run added in v1.4.1

func (*VisibilityManager_UpsertWorkflowExecution_Call) RunAndReturn added in v1.4.1

Jump to

Keyboard shortcuts

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