Documentation
¶
Overview ¶
Package attributemocks is a generated GoMock package.
Package attributemocks is a generated GoMock package.
Index ¶
- type MockAttributeGroupRepository
- func (m *MockAttributeGroupRepository) BatchCreateAttributeGroup(ctx context.Context, ags []domain.AttributeGroup) ([]domain.AttributeGroup, error)
- func (m *MockAttributeGroupRepository) BatchUpdateSort(ctx context.Context, items []domain.AttributeGroupSortItem) error
- func (m *MockAttributeGroupRepository) CreateAttributeGroup(ctx context.Context, req domain.AttributeGroup) (int64, error)
- func (m *MockAttributeGroupRepository) DeleteAttributeGroup(ctx context.Context, id int64) (int64, error)
- func (m *MockAttributeGroupRepository) DeleteByModelUid(ctx context.Context, modelUid string) (int64, error)
- func (m *MockAttributeGroupRepository) EXPECT() *MockAttributeGroupRepositoryMockRecorder
- func (m *MockAttributeGroupRepository) GetMaxSortKeyByModuleUid(ctx context.Context, modelUid string) (int64, error)
- func (m *MockAttributeGroupRepository) ListAttributeGroup(ctx context.Context, modelUid string) ([]domain.AttributeGroup, error)
- func (m *MockAttributeGroupRepository) ListAttributeGroupByIds(ctx context.Context, ids []int64) ([]domain.AttributeGroup, error)
- func (m *MockAttributeGroupRepository) RenameAttributeGroup(ctx context.Context, id int64, name string) (int64, error)
- func (m *MockAttributeGroupRepository) UpdateSort(ctx context.Context, id, sortKey int64) error
- type MockAttributeGroupRepositoryBatchCreateAttributeGroupCall
- func (c *MockAttributeGroupRepositoryBatchCreateAttributeGroupCall) Do(...) *MockAttributeGroupRepositoryBatchCreateAttributeGroupCall
- func (c *MockAttributeGroupRepositoryBatchCreateAttributeGroupCall) DoAndReturn(...) *MockAttributeGroupRepositoryBatchCreateAttributeGroupCall
- func (c *MockAttributeGroupRepositoryBatchCreateAttributeGroupCall) Return(arg0 []domain.AttributeGroup, arg1 error) *MockAttributeGroupRepositoryBatchCreateAttributeGroupCall
- type MockAttributeGroupRepositoryBatchUpdateSortCall
- func (c *MockAttributeGroupRepositoryBatchUpdateSortCall) Do(f func(context.Context, []domain.AttributeGroupSortItem) error) *MockAttributeGroupRepositoryBatchUpdateSortCall
- func (c *MockAttributeGroupRepositoryBatchUpdateSortCall) DoAndReturn(f func(context.Context, []domain.AttributeGroupSortItem) error) *MockAttributeGroupRepositoryBatchUpdateSortCall
- func (c *MockAttributeGroupRepositoryBatchUpdateSortCall) Return(arg0 error) *MockAttributeGroupRepositoryBatchUpdateSortCall
- type MockAttributeGroupRepositoryCreateAttributeGroupCall
- func (c *MockAttributeGroupRepositoryCreateAttributeGroupCall) Do(f func(context.Context, domain.AttributeGroup) (int64, error)) *MockAttributeGroupRepositoryCreateAttributeGroupCall
- func (c *MockAttributeGroupRepositoryCreateAttributeGroupCall) DoAndReturn(f func(context.Context, domain.AttributeGroup) (int64, error)) *MockAttributeGroupRepositoryCreateAttributeGroupCall
- func (c *MockAttributeGroupRepositoryCreateAttributeGroupCall) Return(arg0 int64, arg1 error) *MockAttributeGroupRepositoryCreateAttributeGroupCall
- type MockAttributeGroupRepositoryDeleteAttributeGroupCall
- func (c *MockAttributeGroupRepositoryDeleteAttributeGroupCall) Do(f func(context.Context, int64) (int64, error)) *MockAttributeGroupRepositoryDeleteAttributeGroupCall
- func (c *MockAttributeGroupRepositoryDeleteAttributeGroupCall) DoAndReturn(f func(context.Context, int64) (int64, error)) *MockAttributeGroupRepositoryDeleteAttributeGroupCall
- func (c *MockAttributeGroupRepositoryDeleteAttributeGroupCall) Return(arg0 int64, arg1 error) *MockAttributeGroupRepositoryDeleteAttributeGroupCall
- type MockAttributeGroupRepositoryDeleteByModelUidCall
- func (c *MockAttributeGroupRepositoryDeleteByModelUidCall) Do(f func(context.Context, string) (int64, error)) *MockAttributeGroupRepositoryDeleteByModelUidCall
- func (c *MockAttributeGroupRepositoryDeleteByModelUidCall) DoAndReturn(f func(context.Context, string) (int64, error)) *MockAttributeGroupRepositoryDeleteByModelUidCall
- func (c *MockAttributeGroupRepositoryDeleteByModelUidCall) Return(arg0 int64, arg1 error) *MockAttributeGroupRepositoryDeleteByModelUidCall
- type MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall
- func (c *MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall) Do(f func(context.Context, string) (int64, error)) *MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall
- func (c *MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall) DoAndReturn(f func(context.Context, string) (int64, error)) *MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall
- func (c *MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall) Return(arg0 int64, arg1 error) *MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall
- type MockAttributeGroupRepositoryListAttributeGroupByIdsCall
- func (c *MockAttributeGroupRepositoryListAttributeGroupByIdsCall) Do(f func(context.Context, []int64) ([]domain.AttributeGroup, error)) *MockAttributeGroupRepositoryListAttributeGroupByIdsCall
- func (c *MockAttributeGroupRepositoryListAttributeGroupByIdsCall) DoAndReturn(f func(context.Context, []int64) ([]domain.AttributeGroup, error)) *MockAttributeGroupRepositoryListAttributeGroupByIdsCall
- func (c *MockAttributeGroupRepositoryListAttributeGroupByIdsCall) Return(arg0 []domain.AttributeGroup, arg1 error) *MockAttributeGroupRepositoryListAttributeGroupByIdsCall
- type MockAttributeGroupRepositoryListAttributeGroupCall
- func (c *MockAttributeGroupRepositoryListAttributeGroupCall) Do(f func(context.Context, string) ([]domain.AttributeGroup, error)) *MockAttributeGroupRepositoryListAttributeGroupCall
- func (c *MockAttributeGroupRepositoryListAttributeGroupCall) DoAndReturn(f func(context.Context, string) ([]domain.AttributeGroup, error)) *MockAttributeGroupRepositoryListAttributeGroupCall
- func (c *MockAttributeGroupRepositoryListAttributeGroupCall) Return(arg0 []domain.AttributeGroup, arg1 error) *MockAttributeGroupRepositoryListAttributeGroupCall
- type MockAttributeGroupRepositoryMockRecorder
- func (mr *MockAttributeGroupRepositoryMockRecorder) BatchCreateAttributeGroup(ctx, ags any) *MockAttributeGroupRepositoryBatchCreateAttributeGroupCall
- func (mr *MockAttributeGroupRepositoryMockRecorder) BatchUpdateSort(ctx, items any) *MockAttributeGroupRepositoryBatchUpdateSortCall
- func (mr *MockAttributeGroupRepositoryMockRecorder) CreateAttributeGroup(ctx, req any) *MockAttributeGroupRepositoryCreateAttributeGroupCall
- func (mr *MockAttributeGroupRepositoryMockRecorder) DeleteAttributeGroup(ctx, id any) *MockAttributeGroupRepositoryDeleteAttributeGroupCall
- func (mr *MockAttributeGroupRepositoryMockRecorder) DeleteByModelUid(ctx, modelUid any) *MockAttributeGroupRepositoryDeleteByModelUidCall
- func (mr *MockAttributeGroupRepositoryMockRecorder) GetMaxSortKeyByModuleUid(ctx, modelUid any) *MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall
- func (mr *MockAttributeGroupRepositoryMockRecorder) ListAttributeGroup(ctx, modelUid any) *MockAttributeGroupRepositoryListAttributeGroupCall
- func (mr *MockAttributeGroupRepositoryMockRecorder) ListAttributeGroupByIds(ctx, ids any) *MockAttributeGroupRepositoryListAttributeGroupByIdsCall
- func (mr *MockAttributeGroupRepositoryMockRecorder) RenameAttributeGroup(ctx, id, name any) *MockAttributeGroupRepositoryRenameAttributeGroupCall
- func (mr *MockAttributeGroupRepositoryMockRecorder) UpdateSort(ctx, id, sortKey any) *MockAttributeGroupRepositoryUpdateSortCall
- type MockAttributeGroupRepositoryRenameAttributeGroupCall
- func (c *MockAttributeGroupRepositoryRenameAttributeGroupCall) Do(f func(context.Context, int64, string) (int64, error)) *MockAttributeGroupRepositoryRenameAttributeGroupCall
- func (c *MockAttributeGroupRepositoryRenameAttributeGroupCall) DoAndReturn(f func(context.Context, int64, string) (int64, error)) *MockAttributeGroupRepositoryRenameAttributeGroupCall
- func (c *MockAttributeGroupRepositoryRenameAttributeGroupCall) Return(arg0 int64, arg1 error) *MockAttributeGroupRepositoryRenameAttributeGroupCall
- type MockAttributeGroupRepositoryUpdateSortCall
- func (c *MockAttributeGroupRepositoryUpdateSortCall) Do(f func(context.Context, int64, int64) error) *MockAttributeGroupRepositoryUpdateSortCall
- func (c *MockAttributeGroupRepositoryUpdateSortCall) DoAndReturn(f func(context.Context, int64, int64) error) *MockAttributeGroupRepositoryUpdateSortCall
- func (c *MockAttributeGroupRepositoryUpdateSortCall) Return(arg0 error) *MockAttributeGroupRepositoryUpdateSortCall
- type MockAttributeRepository
- func (m *MockAttributeRepository) BatchCreateAttribute(ctx context.Context, attrs []domain.Attribute) error
- func (m *MockAttributeRepository) BatchUpdateSortKey(ctx context.Context, items []domain.AttributeSortItem) error
- func (m *MockAttributeRepository) CreateAttribute(ctx context.Context, req domain.Attribute) (int64, error)
- func (m *MockAttributeRepository) CustomAttributeFieldColumns(ctx context.Context, modelUid string, customField []string) (int64, error)
- func (m *MockAttributeRepository) CustomAttributeFieldColumnsReverse(ctx context.Context, modelUid string, customField []string) (int64, error)
- func (m *MockAttributeRepository) DeleteAttribute(ctx context.Context, id int64) (int64, error)
- func (m *MockAttributeRepository) DeleteByGroupId(ctx context.Context, groupId int64) (int64, error)
- func (m *MockAttributeRepository) DeleteByModelUid(ctx context.Context, modelUid string) (int64, error)
- func (m *MockAttributeRepository) DetailAttribute(ctx context.Context, id int64) (domain.Attribute, error)
- func (m *MockAttributeRepository) EXPECT() *MockAttributeRepositoryMockRecorder
- func (m *MockAttributeRepository) GetMaxSortKeyByGroupID(ctx context.Context, groupId int64) (int64, error)
- func (m *MockAttributeRepository) ListAttributePipeline(ctx context.Context, modelUid string) ([]domain.AttributePipeline, error)
- func (m *MockAttributeRepository) ListAttributes(ctx context.Context, modelUID string) ([]domain.Attribute, error)
- func (m *MockAttributeRepository) ListByGroupID(ctx context.Context, groupId int64) ([]domain.Attribute, error)
- func (m *MockAttributeRepository) SearchAttributeFieldsByModelUid(ctx context.Context, modelUid string) ([]string, error)
- func (m *MockAttributeRepository) SearchAttributeFieldsBySecure(ctx context.Context, modelUid []string) (map[string][]string, error)
- func (m *MockAttributeRepository) Total(ctx context.Context, modelUID string) (int64, error)
- func (m *MockAttributeRepository) UpdateAttribute(ctx context.Context, req domain.Attribute) (int64, error)
- func (m *MockAttributeRepository) UpdateSort(ctx context.Context, id, groupId, sortKey int64) error
- type MockAttributeRepositoryBatchCreateAttributeCall
- func (c *MockAttributeRepositoryBatchCreateAttributeCall) Do(f func(context.Context, []domain.Attribute) error) *MockAttributeRepositoryBatchCreateAttributeCall
- func (c *MockAttributeRepositoryBatchCreateAttributeCall) DoAndReturn(f func(context.Context, []domain.Attribute) error) *MockAttributeRepositoryBatchCreateAttributeCall
- func (c *MockAttributeRepositoryBatchCreateAttributeCall) Return(arg0 error) *MockAttributeRepositoryBatchCreateAttributeCall
- type MockAttributeRepositoryBatchUpdateSortKeyCall
- func (c *MockAttributeRepositoryBatchUpdateSortKeyCall) Do(f func(context.Context, []domain.AttributeSortItem) error) *MockAttributeRepositoryBatchUpdateSortKeyCall
- func (c *MockAttributeRepositoryBatchUpdateSortKeyCall) DoAndReturn(f func(context.Context, []domain.AttributeSortItem) error) *MockAttributeRepositoryBatchUpdateSortKeyCall
- func (c *MockAttributeRepositoryBatchUpdateSortKeyCall) Return(arg0 error) *MockAttributeRepositoryBatchUpdateSortKeyCall
- type MockAttributeRepositoryCreateAttributeCall
- func (c *MockAttributeRepositoryCreateAttributeCall) Do(f func(context.Context, domain.Attribute) (int64, error)) *MockAttributeRepositoryCreateAttributeCall
- func (c *MockAttributeRepositoryCreateAttributeCall) DoAndReturn(f func(context.Context, domain.Attribute) (int64, error)) *MockAttributeRepositoryCreateAttributeCall
- func (c *MockAttributeRepositoryCreateAttributeCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryCreateAttributeCall
- type MockAttributeRepositoryCustomAttributeFieldColumnsCall
- func (c *MockAttributeRepositoryCustomAttributeFieldColumnsCall) Do(f func(context.Context, string, []string) (int64, error)) *MockAttributeRepositoryCustomAttributeFieldColumnsCall
- func (c *MockAttributeRepositoryCustomAttributeFieldColumnsCall) DoAndReturn(f func(context.Context, string, []string) (int64, error)) *MockAttributeRepositoryCustomAttributeFieldColumnsCall
- func (c *MockAttributeRepositoryCustomAttributeFieldColumnsCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryCustomAttributeFieldColumnsCall
- type MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall
- func (c *MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall) Do(f func(context.Context, string, []string) (int64, error)) *MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall
- func (c *MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall) DoAndReturn(f func(context.Context, string, []string) (int64, error)) *MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall
- func (c *MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall
- type MockAttributeRepositoryDeleteAttributeCall
- func (c *MockAttributeRepositoryDeleteAttributeCall) Do(f func(context.Context, int64) (int64, error)) *MockAttributeRepositoryDeleteAttributeCall
- func (c *MockAttributeRepositoryDeleteAttributeCall) DoAndReturn(f func(context.Context, int64) (int64, error)) *MockAttributeRepositoryDeleteAttributeCall
- func (c *MockAttributeRepositoryDeleteAttributeCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryDeleteAttributeCall
- type MockAttributeRepositoryDeleteByGroupIdCall
- func (c *MockAttributeRepositoryDeleteByGroupIdCall) Do(f func(context.Context, int64) (int64, error)) *MockAttributeRepositoryDeleteByGroupIdCall
- func (c *MockAttributeRepositoryDeleteByGroupIdCall) DoAndReturn(f func(context.Context, int64) (int64, error)) *MockAttributeRepositoryDeleteByGroupIdCall
- func (c *MockAttributeRepositoryDeleteByGroupIdCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryDeleteByGroupIdCall
- type MockAttributeRepositoryDeleteByModelUidCall
- func (c *MockAttributeRepositoryDeleteByModelUidCall) Do(f func(context.Context, string) (int64, error)) *MockAttributeRepositoryDeleteByModelUidCall
- func (c *MockAttributeRepositoryDeleteByModelUidCall) DoAndReturn(f func(context.Context, string) (int64, error)) *MockAttributeRepositoryDeleteByModelUidCall
- func (c *MockAttributeRepositoryDeleteByModelUidCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryDeleteByModelUidCall
- type MockAttributeRepositoryDetailAttributeCall
- func (c *MockAttributeRepositoryDetailAttributeCall) Do(f func(context.Context, int64) (domain.Attribute, error)) *MockAttributeRepositoryDetailAttributeCall
- func (c *MockAttributeRepositoryDetailAttributeCall) DoAndReturn(f func(context.Context, int64) (domain.Attribute, error)) *MockAttributeRepositoryDetailAttributeCall
- func (c *MockAttributeRepositoryDetailAttributeCall) Return(arg0 domain.Attribute, arg1 error) *MockAttributeRepositoryDetailAttributeCall
- type MockAttributeRepositoryGetMaxSortKeyByGroupIDCall
- func (c *MockAttributeRepositoryGetMaxSortKeyByGroupIDCall) Do(f func(context.Context, int64) (int64, error)) *MockAttributeRepositoryGetMaxSortKeyByGroupIDCall
- func (c *MockAttributeRepositoryGetMaxSortKeyByGroupIDCall) DoAndReturn(f func(context.Context, int64) (int64, error)) *MockAttributeRepositoryGetMaxSortKeyByGroupIDCall
- func (c *MockAttributeRepositoryGetMaxSortKeyByGroupIDCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryGetMaxSortKeyByGroupIDCall
- type MockAttributeRepositoryListAttributePipelineCall
- func (c *MockAttributeRepositoryListAttributePipelineCall) Do(f func(context.Context, string) ([]domain.AttributePipeline, error)) *MockAttributeRepositoryListAttributePipelineCall
- func (c *MockAttributeRepositoryListAttributePipelineCall) DoAndReturn(f func(context.Context, string) ([]domain.AttributePipeline, error)) *MockAttributeRepositoryListAttributePipelineCall
- func (c *MockAttributeRepositoryListAttributePipelineCall) Return(arg0 []domain.AttributePipeline, arg1 error) *MockAttributeRepositoryListAttributePipelineCall
- type MockAttributeRepositoryListAttributesCall
- func (c *MockAttributeRepositoryListAttributesCall) Do(f func(context.Context, string) ([]domain.Attribute, error)) *MockAttributeRepositoryListAttributesCall
- func (c *MockAttributeRepositoryListAttributesCall) DoAndReturn(f func(context.Context, string) ([]domain.Attribute, error)) *MockAttributeRepositoryListAttributesCall
- func (c *MockAttributeRepositoryListAttributesCall) Return(arg0 []domain.Attribute, arg1 error) *MockAttributeRepositoryListAttributesCall
- type MockAttributeRepositoryListByGroupIDCall
- func (c *MockAttributeRepositoryListByGroupIDCall) Do(f func(context.Context, int64) ([]domain.Attribute, error)) *MockAttributeRepositoryListByGroupIDCall
- func (c *MockAttributeRepositoryListByGroupIDCall) DoAndReturn(f func(context.Context, int64) ([]domain.Attribute, error)) *MockAttributeRepositoryListByGroupIDCall
- func (c *MockAttributeRepositoryListByGroupIDCall) Return(arg0 []domain.Attribute, arg1 error) *MockAttributeRepositoryListByGroupIDCall
- type MockAttributeRepositoryMockRecorder
- func (mr *MockAttributeRepositoryMockRecorder) BatchCreateAttribute(ctx, attrs any) *MockAttributeRepositoryBatchCreateAttributeCall
- func (mr *MockAttributeRepositoryMockRecorder) BatchUpdateSortKey(ctx, items any) *MockAttributeRepositoryBatchUpdateSortKeyCall
- func (mr *MockAttributeRepositoryMockRecorder) CreateAttribute(ctx, req any) *MockAttributeRepositoryCreateAttributeCall
- func (mr *MockAttributeRepositoryMockRecorder) CustomAttributeFieldColumns(ctx, modelUid, customField any) *MockAttributeRepositoryCustomAttributeFieldColumnsCall
- func (mr *MockAttributeRepositoryMockRecorder) CustomAttributeFieldColumnsReverse(ctx, modelUid, customField any) *MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall
- func (mr *MockAttributeRepositoryMockRecorder) DeleteAttribute(ctx, id any) *MockAttributeRepositoryDeleteAttributeCall
- func (mr *MockAttributeRepositoryMockRecorder) DeleteByGroupId(ctx, groupId any) *MockAttributeRepositoryDeleteByGroupIdCall
- func (mr *MockAttributeRepositoryMockRecorder) DeleteByModelUid(ctx, modelUid any) *MockAttributeRepositoryDeleteByModelUidCall
- func (mr *MockAttributeRepositoryMockRecorder) DetailAttribute(ctx, id any) *MockAttributeRepositoryDetailAttributeCall
- func (mr *MockAttributeRepositoryMockRecorder) GetMaxSortKeyByGroupID(ctx, groupId any) *MockAttributeRepositoryGetMaxSortKeyByGroupIDCall
- func (mr *MockAttributeRepositoryMockRecorder) ListAttributePipeline(ctx, modelUid any) *MockAttributeRepositoryListAttributePipelineCall
- func (mr *MockAttributeRepositoryMockRecorder) ListAttributes(ctx, modelUID any) *MockAttributeRepositoryListAttributesCall
- func (mr *MockAttributeRepositoryMockRecorder) ListByGroupID(ctx, groupId any) *MockAttributeRepositoryListByGroupIDCall
- func (mr *MockAttributeRepositoryMockRecorder) SearchAttributeFieldsByModelUid(ctx, modelUid any) *MockAttributeRepositorySearchAttributeFieldsByModelUidCall
- func (mr *MockAttributeRepositoryMockRecorder) SearchAttributeFieldsBySecure(ctx, modelUid any) *MockAttributeRepositorySearchAttributeFieldsBySecureCall
- func (mr *MockAttributeRepositoryMockRecorder) Total(ctx, modelUID any) *MockAttributeRepositoryTotalCall
- func (mr *MockAttributeRepositoryMockRecorder) UpdateAttribute(ctx, req any) *MockAttributeRepositoryUpdateAttributeCall
- func (mr *MockAttributeRepositoryMockRecorder) UpdateSort(ctx, id, groupId, sortKey any) *MockAttributeRepositoryUpdateSortCall
- type MockAttributeRepositorySearchAttributeFieldsByModelUidCall
- func (c *MockAttributeRepositorySearchAttributeFieldsByModelUidCall) Do(f func(context.Context, string) ([]string, error)) *MockAttributeRepositorySearchAttributeFieldsByModelUidCall
- func (c *MockAttributeRepositorySearchAttributeFieldsByModelUidCall) DoAndReturn(f func(context.Context, string) ([]string, error)) *MockAttributeRepositorySearchAttributeFieldsByModelUidCall
- func (c *MockAttributeRepositorySearchAttributeFieldsByModelUidCall) Return(arg0 []string, arg1 error) *MockAttributeRepositorySearchAttributeFieldsByModelUidCall
- type MockAttributeRepositorySearchAttributeFieldsBySecureCall
- func (c *MockAttributeRepositorySearchAttributeFieldsBySecureCall) Do(f func(context.Context, []string) (map[string][]string, error)) *MockAttributeRepositorySearchAttributeFieldsBySecureCall
- func (c *MockAttributeRepositorySearchAttributeFieldsBySecureCall) DoAndReturn(f func(context.Context, []string) (map[string][]string, error)) *MockAttributeRepositorySearchAttributeFieldsBySecureCall
- func (c *MockAttributeRepositorySearchAttributeFieldsBySecureCall) Return(arg0 map[string][]string, arg1 error) *MockAttributeRepositorySearchAttributeFieldsBySecureCall
- type MockAttributeRepositoryTotalCall
- func (c *MockAttributeRepositoryTotalCall) Do(f func(context.Context, string) (int64, error)) *MockAttributeRepositoryTotalCall
- func (c *MockAttributeRepositoryTotalCall) DoAndReturn(f func(context.Context, string) (int64, error)) *MockAttributeRepositoryTotalCall
- func (c *MockAttributeRepositoryTotalCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryTotalCall
- type MockAttributeRepositoryUpdateAttributeCall
- func (c *MockAttributeRepositoryUpdateAttributeCall) Do(f func(context.Context, domain.Attribute) (int64, error)) *MockAttributeRepositoryUpdateAttributeCall
- func (c *MockAttributeRepositoryUpdateAttributeCall) DoAndReturn(f func(context.Context, domain.Attribute) (int64, error)) *MockAttributeRepositoryUpdateAttributeCall
- func (c *MockAttributeRepositoryUpdateAttributeCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryUpdateAttributeCall
- type MockAttributeRepositoryUpdateSortCall
- func (c *MockAttributeRepositoryUpdateSortCall) Do(f func(context.Context, int64, int64, int64) error) *MockAttributeRepositoryUpdateSortCall
- func (c *MockAttributeRepositoryUpdateSortCall) DoAndReturn(f func(context.Context, int64, int64, int64) error) *MockAttributeRepositoryUpdateSortCall
- func (c *MockAttributeRepositoryUpdateSortCall) Return(arg0 error) *MockAttributeRepositoryUpdateSortCall
- type MockFieldSecureAttrChangeEventProducer
- type MockFieldSecureAttrChangeEventProducerMockRecorder
- type MockFieldSecureAttrChangeEventProducerProduceCall
- func (c *MockFieldSecureAttrChangeEventProducerProduceCall) Do(f func(context.Context, domain.FieldSecureAttrChange) error) *MockFieldSecureAttrChangeEventProducerProduceCall
- func (c *MockFieldSecureAttrChangeEventProducerProduceCall) DoAndReturn(f func(context.Context, domain.FieldSecureAttrChange) error) *MockFieldSecureAttrChangeEventProducerProduceCall
- func (c *MockFieldSecureAttrChangeEventProducerProduceCall) Return(arg0 error) *MockFieldSecureAttrChangeEventProducerProduceCall
- type MockIFieldDeleteEventProducer
- type MockIFieldDeleteEventProducerMockRecorder
- type MockIFieldDeleteEventProducerProduceCall
- func (c *MockIFieldDeleteEventProducerProduceCall) Do(f func(context.Context, domain.FieldDelete) error) *MockIFieldDeleteEventProducerProduceCall
- func (c *MockIFieldDeleteEventProducerProduceCall) DoAndReturn(f func(context.Context, domain.FieldDelete) error) *MockIFieldDeleteEventProducerProduceCall
- func (c *MockIFieldDeleteEventProducerProduceCall) Return(arg0 error) *MockIFieldDeleteEventProducerProduceCall
- type MockService
- func (m *MockService) BatchCreateAttribute(ctx context.Context, attrs []domain.Attribute) error
- func (m *MockService) BatchCreateAttributeGroup(ctx context.Context, ags []domain.AttributeGroup) ([]domain.AttributeGroup, error)
- func (m *MockService) CreateAttribute(ctx context.Context, req domain.Attribute) (int64, error)
- func (m *MockService) CreateAttributeGroup(ctx context.Context, req domain.AttributeGroup) (int64, error)
- func (m *MockService) CreateDefaultAttribute(ctx context.Context, modelUid string) (int64, error)
- func (m *MockService) CustomAttributeFieldColumns(ctx context.Context, modelUid string, customField []string) (int64, error)
- func (m *MockService) DeleteAttribute(ctx context.Context, id int64) (int64, error)
- func (m *MockService) DeleteAttributeGroup(ctx context.Context, id int64) (int64, error)
- func (m *MockService) DeleteByModelUid(ctx context.Context, modelUid string) error
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) ListAttributeGroup(ctx context.Context, modelUid string) ([]domain.AttributeGroup, error)
- func (m *MockService) ListAttributeGroupByIds(ctx context.Context, ids []int64) ([]domain.AttributeGroup, error)
- func (m *MockService) ListAttributePipeline(ctx context.Context, modelUid string) ([]domain.AttributePipeline, error)
- func (m *MockService) ListAttributes(ctx context.Context, modelUID string) ([]domain.Attribute, int64, error)
- func (m *MockService) RenameAttributeGroup(ctx context.Context, id int64, name string) (int64, error)
- func (m *MockService) SearchAllAttributeFieldsByModelUid(ctx context.Context, modelUid string) ([]string, error)
- func (m *MockService) SearchAttributeFieldsByModelUid(ctx context.Context, modelUid string) ([]string, error)
- func (m *MockService) SearchAttributeFieldsBySecure(ctx context.Context, modelUids []string) (map[string][]string, error)
- func (m *MockService) Sort(ctx context.Context, id, targetGroupId, targetPosition int64) error
- func (m *MockService) SortAttributeGroup(ctx context.Context, id, targetPosition int64) error
- func (m *MockService) UpdateAttribute(ctx context.Context, attribute domain.Attribute) (int64, error)
- type MockServiceBatchCreateAttributeCall
- func (c *MockServiceBatchCreateAttributeCall) Do(f func(context.Context, []domain.Attribute) error) *MockServiceBatchCreateAttributeCall
- func (c *MockServiceBatchCreateAttributeCall) DoAndReturn(f func(context.Context, []domain.Attribute) error) *MockServiceBatchCreateAttributeCall
- func (c *MockServiceBatchCreateAttributeCall) Return(arg0 error) *MockServiceBatchCreateAttributeCall
- type MockServiceBatchCreateAttributeGroupCall
- func (c *MockServiceBatchCreateAttributeGroupCall) Do(...) *MockServiceBatchCreateAttributeGroupCall
- func (c *MockServiceBatchCreateAttributeGroupCall) DoAndReturn(...) *MockServiceBatchCreateAttributeGroupCall
- func (c *MockServiceBatchCreateAttributeGroupCall) Return(arg0 []domain.AttributeGroup, arg1 error) *MockServiceBatchCreateAttributeGroupCall
- type MockServiceCreateAttributeCall
- func (c *MockServiceCreateAttributeCall) Do(f func(context.Context, domain.Attribute) (int64, error)) *MockServiceCreateAttributeCall
- func (c *MockServiceCreateAttributeCall) DoAndReturn(f func(context.Context, domain.Attribute) (int64, error)) *MockServiceCreateAttributeCall
- func (c *MockServiceCreateAttributeCall) Return(arg0 int64, arg1 error) *MockServiceCreateAttributeCall
- type MockServiceCreateAttributeGroupCall
- func (c *MockServiceCreateAttributeGroupCall) Do(f func(context.Context, domain.AttributeGroup) (int64, error)) *MockServiceCreateAttributeGroupCall
- func (c *MockServiceCreateAttributeGroupCall) DoAndReturn(f func(context.Context, domain.AttributeGroup) (int64, error)) *MockServiceCreateAttributeGroupCall
- func (c *MockServiceCreateAttributeGroupCall) Return(arg0 int64, arg1 error) *MockServiceCreateAttributeGroupCall
- type MockServiceCreateDefaultAttributeCall
- func (c *MockServiceCreateDefaultAttributeCall) Do(f func(context.Context, string) (int64, error)) *MockServiceCreateDefaultAttributeCall
- func (c *MockServiceCreateDefaultAttributeCall) DoAndReturn(f func(context.Context, string) (int64, error)) *MockServiceCreateDefaultAttributeCall
- func (c *MockServiceCreateDefaultAttributeCall) Return(arg0 int64, arg1 error) *MockServiceCreateDefaultAttributeCall
- type MockServiceCustomAttributeFieldColumnsCall
- func (c *MockServiceCustomAttributeFieldColumnsCall) Do(f func(context.Context, string, []string) (int64, error)) *MockServiceCustomAttributeFieldColumnsCall
- func (c *MockServiceCustomAttributeFieldColumnsCall) DoAndReturn(f func(context.Context, string, []string) (int64, error)) *MockServiceCustomAttributeFieldColumnsCall
- func (c *MockServiceCustomAttributeFieldColumnsCall) Return(arg0 int64, arg1 error) *MockServiceCustomAttributeFieldColumnsCall
- type MockServiceDeleteAttributeCall
- func (c *MockServiceDeleteAttributeCall) Do(f func(context.Context, int64) (int64, error)) *MockServiceDeleteAttributeCall
- func (c *MockServiceDeleteAttributeCall) DoAndReturn(f func(context.Context, int64) (int64, error)) *MockServiceDeleteAttributeCall
- func (c *MockServiceDeleteAttributeCall) Return(arg0 int64, arg1 error) *MockServiceDeleteAttributeCall
- type MockServiceDeleteAttributeGroupCall
- func (c *MockServiceDeleteAttributeGroupCall) Do(f func(context.Context, int64) (int64, error)) *MockServiceDeleteAttributeGroupCall
- func (c *MockServiceDeleteAttributeGroupCall) DoAndReturn(f func(context.Context, int64) (int64, error)) *MockServiceDeleteAttributeGroupCall
- func (c *MockServiceDeleteAttributeGroupCall) Return(arg0 int64, arg1 error) *MockServiceDeleteAttributeGroupCall
- type MockServiceDeleteByModelUidCall
- func (c *MockServiceDeleteByModelUidCall) Do(f func(context.Context, string) error) *MockServiceDeleteByModelUidCall
- func (c *MockServiceDeleteByModelUidCall) DoAndReturn(f func(context.Context, string) error) *MockServiceDeleteByModelUidCall
- func (c *MockServiceDeleteByModelUidCall) Return(arg0 error) *MockServiceDeleteByModelUidCall
- type MockServiceListAttributeGroupByIdsCall
- func (c *MockServiceListAttributeGroupByIdsCall) Do(f func(context.Context, []int64) ([]domain.AttributeGroup, error)) *MockServiceListAttributeGroupByIdsCall
- func (c *MockServiceListAttributeGroupByIdsCall) DoAndReturn(f func(context.Context, []int64) ([]domain.AttributeGroup, error)) *MockServiceListAttributeGroupByIdsCall
- func (c *MockServiceListAttributeGroupByIdsCall) Return(arg0 []domain.AttributeGroup, arg1 error) *MockServiceListAttributeGroupByIdsCall
- type MockServiceListAttributeGroupCall
- func (c *MockServiceListAttributeGroupCall) Do(f func(context.Context, string) ([]domain.AttributeGroup, error)) *MockServiceListAttributeGroupCall
- func (c *MockServiceListAttributeGroupCall) DoAndReturn(f func(context.Context, string) ([]domain.AttributeGroup, error)) *MockServiceListAttributeGroupCall
- func (c *MockServiceListAttributeGroupCall) Return(arg0 []domain.AttributeGroup, arg1 error) *MockServiceListAttributeGroupCall
- type MockServiceListAttributePipelineCall
- func (c *MockServiceListAttributePipelineCall) Do(f func(context.Context, string) ([]domain.AttributePipeline, error)) *MockServiceListAttributePipelineCall
- func (c *MockServiceListAttributePipelineCall) DoAndReturn(f func(context.Context, string) ([]domain.AttributePipeline, error)) *MockServiceListAttributePipelineCall
- func (c *MockServiceListAttributePipelineCall) Return(arg0 []domain.AttributePipeline, arg1 error) *MockServiceListAttributePipelineCall
- type MockServiceListAttributesCall
- func (c *MockServiceListAttributesCall) Do(f func(context.Context, string) ([]domain.Attribute, int64, error)) *MockServiceListAttributesCall
- func (c *MockServiceListAttributesCall) DoAndReturn(f func(context.Context, string) ([]domain.Attribute, int64, error)) *MockServiceListAttributesCall
- func (c *MockServiceListAttributesCall) Return(arg0 []domain.Attribute, arg1 int64, arg2 error) *MockServiceListAttributesCall
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) BatchCreateAttribute(ctx, attrs any) *MockServiceBatchCreateAttributeCall
- func (mr *MockServiceMockRecorder) BatchCreateAttributeGroup(ctx, ags any) *MockServiceBatchCreateAttributeGroupCall
- func (mr *MockServiceMockRecorder) CreateAttribute(ctx, req any) *MockServiceCreateAttributeCall
- func (mr *MockServiceMockRecorder) CreateAttributeGroup(ctx, req any) *MockServiceCreateAttributeGroupCall
- func (mr *MockServiceMockRecorder) CreateDefaultAttribute(ctx, modelUid any) *MockServiceCreateDefaultAttributeCall
- func (mr *MockServiceMockRecorder) CustomAttributeFieldColumns(ctx, modelUid, customField any) *MockServiceCustomAttributeFieldColumnsCall
- func (mr *MockServiceMockRecorder) DeleteAttribute(ctx, id any) *MockServiceDeleteAttributeCall
- func (mr *MockServiceMockRecorder) DeleteAttributeGroup(ctx, id any) *MockServiceDeleteAttributeGroupCall
- func (mr *MockServiceMockRecorder) DeleteByModelUid(ctx, modelUid any) *MockServiceDeleteByModelUidCall
- func (mr *MockServiceMockRecorder) ListAttributeGroup(ctx, modelUid any) *MockServiceListAttributeGroupCall
- func (mr *MockServiceMockRecorder) ListAttributeGroupByIds(ctx, ids any) *MockServiceListAttributeGroupByIdsCall
- func (mr *MockServiceMockRecorder) ListAttributePipeline(ctx, modelUid any) *MockServiceListAttributePipelineCall
- func (mr *MockServiceMockRecorder) ListAttributes(ctx, modelUID any) *MockServiceListAttributesCall
- func (mr *MockServiceMockRecorder) RenameAttributeGroup(ctx, id, name any) *MockServiceRenameAttributeGroupCall
- func (mr *MockServiceMockRecorder) SearchAllAttributeFieldsByModelUid(ctx, modelUid any) *MockServiceSearchAllAttributeFieldsByModelUidCall
- func (mr *MockServiceMockRecorder) SearchAttributeFieldsByModelUid(ctx, modelUid any) *MockServiceSearchAttributeFieldsByModelUidCall
- func (mr *MockServiceMockRecorder) SearchAttributeFieldsBySecure(ctx, modelUids any) *MockServiceSearchAttributeFieldsBySecureCall
- func (mr *MockServiceMockRecorder) Sort(ctx, id, targetGroupId, targetPosition any) *MockServiceSortCall
- func (mr *MockServiceMockRecorder) SortAttributeGroup(ctx, id, targetPosition any) *MockServiceSortAttributeGroupCall
- func (mr *MockServiceMockRecorder) UpdateAttribute(ctx, attribute any) *MockServiceUpdateAttributeCall
- type MockServiceRenameAttributeGroupCall
- func (c *MockServiceRenameAttributeGroupCall) Do(f func(context.Context, int64, string) (int64, error)) *MockServiceRenameAttributeGroupCall
- func (c *MockServiceRenameAttributeGroupCall) DoAndReturn(f func(context.Context, int64, string) (int64, error)) *MockServiceRenameAttributeGroupCall
- func (c *MockServiceRenameAttributeGroupCall) Return(arg0 int64, arg1 error) *MockServiceRenameAttributeGroupCall
- type MockServiceSearchAllAttributeFieldsByModelUidCall
- func (c *MockServiceSearchAllAttributeFieldsByModelUidCall) Do(f func(context.Context, string) ([]string, error)) *MockServiceSearchAllAttributeFieldsByModelUidCall
- func (c *MockServiceSearchAllAttributeFieldsByModelUidCall) DoAndReturn(f func(context.Context, string) ([]string, error)) *MockServiceSearchAllAttributeFieldsByModelUidCall
- func (c *MockServiceSearchAllAttributeFieldsByModelUidCall) Return(arg0 []string, arg1 error) *MockServiceSearchAllAttributeFieldsByModelUidCall
- type MockServiceSearchAttributeFieldsByModelUidCall
- func (c *MockServiceSearchAttributeFieldsByModelUidCall) Do(f func(context.Context, string) ([]string, error)) *MockServiceSearchAttributeFieldsByModelUidCall
- func (c *MockServiceSearchAttributeFieldsByModelUidCall) DoAndReturn(f func(context.Context, string) ([]string, error)) *MockServiceSearchAttributeFieldsByModelUidCall
- func (c *MockServiceSearchAttributeFieldsByModelUidCall) Return(arg0 []string, arg1 error) *MockServiceSearchAttributeFieldsByModelUidCall
- type MockServiceSearchAttributeFieldsBySecureCall
- func (c *MockServiceSearchAttributeFieldsBySecureCall) Do(f func(context.Context, []string) (map[string][]string, error)) *MockServiceSearchAttributeFieldsBySecureCall
- func (c *MockServiceSearchAttributeFieldsBySecureCall) DoAndReturn(f func(context.Context, []string) (map[string][]string, error)) *MockServiceSearchAttributeFieldsBySecureCall
- func (c *MockServiceSearchAttributeFieldsBySecureCall) Return(arg0 map[string][]string, arg1 error) *MockServiceSearchAttributeFieldsBySecureCall
- type MockServiceSortAttributeGroupCall
- func (c *MockServiceSortAttributeGroupCall) Do(f func(context.Context, int64, int64) error) *MockServiceSortAttributeGroupCall
- func (c *MockServiceSortAttributeGroupCall) DoAndReturn(f func(context.Context, int64, int64) error) *MockServiceSortAttributeGroupCall
- func (c *MockServiceSortAttributeGroupCall) Return(arg0 error) *MockServiceSortAttributeGroupCall
- type MockServiceSortCall
- type MockServiceUpdateAttributeCall
- func (c *MockServiceUpdateAttributeCall) Do(f func(context.Context, domain.Attribute) (int64, error)) *MockServiceUpdateAttributeCall
- func (c *MockServiceUpdateAttributeCall) DoAndReturn(f func(context.Context, domain.Attribute) (int64, error)) *MockServiceUpdateAttributeCall
- func (c *MockServiceUpdateAttributeCall) Return(arg0 int64, arg1 error) *MockServiceUpdateAttributeCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAttributeGroupRepository ¶
type MockAttributeGroupRepository struct {
// contains filtered or unexported fields
}
MockAttributeGroupRepository is a mock of AttributeGroupRepository interface.
func NewMockAttributeGroupRepository ¶
func NewMockAttributeGroupRepository(ctrl *gomock.Controller) *MockAttributeGroupRepository
NewMockAttributeGroupRepository creates a new mock instance.
func (*MockAttributeGroupRepository) BatchCreateAttributeGroup ¶
func (m *MockAttributeGroupRepository) BatchCreateAttributeGroup(ctx context.Context, ags []domain.AttributeGroup) ([]domain.AttributeGroup, error)
BatchCreateAttributeGroup mocks base method.
func (*MockAttributeGroupRepository) BatchUpdateSort ¶
func (m *MockAttributeGroupRepository) BatchUpdateSort(ctx context.Context, items []domain.AttributeGroupSortItem) error
BatchUpdateSort mocks base method.
func (*MockAttributeGroupRepository) CreateAttributeGroup ¶
func (m *MockAttributeGroupRepository) CreateAttributeGroup(ctx context.Context, req domain.AttributeGroup) (int64, error)
CreateAttributeGroup mocks base method.
func (*MockAttributeGroupRepository) DeleteAttributeGroup ¶
func (m *MockAttributeGroupRepository) DeleteAttributeGroup(ctx context.Context, id int64) (int64, error)
DeleteAttributeGroup mocks base method.
func (*MockAttributeGroupRepository) DeleteByModelUid ¶
func (m *MockAttributeGroupRepository) DeleteByModelUid(ctx context.Context, modelUid string) (int64, error)
DeleteByModelUid mocks base method.
func (*MockAttributeGroupRepository) EXPECT ¶
func (m *MockAttributeGroupRepository) EXPECT() *MockAttributeGroupRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAttributeGroupRepository) GetMaxSortKeyByModuleUid ¶
func (m *MockAttributeGroupRepository) GetMaxSortKeyByModuleUid(ctx context.Context, modelUid string) (int64, error)
GetMaxSortKeyByModuleUid mocks base method.
func (*MockAttributeGroupRepository) ListAttributeGroup ¶
func (m *MockAttributeGroupRepository) ListAttributeGroup(ctx context.Context, modelUid string) ([]domain.AttributeGroup, error)
ListAttributeGroup mocks base method.
func (*MockAttributeGroupRepository) ListAttributeGroupByIds ¶
func (m *MockAttributeGroupRepository) ListAttributeGroupByIds(ctx context.Context, ids []int64) ([]domain.AttributeGroup, error)
ListAttributeGroupByIds mocks base method.
func (*MockAttributeGroupRepository) RenameAttributeGroup ¶
func (m *MockAttributeGroupRepository) RenameAttributeGroup(ctx context.Context, id int64, name string) (int64, error)
RenameAttributeGroup mocks base method.
func (*MockAttributeGroupRepository) UpdateSort ¶
func (m *MockAttributeGroupRepository) UpdateSort(ctx context.Context, id, sortKey int64) error
UpdateSort mocks base method.
type MockAttributeGroupRepositoryBatchCreateAttributeGroupCall ¶
MockAttributeGroupRepositoryBatchCreateAttributeGroupCall wrap *gomock.Call
func (*MockAttributeGroupRepositoryBatchCreateAttributeGroupCall) Do ¶
func (c *MockAttributeGroupRepositoryBatchCreateAttributeGroupCall) Do(f func(context.Context, []domain.AttributeGroup) ([]domain.AttributeGroup, error)) *MockAttributeGroupRepositoryBatchCreateAttributeGroupCall
Do rewrite *gomock.Call.Do
func (*MockAttributeGroupRepositoryBatchCreateAttributeGroupCall) DoAndReturn ¶
func (c *MockAttributeGroupRepositoryBatchCreateAttributeGroupCall) DoAndReturn(f func(context.Context, []domain.AttributeGroup) ([]domain.AttributeGroup, error)) *MockAttributeGroupRepositoryBatchCreateAttributeGroupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeGroupRepositoryBatchCreateAttributeGroupCall) Return ¶
func (c *MockAttributeGroupRepositoryBatchCreateAttributeGroupCall) Return(arg0 []domain.AttributeGroup, arg1 error) *MockAttributeGroupRepositoryBatchCreateAttributeGroupCall
Return rewrite *gomock.Call.Return
type MockAttributeGroupRepositoryBatchUpdateSortCall ¶
MockAttributeGroupRepositoryBatchUpdateSortCall wrap *gomock.Call
func (*MockAttributeGroupRepositoryBatchUpdateSortCall) Do ¶
func (c *MockAttributeGroupRepositoryBatchUpdateSortCall) Do(f func(context.Context, []domain.AttributeGroupSortItem) error) *MockAttributeGroupRepositoryBatchUpdateSortCall
Do rewrite *gomock.Call.Do
func (*MockAttributeGroupRepositoryBatchUpdateSortCall) DoAndReturn ¶
func (c *MockAttributeGroupRepositoryBatchUpdateSortCall) DoAndReturn(f func(context.Context, []domain.AttributeGroupSortItem) error) *MockAttributeGroupRepositoryBatchUpdateSortCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeGroupRepositoryBatchUpdateSortCall) Return ¶
func (c *MockAttributeGroupRepositoryBatchUpdateSortCall) Return(arg0 error) *MockAttributeGroupRepositoryBatchUpdateSortCall
Return rewrite *gomock.Call.Return
type MockAttributeGroupRepositoryCreateAttributeGroupCall ¶
MockAttributeGroupRepositoryCreateAttributeGroupCall wrap *gomock.Call
func (*MockAttributeGroupRepositoryCreateAttributeGroupCall) Do ¶
func (c *MockAttributeGroupRepositoryCreateAttributeGroupCall) Do(f func(context.Context, domain.AttributeGroup) (int64, error)) *MockAttributeGroupRepositoryCreateAttributeGroupCall
Do rewrite *gomock.Call.Do
func (*MockAttributeGroupRepositoryCreateAttributeGroupCall) DoAndReturn ¶
func (c *MockAttributeGroupRepositoryCreateAttributeGroupCall) DoAndReturn(f func(context.Context, domain.AttributeGroup) (int64, error)) *MockAttributeGroupRepositoryCreateAttributeGroupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeGroupRepositoryCreateAttributeGroupCall) Return ¶
func (c *MockAttributeGroupRepositoryCreateAttributeGroupCall) Return(arg0 int64, arg1 error) *MockAttributeGroupRepositoryCreateAttributeGroupCall
Return rewrite *gomock.Call.Return
type MockAttributeGroupRepositoryDeleteAttributeGroupCall ¶
MockAttributeGroupRepositoryDeleteAttributeGroupCall wrap *gomock.Call
func (*MockAttributeGroupRepositoryDeleteAttributeGroupCall) Do ¶
func (c *MockAttributeGroupRepositoryDeleteAttributeGroupCall) Do(f func(context.Context, int64) (int64, error)) *MockAttributeGroupRepositoryDeleteAttributeGroupCall
Do rewrite *gomock.Call.Do
func (*MockAttributeGroupRepositoryDeleteAttributeGroupCall) DoAndReturn ¶
func (c *MockAttributeGroupRepositoryDeleteAttributeGroupCall) DoAndReturn(f func(context.Context, int64) (int64, error)) *MockAttributeGroupRepositoryDeleteAttributeGroupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeGroupRepositoryDeleteAttributeGroupCall) Return ¶
func (c *MockAttributeGroupRepositoryDeleteAttributeGroupCall) Return(arg0 int64, arg1 error) *MockAttributeGroupRepositoryDeleteAttributeGroupCall
Return rewrite *gomock.Call.Return
type MockAttributeGroupRepositoryDeleteByModelUidCall ¶
MockAttributeGroupRepositoryDeleteByModelUidCall wrap *gomock.Call
func (*MockAttributeGroupRepositoryDeleteByModelUidCall) Do ¶
func (c *MockAttributeGroupRepositoryDeleteByModelUidCall) Do(f func(context.Context, string) (int64, error)) *MockAttributeGroupRepositoryDeleteByModelUidCall
Do rewrite *gomock.Call.Do
func (*MockAttributeGroupRepositoryDeleteByModelUidCall) DoAndReturn ¶
func (c *MockAttributeGroupRepositoryDeleteByModelUidCall) DoAndReturn(f func(context.Context, string) (int64, error)) *MockAttributeGroupRepositoryDeleteByModelUidCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeGroupRepositoryDeleteByModelUidCall) Return ¶
func (c *MockAttributeGroupRepositoryDeleteByModelUidCall) Return(arg0 int64, arg1 error) *MockAttributeGroupRepositoryDeleteByModelUidCall
Return rewrite *gomock.Call.Return
type MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall ¶
MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall wrap *gomock.Call
func (*MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall) Do ¶
func (c *MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall) Do(f func(context.Context, string) (int64, error)) *MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall
Do rewrite *gomock.Call.Do
func (*MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall) DoAndReturn ¶
func (c *MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall) DoAndReturn(f func(context.Context, string) (int64, error)) *MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall) Return ¶
func (c *MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall) Return(arg0 int64, arg1 error) *MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall
Return rewrite *gomock.Call.Return
type MockAttributeGroupRepositoryListAttributeGroupByIdsCall ¶
MockAttributeGroupRepositoryListAttributeGroupByIdsCall wrap *gomock.Call
func (*MockAttributeGroupRepositoryListAttributeGroupByIdsCall) Do ¶
func (c *MockAttributeGroupRepositoryListAttributeGroupByIdsCall) Do(f func(context.Context, []int64) ([]domain.AttributeGroup, error)) *MockAttributeGroupRepositoryListAttributeGroupByIdsCall
Do rewrite *gomock.Call.Do
func (*MockAttributeGroupRepositoryListAttributeGroupByIdsCall) DoAndReturn ¶
func (c *MockAttributeGroupRepositoryListAttributeGroupByIdsCall) DoAndReturn(f func(context.Context, []int64) ([]domain.AttributeGroup, error)) *MockAttributeGroupRepositoryListAttributeGroupByIdsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeGroupRepositoryListAttributeGroupByIdsCall) Return ¶
func (c *MockAttributeGroupRepositoryListAttributeGroupByIdsCall) Return(arg0 []domain.AttributeGroup, arg1 error) *MockAttributeGroupRepositoryListAttributeGroupByIdsCall
Return rewrite *gomock.Call.Return
type MockAttributeGroupRepositoryListAttributeGroupCall ¶
MockAttributeGroupRepositoryListAttributeGroupCall wrap *gomock.Call
func (*MockAttributeGroupRepositoryListAttributeGroupCall) Do ¶
func (c *MockAttributeGroupRepositoryListAttributeGroupCall) Do(f func(context.Context, string) ([]domain.AttributeGroup, error)) *MockAttributeGroupRepositoryListAttributeGroupCall
Do rewrite *gomock.Call.Do
func (*MockAttributeGroupRepositoryListAttributeGroupCall) DoAndReturn ¶
func (c *MockAttributeGroupRepositoryListAttributeGroupCall) DoAndReturn(f func(context.Context, string) ([]domain.AttributeGroup, error)) *MockAttributeGroupRepositoryListAttributeGroupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeGroupRepositoryListAttributeGroupCall) Return ¶
func (c *MockAttributeGroupRepositoryListAttributeGroupCall) Return(arg0 []domain.AttributeGroup, arg1 error) *MockAttributeGroupRepositoryListAttributeGroupCall
Return rewrite *gomock.Call.Return
type MockAttributeGroupRepositoryMockRecorder ¶
type MockAttributeGroupRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockAttributeGroupRepositoryMockRecorder is the mock recorder for MockAttributeGroupRepository.
func (*MockAttributeGroupRepositoryMockRecorder) BatchCreateAttributeGroup ¶
func (mr *MockAttributeGroupRepositoryMockRecorder) BatchCreateAttributeGroup(ctx, ags any) *MockAttributeGroupRepositoryBatchCreateAttributeGroupCall
BatchCreateAttributeGroup indicates an expected call of BatchCreateAttributeGroup.
func (*MockAttributeGroupRepositoryMockRecorder) BatchUpdateSort ¶
func (mr *MockAttributeGroupRepositoryMockRecorder) BatchUpdateSort(ctx, items any) *MockAttributeGroupRepositoryBatchUpdateSortCall
BatchUpdateSort indicates an expected call of BatchUpdateSort.
func (*MockAttributeGroupRepositoryMockRecorder) CreateAttributeGroup ¶
func (mr *MockAttributeGroupRepositoryMockRecorder) CreateAttributeGroup(ctx, req any) *MockAttributeGroupRepositoryCreateAttributeGroupCall
CreateAttributeGroup indicates an expected call of CreateAttributeGroup.
func (*MockAttributeGroupRepositoryMockRecorder) DeleteAttributeGroup ¶
func (mr *MockAttributeGroupRepositoryMockRecorder) DeleteAttributeGroup(ctx, id any) *MockAttributeGroupRepositoryDeleteAttributeGroupCall
DeleteAttributeGroup indicates an expected call of DeleteAttributeGroup.
func (*MockAttributeGroupRepositoryMockRecorder) DeleteByModelUid ¶
func (mr *MockAttributeGroupRepositoryMockRecorder) DeleteByModelUid(ctx, modelUid any) *MockAttributeGroupRepositoryDeleteByModelUidCall
DeleteByModelUid indicates an expected call of DeleteByModelUid.
func (*MockAttributeGroupRepositoryMockRecorder) GetMaxSortKeyByModuleUid ¶
func (mr *MockAttributeGroupRepositoryMockRecorder) GetMaxSortKeyByModuleUid(ctx, modelUid any) *MockAttributeGroupRepositoryGetMaxSortKeyByModuleUidCall
GetMaxSortKeyByModuleUid indicates an expected call of GetMaxSortKeyByModuleUid.
func (*MockAttributeGroupRepositoryMockRecorder) ListAttributeGroup ¶
func (mr *MockAttributeGroupRepositoryMockRecorder) ListAttributeGroup(ctx, modelUid any) *MockAttributeGroupRepositoryListAttributeGroupCall
ListAttributeGroup indicates an expected call of ListAttributeGroup.
func (*MockAttributeGroupRepositoryMockRecorder) ListAttributeGroupByIds ¶
func (mr *MockAttributeGroupRepositoryMockRecorder) ListAttributeGroupByIds(ctx, ids any) *MockAttributeGroupRepositoryListAttributeGroupByIdsCall
ListAttributeGroupByIds indicates an expected call of ListAttributeGroupByIds.
func (*MockAttributeGroupRepositoryMockRecorder) RenameAttributeGroup ¶
func (mr *MockAttributeGroupRepositoryMockRecorder) RenameAttributeGroup(ctx, id, name any) *MockAttributeGroupRepositoryRenameAttributeGroupCall
RenameAttributeGroup indicates an expected call of RenameAttributeGroup.
func (*MockAttributeGroupRepositoryMockRecorder) UpdateSort ¶
func (mr *MockAttributeGroupRepositoryMockRecorder) UpdateSort(ctx, id, sortKey any) *MockAttributeGroupRepositoryUpdateSortCall
UpdateSort indicates an expected call of UpdateSort.
type MockAttributeGroupRepositoryRenameAttributeGroupCall ¶
MockAttributeGroupRepositoryRenameAttributeGroupCall wrap *gomock.Call
func (*MockAttributeGroupRepositoryRenameAttributeGroupCall) Do ¶
func (c *MockAttributeGroupRepositoryRenameAttributeGroupCall) Do(f func(context.Context, int64, string) (int64, error)) *MockAttributeGroupRepositoryRenameAttributeGroupCall
Do rewrite *gomock.Call.Do
func (*MockAttributeGroupRepositoryRenameAttributeGroupCall) DoAndReturn ¶
func (c *MockAttributeGroupRepositoryRenameAttributeGroupCall) DoAndReturn(f func(context.Context, int64, string) (int64, error)) *MockAttributeGroupRepositoryRenameAttributeGroupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeGroupRepositoryRenameAttributeGroupCall) Return ¶
func (c *MockAttributeGroupRepositoryRenameAttributeGroupCall) Return(arg0 int64, arg1 error) *MockAttributeGroupRepositoryRenameAttributeGroupCall
Return rewrite *gomock.Call.Return
type MockAttributeGroupRepositoryUpdateSortCall ¶
MockAttributeGroupRepositoryUpdateSortCall wrap *gomock.Call
func (*MockAttributeGroupRepositoryUpdateSortCall) Do ¶
func (c *MockAttributeGroupRepositoryUpdateSortCall) Do(f func(context.Context, int64, int64) error) *MockAttributeGroupRepositoryUpdateSortCall
Do rewrite *gomock.Call.Do
func (*MockAttributeGroupRepositoryUpdateSortCall) DoAndReturn ¶
func (c *MockAttributeGroupRepositoryUpdateSortCall) DoAndReturn(f func(context.Context, int64, int64) error) *MockAttributeGroupRepositoryUpdateSortCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeGroupRepositoryUpdateSortCall) Return ¶
func (c *MockAttributeGroupRepositoryUpdateSortCall) Return(arg0 error) *MockAttributeGroupRepositoryUpdateSortCall
Return rewrite *gomock.Call.Return
type MockAttributeRepository ¶
type MockAttributeRepository struct {
// contains filtered or unexported fields
}
MockAttributeRepository is a mock of AttributeRepository interface.
func NewMockAttributeRepository ¶
func NewMockAttributeRepository(ctrl *gomock.Controller) *MockAttributeRepository
NewMockAttributeRepository creates a new mock instance.
func (*MockAttributeRepository) BatchCreateAttribute ¶
func (m *MockAttributeRepository) BatchCreateAttribute(ctx context.Context, attrs []domain.Attribute) error
BatchCreateAttribute mocks base method.
func (*MockAttributeRepository) BatchUpdateSortKey ¶
func (m *MockAttributeRepository) BatchUpdateSortKey(ctx context.Context, items []domain.AttributeSortItem) error
BatchUpdateSortKey mocks base method.
func (*MockAttributeRepository) CreateAttribute ¶
func (m *MockAttributeRepository) CreateAttribute(ctx context.Context, req domain.Attribute) (int64, error)
CreateAttribute mocks base method.
func (*MockAttributeRepository) CustomAttributeFieldColumns ¶
func (m *MockAttributeRepository) CustomAttributeFieldColumns(ctx context.Context, modelUid string, customField []string) (int64, error)
CustomAttributeFieldColumns mocks base method.
func (*MockAttributeRepository) CustomAttributeFieldColumnsReverse ¶
func (m *MockAttributeRepository) CustomAttributeFieldColumnsReverse(ctx context.Context, modelUid string, customField []string) (int64, error)
CustomAttributeFieldColumnsReverse mocks base method.
func (*MockAttributeRepository) DeleteAttribute ¶
DeleteAttribute mocks base method.
func (*MockAttributeRepository) DeleteByGroupId ¶
func (m *MockAttributeRepository) DeleteByGroupId(ctx context.Context, groupId int64) (int64, error)
DeleteByGroupId mocks base method.
func (*MockAttributeRepository) DeleteByModelUid ¶
func (m *MockAttributeRepository) DeleteByModelUid(ctx context.Context, modelUid string) (int64, error)
DeleteByModelUid mocks base method.
func (*MockAttributeRepository) DetailAttribute ¶
func (m *MockAttributeRepository) DetailAttribute(ctx context.Context, id int64) (domain.Attribute, error)
DetailAttribute mocks base method.
func (*MockAttributeRepository) EXPECT ¶
func (m *MockAttributeRepository) EXPECT() *MockAttributeRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAttributeRepository) GetMaxSortKeyByGroupID ¶
func (m *MockAttributeRepository) GetMaxSortKeyByGroupID(ctx context.Context, groupId int64) (int64, error)
GetMaxSortKeyByGroupID mocks base method.
func (*MockAttributeRepository) ListAttributePipeline ¶
func (m *MockAttributeRepository) ListAttributePipeline(ctx context.Context, modelUid string) ([]domain.AttributePipeline, error)
ListAttributePipeline mocks base method.
func (*MockAttributeRepository) ListAttributes ¶
func (m *MockAttributeRepository) ListAttributes(ctx context.Context, modelUID string) ([]domain.Attribute, error)
ListAttributes mocks base method.
func (*MockAttributeRepository) ListByGroupID ¶
func (m *MockAttributeRepository) ListByGroupID(ctx context.Context, groupId int64) ([]domain.Attribute, error)
ListByGroupID mocks base method.
func (*MockAttributeRepository) SearchAttributeFieldsByModelUid ¶
func (m *MockAttributeRepository) SearchAttributeFieldsByModelUid(ctx context.Context, modelUid string) ([]string, error)
SearchAttributeFieldsByModelUid mocks base method.
func (*MockAttributeRepository) SearchAttributeFieldsBySecure ¶
func (m *MockAttributeRepository) SearchAttributeFieldsBySecure(ctx context.Context, modelUid []string) (map[string][]string, error)
SearchAttributeFieldsBySecure mocks base method.
func (*MockAttributeRepository) UpdateAttribute ¶
func (m *MockAttributeRepository) UpdateAttribute(ctx context.Context, req domain.Attribute) (int64, error)
UpdateAttribute mocks base method.
func (*MockAttributeRepository) UpdateSort ¶
func (m *MockAttributeRepository) UpdateSort(ctx context.Context, id, groupId, sortKey int64) error
UpdateSort mocks base method.
type MockAttributeRepositoryBatchCreateAttributeCall ¶
MockAttributeRepositoryBatchCreateAttributeCall wrap *gomock.Call
func (*MockAttributeRepositoryBatchCreateAttributeCall) Do ¶
func (c *MockAttributeRepositoryBatchCreateAttributeCall) Do(f func(context.Context, []domain.Attribute) error) *MockAttributeRepositoryBatchCreateAttributeCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositoryBatchCreateAttributeCall) DoAndReturn ¶
func (c *MockAttributeRepositoryBatchCreateAttributeCall) DoAndReturn(f func(context.Context, []domain.Attribute) error) *MockAttributeRepositoryBatchCreateAttributeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositoryBatchCreateAttributeCall) Return ¶
func (c *MockAttributeRepositoryBatchCreateAttributeCall) Return(arg0 error) *MockAttributeRepositoryBatchCreateAttributeCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositoryBatchUpdateSortKeyCall ¶
MockAttributeRepositoryBatchUpdateSortKeyCall wrap *gomock.Call
func (*MockAttributeRepositoryBatchUpdateSortKeyCall) Do ¶
func (c *MockAttributeRepositoryBatchUpdateSortKeyCall) Do(f func(context.Context, []domain.AttributeSortItem) error) *MockAttributeRepositoryBatchUpdateSortKeyCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositoryBatchUpdateSortKeyCall) DoAndReturn ¶
func (c *MockAttributeRepositoryBatchUpdateSortKeyCall) DoAndReturn(f func(context.Context, []domain.AttributeSortItem) error) *MockAttributeRepositoryBatchUpdateSortKeyCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositoryBatchUpdateSortKeyCall) Return ¶
func (c *MockAttributeRepositoryBatchUpdateSortKeyCall) Return(arg0 error) *MockAttributeRepositoryBatchUpdateSortKeyCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositoryCreateAttributeCall ¶
MockAttributeRepositoryCreateAttributeCall wrap *gomock.Call
func (*MockAttributeRepositoryCreateAttributeCall) Do ¶
func (c *MockAttributeRepositoryCreateAttributeCall) Do(f func(context.Context, domain.Attribute) (int64, error)) *MockAttributeRepositoryCreateAttributeCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositoryCreateAttributeCall) DoAndReturn ¶
func (c *MockAttributeRepositoryCreateAttributeCall) DoAndReturn(f func(context.Context, domain.Attribute) (int64, error)) *MockAttributeRepositoryCreateAttributeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositoryCreateAttributeCall) Return ¶
func (c *MockAttributeRepositoryCreateAttributeCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryCreateAttributeCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositoryCustomAttributeFieldColumnsCall ¶
MockAttributeRepositoryCustomAttributeFieldColumnsCall wrap *gomock.Call
func (*MockAttributeRepositoryCustomAttributeFieldColumnsCall) Do ¶
func (c *MockAttributeRepositoryCustomAttributeFieldColumnsCall) Do(f func(context.Context, string, []string) (int64, error)) *MockAttributeRepositoryCustomAttributeFieldColumnsCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositoryCustomAttributeFieldColumnsCall) DoAndReturn ¶
func (c *MockAttributeRepositoryCustomAttributeFieldColumnsCall) DoAndReturn(f func(context.Context, string, []string) (int64, error)) *MockAttributeRepositoryCustomAttributeFieldColumnsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositoryCustomAttributeFieldColumnsCall) Return ¶
func (c *MockAttributeRepositoryCustomAttributeFieldColumnsCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryCustomAttributeFieldColumnsCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall ¶
MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall wrap *gomock.Call
func (*MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall) Do ¶
func (c *MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall) Do(f func(context.Context, string, []string) (int64, error)) *MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall) DoAndReturn ¶
func (c *MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall) DoAndReturn(f func(context.Context, string, []string) (int64, error)) *MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall) Return ¶
func (c *MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositoryDeleteAttributeCall ¶
MockAttributeRepositoryDeleteAttributeCall wrap *gomock.Call
func (*MockAttributeRepositoryDeleteAttributeCall) Do ¶
func (c *MockAttributeRepositoryDeleteAttributeCall) Do(f func(context.Context, int64) (int64, error)) *MockAttributeRepositoryDeleteAttributeCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositoryDeleteAttributeCall) DoAndReturn ¶
func (c *MockAttributeRepositoryDeleteAttributeCall) DoAndReturn(f func(context.Context, int64) (int64, error)) *MockAttributeRepositoryDeleteAttributeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositoryDeleteAttributeCall) Return ¶
func (c *MockAttributeRepositoryDeleteAttributeCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryDeleteAttributeCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositoryDeleteByGroupIdCall ¶
MockAttributeRepositoryDeleteByGroupIdCall wrap *gomock.Call
func (*MockAttributeRepositoryDeleteByGroupIdCall) Do ¶
func (c *MockAttributeRepositoryDeleteByGroupIdCall) Do(f func(context.Context, int64) (int64, error)) *MockAttributeRepositoryDeleteByGroupIdCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositoryDeleteByGroupIdCall) DoAndReturn ¶
func (c *MockAttributeRepositoryDeleteByGroupIdCall) DoAndReturn(f func(context.Context, int64) (int64, error)) *MockAttributeRepositoryDeleteByGroupIdCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositoryDeleteByGroupIdCall) Return ¶
func (c *MockAttributeRepositoryDeleteByGroupIdCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryDeleteByGroupIdCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositoryDeleteByModelUidCall ¶
MockAttributeRepositoryDeleteByModelUidCall wrap *gomock.Call
func (*MockAttributeRepositoryDeleteByModelUidCall) Do ¶
func (c *MockAttributeRepositoryDeleteByModelUidCall) Do(f func(context.Context, string) (int64, error)) *MockAttributeRepositoryDeleteByModelUidCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositoryDeleteByModelUidCall) DoAndReturn ¶
func (c *MockAttributeRepositoryDeleteByModelUidCall) DoAndReturn(f func(context.Context, string) (int64, error)) *MockAttributeRepositoryDeleteByModelUidCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositoryDeleteByModelUidCall) Return ¶
func (c *MockAttributeRepositoryDeleteByModelUidCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryDeleteByModelUidCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositoryDetailAttributeCall ¶
MockAttributeRepositoryDetailAttributeCall wrap *gomock.Call
func (*MockAttributeRepositoryDetailAttributeCall) Do ¶
func (c *MockAttributeRepositoryDetailAttributeCall) Do(f func(context.Context, int64) (domain.Attribute, error)) *MockAttributeRepositoryDetailAttributeCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositoryDetailAttributeCall) DoAndReturn ¶
func (c *MockAttributeRepositoryDetailAttributeCall) DoAndReturn(f func(context.Context, int64) (domain.Attribute, error)) *MockAttributeRepositoryDetailAttributeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositoryDetailAttributeCall) Return ¶
func (c *MockAttributeRepositoryDetailAttributeCall) Return(arg0 domain.Attribute, arg1 error) *MockAttributeRepositoryDetailAttributeCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositoryGetMaxSortKeyByGroupIDCall ¶
MockAttributeRepositoryGetMaxSortKeyByGroupIDCall wrap *gomock.Call
func (*MockAttributeRepositoryGetMaxSortKeyByGroupIDCall) Do ¶
func (c *MockAttributeRepositoryGetMaxSortKeyByGroupIDCall) Do(f func(context.Context, int64) (int64, error)) *MockAttributeRepositoryGetMaxSortKeyByGroupIDCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositoryGetMaxSortKeyByGroupIDCall) DoAndReturn ¶
func (c *MockAttributeRepositoryGetMaxSortKeyByGroupIDCall) DoAndReturn(f func(context.Context, int64) (int64, error)) *MockAttributeRepositoryGetMaxSortKeyByGroupIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositoryGetMaxSortKeyByGroupIDCall) Return ¶
func (c *MockAttributeRepositoryGetMaxSortKeyByGroupIDCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryGetMaxSortKeyByGroupIDCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositoryListAttributePipelineCall ¶
MockAttributeRepositoryListAttributePipelineCall wrap *gomock.Call
func (*MockAttributeRepositoryListAttributePipelineCall) Do ¶
func (c *MockAttributeRepositoryListAttributePipelineCall) Do(f func(context.Context, string) ([]domain.AttributePipeline, error)) *MockAttributeRepositoryListAttributePipelineCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositoryListAttributePipelineCall) DoAndReturn ¶
func (c *MockAttributeRepositoryListAttributePipelineCall) DoAndReturn(f func(context.Context, string) ([]domain.AttributePipeline, error)) *MockAttributeRepositoryListAttributePipelineCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositoryListAttributePipelineCall) Return ¶
func (c *MockAttributeRepositoryListAttributePipelineCall) Return(arg0 []domain.AttributePipeline, arg1 error) *MockAttributeRepositoryListAttributePipelineCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositoryListAttributesCall ¶
MockAttributeRepositoryListAttributesCall wrap *gomock.Call
func (*MockAttributeRepositoryListAttributesCall) Do ¶
func (c *MockAttributeRepositoryListAttributesCall) Do(f func(context.Context, string) ([]domain.Attribute, error)) *MockAttributeRepositoryListAttributesCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositoryListAttributesCall) DoAndReturn ¶
func (c *MockAttributeRepositoryListAttributesCall) DoAndReturn(f func(context.Context, string) ([]domain.Attribute, error)) *MockAttributeRepositoryListAttributesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositoryListAttributesCall) Return ¶
func (c *MockAttributeRepositoryListAttributesCall) Return(arg0 []domain.Attribute, arg1 error) *MockAttributeRepositoryListAttributesCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositoryListByGroupIDCall ¶
MockAttributeRepositoryListByGroupIDCall wrap *gomock.Call
func (*MockAttributeRepositoryListByGroupIDCall) Do ¶
func (c *MockAttributeRepositoryListByGroupIDCall) Do(f func(context.Context, int64) ([]domain.Attribute, error)) *MockAttributeRepositoryListByGroupIDCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositoryListByGroupIDCall) DoAndReturn ¶
func (c *MockAttributeRepositoryListByGroupIDCall) DoAndReturn(f func(context.Context, int64) ([]domain.Attribute, error)) *MockAttributeRepositoryListByGroupIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositoryListByGroupIDCall) Return ¶
func (c *MockAttributeRepositoryListByGroupIDCall) Return(arg0 []domain.Attribute, arg1 error) *MockAttributeRepositoryListByGroupIDCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositoryMockRecorder ¶
type MockAttributeRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockAttributeRepositoryMockRecorder is the mock recorder for MockAttributeRepository.
func (*MockAttributeRepositoryMockRecorder) BatchCreateAttribute ¶
func (mr *MockAttributeRepositoryMockRecorder) BatchCreateAttribute(ctx, attrs any) *MockAttributeRepositoryBatchCreateAttributeCall
BatchCreateAttribute indicates an expected call of BatchCreateAttribute.
func (*MockAttributeRepositoryMockRecorder) BatchUpdateSortKey ¶
func (mr *MockAttributeRepositoryMockRecorder) BatchUpdateSortKey(ctx, items any) *MockAttributeRepositoryBatchUpdateSortKeyCall
BatchUpdateSortKey indicates an expected call of BatchUpdateSortKey.
func (*MockAttributeRepositoryMockRecorder) CreateAttribute ¶
func (mr *MockAttributeRepositoryMockRecorder) CreateAttribute(ctx, req any) *MockAttributeRepositoryCreateAttributeCall
CreateAttribute indicates an expected call of CreateAttribute.
func (*MockAttributeRepositoryMockRecorder) CustomAttributeFieldColumns ¶
func (mr *MockAttributeRepositoryMockRecorder) CustomAttributeFieldColumns(ctx, modelUid, customField any) *MockAttributeRepositoryCustomAttributeFieldColumnsCall
CustomAttributeFieldColumns indicates an expected call of CustomAttributeFieldColumns.
func (*MockAttributeRepositoryMockRecorder) CustomAttributeFieldColumnsReverse ¶
func (mr *MockAttributeRepositoryMockRecorder) CustomAttributeFieldColumnsReverse(ctx, modelUid, customField any) *MockAttributeRepositoryCustomAttributeFieldColumnsReverseCall
CustomAttributeFieldColumnsReverse indicates an expected call of CustomAttributeFieldColumnsReverse.
func (*MockAttributeRepositoryMockRecorder) DeleteAttribute ¶
func (mr *MockAttributeRepositoryMockRecorder) DeleteAttribute(ctx, id any) *MockAttributeRepositoryDeleteAttributeCall
DeleteAttribute indicates an expected call of DeleteAttribute.
func (*MockAttributeRepositoryMockRecorder) DeleteByGroupId ¶
func (mr *MockAttributeRepositoryMockRecorder) DeleteByGroupId(ctx, groupId any) *MockAttributeRepositoryDeleteByGroupIdCall
DeleteByGroupId indicates an expected call of DeleteByGroupId.
func (*MockAttributeRepositoryMockRecorder) DeleteByModelUid ¶
func (mr *MockAttributeRepositoryMockRecorder) DeleteByModelUid(ctx, modelUid any) *MockAttributeRepositoryDeleteByModelUidCall
DeleteByModelUid indicates an expected call of DeleteByModelUid.
func (*MockAttributeRepositoryMockRecorder) DetailAttribute ¶
func (mr *MockAttributeRepositoryMockRecorder) DetailAttribute(ctx, id any) *MockAttributeRepositoryDetailAttributeCall
DetailAttribute indicates an expected call of DetailAttribute.
func (*MockAttributeRepositoryMockRecorder) GetMaxSortKeyByGroupID ¶
func (mr *MockAttributeRepositoryMockRecorder) GetMaxSortKeyByGroupID(ctx, groupId any) *MockAttributeRepositoryGetMaxSortKeyByGroupIDCall
GetMaxSortKeyByGroupID indicates an expected call of GetMaxSortKeyByGroupID.
func (*MockAttributeRepositoryMockRecorder) ListAttributePipeline ¶
func (mr *MockAttributeRepositoryMockRecorder) ListAttributePipeline(ctx, modelUid any) *MockAttributeRepositoryListAttributePipelineCall
ListAttributePipeline indicates an expected call of ListAttributePipeline.
func (*MockAttributeRepositoryMockRecorder) ListAttributes ¶
func (mr *MockAttributeRepositoryMockRecorder) ListAttributes(ctx, modelUID any) *MockAttributeRepositoryListAttributesCall
ListAttributes indicates an expected call of ListAttributes.
func (*MockAttributeRepositoryMockRecorder) ListByGroupID ¶
func (mr *MockAttributeRepositoryMockRecorder) ListByGroupID(ctx, groupId any) *MockAttributeRepositoryListByGroupIDCall
ListByGroupID indicates an expected call of ListByGroupID.
func (*MockAttributeRepositoryMockRecorder) SearchAttributeFieldsByModelUid ¶
func (mr *MockAttributeRepositoryMockRecorder) SearchAttributeFieldsByModelUid(ctx, modelUid any) *MockAttributeRepositorySearchAttributeFieldsByModelUidCall
SearchAttributeFieldsByModelUid indicates an expected call of SearchAttributeFieldsByModelUid.
func (*MockAttributeRepositoryMockRecorder) SearchAttributeFieldsBySecure ¶
func (mr *MockAttributeRepositoryMockRecorder) SearchAttributeFieldsBySecure(ctx, modelUid any) *MockAttributeRepositorySearchAttributeFieldsBySecureCall
SearchAttributeFieldsBySecure indicates an expected call of SearchAttributeFieldsBySecure.
func (*MockAttributeRepositoryMockRecorder) Total ¶
func (mr *MockAttributeRepositoryMockRecorder) Total(ctx, modelUID any) *MockAttributeRepositoryTotalCall
Total indicates an expected call of Total.
func (*MockAttributeRepositoryMockRecorder) UpdateAttribute ¶
func (mr *MockAttributeRepositoryMockRecorder) UpdateAttribute(ctx, req any) *MockAttributeRepositoryUpdateAttributeCall
UpdateAttribute indicates an expected call of UpdateAttribute.
func (*MockAttributeRepositoryMockRecorder) UpdateSort ¶
func (mr *MockAttributeRepositoryMockRecorder) UpdateSort(ctx, id, groupId, sortKey any) *MockAttributeRepositoryUpdateSortCall
UpdateSort indicates an expected call of UpdateSort.
type MockAttributeRepositorySearchAttributeFieldsByModelUidCall ¶
MockAttributeRepositorySearchAttributeFieldsByModelUidCall wrap *gomock.Call
func (*MockAttributeRepositorySearchAttributeFieldsByModelUidCall) Do ¶
func (c *MockAttributeRepositorySearchAttributeFieldsByModelUidCall) Do(f func(context.Context, string) ([]string, error)) *MockAttributeRepositorySearchAttributeFieldsByModelUidCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositorySearchAttributeFieldsByModelUidCall) DoAndReturn ¶
func (c *MockAttributeRepositorySearchAttributeFieldsByModelUidCall) DoAndReturn(f func(context.Context, string) ([]string, error)) *MockAttributeRepositorySearchAttributeFieldsByModelUidCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositorySearchAttributeFieldsByModelUidCall) Return ¶
func (c *MockAttributeRepositorySearchAttributeFieldsByModelUidCall) Return(arg0 []string, arg1 error) *MockAttributeRepositorySearchAttributeFieldsByModelUidCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositorySearchAttributeFieldsBySecureCall ¶
MockAttributeRepositorySearchAttributeFieldsBySecureCall wrap *gomock.Call
func (*MockAttributeRepositorySearchAttributeFieldsBySecureCall) Do ¶
func (c *MockAttributeRepositorySearchAttributeFieldsBySecureCall) Do(f func(context.Context, []string) (map[string][]string, error)) *MockAttributeRepositorySearchAttributeFieldsBySecureCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositorySearchAttributeFieldsBySecureCall) DoAndReturn ¶
func (c *MockAttributeRepositorySearchAttributeFieldsBySecureCall) DoAndReturn(f func(context.Context, []string) (map[string][]string, error)) *MockAttributeRepositorySearchAttributeFieldsBySecureCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositorySearchAttributeFieldsBySecureCall) Return ¶
func (c *MockAttributeRepositorySearchAttributeFieldsBySecureCall) Return(arg0 map[string][]string, arg1 error) *MockAttributeRepositorySearchAttributeFieldsBySecureCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositoryTotalCall ¶
MockAttributeRepositoryTotalCall wrap *gomock.Call
func (*MockAttributeRepositoryTotalCall) Do ¶
func (c *MockAttributeRepositoryTotalCall) Do(f func(context.Context, string) (int64, error)) *MockAttributeRepositoryTotalCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositoryTotalCall) DoAndReturn ¶
func (c *MockAttributeRepositoryTotalCall) DoAndReturn(f func(context.Context, string) (int64, error)) *MockAttributeRepositoryTotalCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositoryTotalCall) Return ¶
func (c *MockAttributeRepositoryTotalCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryTotalCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositoryUpdateAttributeCall ¶
MockAttributeRepositoryUpdateAttributeCall wrap *gomock.Call
func (*MockAttributeRepositoryUpdateAttributeCall) Do ¶
func (c *MockAttributeRepositoryUpdateAttributeCall) Do(f func(context.Context, domain.Attribute) (int64, error)) *MockAttributeRepositoryUpdateAttributeCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositoryUpdateAttributeCall) DoAndReturn ¶
func (c *MockAttributeRepositoryUpdateAttributeCall) DoAndReturn(f func(context.Context, domain.Attribute) (int64, error)) *MockAttributeRepositoryUpdateAttributeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositoryUpdateAttributeCall) Return ¶
func (c *MockAttributeRepositoryUpdateAttributeCall) Return(arg0 int64, arg1 error) *MockAttributeRepositoryUpdateAttributeCall
Return rewrite *gomock.Call.Return
type MockAttributeRepositoryUpdateSortCall ¶
MockAttributeRepositoryUpdateSortCall wrap *gomock.Call
func (*MockAttributeRepositoryUpdateSortCall) Do ¶
func (c *MockAttributeRepositoryUpdateSortCall) Do(f func(context.Context, int64, int64, int64) error) *MockAttributeRepositoryUpdateSortCall
Do rewrite *gomock.Call.Do
func (*MockAttributeRepositoryUpdateSortCall) DoAndReturn ¶
func (c *MockAttributeRepositoryUpdateSortCall) DoAndReturn(f func(context.Context, int64, int64, int64) error) *MockAttributeRepositoryUpdateSortCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAttributeRepositoryUpdateSortCall) Return ¶
func (c *MockAttributeRepositoryUpdateSortCall) Return(arg0 error) *MockAttributeRepositoryUpdateSortCall
Return rewrite *gomock.Call.Return
type MockFieldSecureAttrChangeEventProducer ¶
type MockFieldSecureAttrChangeEventProducer struct {
// contains filtered or unexported fields
}
MockFieldSecureAttrChangeEventProducer is a mock of FieldSecureAttrChangeEventProducer interface.
func NewMockFieldSecureAttrChangeEventProducer ¶
func NewMockFieldSecureAttrChangeEventProducer(ctrl *gomock.Controller) *MockFieldSecureAttrChangeEventProducer
NewMockFieldSecureAttrChangeEventProducer creates a new mock instance.
func (*MockFieldSecureAttrChangeEventProducer) EXPECT ¶
func (m *MockFieldSecureAttrChangeEventProducer) EXPECT() *MockFieldSecureAttrChangeEventProducerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFieldSecureAttrChangeEventProducer) Produce ¶
func (m *MockFieldSecureAttrChangeEventProducer) Produce(ctx context.Context, evt domain.FieldSecureAttrChange) error
Produce mocks base method.
type MockFieldSecureAttrChangeEventProducerMockRecorder ¶
type MockFieldSecureAttrChangeEventProducerMockRecorder struct {
// contains filtered or unexported fields
}
MockFieldSecureAttrChangeEventProducerMockRecorder is the mock recorder for MockFieldSecureAttrChangeEventProducer.
func (*MockFieldSecureAttrChangeEventProducerMockRecorder) Produce ¶
func (mr *MockFieldSecureAttrChangeEventProducerMockRecorder) Produce(ctx, evt any) *MockFieldSecureAttrChangeEventProducerProduceCall
Produce indicates an expected call of Produce.
type MockFieldSecureAttrChangeEventProducerProduceCall ¶
MockFieldSecureAttrChangeEventProducerProduceCall wrap *gomock.Call
func (*MockFieldSecureAttrChangeEventProducerProduceCall) Do ¶
func (c *MockFieldSecureAttrChangeEventProducerProduceCall) Do(f func(context.Context, domain.FieldSecureAttrChange) error) *MockFieldSecureAttrChangeEventProducerProduceCall
Do rewrite *gomock.Call.Do
func (*MockFieldSecureAttrChangeEventProducerProduceCall) DoAndReturn ¶
func (c *MockFieldSecureAttrChangeEventProducerProduceCall) DoAndReturn(f func(context.Context, domain.FieldSecureAttrChange) error) *MockFieldSecureAttrChangeEventProducerProduceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockFieldSecureAttrChangeEventProducerProduceCall) Return ¶
func (c *MockFieldSecureAttrChangeEventProducerProduceCall) Return(arg0 error) *MockFieldSecureAttrChangeEventProducerProduceCall
Return rewrite *gomock.Call.Return
type MockIFieldDeleteEventProducer ¶
type MockIFieldDeleteEventProducer struct {
// contains filtered or unexported fields
}
MockIFieldDeleteEventProducer is a mock of IFieldDeleteEventProducer interface.
func NewMockIFieldDeleteEventProducer ¶
func NewMockIFieldDeleteEventProducer(ctrl *gomock.Controller) *MockIFieldDeleteEventProducer
NewMockIFieldDeleteEventProducer creates a new mock instance.
func (*MockIFieldDeleteEventProducer) EXPECT ¶
func (m *MockIFieldDeleteEventProducer) EXPECT() *MockIFieldDeleteEventProducerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIFieldDeleteEventProducer) Produce ¶
func (m *MockIFieldDeleteEventProducer) Produce(ctx context.Context, evt domain.FieldDelete) error
Produce mocks base method.
type MockIFieldDeleteEventProducerMockRecorder ¶
type MockIFieldDeleteEventProducerMockRecorder struct {
// contains filtered or unexported fields
}
MockIFieldDeleteEventProducerMockRecorder is the mock recorder for MockIFieldDeleteEventProducer.
func (*MockIFieldDeleteEventProducerMockRecorder) Produce ¶
func (mr *MockIFieldDeleteEventProducerMockRecorder) Produce(ctx, evt any) *MockIFieldDeleteEventProducerProduceCall
Produce indicates an expected call of Produce.
type MockIFieldDeleteEventProducerProduceCall ¶
MockIFieldDeleteEventProducerProduceCall wrap *gomock.Call
func (*MockIFieldDeleteEventProducerProduceCall) Do ¶
func (c *MockIFieldDeleteEventProducerProduceCall) Do(f func(context.Context, domain.FieldDelete) error) *MockIFieldDeleteEventProducerProduceCall
Do rewrite *gomock.Call.Do
func (*MockIFieldDeleteEventProducerProduceCall) DoAndReturn ¶
func (c *MockIFieldDeleteEventProducerProduceCall) DoAndReturn(f func(context.Context, domain.FieldDelete) error) *MockIFieldDeleteEventProducerProduceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIFieldDeleteEventProducerProduceCall) Return ¶
func (c *MockIFieldDeleteEventProducerProduceCall) Return(arg0 error) *MockIFieldDeleteEventProducerProduceCall
Return rewrite *gomock.Call.Return
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) BatchCreateAttribute ¶
BatchCreateAttribute mocks base method.
func (*MockService) BatchCreateAttributeGroup ¶
func (m *MockService) BatchCreateAttributeGroup(ctx context.Context, ags []domain.AttributeGroup) ([]domain.AttributeGroup, error)
BatchCreateAttributeGroup mocks base method.
func (*MockService) CreateAttribute ¶
CreateAttribute mocks base method.
func (*MockService) CreateAttributeGroup ¶
func (m *MockService) CreateAttributeGroup(ctx context.Context, req domain.AttributeGroup) (int64, error)
CreateAttributeGroup mocks base method.
func (*MockService) CreateDefaultAttribute ¶
CreateDefaultAttribute mocks base method.
func (*MockService) CustomAttributeFieldColumns ¶
func (m *MockService) CustomAttributeFieldColumns(ctx context.Context, modelUid string, customField []string) (int64, error)
CustomAttributeFieldColumns mocks base method.
func (*MockService) DeleteAttribute ¶
DeleteAttribute mocks base method.
func (*MockService) DeleteAttributeGroup ¶
DeleteAttributeGroup mocks base method.
func (*MockService) DeleteByModelUid ¶
func (m *MockService) DeleteByModelUid(ctx context.Context, modelUid string) error
DeleteByModelUid mocks base method.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) ListAttributeGroup ¶
func (m *MockService) ListAttributeGroup(ctx context.Context, modelUid string) ([]domain.AttributeGroup, error)
ListAttributeGroup mocks base method.
func (*MockService) ListAttributeGroupByIds ¶
func (m *MockService) ListAttributeGroupByIds(ctx context.Context, ids []int64) ([]domain.AttributeGroup, error)
ListAttributeGroupByIds mocks base method.
func (*MockService) ListAttributePipeline ¶
func (m *MockService) ListAttributePipeline(ctx context.Context, modelUid string) ([]domain.AttributePipeline, error)
ListAttributePipeline mocks base method.
func (*MockService) ListAttributes ¶
func (m *MockService) ListAttributes(ctx context.Context, modelUID string) ([]domain.Attribute, int64, error)
ListAttributes mocks base method.
func (*MockService) RenameAttributeGroup ¶
func (m *MockService) RenameAttributeGroup(ctx context.Context, id int64, name string) (int64, error)
RenameAttributeGroup mocks base method.
func (*MockService) SearchAllAttributeFieldsByModelUid ¶
func (m *MockService) SearchAllAttributeFieldsByModelUid(ctx context.Context, modelUid string) ([]string, error)
SearchAllAttributeFieldsByModelUid mocks base method.
func (*MockService) SearchAttributeFieldsByModelUid ¶
func (m *MockService) SearchAttributeFieldsByModelUid(ctx context.Context, modelUid string) ([]string, error)
SearchAttributeFieldsByModelUid mocks base method.
func (*MockService) SearchAttributeFieldsBySecure ¶
func (m *MockService) SearchAttributeFieldsBySecure(ctx context.Context, modelUids []string) (map[string][]string, error)
SearchAttributeFieldsBySecure mocks base method.
func (*MockService) Sort ¶
func (m *MockService) Sort(ctx context.Context, id, targetGroupId, targetPosition int64) error
Sort mocks base method.
func (*MockService) SortAttributeGroup ¶
func (m *MockService) SortAttributeGroup(ctx context.Context, id, targetPosition int64) error
SortAttributeGroup mocks base method.
func (*MockService) UpdateAttribute ¶
func (m *MockService) UpdateAttribute(ctx context.Context, attribute domain.Attribute) (int64, error)
UpdateAttribute mocks base method.
type MockServiceBatchCreateAttributeCall ¶
MockServiceBatchCreateAttributeCall wrap *gomock.Call
func (*MockServiceBatchCreateAttributeCall) Do ¶
func (c *MockServiceBatchCreateAttributeCall) Do(f func(context.Context, []domain.Attribute) error) *MockServiceBatchCreateAttributeCall
Do rewrite *gomock.Call.Do
func (*MockServiceBatchCreateAttributeCall) DoAndReturn ¶
func (c *MockServiceBatchCreateAttributeCall) DoAndReturn(f func(context.Context, []domain.Attribute) error) *MockServiceBatchCreateAttributeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceBatchCreateAttributeCall) Return ¶
func (c *MockServiceBatchCreateAttributeCall) Return(arg0 error) *MockServiceBatchCreateAttributeCall
Return rewrite *gomock.Call.Return
type MockServiceBatchCreateAttributeGroupCall ¶
MockServiceBatchCreateAttributeGroupCall wrap *gomock.Call
func (*MockServiceBatchCreateAttributeGroupCall) Do ¶
func (c *MockServiceBatchCreateAttributeGroupCall) Do(f func(context.Context, []domain.AttributeGroup) ([]domain.AttributeGroup, error)) *MockServiceBatchCreateAttributeGroupCall
Do rewrite *gomock.Call.Do
func (*MockServiceBatchCreateAttributeGroupCall) DoAndReturn ¶
func (c *MockServiceBatchCreateAttributeGroupCall) DoAndReturn(f func(context.Context, []domain.AttributeGroup) ([]domain.AttributeGroup, error)) *MockServiceBatchCreateAttributeGroupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceBatchCreateAttributeGroupCall) Return ¶
func (c *MockServiceBatchCreateAttributeGroupCall) Return(arg0 []domain.AttributeGroup, arg1 error) *MockServiceBatchCreateAttributeGroupCall
Return rewrite *gomock.Call.Return
type MockServiceCreateAttributeCall ¶
MockServiceCreateAttributeCall wrap *gomock.Call
func (*MockServiceCreateAttributeCall) Do ¶
func (c *MockServiceCreateAttributeCall) Do(f func(context.Context, domain.Attribute) (int64, error)) *MockServiceCreateAttributeCall
Do rewrite *gomock.Call.Do
func (*MockServiceCreateAttributeCall) DoAndReturn ¶
func (c *MockServiceCreateAttributeCall) DoAndReturn(f func(context.Context, domain.Attribute) (int64, error)) *MockServiceCreateAttributeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceCreateAttributeCall) Return ¶
func (c *MockServiceCreateAttributeCall) Return(arg0 int64, arg1 error) *MockServiceCreateAttributeCall
Return rewrite *gomock.Call.Return
type MockServiceCreateAttributeGroupCall ¶
MockServiceCreateAttributeGroupCall wrap *gomock.Call
func (*MockServiceCreateAttributeGroupCall) Do ¶
func (c *MockServiceCreateAttributeGroupCall) Do(f func(context.Context, domain.AttributeGroup) (int64, error)) *MockServiceCreateAttributeGroupCall
Do rewrite *gomock.Call.Do
func (*MockServiceCreateAttributeGroupCall) DoAndReturn ¶
func (c *MockServiceCreateAttributeGroupCall) DoAndReturn(f func(context.Context, domain.AttributeGroup) (int64, error)) *MockServiceCreateAttributeGroupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceCreateAttributeGroupCall) Return ¶
func (c *MockServiceCreateAttributeGroupCall) Return(arg0 int64, arg1 error) *MockServiceCreateAttributeGroupCall
Return rewrite *gomock.Call.Return
type MockServiceCreateDefaultAttributeCall ¶
MockServiceCreateDefaultAttributeCall wrap *gomock.Call
func (*MockServiceCreateDefaultAttributeCall) Do ¶
func (c *MockServiceCreateDefaultAttributeCall) Do(f func(context.Context, string) (int64, error)) *MockServiceCreateDefaultAttributeCall
Do rewrite *gomock.Call.Do
func (*MockServiceCreateDefaultAttributeCall) DoAndReturn ¶
func (c *MockServiceCreateDefaultAttributeCall) DoAndReturn(f func(context.Context, string) (int64, error)) *MockServiceCreateDefaultAttributeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceCreateDefaultAttributeCall) Return ¶
func (c *MockServiceCreateDefaultAttributeCall) Return(arg0 int64, arg1 error) *MockServiceCreateDefaultAttributeCall
Return rewrite *gomock.Call.Return
type MockServiceCustomAttributeFieldColumnsCall ¶
MockServiceCustomAttributeFieldColumnsCall wrap *gomock.Call
func (*MockServiceCustomAttributeFieldColumnsCall) Do ¶
func (c *MockServiceCustomAttributeFieldColumnsCall) Do(f func(context.Context, string, []string) (int64, error)) *MockServiceCustomAttributeFieldColumnsCall
Do rewrite *gomock.Call.Do
func (*MockServiceCustomAttributeFieldColumnsCall) DoAndReturn ¶
func (c *MockServiceCustomAttributeFieldColumnsCall) DoAndReturn(f func(context.Context, string, []string) (int64, error)) *MockServiceCustomAttributeFieldColumnsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceCustomAttributeFieldColumnsCall) Return ¶
func (c *MockServiceCustomAttributeFieldColumnsCall) Return(arg0 int64, arg1 error) *MockServiceCustomAttributeFieldColumnsCall
Return rewrite *gomock.Call.Return
type MockServiceDeleteAttributeCall ¶
MockServiceDeleteAttributeCall wrap *gomock.Call
func (*MockServiceDeleteAttributeCall) Do ¶
func (c *MockServiceDeleteAttributeCall) Do(f func(context.Context, int64) (int64, error)) *MockServiceDeleteAttributeCall
Do rewrite *gomock.Call.Do
func (*MockServiceDeleteAttributeCall) DoAndReturn ¶
func (c *MockServiceDeleteAttributeCall) DoAndReturn(f func(context.Context, int64) (int64, error)) *MockServiceDeleteAttributeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceDeleteAttributeCall) Return ¶
func (c *MockServiceDeleteAttributeCall) Return(arg0 int64, arg1 error) *MockServiceDeleteAttributeCall
Return rewrite *gomock.Call.Return
type MockServiceDeleteAttributeGroupCall ¶
MockServiceDeleteAttributeGroupCall wrap *gomock.Call
func (*MockServiceDeleteAttributeGroupCall) Do ¶
func (c *MockServiceDeleteAttributeGroupCall) Do(f func(context.Context, int64) (int64, error)) *MockServiceDeleteAttributeGroupCall
Do rewrite *gomock.Call.Do
func (*MockServiceDeleteAttributeGroupCall) DoAndReturn ¶
func (c *MockServiceDeleteAttributeGroupCall) DoAndReturn(f func(context.Context, int64) (int64, error)) *MockServiceDeleteAttributeGroupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceDeleteAttributeGroupCall) Return ¶
func (c *MockServiceDeleteAttributeGroupCall) Return(arg0 int64, arg1 error) *MockServiceDeleteAttributeGroupCall
Return rewrite *gomock.Call.Return
type MockServiceDeleteByModelUidCall ¶
MockServiceDeleteByModelUidCall wrap *gomock.Call
func (*MockServiceDeleteByModelUidCall) Do ¶
func (c *MockServiceDeleteByModelUidCall) Do(f func(context.Context, string) error) *MockServiceDeleteByModelUidCall
Do rewrite *gomock.Call.Do
func (*MockServiceDeleteByModelUidCall) DoAndReturn ¶
func (c *MockServiceDeleteByModelUidCall) DoAndReturn(f func(context.Context, string) error) *MockServiceDeleteByModelUidCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceDeleteByModelUidCall) Return ¶
func (c *MockServiceDeleteByModelUidCall) Return(arg0 error) *MockServiceDeleteByModelUidCall
Return rewrite *gomock.Call.Return
type MockServiceListAttributeGroupByIdsCall ¶
MockServiceListAttributeGroupByIdsCall wrap *gomock.Call
func (*MockServiceListAttributeGroupByIdsCall) Do ¶
func (c *MockServiceListAttributeGroupByIdsCall) Do(f func(context.Context, []int64) ([]domain.AttributeGroup, error)) *MockServiceListAttributeGroupByIdsCall
Do rewrite *gomock.Call.Do
func (*MockServiceListAttributeGroupByIdsCall) DoAndReturn ¶
func (c *MockServiceListAttributeGroupByIdsCall) DoAndReturn(f func(context.Context, []int64) ([]domain.AttributeGroup, error)) *MockServiceListAttributeGroupByIdsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceListAttributeGroupByIdsCall) Return ¶
func (c *MockServiceListAttributeGroupByIdsCall) Return(arg0 []domain.AttributeGroup, arg1 error) *MockServiceListAttributeGroupByIdsCall
Return rewrite *gomock.Call.Return
type MockServiceListAttributeGroupCall ¶
MockServiceListAttributeGroupCall wrap *gomock.Call
func (*MockServiceListAttributeGroupCall) Do ¶
func (c *MockServiceListAttributeGroupCall) Do(f func(context.Context, string) ([]domain.AttributeGroup, error)) *MockServiceListAttributeGroupCall
Do rewrite *gomock.Call.Do
func (*MockServiceListAttributeGroupCall) DoAndReturn ¶
func (c *MockServiceListAttributeGroupCall) DoAndReturn(f func(context.Context, string) ([]domain.AttributeGroup, error)) *MockServiceListAttributeGroupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceListAttributeGroupCall) Return ¶
func (c *MockServiceListAttributeGroupCall) Return(arg0 []domain.AttributeGroup, arg1 error) *MockServiceListAttributeGroupCall
Return rewrite *gomock.Call.Return
type MockServiceListAttributePipelineCall ¶
MockServiceListAttributePipelineCall wrap *gomock.Call
func (*MockServiceListAttributePipelineCall) Do ¶
func (c *MockServiceListAttributePipelineCall) Do(f func(context.Context, string) ([]domain.AttributePipeline, error)) *MockServiceListAttributePipelineCall
Do rewrite *gomock.Call.Do
func (*MockServiceListAttributePipelineCall) DoAndReturn ¶
func (c *MockServiceListAttributePipelineCall) DoAndReturn(f func(context.Context, string) ([]domain.AttributePipeline, error)) *MockServiceListAttributePipelineCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceListAttributePipelineCall) Return ¶
func (c *MockServiceListAttributePipelineCall) Return(arg0 []domain.AttributePipeline, arg1 error) *MockServiceListAttributePipelineCall
Return rewrite *gomock.Call.Return
type MockServiceListAttributesCall ¶
MockServiceListAttributesCall wrap *gomock.Call
func (*MockServiceListAttributesCall) Do ¶
func (c *MockServiceListAttributesCall) Do(f func(context.Context, string) ([]domain.Attribute, int64, error)) *MockServiceListAttributesCall
Do rewrite *gomock.Call.Do
func (*MockServiceListAttributesCall) DoAndReturn ¶
func (c *MockServiceListAttributesCall) DoAndReturn(f func(context.Context, string) ([]domain.Attribute, int64, error)) *MockServiceListAttributesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceListAttributesCall) Return ¶
func (c *MockServiceListAttributesCall) Return(arg0 []domain.Attribute, arg1 int64, arg2 error) *MockServiceListAttributesCall
Return rewrite *gomock.Call.Return
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) BatchCreateAttribute ¶
func (mr *MockServiceMockRecorder) BatchCreateAttribute(ctx, attrs any) *MockServiceBatchCreateAttributeCall
BatchCreateAttribute indicates an expected call of BatchCreateAttribute.
func (*MockServiceMockRecorder) BatchCreateAttributeGroup ¶
func (mr *MockServiceMockRecorder) BatchCreateAttributeGroup(ctx, ags any) *MockServiceBatchCreateAttributeGroupCall
BatchCreateAttributeGroup indicates an expected call of BatchCreateAttributeGroup.
func (*MockServiceMockRecorder) CreateAttribute ¶
func (mr *MockServiceMockRecorder) CreateAttribute(ctx, req any) *MockServiceCreateAttributeCall
CreateAttribute indicates an expected call of CreateAttribute.
func (*MockServiceMockRecorder) CreateAttributeGroup ¶
func (mr *MockServiceMockRecorder) CreateAttributeGroup(ctx, req any) *MockServiceCreateAttributeGroupCall
CreateAttributeGroup indicates an expected call of CreateAttributeGroup.
func (*MockServiceMockRecorder) CreateDefaultAttribute ¶
func (mr *MockServiceMockRecorder) CreateDefaultAttribute(ctx, modelUid any) *MockServiceCreateDefaultAttributeCall
CreateDefaultAttribute indicates an expected call of CreateDefaultAttribute.
func (*MockServiceMockRecorder) CustomAttributeFieldColumns ¶
func (mr *MockServiceMockRecorder) CustomAttributeFieldColumns(ctx, modelUid, customField any) *MockServiceCustomAttributeFieldColumnsCall
CustomAttributeFieldColumns indicates an expected call of CustomAttributeFieldColumns.
func (*MockServiceMockRecorder) DeleteAttribute ¶
func (mr *MockServiceMockRecorder) DeleteAttribute(ctx, id any) *MockServiceDeleteAttributeCall
DeleteAttribute indicates an expected call of DeleteAttribute.
func (*MockServiceMockRecorder) DeleteAttributeGroup ¶
func (mr *MockServiceMockRecorder) DeleteAttributeGroup(ctx, id any) *MockServiceDeleteAttributeGroupCall
DeleteAttributeGroup indicates an expected call of DeleteAttributeGroup.
func (*MockServiceMockRecorder) DeleteByModelUid ¶
func (mr *MockServiceMockRecorder) DeleteByModelUid(ctx, modelUid any) *MockServiceDeleteByModelUidCall
DeleteByModelUid indicates an expected call of DeleteByModelUid.
func (*MockServiceMockRecorder) ListAttributeGroup ¶
func (mr *MockServiceMockRecorder) ListAttributeGroup(ctx, modelUid any) *MockServiceListAttributeGroupCall
ListAttributeGroup indicates an expected call of ListAttributeGroup.
func (*MockServiceMockRecorder) ListAttributeGroupByIds ¶
func (mr *MockServiceMockRecorder) ListAttributeGroupByIds(ctx, ids any) *MockServiceListAttributeGroupByIdsCall
ListAttributeGroupByIds indicates an expected call of ListAttributeGroupByIds.
func (*MockServiceMockRecorder) ListAttributePipeline ¶
func (mr *MockServiceMockRecorder) ListAttributePipeline(ctx, modelUid any) *MockServiceListAttributePipelineCall
ListAttributePipeline indicates an expected call of ListAttributePipeline.
func (*MockServiceMockRecorder) ListAttributes ¶
func (mr *MockServiceMockRecorder) ListAttributes(ctx, modelUID any) *MockServiceListAttributesCall
ListAttributes indicates an expected call of ListAttributes.
func (*MockServiceMockRecorder) RenameAttributeGroup ¶
func (mr *MockServiceMockRecorder) RenameAttributeGroup(ctx, id, name any) *MockServiceRenameAttributeGroupCall
RenameAttributeGroup indicates an expected call of RenameAttributeGroup.
func (*MockServiceMockRecorder) SearchAllAttributeFieldsByModelUid ¶
func (mr *MockServiceMockRecorder) SearchAllAttributeFieldsByModelUid(ctx, modelUid any) *MockServiceSearchAllAttributeFieldsByModelUidCall
SearchAllAttributeFieldsByModelUid indicates an expected call of SearchAllAttributeFieldsByModelUid.
func (*MockServiceMockRecorder) SearchAttributeFieldsByModelUid ¶
func (mr *MockServiceMockRecorder) SearchAttributeFieldsByModelUid(ctx, modelUid any) *MockServiceSearchAttributeFieldsByModelUidCall
SearchAttributeFieldsByModelUid indicates an expected call of SearchAttributeFieldsByModelUid.
func (*MockServiceMockRecorder) SearchAttributeFieldsBySecure ¶
func (mr *MockServiceMockRecorder) SearchAttributeFieldsBySecure(ctx, modelUids any) *MockServiceSearchAttributeFieldsBySecureCall
SearchAttributeFieldsBySecure indicates an expected call of SearchAttributeFieldsBySecure.
func (*MockServiceMockRecorder) Sort ¶
func (mr *MockServiceMockRecorder) Sort(ctx, id, targetGroupId, targetPosition any) *MockServiceSortCall
Sort indicates an expected call of Sort.
func (*MockServiceMockRecorder) SortAttributeGroup ¶
func (mr *MockServiceMockRecorder) SortAttributeGroup(ctx, id, targetPosition any) *MockServiceSortAttributeGroupCall
SortAttributeGroup indicates an expected call of SortAttributeGroup.
func (*MockServiceMockRecorder) UpdateAttribute ¶
func (mr *MockServiceMockRecorder) UpdateAttribute(ctx, attribute any) *MockServiceUpdateAttributeCall
UpdateAttribute indicates an expected call of UpdateAttribute.
type MockServiceRenameAttributeGroupCall ¶
MockServiceRenameAttributeGroupCall wrap *gomock.Call
func (*MockServiceRenameAttributeGroupCall) Do ¶
func (c *MockServiceRenameAttributeGroupCall) Do(f func(context.Context, int64, string) (int64, error)) *MockServiceRenameAttributeGroupCall
Do rewrite *gomock.Call.Do
func (*MockServiceRenameAttributeGroupCall) DoAndReturn ¶
func (c *MockServiceRenameAttributeGroupCall) DoAndReturn(f func(context.Context, int64, string) (int64, error)) *MockServiceRenameAttributeGroupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceRenameAttributeGroupCall) Return ¶
func (c *MockServiceRenameAttributeGroupCall) Return(arg0 int64, arg1 error) *MockServiceRenameAttributeGroupCall
Return rewrite *gomock.Call.Return
type MockServiceSearchAllAttributeFieldsByModelUidCall ¶
MockServiceSearchAllAttributeFieldsByModelUidCall wrap *gomock.Call
func (*MockServiceSearchAllAttributeFieldsByModelUidCall) Do ¶
func (c *MockServiceSearchAllAttributeFieldsByModelUidCall) Do(f func(context.Context, string) ([]string, error)) *MockServiceSearchAllAttributeFieldsByModelUidCall
Do rewrite *gomock.Call.Do
func (*MockServiceSearchAllAttributeFieldsByModelUidCall) DoAndReturn ¶
func (c *MockServiceSearchAllAttributeFieldsByModelUidCall) DoAndReturn(f func(context.Context, string) ([]string, error)) *MockServiceSearchAllAttributeFieldsByModelUidCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceSearchAllAttributeFieldsByModelUidCall) Return ¶
func (c *MockServiceSearchAllAttributeFieldsByModelUidCall) Return(arg0 []string, arg1 error) *MockServiceSearchAllAttributeFieldsByModelUidCall
Return rewrite *gomock.Call.Return
type MockServiceSearchAttributeFieldsByModelUidCall ¶
MockServiceSearchAttributeFieldsByModelUidCall wrap *gomock.Call
func (*MockServiceSearchAttributeFieldsByModelUidCall) Do ¶
func (c *MockServiceSearchAttributeFieldsByModelUidCall) Do(f func(context.Context, string) ([]string, error)) *MockServiceSearchAttributeFieldsByModelUidCall
Do rewrite *gomock.Call.Do
func (*MockServiceSearchAttributeFieldsByModelUidCall) DoAndReturn ¶
func (c *MockServiceSearchAttributeFieldsByModelUidCall) DoAndReturn(f func(context.Context, string) ([]string, error)) *MockServiceSearchAttributeFieldsByModelUidCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceSearchAttributeFieldsByModelUidCall) Return ¶
func (c *MockServiceSearchAttributeFieldsByModelUidCall) Return(arg0 []string, arg1 error) *MockServiceSearchAttributeFieldsByModelUidCall
Return rewrite *gomock.Call.Return
type MockServiceSearchAttributeFieldsBySecureCall ¶
MockServiceSearchAttributeFieldsBySecureCall wrap *gomock.Call
func (*MockServiceSearchAttributeFieldsBySecureCall) Do ¶
func (c *MockServiceSearchAttributeFieldsBySecureCall) Do(f func(context.Context, []string) (map[string][]string, error)) *MockServiceSearchAttributeFieldsBySecureCall
Do rewrite *gomock.Call.Do
func (*MockServiceSearchAttributeFieldsBySecureCall) DoAndReturn ¶
func (c *MockServiceSearchAttributeFieldsBySecureCall) DoAndReturn(f func(context.Context, []string) (map[string][]string, error)) *MockServiceSearchAttributeFieldsBySecureCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceSearchAttributeFieldsBySecureCall) Return ¶
func (c *MockServiceSearchAttributeFieldsBySecureCall) Return(arg0 map[string][]string, arg1 error) *MockServiceSearchAttributeFieldsBySecureCall
Return rewrite *gomock.Call.Return
type MockServiceSortAttributeGroupCall ¶
MockServiceSortAttributeGroupCall wrap *gomock.Call
func (*MockServiceSortAttributeGroupCall) Do ¶
func (c *MockServiceSortAttributeGroupCall) Do(f func(context.Context, int64, int64) error) *MockServiceSortAttributeGroupCall
Do rewrite *gomock.Call.Do
func (*MockServiceSortAttributeGroupCall) DoAndReturn ¶
func (c *MockServiceSortAttributeGroupCall) DoAndReturn(f func(context.Context, int64, int64) error) *MockServiceSortAttributeGroupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceSortAttributeGroupCall) Return ¶
func (c *MockServiceSortAttributeGroupCall) Return(arg0 error) *MockServiceSortAttributeGroupCall
Return rewrite *gomock.Call.Return
type MockServiceSortCall ¶
MockServiceSortCall wrap *gomock.Call
func (*MockServiceSortCall) Do ¶
func (c *MockServiceSortCall) Do(f func(context.Context, int64, int64, int64) error) *MockServiceSortCall
Do rewrite *gomock.Call.Do
func (*MockServiceSortCall) DoAndReturn ¶
func (c *MockServiceSortCall) DoAndReturn(f func(context.Context, int64, int64, int64) error) *MockServiceSortCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceSortCall) Return ¶
func (c *MockServiceSortCall) Return(arg0 error) *MockServiceSortCall
Return rewrite *gomock.Call.Return
type MockServiceUpdateAttributeCall ¶
MockServiceUpdateAttributeCall wrap *gomock.Call
func (*MockServiceUpdateAttributeCall) Do ¶
func (c *MockServiceUpdateAttributeCall) Do(f func(context.Context, domain.Attribute) (int64, error)) *MockServiceUpdateAttributeCall
Do rewrite *gomock.Call.Do
func (*MockServiceUpdateAttributeCall) DoAndReturn ¶
func (c *MockServiceUpdateAttributeCall) DoAndReturn(f func(context.Context, domain.Attribute) (int64, error)) *MockServiceUpdateAttributeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServiceUpdateAttributeCall) Return ¶
func (c *MockServiceUpdateAttributeCall) Return(arg0 int64, arg1 error) *MockServiceUpdateAttributeCall
Return rewrite *gomock.Call.Return