Documentation ¶
Overview ¶
Package exec is a generated GoMock package.
Index ¶
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) SshChannel ¶ added in v0.1.0
func (c *Cli) SshChannel() sshchannel.Channel
SshChannel ...
func (*Cli) Tunnel ¶ added in v0.1.0
func (c *Cli) Tunnel() tun.CliInterface
type CliInterface ¶ added in v0.1.0
type CliInterface interface { Sshuttle() sshuttle.CliInterface Tunnel() tun.CliInterface SshChannel() sshchannel.Channel }
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) 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) SshChannel ¶ added in v0.1.0
func (m *MockCliInterface) SshChannel() sshchannel.Channel
SshChannel mocks base method.
func (*MockCliInterface) Sshuttle ¶ added in v0.1.0
func (m *MockCliInterface) Sshuttle() sshuttle.CliInterface
Sshuttle mocks base method.
func (*MockCliInterface) Tunnel ¶ added in v0.1.0
func (m *MockCliInterface) Tunnel() tun.CliInterface
Tunnel 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) SshChannel ¶ added in v0.1.0
func (mr *MockCliInterfaceMockRecorder) SshChannel() *gomock.Call
SshChannel indicates an expected call of SshChannel.
func (*MockCliInterfaceMockRecorder) Sshuttle ¶ added in v0.1.0
func (mr *MockCliInterfaceMockRecorder) Sshuttle() *gomock.Call
Sshuttle indicates an expected call of Sshuttle.
func (*MockCliInterfaceMockRecorder) Tunnel ¶ added in v0.1.0
func (mr *MockCliInterfaceMockRecorder) Tunnel() *gomock.Call
Tunnel indicates an expected call of Tunnel.
Directories ¶
Path | Synopsis |
---|---|
Package sshchannel is a generated GoMock package.
|
Package sshchannel is a generated GoMock package. |
Package sshuttle is a generated GoMock package.
|
Package sshuttle is a generated GoMock package. |
Package tun is a generated GoMock package.
|
Package tun is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.