mock

package
v1.26.2-125.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClusterMetadataStore

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

MockClusterMetadataStore is a mock of ClusterMetadataStore interface.

func NewMockClusterMetadataStore

func NewMockClusterMetadataStore(ctrl *gomock.Controller) *MockClusterMetadataStore

NewMockClusterMetadataStore creates a new mock instance.

func (*MockClusterMetadataStore) Close

func (m *MockClusterMetadataStore) Close()

Close mocks base method.

func (*MockClusterMetadataStore) DeleteClusterMetadata added in v1.14.0

DeleteClusterMetadata mocks base method.

func (*MockClusterMetadataStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClusterMetadataStore) GetClusterMembers

GetClusterMembers mocks base method.

func (*MockClusterMetadataStore) GetClusterMetadata

GetClusterMetadata mocks base method.

func (*MockClusterMetadataStore) GetName

func (m *MockClusterMetadataStore) GetName() string

GetName mocks base method.

func (*MockClusterMetadataStore) ListClusterMetadata added in v1.14.0

ListClusterMetadata mocks base method.

func (*MockClusterMetadataStore) PruneClusterMembership

PruneClusterMembership mocks base method.

func (*MockClusterMetadataStore) SaveClusterMetadata

SaveClusterMetadata mocks base method.

func (*MockClusterMetadataStore) UpsertClusterMembership

func (m *MockClusterMetadataStore) UpsertClusterMembership(ctx context.Context, request *persistence.UpsertClusterMembershipRequest) error

UpsertClusterMembership mocks base method.

type MockClusterMetadataStoreMockRecorder

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

MockClusterMetadataStoreMockRecorder is the mock recorder for MockClusterMetadataStore.

func (*MockClusterMetadataStoreMockRecorder) Close

Close indicates an expected call of Close.

func (*MockClusterMetadataStoreMockRecorder) DeleteClusterMetadata added in v1.14.0

func (mr *MockClusterMetadataStoreMockRecorder) DeleteClusterMetadata(ctx, request any) *gomock.Call

DeleteClusterMetadata indicates an expected call of DeleteClusterMetadata.

func (*MockClusterMetadataStoreMockRecorder) GetClusterMembers

func (mr *MockClusterMetadataStoreMockRecorder) GetClusterMembers(ctx, request any) *gomock.Call

GetClusterMembers indicates an expected call of GetClusterMembers.

func (*MockClusterMetadataStoreMockRecorder) GetClusterMetadata

func (mr *MockClusterMetadataStoreMockRecorder) GetClusterMetadata(ctx, request any) *gomock.Call

GetClusterMetadata indicates an expected call of GetClusterMetadata.

func (*MockClusterMetadataStoreMockRecorder) GetName

GetName indicates an expected call of GetName.

func (*MockClusterMetadataStoreMockRecorder) ListClusterMetadata added in v1.14.0

func (mr *MockClusterMetadataStoreMockRecorder) ListClusterMetadata(ctx, request any) *gomock.Call

ListClusterMetadata indicates an expected call of ListClusterMetadata.

func (*MockClusterMetadataStoreMockRecorder) PruneClusterMembership

func (mr *MockClusterMetadataStoreMockRecorder) PruneClusterMembership(ctx, request any) *gomock.Call

PruneClusterMembership indicates an expected call of PruneClusterMembership.

func (*MockClusterMetadataStoreMockRecorder) SaveClusterMetadata

func (mr *MockClusterMetadataStoreMockRecorder) SaveClusterMetadata(ctx, request any) *gomock.Call

SaveClusterMetadata indicates an expected call of SaveClusterMetadata.

func (*MockClusterMetadataStoreMockRecorder) UpsertClusterMembership

func (mr *MockClusterMetadataStoreMockRecorder) UpsertClusterMembership(ctx, request any) *gomock.Call

UpsertClusterMembership indicates an expected call of UpsertClusterMembership.

type MockDataStoreFactory added in v1.24.0

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

MockDataStoreFactory is a mock of DataStoreFactory interface.

func NewMockDataStoreFactory added in v1.24.0

func NewMockDataStoreFactory(ctrl *gomock.Controller) *MockDataStoreFactory

NewMockDataStoreFactory creates a new mock instance.

func (*MockDataStoreFactory) Close added in v1.24.0

func (m *MockDataStoreFactory) Close()

Close mocks base method.

func (*MockDataStoreFactory) EXPECT added in v1.24.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDataStoreFactory) NewClusterMetadataStore added in v1.24.0

func (m *MockDataStoreFactory) NewClusterMetadataStore() (persistence.ClusterMetadataStore, error)

NewClusterMetadataStore mocks base method.

func (*MockDataStoreFactory) NewExecutionStore added in v1.24.0

func (m *MockDataStoreFactory) NewExecutionStore() (persistence.ExecutionStore, error)

NewExecutionStore mocks base method.

func (*MockDataStoreFactory) NewMetadataStore added in v1.24.0

func (m *MockDataStoreFactory) NewMetadataStore() (persistence.MetadataStore, error)

NewMetadataStore mocks base method.

func (*MockDataStoreFactory) NewNexusEndpointStore added in v1.25.0

func (m *MockDataStoreFactory) NewNexusEndpointStore() (persistence.NexusEndpointStore, error)

NewNexusEndpointStore mocks base method.

func (*MockDataStoreFactory) NewQueue added in v1.24.0

NewQueue mocks base method.

func (*MockDataStoreFactory) NewQueueV2 added in v1.24.0

func (m *MockDataStoreFactory) NewQueueV2() (persistence.QueueV2, error)

NewQueueV2 mocks base method.

func (*MockDataStoreFactory) NewShardStore added in v1.24.0

