mock_cniipwrapper

package
v0.0.0-...-2a71758 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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 (_m *MockIP) DelLinkByNameAddr(_param0 string, _param1 int) (*net.IPNet, error)

func (*MockIP) EXPECT

func (_m *MockIP) EXPECT() *_MockIPRecorder

func (*MockIP) SetHWAddrByIP

func (_m *MockIP) SetHWAddrByIP(_param0 string, _param1 net.IP, _param2 net.IP) error

func (*MockIP) SetupVeth

func (_m *MockIP) SetupVeth(_param0 string, _param1 int, _param2 ns.NetNS) (net.Interface, net.Interface, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL