Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockInstallable
- type MockInstallableMockRecorder
- type MockPlugin
- func (m *MockPlugin) EXPECT() *MockPluginMockRecorder
- func (m *MockPlugin) Init(arg0 context.Context, arg1 config.Config, arg2 logger.FieldLogger) error
- func (m *MockPlugin) Instance() interface{}
- func (m *MockPlugin) Meta() meta.Meta
- func (m *MockPlugin) Start(arg0 context.Context, arg1 registry.Registry) error
- func (m *MockPlugin) Stop(arg0 context.Context, arg1 registry.Registry) error
- type MockPluginMockRecorder
- func (mr *MockPluginMockRecorder) Init(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPluginMockRecorder) Instance() *gomock.Call
- func (mr *MockPluginMockRecorder) Meta() *gomock.Call
- func (mr *MockPluginMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPluginMockRecorder) Stop(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInstallable ¶
type MockInstallable struct {
// contains filtered or unexported fields
}
MockInstallable is a mock of Installable interface
func NewMockInstallable ¶
func NewMockInstallable(ctrl *gomock.Controller) *MockInstallable
NewMockInstallable creates a new mock instance
func (*MockInstallable) EXPECT ¶
func (m *MockInstallable) EXPECT() *MockInstallableMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockInstallableMockRecorder ¶
type MockInstallableMockRecorder struct {
// contains filtered or unexported fields
}
MockInstallableMockRecorder is the mock recorder for MockInstallable
func (*MockInstallableMockRecorder) Install ¶
func (mr *MockInstallableMockRecorder) Install(arg0, arg1 interface{}) *gomock.Call
Install indicates an expected call of Install
func (*MockInstallableMockRecorder) UnInstall ¶
func (mr *MockInstallableMockRecorder) UnInstall(arg0, arg1 interface{}) *gomock.Call
UnInstall indicates an expected call of UnInstall
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) EXPECT ¶
func (m *MockPlugin) EXPECT() *MockPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPlugin) Init ¶
func (m *MockPlugin) Init(arg0 context.Context, arg1 config.Config, arg2 logger.FieldLogger) error
Init mocks base method
func (*MockPlugin) Instance ¶
func (m *MockPlugin) Instance() interface{}
Instance mocks base method
type MockPluginMockRecorder ¶
type MockPluginMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginMockRecorder is the mock recorder for MockPlugin
func (*MockPluginMockRecorder) Init ¶
func (mr *MockPluginMockRecorder) Init(arg0, arg1, arg2 interface{}) *gomock.Call
Init indicates an expected call of Init
func (*MockPluginMockRecorder) Instance ¶
func (mr *MockPluginMockRecorder) Instance() *gomock.Call
Instance indicates an expected call of Instance
func (*MockPluginMockRecorder) Meta ¶
func (mr *MockPluginMockRecorder) Meta() *gomock.Call
Meta indicates an expected call of Meta
func (*MockPluginMockRecorder) Start ¶
func (mr *MockPluginMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call
Start indicates an expected call of Start
func (*MockPluginMockRecorder) Stop ¶
func (mr *MockPluginMockRecorder) Stop(arg0, arg1 interface{}) *gomock.Call
Stop indicates an expected call of Stop