func (m *MockDataStoreFactory) NewShardStore() (persistence.ShardStore, error)

NewShardStore mocks base method.

func (*MockDataStoreFactory) NewTaskStore added in v1.24.0

func (m *MockDataStoreFactory) NewTaskStore() (persistence.TaskStore, error)

NewTaskStore mocks base method.

type MockDataStoreFactoryMockRecorder added in v1.24.0

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

MockDataStoreFactoryMockRecorder is the mock recorder for MockDataStoreFactory.

func (*MockDataStoreFactoryMockRecorder) Close added in v1.24.0

Close indicates an expected call of Close.

func (*MockDataStoreFactoryMockRecorder) NewClusterMetadataStore added in v1.24.0

func (mr *MockDataStoreFactoryMockRecorder) NewClusterMetadataStore() *gomock.Call

NewClusterMetadataStore indicates an expected call of NewClusterMetadataStore.

func (*MockDataStoreFactoryMockRecorder) NewExecutionStore added in v1.24.0

func (mr *MockDataStoreFactoryMockRecorder) NewExecutionStore() *gomock.Call

NewExecutionStore indicates an expected call of NewExecutionStore.

func (*MockDataStoreFactoryMockRecorder) NewMetadataStore added in v1.24.0

func (mr *MockDataStoreFactoryMockRecorder) NewMetadataStore() *gomock.Call

NewMetadataStore indicates an expected call of NewMetadataStore.

func (*MockDataStoreFactoryMockRecorder) NewNexusEndpointStore added in v1.25.0

func (mr *MockDataStoreFactoryMockRecorder) NewNexusEndpointStore() *gomock.Call

NewNexusEndpointStore indicates an expected call of NewNexusEndpointStore.

func (*MockDataStoreFactoryMockRecorder) NewQueue added in v1.24.0

func (mr *MockDataStoreFactoryMockRecorder) NewQueue(queueType any) *gomock.Call

NewQueue indicates an expected call of NewQueue.

func (*MockDataStoreFactoryMockRecorder) NewQueueV2 added in v1.24.0

func (mr *MockDataStoreFactoryMockRecorder) NewQueueV2() *gomock.Call

NewQueueV2 indicates an expected call of NewQueueV2.

func (*MockDataStoreFactoryMockRecorder) NewShardStore added in v1.24.0

func (mr *MockDataStoreFactoryMockRecorder) NewShardStore() *gomock.Call

NewShardStore indicates an expected call of NewShardStore.

func (*MockDataStoreFactoryMockRecorder) NewTaskStore added in v1.24.0

func (mr *MockDataStoreFactoryMockRecorder) NewTaskStore() *gomock.Call

NewTaskStore indicates an expected call of NewTaskStore.

type MockExecutionStore

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

MockExecutionStore is a mock of ExecutionStore interface.

func NewMockExecutionStore

func NewMockExecutionStore(ctrl *gomock.Controller) *MockExecutionStore

NewMockExecutionStore creates a new mock instance.

func (*MockExecutionStore) AddHistoryTasks added in v1.16.0

AddHistoryTasks mocks base method.

func (*MockExecutionStore) AppendHistoryNodes added in v1.12.0

AppendHistoryNodes mocks base method.

func (*MockExecutionStore) Close

func (m *MockExecutionStore) Close()

Close mocks base method.

func (*MockExecutionStore) CompleteHistoryTask added in v1.16.0

func (m *MockExecutionStore) CompleteHistoryTask(ctx context.Context, request *persistence.CompleteHistoryTaskRequest) error

CompleteHistoryTask mocks base method.

func (*MockExecutionStore) ConflictResolveWorkflowExecution

func (m *MockExecutionStore) ConflictResolveWorkflowExecution(ctx context.Context, request *persistence.InternalConflictResolveWorkflowExecutionRequest) error

ConflictResolveWorkflowExecution mocks base method.

func (*MockExecutionStore) CreateWorkflowExecution

CreateWorkflowExecution mocks base method.

func (*MockExecutionStore) DeleteCurrentWorkflowExecution

func (m *MockExecutionStore) DeleteCurrentWorkflowExecution(ctx context.Context, request *persistence.DeleteCurrentWorkflowExecutionRequest) error

DeleteCurrentWorkflowExecution mocks base method.

func (*MockExecutionStore) DeleteHistoryBranch added in v1.12.0

DeleteHistoryBranch mocks base method.

func (*MockExecutionStore) DeleteHistoryNodes added in v1.12.0

DeleteHistoryNodes mocks base method.

func (*MockExecutionStore) DeleteReplicationTaskFromDLQ

func (m *MockExecutionStore) DeleteReplicationTaskFromDLQ(ctx context.Context, request *persistence.DeleteReplicationTaskFromDLQRequest) error

DeleteReplicationTaskFromDLQ mocks base method.

func (*MockExecutionStore) DeleteWorkflowExecution

func (m *MockExecutionStore) DeleteWorkflowExecution(ctx context.Context, request *persistence.DeleteWorkflowExecutionRequest) error

DeleteWorkflowExecution mocks base method.

func (*MockExecutionStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockExecutionStore) ForkHistoryBranch added in v1.12.0

ForkHistoryBranch mocks base method.

func (*MockExecutionStore) GetAllHistoryTreeBranches added in v1.12.0

GetAllHistoryTreeBranches mocks base method.

func (*MockExecutionStore) GetCurrentExecution

GetCurrentExecution mocks base method.

func (*MockExecutionStore) GetHistoryBranchUtil added in v1.21.0

func (m *MockExecutionStore) GetHistoryBranchUtil() persistence.HistoryBranchUtil

GetHistoryBranchUtil mocks base method.

func (*MockExecutionStore) GetHistoryTasks added in v1.16.0

GetHistoryTasks mocks base method.

