Documentation ¶
Overview ¶
Package mock_plugin is a generated GoMock package.
Index ¶
- type MockPluginClient
- func (m *MockPluginClient) AddMessageHandler(arg0 client.ClientMessageType, arg1 func(interface{}))
- func (m *MockPluginClient) Close()
- func (m *MockPluginClient) Dispatch(arg0 client.ClientMessageType, arg1 interface{})
- func (m *MockPluginClient) EXPECT() *MockPluginClientMockRecorder
- func (m *MockPluginClient) Ready() <-chan bool
- func (m *MockPluginClient) Run(arg0 context.Context)
- func (m *MockPluginClient) SendMessage(arg0 interface{}) error
- type MockPluginClientMockRecorder
- func (mr *MockPluginClientMockRecorder) AddMessageHandler(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPluginClientMockRecorder) Close() *gomock.Call
- func (mr *MockPluginClientMockRecorder) Dispatch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPluginClientMockRecorder) Ready() *gomock.Call
- func (mr *MockPluginClientMockRecorder) Run(arg0 interface{}) *gomock.Call
- func (mr *MockPluginClientMockRecorder) SendMessage(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPluginClient ¶
type MockPluginClient struct {
// contains filtered or unexported fields
}
MockPluginClient is a mock of pluginClient interface.
func NewMockPluginClient ¶
func NewMockPluginClient(ctrl *gomock.Controller) *MockPluginClient
NewMockPluginClient creates a new mock instance.
func (*MockPluginClient) AddMessageHandler ¶
func (m *MockPluginClient) AddMessageHandler(arg0 client.ClientMessageType, arg1 func(interface{}))
AddMessageHandler mocks base method.
func (*MockPluginClient) Dispatch ¶
func (m *MockPluginClient) Dispatch(arg0 client.ClientMessageType, arg1 interface{})
Dispatch mocks base method.
func (*MockPluginClient) EXPECT ¶
func (m *MockPluginClient) EXPECT() *MockPluginClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPluginClient) Ready ¶
func (m *MockPluginClient) Ready() <-chan bool
Ready mocks base method.
func (*MockPluginClient) Run ¶
func (m *MockPluginClient) Run(arg0 context.Context)
Run mocks base method.
func (*MockPluginClient) SendMessage ¶
func (m *MockPluginClient) SendMessage(arg0 interface{}) error
SendMessage mocks base method.
type MockPluginClientMockRecorder ¶
type MockPluginClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginClientMockRecorder is the mock recorder for MockPluginClient.
func (*MockPluginClientMockRecorder) AddMessageHandler ¶
func (mr *MockPluginClientMockRecorder) AddMessageHandler(arg0, arg1 interface{}) *gomock.Call
AddMessageHandler indicates an expected call of AddMessageHandler.
func (*MockPluginClientMockRecorder) Close ¶
func (mr *MockPluginClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockPluginClientMockRecorder) Dispatch ¶
func (mr *MockPluginClientMockRecorder) Dispatch(arg0, arg1 interface{}) *gomock.Call
Dispatch indicates an expected call of Dispatch.
func (*MockPluginClientMockRecorder) Ready ¶
func (mr *MockPluginClientMockRecorder) Ready() *gomock.Call
Ready indicates an expected call of Ready.
func (*MockPluginClientMockRecorder) Run ¶
func (mr *MockPluginClientMockRecorder) Run(arg0 interface{}) *gomock.Call
Run indicates an expected call of Run.
func (*MockPluginClientMockRecorder) SendMessage ¶
func (mr *MockPluginClientMockRecorder) SendMessage(arg0 interface{}) *gomock.Call
SendMessage indicates an expected call of SendMessage.