Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockPlugin
- func (m *MockPlugin) Compile(arg0 context.Context) error
- func (m *MockPlugin) EXPECT() *MockPluginMockRecorder
- func (m *MockPlugin) Generate(arg0 context.Context) error
- func (m *MockPlugin) Init() error
- func (m *MockPlugin) Name() string
- func (m *MockPlugin) SetupChannel(arg0 chan *v1.Event) error
- func (m *MockPlugin) Start(arg0 context.Context) error
- func (m *MockPlugin) Stop() error
- type MockPluginMockRecorder
- func (mr *MockPluginMockRecorder) Compile(arg0 interface{}) *gomock.Call
- func (mr *MockPluginMockRecorder) Generate(arg0 interface{}) *gomock.Call
- func (mr *MockPluginMockRecorder) Init() *gomock.Call
- func (mr *MockPluginMockRecorder) Name() *gomock.Call
- func (mr *MockPluginMockRecorder) SetupChannel(arg0 interface{}) *gomock.Call
- func (mr *MockPluginMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockPluginMockRecorder) Stop() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPlugin ¶
type MockPlugin struct {
// contains filtered or unexported fields
}
MockPlugin is a mock of Plugin interface.
func NewMockPlugin ¶
func NewMockPlugin(ctrl *gomock.Controller) *MockPlugin
NewMockPlugin creates a new mock instance.
func (*MockPlugin) Compile ¶
func (m *MockPlugin) Compile(arg0 context.Context) error
Compile mocks base method.
func (*MockPlugin) EXPECT ¶
func (m *MockPlugin) EXPECT() *MockPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPlugin) Generate ¶
func (m *MockPlugin) Generate(arg0 context.Context) error
Generate mocks base method.
func (*MockPlugin) SetupChannel ¶
func (m *MockPlugin) SetupChannel(arg0 chan *v1.Event) error
SetupChannel mocks base method.
type MockPluginMockRecorder ¶
type MockPluginMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginMockRecorder is the mock recorder for MockPlugin.
func (*MockPluginMockRecorder) Compile ¶
func (mr *MockPluginMockRecorder) Compile(arg0 interface{}) *gomock.Call
Compile indicates an expected call of Compile.
func (*MockPluginMockRecorder) Generate ¶
func (mr *MockPluginMockRecorder) Generate(arg0 interface{}) *gomock.Call
Generate indicates an expected call of Generate.
func (*MockPluginMockRecorder) Init ¶
func (mr *MockPluginMockRecorder) Init() *gomock.Call
Init indicates an expected call of Init.
func (*MockPluginMockRecorder) Name ¶
func (mr *MockPluginMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockPluginMockRecorder) SetupChannel ¶
func (mr *MockPluginMockRecorder) SetupChannel(arg0 interface{}) *gomock.Call
SetupChannel indicates an expected call of SetupChannel.
func (*MockPluginMockRecorder) Start ¶
func (mr *MockPluginMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockPluginMockRecorder) Stop ¶
func (mr *MockPluginMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.