netlinkmock

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package netlinkmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHandler

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

MockHandler is a mock of Handler interface

func NewMockHandler

func NewMockHandler(ctrl *gomock.Controller) *MockHandler

NewMockHandler creates a new mock instance

func (*MockHandler) AddrList

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

AddrList mocks base method

func (*MockHandler) Delete

func (m *MockHandler) Delete()

Delete mocks base method

func (*MockHandler) EXPECT

func (m *MockHandler) EXPECT() *MockHandlerMockRecorder

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

func (*MockHandler) LinkAdd

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

LinkAdd mocks base method

func (*MockHandler) LinkByName

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

LinkByName mocks base method

func (*MockHandler) LinkDel

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

LinkDel mocks base method

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

LinkList mocks base method

func (*MockHandler) LinkSetDown

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

LinkSetDown mocks base method

func (*MockHandler) LinkSetHardwareAddr

func (m *MockHandler) LinkSetHardwareAddr(arg0 netlink.Link, arg1 net.HardwareAddr) error

LinkSetHardwareAddr mocks base method

func (*MockHandler) LinkSetMTU

func (m *MockHandler) LinkSetMTU(arg0 netlink.Link, arg1 int) error

LinkSetMTU mocks base method

func (*MockHandler) LinkSetMaster

func (m *MockHandler) LinkSetMaster(arg0 netlink.Link, arg1 *netlink.Bridge) error

LinkSetMaster mocks base method

func (*MockHandler) LinkSetName

func (m *MockHandler) LinkSetName(arg0 netlink.Link, arg1 string) error

LinkSetName mocks base method

func (*MockHandler) LinkSetNsFd

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

LinkSetNsFd mocks base method

func (*MockHandler) LinkSetUp

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

LinkSetUp mocks base method

func (*MockHandler) NeighSet

func (m *MockHandler) NeighSet(arg0 *netlink.Neigh) error

NeighSet mocks base method

type MockHandlerMockRecorder

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

MockHandlerMockRecorder is the mock recorder for MockHandler

func (*MockHandlerMockRecorder) AddrList

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

AddrList indicates an expected call of AddrList

func (*MockHandlerMockRecorder) Delete

func (mr *MockHandlerMockRecorder) Delete() *gomock.Call

Delete indicates an expected call of Delete

func (*MockHandlerMockRecorder) LinkAdd

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

LinkAdd indicates an expected call of LinkAdd

func (*MockHandlerMockRecorder) LinkByName

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

LinkByName indicates an expected call of LinkByName

func (*MockHandlerMockRecorder) LinkDel

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

LinkDel indicates an expected call of LinkDel

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

LinkList indicates an expected call of LinkList

func (*MockHandlerMockRecorder) LinkSetDown

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

LinkSetDown indicates an expected call of LinkSetDown

func (*MockHandlerMockRecorder) LinkSetHardwareAddr

func (mr *MockHandlerMockRecorder) LinkSetHardwareAddr(arg0, arg1 interface{}) *gomock.Call

LinkSetHardwareAddr indicates an expected call of LinkSetHardwareAddr

func (*MockHandlerMockRecorder) LinkSetMTU

func (mr *MockHandlerMockRecorder) LinkSetMTU(arg0, arg1 interface{}) *gomock.Call

LinkSetMTU indicates an expected call of LinkSetMTU

func (*MockHandlerMockRecorder) LinkSetMaster

func (mr *MockHandlerMockRecorder) LinkSetMaster(arg0, arg1 interface{}) *gomock.Call

LinkSetMaster indicates an expected call of LinkSetMaster

func (*MockHandlerMockRecorder) LinkSetName

func (mr *MockHandlerMockRecorder) LinkSetName(arg0, arg1 interface{}) *gomock.Call

LinkSetName indicates an expected call of LinkSetName

func (*MockHandlerMockRecorder) LinkSetNsFd

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

LinkSetNsFd indicates an expected call of LinkSetNsFd

func (*MockHandlerMockRecorder) LinkSetUp

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

LinkSetUp indicates an expected call of LinkSetUp

func (*MockHandlerMockRecorder) NeighSet

func (mr *MockHandlerMockRecorder) NeighSet(arg0 interface{}) *gomock.Call

NeighSet indicates an expected call of NeighSet

Jump to

Keyboard shortcuts

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