Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockEventStore
- func (m *MockEventStore) EXPECT() *MockEventStoreMockRecorder
- func (m *MockEventStore) Load(ctx context.Context, aggregateID string, version int) ([]event.DomainEvent, error)
- func (m *MockEventStore) SafeStore(ctx context.Context, events []event.DomainEvent, expectedVersion int) error
- func (m *MockEventStore) Store(ctx context.Context, events []event.DomainEvent, version int) error
- type MockEventStoreMockRecorder
- type MockIAssociationDataSource
- func (m *MockIAssociationDataSource) AppendAssociation(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, ...) error
- func (m *MockIAssociationDataSource) AppendAssociationTx(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, ...) error
- func (m *MockIAssociationDataSource) EXPECT() *MockIAssociationDataSourceMockRecorder
- func (m *MockIAssociationDataSource) GetAssociationCount(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity) (int64, error)
- func (m *MockIAssociationDataSource) RemoveAssociation(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, ...) error
- func (m *MockIAssociationDataSource) RemoveAssociationTx(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, ...) error
- func (m *MockIAssociationDataSource) ReplaceAssociation(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, ...) error
- func (m *MockIAssociationDataSource) ReplaceAssociationTx(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, ...) error
- type MockIAssociationDataSourceMockRecorder
- func (mr *MockIAssociationDataSourceMockRecorder) AppendAssociation(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockIAssociationDataSourceMockRecorder) AppendAssociationTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockIAssociationDataSourceMockRecorder) GetAssociationCount(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIAssociationDataSourceMockRecorder) RemoveAssociation(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockIAssociationDataSourceMockRecorder) RemoveAssociationTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockIAssociationDataSourceMockRecorder) ReplaceAssociation(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockIAssociationDataSourceMockRecorder) ReplaceAssociationTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- type MockICRUDRepository
- func (m *MockICRUDRepository) Create(ctx context.Context, e domain.IEntity) (domain.IEntity, error)
- func (m *MockICRUDRepository) CreateTx(arg0 context.Context, arg1 domain.IEntity, arg2 domain.ITransactionEvent) (domain.IEntity, error)
- func (m *MockICRUDRepository) Delete(ctx context.Context, e domain.IEntity) (domain.IEntity, error)
- func (m *MockICRUDRepository) DeleteTx(arg0 context.Context, arg1 domain.IEntity, arg2 domain.ITransactionEvent) (domain.IEntity, error)
- func (m *MockICRUDRepository) EXPECT() *MockICRUDRepositoryMockRecorder
- func (m *MockICRUDRepository) GetAll(ctx context.Context, sq *domain.SearchQuery, e domain.IEntity) (*domain.List, error)
- func (m *MockICRUDRepository) GetByID(ctx context.Context, e domain.IEntity) (domain.IEntity, error)
- func (m *MockICRUDRepository) Update(ctx context.Context, e domain.IEntity) (domain.IEntity, error)
- func (m *MockICRUDRepository) UpdateTx(arg0 context.Context, arg1 domain.IEntity, arg2 domain.ITransactionEvent) (domain.IEntity, error)
- func (m *MockICRUDRepository) UpdateWithFields(ctx context.Context, e domain.IEntity, keys []string) (domain.IEntity, error)
- func (m *MockICRUDRepository) UpdateWithFieldsTx(arg0 context.Context, arg1 domain.IEntity, arg2 []string, ...) (domain.IEntity, error)
- type MockICRUDRepositoryMockRecorder
- func (mr *MockICRUDRepositoryMockRecorder) Create(ctx, e interface{}) *gomock.Call
- func (mr *MockICRUDRepositoryMockRecorder) CreateTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockICRUDRepositoryMockRecorder) Delete(ctx, e interface{}) *gomock.Call
- func (mr *MockICRUDRepositoryMockRecorder) DeleteTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockICRUDRepositoryMockRecorder) GetAll(ctx, sq, e interface{}) *gomock.Call
- func (mr *MockICRUDRepositoryMockRecorder) GetByID(ctx, e interface{}) *gomock.Call
- func (mr *MockICRUDRepositoryMockRecorder) Update(ctx, e interface{}) *gomock.Call
- func (mr *MockICRUDRepositoryMockRecorder) UpdateTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockICRUDRepositoryMockRecorder) UpdateWithFields(ctx, e, keys interface{}) *gomock.Call
- func (mr *MockICRUDRepositoryMockRecorder) UpdateWithFieldsTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockICacheDataSource
- func (m *MockICacheDataSource) Delete(ctx context.Context, e dto.IRepoEntity) error
- func (m *MockICacheDataSource) DeleteListKeys(ctx context.Context, e dto.IRepoEntity) error
- func (m *MockICacheDataSource) DeleteWithKey(ctx context.Context, key string) error
- func (m *MockICacheDataSource) EXPECT() *MockICacheDataSourceMockRecorder
- func (m *MockICacheDataSource) Get(ctx context.Context, e dto.IRepoEntity, ttl ...time.Duration) (dto.IRepoEntity, error)
- func (m *MockICacheDataSource) GetListItem(ctx context.Context, e dto.IRepoEntity, sq *domain.SearchQuery, ...) (*dto.List, error)
- func (m *MockICacheDataSource) GetListKeys(ctx context.Context, e dto.IRepoEntity) ([]string, error)
- func (m *MockICacheDataSource) Set(ctx context.Context, e dto.IRepoEntity, ttl ...time.Duration) (dto.IRepoEntity, error)
- func (m *MockICacheDataSource) SetListItem(ctx context.Context, e []dto.IRepoEntity, sq *domain.SearchQuery, count int64, ...) error
- type MockICacheDataSourceMockRecorder
- func (mr *MockICacheDataSourceMockRecorder) Delete(ctx, e interface{}) *gomock.Call
- func (mr *MockICacheDataSourceMockRecorder) DeleteListKeys(ctx, e interface{}) *gomock.Call
- func (mr *MockICacheDataSourceMockRecorder) DeleteWithKey(ctx, key interface{}) *gomock.Call
- func (mr *MockICacheDataSourceMockRecorder) Get(ctx, e interface{}, ttl ...interface{}) *gomock.Call
- func (mr *MockICacheDataSourceMockRecorder) GetListItem(ctx, e, sq interface{}, ttl ...interface{}) *gomock.Call
- func (mr *MockICacheDataSourceMockRecorder) GetListKeys(ctx, e interface{}) *gomock.Call
- func (mr *MockICacheDataSourceMockRecorder) Set(ctx, e interface{}, ttl ...interface{}) *gomock.Call
- func (mr *MockICacheDataSourceMockRecorder) SetListItem(ctx, e, sq, count interface{}, ttl ...interface{}) *gomock.Call
- type MockICacheUpdateRepository
- type MockICacheUpdateRepositoryMockRecorder
- type MockIDataSource
- func (m *MockIDataSource) Create(arg0 context.Context, arg1 dto.IRepoEntity) (dto.IRepoEntity, error)
- func (m *MockIDataSource) CreateTx(arg0 context.Context, arg1 dto.IRepoEntity, arg2 domain.ITransactionEvent) (dto.IRepoEntity, error)
- func (m *MockIDataSource) Delete(arg0 context.Context, arg1 dto.IRepoEntity) (dto.IRepoEntity, error)
- func (m *MockIDataSource) DeleteTx(arg0 context.Context, arg1 dto.IRepoEntity, arg2 domain.ITransactionEvent) (dto.IRepoEntity, error)
- func (m *MockIDataSource) EXPECT() *MockIDataSourceMockRecorder
- func (m *MockIDataSource) GetAll(arg0 context.Context, arg1 *domain.SearchQuery, arg2 dto.IRepoEntity) (*dto.List, error)
- func (m *MockIDataSource) GetByID(arg0 context.Context, arg1 dto.IRepoEntity) (dto.IRepoEntity, error)
- func (m *MockIDataSource) Update(arg0 context.Context, arg1 dto.IRepoEntity) (dto.IRepoEntity, error)
- func (m *MockIDataSource) UpdateTx(arg0 context.Context, arg1 dto.IRepoEntity, arg2 domain.ITransactionEvent) (dto.IRepoEntity, error)
- func (m *MockIDataSource) UpdateWithFields(arg0 context.Context, arg1 dto.IRepoEntity, arg2 []string) (dto.IRepoEntity, error)
- func (m *MockIDataSource) UpdateWithFieldsTx(arg0 context.Context, arg1 dto.IRepoEntity, arg2 []string, ...) (dto.IRepoEntity, error)
- type MockIDataSourceMockRecorder
- func (mr *MockIDataSourceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIDataSourceMockRecorder) CreateTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIDataSourceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIDataSourceMockRecorder) DeleteTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIDataSourceMockRecorder) GetAll(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIDataSourceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIDataSourceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIDataSourceMockRecorder) UpdateTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIDataSourceMockRecorder) UpdateWithFields(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIDataSourceMockRecorder) UpdateWithFieldsTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockIRelationDataSource
- func (m *MockIRelationDataSource) AppendAssociation(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, ...) error
- func (m *MockIRelationDataSource) AppendAssociationTx(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, ...) error
- func (m *MockIRelationDataSource) Create(arg0 context.Context, arg1 dto.IRepoEntity) (dto.IRepoEntity, error)
- func (m *MockIRelationDataSource) CreateTx(arg0 context.Context, arg1 dto.IRepoEntity, arg2 domain.ITransactionEvent) (dto.IRepoEntity, error)
- func (m *MockIRelationDataSource) Delete(arg0 context.Context, arg1 dto.IRepoEntity) (dto.IRepoEntity, error)
- func (m *MockIRelationDataSource) DeleteTx(arg0 context.Context, arg1 dto.IRepoEntity, arg2 domain.ITransactionEvent) (dto.IRepoEntity, error)
- func (m *MockIRelationDataSource) EXPECT() *MockIRelationDataSourceMockRecorder
- func (m *MockIRelationDataSource) GetAll(arg0 context.Context, arg1 *domain.SearchQuery, arg2 dto.IRepoEntity) (*dto.List, error)
- func (m *MockIRelationDataSource) GetAssociationCount(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity) (int64, error)
- func (m *MockIRelationDataSource) GetByID(arg0 context.Context, arg1 dto.IRepoEntity) (dto.IRepoEntity, error)
- func (m *MockIRelationDataSource) RemoveAssociation(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, ...) error
- func (m *MockIRelationDataSource) RemoveAssociationTx(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, ...) error
- func (m *MockIRelationDataSource) ReplaceAssociation(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, ...) error
- func (m *MockIRelationDataSource) ReplaceAssociationTx(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, ...) error
- func (m *MockIRelationDataSource) Update(arg0 context.Context, arg1 dto.IRepoEntity) (dto.IRepoEntity, error)
- func (m *MockIRelationDataSource) UpdateTx(arg0 context.Context, arg1 dto.IRepoEntity, arg2 domain.ITransactionEvent) (dto.IRepoEntity, error)
- func (m *MockIRelationDataSource) UpdateWithFields(arg0 context.Context, arg1 dto.IRepoEntity, arg2 []string) (dto.IRepoEntity, error)
- func (m *MockIRelationDataSource) UpdateWithFieldsTx(arg0 context.Context, arg1 dto.IRepoEntity, arg2 []string, ...) (dto.IRepoEntity, error)
- type MockIRelationDataSourceMockRecorder
- func (mr *MockIRelationDataSourceMockRecorder) AppendAssociation(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockIRelationDataSourceMockRecorder) AppendAssociationTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockIRelationDataSourceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIRelationDataSourceMockRecorder) CreateTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIRelationDataSourceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIRelationDataSourceMockRecorder) DeleteTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIRelationDataSourceMockRecorder) GetAll(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIRelationDataSourceMockRecorder) GetAssociationCount(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIRelationDataSourceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIRelationDataSourceMockRecorder) RemoveAssociation(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockIRelationDataSourceMockRecorder) RemoveAssociationTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockIRelationDataSourceMockRecorder) ReplaceAssociation(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockIRelationDataSourceMockRecorder) ReplaceAssociationTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockIRelationDataSourceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIRelationDataSourceMockRecorder) UpdateTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIRelationDataSourceMockRecorder) UpdateWithFields(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIRelationDataSourceMockRecorder) UpdateWithFieldsTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockITransactionEvent
- type MockITransactionEventMockRecorder
- type MockITransactionRepo
- type MockITransactionRepoMockRecorder
- type MockITransactionRun
- type MockITransactionRunMockRecorder
- type MockProducer
- type MockProducerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEventStore ¶
type MockEventStore struct {
// contains filtered or unexported fields
}
MockEventStore is a mock of EventStore interface.
func NewMockEventStore ¶
func NewMockEventStore(ctrl *gomock.Controller) *MockEventStore
NewMockEventStore creates a new mock instance.
func (*MockEventStore) EXPECT ¶
func (m *MockEventStore) EXPECT() *MockEventStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventStore) Load ¶
func (m *MockEventStore) Load(ctx context.Context, aggregateID string, version int) ([]event.DomainEvent, error)
Load mocks base method.
func (*MockEventStore) SafeStore ¶
func (m *MockEventStore) SafeStore(ctx context.Context, events []event.DomainEvent, expectedVersion int) error
SafeStore mocks base method.
func (*MockEventStore) Store ¶
func (m *MockEventStore) Store(ctx context.Context, events []event.DomainEvent, version int) error
Store mocks base method.
type MockEventStoreMockRecorder ¶
type MockEventStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockEventStoreMockRecorder is the mock recorder for MockEventStore.
func (*MockEventStoreMockRecorder) Load ¶
func (mr *MockEventStoreMockRecorder) Load(ctx, aggregateID, version interface{}) *gomock.Call
Load indicates an expected call of Load.
func (*MockEventStoreMockRecorder) SafeStore ¶
func (mr *MockEventStoreMockRecorder) SafeStore(ctx, events, expectedVersion interface{}) *gomock.Call
SafeStore indicates an expected call of SafeStore.
func (*MockEventStoreMockRecorder) Store ¶
func (mr *MockEventStoreMockRecorder) Store(ctx, events, version interface{}) *gomock.Call
Store indicates an expected call of Store.
type MockIAssociationDataSource ¶
type MockIAssociationDataSource struct {
// contains filtered or unexported fields
}
MockIAssociationDataSource is a mock of IAssociationDataSource interface.
func NewMockIAssociationDataSource ¶
func NewMockIAssociationDataSource(ctrl *gomock.Controller) *MockIAssociationDataSource
NewMockIAssociationDataSource creates a new mock instance.
func (*MockIAssociationDataSource) AppendAssociation ¶
func (m *MockIAssociationDataSource) AppendAssociation(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, arg3 []dto.IRepoEntity) error
AppendAssociation mocks base method.
func (*MockIAssociationDataSource) AppendAssociationTx ¶
func (m *MockIAssociationDataSource) AppendAssociationTx(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, arg3 []dto.IRepoEntity, arg4 domain.ITransactionEvent) error
AppendAssociationTx mocks base method.
func (*MockIAssociationDataSource) EXPECT ¶
func (m *MockIAssociationDataSource) EXPECT() *MockIAssociationDataSourceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIAssociationDataSource) GetAssociationCount ¶
func (m *MockIAssociationDataSource) GetAssociationCount(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity) (int64, error)
GetAssociationCount mocks base method.
func (*MockIAssociationDataSource) RemoveAssociation ¶
func (m *MockIAssociationDataSource) RemoveAssociation(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, arg3 []dto.IRepoEntity) error
RemoveAssociation mocks base method.
func (*MockIAssociationDataSource) RemoveAssociationTx ¶
func (m *MockIAssociationDataSource) RemoveAssociationTx(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, arg3 []dto.IRepoEntity, arg4 domain.ITransactionEvent) error
RemoveAssociationTx mocks base method.
func (*MockIAssociationDataSource) ReplaceAssociation ¶
func (m *MockIAssociationDataSource) ReplaceAssociation(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, arg3 []dto.IRepoEntity) error
ReplaceAssociation mocks base method.
func (*MockIAssociationDataSource) ReplaceAssociationTx ¶
func (m *MockIAssociationDataSource) ReplaceAssociationTx(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, arg3 []dto.IRepoEntity, arg4 domain.ITransactionEvent) error
ReplaceAssociationTx mocks base method.
type MockIAssociationDataSourceMockRecorder ¶
type MockIAssociationDataSourceMockRecorder struct {
// contains filtered or unexported fields
}
MockIAssociationDataSourceMockRecorder is the mock recorder for MockIAssociationDataSource.
func (*MockIAssociationDataSourceMockRecorder) AppendAssociation ¶
func (mr *MockIAssociationDataSourceMockRecorder) AppendAssociation(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AppendAssociation indicates an expected call of AppendAssociation.
func (*MockIAssociationDataSourceMockRecorder) AppendAssociationTx ¶
func (mr *MockIAssociationDataSourceMockRecorder) AppendAssociationTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AppendAssociationTx indicates an expected call of AppendAssociationTx.
func (*MockIAssociationDataSourceMockRecorder) GetAssociationCount ¶
func (mr *MockIAssociationDataSourceMockRecorder) GetAssociationCount(arg0, arg1, arg2 interface{}) *gomock.Call
GetAssociationCount indicates an expected call of GetAssociationCount.
func (*MockIAssociationDataSourceMockRecorder) RemoveAssociation ¶
func (mr *MockIAssociationDataSourceMockRecorder) RemoveAssociation(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
RemoveAssociation indicates an expected call of RemoveAssociation.
func (*MockIAssociationDataSourceMockRecorder) RemoveAssociationTx ¶
func (mr *MockIAssociationDataSourceMockRecorder) RemoveAssociationTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
RemoveAssociationTx indicates an expected call of RemoveAssociationTx.
func (*MockIAssociationDataSourceMockRecorder) ReplaceAssociation ¶
func (mr *MockIAssociationDataSourceMockRecorder) ReplaceAssociation(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ReplaceAssociation indicates an expected call of ReplaceAssociation.
func (*MockIAssociationDataSourceMockRecorder) ReplaceAssociationTx ¶
func (mr *MockIAssociationDataSourceMockRecorder) ReplaceAssociationTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ReplaceAssociationTx indicates an expected call of ReplaceAssociationTx.
type MockICRUDRepository ¶
type MockICRUDRepository struct {
// contains filtered or unexported fields
}
MockICRUDRepository is a mock of ICRUDRepository interface.
func NewMockICRUDRepository ¶
func NewMockICRUDRepository(ctrl *gomock.Controller) *MockICRUDRepository
NewMockICRUDRepository creates a new mock instance.
func (*MockICRUDRepository) CreateTx ¶
func (m *MockICRUDRepository) CreateTx(arg0 context.Context, arg1 domain.IEntity, arg2 domain.ITransactionEvent) (domain.IEntity, error)
CreateTx mocks base method.
func (*MockICRUDRepository) DeleteTx ¶
func (m *MockICRUDRepository) DeleteTx(arg0 context.Context, arg1 domain.IEntity, arg2 domain.ITransactionEvent) (domain.IEntity, error)
DeleteTx mocks base method.
func (*MockICRUDRepository) EXPECT ¶
func (m *MockICRUDRepository) EXPECT() *MockICRUDRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockICRUDRepository) GetAll ¶
func (m *MockICRUDRepository) GetAll(ctx context.Context, sq *domain.SearchQuery, e domain.IEntity) (*domain.List, error)
GetAll mocks base method.
func (*MockICRUDRepository) GetByID ¶
func (m *MockICRUDRepository) GetByID(ctx context.Context, e domain.IEntity) (domain.IEntity, error)
GetByID mocks base method.
func (*MockICRUDRepository) UpdateTx ¶
func (m *MockICRUDRepository) UpdateTx(arg0 context.Context, arg1 domain.IEntity, arg2 domain.ITransactionEvent) (domain.IEntity, error)
UpdateTx mocks base method.
func (*MockICRUDRepository) UpdateWithFields ¶
func (m *MockICRUDRepository) UpdateWithFields(ctx context.Context, e domain.IEntity, keys []string) (domain.IEntity, error)
UpdateWithFields mocks base method.
func (*MockICRUDRepository) UpdateWithFieldsTx ¶
func (m *MockICRUDRepository) UpdateWithFieldsTx(arg0 context.Context, arg1 domain.IEntity, arg2 []string, arg3 domain.ITransactionEvent) (domain.IEntity, error)
UpdateWithFieldsTx mocks base method.
type MockICRUDRepositoryMockRecorder ¶
type MockICRUDRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockICRUDRepositoryMockRecorder is the mock recorder for MockICRUDRepository.
func (*MockICRUDRepositoryMockRecorder) Create ¶
func (mr *MockICRUDRepositoryMockRecorder) Create(ctx, e interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockICRUDRepositoryMockRecorder) CreateTx ¶
func (mr *MockICRUDRepositoryMockRecorder) CreateTx(arg0, arg1, arg2 interface{}) *gomock.Call
CreateTx indicates an expected call of CreateTx.
func (*MockICRUDRepositoryMockRecorder) Delete ¶
func (mr *MockICRUDRepositoryMockRecorder) Delete(ctx, e interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockICRUDRepositoryMockRecorder) DeleteTx ¶
func (mr *MockICRUDRepositoryMockRecorder) DeleteTx(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteTx indicates an expected call of DeleteTx.
func (*MockICRUDRepositoryMockRecorder) GetAll ¶
func (mr *MockICRUDRepositoryMockRecorder) GetAll(ctx, sq, e interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockICRUDRepositoryMockRecorder) GetByID ¶
func (mr *MockICRUDRepositoryMockRecorder) GetByID(ctx, e interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockICRUDRepositoryMockRecorder) Update ¶
func (mr *MockICRUDRepositoryMockRecorder) Update(ctx, e interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockICRUDRepositoryMockRecorder) UpdateTx ¶
func (mr *MockICRUDRepositoryMockRecorder) UpdateTx(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateTx indicates an expected call of UpdateTx.
func (*MockICRUDRepositoryMockRecorder) UpdateWithFields ¶
func (mr *MockICRUDRepositoryMockRecorder) UpdateWithFields(ctx, e, keys interface{}) *gomock.Call
UpdateWithFields indicates an expected call of UpdateWithFields.
func (*MockICRUDRepositoryMockRecorder) UpdateWithFieldsTx ¶
func (mr *MockICRUDRepositoryMockRecorder) UpdateWithFieldsTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateWithFieldsTx indicates an expected call of UpdateWithFieldsTx.
type MockICacheDataSource ¶
type MockICacheDataSource struct {
// contains filtered or unexported fields
}
MockICacheDataSource is a mock of ICacheDataSource interface.
func NewMockICacheDataSource ¶
func NewMockICacheDataSource(ctrl *gomock.Controller) *MockICacheDataSource
NewMockICacheDataSource creates a new mock instance.
func (*MockICacheDataSource) Delete ¶
func (m *MockICacheDataSource) Delete(ctx context.Context, e dto.IRepoEntity) error
Delete mocks base method.
func (*MockICacheDataSource) DeleteListKeys ¶
func (m *MockICacheDataSource) DeleteListKeys(ctx context.Context, e dto.IRepoEntity) error
DeleteListKeys mocks base method.
func (*MockICacheDataSource) DeleteWithKey ¶
func (m *MockICacheDataSource) DeleteWithKey(ctx context.Context, key string) error
DeleteWithKey mocks base method.
func (*MockICacheDataSource) EXPECT ¶
func (m *MockICacheDataSource) EXPECT() *MockICacheDataSourceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockICacheDataSource) Get ¶
func (m *MockICacheDataSource) Get(ctx context.Context, e dto.IRepoEntity, ttl ...time.Duration) (dto.IRepoEntity, error)
Get mocks base method.
func (*MockICacheDataSource) GetListItem ¶
func (m *MockICacheDataSource) GetListItem(ctx context.Context, e dto.IRepoEntity, sq *domain.SearchQuery, ttl ...time.Duration) (*dto.List, error)
GetListItem mocks base method.
func (*MockICacheDataSource) GetListKeys ¶
func (m *MockICacheDataSource) GetListKeys(ctx context.Context, e dto.IRepoEntity) ([]string, error)
GetListKeys mocks base method.
func (*MockICacheDataSource) Set ¶
func (m *MockICacheDataSource) Set(ctx context.Context, e dto.IRepoEntity, ttl ...time.Duration) (dto.IRepoEntity, error)
Set mocks base method.
func (*MockICacheDataSource) SetListItem ¶
func (m *MockICacheDataSource) SetListItem(ctx context.Context, e []dto.IRepoEntity, sq *domain.SearchQuery, count int64, ttl ...time.Duration) error
SetListItem mocks base method.
type MockICacheDataSourceMockRecorder ¶
type MockICacheDataSourceMockRecorder struct {
// contains filtered or unexported fields
}
MockICacheDataSourceMockRecorder is the mock recorder for MockICacheDataSource.
func (*MockICacheDataSourceMockRecorder) Delete ¶
func (mr *MockICacheDataSourceMockRecorder) Delete(ctx, e interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockICacheDataSourceMockRecorder) DeleteListKeys ¶
func (mr *MockICacheDataSourceMockRecorder) DeleteListKeys(ctx, e interface{}) *gomock.Call
DeleteListKeys indicates an expected call of DeleteListKeys.
func (*MockICacheDataSourceMockRecorder) DeleteWithKey ¶
func (mr *MockICacheDataSourceMockRecorder) DeleteWithKey(ctx, key interface{}) *gomock.Call
DeleteWithKey indicates an expected call of DeleteWithKey.
func (*MockICacheDataSourceMockRecorder) Get ¶
func (mr *MockICacheDataSourceMockRecorder) Get(ctx, e interface{}, ttl ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockICacheDataSourceMockRecorder) GetListItem ¶
func (mr *MockICacheDataSourceMockRecorder) GetListItem(ctx, e, sq interface{}, ttl ...interface{}) *gomock.Call
GetListItem indicates an expected call of GetListItem.
func (*MockICacheDataSourceMockRecorder) GetListKeys ¶
func (mr *MockICacheDataSourceMockRecorder) GetListKeys(ctx, e interface{}) *gomock.Call
GetListKeys indicates an expected call of GetListKeys.
func (*MockICacheDataSourceMockRecorder) Set ¶
func (mr *MockICacheDataSourceMockRecorder) Set(ctx, e interface{}, ttl ...interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockICacheDataSourceMockRecorder) SetListItem ¶
func (mr *MockICacheDataSourceMockRecorder) SetListItem(ctx, e, sq, count interface{}, ttl ...interface{}) *gomock.Call
SetListItem indicates an expected call of SetListItem.
type MockICacheUpdateRepository ¶
type MockICacheUpdateRepository struct {
// contains filtered or unexported fields
}
MockICacheUpdateRepository is a mock of ICacheUpdateRepository interface.
func NewMockICacheUpdateRepository ¶
func NewMockICacheUpdateRepository(ctrl *gomock.Controller) *MockICacheUpdateRepository
NewMockICacheUpdateRepository creates a new mock instance.
func (*MockICacheUpdateRepository) EXPECT ¶
func (m *MockICacheUpdateRepository) EXPECT() *MockICacheUpdateRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockICacheUpdateRepositoryMockRecorder ¶
type MockICacheUpdateRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockICacheUpdateRepositoryMockRecorder is the mock recorder for MockICacheUpdateRepository.
func (*MockICacheUpdateRepositoryMockRecorder) Delete ¶
func (mr *MockICacheUpdateRepositoryMockRecorder) Delete(ctx, e interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockICacheUpdateRepositoryMockRecorder) Save ¶
func (mr *MockICacheUpdateRepositoryMockRecorder) Save(ctx, e interface{}) *gomock.Call
Save indicates an expected call of Save.
type MockIDataSource ¶
type MockIDataSource struct {
// contains filtered or unexported fields
}
MockIDataSource is a mock of IDataSource interface.
func NewMockIDataSource ¶
func NewMockIDataSource(ctrl *gomock.Controller) *MockIDataSource
NewMockIDataSource creates a new mock instance.
func (*MockIDataSource) Create ¶
func (m *MockIDataSource) Create(arg0 context.Context, arg1 dto.IRepoEntity) (dto.IRepoEntity, error)
Create mocks base method.
func (*MockIDataSource) CreateTx ¶
func (m *MockIDataSource) CreateTx(arg0 context.Context, arg1 dto.IRepoEntity, arg2 domain.ITransactionEvent) (dto.IRepoEntity, error)
CreateTx mocks base method.
func (*MockIDataSource) Delete ¶
func (m *MockIDataSource) Delete(arg0 context.Context, arg1 dto.IRepoEntity) (dto.IRepoEntity, error)
Delete mocks base method.
func (*MockIDataSource) DeleteTx ¶
func (m *MockIDataSource) DeleteTx(arg0 context.Context, arg1 dto.IRepoEntity, arg2 domain.ITransactionEvent) (dto.IRepoEntity, error)
DeleteTx mocks base method.
func (*MockIDataSource) EXPECT ¶
func (m *MockIDataSource) EXPECT() *MockIDataSourceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIDataSource) GetAll ¶
func (m *MockIDataSource) GetAll(arg0 context.Context, arg1 *domain.SearchQuery, arg2 dto.IRepoEntity) (*dto.List, error)
GetAll mocks base method.
func (*MockIDataSource) GetByID ¶
func (m *MockIDataSource) GetByID(arg0 context.Context, arg1 dto.IRepoEntity) (dto.IRepoEntity, error)
GetByID mocks base method.
func (*MockIDataSource) Update ¶
func (m *MockIDataSource) Update(arg0 context.Context, arg1 dto.IRepoEntity) (dto.IRepoEntity, error)
Update mocks base method.
func (*MockIDataSource) UpdateTx ¶
func (m *MockIDataSource) UpdateTx(arg0 context.Context, arg1 dto.IRepoEntity, arg2 domain.ITransactionEvent) (dto.IRepoEntity, error)
UpdateTx mocks base method.
func (*MockIDataSource) UpdateWithFields ¶
func (m *MockIDataSource) UpdateWithFields(arg0 context.Context, arg1 dto.IRepoEntity, arg2 []string) (dto.IRepoEntity, error)
UpdateWithFields mocks base method.
func (*MockIDataSource) UpdateWithFieldsTx ¶
func (m *MockIDataSource) UpdateWithFieldsTx(arg0 context.Context, arg1 dto.IRepoEntity, arg2 []string, arg3 domain.ITransactionEvent) (dto.IRepoEntity, error)
UpdateWithFieldsTx mocks base method.
type MockIDataSourceMockRecorder ¶
type MockIDataSourceMockRecorder struct {
// contains filtered or unexported fields
}
MockIDataSourceMockRecorder is the mock recorder for MockIDataSource.
func (*MockIDataSourceMockRecorder) Create ¶
func (mr *MockIDataSourceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockIDataSourceMockRecorder) CreateTx ¶
func (mr *MockIDataSourceMockRecorder) CreateTx(arg0, arg1, arg2 interface{}) *gomock.Call
CreateTx indicates an expected call of CreateTx.
func (*MockIDataSourceMockRecorder) Delete ¶
func (mr *MockIDataSourceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockIDataSourceMockRecorder) DeleteTx ¶
func (mr *MockIDataSourceMockRecorder) DeleteTx(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteTx indicates an expected call of DeleteTx.
func (*MockIDataSourceMockRecorder) GetAll ¶
func (mr *MockIDataSourceMockRecorder) GetAll(arg0, arg1, arg2 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockIDataSourceMockRecorder) GetByID ¶
func (mr *MockIDataSourceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockIDataSourceMockRecorder) Update ¶
func (mr *MockIDataSourceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockIDataSourceMockRecorder) UpdateTx ¶
func (mr *MockIDataSourceMockRecorder) UpdateTx(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateTx indicates an expected call of UpdateTx.
func (*MockIDataSourceMockRecorder) UpdateWithFields ¶
func (mr *MockIDataSourceMockRecorder) UpdateWithFields(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateWithFields indicates an expected call of UpdateWithFields.
func (*MockIDataSourceMockRecorder) UpdateWithFieldsTx ¶
func (mr *MockIDataSourceMockRecorder) UpdateWithFieldsTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateWithFieldsTx indicates an expected call of UpdateWithFieldsTx.
type MockIRelationDataSource ¶
type MockIRelationDataSource struct {
// contains filtered or unexported fields
}
MockIRelationDataSource is a mock of IRelationDataSource interface.
func NewMockIRelationDataSource ¶
func NewMockIRelationDataSource(ctrl *gomock.Controller) *MockIRelationDataSource
NewMockIRelationDataSource creates a new mock instance.
func (*MockIRelationDataSource) AppendAssociation ¶
func (m *MockIRelationDataSource) AppendAssociation(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, arg3 []dto.IRepoEntity) error
AppendAssociation mocks base method.
func (*MockIRelationDataSource) AppendAssociationTx ¶
func (m *MockIRelationDataSource) AppendAssociationTx(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, arg3 []dto.IRepoEntity, arg4 domain.ITransactionEvent) error
AppendAssociationTx mocks base method.
func (*MockIRelationDataSource) Create ¶
func (m *MockIRelationDataSource) Create(arg0 context.Context, arg1 dto.IRepoEntity) (dto.IRepoEntity, error)
Create mocks base method.
func (*MockIRelationDataSource) CreateTx ¶
func (m *MockIRelationDataSource) CreateTx(arg0 context.Context, arg1 dto.IRepoEntity, arg2 domain.ITransactionEvent) (dto.IRepoEntity, error)
CreateTx mocks base method.
func (*MockIRelationDataSource) Delete ¶
func (m *MockIRelationDataSource) Delete(arg0 context.Context, arg1 dto.IRepoEntity) (dto.IRepoEntity, error)
Delete mocks base method.
func (*MockIRelationDataSource) DeleteTx ¶
func (m *MockIRelationDataSource) DeleteTx(arg0 context.Context, arg1 dto.IRepoEntity, arg2 domain.ITransactionEvent) (dto.IRepoEntity, error)
DeleteTx mocks base method.
func (*MockIRelationDataSource) EXPECT ¶
func (m *MockIRelationDataSource) EXPECT() *MockIRelationDataSourceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIRelationDataSource) GetAll ¶
func (m *MockIRelationDataSource) GetAll(arg0 context.Context, arg1 *domain.SearchQuery, arg2 dto.IRepoEntity) (*dto.List, error)
GetAll mocks base method.
func (*MockIRelationDataSource) GetAssociationCount ¶
func (m *MockIRelationDataSource) GetAssociationCount(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity) (int64, error)
GetAssociationCount mocks base method.
func (*MockIRelationDataSource) GetByID ¶
func (m *MockIRelationDataSource) GetByID(arg0 context.Context, arg1 dto.IRepoEntity) (dto.IRepoEntity, error)
GetByID mocks base method.
func (*MockIRelationDataSource) RemoveAssociation ¶
func (m *MockIRelationDataSource) RemoveAssociation(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, arg3 []dto.IRepoEntity) error
RemoveAssociation mocks base method.
func (*MockIRelationDataSource) RemoveAssociationTx ¶
func (m *MockIRelationDataSource) RemoveAssociationTx(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, arg3 []dto.IRepoEntity, arg4 domain.ITransactionEvent) error
RemoveAssociationTx mocks base method.
func (*MockIRelationDataSource) ReplaceAssociation ¶
func (m *MockIRelationDataSource) ReplaceAssociation(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, arg3 []dto.IRepoEntity) error
ReplaceAssociation mocks base method.
func (*MockIRelationDataSource) ReplaceAssociationTx ¶
func (m *MockIRelationDataSource) ReplaceAssociationTx(arg0 context.Context, arg1 string, arg2 dto.IRepoEntity, arg3 []dto.IRepoEntity, arg4 domain.ITransactionEvent) error
ReplaceAssociationTx mocks base method.
func (*MockIRelationDataSource) Update ¶
func (m *MockIRelationDataSource) Update(arg0 context.Context, arg1 dto.IRepoEntity) (dto.IRepoEntity, error)
Update mocks base method.
func (*MockIRelationDataSource) UpdateTx ¶
func (m *MockIRelationDataSource) UpdateTx(arg0 context.Context, arg1 dto.IRepoEntity, arg2 domain.ITransactionEvent) (dto.IRepoEntity, error)
UpdateTx mocks base method.
func (*MockIRelationDataSource) UpdateWithFields ¶
func (m *MockIRelationDataSource) UpdateWithFields(arg0 context.Context, arg1 dto.IRepoEntity, arg2 []string) (dto.IRepoEntity, error)
UpdateWithFields mocks base method.
func (*MockIRelationDataSource) UpdateWithFieldsTx ¶
func (m *MockIRelationDataSource) UpdateWithFieldsTx(arg0 context.Context, arg1 dto.IRepoEntity, arg2 []string, arg3 domain.ITransactionEvent) (dto.IRepoEntity, error)
UpdateWithFieldsTx mocks base method.
type MockIRelationDataSourceMockRecorder ¶
type MockIRelationDataSourceMockRecorder struct {
// contains filtered or unexported fields
}
MockIRelationDataSourceMockRecorder is the mock recorder for MockIRelationDataSource.
func (*MockIRelationDataSourceMockRecorder) AppendAssociation ¶
func (mr *MockIRelationDataSourceMockRecorder) AppendAssociation(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AppendAssociation indicates an expected call of AppendAssociation.
func (*MockIRelationDataSourceMockRecorder) AppendAssociationTx ¶
func (mr *MockIRelationDataSourceMockRecorder) AppendAssociationTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
AppendAssociationTx indicates an expected call of AppendAssociationTx.
func (*MockIRelationDataSourceMockRecorder) Create ¶
func (mr *MockIRelationDataSourceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockIRelationDataSourceMockRecorder) CreateTx ¶
func (mr *MockIRelationDataSourceMockRecorder) CreateTx(arg0, arg1, arg2 interface{}) *gomock.Call
CreateTx indicates an expected call of CreateTx.
func (*MockIRelationDataSourceMockRecorder) Delete ¶
func (mr *MockIRelationDataSourceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockIRelationDataSourceMockRecorder) DeleteTx ¶
func (mr *MockIRelationDataSourceMockRecorder) DeleteTx(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteTx indicates an expected call of DeleteTx.
func (*MockIRelationDataSourceMockRecorder) GetAll ¶
func (mr *MockIRelationDataSourceMockRecorder) GetAll(arg0, arg1, arg2 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockIRelationDataSourceMockRecorder) GetAssociationCount ¶
func (mr *MockIRelationDataSourceMockRecorder) GetAssociationCount(arg0, arg1, arg2 interface{}) *gomock.Call
GetAssociationCount indicates an expected call of GetAssociationCount.
func (*MockIRelationDataSourceMockRecorder) GetByID ¶
func (mr *MockIRelationDataSourceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockIRelationDataSourceMockRecorder) RemoveAssociation ¶
func (mr *MockIRelationDataSourceMockRecorder) RemoveAssociation(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
RemoveAssociation indicates an expected call of RemoveAssociation.
func (*MockIRelationDataSourceMockRecorder) RemoveAssociationTx ¶
func (mr *MockIRelationDataSourceMockRecorder) RemoveAssociationTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
RemoveAssociationTx indicates an expected call of RemoveAssociationTx.
func (*MockIRelationDataSourceMockRecorder) ReplaceAssociation ¶
func (mr *MockIRelationDataSourceMockRecorder) ReplaceAssociation(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ReplaceAssociation indicates an expected call of ReplaceAssociation.
func (*MockIRelationDataSourceMockRecorder) ReplaceAssociationTx ¶
func (mr *MockIRelationDataSourceMockRecorder) ReplaceAssociationTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ReplaceAssociationTx indicates an expected call of ReplaceAssociationTx.
func (*MockIRelationDataSourceMockRecorder) Update ¶
func (mr *MockIRelationDataSourceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockIRelationDataSourceMockRecorder) UpdateTx ¶
func (mr *MockIRelationDataSourceMockRecorder) UpdateTx(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateTx indicates an expected call of UpdateTx.
func (*MockIRelationDataSourceMockRecorder) UpdateWithFields ¶
func (mr *MockIRelationDataSourceMockRecorder) UpdateWithFields(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateWithFields indicates an expected call of UpdateWithFields.
func (*MockIRelationDataSourceMockRecorder) UpdateWithFieldsTx ¶
func (mr *MockIRelationDataSourceMockRecorder) UpdateWithFieldsTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateWithFieldsTx indicates an expected call of UpdateWithFieldsTx.
type MockITransactionEvent ¶
type MockITransactionEvent struct {
// contains filtered or unexported fields
}
MockITransactionEvent is a mock of ITransactionEvent interface.
func NewMockITransactionEvent ¶
func NewMockITransactionEvent(ctrl *gomock.Controller) *MockITransactionEvent
NewMockITransactionEvent creates a new mock instance.
func (*MockITransactionEvent) EXPECT ¶
func (m *MockITransactionEvent) EXPECT() *MockITransactionEventMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockITransactionEvent) GetTx ¶
func (m *MockITransactionEvent) GetTx() interface{}
GetTx mocks base method.
type MockITransactionEventMockRecorder ¶
type MockITransactionEventMockRecorder struct {
// contains filtered or unexported fields
}
MockITransactionEventMockRecorder is the mock recorder for MockITransactionEvent.
func (*MockITransactionEventMockRecorder) GetTx ¶
func (mr *MockITransactionEventMockRecorder) GetTx() *gomock.Call
GetTx indicates an expected call of GetTx.
type MockITransactionRepo ¶
type MockITransactionRepo struct {
// contains filtered or unexported fields
}
MockITransactionRepo is a mock of ITransactionRepo interface.
func NewMockITransactionRepo ¶
func NewMockITransactionRepo(ctrl *gomock.Controller) *MockITransactionRepo
NewMockITransactionRepo creates a new mock instance.
func (*MockITransactionRepo) EXPECT ¶
func (m *MockITransactionRepo) EXPECT() *MockITransactionRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockITransactionRepo) RunTransaction ¶
func (m *MockITransactionRepo) RunTransaction(ctx context.Context, f domain.TransactionEventFunc) error
RunTransaction mocks base method.
type MockITransactionRepoMockRecorder ¶
type MockITransactionRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockITransactionRepoMockRecorder is the mock recorder for MockITransactionRepo.
func (*MockITransactionRepoMockRecorder) RunTransaction ¶
func (mr *MockITransactionRepoMockRecorder) RunTransaction(ctx, f interface{}) *gomock.Call
RunTransaction indicates an expected call of RunTransaction.
type MockITransactionRun ¶
type MockITransactionRun struct {
// contains filtered or unexported fields
}
MockITransactionRun is a mock of ITransactionRun interface.
func NewMockITransactionRun ¶
func NewMockITransactionRun(ctrl *gomock.Controller) *MockITransactionRun
NewMockITransactionRun creates a new mock instance.
func (*MockITransactionRun) EXPECT ¶
func (m *MockITransactionRun) EXPECT() *MockITransactionRunMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockITransactionRun) RunTransaction ¶
func (m *MockITransactionRun) RunTransaction(arg0 context.Context, arg1 domain.TransactionEventFunc) error
RunTransaction mocks base method.
type MockITransactionRunMockRecorder ¶
type MockITransactionRunMockRecorder struct {
// contains filtered or unexported fields
}
MockITransactionRunMockRecorder is the mock recorder for MockITransactionRun.
func (*MockITransactionRunMockRecorder) RunTransaction ¶
func (mr *MockITransactionRunMockRecorder) RunTransaction(arg0, arg1 interface{}) *gomock.Call
RunTransaction indicates an expected call of RunTransaction.
type MockProducer ¶
type MockProducer struct {
// contains filtered or unexported fields
}
MockProducer is a mock of Producer interface.
func NewMockProducer ¶
func NewMockProducer(ctrl *gomock.Controller) *MockProducer
NewMockProducer creates a new mock instance.
func (*MockProducer) EXPECT ¶
func (m *MockProducer) EXPECT() *MockProducerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProducer) PublishEvent ¶
func (m *MockProducer) PublishEvent(ctx context.Context, topic string, event interface{}) error
PublishEvent mocks base method.
type MockProducerMockRecorder ¶
type MockProducerMockRecorder struct {
// contains filtered or unexported fields
}
MockProducerMockRecorder is the mock recorder for MockProducer.
func (*MockProducerMockRecorder) Close ¶
func (mr *MockProducerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockProducerMockRecorder) PublishEvent ¶
func (mr *MockProducerMockRecorder) PublishEvent(ctx, topic, event interface{}) *gomock.Call
PublishEvent indicates an expected call of PublishEvent.