mocks

package
v0.0.0-...-eecab09 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 7 Imported by: 0

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

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

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

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) Create

Create mocks base method.

func (*MockICRUDRepository) CreateTx

CreateTx mocks base method.

func (*MockICRUDRepository) Delete

Delete mocks base method.

func (*MockICRUDRepository) DeleteTx

DeleteTx mocks base method.

func (*MockICRUDRepository) EXPECT

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

func (*MockICRUDRepository) GetAll

GetAll mocks base method.

func (*MockICRUDRepository) GetByID

GetByID mocks base method.

func (*MockICRUDRepository) Update

Update mocks base method.

func (*MockICRUDRepository) UpdateTx

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

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

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

func (*MockICacheDataSource) Get

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

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) Delete

Delete mocks base method.

func (*MockICacheUpdateRepository) EXPECT

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

func (*MockICacheUpdateRepository) Save

Save mocks base method.

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

Create mocks base method.

func (*MockIDataSource) CreateTx

CreateTx mocks base method.

func (*MockIDataSource) Delete

Delete mocks base method.

func (*MockIDataSource) DeleteTx

DeleteTx mocks base method.

func (*MockIDataSource) EXPECT

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

Update mocks base method.

func (*MockIDataSource) UpdateTx

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

Create mocks base method.

func (*MockIRelationDataSource) CreateTx

CreateTx mocks base method.

func (*MockIRelationDataSource) Delete

Delete mocks base method.

func (*MockIRelationDataSource) DeleteTx

DeleteTx mocks base method.

func (*MockIRelationDataSource) EXPECT

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

func (*MockIRelationDataSource) GetAll

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

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

Update mocks base method.

func (*MockIRelationDataSource) UpdateTx

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

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

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

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

func (*MockITransactionRepo) RunTransaction

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

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) Close

func (m *MockProducer) Close() error

Close mocks base method.

func (*MockProducer) EXPECT

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.

Directories

Path Synopsis
Package role is a generated GoMock package.
Package role is a generated GoMock package.
Package user is a generated GoMock package.
Package user is a generated GoMock package.

Jump to

Keyboard shortcuts

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