Documentation ¶
Index ¶
- type MockIP
- func (_m *MockIP) DelLinkByNameAddr(_param0 string, _param1 int) (*net.IPNet, error)
- func (_m *MockIP) EXPECT() *_MockIPRecorder
- func (_m *MockIP) SetHWAddrByIP(_param0 string, _param1 net.IP, _param2 net.IP) error
- func (_m *MockIP) SetupVeth(_param0 string, _param1 int, _param2 ns.NetNS) (net.Interface, net.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIP ¶
type MockIP struct {
// contains filtered or unexported fields
}
Mock of IP interface
func NewMockIP ¶
func NewMockIP(ctrl *gomock.Controller) *MockIP
func (*MockIP) DelLinkByNameAddr ¶
func (*MockIP) SetHWAddrByIP ¶
Click to show internal directories.
Click to hide internal directories.