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 ¶ added in v0.1.0
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 ¶ added in v0.1.0
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 ¶ added in v0.1.0
type MockCliInterface struct {
// contains filtered or unexported fields
}
MockCliInterface is a mock of CliInterface interface.
func NewMockCliInterface ¶ added in v0.1.0
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 ¶ added in v0.1.0
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 ¶ added in v0.1.0
func (m *MockCliInterface) Version() *exec.Cmd
Version mocks base method.
type MockCliInterfaceMockRecorder ¶ added in v0.1.0
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 ¶ added in v0.1.0
func (mr *MockCliInterfaceMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version.