Documentation
¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) AddrDel(arg0 netlink.Link, arg1 *netlink.Addr) error
- func (m *MockInterface) AddrList(arg0 netlink.Link, arg1 int) ([]netlink.Addr, error)
- func (m *MockInterface) AddrReplace(arg0 netlink.Link, arg1 *netlink.Addr) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) LinkByName(arg0 string) (netlink.Link, error)
- func (m *MockInterface) NeighDel(arg0 *netlink.Neigh) error
- func (m *MockInterface) NeighList(arg0, arg1 int) ([]netlink.Neigh, error)
- func (m *MockInterface) NeighSet(arg0 *netlink.Neigh) error
- func (m *MockInterface) RouteDel(arg0 *netlink.Route) error
- func (m *MockInterface) RouteList(arg0 netlink.Link, arg1 int) ([]netlink.Route, error)
- func (m *MockInterface) RouteListFiltered(arg0 int, arg1 *netlink.Route, arg2 uint64) ([]netlink.Route, error)
- func (m *MockInterface) RouteReplace(arg0 *netlink.Route) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) AddrDel(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) AddrList(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) AddrReplace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) LinkByName(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) NeighDel(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) NeighList(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) NeighSet(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) RouteDel(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) RouteList(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) RouteListFiltered(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) RouteReplace(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance
func (*MockInterface) AddrReplace ¶
AddrReplace mocks base method
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInterface) LinkByName ¶
func (m *MockInterface) LinkByName(arg0 string) (netlink.Link, error)
LinkByName mocks base method
func (*MockInterface) NeighDel ¶
func (m *MockInterface) NeighDel(arg0 *netlink.Neigh) error
NeighDel mocks base method
func (*MockInterface) NeighList ¶
func (m *MockInterface) NeighList(arg0, arg1 int) ([]netlink.Neigh, error)
NeighList mocks base method
func (*MockInterface) NeighSet ¶
func (m *MockInterface) NeighSet(arg0 *netlink.Neigh) error
NeighSet mocks base method
func (*MockInterface) RouteDel ¶
func (m *MockInterface) RouteDel(arg0 *netlink.Route) error
RouteDel mocks base method
func (*MockInterface) RouteListFiltered ¶
func (m *MockInterface) RouteListFiltered(arg0 int, arg1 *netlink.Route, arg2 uint64) ([]netlink.Route, error)
RouteListFiltered mocks base method
func (*MockInterface) RouteReplace ¶
func (m *MockInterface) RouteReplace(arg0 *netlink.Route) error
RouteReplace mocks base method
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface
func (*MockInterfaceMockRecorder) AddrDel ¶
func (mr *MockInterfaceMockRecorder) AddrDel(arg0, arg1 interface{}) *gomock.Call
AddrDel indicates an expected call of AddrDel
func (*MockInterfaceMockRecorder) AddrList ¶
func (mr *MockInterfaceMockRecorder) AddrList(arg0, arg1 interface{}) *gomock.Call
AddrList indicates an expected call of AddrList
func (*MockInterfaceMockRecorder) AddrReplace ¶
func (mr *MockInterfaceMockRecorder) AddrReplace(arg0, arg1 interface{}) *gomock.Call
AddrReplace indicates an expected call of AddrReplace
func (*MockInterfaceMockRecorder) LinkByName ¶
func (mr *MockInterfaceMockRecorder) LinkByName(arg0 interface{}) *gomock.Call
LinkByName indicates an expected call of LinkByName
func (*MockInterfaceMockRecorder) NeighDel ¶
func (mr *MockInterfaceMockRecorder) NeighDel(arg0 interface{}) *gomock.Call
NeighDel indicates an expected call of NeighDel
func (*MockInterfaceMockRecorder) NeighList ¶
func (mr *MockInterfaceMockRecorder) NeighList(arg0, arg1 interface{}) *gomock.Call
NeighList indicates an expected call of NeighList
func (*MockInterfaceMockRecorder) NeighSet ¶
func (mr *MockInterfaceMockRecorder) NeighSet(arg0 interface{}) *gomock.Call
NeighSet indicates an expected call of NeighSet
func (*MockInterfaceMockRecorder) RouteDel ¶
func (mr *MockInterfaceMockRecorder) RouteDel(arg0 interface{}) *gomock.Call
RouteDel indicates an expected call of RouteDel
func (*MockInterfaceMockRecorder) RouteList ¶
func (mr *MockInterfaceMockRecorder) RouteList(arg0, arg1 interface{}) *gomock.Call
RouteList indicates an expected call of RouteList
func (*MockInterfaceMockRecorder) RouteListFiltered ¶
func (mr *MockInterfaceMockRecorder) RouteListFiltered(arg0, arg1, arg2 interface{}) *gomock.Call
RouteListFiltered indicates an expected call of RouteListFiltered
func (*MockInterfaceMockRecorder) RouteReplace ¶
func (mr *MockInterfaceMockRecorder) RouteReplace(arg0 interface{}) *gomock.Call
RouteReplace indicates an expected call of RouteReplace