mock_netlinkwrapper

package
v1.17.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2018 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 2 Imported by: 0

Documentation

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
}

Mock of NetLink interface

func NewMockNetLink(ctrl *gomock.Controller) *MockNetLink

func (*MockNetLink) EXPECT

func (_m *MockNetLink) EXPECT() *_MockNetLinkRecorder

func (*MockNetLink) LinkByName

func (_m *MockNetLink) LinkByName(_param0 string) (netlink.Link, error)
func (_m *MockNetLink) LinkList() ([]netlink.Link, error)

Jump to

Keyboard shortcuts

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