mock_plugin

package
v0.0.0-...-351e1a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_plugin is a generated GoMock package.

Index

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) Close

func (m *MockPluginClient) Close()

Close mocks base method.

func (*MockPluginClient) Dispatch

func (m *MockPluginClient) Dispatch(arg0 client.ClientMessageType, arg1 interface{})

Dispatch mocks base method.

func (*MockPluginClient) EXPECT

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL