Documentation ¶
Overview ¶
Package remotemachine is a generated GoMock package.
Index ¶
- type MockRemoteMachine
- func (m *MockRemoteMachine) Address() string
- func (m *MockRemoteMachine) Close() error
- func (m *MockRemoteMachine) DeleteFile(remotePath string) error
- func (m *MockRemoteMachine) EXPECT() *MockRemoteMachineMockRecorder
- func (m *MockRemoteMachine) Host() string
- func (m *MockRemoteMachine) OSName() string
- func (m *MockRemoteMachine) Password() string
- func (m *MockRemoteMachine) RunCommand(arg0 string) (io.Reader, error)
- func (m *MockRemoteMachine) UploadFile(localPath, remotePath string) error
- type MockRemoteMachineMockRecorder
- func (mr *MockRemoteMachineMockRecorder) Address() *gomock.Call
- func (mr *MockRemoteMachineMockRecorder) Close() *gomock.Call
- func (mr *MockRemoteMachineMockRecorder) DeleteFile(remotePath interface{}) *gomock.Call
- func (mr *MockRemoteMachineMockRecorder) Host() *gomock.Call
- func (mr *MockRemoteMachineMockRecorder) OSName() *gomock.Call
- func (mr *MockRemoteMachineMockRecorder) Password() *gomock.Call
- func (mr *MockRemoteMachineMockRecorder) RunCommand(arg0 interface{}) *gomock.Call
- func (mr *MockRemoteMachineMockRecorder) UploadFile(localPath, remotePath interface{}) *gomock.Call
- type RemoteMachine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRemoteMachine ¶ added in v0.5.0
type MockRemoteMachine struct {
// contains filtered or unexported fields
}
MockRemoteMachine is a mock of RemoteMachine interface
func NewMockRemoteMachine ¶ added in v0.5.0
func NewMockRemoteMachine(ctrl *gomock.Controller) *MockRemoteMachine
NewMockRemoteMachine creates a new mock instance
func (*MockRemoteMachine) Address ¶ added in v0.5.0
func (m *MockRemoteMachine) Address() string
Address mocks base method
func (*MockRemoteMachine) Close ¶ added in v0.5.0
func (m *MockRemoteMachine) Close() error
Close mocks base method
func (*MockRemoteMachine) DeleteFile ¶ added in v0.5.0
func (m *MockRemoteMachine) DeleteFile(remotePath string) error
DeleteFile mocks base method
func (*MockRemoteMachine) EXPECT ¶ added in v0.5.0
func (m *MockRemoteMachine) EXPECT() *MockRemoteMachineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRemoteMachine) Host ¶ added in v0.5.0
func (m *MockRemoteMachine) Host() string
Host mocks base method
func (*MockRemoteMachine) OSName ¶ added in v0.5.0
func (m *MockRemoteMachine) OSName() string
OSName mocks base method
func (*MockRemoteMachine) Password ¶ added in v0.5.0
func (m *MockRemoteMachine) Password() string
Password mocks base method
func (*MockRemoteMachine) RunCommand ¶ added in v0.5.0
func (m *MockRemoteMachine) RunCommand(arg0 string) (io.Reader, error)
RunCommand mocks base method
func (*MockRemoteMachine) UploadFile ¶ added in v0.5.0
func (m *MockRemoteMachine) UploadFile(localPath, remotePath string) error
UploadFile mocks base method
type MockRemoteMachineMockRecorder ¶ added in v0.5.0
type MockRemoteMachineMockRecorder struct {
// contains filtered or unexported fields
}
MockRemoteMachineMockRecorder is the mock recorder for MockRemoteMachine
func (*MockRemoteMachineMockRecorder) Address ¶ added in v0.5.0
func (mr *MockRemoteMachineMockRecorder) Address() *gomock.Call
Address indicates an expected call of Address
func (*MockRemoteMachineMockRecorder) Close ¶ added in v0.5.0
func (mr *MockRemoteMachineMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockRemoteMachineMockRecorder) DeleteFile ¶ added in v0.5.0
func (mr *MockRemoteMachineMockRecorder) DeleteFile(remotePath interface{}) *gomock.Call
DeleteFile indicates an expected call of DeleteFile
func (*MockRemoteMachineMockRecorder) Host ¶ added in v0.5.0
func (mr *MockRemoteMachineMockRecorder) Host() *gomock.Call
Host indicates an expected call of Host
func (*MockRemoteMachineMockRecorder) OSName ¶ added in v0.5.0
func (mr *MockRemoteMachineMockRecorder) OSName() *gomock.Call
OSName indicates an expected call of OSName
func (*MockRemoteMachineMockRecorder) Password ¶ added in v0.5.0
func (mr *MockRemoteMachineMockRecorder) Password() *gomock.Call
Password indicates an expected call of Password
func (*MockRemoteMachineMockRecorder) RunCommand ¶ added in v0.5.0
func (mr *MockRemoteMachineMockRecorder) RunCommand(arg0 interface{}) *gomock.Call
RunCommand indicates an expected call of RunCommand
func (*MockRemoteMachineMockRecorder) UploadFile ¶ added in v0.5.0
func (mr *MockRemoteMachineMockRecorder) UploadFile(localPath, remotePath interface{}) *gomock.Call
UploadFile indicates an expected call of UploadFile
type RemoteMachine ¶
type RemoteMachine interface { Address() string Host() string OSName() string Password() string UploadFile(localPath, remotePath string) error DeleteFile(remotePath string) error RunCommand(string) (io.Reader, error) Close() error }
func NewRemoteMachine ¶
func NewRemoteMachine(machine scantron.Machine) RemoteMachine