generated

package
v0.0.0-...-af6ba90 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: repository_interface.go

Generated by this command:

mockgen -source=repository_interface.go -destination=generated/mock_repo.generated.go -package=generated

Package generated is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepositoryInterface

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

MockRepositoryInterface is a mock of RepositoryInterface interface.

func NewMockRepositoryInterface

func NewMockRepositoryInterface(ctrl *gomock.Controller) *MockRepositoryInterface

NewMockRepositoryInterface creates a new mock instance.

func (*MockRepositoryInterface) CreateDataChangeEvent

func (m *MockRepositoryInterface) CreateDataChangeEvent(arg0 context.Context, arg1 *models0.DataChangeEvent) (*models0.DataChangeEvent, error)

CreateDataChangeEvent mocks base method.

func (*MockRepositoryInterface) CreateDataSource

func (m *MockRepositoryInterface) CreateDataSource(arg0 context.Context, arg1 *models0.DataSource) (*models0.DataSource, error)

CreateDataSource mocks base method.

func (*MockRepositoryInterface) CreateSubscription

func (m *MockRepositoryInterface) CreateSubscription(arg0 context.Context, arg1 *models0.Subscription) (*models0.Subscription, error)

CreateSubscription mocks base method.

func (*MockRepositoryInterface) DeleteAlarmDefinitionsNotIn

func (m *MockRepositoryInterface) DeleteAlarmDefinitionsNotIn(arg0 context.Context, arg1 []any, arg2 uuid.UUID) (int64, error)

DeleteAlarmDefinitionsNotIn mocks base method.

func (*MockRepositoryInterface) DeleteDataChangeEvent

func (m *MockRepositoryInterface) DeleteDataChangeEvent(arg0 context.Context, arg1 uuid.UUID) (int64, error)

DeleteDataChangeEvent mocks base method.

func (*MockRepositoryInterface) DeleteSubscription

func (m *MockRepositoryInterface) DeleteSubscription(arg0 context.Context, arg1 uuid.UUID) (int64, error)

DeleteSubscription mocks base method.

func (*MockRepositoryInterface) EXPECT

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

func (*MockRepositoryInterface) FindStaleAlarmDictionaries

func (m *MockRepositoryInterface) FindStaleAlarmDictionaries(arg0 context.Context, arg1 uuid.UUID, arg2 int) ([]models0.AlarmDictionary, error)

FindStaleAlarmDictionaries mocks base method.

func (*MockRepositoryInterface) GetAlarmDefinitionsByAlarmDictionaryID

func (m *MockRepositoryInterface) GetAlarmDefinitionsByAlarmDictionaryID(arg0 context.Context, arg1 uuid.UUID) ([]models0.AlarmDefinition, error)

GetAlarmDefinitionsByAlarmDictionaryID mocks base method.

func (*MockRepositoryInterface) GetAlarmDictionaries

func (m *MockRepositoryInterface) GetAlarmDictionaries(arg0 context.Context) ([]models0.AlarmDictionary, error)

GetAlarmDictionaries mocks base method.

func (*MockRepositoryInterface) GetAlarmDictionary

func (m *MockRepositoryInterface) GetAlarmDictionary(arg0 context.Context, arg1 uuid.UUID) (*models0.AlarmDictionary, error)

GetAlarmDictionary mocks base method.

func (*MockRepositoryInterface) GetClusterResource

func (m *MockRepositoryInterface) GetClusterResource(arg0 context.Context, arg1 uuid.UUID) (*models.ClusterResource, error)

GetClusterResource mocks base method.

func (*MockRepositoryInterface) GetClusterResourceType

func (m *MockRepositoryInterface) GetClusterResourceType(arg0 context.Context, arg1 uuid.UUID) (*models.ClusterResourceType, error)

GetClusterResourceType mocks base method.

func (*MockRepositoryInterface) GetClusterResourceTypes

func (m *MockRepositoryInterface) GetClusterResourceTypes(arg0 context.Context) ([]models.ClusterResourceType, error)

GetClusterResourceTypes mocks base method.

func (*MockRepositoryInterface) GetClusterResources

func (m *MockRepositoryInterface) GetClusterResources(arg0 context.Context) ([]models.ClusterResource, error)

GetClusterResources mocks base method.

func (*MockRepositoryInterface) GetClusterResourcesNotIn

func (m *MockRepositoryInterface) GetClusterResourcesNotIn(arg0 context.Context, arg1 []any) ([]models.ClusterResource, error)

GetClusterResourcesNotIn mocks base method.

func (*MockRepositoryInterface) GetDataChangeEvents

