Documentation ¶
Overview ¶
Package mock_backend is a generated GoMock package.
Index ¶
- type MockBackend
- func (m *MockBackend) CheckInstall(arg0 context.Context, arg1 string) bool
- func (m *MockBackend) Command(arg0 context.Context, arg1 *backend.CommandParams) error
- func (m *MockBackend) EXPECT() *MockBackendMockRecorder
- func (m *MockBackend) FileCopy(arg0 context.Context, arg1 *backend.FileCopyParams) error
- func (m *MockBackend) FileMove(arg0 context.Context, arg1 *backend.FileMoveParams) error
- func (m *MockBackend) HTTPRequest(arg0 context.Context, arg1 *backend.HTTPRequestParams) error
- func (m *MockBackend) Install(arg0 context.Context, arg1 *backend.InstallParams) error
- func (m *MockBackend) Symlink(arg0 context.Context, arg1 *backend.SymlinkParams) error
- func (m *MockBackend) Uninstall(arg0 context.Context, arg1 string) error
- type MockBackendMockRecorder
- func (mr *MockBackendMockRecorder) CheckInstall(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) Command(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) FileCopy(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) FileMove(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) HTTPRequest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) Install(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) Symlink(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) Uninstall(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBackend ¶
type MockBackend struct {
// contains filtered or unexported fields
}
MockBackend is a mock of Backend interface
func NewMockBackend ¶
func NewMockBackend(ctrl *gomock.Controller) *MockBackend
NewMockBackend creates a new mock instance
func (*MockBackend) CheckInstall ¶
func (m *MockBackend) CheckInstall(arg0 context.Context, arg1 string) bool
CheckInstall mocks base method
func (*MockBackend) Command ¶
func (m *MockBackend) Command(arg0 context.Context, arg1 *backend.CommandParams) error
Command mocks base method
func (*MockBackend) EXPECT ¶
func (m *MockBackend) EXPECT() *MockBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBackend) FileCopy ¶
func (m *MockBackend) FileCopy(arg0 context.Context, arg1 *backend.FileCopyParams) error
FileCopy mocks base method
func (*MockBackend) FileMove ¶
func (m *MockBackend) FileMove(arg0 context.Context, arg1 *backend.FileMoveParams) error
FileMove mocks base method
func (*MockBackend) HTTPRequest ¶
func (m *MockBackend) HTTPRequest(arg0 context.Context, arg1 *backend.HTTPRequestParams) error
HTTPRequest mocks base method
func (*MockBackend) Install ¶
func (m *MockBackend) Install(arg0 context.Context, arg1 *backend.InstallParams) error
Install mocks base method
func (*MockBackend) Symlink ¶
func (m *MockBackend) Symlink(arg0 context.Context, arg1 *backend.SymlinkParams) error
Symlink mocks base method
type MockBackendMockRecorder ¶
type MockBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendMockRecorder is the mock recorder for MockBackend
func (*MockBackendMockRecorder) CheckInstall ¶
func (mr *MockBackendMockRecorder) CheckInstall(arg0, arg1 interface{}) *gomock.Call
CheckInstall indicates an expected call of CheckInstall
func (*MockBackendMockRecorder) Command ¶
func (mr *MockBackendMockRecorder) Command(arg0, arg1 interface{}) *gomock.Call
Command indicates an expected call of Command
func (*MockBackendMockRecorder) FileCopy ¶
func (mr *MockBackendMockRecorder) FileCopy(arg0, arg1 interface{}) *gomock.Call
FileCopy indicates an expected call of FileCopy
func (*MockBackendMockRecorder) FileMove ¶
func (mr *MockBackendMockRecorder) FileMove(arg0, arg1 interface{}) *gomock.Call
FileMove indicates an expected call of FileMove
func (*MockBackendMockRecorder) HTTPRequest ¶
func (mr *MockBackendMockRecorder) HTTPRequest(arg0, arg1 interface{}) *gomock.Call
HTTPRequest indicates an expected call of HTTPRequest
func (*MockBackendMockRecorder) Install ¶
func (mr *MockBackendMockRecorder) Install(arg0, arg1 interface{}) *gomock.Call
Install indicates an expected call of Install
func (*MockBackendMockRecorder) Symlink ¶
func (mr *MockBackendMockRecorder) Symlink(arg0, arg1 interface{}) *gomock.Call
Symlink indicates an expected call of Symlink
func (*MockBackendMockRecorder) Uninstall ¶
func (mr *MockBackendMockRecorder) Uninstall(arg0, arg1 interface{}) *gomock.Call
Uninstall indicates an expected call of Uninstall