Documentation ¶
Overview ¶
Package mock_plugin is a generated GoMock package.
Package mock_plugin is a generated GoMock package.
Index ¶
- type MockInstallable
- type MockInstallableMockRecorder
- type MockPlugin
- func (m *MockPlugin) EXPECT() *MockPluginMockRecorder
- func (m *MockPlugin) Init(ctx context.Context, config config.Manager) error
- func (m *MockPlugin) Instance() interface{}
- func (m *MockPlugin) Meta() meta.Meta
- func (m *MockPlugin) Start(ctx context.Context, registry plugin.Registry) error
- func (m *MockPlugin) Stop(ctx context.Context, registry plugin.Registry) error
- type MockPluginMockRecorder
- func (mr *MockPluginMockRecorder) Init(ctx, config interface{}) *gomock.Call
- func (mr *MockPluginMockRecorder) Instance() *gomock.Call
- func (mr *MockPluginMockRecorder) Meta() *gomock.Call
- func (mr *MockPluginMockRecorder) Start(ctx, registry interface{}) *gomock.Call
- func (mr *MockPluginMockRecorder) Stop(ctx, registry interface{}) *gomock.Call
- type MockRegistry
- func (m *MockRegistry) EXPECT() *MockRegistryMockRecorder
- func (m *MockRegistry) ID(id meta.ID) (interface{}, error)
- func (m *MockRegistry) Interface(i meta.Interface) (interface{}, error)
- func (m_2 *MockRegistry) Logger(m meta.Meta) logger.Logger
- func (m *MockRegistry) Resolve(dep meta.Dependency) (interface{}, error)
- type MockRegistryMockRecorder
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(ctx, registry interface{}) *gomock.Call
Install indicates an expected call of Install
func (*MockInstallableMockRecorder) UnInstall ¶
func (mr *MockInstallableMockRecorder) UnInstall(ctx, registry 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) 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(ctx, config 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(ctx, registry interface{}) *gomock.Call
Start indicates an expected call of Start
func (*MockPluginMockRecorder) Stop ¶
func (mr *MockPluginMockRecorder) Stop(ctx, registry interface{}) *gomock.Call
Stop indicates an expected call of Stop
type MockRegistry ¶
type MockRegistry struct {
// contains filtered or unexported fields
}
MockRegistry is a mock of Registry interface
func NewMockRegistry ¶
func NewMockRegistry(ctrl *gomock.Controller) *MockRegistry
NewMockRegistry creates a new mock instance
func (*MockRegistry) EXPECT ¶
func (m *MockRegistry) EXPECT() *MockRegistryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRegistry) ID ¶
func (m *MockRegistry) ID(id meta.ID) (interface{}, error)
ID mocks base method
func (*MockRegistry) Interface ¶
func (m *MockRegistry) Interface(i meta.Interface) (interface{}, error)
Interface mocks base method
func (*MockRegistry) Logger ¶
func (m_2 *MockRegistry) Logger(m meta.Meta) logger.Logger
Logger mocks base method
func (*MockRegistry) Resolve ¶
func (m *MockRegistry) Resolve(dep meta.Dependency) (interface{}, error)
Resolve mocks base method
type MockRegistryMockRecorder ¶
type MockRegistryMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistryMockRecorder is the mock recorder for MockRegistry
func (*MockRegistryMockRecorder) ID ¶
func (mr *MockRegistryMockRecorder) ID(id interface{}) *gomock.Call
ID indicates an expected call of ID
func (*MockRegistryMockRecorder) Interface ¶
func (mr *MockRegistryMockRecorder) Interface(i interface{}) *gomock.Call
Interface indicates an expected call of Interface
func (*MockRegistryMockRecorder) Logger ¶
func (mr *MockRegistryMockRecorder) Logger(m interface{}) *gomock.Call
Logger indicates an expected call of Logger
func (*MockRegistryMockRecorder) Resolve ¶
func (mr *MockRegistryMockRecorder) Resolve(dep interface{}) *gomock.Call
Resolve indicates an expected call of Resolve