mock_netlinkwrapper

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_netlinkwrapper is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNetLink struct {
	// contains filtered or unexported fields
}

MockNetLink is a mock of NetLink interface

func NewMockNetLink(ctrl *gomock.Controller) *MockNetLink

NewMockNetLink creates a new mock instance

func (*MockNetLink) AddrAdd

func (m *MockNetLink) AddrAdd(arg0 netlink.Link, arg1 *netlink.Addr) error

AddrAdd mocks base method

func (*MockNetLink) AddrList

func (m *MockNetLink) AddrList(arg0 netlink.Link, arg1 int) ([]netlink.Addr, error)

AddrList mocks base method

func (*MockNetLink) EXPECT

func (m *MockNetLink) EXPECT() *MockNetLinkMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockNetLink) LinkAdd

func (m *MockNetLink) LinkAdd(arg0 netlink.Link) error

LinkAdd mocks base method

func (*MockNetLink) LinkByName

func (m *MockNetLink) LinkByName(arg0 string) (netlink.Link, error)

LinkByName mocks base method

func (*MockNetLink) LinkDel

func (m *MockNetLink) LinkDel(arg0 netlink.Link) error

LinkDel mocks base method

func (m *MockNetLink) LinkList() ([]netlink.Link, error)

LinkList mocks base method

func (*MockNetLink) LinkSetDown

func (m *MockNetLink) LinkSetDown(arg0 netlink.Link) error

LinkSetDown mocks base method

func (*MockNetLink) LinkSetNsFd

func (m *MockNetLink) LinkSetNsFd(arg0 netlink.Link, arg1 int) error

LinkSetNsFd mocks base method

func (*MockNetLink) LinkSetUp

func (m *MockNetLink) LinkSetUp(arg0 netlink.Link) error

LinkSetUp mocks base method

func (*MockNetLink) NeighAdd

func (m *MockNetLink) NeighAdd(arg0 *netlink.Neigh) error

NeighAdd mocks base method

func (*MockNetLink) NewRule

func (m *MockNetLink) NewRule() *netlink.Rule

NewRule mocks base method

func (*MockNetLink) ParseAddr

func (m *MockNetLink) ParseAddr(arg0 string) (*netlink.Addr, error)

ParseAddr mocks base method

func (*MockNetLink) RouteAdd

func (m *MockNetLink) RouteAdd(arg0 *netlink.Route) error

RouteAdd mocks base method

func (*MockNetLink) RouteDel

func (m *MockNetLink) RouteDel(arg0 *netlink.Route) error

RouteDel mocks base method

func (*MockNetLink) RouteList

func (m *MockNetLink) RouteList(arg0 netlink.Link, arg1 int) ([]netlink.Route, error)

RouteList mocks base method

func (*MockNetLink) RuleAdd

func (m *MockNetLink) RuleAdd(arg0 *netlink.Rule) error

RuleAdd mocks base method

func (*MockNetLink) RuleDel

func (m *MockNetLink) RuleDel(arg0 *netlink.Rule) error

RuleDel mocks base method

type MockNetLinkMockRecorder

type MockNetLinkMockRecorder struct {
	// contains filtered or unexported fields
}

MockNetLinkMockRecorder is the mock recorder for MockNetLink

func (*MockNetLinkMockRecorder) AddrAdd

func (mr *MockNetLinkMockRecorder) AddrAdd(arg0, arg1 interface{}) *gomock.Call

AddrAdd indicates an expected call of AddrAdd

func (*MockNetLinkMockRecorder) AddrList

func (mr *MockNetLinkMockRecorder) AddrList(arg0, arg1 interface{}) *gomock.Call

AddrList indicates an expected call of AddrList

func (*MockNetLinkMockRecorder) LinkAdd

func (mr *MockNetLinkMockRecorder) LinkAdd(arg0 interface{}) *gomock.Call

LinkAdd indicates an expected call of LinkAdd

func (*MockNetLinkMockRecorder) LinkByName

func (mr *MockNetLinkMockRecorder) LinkByName(arg0 interface{}) *gomock.Call

LinkByName indicates an expected call of LinkByName

func (*MockNetLinkMockRecorder) LinkDel

func (mr *MockNetLinkMockRecorder) LinkDel(arg0 interface{}) *gomock.Call

LinkDel indicates an expected call of LinkDel

func (mr *MockNetLinkMockRecorder) LinkList() *gomock.Call

LinkList indicates an expected call of LinkList

func (*MockNetLinkMockRecorder) LinkSetDown

func (mr *MockNetLinkMockRecorder) LinkSetDown(arg0 interface{}) *gomock.Call

LinkSetDown indicates an expected call of LinkSetDown

func (*MockNetLinkMockRecorder) LinkSetNsFd

func (mr *MockNetLinkMockRecorder) LinkSetNsFd(arg0, arg1 interface{}) *gomock.Call

LinkSetNsFd indicates an expected call of LinkSetNsFd

func (*MockNetLinkMockRecorder) LinkSetUp

func (mr *MockNetLinkMockRecorder) LinkSetUp(arg0 interface{}) *gomock.Call

LinkSetUp indicates an expected call of LinkSetUp

func (*MockNetLinkMockRecorder) NeighAdd

func (mr *MockNetLinkMockRecorder) NeighAdd(arg0 interface{}) *gomock.Call

NeighAdd indicates an expected call of NeighAdd

func (*MockNetLinkMockRecorder) NewRule

func (mr *MockNetLinkMockRecorder) NewRule() *gomock.Call

NewRule indicates an expected call of NewRule

func (*MockNetLinkMockRecorder) ParseAddr

func (mr *MockNetLinkMockRecorder) ParseAddr(arg0 interface{}) *gomock.Call

ParseAddr indicates an expected call of ParseAddr

func (*MockNetLinkMockRecorder) RouteAdd

func (mr *MockNetLinkMockRecorder) RouteAdd(arg0 interface{}) *gomock.Call

RouteAdd indicates an expected call of RouteAdd

func (*MockNetLinkMockRecorder) RouteDel

func (mr *MockNetLinkMockRecorder) RouteDel(arg0 interface{}) *gomock.Call

RouteDel indicates an expected call of RouteDel

func (*MockNetLinkMockRecorder) RouteList

func (mr *MockNetLinkMockRecorder) RouteList(arg0, arg1 interface{}) *gomock.Call

RouteList indicates an expected call of RouteList

func (*MockNetLinkMockRecorder) RuleAdd

func (mr *MockNetLinkMockRecorder) RuleAdd(arg0 interface{}) *gomock.Call

RuleAdd indicates an expected call of RuleAdd

func (*MockNetLinkMockRecorder) RuleDel

func (mr *MockNetLinkMockRecorder) RuleDel(arg0 interface{}) *gomock.Call

RuleDel indicates an expected call of RuleDel

Jump to

Keyboard shortcuts

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