Documentation ¶
Overview ¶
Package ssh is a generated GoMock package.
Index ¶
- type Cli
- type CliInterface
- type MockCliInterface
- func (m *MockCliInterface) DynamicForwardLocalRequestToRemote(remoteHost, privateKeyPath string, remoteSSHPort, proxyPort int) *exec.Cmd
- func (m *MockCliInterface) EXPECT() *MockCliInterfaceMockRecorder
- func (m *MockCliInterface) ForwardRemoteRequestToLocal(localPort, remoteHost, remotePort, privateKeyPath string, remoteSSHPort int) *exec.Cmd
- func (m *MockCliInterface) Version() *exec.Cmd
- type MockCliInterfaceMockRecorder
- func (mr *MockCliInterfaceMockRecorder) DynamicForwardLocalRequestToRemote(remoteHost, privateKeyPath, remoteSSHPort, proxyPort interface{}) *gomock.Call
- func (mr *MockCliInterfaceMockRecorder) ForwardRemoteRequestToLocal(localPort, remoteHost, remotePort, privateKeyPath, remoteSSHPort interface{}) *gomock.Call
- func (mr *MockCliInterfaceMockRecorder) Version() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cli ¶
type Cli struct{}
Cli ...
func (*Cli) DynamicForwardLocalRequestToRemote ¶
func (s *Cli) DynamicForwardLocalRequestToRemote(remoteHost, privateKeyPath string, remoteSSHPort int, proxyPort int) *exec.Cmd
DynamicForwardLocalRequestToRemote ssh remote port forward
type CliInterface ¶
type CliInterface interface { Version() *exec.Cmd ForwardRemoteRequestToLocal(localPort, remoteHost, remotePort, privateKeyPath string, remoteSSHPort int) *exec.Cmd DynamicForwardLocalRequestToRemote(remoteHost, privateKeyPath string, remoteSSHPort int, proxyPort int) *exec.Cmd }
CliInterface ...
type MockCliInterface ¶
type MockCliInterface struct {
// contains filtered or unexported fields
}
MockCliInterface is a mock of CliInterface interface
func NewMockCliInterface ¶
func NewMockCliInterface(ctrl *gomock.Controller) *MockCliInterface
NewMockCliInterface creates a new mock instance
func (*MockCliInterface) DynamicForwardLocalRequestToRemote ¶
func (m *MockCliInterface) DynamicForwardLocalRequestToRemote(remoteHost, privateKeyPath string, remoteSSHPort, proxyPort int) *exec.Cmd
DynamicForwardLocalRequestToRemote mocks base method
func (*MockCliInterface) EXPECT ¶
func (m *MockCliInterface) EXPECT() *MockCliInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCliInterface) ForwardRemoteRequestToLocal ¶
func (m *MockCliInterface) ForwardRemoteRequestToLocal(localPort, remoteHost, remotePort, privateKeyPath string, remoteSSHPort int) *exec.Cmd
ForwardRemoteRequestToLocal mocks base method
func (*MockCliInterface) Version ¶
func (m *MockCliInterface) Version() *exec.Cmd
Version mocks base method
type MockCliInterfaceMockRecorder ¶
type MockCliInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCliInterfaceMockRecorder is the mock recorder for MockCliInterface
func (*MockCliInterfaceMockRecorder) DynamicForwardLocalRequestToRemote ¶
func (mr *MockCliInterfaceMockRecorder) DynamicForwardLocalRequestToRemote(remoteHost, privateKeyPath, remoteSSHPort, proxyPort interface{}) *gomock.Call
DynamicForwardLocalRequestToRemote indicates an expected call of DynamicForwardLocalRequestToRemote
func (*MockCliInterfaceMockRecorder) ForwardRemoteRequestToLocal ¶
func (mr *MockCliInterfaceMockRecorder) ForwardRemoteRequestToLocal(localPort, remoteHost, remotePort, privateKeyPath, remoteSSHPort interface{}) *gomock.Call
ForwardRemoteRequestToLocal indicates an expected call of ForwardRemoteRequestToLocal
func (*MockCliInterfaceMockRecorder) Version ¶
func (mr *MockCliInterfaceMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version