mock_netlinkwrapper

package
v1.44.4 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 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) 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