func (m *MockRepositoryInterface) GetDataChangeEvents(arg0 context.Context) ([]models0.DataChangeEvent, error)

GetDataChangeEvents mocks base method.

func (*MockRepositoryInterface) GetDataSourceByName

func (m *MockRepositoryInterface) GetDataSourceByName(arg0 context.Context, arg1 string) (*models0.DataSource, error)

GetDataSourceByName mocks base method.

func (*MockRepositoryInterface) GetNodeCluster

func (m *MockRepositoryInterface) GetNodeCluster(arg0 context.Context, arg1 uuid.UUID) (*models.NodeCluster, error)

GetNodeCluster mocks base method.

func (*MockRepositoryInterface) GetNodeClusterByName

func (m *MockRepositoryInterface) GetNodeClusterByName(arg0 context.Context, arg1 string) (*models.NodeCluster, error)

GetNodeClusterByName mocks base method.

func (*MockRepositoryInterface) GetNodeClusterResourceIDs

func (m *MockRepositoryInterface) GetNodeClusterResourceIDs(arg0 context.Context, arg1 ...any) ([]models.ClusterResourceIDs, error)

GetNodeClusterResourceIDs mocks base method.

func (*MockRepositoryInterface) GetNodeClusterResources

func (m *MockRepositoryInterface) GetNodeClusterResources(arg0 context.Context, arg1 uuid.UUID) ([]models.ClusterResource, error)

GetNodeClusterResources mocks base method.

func (*MockRepositoryInterface) GetNodeClusterType

func (m *MockRepositoryInterface) GetNodeClusterType(arg0 context.Context, arg1 uuid.UUID) (*models.NodeClusterType, error)

GetNodeClusterType mocks base method.

func (*MockRepositoryInterface) GetNodeClusterTypeAlarmDictionary

func (m *MockRepositoryInterface) GetNodeClusterTypeAlarmDictionary(arg0 context.Context, arg1 uuid.UUID) ([]models0.AlarmDictionary, error)

GetNodeClusterTypeAlarmDictionary mocks base method.

func (*MockRepositoryInterface) GetNodeClusterTypes

func (m *MockRepositoryInterface) GetNodeClusterTypes(arg0 context.Context) ([]models.NodeClusterType, error)

GetNodeClusterTypes mocks base method.

func (*MockRepositoryInterface) GetNodeClusters

func (m *MockRepositoryInterface) GetNodeClusters(arg0 context.Context) ([]models.NodeCluster, error)

GetNodeClusters mocks base method.

func (*MockRepositoryInterface) GetNodeClustersNotIn

func (m *MockRepositoryInterface) GetNodeClustersNotIn(arg0 context.Context, arg1 []any) ([]models.NodeCluster, error)

GetNodeClustersNotIn mocks base method.

func (*MockRepositoryInterface) GetSubscription

func (m *MockRepositoryInterface) GetSubscription(arg0 context.Context, arg1 uuid.UUID) (*models0.Subscription, error)

GetSubscription mocks base method.

func (*MockRepositoryInterface) GetSubscriptions

func (m *MockRepositoryInterface) GetSubscriptions(arg0 context.Context) ([]models0.Subscription, error)

GetSubscriptions mocks base method.

func (*MockRepositoryInterface) SetNodeClusterID

func (m *MockRepositoryInterface) SetNodeClusterID(arg0 context.Context, arg1 string, arg2 uuid.UUID) (int, error)

SetNodeClusterID mocks base method.

func (*MockRepositoryInterface) UpdateDataSource

func (m *MockRepositoryInterface) UpdateDataSource(arg0 context.Context, arg1 *models0.DataSource) (*models0.DataSource, error)

UpdateDataSource mocks base method.

func (*MockRepositoryInterface) UpdateSubscription

func (m *MockRepositoryInterface) UpdateSubscription(arg0 context.Context, arg1 *models0.Subscription) (*models0.Subscription, error)

UpdateSubscription mocks base method.

func (*MockRepositoryInterface) UpsertAlarmDefinitions

func (m *MockRepositoryInterface) UpsertAlarmDefinitions(arg0 context.Context, arg1 []models0.AlarmDefinition) ([]models0.AlarmDefinition, error)

UpsertAlarmDefinitions mocks base method.

type MockRepositoryInterfaceMockRecorder

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

MockRepositoryInterfaceMockRecorder is the mock recorder for MockRepositoryInterface.

func (*MockRepositoryInterfaceMockRecorder) CreateDataChangeEvent

func (mr *MockRepositoryInterfaceMockRecorder) CreateDataChangeEvent(arg0, arg1 any) *gomock.Call

CreateDataChangeEvent indicates an expected call of CreateDataChangeEvent.