func (*MockExecutionStore) GetHistoryTreeContainingBranch added in v1.24.0

GetHistoryTreeContainingBranch mocks base method.

func (*MockExecutionStore) GetName

func (m *MockExecutionStore) GetName() string

GetName mocks base method.

func (*MockExecutionStore) GetReplicationTasksFromDLQ

GetReplicationTasksFromDLQ mocks base method.

func (*MockExecutionStore) GetWorkflowExecution

GetWorkflowExecution mocks base method.

func (*MockExecutionStore) IsReplicationDLQEmpty added in v1.21.0

func (m *MockExecutionStore) IsReplicationDLQEmpty(ctx context.Context, request *persistence.GetReplicationTasksFromDLQRequest) (bool, error)

IsReplicationDLQEmpty mocks base method.

func (*MockExecutionStore) ListConcreteExecutions

ListConcreteExecutions mocks base method.

func (*MockExecutionStore) PutReplicationTaskToDLQ

func (m *MockExecutionStore) PutReplicationTaskToDLQ(ctx context.Context, request *persistence.PutReplicationTaskToDLQRequest) error

PutReplicationTaskToDLQ mocks base method.

func (*MockExecutionStore) RangeCompleteHistoryTasks added in v1.16.0

func (m *MockExecutionStore) RangeCompleteHistoryTasks(ctx context.Context, request *persistence.RangeCompleteHistoryTasksRequest) error

RangeCompleteHistoryTasks mocks base method.

func (*MockExecutionStore) RangeDeleteReplicationTaskFromDLQ

func (m *MockExecutionStore) RangeDeleteReplicationTaskFromDLQ(ctx context.Context, request *persistence.RangeDeleteReplicationTaskFromDLQRequest) error

RangeDeleteReplicationTaskFromDLQ mocks base method.

func (*MockExecutionStore) ReadHistoryBranch added in v1.12.0

ReadHistoryBranch mocks base method.

func (*MockExecutionStore) SetWorkflowExecution added in v1.16.0

SetWorkflowExecution mocks base method.

func (*MockExecutionStore) UpdateWorkflowExecution

UpdateWorkflowExecution mocks base method.

type MockExecutionStoreMockRecorder

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

MockExecutionStoreMockRecorder is the mock recorder for MockExecutionStore.

func (*MockExecutionStoreMockRecorder) AddHistoryTasks added in v1.16.0

func (mr *MockExecutionStoreMockRecorder) AddHistoryTasks(ctx, request any) *gomock.Call

AddHistoryTasks indicates an expected call of AddHistoryTasks.

func (*MockExecutionStoreMockRecorder) AppendHistoryNodes added in v1.12.0

func (mr *MockExecutionStoreMockRecorder) AppendHistoryNodes(ctx, request any) *gomock.Call

AppendHistoryNodes indicates an expected call of AppendHistoryNodes.

func (*MockExecutionStoreMockRecorder) Close

Close indicates an expected call of Close.

func (*MockExecutionStoreMockRecorder) CompleteHistoryTask added in v1.16.0

func (mr *MockExecutionStoreMockRecorder) CompleteHistoryTask(ctx, request any) *gomock.Call

CompleteHistoryTask indicates an expected call of CompleteHistoryTask.

func (*MockExecutionStoreMockRecorder) ConflictResolveWorkflowExecution

func (mr *MockExecutionStoreMockRecorder) ConflictResolveWorkflowExecution(ctx, request any) *gomock.Call

ConflictResolveWorkflowExecution indicates an expected call of ConflictResolveWorkflowExecution.

func (*MockExecutionStoreMockRecorder) CreateWorkflowExecution

func (mr *MockExecutionStoreMockRecorder) CreateWorkflowExecution(ctx, request any) *gomock.Call

CreateWorkflowExecution indicates an expected call of CreateWorkflowExecution.

func (*MockExecutionStoreMockRecorder) DeleteCurrentWorkflowExecution

func (mr *MockExecutionStoreMockRecorder) DeleteCurrentWorkflowExecution(ctx, request any) *gomock.Call

DeleteCurrentWorkflowExecution indicates an expected call of DeleteCurrentWorkflowExecution.

func (*MockExecutionStoreMockRecorder) DeleteHistoryBranch added in v1.12.0

func (mr *MockExecutionStoreMockRecorder) DeleteHistoryBranch(ctx, request any) *gomock.Call

DeleteHistoryBranch indicates an expected call of DeleteHistoryBranch.

func (*MockExecutionStoreMockRecorder) DeleteHistoryNodes added in v1.12.0

func (mr *MockExecutionStoreMockRecorder) DeleteHistoryNodes(ctx, request any) *gomock.Call

DeleteHistoryNodes indicates an expected call of DeleteHistoryNodes.

func (*MockExecutionStoreMockRecorder) DeleteReplicationTaskFromDLQ

func (mr *MockExecutionStoreMockRecorder) DeleteReplicationTaskFromDLQ(ctx, request any) *gomock.Call

DeleteReplicationTaskFromDLQ indicates an expected call of DeleteReplicationTaskFromDLQ.

func (*MockExecutionStoreMockRecorder) DeleteWorkflowExecution

func (mr *MockExecutionStoreMockRecorder) DeleteWorkflowExecution(ctx, request any) *gomock.Call

DeleteWorkflowExecution indicates an expected call of DeleteWorkflowExecution.

func (*MockExecutionStoreMockRecorder) ForkHistoryBranch added in v1.12.0

func (mr *MockExecutionStoreMockRecorder) ForkHistoryBranch(ctx, request any) *gomock.Call

ForkHistoryBranch indicates an expected call of ForkHistoryBranch.

func (*MockExecutionStoreMockRecorder) GetAllHistoryTreeBranches added in v1.12.0

