Documentation ¶
Overview ¶
Package mock_dputils is a generated GoMock package.
Index ¶
- type MockDPUtilsLib
- func (m *MockDPUtilsLib) EXPECT() *MockDPUtilsLibMockRecorder
- func (m *MockDPUtilsLib) GetDriverName(pciAddr string) (string, error)
- func (m *MockDPUtilsLib) GetNetNames(pciAddr string) ([]string, error)
- func (m *MockDPUtilsLib) GetSriovVFcapacity(pf string) int
- func (m *MockDPUtilsLib) GetVFID(pciAddr string) (int, error)
- func (m *MockDPUtilsLib) GetVFList(pf string) ([]string, error)
- func (m *MockDPUtilsLib) GetVFconfigured(pf string) int
- func (m *MockDPUtilsLib) IsSriovPF(pciAddr string) bool
- func (m *MockDPUtilsLib) IsSriovVF(pciAddr string) bool
- func (m *MockDPUtilsLib) SriovConfigured(addr string) bool
- type MockDPUtilsLibMockRecorder
- func (mr *MockDPUtilsLibMockRecorder) GetDriverName(pciAddr interface{}) *gomock.Call
- func (mr *MockDPUtilsLibMockRecorder) GetNetNames(pciAddr interface{}) *gomock.Call
- func (mr *MockDPUtilsLibMockRecorder) GetSriovVFcapacity(pf interface{}) *gomock.Call
- func (mr *MockDPUtilsLibMockRecorder) GetVFID(pciAddr interface{}) *gomock.Call
- func (mr *MockDPUtilsLibMockRecorder) GetVFList(pf interface{}) *gomock.Call
- func (mr *MockDPUtilsLibMockRecorder) GetVFconfigured(pf interface{}) *gomock.Call
- func (mr *MockDPUtilsLibMockRecorder) IsSriovPF(pciAddr interface{}) *gomock.Call
- func (mr *MockDPUtilsLibMockRecorder) IsSriovVF(pciAddr interface{}) *gomock.Call
- func (mr *MockDPUtilsLibMockRecorder) SriovConfigured(addr interface{}) *gomock.Call
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 ¶
func (m *MockDPUtilsLib) EXPECT() *MockDPUtilsLibMockRecorder
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.