func (*MockRepositoryInterfaceMockRecorder) CreateDataSource

func (mr *MockRepositoryInterfaceMockRecorder) CreateDataSource(arg0, arg1 any) *gomock.Call

CreateDataSource indicates an expected call of CreateDataSource.

func (*MockRepositoryInterfaceMockRecorder) CreateSubscription

func (mr *MockRepositoryInterfaceMockRecorder) CreateSubscription(arg0, arg1 any) *gomock.Call

CreateSubscription indicates an expected call of CreateSubscription.

func (*MockRepositoryInterfaceMockRecorder) DeleteAlarmDefinitionsNotIn

func (mr *MockRepositoryInterfaceMockRecorder) DeleteAlarmDefinitionsNotIn(arg0, arg1, arg2 any) *gomock.Call

DeleteAlarmDefinitionsNotIn indicates an expected call of DeleteAlarmDefinitionsNotIn.

func (*MockRepositoryInterfaceMockRecorder) DeleteDataChangeEvent

func (mr *MockRepositoryInterfaceMockRecorder) DeleteDataChangeEvent(arg0, arg1 any) *gomock.Call

DeleteDataChangeEvent indicates an expected call of DeleteDataChangeEvent.

func (*MockRepositoryInterfaceMockRecorder) DeleteSubscription

func (mr *MockRepositoryInterfaceMockRecorder) DeleteSubscription(arg0, arg1 any) *gomock.Call

DeleteSubscription indicates an expected call of DeleteSubscription.

func (*MockRepositoryInterfaceMockRecorder) FindStaleAlarmDictionaries

func (mr *MockRepositoryInterfaceMockRecorder) FindStaleAlarmDictionaries(arg0, arg1, arg2 any) *gomock.Call

FindStaleAlarmDictionaries indicates an expected call of FindStaleAlarmDictionaries.

func (*MockRepositoryInterfaceMockRecorder) GetAlarmDefinitionsByAlarmDictionaryID

func (mr *MockRepositoryInterfaceMockRecorder) GetAlarmDefinitionsByAlarmDictionaryID(arg0, arg1 any) *gomock.Call

GetAlarmDefinitionsByAlarmDictionaryID indicates an expected call of GetAlarmDefinitionsByAlarmDictionaryID.

func (*MockRepositoryInterfaceMockRecorder) GetAlarmDictionaries

func (mr *MockRepositoryInterfaceMockRecorder) GetAlarmDictionaries(arg0 any) *gomock.Call

GetAlarmDictionaries indicates an expected call of GetAlarmDictionaries.

func (*MockRepositoryInterfaceMockRecorder) GetAlarmDictionary

func (mr *MockRepositoryInterfaceMockRecorder) GetAlarmDictionary(arg0, arg1 any) *gomock.Call

GetAlarmDictionary indicates an expected call of GetAlarmDictionary.

func (*MockRepositoryInterfaceMockRecorder) GetClusterResource

func (mr *MockRepositoryInterfaceMockRecorder) GetClusterResource(arg0, arg1 any) *gomock.Call

GetClusterResource indicates an expected call of GetClusterResource.

func (*MockRepositoryInterfaceMockRecorder) GetClusterResourceType

func (mr *MockRepositoryInterfaceMockRecorder) GetClusterResourceType(arg0, arg1 any) *gomock.Call

GetClusterResourceType indicates an expected call of GetClusterResourceType.

func (*MockRepositoryInterfaceMockRecorder) GetClusterResourceTypes

func (mr *MockRepositoryInterfaceMockRecorder) GetClusterResourceTypes(arg0 any) *gomock.Call

GetClusterResourceTypes indicates an expected call of GetClusterResourceTypes.

func (*MockRepositoryInterfaceMockRecorder) GetClusterResources

func (mr *MockRepositoryInterfaceMockRecorder) GetClusterResources(arg0 any) *gomock.Call

GetClusterResources indicates an expected call of GetClusterResources.

func (*MockRepositoryInterfaceMockRecorder) GetClusterResourcesNotIn

func (mr *MockRepositoryInterfaceMockRecorder) GetClusterResourcesNotIn(arg0, arg1 any) *gomock.Call

GetClusterResourcesNotIn indicates an expected call of GetClusterResourcesNotIn.

func (*MockRepositoryInterfaceMockRecorder) GetDataChangeEvents

func (mr *MockRepositoryInterfaceMockRecorder) GetDataChangeEvents(arg0 any) *gomock.Call

GetDataChangeEvents indicates an expected call of GetDataChangeEvents.

func (*MockRepositoryInterfaceMockRecorder) GetDataSourceByName

