mock

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEnvironment

type MockEnvironment struct {
	// contains filtered or unexported fields
}

MockEnvironment is a mock of Environment interface.

func NewMockEnvironment

func NewMockEnvironment(ctrl *gomock.Controller) *MockEnvironment

NewMockEnvironment creates a new mock instance.

func (*MockEnvironment) BasePath

func (m *MockEnvironment) BasePath() string

BasePath mocks base method.

func (*MockEnvironment) BinPath

func (m *MockEnvironment) BinPath() string

BinPath mocks base method.

func (*MockEnvironment) EXPECT

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

func (*MockEnvironment) IndexBase

func (m *MockEnvironment) IndexBase() string

IndexBase mocks base method.

func (*MockEnvironment) IndexPath

func (m *MockEnvironment) IndexPath(name string) string

IndexPath mocks base method.

func (*MockEnvironment) IndexPluginsPath

func (m *MockEnvironment) IndexPluginsPath(name string) string

IndexPluginsPath mocks base method.

func (*MockEnvironment) InstallPath

func (m *MockEnvironment) InstallPath() string

InstallPath mocks base method.

func (*MockEnvironment) InstallReceiptsPath

func (m *MockEnvironment) InstallReceiptsPath() string

InstallReceiptsPath mocks base method.

func (*MockEnvironment) PluginInstallPath

func (m *MockEnvironment) PluginInstallPath(plugin string) string

PluginInstallPath mocks base method.

func (*MockEnvironment) PluginInstallReceiptPath

func (m *MockEnvironment) PluginInstallReceiptPath(plugin string) string

PluginInstallReceiptPath mocks base method.

func (*MockEnvironment) PluginVersionInstallPath

func (m *MockEnvironment) PluginVersionInstallPath(plugin, version string) string

PluginVersionInstallPath mocks base method.

type MockEnvironmentMockRecorder

type MockEnvironmentMockRecorder struct {
	// contains filtered or unexported fields
}

MockEnvironmentMockRecorder is the mock recorder for MockEnvironment.

func (*MockEnvironmentMockRecorder) BasePath

func (mr *MockEnvironmentMockRecorder) BasePath() *gomock.Call

BasePath indicates an expected call of BasePath.

func (*MockEnvironmentMockRecorder) BinPath

func (mr *MockEnvironmentMockRecorder) BinPath() *gomock.Call

BinPath indicates an expected call of BinPath.

func (*MockEnvironmentMockRecorder) IndexBase

func (mr *MockEnvironmentMockRecorder) IndexBase() *gomock.Call

IndexBase indicates an expected call of IndexBase.

func (*MockEnvironmentMockRecorder) IndexPath

func (mr *MockEnvironmentMockRecorder) IndexPath(name interface{}) *gomock.Call

IndexPath indicates an expected call of IndexPath.

func (*MockEnvironmentMockRecorder) IndexPluginsPath

func (mr *MockEnvironmentMockRecorder) IndexPluginsPath(name interface{}) *gomock.Call

IndexPluginsPath indicates an expected call of IndexPluginsPath.

func (*MockEnvironmentMockRecorder) InstallPath

func (mr *MockEnvironmentMockRecorder) InstallPath() *gomock.Call

InstallPath indicates an expected call of InstallPath.

func (*MockEnvironmentMockRecorder) InstallReceiptsPath

func (mr *MockEnvironmentMockRecorder) InstallReceiptsPath() *gomock.Call

InstallReceiptsPath indicates an expected call of InstallReceiptsPath.

func (*MockEnvironmentMockRecorder) PluginInstallPath

func (mr *MockEnvironmentMockRecorder) PluginInstallPath(plugin interface{}) *gomock.Call

PluginInstallPath indicates an expected call of PluginInstallPath.

func (*MockEnvironmentMockRecorder) PluginInstallReceiptPath

func (mr *MockEnvironmentMockRecorder) PluginInstallReceiptPath(plugin interface{}) *gomock.Call

PluginInstallReceiptPath indicates an expected call of PluginInstallReceiptPath.

func (*MockEnvironmentMockRecorder) PluginVersionInstallPath

func (mr *MockEnvironmentMockRecorder) PluginVersionInstallPath(plugin, version interface{}) *gomock.Call

PluginVersionInstallPath indicates an expected call of PluginVersionInstallPath.

Jump to

Keyboard shortcuts

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