relationmocks

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package relationmocks is a generated GoMock package.

Package relationmocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRelationModelService

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

MockRelationModelService is a mock of RelationModelService interface.

func NewMockRelationModelService

func NewMockRelationModelService(ctrl *gomock.Controller) *MockRelationModelService

NewMockRelationModelService creates a new mock instance.

func (*MockRelationModelService) CreateModelRelation

func (m *MockRelationModelService) CreateModelRelation(ctx context.Context, req domain.ModelRelation) (int64, error)

CreateModelRelation mocks base method.

func (*MockRelationModelService) DeleteModelRelation

func (m *MockRelationModelService) DeleteModelRelation(ctx context.Context, id int64) (int64, error)

DeleteModelRelation mocks base method.

func (*MockRelationModelService) EXPECT

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

func (*MockRelationModelService) FindModelDiagramBySrcUids

func (m *MockRelationModelService) FindModelDiagramBySrcUids(ctx context.Context, srcUids []string) ([]domain.ModelDiagram, error)

FindModelDiagramBySrcUids mocks base method.

func (*MockRelationModelService) ListModelUidRelation

func (m *MockRelationModelService) ListModelUidRelation(ctx context.Context, offset, limit int64, modelUid string) ([]domain.ModelRelation, int64, error)

ListModelUidRelation mocks base method.

type MockRelationModelServiceCreateModelRelationCall

type MockRelationModelServiceCreateModelRelationCall struct {
	*gomock.Call
}

MockRelationModelServiceCreateModelRelationCall wrap *gomock.Call

func (*MockRelationModelServiceCreateModelRelationCall) Do

Do rewrite *gomock.Call.Do

func (*MockRelationModelServiceCreateModelRelationCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRelationModelServiceCreateModelRelationCall) Return

Return rewrite *gomock.Call.Return

type MockRelationModelServiceDeleteModelRelationCall

type MockRelationModelServiceDeleteModelRelationCall struct {
	*gomock.Call
}

MockRelationModelServiceDeleteModelRelationCall wrap *gomock.Call

func (*MockRelationModelServiceDeleteModelRelationCall) Do

Do rewrite *gomock.Call.Do

func (*MockRelationModelServiceDeleteModelRelationCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRelationModelServiceDeleteModelRelationCall) Return

Return rewrite *gomock.Call.Return

type MockRelationModelServiceFindModelDiagramBySrcUidsCall

type MockRelationModelServiceFindModelDiagramBySrcUidsCall struct {
	*gomock.Call
}

MockRelationModelServiceFindModelDiagramBySrcUidsCall wrap *gomock.Call

func (*MockRelationModelServiceFindModelDiagramBySrcUidsCall) Do

Do rewrite *gomock.Call.Do

func (*MockRelationModelServiceFindModelDiagramBySrcUidsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRelationModelServiceFindModelDiagramBySrcUidsCall) Return

Return rewrite *gomock.Call.Return

type MockRelationModelServiceListModelUidRelationCall

type MockRelationModelServiceListModelUidRelationCall struct {
	*gomock.Call
}

MockRelationModelServiceListModelUidRelationCall wrap *gomock.Call

func (*MockRelationModelServiceListModelUidRelationCall) Do

Do rewrite *gomock.Call.Do

func (*MockRelationModelServiceListModelUidRelationCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRelationModelServiceListModelUidRelationCall) Return

Return rewrite *gomock.Call.Return

type MockRelationModelServiceMockRecorder

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

MockRelationModelServiceMockRecorder is the mock recorder for MockRelationModelService.

func (*MockRelationModelServiceMockRecorder) CreateModelRelation

CreateModelRelation indicates an expected call of CreateModelRelation.

func (*MockRelationModelServiceMockRecorder) DeleteModelRelation

DeleteModelRelation indicates an expected call of DeleteModelRelation.

func (*MockRelationModelServiceMockRecorder) FindModelDiagramBySrcUids

FindModelDiagramBySrcUids indicates an expected call of FindModelDiagramBySrcUids.

func (*MockRelationModelServiceMockRecorder) ListModelUidRelation

func (mr *MockRelationModelServiceMockRecorder) ListModelUidRelation(ctx, offset, limit, modelUid any) *MockRelationModelServiceListModelUidRelationCall

ListModelUidRelation indicates an expected call of ListModelUidRelation.

type MockRelationResourceService

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

MockRelationResourceService is a mock of RelationResourceService interface.

func NewMockRelationResourceService

func NewMockRelationResourceService(ctrl *gomock.Controller) *MockRelationResourceService

NewMockRelationResourceService creates a new mock instance.

func (*MockRelationResourceService) CreateResourceRelation

func (m *MockRelationResourceService) CreateResourceRelation(ctx context.Context, req domain.ResourceRelation) (int64, error)

CreateResourceRelation mocks base method.

func (*MockRelationResourceService) DeleteDstRelation

func (m *MockRelationResourceService) DeleteDstRelation(ctx context.Context, resourceId int64, modelUid, relationName string) (int64, error)

DeleteDstRelation mocks base method.