func (mr *MockExecutionStoreMockRecorder) GetAllHistoryTreeBranches(ctx, request any) *gomock.Call

GetAllHistoryTreeBranches indicates an expected call of GetAllHistoryTreeBranches.

func (*MockExecutionStoreMockRecorder) GetCurrentExecution

func (mr *MockExecutionStoreMockRecorder) GetCurrentExecution(ctx, request any) *gomock.Call

GetCurrentExecution indicates an expected call of GetCurrentExecution.

func (*MockExecutionStoreMockRecorder) GetHistoryBranchUtil added in v1.21.0

func (mr *MockExecutionStoreMockRecorder) GetHistoryBranchUtil() *gomock.Call

GetHistoryBranchUtil indicates an expected call of GetHistoryBranchUtil.

func (*MockExecutionStoreMockRecorder) GetHistoryTasks added in v1.16.0

func (mr *MockExecutionStoreMockRecorder) GetHistoryTasks(ctx, request any) *gomock.Call

GetHistoryTasks indicates an expected call of GetHistoryTasks.

func (*MockExecutionStoreMockRecorder) GetHistoryTreeContainingBranch added in v1.24.0

func (mr *MockExecutionStoreMockRecorder) GetHistoryTreeContainingBranch(ctx, request any) *gomock.Call

GetHistoryTreeContainingBranch indicates an expected call of GetHistoryTreeContainingBranch.

func (*MockExecutionStoreMockRecorder) GetName

GetName indicates an expected call of GetName.

func (*MockExecutionStoreMockRecorder) GetReplicationTasksFromDLQ

func (mr *MockExecutionStoreMockRecorder) GetReplicationTasksFromDLQ(ctx, request any) *gomock.Call

GetReplicationTasksFromDLQ indicates an expected call of GetReplicationTasksFromDLQ.

func (*MockExecutionStoreMockRecorder) GetWorkflowExecution

func (mr *MockExecutionStoreMockRecorder) GetWorkflowExecution(ctx, request any) *gomock.Call

GetWorkflowExecution indicates an expected call of GetWorkflowExecution.

func (*MockExecutionStoreMockRecorder) IsReplicationDLQEmpty added in v1.21.0

func (mr *MockExecutionStoreMockRecorder) IsReplicationDLQEmpty(ctx, request any) *gomock.Call

IsReplicationDLQEmpty indicates an expected call of IsReplicationDLQEmpty.

func (*MockExecutionStoreMockRecorder) ListConcreteExecutions

func (mr *MockExecutionStoreMockRecorder) ListConcreteExecutions(ctx, request any) *gomock.Call

ListConcreteExecutions indicates an expected call of ListConcreteExecutions.

func (*MockExecutionStoreMockRecorder) PutReplicationTaskToDLQ

func (mr *MockExecutionStoreMockRecorder) PutReplicationTaskToDLQ(ctx, request any) *gomock.Call

PutReplicationTaskToDLQ indicates an expected call of PutReplicationTaskToDLQ.

func (*MockExecutionStoreMockRecorder) RangeCompleteHistoryTasks added in v1.16.0

func (mr *MockExecutionStoreMockRecorder) RangeCompleteHistoryTasks(ctx, request any) *gomock.Call

RangeCompleteHistoryTasks indicates an expected call of RangeCompleteHistoryTasks.

func (*MockExecutionStoreMockRecorder) RangeDeleteReplicationTaskFromDLQ

func (mr *MockExecutionStoreMockRecorder) RangeDeleteReplicationTaskFromDLQ(ctx, request any) *gomock.Call

RangeDeleteReplicationTaskFromDLQ indicates an expected call of RangeDeleteReplicationTaskFromDLQ.

func (*MockExecutionStoreMockRecorder) ReadHistoryBranch added in v1.12.0

func (mr *MockExecutionStoreMockRecorder) ReadHistoryBranch(ctx, request any) *gomock.Call

ReadHistoryBranch indicates an expected call of ReadHistoryBranch.

func (*MockExecutionStoreMockRecorder) SetWorkflowExecution added in v1.16.0

func (mr *MockExecutionStoreMockRecorder) SetWorkflowExecution(ctx, request any) *gomock.Call

SetWorkflowExecution indicates an expected call of SetWorkflowExecution.

func (*MockExecutionStoreMockRecorder) UpdateWorkflowExecution

func (mr *MockExecutionStoreMockRecorder) UpdateWorkflowExecution(ctx, request any) *gomock.Call

UpdateWorkflowExecution indicates an expected call of UpdateWorkflowExecution.

type MockMetadataStore

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

MockMetadataStore is a mock of MetadataStore interface.

func NewMockMetadataStore

func NewMockMetadataStore(ctrl *gomock.Controller) *MockMetadataStore

NewMockMetadataStore creates a new mock instance.

func (*MockMetadataStore) Close

func (m *MockMetadataStore) Close()

Close mocks base method.

func (*MockMetadataStore) CreateNamespace

CreateNamespace mocks base method.

func (*MockMetadataStore) DeleteNamespace

func (m *MockMetadataStore) DeleteNamespace(ctx context.Context, request *persistence.DeleteNamespaceRequest) error

DeleteNamespace mocks base method.

func (*MockMetadataStore) DeleteNamespaceByName

func (m *MockMetadataStore) DeleteNamespaceByName(ctx context.Context, request *persistence.DeleteNamespaceByNameRequest) error

DeleteNamespaceByName mocks base method.

func (*MockMetadataStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMetadataStore) GetMetadata

GetMetadata mocks base method.

func (*MockMetadataStore) GetName

func (m *MockMetadataStore) GetName() string

GetName mocks base method.

func (*MockMetadataStore) GetNamespace

