Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockDispatcher
- func (m *MockDispatcher) AddEventListener(arg0 events.EventType, arg1 *events.EventListener)
- func (m *MockDispatcher) Close(arg0 context.Context)
- func (m *MockDispatcher) DispatchEvent(arg0 *events.Event)
- func (m *MockDispatcher) EXPECT() *MockDispatcherMockRecorder
- func (m *MockDispatcher) RemoveAllEventListener(arg0 events.EventType)
- func (m *MockDispatcher) RemoveEventListener(arg0 events.EventType, arg1 *events.EventListener)
- func (m *MockDispatcher) Start(arg0 context.Context) error
- type MockDispatcherMockRecorder
- func (mr *MockDispatcherMockRecorder) AddEventListener(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDispatcherMockRecorder) Close(arg0 interface{}) *gomock.Call
- func (mr *MockDispatcherMockRecorder) DispatchEvent(arg0 interface{}) *gomock.Call
- func (mr *MockDispatcherMockRecorder) RemoveAllEventListener(arg0 interface{}) *gomock.Call
- func (mr *MockDispatcherMockRecorder) RemoveEventListener(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDispatcherMockRecorder) Start(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDispatcher ¶
type MockDispatcher struct {
// contains filtered or unexported fields
}
MockDispatcher is a mock of Dispatcher interface.
func NewMockDispatcher ¶
func NewMockDispatcher(ctrl *gomock.Controller) *MockDispatcher
NewMockDispatcher creates a new mock instance.
func (*MockDispatcher) AddEventListener ¶
func (m *MockDispatcher) AddEventListener(arg0 events.EventType, arg1 *events.EventListener)
AddEventListener mocks base method.
func (*MockDispatcher) Close ¶
func (m *MockDispatcher) Close(arg0 context.Context)
Close mocks base method.
func (*MockDispatcher) DispatchEvent ¶
func (m *MockDispatcher) DispatchEvent(arg0 *events.Event)
DispatchEvent mocks base method.
func (*MockDispatcher) EXPECT ¶
func (m *MockDispatcher) EXPECT() *MockDispatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDispatcher) RemoveAllEventListener ¶
func (m *MockDispatcher) RemoveAllEventListener(arg0 events.EventType)
RemoveAllEventListener mocks base method.
func (*MockDispatcher) RemoveEventListener ¶
func (m *MockDispatcher) RemoveEventListener(arg0 events.EventType, arg1 *events.EventListener)
RemoveEventListener mocks base method.
type MockDispatcherMockRecorder ¶
type MockDispatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockDispatcherMockRecorder is the mock recorder for MockDispatcher.
func (*MockDispatcherMockRecorder) AddEventListener ¶
func (mr *MockDispatcherMockRecorder) AddEventListener(arg0, arg1 interface{}) *gomock.Call
AddEventListener indicates an expected call of AddEventListener.
func (*MockDispatcherMockRecorder) Close ¶
func (mr *MockDispatcherMockRecorder) Close(arg0 interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockDispatcherMockRecorder) DispatchEvent ¶
func (mr *MockDispatcherMockRecorder) DispatchEvent(arg0 interface{}) *gomock.Call
DispatchEvent indicates an expected call of DispatchEvent.
func (*MockDispatcherMockRecorder) RemoveAllEventListener ¶
func (mr *MockDispatcherMockRecorder) RemoveAllEventListener(arg0 interface{}) *gomock.Call
RemoveAllEventListener indicates an expected call of RemoveAllEventListener.
func (*MockDispatcherMockRecorder) RemoveEventListener ¶
func (mr *MockDispatcherMockRecorder) RemoveEventListener(arg0, arg1 interface{}) *gomock.Call
RemoveEventListener indicates an expected call of RemoveEventListener.
func (*MockDispatcherMockRecorder) Start ¶
func (mr *MockDispatcherMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start.