func (*MockRelationResourceService) DeleteResourceRelation

func (m *MockRelationResourceService) DeleteResourceRelation(ctx context.Context, id int64) (int64, error)

DeleteResourceRelation mocks base method.

func (*MockRelationResourceService) DeleteSrcRelation

func (m *MockRelationResourceService) DeleteSrcRelation(ctx context.Context, resourceId int64, modelUid, relationName string) (int64, error)

DeleteSrcRelation mocks base method.

func (*MockRelationResourceService) EXPECT

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

func (*MockRelationResourceService) ListDiagram

ListDiagram mocks base method.

func (*MockRelationResourceService) ListDstAggregated

func (m *MockRelationResourceService) ListDstAggregated(ctx context.Context, modelUid string, id int64) ([]domain.ResourceAggregatedAssets, error)

ListDstAggregated mocks base method.

func (*MockRelationResourceService) ListDstRelated

func (m *MockRelationResourceService) ListDstRelated(ctx context.Context, modelUid, relationName string, id int64) ([]int64, error)

ListDstRelated mocks base method.

func (*MockRelationResourceService) ListDstResources

func (m *MockRelationResourceService) ListDstResources(ctx context.Context, modelUid string, id int64) ([]domain.ResourceRelation, int64, error)

ListDstResources mocks base method.

func (*MockRelationResourceService) ListSrcAggregated

func (m *MockRelationResourceService) ListSrcAggregated(ctx context.Context, modelUid string, id int64) ([]domain.ResourceAggregatedAssets, error)

ListSrcAggregated mocks base method.

func (*MockRelationResourceService) ListSrcRelated

func (m *MockRelationResourceService) ListSrcRelated(ctx context.Context, modelUid, relationName string, id int64) ([]int64, error)

ListSrcRelated mocks base method.

func (*MockRelationResourceService) ListSrcResources

func (m *MockRelationResourceService) ListSrcResources(ctx context.Context, modelUid string, id int64) ([]domain.ResourceRelation, int64, error)

ListSrcResources mocks base method.

type MockRelationResourceServiceCreateResourceRelationCall

type MockRelationResourceServiceCreateResourceRelationCall struct {
	*gomock.Call
}

MockRelationResourceServiceCreateResourceRelationCall wrap *gomock.Call

func (*MockRelationResourceServiceCreateResourceRelationCall) Do

Do rewrite *gomock.Call.Do

func (*MockRelationResourceServiceCreateResourceRelationCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRelationResourceServiceCreateResourceRelationCall) Return

Return rewrite *gomock.Call.Return

type MockRelationResourceServiceDeleteDstRelationCall

type MockRelationResourceServiceDeleteDstRelationCall struct {
	*gomock.Call
}

MockRelationResourceServiceDeleteDstRelationCall wrap *gomock.Call

func (*MockRelationResourceServiceDeleteDstRelationCall) Do

Do rewrite *gomock.Call.Do

func (*MockRelationResourceServiceDeleteDstRelationCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRelationResourceServiceDeleteDstRelationCall) Return

Return rewrite *gomock.Call.Return

type MockRelationResourceServiceDeleteResourceRelationCall

type MockRelationResourceServiceDeleteResourceRelationCall struct {
	*gomock.Call
}

MockRelationResourceServiceDeleteResourceRelationCall wrap *gomock.Call

func (*MockRelationResourceServiceDeleteResourceRelationCall) Do

Do rewrite *gomock.Call.Do

func (*MockRelationResourceServiceDeleteResourceRelationCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRelationResourceServiceDeleteResourceRelationCall) Return

Return rewrite *gomock.Call.Return

type MockRelationResourceServiceDeleteSrcRelationCall

type MockRelationResourceServiceDeleteSrcRelationCall struct {
	*gomock.Call
}

MockRelationResourceServiceDeleteSrcRelationCall wrap *gomock.Call

func (*MockRelationResourceServiceDeleteSrcRelationCall) Do

Do rewrite *gomock.Call.Do

func (*MockRelationResourceServiceDeleteSrcRelationCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRelationResourceServiceDeleteSrcRelationCall) Return

Return rewrite *gomock.Call.Return

type MockRelationResourceServiceListDiagramCall

type MockRelationResourceServiceListDiagramCall struct {
	*gomock.Call
}

MockRelationResourceServiceListDiagramCall wrap *gomock.Call

func (*MockRelationResourceServiceListDiagramCall) Do

Do rewrite *gomock.Call.Do

func (*MockRelationResourceServiceListDiagramCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRelationResourceServiceListDiagramCall) Return

Return rewrite *gomock.Call.Return

type MockRelationResourceServiceListDstAggregatedCall

type MockRelationResourceServiceListDstAggregatedCall struct {
	*gomock.Call
}

MockRelationResourceServiceListDstAggregatedCall wrap *gomock.Call

func (*MockRelationResourceServiceListDstAggregatedCall) Do

Do rewrite *gomock.Call.Do

func (*MockRelationResourceServiceListDstAggregatedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRelationResourceServiceListDstAggregatedCall) Return

