Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockAggregate
- type MockAggregateMockRecorder
- type MockEvent
- type MockEventMockRecorder
- type MockEvents
- func (e *MockEvents) Append(event models.Event)
- func (e *MockEvents) Get(index int) models.Event
- func (e *MockEvents) GetAll() []models.Event
- func (e *MockEvents) Insert(position int, event models.Event)
- func (e *MockEvents) Iterate(f func(event models.Event) error) error
- func (e *MockEvents) Len() int
- type MockFilter
- type MockFilterMockRecorder
- type MockSearchQuery
- type MockSearchQueryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAggregate ¶
type MockAggregate struct {
// contains filtered or unexported fields
}
MockAggregate is a mock of Aggregate interface
func NewMockAggregate ¶
func NewMockAggregate(ctrl *gomock.Controller) *MockAggregate
NewMockAggregate creates a new mock instance
func (*MockAggregate) EXPECT ¶
func (m *MockAggregate) EXPECT() *MockAggregateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAggregate) Events ¶
func (m *MockAggregate) Events() models.Events
Events mocks base method
func (*MockAggregate) LatestSequence ¶
func (m *MockAggregate) LatestSequence() uint64
LatestSequence mocks base method
type MockAggregateMockRecorder ¶
type MockAggregateMockRecorder struct {
// contains filtered or unexported fields
}
MockAggregateMockRecorder is the mock recorder for MockAggregate
func (*MockAggregateMockRecorder) Events ¶
func (mr *MockAggregateMockRecorder) Events() *gomock.Call
Events indicates an expected call of Events
func (*MockAggregateMockRecorder) ID ¶
func (mr *MockAggregateMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID
func (*MockAggregateMockRecorder) LatestSequence ¶
func (mr *MockAggregateMockRecorder) LatestSequence() *gomock.Call
LatestSequence indicates an expected call of LatestSequence
func (*MockAggregateMockRecorder) Type ¶
func (mr *MockAggregateMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type
type MockEvent ¶
type MockEvent struct {
// contains filtered or unexported fields
}
MockEvent is a mock of Event interface
func NewMockEvent ¶
func NewMockEvent(ctrl *gomock.Controller) *MockEvent
NewMockEvent creates a new mock instance
func (*MockEvent) EXPECT ¶
func (m *MockEvent) EXPECT() *MockEventMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockEventMockRecorder ¶
type MockEventMockRecorder struct {
// contains filtered or unexported fields
}
MockEventMockRecorder is the mock recorder for MockEvent
type MockEvents ¶
type MockEvents []*MockEvent
func (*MockEvents) Append ¶
func (e *MockEvents) Append(event models.Event)
func (*MockEvents) GetAll ¶
func (e *MockEvents) GetAll() []models.Event
func (*MockEvents) Len ¶
func (e *MockEvents) Len() int
type MockFilter ¶
type MockFilter struct {
// contains filtered or unexported fields
}
MockFilter is a mock of Filter interface
func NewMockFilter ¶
func NewMockFilter(ctrl *gomock.Controller) *MockFilter
NewMockFilter creates a new mock instance
func (*MockFilter) EXPECT ¶
func (m *MockFilter) EXPECT() *MockFilterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFilter) GetField ¶
func (m *MockFilter) GetField() models.Field
GetField mocks base method
func (*MockFilter) GetOperation ¶
func (m *MockFilter) GetOperation() models.Operation
GetOperation mocks base method
func (*MockFilter) GetValue ¶
func (m *MockFilter) GetValue() interface{}
GetValue mocks base method
type MockFilterMockRecorder ¶
type MockFilterMockRecorder struct {
// contains filtered or unexported fields
}
MockFilterMockRecorder is the mock recorder for MockFilter
func (*MockFilterMockRecorder) GetField ¶
func (mr *MockFilterMockRecorder) GetField() *gomock.Call
GetField indicates an expected call of GetField
func (*MockFilterMockRecorder) GetOperation ¶
func (mr *MockFilterMockRecorder) GetOperation() *gomock.Call
GetOperation indicates an expected call of GetOperation
func (*MockFilterMockRecorder) GetValue ¶
func (mr *MockFilterMockRecorder) GetValue() *gomock.Call
GetValue indicates an expected call of GetValue
type MockSearchQuery ¶
type MockSearchQuery struct {
// contains filtered or unexported fields
}
MockSearchQuery is a mock of SearchQuery interface
func NewMockSearchQuery ¶
func NewMockSearchQuery(ctrl *gomock.Controller) *MockSearchQuery
NewMockSearchQuery creates a new mock instance
func (*MockSearchQuery) EXPECT ¶
func (m *MockSearchQuery) EXPECT() *MockSearchQueryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSearchQuery) Filters ¶
func (m *MockSearchQuery) Filters() []models.Filter
Filters mocks base method
func (*MockSearchQuery) OrderDesc ¶
func (m *MockSearchQuery) OrderDesc() bool
OrderDesc mocks base method
type MockSearchQueryMockRecorder ¶
type MockSearchQueryMockRecorder struct {
// contains filtered or unexported fields
}
MockSearchQueryMockRecorder is the mock recorder for MockSearchQuery
func (*MockSearchQueryMockRecorder) Filters ¶
func (mr *MockSearchQueryMockRecorder) Filters() *gomock.Call
Filters indicates an expected call of Filters
func (*MockSearchQueryMockRecorder) Limit ¶
func (mr *MockSearchQueryMockRecorder) Limit() *gomock.Call
Limit indicates an expected call of Limit
func (*MockSearchQueryMockRecorder) OrderDesc ¶
func (mr *MockSearchQueryMockRecorder) OrderDesc() *gomock.Call
OrderDesc indicates an expected call of OrderDesc