mock_ssh

package
v0.0.0-...-19d5405 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_ssh is a generated GoMock package.

Index

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

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

Jump to

Keyboard shortcuts

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