mocks

package
v4.0.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks 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(arg0 context.Context, arg1 registry.Registry) error

Install mocks base method

func (*MockInstallable) UnInstall

func (m *MockInstallable) UnInstall(arg0 context.Context, arg1 registry.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(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

func (*MockPlugin) Meta

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

Meta mocks base method

func (*MockPlugin) Start

func (m *MockPlugin) Start(arg0 context.Context, arg1 registry.Registry) error

Start mocks base method

func (*MockPlugin) Stop

func (m *MockPlugin) Stop(arg0 context.Context, arg1 registry.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(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

Jump to

Keyboard shortcuts

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