mock_netlinkwrapper

package
v0.0.0-...-b702281 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 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 (*MockNetLink) LinkSetUp

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

LinkSetUp mocks base method.

type MockNetLinkMockRecorder

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

MockNetLinkMockRecorder is the mock recorder for MockNetLink.

func (*MockNetLinkMockRecorder) LinkByName

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

LinkByName indicates an expected call of LinkByName.

func (*MockNetLinkMockRecorder) LinkSetUp

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

LinkSetUp indicates an expected call of LinkSetUp.

Jump to

Keyboard shortcuts

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