GetNamespace mocks base method.

func (*MockMetadataStore) ListNamespaces

ListNamespaces mocks base method.

func (*MockMetadataStore) RenameNamespace added in v1.16.0

RenameNamespace mocks base method.

func (*MockMetadataStore) UpdateNamespace

UpdateNamespace mocks base method.

type MockMetadataStoreMockRecorder

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

MockMetadataStoreMockRecorder is the mock recorder for MockMetadataStore.

func (*MockMetadataStoreMockRecorder) Close

Close indicates an expected call of Close.

func (*MockMetadataStoreMockRecorder) CreateNamespace

func (mr *MockMetadataStoreMockRecorder) CreateNamespace(ctx, request any) *gomock.Call

CreateNamespace indicates an expected call of CreateNamespace.

func (*MockMetadataStoreMockRecorder) DeleteNamespace

func (mr *MockMetadataStoreMockRecorder) DeleteNamespace(ctx, request any) *gomock.Call

DeleteNamespace indicates an expected call of DeleteNamespace.

func (*MockMetadataStoreMockRecorder) DeleteNamespaceByName

func (mr *MockMetadataStoreMockRecorder) DeleteNamespaceByName(ctx, request any) *gomock.Call

DeleteNamespaceByName indicates an expected call of DeleteNamespaceByName.

func (*MockMetadataStoreMockRecorder) GetMetadata

func (mr *MockMetadataStoreMockRecorder) GetMetadata(ctx any) *gomock.Call

GetMetadata indicates an expected call of GetMetadata.

func (*MockMetadataStoreMockRecorder) GetName

func (mr *MockMetadataStoreMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName.

func (*MockMetadataStoreMockRecorder) GetNamespace

func (mr *MockMetadataStoreMockRecorder) GetNamespace(ctx, request any) *gomock.Call

GetNamespace indicates an expected call of GetNamespace.

func (*MockMetadataStoreMockRecorder) ListNamespaces

func (mr *MockMetadataStoreMockRecorder) ListNamespaces(ctx, request any) *gomock.Call

ListNamespaces indicates an expected call of ListNamespaces.

func (*MockMetadataStoreMockRecorder) RenameNamespace added in v1.16.0

func (mr *MockMetadataStoreMockRecorder) RenameNamespace(ctx, request any) *gomock.Call

RenameNamespace indicates an expected call of RenameNamespace.

func (*MockMetadataStoreMockRecorder) UpdateNamespace

func (mr *MockMetadataStoreMockRecorder) UpdateNamespace(ctx, request any) *gomock.Call

UpdateNamespace indicates an expected call of UpdateNamespace.

type MockNexusEndpointStore added in v1.25.0

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

MockNexusEndpointStore is a mock of NexusEndpointStore interface.

func NewMockNexusEndpointStore added in v1.25.0

func NewMockNexusEndpointStore(ctrl *gomock.Controller) *MockNexusEndpointStore

NewMockNexusEndpointStore creates a new mock instance.

func (*MockNexusEndpointStore) Close added in v1.25.0

func (m *MockNexusEndpointStore) Close()

Close mocks base method.

func (*MockNexusEndpointStore) CreateOrUpdateNexusEndpoint added in v1.25.0

CreateOrUpdateNexusEndpoint mocks base method.

func (*MockNexusEndpointStore) DeleteNexusEndpoint added in v1.25.0

func (m *MockNexusEndpointStore) DeleteNexusEndpoint(ctx context.Context, request *persistence.DeleteNexusEndpointRequest) error

DeleteNexusEndpoint mocks base method.

func (*MockNexusEndpointStore) EXPECT added in v1.25.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNexusEndpointStore) GetName added in v1.25.0

func (m *MockNexusEndpointStore) GetName() string

GetName mocks base method.

func (*MockNexusEndpointStore) GetNexusEndpoint added in v1.25.0

GetNexusEndpoint mocks base method.

func (*MockNexusEndpointStore) ListNexusEndpoints added in v1.25.0

ListNexusEndpoints mocks base method.

type MockNexusEndpointStoreMockRecorder added in v1.25.0

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

MockNexusEndpointStoreMockRecorder is the mock recorder for MockNexusEndpointStore.

func (*MockNexusEndpointStoreMockRecorder) Close added in v1.25.0

Close indicates an expected call of Close.

func (*MockNexusEndpointStoreMockRecorder) CreateOrUpdateNexusEndpoint added in v1.25.0

func (mr *MockNexusEndpointStoreMockRecorder) CreateOrUpdateNexusEndpoint(ctx, request any) *gomock.Call

CreateOrUpdateNexusEndpoint indicates an expected call of CreateOrUpdateNexusEndpoint.

func (*MockNexusEndpointStoreMockRecorder) DeleteNexusEndpoint added in v1.25.0

func (mr *MockNexusEndpointStoreMockRecorder) DeleteNexusEndpoint(ctx, request any) *gomock.Call

DeleteNexusEndpoint indicates an expected call of DeleteNexusEndpoint.

func (*MockNexusEndpointStoreMockRecorder) GetName added in v1.25.0

GetName indicates an expected call of GetName.

func (*MockNexusEndpointStoreMockRecorder) GetNexusEndpoint added in v1.25.0

func (mr *MockNexusEndpointStoreMockRecorder) GetNexusEndpoint(ctx, request any) *gomock.Call

GetNexusEndpoint indicates an expected call of GetNexusEndpoint.

func (*MockNexusEndpointStoreMockRecorder) ListNexusEndpoints added in v1.25.0

func (mr *MockNexusEndpointStoreMockRecorder) ListNexusEndpoints(ctx, request any) *gomock.Call

ListNexusEndpoints indicates an expected call of ListNexusEndpoints.

type MockQueue

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

