Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockRepository
- func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
- func (m *MockRepository) Filter(arg0 context.Context, arg1 models.Events, arg2 models.SearchQuery) error
- func (m *MockRepository) Health(arg0 context.Context) error
- func (m *MockRepository) LockAggregates(arg0 context.Context, arg1 ...models.Aggregate) error
- func (m *MockRepository) PushEvents(arg0 context.Context, arg1 ...models.Aggregate) error
- func (m *MockRepository) UnlockAggregates(arg0 context.Context, arg1 ...models.Aggregate) error
- func (m *MockRepository) ValidateLatestSequence(arg0 context.Context, arg1 ...models.Aggregate) error
- type MockRepositoryMockRecorder
- func (mr *MockRepositoryMockRecorder) Filter(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Health(arg0 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) LockAggregates(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) PushEvents(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) UnlockAggregates(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) ValidateLatestSequence(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepository ¶
type MockRepository struct {
// contains filtered or unexported fields
}
MockRepository is a mock of Repository interface
func NewMockRepository ¶
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
NewMockRepository creates a new mock instance
func (*MockRepository) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRepository) Filter ¶
func (m *MockRepository) Filter(arg0 context.Context, arg1 models.Events, arg2 models.SearchQuery) error
Filter mocks base method
func (*MockRepository) Health ¶
func (m *MockRepository) Health(arg0 context.Context) error
Health mocks base method
func (*MockRepository) LockAggregates ¶
LockAggregates mocks base method
func (*MockRepository) PushEvents ¶
PushEvents mocks base method
func (*MockRepository) UnlockAggregates ¶
UnlockAggregates mocks base method
func (*MockRepository) ValidateLatestSequence ¶
func (m *MockRepository) ValidateLatestSequence(arg0 context.Context, arg1 ...models.Aggregate) error
ValidateLatestSequence mocks base method
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository
func (*MockRepositoryMockRecorder) Filter ¶
func (mr *MockRepositoryMockRecorder) Filter(arg0, arg1, arg2 interface{}) *gomock.Call
Filter indicates an expected call of Filter
func (*MockRepositoryMockRecorder) Health ¶
func (mr *MockRepositoryMockRecorder) Health(arg0 interface{}) *gomock.Call
Health indicates an expected call of Health
func (*MockRepositoryMockRecorder) LockAggregates ¶
func (mr *MockRepositoryMockRecorder) LockAggregates(arg0 interface{}, arg1 ...interface{}) *gomock.Call
LockAggregates indicates an expected call of LockAggregates
func (*MockRepositoryMockRecorder) PushEvents ¶
func (mr *MockRepositoryMockRecorder) PushEvents(arg0 interface{}, arg1 ...interface{}) *gomock.Call
PushEvents indicates an expected call of PushEvents
func (*MockRepositoryMockRecorder) UnlockAggregates ¶
func (mr *MockRepositoryMockRecorder) UnlockAggregates(arg0 interface{}, arg1 ...interface{}) *gomock.Call
UnlockAggregates indicates an expected call of UnlockAggregates
func (*MockRepositoryMockRecorder) ValidateLatestSequence ¶
func (mr *MockRepositoryMockRecorder) ValidateLatestSequence(arg0 interface{}, arg1 ...interface{}) *gomock.Call
ValidateLatestSequence indicates an expected call of ValidateLatestSequence