Documentation ¶
Overview ¶
Package relationmocks is a generated GoMock package.
Package relationmocks is a generated GoMock package.
Index ¶
- type MockRelationModelService
- func (m *MockRelationModelService) CreateModelRelation(ctx context.Context, req domain.ModelRelation) (int64, error)
- func (m *MockRelationModelService) DeleteModelRelation(ctx context.Context, id int64) (int64, error)
- func (m *MockRelationModelService) EXPECT() *MockRelationModelServiceMockRecorder
- func (m *MockRelationModelService) FindModelDiagramBySrcUids(ctx context.Context, srcUids []string) ([]domain.ModelDiagram, error)
- func (m *MockRelationModelService) ListModelUidRelation(ctx context.Context, offset, limit int64, modelUid string) ([]domain.ModelRelation, int64, error)
- type MockRelationModelServiceCreateModelRelationCall
- func (c *MockRelationModelServiceCreateModelRelationCall) Do(f func(context.Context, domain.ModelRelation) (int64, error)) *MockRelationModelServiceCreateModelRelationCall
- func (c *MockRelationModelServiceCreateModelRelationCall) DoAndReturn(f func(context.Context, domain.ModelRelation) (int64, error)) *MockRelationModelServiceCreateModelRelationCall
- func (c *MockRelationModelServiceCreateModelRelationCall) Return(arg0 int64, arg1 error) *MockRelationModelServiceCreateModelRelationCall
- type MockRelationModelServiceDeleteModelRelationCall
- func (c *MockRelationModelServiceDeleteModelRelationCall) Do(f func(context.Context, int64) (int64, error)) *MockRelationModelServiceDeleteModelRelationCall
- func (c *MockRelationModelServiceDeleteModelRelationCall) DoAndReturn(f func(context.Context, int64) (int64, error)) *MockRelationModelServiceDeleteModelRelationCall
- func (c *MockRelationModelServiceDeleteModelRelationCall) Return(arg0 int64, arg1 error) *MockRelationModelServiceDeleteModelRelationCall
- type MockRelationModelServiceFindModelDiagramBySrcUidsCall
- func (c *MockRelationModelServiceFindModelDiagramBySrcUidsCall) Do(f func(context.Context, []string) ([]domain.ModelDiagram, error)) *MockRelationModelServiceFindModelDiagramBySrcUidsCall
- func (c *MockRelationModelServiceFindModelDiagramBySrcUidsCall) DoAndReturn(f func(context.Context, []string) ([]domain.ModelDiagram, error)) *MockRelationModelServiceFindModelDiagramBySrcUidsCall
- func (c *MockRelationModelServiceFindModelDiagramBySrcUidsCall) Return(arg0 []domain.ModelDiagram, arg1 error) *MockRelationModelServiceFindModelDiagramBySrcUidsCall
- type MockRelationModelServiceListModelUidRelationCall
- func (c *MockRelationModelServiceListModelUidRelationCall) Do(...) *MockRelationModelServiceListModelUidRelationCall
- func (c *MockRelationModelServiceListModelUidRelationCall) DoAndReturn(...) *MockRelationModelServiceListModelUidRelationCall
- func (c *MockRelationModelServiceListModelUidRelationCall) Return(arg0 []domain.ModelRelation, arg1 int64, arg2 error) *MockRelationModelServiceListModelUidRelationCall
- type MockRelationModelServiceMockRecorder
- func (mr *MockRelationModelServiceMockRecorder) CreateModelRelation(ctx, req any) *MockRelationModelServiceCreateModelRelationCall
- func (mr *MockRelationModelServiceMockRecorder) DeleteModelRelation(ctx, id any) *MockRelationModelServiceDeleteModelRelationCall
- func (mr *MockRelationModelServiceMockRecorder) FindModelDiagramBySrcUids(ctx, srcUids any) *MockRelationModelServiceFindModelDiagramBySrcUidsCall
- func (mr *MockRelationModelServiceMockRecorder) ListModelUidRelation(ctx, offset, limit, modelUid any) *MockRelationModelServiceListModelUidRelationCall
- type MockRelationResourceService
- func (m *MockRelationResourceService) CreateResourceRelation(ctx context.Context, req domain.ResourceRelation) (int64, error)
- func (m *MockRelationResourceService) DeleteDstRelation(ctx context.Context, resourceId int64, modelUid, relationName string) (int64, error)
- func (m *MockRelationResourceService) DeleteResourceRelation(ctx context.Context, id int64) (int64, error)
- func (m *MockRelationResourceService) DeleteSrcRelation(ctx context.Context, resourceId int64, modelUid, relationName string) (int64, error)
- func (m *MockRelationResourceService) EXPECT() *MockRelationResourceServiceMockRecorder
- func (m *MockRelationResourceService) ListDiagram(ctx context.Context, modelUid string, id int64) (domain.ResourceDiagram, int64, error)
- func (m *MockRelationResourceService) ListDstAggregated(ctx context.Context, modelUid string, id int64) ([]domain.ResourceAggregatedAssets, error)
- func (m *MockRelationResourceService) ListDstRelated(ctx context.Context, modelUid, relationName string, id int64) ([]int64, error)
- func (m *MockRelationResourceService) ListDstResources(ctx context.Context, modelUid string, id int64) ([]domain.ResourceRelation, int64, error)
- func (m *MockRelationResourceService) ListSrcAggregated(ctx context.Context, modelUid string, id int64) ([]domain.ResourceAggregatedAssets, error)
- func (m *MockRelationResourceService) ListSrcRelated(ctx context.Context, modelUid, relationName string, id int64) ([]int64, error)
- func (m *MockRelationResourceService) ListSrcResources(ctx context.Context, modelUid string, id int64) ([]domain.ResourceRelation, int64, error)
- type MockRelationResourceServiceCreateResourceRelationCall
- func (c *MockRelationResourceServiceCreateResourceRelationCall) Do(f func(context.Context, domain.ResourceRelation) (int64, error)) *MockRelationResourceServiceCreateResourceRelationCall
- func (c *MockRelationResourceServiceCreateResourceRelationCall) DoAndReturn(f func(context.Context, domain.ResourceRelation) (int64, error)) *MockRelationResourceServiceCreateResourceRelationCall
- func (c *MockRelationResourceServiceCreateResourceRelationCall) Return(arg0 int64, arg1 error) *MockRelationResourceServiceCreateResourceRelationCall
- type MockRelationResourceServiceDeleteDstRelationCall
- func (c *MockRelationResourceServiceDeleteDstRelationCall) Do(f func(context.Context, int64, string, string) (int64, error)) *MockRelationResourceServiceDeleteDstRelationCall
- func (c *MockRelationResourceServiceDeleteDstRelationCall) DoAndReturn(f func(context.Context, int64, string, string) (int64, error)) *MockRelationResourceServiceDeleteDstRelationCall
- func (c *MockRelationResourceServiceDeleteDstRelationCall) Return(arg0 int64, arg1 error) *MockRelationResourceServiceDeleteDstRelationCall
- type MockRelationResourceServiceDeleteResourceRelationCall
- func (c *MockRelationResourceServiceDeleteResourceRelationCall) Do(f func(context.Context, int64) (int64, error)) *MockRelationResourceServiceDeleteResourceRelationCall
- func (c *MockRelationResourceServiceDeleteResourceRelationCall) DoAndReturn(f func(context.Context, int64) (int64, error)) *MockRelationResourceServiceDeleteResourceRelationCall
- func (c *MockRelationResourceServiceDeleteResourceRelationCall) Return(arg0 int64, arg1 error) *MockRelationResourceServiceDeleteResourceRelationCall
- type MockRelationResourceServiceDeleteSrcRelationCall
- func (c *MockRelationResourceServiceDeleteSrcRelationCall) Do(f func(context.Context, int64, string, string) (int64, error)) *MockRelationResourceServiceDeleteSrcRelationCall
- func (c *MockRelationResourceServiceDeleteSrcRelationCall) DoAndReturn(f func(context.Context, int64, string, string) (int64, error)) *MockRelationResourceServiceDeleteSrcRelationCall
- func (c *MockRelationResourceServiceDeleteSrcRelationCall) Return(arg0 int64, arg1 error) *MockRelationResourceServiceDeleteSrcRelationCall
- type MockRelationResourceServiceListDiagramCall
- func (c *MockRelationResourceServiceListDiagramCall) Do(f func(context.Context, string, int64) (domain.ResourceDiagram, int64, error)) *MockRelationResourceServiceListDiagramCall
- func (c *MockRelationResourceServiceListDiagramCall) DoAndReturn(f func(context.Context, string, int64) (domain.ResourceDiagram, int64, error)) *MockRelationResourceServiceListDiagramCall
- func (c *MockRelationResourceServiceListDiagramCall) Return(arg0 domain.ResourceDiagram, arg1 int64, arg2 error) *MockRelationResourceServiceListDiagramCall
- type MockRelationResourceServiceListDstAggregatedCall
- func (c *MockRelationResourceServiceListDstAggregatedCall) Do(...) *MockRelationResourceServiceListDstAggregatedCall
- func (c *MockRelationResourceServiceListDstAggregatedCall) DoAndReturn(...) *MockRelationResourceServiceListDstAggregatedCall
- func (c *MockRelationResourceServiceListDstAggregatedCall) Return(arg0 []domain.ResourceAggregatedAssets, arg1 error) *MockRelationResourceServiceListDstAggregatedCall
- type MockRelationResourceServiceListDstRelatedCall
- func (c *MockRelationResourceServiceListDstRelatedCall) Do(f func(context.Context, string, string, int64) ([]int64, error)) *MockRelationResourceServiceListDstRelatedCall
- func (c *MockRelationResourceServiceListDstRelatedCall) DoAndReturn(f func(context.Context, string, string, int64) ([]int64, error)) *MockRelationResourceServiceListDstRelatedCall
- func (c *MockRelationResourceServiceListDstRelatedCall) Return(arg0 []int64, arg1 error) *MockRelationResourceServiceListDstRelatedCall
- type MockRelationResourceServiceListDstResourcesCall
- func (c *MockRelationResourceServiceListDstResourcesCall) Do(...) *MockRelationResourceServiceListDstResourcesCall
- func (c *MockRelationResourceServiceListDstResourcesCall) DoAndReturn(...) *MockRelationResourceServiceListDstResourcesCall
- func (c *MockRelationResourceServiceListDstResourcesCall) Return(arg0 []domain.ResourceRelation, arg1 int64, arg2 error) *MockRelationResourceServiceListDstResourcesCall
- type MockRelationResourceServiceListSrcAggregatedCall
- func (c *MockRelationResourceServiceListSrcAggregatedCall) Do(...) *MockRelationResourceServiceListSrcAggregatedCall
- func (c *MockRelationResourceServiceListSrcAggregatedCall) DoAndReturn(...) *MockRelationResourceServiceListSrcAggregatedCall
- func (c *MockRelationResourceServiceListSrcAggregatedCall) Return(arg0 []domain.ResourceAggregatedAssets, arg1 error) *MockRelationResourceServiceListSrcAggregatedCall
- type MockRelationResourceServiceListSrcRelatedCall
- func (c *MockRelationResourceServiceListSrcRelatedCall) Do(f func(context.Context, string, string, int64) ([]int64, error)) *MockRelationResourceServiceListSrcRelatedCall
- func (c *MockRelationResourceServiceListSrcRelatedCall) DoAndReturn(f func(context.Context, string, string, int64) ([]int64, error)) *MockRelationResourceServiceListSrcRelatedCall
- func (c *MockRelationResourceServiceListSrcRelatedCall) Return(arg0 []int64, arg1 error) *MockRelationResourceServiceListSrcRelatedCall
- type MockRelationResourceServiceListSrcResourcesCall
- func (c *MockRelationResourceServiceListSrcResourcesCall) Do(...) *MockRelationResourceServiceListSrcResourcesCall
- func (c *MockRelationResourceServiceListSrcResourcesCall) DoAndReturn(...) *MockRelationResourceServiceListSrcResourcesCall
- func (c *MockRelationResourceServiceListSrcResourcesCall) Return(arg0 []domain.ResourceRelation, arg1 int64, arg2 error) *MockRelationResourceServiceListSrcResourcesCall
- type MockRelationResourceServiceMockRecorder
- func (mr *MockRelationResourceServiceMockRecorder) CreateResourceRelation(ctx, req any) *MockRelationResourceServiceCreateResourceRelationCall
- func (mr *MockRelationResourceServiceMockRecorder) DeleteDstRelation(ctx, resourceId, modelUid, relationName any) *MockRelationResourceServiceDeleteDstRelationCall
- func (mr *MockRelationResourceServiceMockRecorder) DeleteResourceRelation(ctx, id any) *MockRelationResourceServiceDeleteResourceRelationCall
- func (mr *MockRelationResourceServiceMockRecorder) DeleteSrcRelation(ctx, resourceId, modelUid, relationName any) *MockRelationResourceServiceDeleteSrcRelationCall
- func (mr *MockRelationResourceServiceMockRecorder) ListDiagram(ctx, modelUid, id any) *MockRelationResourceServiceListDiagramCall
- func (mr *MockRelationResourceServiceMockRecorder) ListDstAggregated(ctx, modelUid, id any) *MockRelationResourceServiceListDstAggregatedCall
- func (mr *MockRelationResourceServiceMockRecorder) ListDstRelated(ctx, modelUid, relationName, id any) *MockRelationResourceServiceListDstRelatedCall
- func (mr *MockRelationResourceServiceMockRecorder) ListDstResources(ctx, modelUid, id any) *MockRelationResourceServiceListDstResourcesCall
- func (mr *MockRelationResourceServiceMockRecorder) ListSrcAggregated(ctx, modelUid, id any) *MockRelationResourceServiceListSrcAggregatedCall
- func (mr *MockRelationResourceServiceMockRecorder) ListSrcRelated(ctx, modelUid, relationName, id any) *MockRelationResourceServiceListSrcRelatedCall
- func (mr *MockRelationResourceServiceMockRecorder) ListSrcResources(ctx, modelUid, id any) *MockRelationResourceServiceListSrcResourcesCall
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 ¶
func (m *MockRelationModelService) EXPECT() *MockRelationModelServiceMockRecorder
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 ¶
MockRelationModelServiceCreateModelRelationCall wrap *gomock.Call
func (*MockRelationModelServiceCreateModelRelationCall) Do ¶
func (c *MockRelationModelServiceCreateModelRelationCall) Do(f func(context.Context, domain.ModelRelation) (int64, error)) *MockRelationModelServiceCreateModelRelationCall
Do rewrite *gomock.Call.Do
func (*MockRelationModelServiceCreateModelRelationCall) DoAndReturn ¶
func (c *MockRelationModelServiceCreateModelRelationCall) DoAndReturn(f func(context.Context, domain.ModelRelation) (int64, error)) *MockRelationModelServiceCreateModelRelationCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRelationModelServiceCreateModelRelationCall) Return ¶
func (c *MockRelationModelServiceCreateModelRelationCall) Return(arg0 int64, arg1 error) *MockRelationModelServiceCreateModelRelationCall
Return rewrite *gomock.Call.Return
type MockRelationModelServiceDeleteModelRelationCall ¶
MockRelationModelServiceDeleteModelRelationCall wrap *gomock.Call
func (*MockRelationModelServiceDeleteModelRelationCall) Do ¶
func (c *MockRelationModelServiceDeleteModelRelationCall) Do(f func(context.Context, int64) (int64, error)) *MockRelationModelServiceDeleteModelRelationCall
Do rewrite *gomock.Call.Do
func (*MockRelationModelServiceDeleteModelRelationCall) DoAndReturn ¶
func (c *MockRelationModelServiceDeleteModelRelationCall) DoAndReturn(f func(context.Context, int64) (int64, error)) *MockRelationModelServiceDeleteModelRelationCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRelationModelServiceDeleteModelRelationCall) Return ¶
func (c *MockRelationModelServiceDeleteModelRelationCall) Return(arg0 int64, arg1 error) *MockRelationModelServiceDeleteModelRelationCall
Return rewrite *gomock.Call.Return
type MockRelationModelServiceFindModelDiagramBySrcUidsCall ¶
MockRelationModelServiceFindModelDiagramBySrcUidsCall wrap *gomock.Call
func (*MockRelationModelServiceFindModelDiagramBySrcUidsCall) Do ¶
func (c *MockRelationModelServiceFindModelDiagramBySrcUidsCall) Do(f func(context.Context, []string) ([]domain.ModelDiagram, error)) *MockRelationModelServiceFindModelDiagramBySrcUidsCall
Do rewrite *gomock.Call.Do
func (*MockRelationModelServiceFindModelDiagramBySrcUidsCall) DoAndReturn ¶
func (c *MockRelationModelServiceFindModelDiagramBySrcUidsCall) DoAndReturn(f func(context.Context, []string) ([]domain.ModelDiagram, error)) *MockRelationModelServiceFindModelDiagramBySrcUidsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRelationModelServiceFindModelDiagramBySrcUidsCall) Return ¶
func (c *MockRelationModelServiceFindModelDiagramBySrcUidsCall) Return(arg0 []domain.ModelDiagram, arg1 error) *MockRelationModelServiceFindModelDiagramBySrcUidsCall
Return rewrite *gomock.Call.Return
type MockRelationModelServiceListModelUidRelationCall ¶
MockRelationModelServiceListModelUidRelationCall wrap *gomock.Call
func (*MockRelationModelServiceListModelUidRelationCall) Do ¶
func (c *MockRelationModelServiceListModelUidRelationCall) Do(f func(context.Context, int64, int64, string) ([]domain.ModelRelation, int64, error)) *MockRelationModelServiceListModelUidRelationCall
Do rewrite *gomock.Call.Do
func (*MockRelationModelServiceListModelUidRelationCall) DoAndReturn ¶
func (c *MockRelationModelServiceListModelUidRelationCall) DoAndReturn(f func(context.Context, int64, int64, string) ([]domain.ModelRelation, int64, error)) *MockRelationModelServiceListModelUidRelationCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRelationModelServiceListModelUidRelationCall) Return ¶
func (c *MockRelationModelServiceListModelUidRelationCall) Return(arg0 []domain.ModelRelation, arg1 int64, arg2 error) *MockRelationModelServiceListModelUidRelationCall
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 ¶
func (mr *MockRelationModelServiceMockRecorder) CreateModelRelation(ctx, req any) *MockRelationModelServiceCreateModelRelationCall
CreateModelRelation indicates an expected call of CreateModelRelation.
func (*MockRelationModelServiceMockRecorder) DeleteModelRelation ¶
func (mr *MockRelationModelServiceMockRecorder) DeleteModelRelation(ctx, id any) *MockRelationModelServiceDeleteModelRelationCall
DeleteModelRelation indicates an expected call of DeleteModelRelation.
func (*MockRelationModelServiceMockRecorder) FindModelDiagramBySrcUids ¶
func (mr *MockRelationModelServiceMockRecorder) FindModelDiagramBySrcUids(ctx, srcUids any) *MockRelationModelServiceFindModelDiagramBySrcUidsCall
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 ¶
func (m *MockRelationResourceService) EXPECT() *MockRelationResourceServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRelationResourceService) ListDiagram ¶
func (m *MockRelationResourceService) ListDiagram(ctx context.Context, modelUid string, id int64) (domain.ResourceDiagram, int64, error)
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 ¶
MockRelationResourceServiceCreateResourceRelationCall wrap *gomock.Call
func (*MockRelationResourceServiceCreateResourceRelationCall) Do ¶
func (c *MockRelationResourceServiceCreateResourceRelationCall) Do(f func(context.Context, domain.ResourceRelation) (int64, error)) *MockRelationResourceServiceCreateResourceRelationCall
Do rewrite *gomock.Call.Do
func (*MockRelationResourceServiceCreateResourceRelationCall) DoAndReturn ¶
func (c *MockRelationResourceServiceCreateResourceRelationCall) DoAndReturn(f func(context.Context, domain.ResourceRelation) (int64, error)) *MockRelationResourceServiceCreateResourceRelationCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRelationResourceServiceCreateResourceRelationCall) Return ¶
func (c *MockRelationResourceServiceCreateResourceRelationCall) Return(arg0 int64, arg1 error) *MockRelationResourceServiceCreateResourceRelationCall
Return rewrite *gomock.Call.Return
type MockRelationResourceServiceDeleteDstRelationCall ¶
MockRelationResourceServiceDeleteDstRelationCall wrap *gomock.Call
func (*MockRelationResourceServiceDeleteDstRelationCall) Do ¶
func (c *MockRelationResourceServiceDeleteDstRelationCall) Do(f func(context.Context, int64, string, string) (int64, error)) *MockRelationResourceServiceDeleteDstRelationCall
Do rewrite *gomock.Call.Do
func (*MockRelationResourceServiceDeleteDstRelationCall) DoAndReturn ¶
func (c *MockRelationResourceServiceDeleteDstRelationCall) DoAndReturn(f func(context.Context, int64, string, string) (int64, error)) *MockRelationResourceServiceDeleteDstRelationCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRelationResourceServiceDeleteDstRelationCall) Return ¶
func (c *MockRelationResourceServiceDeleteDstRelationCall) Return(arg0 int64, arg1 error) *MockRelationResourceServiceDeleteDstRelationCall
Return rewrite *gomock.Call.Return
type MockRelationResourceServiceDeleteResourceRelationCall ¶
MockRelationResourceServiceDeleteResourceRelationCall wrap *gomock.Call
func (*MockRelationResourceServiceDeleteResourceRelationCall) Do ¶
func (c *MockRelationResourceServiceDeleteResourceRelationCall) Do(f func(context.Context, int64) (int64, error)) *MockRelationResourceServiceDeleteResourceRelationCall
Do rewrite *gomock.Call.Do
func (*MockRelationResourceServiceDeleteResourceRelationCall) DoAndReturn ¶
func (c *MockRelationResourceServiceDeleteResourceRelationCall) DoAndReturn(f func(context.Context, int64) (int64, error)) *MockRelationResourceServiceDeleteResourceRelationCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRelationResourceServiceDeleteResourceRelationCall) Return ¶
func (c *MockRelationResourceServiceDeleteResourceRelationCall) Return(arg0 int64, arg1 error) *MockRelationResourceServiceDeleteResourceRelationCall
Return rewrite *gomock.Call.Return
type MockRelationResourceServiceDeleteSrcRelationCall ¶
MockRelationResourceServiceDeleteSrcRelationCall wrap *gomock.Call
func (*MockRelationResourceServiceDeleteSrcRelationCall) Do ¶
func (c *MockRelationResourceServiceDeleteSrcRelationCall) Do(f func(context.Context, int64, string, string) (int64, error)) *MockRelationResourceServiceDeleteSrcRelationCall
Do rewrite *gomock.Call.Do
func (*MockRelationResourceServiceDeleteSrcRelationCall) DoAndReturn ¶
func (c *MockRelationResourceServiceDeleteSrcRelationCall) DoAndReturn(f func(context.Context, int64, string, string) (int64, error)) *MockRelationResourceServiceDeleteSrcRelationCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRelationResourceServiceDeleteSrcRelationCall) Return ¶
func (c *MockRelationResourceServiceDeleteSrcRelationCall) Return(arg0 int64, arg1 error) *MockRelationResourceServiceDeleteSrcRelationCall
Return rewrite *gomock.Call.Return
type MockRelationResourceServiceListDiagramCall ¶
MockRelationResourceServiceListDiagramCall wrap *gomock.Call
func (*MockRelationResourceServiceListDiagramCall) Do ¶
func (c *MockRelationResourceServiceListDiagramCall) Do(f func(context.Context, string, int64) (domain.ResourceDiagram, int64, error)) *MockRelationResourceServiceListDiagramCall
Do rewrite *gomock.Call.Do
func (*MockRelationResourceServiceListDiagramCall) DoAndReturn ¶
func (c *MockRelationResourceServiceListDiagramCall) DoAndReturn(f func(context.Context, string, int64) (domain.ResourceDiagram, int64, error)) *MockRelationResourceServiceListDiagramCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRelationResourceServiceListDiagramCall) Return ¶
func (c *MockRelationResourceServiceListDiagramCall) Return(arg0 domain.ResourceDiagram, arg1 int64, arg2 error) *MockRelationResourceServiceListDiagramCall
Return rewrite *gomock.Call.Return
type MockRelationResourceServiceListDstAggregatedCall ¶
MockRelationResourceServiceListDstAggregatedCall wrap *gomock.Call
func (*MockRelationResourceServiceListDstAggregatedCall) Do ¶
func (c *MockRelationResourceServiceListDstAggregatedCall) Do(f func(context.Context, string, int64) ([]domain.ResourceAggregatedAssets, error)) *MockRelationResourceServiceListDstAggregatedCall
Do rewrite *gomock.Call.Do
func (*MockRelationResourceServiceListDstAggregatedCall) DoAndReturn ¶
func (c *MockRelationResourceServiceListDstAggregatedCall) DoAndReturn(f func(context.Context, string, int64) ([]domain.ResourceAggregatedAssets, error)) *MockRelationResourceServiceListDstAggregatedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRelationResourceServiceListDstAggregatedCall) Return ¶
func (c *MockRelationResourceServiceListDstAggregatedCall) Return(arg0 []domain.ResourceAggregatedAssets, arg1 error) *MockRelationResourceServiceListDstAggregatedCall
Return rewrite *gomock.Call.Return
type MockRelationResourceServiceListDstRelatedCall ¶
MockRelationResourceServiceListDstRelatedCall wrap *gomock.Call
func (*MockRelationResourceServiceListDstRelatedCall) Do ¶
func (c *MockRelationResourceServiceListDstRelatedCall) Do(f func(context.Context, string, string, int64) ([]int64, error)) *MockRelationResourceServiceListDstRelatedCall
Do rewrite *gomock.Call.Do
func (*MockRelationResourceServiceListDstRelatedCall) DoAndReturn ¶
func (c *MockRelationResourceServiceListDstRelatedCall) DoAndReturn(f func(context.Context, string, string, int64) ([]int64, error)) *MockRelationResourceServiceListDstRelatedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRelationResourceServiceListDstRelatedCall) Return ¶
func (c *MockRelationResourceServiceListDstRelatedCall) Return(arg0 []int64, arg1 error) *MockRelationResourceServiceListDstRelatedCall
Return rewrite *gomock.Call.Return
type MockRelationResourceServiceListDstResourcesCall ¶
MockRelationResourceServiceListDstResourcesCall wrap *gomock.Call
func (*MockRelationResourceServiceListDstResourcesCall) Do ¶
func (c *MockRelationResourceServiceListDstResourcesCall) Do(f func(context.Context, string, int64) ([]domain.ResourceRelation, int64, error)) *MockRelationResourceServiceListDstResourcesCall
Do rewrite *gomock.Call.Do
func (*MockRelationResourceServiceListDstResourcesCall) DoAndReturn ¶
func (c *MockRelationResourceServiceListDstResourcesCall) DoAndReturn(f func(context.Context, string, int64) ([]domain.ResourceRelation, int64, error)) *MockRelationResourceServiceListDstResourcesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRelationResourceServiceListDstResourcesCall) Return ¶
func (c *MockRelationResourceServiceListDstResourcesCall) Return(arg0 []domain.ResourceRelation, arg1 int64, arg2 error) *MockRelationResourceServiceListDstResourcesCall
Return rewrite *gomock.Call.Return
type MockRelationResourceServiceListSrcAggregatedCall ¶
MockRelationResourceServiceListSrcAggregatedCall wrap *gomock.Call
func (*MockRelationResourceServiceListSrcAggregatedCall) Do ¶
func (c *MockRelationResourceServiceListSrcAggregatedCall) Do(f func(context.Context, string, int64) ([]domain.ResourceAggregatedAssets, error)) *MockRelationResourceServiceListSrcAggregatedCall
Do rewrite *gomock.Call.Do
func (*MockRelationResourceServiceListSrcAggregatedCall) DoAndReturn ¶
func (c *MockRelationResourceServiceListSrcAggregatedCall) DoAndReturn(f func(context.Context, string, int64) ([]domain.ResourceAggregatedAssets, error)) *MockRelationResourceServiceListSrcAggregatedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRelationResourceServiceListSrcAggregatedCall) Return ¶
func (c *MockRelationResourceServiceListSrcAggregatedCall) Return(arg0 []domain.ResourceAggregatedAssets, arg1 error) *MockRelationResourceServiceListSrcAggregatedCall
Return rewrite *gomock.Call.Return
type MockRelationResourceServiceListSrcRelatedCall ¶
MockRelationResourceServiceListSrcRelatedCall wrap *gomock.Call
func (*MockRelationResourceServiceListSrcRelatedCall) Do ¶
func (c *MockRelationResourceServiceListSrcRelatedCall) Do(f func(context.Context, string, string, int64) ([]int64, error)) *MockRelationResourceServiceListSrcRelatedCall
Do rewrite *gomock.Call.Do
func (*MockRelationResourceServiceListSrcRelatedCall) DoAndReturn ¶
func (c *MockRelationResourceServiceListSrcRelatedCall) DoAndReturn(f func(context.Context, string, string, int64) ([]int64, error)) *MockRelationResourceServiceListSrcRelatedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRelationResourceServiceListSrcRelatedCall) Return ¶
func (c *MockRelationResourceServiceListSrcRelatedCall) Return(arg0 []int64, arg1 error) *MockRelationResourceServiceListSrcRelatedCall
Return rewrite *gomock.Call.Return
type MockRelationResourceServiceListSrcResourcesCall ¶
MockRelationResourceServiceListSrcResourcesCall wrap *gomock.Call
func (*MockRelationResourceServiceListSrcResourcesCall) Do ¶
func (c *MockRelationResourceServiceListSrcResourcesCall) Do(f func(context.Context, string, int64) ([]domain.ResourceRelation, int64, error)) *MockRelationResourceServiceListSrcResourcesCall
Do rewrite *gomock.Call.Do
func (*MockRelationResourceServiceListSrcResourcesCall) DoAndReturn ¶
func (c *MockRelationResourceServiceListSrcResourcesCall) DoAndReturn(f func(context.Context, string, int64) ([]domain.ResourceRelation, int64, error)) *MockRelationResourceServiceListSrcResourcesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockRelationResourceServiceListSrcResourcesCall) Return ¶
func (c *MockRelationResourceServiceListSrcResourcesCall) Return(arg0 []domain.ResourceRelation, arg1 int64, arg2 error) *MockRelationResourceServiceListSrcResourcesCall
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 ¶
func (mr *MockRelationResourceServiceMockRecorder) CreateResourceRelation(ctx, req any) *MockRelationResourceServiceCreateResourceRelationCall
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 ¶
func (mr *MockRelationResourceServiceMockRecorder) DeleteResourceRelation(ctx, id any) *MockRelationResourceServiceDeleteResourceRelationCall
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 ¶
func (mr *MockRelationResourceServiceMockRecorder) ListDiagram(ctx, modelUid, id any) *MockRelationResourceServiceListDiagramCall
ListDiagram indicates an expected call of ListDiagram.
func (*MockRelationResourceServiceMockRecorder) ListDstAggregated ¶
func (mr *MockRelationResourceServiceMockRecorder) ListDstAggregated(ctx, modelUid, id any) *MockRelationResourceServiceListDstAggregatedCall
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 ¶
func (mr *MockRelationResourceServiceMockRecorder) ListDstResources(ctx, modelUid, id any) *MockRelationResourceServiceListDstResourcesCall
ListDstResources indicates an expected call of ListDstResources.
func (*MockRelationResourceServiceMockRecorder) ListSrcAggregated ¶
func (mr *MockRelationResourceServiceMockRecorder) ListSrcAggregated(ctx, modelUid, id any) *MockRelationResourceServiceListSrcAggregatedCall
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 ¶
func (mr *MockRelationResourceServiceMockRecorder) ListSrcResources(ctx, modelUid, id any) *MockRelationResourceServiceListSrcResourcesCall
ListSrcResources indicates an expected call of ListSrcResources.