Return rewrite *gomock.Call.Return

type MockRelationResourceServiceListDstRelatedCall

type MockRelationResourceServiceListDstRelatedCall struct {
	*gomock.Call
}

MockRelationResourceServiceListDstRelatedCall wrap *gomock.Call

func (*MockRelationResourceServiceListDstRelatedCall) Do

Do rewrite *gomock.Call.Do

func (*MockRelationResourceServiceListDstRelatedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRelationResourceServiceListDstRelatedCall) Return

Return rewrite *gomock.Call.Return

type MockRelationResourceServiceListDstResourcesCall

type MockRelationResourceServiceListDstResourcesCall struct {
	*gomock.Call
}

MockRelationResourceServiceListDstResourcesCall wrap *gomock.Call

func (*MockRelationResourceServiceListDstResourcesCall) Do

Do rewrite *gomock.Call.Do

func (*MockRelationResourceServiceListDstResourcesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRelationResourceServiceListDstResourcesCall) Return

Return rewrite *gomock.Call.Return

type MockRelationResourceServiceListSrcAggregatedCall

type MockRelationResourceServiceListSrcAggregatedCall struct {
	*gomock.Call
}

MockRelationResourceServiceListSrcAggregatedCall wrap *gomock.Call

func (*MockRelationResourceServiceListSrcAggregatedCall) Do

Do rewrite *gomock.Call.Do

func (*MockRelationResourceServiceListSrcAggregatedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRelationResourceServiceListSrcAggregatedCall) Return

Return rewrite *gomock.Call.Return

type MockRelationResourceServiceListSrcRelatedCall

type MockRelationResourceServiceListSrcRelatedCall struct {
	*gomock.Call
}

MockRelationResourceServiceListSrcRelatedCall wrap *gomock.Call

func (*MockRelationResourceServiceListSrcRelatedCall) Do

Do rewrite *gomock.Call.Do

func (*MockRelationResourceServiceListSrcRelatedCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRelationResourceServiceListSrcRelatedCall) Return

Return rewrite *gomock.Call.Return

type MockRelationResourceServiceListSrcResourcesCall

type MockRelationResourceServiceListSrcResourcesCall struct {
	*gomock.Call
}

MockRelationResourceServiceListSrcResourcesCall wrap *gomock.Call

func (*MockRelationResourceServiceListSrcResourcesCall) Do

Do rewrite *gomock.Call.Do

func (*MockRelationResourceServiceListSrcResourcesCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockRelationResourceServiceListSrcResourcesCall) Return

Return rewrite *gomock.Call.Return

type MockRelationResourceServiceMockRecorder

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

MockRelationResourceServiceMockRecorder is the mock recorder for MockRelationResourceService.

func (*MockRelationResourceServiceMockRecorder) CreateResourceRelation

CreateResourceRelation indicates an expected call of CreateResourceRelation.

func (*MockRelationResourceServiceMockRecorder) DeleteDstRelation

func (mr *MockRelationResourceServiceMockRecorder) DeleteDstRelation(ctx, resourceId, modelUid, relationName any) *MockRelationResourceServiceDeleteDstRelationCall

DeleteDstRelation indicates an expected call of DeleteDstRelation.

func (*MockRelationResourceServiceMockRecorder) DeleteResourceRelation

DeleteResourceRelation indicates an expected call of DeleteResourceRelation.

func (*MockRelationResourceServiceMockRecorder) DeleteSrcRelation

func (mr *MockRelationResourceServiceMockRecorder) DeleteSrcRelation(ctx, resourceId, modelUid, relationName any) *MockRelationResourceServiceDeleteSrcRelationCall

DeleteSrcRelation indicates an expected call of DeleteSrcRelation.

func (*MockRelationResourceServiceMockRecorder) ListDiagram

ListDiagram indicates an expected call of ListDiagram.

func (*MockRelationResourceServiceMockRecorder) ListDstAggregated

ListDstAggregated indicates an expected call of ListDstAggregated.

func (*MockRelationResourceServiceMockRecorder) ListDstRelated

func (mr *MockRelationResourceServiceMockRecorder) ListDstRelated(ctx, modelUid, relationName, id any) *MockRelationResourceServiceListDstRelatedCall

ListDstRelated indicates an expected call of ListDstRelated.

func (*MockRelationResourceServiceMockRecorder) ListDstResources

ListDstResources indicates an expected call of ListDstResources.

func (*MockRelationResourceServiceMockRecorder) ListSrcAggregated

ListSrcAggregated indicates an expected call of ListSrcAggregated.

func (*MockRelationResourceServiceMockRecorder) ListSrcRelated

func (mr *MockRelationResourceServiceMockRecorder) ListSrcRelated(ctx, modelUid, relationName, id any) *MockRelationResourceServiceListSrcRelatedCall

ListSrcRelated indicates an expected call of ListSrcRelated.

func (*MockRelationResourceServiceMockRecorder) ListSrcResources

ListSrcResources indicates an expected call of ListSrcResources.

Jump to

Keyboard shortcuts

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