MockQueue is a mock of Queue interface.

func NewMockQueue

func NewMockQueue(ctrl *gomock.Controller) *MockQueue

NewMockQueue creates a new mock instance.

func (*MockQueue) Close

func (m *MockQueue) Close()

Close mocks base method.

func (*MockQueue) DeleteMessageFromDLQ

func (m *MockQueue) DeleteMessageFromDLQ(ctx context.Context, messageID int64) error

DeleteMessageFromDLQ mocks base method.

func (*MockQueue) DeleteMessagesBefore

func (m *MockQueue) DeleteMessagesBefore(ctx context.Context, messageID int64) error

DeleteMessagesBefore mocks base method.

func (*MockQueue) EXPECT

func (m *MockQueue) EXPECT() *MockQueueMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockQueue) EnqueueMessage

func (m *MockQueue) EnqueueMessage(ctx context.Context, blob *common.DataBlob) error

EnqueueMessage mocks base method.

func (*MockQueue) EnqueueMessageToDLQ

func (m *MockQueue) EnqueueMessageToDLQ(ctx context.Context, blob *common.DataBlob) (int64, error)

EnqueueMessageToDLQ mocks base method.

func (*MockQueue) GetAckLevels

GetAckLevels mocks base method.

func (*MockQueue) GetDLQAckLevels

func (m *MockQueue) GetDLQAckLevels(ctx context.Context) (*persistence.InternalQueueMetadata, error)

GetDLQAckLevels mocks base method.

func (*MockQueue) Init

func (m *MockQueue) Init(ctx context.Context, blob *common.DataBlob) error

Init mocks base method.

func (*MockQueue) RangeDeleteMessagesFromDLQ

func (m *MockQueue) RangeDeleteMessagesFromDLQ(ctx context.Context, firstMessageID, lastMessageID int64) error

RangeDeleteMessagesFromDLQ mocks base method.

func (*MockQueue) ReadMessages

func (m *MockQueue) ReadMessages(ctx context.Context, lastMessageID int64, maxCount int) ([]*persistence.QueueMessage, error)

ReadMessages mocks base method.

func (*MockQueue) ReadMessagesFromDLQ

func (m *MockQueue) ReadMessagesFromDLQ(ctx context.Context, firstMessageID, lastMessageID int64, pageSize int, pageToken []byte) ([]*persistence.QueueMessage, []byte, error)

ReadMessagesFromDLQ mocks base method.

func (*MockQueue) UpdateAckLevel

func (m *MockQueue) UpdateAckLevel(ctx context.Context, metadata *persistence.InternalQueueMetadata) error

UpdateAckLevel mocks base method.

func (*MockQueue) UpdateDLQAckLevel

func (m *MockQueue) UpdateDLQAckLevel(ctx context.Context, metadata *persistence.InternalQueueMetadata) error

UpdateDLQAckLevel mocks base method.

type MockQueueMockRecorder

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

MockQueueMockRecorder is the mock recorder for MockQueue.

func (*MockQueueMockRecorder) Close

func (mr *MockQueueMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockQueueMockRecorder) DeleteMessageFromDLQ

func (mr *MockQueueMockRecorder) DeleteMessageFromDLQ(ctx, messageID any) *gomock.Call

DeleteMessageFromDLQ indicates an expected call of DeleteMessageFromDLQ.

func (*MockQueueMockRecorder) DeleteMessagesBefore

func (mr *MockQueueMockRecorder) DeleteMessagesBefore(ctx, messageID any) *gomock.Call

DeleteMessagesBefore indicates an expected call of DeleteMessagesBefore.

func (*MockQueueMockRecorder) EnqueueMessage

func (mr *MockQueueMockRecorder) EnqueueMessage(ctx, blob any) *gomock.Call

EnqueueMessage indicates an expected call of EnqueueMessage.

func (*MockQueueMockRecorder) EnqueueMessageToDLQ

func (mr *MockQueueMockRecorder) EnqueueMessageToDLQ(ctx, blob any) *gomock.Call

EnqueueMessageToDLQ indicates an expected call of EnqueueMessageToDLQ.

func (*MockQueueMockRecorder) GetAckLevels

func (mr *MockQueueMockRecorder) GetAckLevels(ctx any) *gomock.Call

GetAckLevels indicates an expected call of GetAckLevels.

func (*MockQueueMockRecorder) GetDLQAckLevels

func (mr *MockQueueMockRecorder) GetDLQAckLevels(ctx any) *gomock.Call

GetDLQAckLevels indicates an expected call of GetDLQAckLevels.

func (*MockQueueMockRecorder) Init

func (mr *MockQueueMockRecorder) Init(ctx, blob any) *gomock.Call

Init indicates an expected call of Init.

func (*MockQueueMockRecorder) RangeDeleteMessagesFromDLQ

func (mr *MockQueueMockRecorder) RangeDeleteMessagesFromDLQ(ctx, firstMessageID, lastMessageID any) *gomock.Call

RangeDeleteMessagesFromDLQ indicates an expected call of RangeDeleteMessagesFromDLQ.

func (*MockQueueMockRecorder) ReadMessages

func (mr *MockQueueMockRecorder) ReadMessages(ctx, lastMessageID, maxCount any) *gomock.Call

ReadMessages indicates an expected call of ReadMessages.

func (*MockQueueMockRecorder) ReadMessagesFromDLQ

func (mr *MockQueueMockRecorder) ReadMessagesFromDLQ(ctx, firstMessageID, lastMessageID, pageSize, pageToken any) *gomock.Call

ReadMessagesFromDLQ indicates an expected call of ReadMessagesFromDLQ.

func (*MockQueueMockRecorder) UpdateAckLevel

func (mr *MockQueueMockRecorder) UpdateAckLevel(ctx, metadata any) *gomock.Call