func (mr *MockRepositoryInterfaceMockRecorder) GetDataSourceByName(arg0, arg1 any) *gomock.Call

GetDataSourceByName indicates an expected call of GetDataSourceByName.

func (*MockRepositoryInterfaceMockRecorder) GetNodeCluster

func (mr *MockRepositoryInterfaceMockRecorder) GetNodeCluster(arg0, arg1 any) *gomock.Call

GetNodeCluster indicates an expected call of GetNodeCluster.

func (*MockRepositoryInterfaceMockRecorder) GetNodeClusterByName

func (mr *MockRepositoryInterfaceMockRecorder) GetNodeClusterByName(arg0, arg1 any) *gomock.Call

GetNodeClusterByName indicates an expected call of GetNodeClusterByName.

func (*MockRepositoryInterfaceMockRecorder) GetNodeClusterResourceIDs

func (mr *MockRepositoryInterfaceMockRecorder) GetNodeClusterResourceIDs(arg0 any, arg1 ...any) *gomock.Call

GetNodeClusterResourceIDs indicates an expected call of GetNodeClusterResourceIDs.

func (*MockRepositoryInterfaceMockRecorder) GetNodeClusterResources

func (mr *MockRepositoryInterfaceMockRecorder) GetNodeClusterResources(arg0, arg1 any) *gomock.Call

GetNodeClusterResources indicates an expected call of GetNodeClusterResources.

func (*MockRepositoryInterfaceMockRecorder) GetNodeClusterType

func (mr *MockRepositoryInterfaceMockRecorder) GetNodeClusterType(arg0, arg1 any) *gomock.Call

GetNodeClusterType indicates an expected call of GetNodeClusterType.

func (*MockRepositoryInterfaceMockRecorder) GetNodeClusterTypeAlarmDictionary

func (mr *MockRepositoryInterfaceMockRecorder) GetNodeClusterTypeAlarmDictionary(arg0, arg1 any) *gomock.Call

GetNodeClusterTypeAlarmDictionary indicates an expected call of GetNodeClusterTypeAlarmDictionary.

func (*MockRepositoryInterfaceMockRecorder) GetNodeClusterTypes

func (mr *MockRepositoryInterfaceMockRecorder) GetNodeClusterTypes(arg0 any) *gomock.Call

GetNodeClusterTypes indicates an expected call of GetNodeClusterTypes.

func (*MockRepositoryInterfaceMockRecorder) GetNodeClusters

func (mr *MockRepositoryInterfaceMockRecorder) GetNodeClusters(arg0 any) *gomock.Call

GetNodeClusters indicates an expected call of GetNodeClusters.

func (*MockRepositoryInterfaceMockRecorder) GetNodeClustersNotIn

func (mr *MockRepositoryInterfaceMockRecorder) GetNodeClustersNotIn(arg0, arg1 any) *gomock.Call

GetNodeClustersNotIn indicates an expected call of GetNodeClustersNotIn.

func (*MockRepositoryInterfaceMockRecorder) GetSubscription

func (mr *MockRepositoryInterfaceMockRecorder) GetSubscription(arg0, arg1 any) *gomock.Call

GetSubscription indicates an expected call of GetSubscription.

func (*MockRepositoryInterfaceMockRecorder) GetSubscriptions

func (mr *MockRepositoryInterfaceMockRecorder) GetSubscriptions(arg0 any) *gomock.Call

GetSubscriptions indicates an expected call of GetSubscriptions.

func (*MockRepositoryInterfaceMockRecorder) SetNodeClusterID

func (mr *MockRepositoryInterfaceMockRecorder) SetNodeClusterID(arg0, arg1, arg2 any) *gomock.Call

SetNodeClusterID indicates an expected call of SetNodeClusterID.

func (*MockRepositoryInterfaceMockRecorder) UpdateDataSource

func (mr *MockRepositoryInterfaceMockRecorder) UpdateDataSource(arg0, arg1 any) *gomock.Call

UpdateDataSource indicates an expected call of UpdateDataSource.

func (*MockRepositoryInterfaceMockRecorder) UpdateSubscription

func (mr *MockRepositoryInterfaceMockRecorder) UpdateSubscription(arg0, arg1 any) *gomock.Call

UpdateSubscription indicates an expected call of UpdateSubscription.

func (*MockRepositoryInterfaceMockRecorder) UpsertAlarmDefinitions

func (mr *MockRepositoryInterfaceMockRecorder) UpsertAlarmDefinitions(arg0, arg1 any) *gomock.Call

UpsertAlarmDefinitions indicates an expected call of UpsertAlarmDefinitions.

Jump to

Keyboard shortcuts

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