mock_netlinkwrapper

package
v1.50.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) EXPECT

func (m *MockNetLink) EXPECT() *MockNetLinkMockRecorder

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

func (*MockNetLink) LinkByName

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

LinkByName mocks base method

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

LinkList mocks base method

type MockNetLinkMockRecorder added in v1.17.3

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

MockNetLinkMockRecorder is the mock recorder for MockNetLink

func (*MockNetLinkMockRecorder) LinkByName added in v1.17.3

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

LinkByName indicates an expected call of LinkByName

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

LinkList indicates an expected call of LinkList

Jump to

Keyboard shortcuts

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