UpdateAckLevel indicates an expected call of UpdateAckLevel.

func (*MockQueueMockRecorder) UpdateDLQAckLevel

func (mr *MockQueueMockRecorder) UpdateDLQAckLevel(ctx, metadata any) *gomock.Call

UpdateDLQAckLevel indicates an expected call of UpdateDLQAckLevel.

type MockQueueV2 added in v1.23.0

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

MockQueueV2 is a mock of QueueV2 interface.

func NewMockQueueV2 added in v1.23.0

func NewMockQueueV2(ctrl *gomock.Controller) *MockQueueV2

NewMockQueueV2 creates a new mock instance.

func (*MockQueueV2) CreateQueue added in v1.23.0

CreateQueue mocks base method.

func (*MockQueueV2) EXPECT added in v1.23.0

func (m *MockQueueV2) EXPECT() *MockQueueV2MockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockQueueV2) EnqueueMessage added in v1.23.0

EnqueueMessage mocks base method.

func (*MockQueueV2) ListQueues added in v1.23.0

ListQueues mocks base method.

func (*MockQueueV2) RangeDeleteMessages added in v1.23.0

RangeDeleteMessages mocks base method.

func (*MockQueueV2) ReadMessages added in v1.23.0

ReadMessages mocks base method.

type MockQueueV2MockRecorder added in v1.23.0

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

MockQueueV2MockRecorder is the mock recorder for MockQueueV2.

func (*MockQueueV2MockRecorder) CreateQueue added in v1.23.0

func (mr *MockQueueV2MockRecorder) CreateQueue(ctx, request any) *gomock.Call

CreateQueue indicates an expected call of CreateQueue.

func (*MockQueueV2MockRecorder) EnqueueMessage added in v1.23.0

func (mr *MockQueueV2MockRecorder) EnqueueMessage(ctx, request any) *gomock.Call

EnqueueMessage indicates an expected call of EnqueueMessage.

func (*MockQueueV2MockRecorder) ListQueues added in v1.23.0

func (mr *MockQueueV2MockRecorder) ListQueues(ctx, request any) *gomock.Call

ListQueues indicates an expected call of ListQueues.

func (*MockQueueV2MockRecorder) RangeDeleteMessages added in v1.23.0

func (mr *MockQueueV2MockRecorder) RangeDeleteMessages(ctx, request any) *gomock.Call

RangeDeleteMessages indicates an expected call of RangeDeleteMessages.

func (*MockQueueV2MockRecorder) ReadMessages added in v1.23.0

func (mr *MockQueueV2MockRecorder) ReadMessages(ctx, request any) *gomock.Call

ReadMessages indicates an expected call of ReadMessages.

type MockShardStore

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

MockShardStore is a mock of ShardStore interface.

func NewMockShardStore

func NewMockShardStore(ctrl *gomock.Controller) *MockShardStore

NewMockShardStore creates a new mock instance.

func (*MockShardStore) AssertShardOwnership added in v1.17.0

func (m *MockShardStore) AssertShardOwnership(ctx context.Context, request *persistence.AssertShardOwnershipRequest) error

AssertShardOwnership mocks base method.

func (*MockShardStore) Close

func (m *MockShardStore) Close()

Close mocks base method.

func (*MockShardStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockShardStore) GetClusterName

func (m *MockShardStore) GetClusterName() string

GetClusterName mocks base method.

func (*MockShardStore) GetName

func (m *MockShardStore) GetName() string

GetName mocks base method.

func (*MockShardStore) GetOrCreateShard added in v1.14.0

GetOrCreateShard mocks base method.

func (*MockShardStore) UpdateShard

UpdateShard mocks base method.

type MockShardStoreMockRecorder

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

MockShardStoreMockRecorder is the mock recorder for MockShardStore.

func (*MockShardStoreMockRecorder) AssertShardOwnership added in v1.17.0

func (mr *MockShardStoreMockRecorder) AssertShardOwnership(ctx, request any) *gomock.Call

AssertShardOwnership indicates an expected call of AssertShardOwnership.

func (*MockShardStoreMockRecorder) Close

func (mr *MockShardStoreMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockShardStoreMockRecorder) GetClusterName

func (mr *MockShardStoreMockRecorder) GetClusterName() *gomock.Call

GetClusterName indicates an expected call of GetClusterName.

func (*MockShardStoreMockRecorder) GetName

