Documentation ¶
Overview ¶
Package sshuttle 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 ...
type CliInterface ¶ added in v0.1.0
type CliInterface interface { Version() *exec.Cmd Connect(remoteHost, privateKeyPath string, remotePort int, DNSServer string, disableDNS bool, cidrs []string, debug bool) *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) Connect ¶ added in v0.1.0
func (m *MockCliInterface) Connect(remoteHost, privateKeyPath string, remotePort int, DNSServer string, disableDNS bool, cidrs []string, debug bool) *exec.Cmd
Connect 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) 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) Connect ¶ added in v0.1.0
func (mr *MockCliInterfaceMockRecorder) Connect(remoteHost, privateKeyPath, remotePort, DNSServer, disableDNS, cidrs, debug interface{}) *gomock.Call
Connect indicates an expected call of Connect.
func (*MockCliInterfaceMockRecorder) Version ¶ added in v0.1.0
func (mr *MockCliInterfaceMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version.
Click to show internal directories.
Click to hide internal directories.