mocks

package
v0.0.0-...-7519094 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetlinkManager

type NetlinkManager struct {
	mock.Mock
}

NetlinkManager is an autogenerated mock type for the NetlinkManager type

func (*NetlinkManager) LinkAdd

func (_m *NetlinkManager) LinkAdd(link netlink.Link) error

LinkAdd provides a mock function with given fields: link

func (*NetlinkManager) LinkByName

func (_m *NetlinkManager) LinkByName(_a0 string) (netlink.Link, error)

LinkByName provides a mock function with given fields: _a0

func (*NetlinkManager) LinkDel

func (_m *NetlinkManager) LinkDel(link netlink.Link) error

LinkDel provides a mock function with given fields: link

func (*NetlinkManager) LinkSetDown

func (_m *NetlinkManager) LinkSetDown(_a0 netlink.Link) error

LinkSetDown provides a mock function with given fields: _a0

func (*NetlinkManager) LinkSetName

func (_m *NetlinkManager) LinkSetName(_a0 netlink.Link, _a1 string) error

LinkSetName provides a mock function with given fields: _a0, _a1

func (*NetlinkManager) LinkSetNsFd

func (_m *NetlinkManager) LinkSetNsFd(_a0 netlink.Link, _a1 int) error

LinkSetNsFd provides a mock function with given fields: _a0, _a1

func (*NetlinkManager) LinkSetUp

func (_m *NetlinkManager) LinkSetUp(_a0 netlink.Link) error

LinkSetUp provides a mock function with given fields: _a0

func (*NetlinkManager) SetSysVal

func (_m *NetlinkManager) SetSysVal(attribute string, value string) (string, error)

SetSysVal provides a mock function with given fields: attribute, value

Jump to

Keyboard shortcuts

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