func (mr *MockShardStoreMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName.

func (*MockShardStoreMockRecorder) GetOrCreateShard added in v1.14.0

func (mr *MockShardStoreMockRecorder) GetOrCreateShard(ctx, request any) *gomock.Call

GetOrCreateShard indicates an expected call of GetOrCreateShard.

func (*MockShardStoreMockRecorder) UpdateShard

func (mr *MockShardStoreMockRecorder) UpdateShard(ctx, request any) *gomock.Call

UpdateShard indicates an expected call of UpdateShard.

type MockTaskStore

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

MockTaskStore is a mock of TaskStore interface.

func NewMockTaskStore

func NewMockTaskStore(ctrl *gomock.Controller) *MockTaskStore

NewMockTaskStore creates a new mock instance.

func (*MockTaskStore) Close

func (m *MockTaskStore) Close()

Close mocks base method.

func (*MockTaskStore) CompleteTasksLessThan

func (m *MockTaskStore) CompleteTasksLessThan(ctx context.Context, request *persistence.CompleteTasksLessThanRequest) (int, error)

CompleteTasksLessThan mocks base method.

func (*MockTaskStore) CountTaskQueuesByBuildId added in v1.21.0

func (m *MockTaskStore) CountTaskQueuesByBuildId(ctx context.Context, request *persistence.CountTaskQueuesByBuildIdRequest) (int, error)

CountTaskQueuesByBuildId mocks base method.

func (*MockTaskStore) CreateTaskQueue

CreateTaskQueue mocks base method.

func (*MockTaskStore) CreateTasks

CreateTasks mocks base method.

func (*MockTaskStore) DeleteTaskQueue

func (m *MockTaskStore) DeleteTaskQueue(ctx context.Context, request *persistence.DeleteTaskQueueRequest) error

DeleteTaskQueue mocks base method.

func (*MockTaskStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTaskStore) GetName

func (m *MockTaskStore) GetName() string

GetName mocks base method.

func (*MockTaskStore) GetTaskQueue

GetTaskQueue mocks base method.

func (*MockTaskStore) GetTaskQueueUserData added in v1.21.0

GetTaskQueueUserData mocks base method.

func (*MockTaskStore) GetTaskQueuesByBuildId added in v1.21.0

func (m *MockTaskStore) GetTaskQueuesByBuildId(ctx context.Context, request *persistence.GetTaskQueuesByBuildIdRequest) ([]string, error)

GetTaskQueuesByBuildId mocks base method.

func (*MockTaskStore) GetTasks

GetTasks mocks base method.

func (*MockTaskStore) ListTaskQueue

ListTaskQueue mocks base method.

func (*MockTaskStore) ListTaskQueueUserDataEntries added in v1.21.0

ListTaskQueueUserDataEntries mocks base method.

func (*MockTaskStore) UpdateTaskQueue

UpdateTaskQueue mocks base method.

func (*MockTaskStore) UpdateTaskQueueUserData added in v1.21.0

func (m *MockTaskStore) UpdateTaskQueueUserData(ctx context.Context, request *persistence.InternalUpdateTaskQueueUserDataRequest) error

UpdateTaskQueueUserData mocks base method.

type MockTaskStoreMockRecorder

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

MockTaskStoreMockRecorder is the mock recorder for MockTaskStore.

func (*MockTaskStoreMockRecorder) Close

func (mr *MockTaskStoreMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockTaskStoreMockRecorder) CompleteTasksLessThan

func (mr *MockTaskStoreMockRecorder) CompleteTasksLessThan(ctx, request any) *gomock.Call

CompleteTasksLessThan indicates an expected call of CompleteTasksLessThan.

func (*MockTaskStoreMockRecorder) CountTaskQueuesByBuildId added in v1.21.0

func (mr *MockTaskStoreMockRecorder) CountTaskQueuesByBuildId(ctx, request any) *gomock.Call

CountTaskQueuesByBuildId indicates an expected call of CountTaskQueuesByBuildId.

func (*MockTaskStoreMockRecorder) CreateTaskQueue

func (mr *MockTaskStoreMockRecorder) CreateTaskQueue(ctx, request any) *gomock.Call

CreateTaskQueue indicates an expected call of CreateTaskQueue.

func (*MockTaskStoreMockRecorder) CreateTasks

func (mr *MockTaskStoreMockRecorder) CreateTasks(ctx, request any) *gomock.Call

CreateTasks indicates an expected call of CreateTasks.

func (*MockTaskStoreMockRecorder) DeleteTaskQueue

func (mr *MockTaskStoreMockRecorder) DeleteTaskQueue(ctx, request any) *gomock.Call

DeleteTaskQueue indicates an expected call of DeleteTaskQueue.

func (*MockTaskStoreMockRecorder) GetName

func (mr *MockTaskStoreMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName.

func (*MockTaskStoreMockRecorder) GetTaskQueue

func (mr *MockTaskStoreMockRecorder) GetTaskQueue(ctx, request any) *gomock.Call

GetTaskQueue indicates an expected call of GetTaskQueue.

func (*MockTaskStoreMockRecorder) GetTaskQueueUserData added in v1.21.0

func (mr *MockTaskStoreMockRecorder) GetTaskQueueUserData(ctx, request any) *gomock.Call

GetTaskQueueUserData indicates an expected call of GetTaskQueueUserData.

func (*MockTaskStoreMockRecorder) GetTaskQueuesByBuildId added in v1.21.0

func (mr *MockTaskStoreMockRecorder) GetTaskQueuesByBuildId(ctx, request any) *gomock.Call

GetTaskQueuesByBuildId indicates an expected call of GetTaskQueuesByBuildId.

func (*MockTaskStoreMockRecorder) GetTasks

func (mr *MockTaskStoreMockRecorder) GetTasks(ctx, request any) *gomock.Call

GetTasks indicates an expected call of GetTasks.

func (*MockTaskStoreMockRecorder) ListTaskQueue

func (mr *MockTaskStoreMockRecorder) ListTaskQueue(ctx, request any) *gomock.Call

ListTaskQueue indicates an expected call of ListTaskQueue.

func (*MockTaskStoreMockRecorder) ListTaskQueueUserDataEntries added in v1.21.0

func (mr *MockTaskStoreMockRecorder) ListTaskQueueUserDataEntries(ctx, request any) *gomock.Call

ListTaskQueueUserDataEntries indicates an expected call of ListTaskQueueUserDataEntries.

func (*MockTaskStoreMockRecorder) UpdateTaskQueue

func (mr *MockTaskStoreMockRecorder) UpdateTaskQueue(ctx, request any) *gomock.Call

UpdateTaskQueue indicates an expected call of UpdateTaskQueue.

func (*MockTaskStoreMockRecorder) UpdateTaskQueueUserData added in v1.21.0

func (mr *MockTaskStoreMockRecorder) UpdateTaskQueueUserData(ctx, request any) *gomock.Call

UpdateTaskQueueUserData indicates an expected call of UpdateTaskQueueUserData.

Jump to

Keyboard shortcuts

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