mock_dputils

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_dputils is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDPUtilsLib

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

MockDPUtilsLib is a mock of DPUtilsLib interface.

func NewMockDPUtilsLib

func NewMockDPUtilsLib(ctrl *gomock.Controller) *MockDPUtilsLib

NewMockDPUtilsLib creates a new mock instance.

func (*MockDPUtilsLib) EXPECT

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

func (*MockDPUtilsLib) GetDriverName

func (m *MockDPUtilsLib) GetDriverName(pciAddr string) (string, error)

GetDriverName mocks base method.

func (*MockDPUtilsLib) GetNetNames

func (m *MockDPUtilsLib) GetNetNames(pciAddr string) ([]string, error)

GetNetNames mocks base method.

func (*MockDPUtilsLib) GetSriovVFcapacity

func (m *MockDPUtilsLib) GetSriovVFcapacity(pf string) int

GetSriovVFcapacity mocks base method.

func (*MockDPUtilsLib) GetVFID

func (m *MockDPUtilsLib) GetVFID(pciAddr string) (int, error)

GetVFID mocks base method.

func (*MockDPUtilsLib) GetVFList

func (m *MockDPUtilsLib) GetVFList(pf string) ([]string, error)

GetVFList mocks base method.

func (*MockDPUtilsLib) GetVFconfigured

func (m *MockDPUtilsLib) GetVFconfigured(pf string) int

GetVFconfigured mocks base method.

func (*MockDPUtilsLib) IsSriovPF

func (m *MockDPUtilsLib) IsSriovPF(pciAddr string) bool

IsSriovPF mocks base method.

func (*MockDPUtilsLib) IsSriovVF

func (m *MockDPUtilsLib) IsSriovVF(pciAddr string) bool

IsSriovVF mocks base method.

func (*MockDPUtilsLib) SriovConfigured

func (m *MockDPUtilsLib) SriovConfigured(addr string) bool

SriovConfigured mocks base method.

type MockDPUtilsLibMockRecorder

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

MockDPUtilsLibMockRecorder is the mock recorder for MockDPUtilsLib.

func (*MockDPUtilsLibMockRecorder) GetDriverName

func (mr *MockDPUtilsLibMockRecorder) GetDriverName(pciAddr interface{}) *gomock.Call

GetDriverName indicates an expected call of GetDriverName.

func (*MockDPUtilsLibMockRecorder) GetNetNames

func (mr *MockDPUtilsLibMockRecorder) GetNetNames(pciAddr interface{}) *gomock.Call

GetNetNames indicates an expected call of GetNetNames.

func (*MockDPUtilsLibMockRecorder) GetSriovVFcapacity

func (mr *MockDPUtilsLibMockRecorder) GetSriovVFcapacity(pf interface{}) *gomock.Call

GetSriovVFcapacity indicates an expected call of GetSriovVFcapacity.

func (*MockDPUtilsLibMockRecorder) GetVFID

func (mr *MockDPUtilsLibMockRecorder) GetVFID(pciAddr interface{}) *gomock.Call

GetVFID indicates an expected call of GetVFID.

func (*MockDPUtilsLibMockRecorder) GetVFList

func (mr *MockDPUtilsLibMockRecorder) GetVFList(pf interface{}) *gomock.Call

GetVFList indicates an expected call of GetVFList.

func (*MockDPUtilsLibMockRecorder) GetVFconfigured

func (mr *MockDPUtilsLibMockRecorder) GetVFconfigured(pf interface{}) *gomock.Call

GetVFconfigured indicates an expected call of GetVFconfigured.

func (*MockDPUtilsLibMockRecorder) IsSriovPF

func (mr *MockDPUtilsLibMockRecorder) IsSriovPF(pciAddr interface{}) *gomock.Call

IsSriovPF indicates an expected call of IsSriovPF.

func (*MockDPUtilsLibMockRecorder) IsSriovVF

func (mr *MockDPUtilsLibMockRecorder) IsSriovVF(pciAddr interface{}) *gomock.Call

IsSriovVF indicates an expected call of IsSriovVF.

func (*MockDPUtilsLibMockRecorder) SriovConfigured

func (mr *MockDPUtilsLibMockRecorder) SriovConfigured(addr interface{}) *gomock.Call

SriovConfigured indicates an expected call of SriovConfigured.

Jump to

Keyboard shortcuts

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