Documentation
¶
Overview ¶
Package mock_event is a generated GoMock package.
Package mock_event is a generated GoMock package.
Package mock_event is a generated GoMock package.
Index ¶
- type MockBus
- type MockBusMockRecorder
- type MockEvent
- type MockEventMockRecorder
- type MockQuery
- func (m *MockQuery) AggregateIDs() []uuid.UUID
- func (m *MockQuery) AggregateNames() []string
- func (m *MockQuery) AggregateVersions() version.Constraints
- func (m *MockQuery) Aggregates() []event.AggregateTuple
- func (m *MockQuery) EXPECT() *MockQueryMockRecorder
- func (m *MockQuery) IDs() []uuid.UUID
- func (m *MockQuery) Names() []string
- func (m *MockQuery) Sortings() []event.SortOptions
- func (m *MockQuery) Times() time.Constraints
- type MockQueryMockRecorder
- func (mr *MockQueryMockRecorder) AggregateIDs() *gomock.Call
- func (mr *MockQueryMockRecorder) AggregateNames() *gomock.Call
- func (mr *MockQueryMockRecorder) AggregateVersions() *gomock.Call
- func (mr *MockQueryMockRecorder) Aggregates() *gomock.Call
- func (mr *MockQueryMockRecorder) IDs() *gomock.Call
- func (mr *MockQueryMockRecorder) Names() *gomock.Call
- func (mr *MockQueryMockRecorder) Sortings() *gomock.Call
- func (mr *MockQueryMockRecorder) Times() *gomock.Call
- type MockStore
- func (m *MockStore) Delete(arg0 context.Context, arg1 ...event.Event) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Find(arg0 context.Context, arg1 uuid.UUID) (event.Event, error)
- func (m *MockStore) Insert(arg0 context.Context, arg1 ...event.Event) error
- func (m *MockStore) Query(arg0 context.Context, arg1 event.Query) (<-chan event.Event, <-chan error, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Insert(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBus ¶
type MockBus struct {
// contains filtered or unexported fields
}
MockBus is a mock of Bus interface.
func NewMockBus ¶
func NewMockBus(ctrl *gomock.Controller) *MockBus
NewMockBus creates a new mock instance.
func (*MockBus) EXPECT ¶
func (m *MockBus) EXPECT() *MockBusMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBusMockRecorder ¶
type MockBusMockRecorder struct {
// contains filtered or unexported fields
}
MockBusMockRecorder is the mock recorder for MockBus.
func (*MockBusMockRecorder) Publish ¶
func (mr *MockBusMockRecorder) Publish(ctx interface{}, events ...interface{}) *gomock.Call
Publish indicates an expected call of Publish.
func (*MockBusMockRecorder) Subscribe ¶
func (mr *MockBusMockRecorder) Subscribe(ctx interface{}, names ...interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
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.
func (*MockEventMockRecorder) Aggregate ¶
func (mr *MockEventMockRecorder) Aggregate() *gomock.Call
Aggregate indicates an expected call of Aggregate.
func (*MockEventMockRecorder) Data ¶
func (mr *MockEventMockRecorder) Data() *gomock.Call
Data indicates an expected call of Data.
func (*MockEventMockRecorder) ID ¶
func (mr *MockEventMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockEventMockRecorder) Name ¶
func (mr *MockEventMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockEventMockRecorder) Time ¶
func (mr *MockEventMockRecorder) Time() *gomock.Call
Time indicates an expected call of Time.
type MockQuery ¶
type MockQuery struct {
// contains filtered or unexported fields
}
MockQuery is a mock of Query interface.
func NewMockQuery ¶
func NewMockQuery(ctrl *gomock.Controller) *MockQuery
NewMockQuery creates a new mock instance.
func (*MockQuery) AggregateIDs ¶
AggregateIDs mocks base method.
func (*MockQuery) AggregateNames ¶
AggregateNames mocks base method.
func (*MockQuery) AggregateVersions ¶
func (m *MockQuery) AggregateVersions() version.Constraints
AggregateVersions mocks base method.
func (*MockQuery) Aggregates ¶
func (m *MockQuery) Aggregates() []event.AggregateTuple
Aggregates mocks base method.
func (*MockQuery) EXPECT ¶
func (m *MockQuery) EXPECT() *MockQueryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockQuery) Sortings ¶
func (m *MockQuery) Sortings() []event.SortOptions
Sortings mocks base method.
type MockQueryMockRecorder ¶
type MockQueryMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryMockRecorder is the mock recorder for MockQuery.
func (*MockQueryMockRecorder) AggregateIDs ¶
func (mr *MockQueryMockRecorder) AggregateIDs() *gomock.Call
AggregateIDs indicates an expected call of AggregateIDs.
func (*MockQueryMockRecorder) AggregateNames ¶
func (mr *MockQueryMockRecorder) AggregateNames() *gomock.Call
AggregateNames indicates an expected call of AggregateNames.
func (*MockQueryMockRecorder) AggregateVersions ¶
func (mr *MockQueryMockRecorder) AggregateVersions() *gomock.Call
AggregateVersions indicates an expected call of AggregateVersions.
func (*MockQueryMockRecorder) Aggregates ¶
func (mr *MockQueryMockRecorder) Aggregates() *gomock.Call
Aggregates indicates an expected call of Aggregates.
func (*MockQueryMockRecorder) IDs ¶
func (mr *MockQueryMockRecorder) IDs() *gomock.Call
IDs indicates an expected call of IDs.
func (*MockQueryMockRecorder) Names ¶
func (mr *MockQueryMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names.
func (*MockQueryMockRecorder) Sortings ¶
func (mr *MockQueryMockRecorder) Sortings() *gomock.Call
Sortings indicates an expected call of Sortings.
func (*MockQueryMockRecorder) Times ¶
func (mr *MockQueryMockRecorder) Times() *gomock.Call
Times indicates an expected call of Times.
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) Delete ¶
func (mr *MockStoreMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStoreMockRecorder) Find ¶
func (mr *MockStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
Find indicates an expected call of Find.
func (*MockStoreMockRecorder) Insert ¶
func (mr *MockStoreMockRecorder) Insert(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Insert indicates an expected call of Insert.
func (*MockStoreMockRecorder) Query ¶
func (mr *MockStoreMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call
Query indicates an expected call of Query.