Documentation
¶
Overview ¶
Package mock_ssh is a generated GoMock package.
Index ¶
- type MockClienter
- func (m *MockClienter) Connectable(timeout time.Duration) (bool, error)
- func (m *MockClienter) EXPECT() *MockClienterMockRecorder
- func (m *MockClienter) RunCommand(command string, options go_ssh_client.CommandOptions) error
- func (m *MockClienter) WithKey(key string) go_ssh_client.Client
- func (m *MockClienter) WithPassword(password string) go_ssh_client.Client
- func (m *MockClienter) WithPort(port string) go_ssh_client.Client
- func (m *MockClienter) WithServer(add string) go_ssh_client.Client
- func (m *MockClienter) WithUser(user string) go_ssh_client.Client
- type MockClienterMockRecorder
- func (mr *MockClienterMockRecorder) Connectable(timeout interface{}) *gomock.Call
- func (mr *MockClienterMockRecorder) RunCommand(command, options interface{}) *gomock.Call
- func (mr *MockClienterMockRecorder) WithKey(key interface{}) *gomock.Call
- func (mr *MockClienterMockRecorder) WithPassword(password interface{}) *gomock.Call
- func (mr *MockClienterMockRecorder) WithPort(port interface{}) *gomock.Call
- func (mr *MockClienterMockRecorder) WithServer(add interface{}) *gomock.Call
- func (mr *MockClienterMockRecorder) WithUser(user interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClienter ¶
type MockClienter struct {
// contains filtered or unexported fields
}
MockClienter is a mock of Clienter interface
func NewMockClienter ¶
func NewMockClienter(ctrl *gomock.Controller) *MockClienter
NewMockClienter creates a new mock instance
func (*MockClienter) Connectable ¶
func (m *MockClienter) Connectable(timeout time.Duration) (bool, error)
Connectable mocks base method
func (*MockClienter) EXPECT ¶
func (m *MockClienter) EXPECT() *MockClienterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClienter) RunCommand ¶
func (m *MockClienter) RunCommand(command string, options go_ssh_client.CommandOptions) error
RunCommand mocks base method
func (*MockClienter) WithKey ¶
func (m *MockClienter) WithKey(key string) go_ssh_client.Client
WithKey mocks base method
func (*MockClienter) WithPassword ¶
func (m *MockClienter) WithPassword(password string) go_ssh_client.Client
WithPassword mocks base method
func (*MockClienter) WithPort ¶
func (m *MockClienter) WithPort(port string) go_ssh_client.Client
WithPort mocks base method
func (*MockClienter) WithServer ¶
func (m *MockClienter) WithServer(add string) go_ssh_client.Client
WithServer mocks base method
func (*MockClienter) WithUser ¶
func (m *MockClienter) WithUser(user string) go_ssh_client.Client
WithUser mocks base method
type MockClienterMockRecorder ¶
type MockClienterMockRecorder struct {
// contains filtered or unexported fields
}
MockClienterMockRecorder is the mock recorder for MockClienter
func (*MockClienterMockRecorder) Connectable ¶
func (mr *MockClienterMockRecorder) Connectable(timeout interface{}) *gomock.Call
Connectable indicates an expected call of Connectable
func (*MockClienterMockRecorder) RunCommand ¶
func (mr *MockClienterMockRecorder) RunCommand(command, options interface{}) *gomock.Call
RunCommand indicates an expected call of RunCommand
func (*MockClienterMockRecorder) WithKey ¶
func (mr *MockClienterMockRecorder) WithKey(key interface{}) *gomock.Call
WithKey indicates an expected call of WithKey
func (*MockClienterMockRecorder) WithPassword ¶
func (mr *MockClienterMockRecorder) WithPassword(password interface{}) *gomock.Call
WithPassword indicates an expected call of WithPassword
func (*MockClienterMockRecorder) WithPort ¶
func (mr *MockClienterMockRecorder) WithPort(port interface{}) *gomock.Call
WithPort indicates an expected call of WithPort
func (*MockClienterMockRecorder) WithServer ¶
func (mr *MockClienterMockRecorder) WithServer(add interface{}) *gomock.Call
WithServer indicates an expected call of WithServer
func (*MockClienterMockRecorder) WithUser ¶
func (mr *MockClienterMockRecorder) WithUser(user interface{}) *gomock.Call
WithUser indicates an expected call of WithUser