Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SriovnetProvider ¶
SriovnetProvider is an autogenerated mock type for the SriovnetProvider type
func NewSriovnetProvider ¶
func NewSriovnetProvider(t mockConstructorTestingTNewSriovnetProvider) *SriovnetProvider
NewSriovnetProvider creates a new instance of SriovnetProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SriovnetProvider) GetUplinkRepresentor ¶
func (_m *SriovnetProvider) GetUplinkRepresentor(pciAddress string) (string, error)
GetUplinkRepresentor provides a mock function with given fields: pciAddress
func (*SriovnetProvider) GetVfIndexByPciAddress ¶
func (_m *SriovnetProvider) GetVfIndexByPciAddress(vfPciAddress string) (int, error)
GetVfIndexByPciAddress provides a mock function with given fields: vfPciAddress
func (*SriovnetProvider) GetVfRepresentor ¶
func (_m *SriovnetProvider) GetVfRepresentor(uplink string, vfIndex int) (string, error)
GetVfRepresentor provides a mock function with given fields: uplink, vfIndex
Click to show internal directories.
Click to hide internal directories.