Documentation
¶
Index ¶
- type MockEnvironment
- func (m *MockEnvironment) BasePath() string
- func (m *MockEnvironment) BinPath() string
- func (m *MockEnvironment) EXPECT() *MockEnvironmentMockRecorder
- func (m *MockEnvironment) IndexBase() string
- func (m *MockEnvironment) IndexPath(name string) string
- func (m *MockEnvironment) IndexPluginsPath(name string) string
- func (m *MockEnvironment) InstallPath() string
- func (m *MockEnvironment) InstallReceiptsPath() string
- func (m *MockEnvironment) PluginInstallPath(plugin string) string
- func (m *MockEnvironment) PluginInstallReceiptPath(plugin string) string
- func (m *MockEnvironment) PluginVersionInstallPath(plugin, version string) string
- type MockEnvironmentMockRecorder
- func (mr *MockEnvironmentMockRecorder) BasePath() *gomock.Call
- func (mr *MockEnvironmentMockRecorder) BinPath() *gomock.Call
- func (mr *MockEnvironmentMockRecorder) IndexBase() *gomock.Call
- func (mr *MockEnvironmentMockRecorder) IndexPath(name interface{}) *gomock.Call
- func (mr *MockEnvironmentMockRecorder) IndexPluginsPath(name interface{}) *gomock.Call
- func (mr *MockEnvironmentMockRecorder) InstallPath() *gomock.Call
- func (mr *MockEnvironmentMockRecorder) InstallReceiptsPath() *gomock.Call
- func (mr *MockEnvironmentMockRecorder) PluginInstallPath(plugin interface{}) *gomock.Call
- func (mr *MockEnvironmentMockRecorder) PluginInstallReceiptPath(plugin interface{}) *gomock.Call
- func (mr *MockEnvironmentMockRecorder) PluginVersionInstallPath(plugin, version interface{}) *gomock.Call
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 ¶
func (m *MockEnvironment) EXPECT() *MockEnvironmentMockRecorder
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.