Documentation ¶
Overview ¶
Package tunnel is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) AddDevice ¶
func (m *MockCliInterface) AddDevice() error
AddDevice mocks base method.
func (*MockCliInterface) AddRoute ¶
func (m *MockCliInterface) AddRoute(cidr string) error
AddRoute 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) RemoveDevice ¶
func (m *MockCliInterface) RemoveDevice() error
RemoveDevice mocks base method.
func (*MockCliInterface) SetDeviceIP ¶
func (m *MockCliInterface) SetDeviceIP() error
SetDeviceIP mocks base method.
type MockCliInterfaceMockRecorder ¶
type MockCliInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCliInterfaceMockRecorder is the mock recorder for MockCliInterface.
func (*MockCliInterfaceMockRecorder) AddDevice ¶
func (mr *MockCliInterfaceMockRecorder) AddDevice() *gomock.Call
AddDevice indicates an expected call of AddDevice.
func (*MockCliInterfaceMockRecorder) AddRoute ¶
func (mr *MockCliInterfaceMockRecorder) AddRoute(cidr interface{}) *gomock.Call
AddRoute indicates an expected call of AddRoute.
func (*MockCliInterfaceMockRecorder) RemoveDevice ¶
func (mr *MockCliInterfaceMockRecorder) RemoveDevice() *gomock.Call
RemoveDevice indicates an expected call of RemoveDevice.
func (*MockCliInterfaceMockRecorder) SetDeviceIP ¶
func (mr *MockCliInterfaceMockRecorder) SetDeviceIP() *gomock.Call
SetDeviceIP indicates an expected call of SetDeviceIP.
Click to show internal directories.
Click to hide internal directories.