mock_plugin

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_plugin is a generated GoMock package.

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockInstallable) Install

func (m *MockInstallable) Install(ctx context.Context, registry plugin.Registry) error

Install mocks base method

func (*MockInstallable) UnInstall

func (m *MockInstallable) UnInstall(ctx context.Context, registry plugin.Registry) error

UnInstall mocks base method

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

func (m *MockPlugin) Init(ctx context.Context, config config.Manager) error

Init mocks base method

func (*MockPlugin) Instance

func (m *MockPlugin) Instance() interface{}

Instance mocks base method

func (*MockPlugin) Meta

func (m *MockPlugin) Meta() meta.Meta

Meta mocks base method

func (*MockPlugin) Start

func (m *MockPlugin) Start(ctx context.Context, registry plugin.Registry) error

Start mocks base method

func (*MockPlugin) Stop

func (m *MockPlugin) Stop(ctx context.Context, registry plugin.Registry) error

Stop 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

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

Jump to

Keyboard shortcuts

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