Documentation ¶
Overview ¶
Package mock_helper is a generated GoMock package.
Index ¶
- type MockHostHelpersInterface
- func (m *MockHostHelpersInterface) AddDisableNMUdevRule(pfPciAddress string) error
- func (m *MockHostHelpersInterface) AddPersistPFNameUdevRule(pfPciAddress, pfName string) error
- func (m *MockHostHelpersInterface) AddVfRepresentorUdevRule(pfPciAddress, pfName, pfSwitchID, pfSwitchPort string) error
- func (m *MockHostHelpersInterface) BindDefaultDriver(pciAddr string) error
- func (m *MockHostHelpersInterface) BindDpdkDriver(pciAddr, driver string) error
- func (m *MockHostHelpersInterface) BindDriverByBusAndDevice(bus, device, driver string) error
- func (m *MockHostHelpersInterface) CheckRDMAEnabled() (bool, error)
- func (m *MockHostHelpersInterface) Chroot(arg0 string) (func() error, error)
- func (m *MockHostHelpersInterface) ClearPCIAddressFolder() error
- func (m *MockHostHelpersInterface) CompareServices(serviceA, serviceB *types.Service) (bool, error)
- func (m *MockHostHelpersInterface) ConfigSriovDeviceVirtual(iface *v1.Interface) error
- func (m *MockHostHelpersInterface) ConfigSriovInterfaces(storeManager store.ManagerInterface, interfaces []v1.Interface, ...) error
- func (m *MockHostHelpersInterface) ConfigureBridges(bridgesSpec, bridgesStatus v1.Bridges) error
- func (m *MockHostHelpersInterface) ConfigureVfGUID(vfAddr, pfAddr string, vfID int, pfLink netlink.Link) error
- func (m *MockHostHelpersInterface) CreateVDPADevice(pciAddr, vdpaType string) error
- func (m *MockHostHelpersInterface) DeleteVDPADevice(pciAddr string) error
- func (m *MockHostHelpersInterface) DetachInterfaceFromManagedBridge(pciAddr string) error
- func (m *MockHostHelpersInterface) DiscoverBridges() (v1.Bridges, error)
- func (m *MockHostHelpersInterface) DiscoverSriovDevices(storeManager store.ManagerInterface) ([]v1.InterfaceExt, error)
- func (m *MockHostHelpersInterface) DiscoverVDPAType(pciAddr string) string
- func (m *MockHostHelpersInterface) EXPECT() *MockHostHelpersInterfaceMockRecorder
- func (m *MockHostHelpersInterface) EnableHwTcOffload(ifaceName string) error
- func (m *MockHostHelpersInterface) EnableService(service *types.Service) error
- func (m *MockHostHelpersInterface) GetCheckPointNodeState() (*v1.SriovNetworkNodeState, error)
- func (m *MockHostHelpersInterface) GetCurrentKernelArgs() (string, error)
- func (m *MockHostHelpersInterface) GetDevlinkDeviceParam(pciAddr, paramName string) (string, error)
- func (m *MockHostHelpersInterface) GetDriverByBusAndDevice(bus, device string) (string, error)
- func (m *MockHostHelpersInterface) GetInterfaceIndex(pciAddr string) (int, error)
- func (m *MockHostHelpersInterface) GetLinkType(name string) string
- func (m *MockHostHelpersInterface) GetMellanoxBlueFieldMode(arg0 string) (mlxutils.BlueFieldMode, error)
- func (m *MockHostHelpersInterface) GetMlxNicFwData(pciAddress string) (*mlxutils.MlxNic, *mlxutils.MlxNic, error)
- func (m *MockHostHelpersInterface) GetNetDevLinkAdminState(ifaceName string) string
- func (m *MockHostHelpersInterface) GetNetDevLinkSpeed(name string) string
- func (m *MockHostHelpersInterface) GetNetDevMac(name string) string
- func (m *MockHostHelpersInterface) GetNetDevNodeGUID(pciAddr string) string
- func (m *MockHostHelpersInterface) GetNetdevMTU(pciAddr string) int
- func (m *MockHostHelpersInterface) GetNicSriovMode(pciAddr string) string
- func (m *MockHostHelpersInterface) GetPciAddressFromInterfaceName(interfaceName string) (string, error)
- func (m *MockHostHelpersInterface) GetPhysPortName(name string) (string, error)
- func (m *MockHostHelpersInterface) GetPhysSwitchID(name string) (string, error)
- func (m *MockHostHelpersInterface) HasDriver(pciAddr string) (bool, string)
- func (m *MockHostHelpersInterface) IsKernelArgsSet(cmdLine, karg string) bool
- func (m *MockHostHelpersInterface) IsKernelLockdownMode() bool
- func (m *MockHostHelpersInterface) IsKernelModuleLoaded(name string) (bool, error)
- func (m *MockHostHelpersInterface) IsServiceEnabled(servicePath string) (bool, error)
- func (m *MockHostHelpersInterface) IsServiceExist(servicePath string) (bool, error)
- func (m *MockHostHelpersInterface) IsSwitchdev(name string) bool
- func (m *MockHostHelpersInterface) LoadKernelModule(name string, args ...string) error
- func (m *MockHostHelpersInterface) LoadPfsStatus(pciAddress string) (*v1.Interface, bool, error)
- func (m *MockHostHelpersInterface) LoadUdevRules() error
- func (m *MockHostHelpersInterface) MlxConfigFW(attributesToChange map[string]mlxutils.MlxNic) error
- func (m *MockHostHelpersInterface) MlxResetFW(pciAddresses []string) error
- func (m *MockHostHelpersInterface) MstConfigReadData(arg0 string) (string, string, error)
- func (m *MockHostHelpersInterface) PrepareNMUdevRule(supportedVfIds []string) error
- func (m *MockHostHelpersInterface) PrepareVFRepUdevRule() error
- func (m *MockHostHelpersInterface) ReadService(servicePath string) (*types.Service, error)
- func (m *MockHostHelpersInterface) ReadServiceInjectionManifestFile(path string) (*types.Service, error)
- func (m *MockHostHelpersInterface) ReadServiceManifestFile(path string) (*types.Service, error)
- func (m *MockHostHelpersInterface) RebindVfToDefaultDriver(pciAddr string) error
- func (m *MockHostHelpersInterface) RemoveDisableNMUdevRule(pfPciAddress string) error
- func (m *MockHostHelpersInterface) RemovePersistPFNameUdevRule(pfPciAddress string) error
- func (m *MockHostHelpersInterface) RemovePfAppliedStatus(pciAddress string) error
- func (m *MockHostHelpersInterface) RemoveVfRepresentorUdevRule(pfPciAddress string) error
- func (m *MockHostHelpersInterface) ResetSriovDevice(ifaceStatus v1.InterfaceExt) error
- func (m *MockHostHelpersInterface) RunCommand(arg0 string, arg1 ...string) (string, string, error)
- func (m *MockHostHelpersInterface) SaveLastPfAppliedStatus(PfInfo *v1.Interface) error
- func (m *MockHostHelpersInterface) SetDevlinkDeviceParam(pciAddr, paramName, value string) error
- func (m *MockHostHelpersInterface) SetNetdevMTU(pciAddr string, mtu int) error
- func (m *MockHostHelpersInterface) SetNicSriovMode(pciAddr, mode string) error
- func (m *MockHostHelpersInterface) SetSriovNumVfs(pciAddr string, numVfs int) error
- func (m *MockHostHelpersInterface) SetVfAdminMac(vfAddr string, pfLink, vfLink netlink.Link) error
- func (m *MockHostHelpersInterface) TryEnableTun()
- func (m *MockHostHelpersInterface) TryEnableVhostNet()
- func (m *MockHostHelpersInterface) TryGetInterfaceName(pciAddr string) string
- func (m *MockHostHelpersInterface) TryToGetVirtualInterfaceName(pciAddr string) string
- func (m *MockHostHelpersInterface) Unbind(pciAddr string) error
- func (m *MockHostHelpersInterface) UnbindDriverByBusAndDevice(bus, device string) error
- func (m *MockHostHelpersInterface) UnbindDriverIfNeeded(pciAddr string, isRdma bool) error
- func (m *MockHostHelpersInterface) UpdateSystemService(serviceObj *types.Service) error
- func (m *MockHostHelpersInterface) VFIsReady(pciAddr string) (netlink.Link, error)
- func (m *MockHostHelpersInterface) WriteCheckpointFile(arg0 *v1.SriovNetworkNodeState) error
- type MockHostHelpersInterfaceMockRecorder
- func (mr *MockHostHelpersInterfaceMockRecorder) AddDisableNMUdevRule(pfPciAddress interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) AddPersistPFNameUdevRule(pfPciAddress, pfName interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) AddVfRepresentorUdevRule(pfPciAddress, pfName, pfSwitchID, pfSwitchPort interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) BindDefaultDriver(pciAddr interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) BindDpdkDriver(pciAddr, driver interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) BindDriverByBusAndDevice(bus, device, driver interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) CheckRDMAEnabled() *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) Chroot(arg0 interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) ClearPCIAddressFolder() *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) CompareServices(serviceA, serviceB interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) ConfigSriovDeviceVirtual(iface interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) ConfigSriovInterfaces(storeManager, interfaces, ifaceStatuses, skipVFConfiguration interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) ConfigureBridges(bridgesSpec, bridgesStatus interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) ConfigureVfGUID(vfAddr, pfAddr, vfID, pfLink interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) CreateVDPADevice(pciAddr, vdpaType interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) DeleteVDPADevice(pciAddr interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) DetachInterfaceFromManagedBridge(pciAddr interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) DiscoverBridges() *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) DiscoverSriovDevices(storeManager interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) DiscoverVDPAType(pciAddr interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) EnableHwTcOffload(ifaceName interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) EnableService(service interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetCheckPointNodeState() *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetCurrentKernelArgs() *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetDevlinkDeviceParam(pciAddr, paramName interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetDriverByBusAndDevice(bus, device interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetInterfaceIndex(pciAddr interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetLinkType(name interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetMellanoxBlueFieldMode(arg0 interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetMlxNicFwData(pciAddress interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetNetDevLinkAdminState(ifaceName interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetNetDevLinkSpeed(name interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetNetDevMac(name interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetNetDevNodeGUID(pciAddr interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetNetdevMTU(pciAddr interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetNicSriovMode(pciAddr interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetPciAddressFromInterfaceName(interfaceName interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetPhysPortName(name interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) GetPhysSwitchID(name interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) HasDriver(pciAddr interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) IsKernelArgsSet(cmdLine, karg interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) IsKernelLockdownMode() *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) IsKernelModuleLoaded(name interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) IsServiceEnabled(servicePath interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) IsServiceExist(servicePath interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) IsSwitchdev(name interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) LoadKernelModule(name interface{}, args ...interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) LoadPfsStatus(pciAddress interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) LoadUdevRules() *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) MlxConfigFW(attributesToChange interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) MlxResetFW(pciAddresses interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) MstConfigReadData(arg0 interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) PrepareNMUdevRule(supportedVfIds interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) PrepareVFRepUdevRule() *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) ReadService(servicePath interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) ReadServiceInjectionManifestFile(path interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) ReadServiceManifestFile(path interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) RebindVfToDefaultDriver(pciAddr interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) RemoveDisableNMUdevRule(pfPciAddress interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) RemovePersistPFNameUdevRule(pfPciAddress interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) RemovePfAppliedStatus(pciAddress interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) RemoveVfRepresentorUdevRule(pfPciAddress interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) ResetSriovDevice(ifaceStatus interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) RunCommand(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) SaveLastPfAppliedStatus(PfInfo interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) SetDevlinkDeviceParam(pciAddr, paramName, value interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) SetNetdevMTU(pciAddr, mtu interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) SetNicSriovMode(pciAddr, mode interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) SetSriovNumVfs(pciAddr, numVfs interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) SetVfAdminMac(vfAddr, pfLink, vfLink interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) TryEnableTun() *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) TryEnableVhostNet() *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) TryGetInterfaceName(pciAddr interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) TryToGetVirtualInterfaceName(pciAddr interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) Unbind(pciAddr interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) UnbindDriverByBusAndDevice(bus, device interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) UnbindDriverIfNeeded(pciAddr, isRdma interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) UpdateSystemService(serviceObj interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) VFIsReady(pciAddr interface{}) *gomock.Call
- func (mr *MockHostHelpersInterfaceMockRecorder) WriteCheckpointFile(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHostHelpersInterface ¶
type MockHostHelpersInterface struct {
// contains filtered or unexported fields
}
MockHostHelpersInterface is a mock of HostHelpersInterface interface.
func NewMockHostHelpersInterface ¶
func NewMockHostHelpersInterface(ctrl *gomock.Controller) *MockHostHelpersInterface
NewMockHostHelpersInterface creates a new mock instance.
func (*MockHostHelpersInterface) AddDisableNMUdevRule ¶
func (m *MockHostHelpersInterface) AddDisableNMUdevRule(pfPciAddress string) error
AddDisableNMUdevRule mocks base method.
func (*MockHostHelpersInterface) AddPersistPFNameUdevRule ¶
func (m *MockHostHelpersInterface) AddPersistPFNameUdevRule(pfPciAddress, pfName string) error
AddPersistPFNameUdevRule mocks base method.
func (*MockHostHelpersInterface) AddVfRepresentorUdevRule ¶
func (m *MockHostHelpersInterface) AddVfRepresentorUdevRule(pfPciAddress, pfName, pfSwitchID, pfSwitchPort string) error
AddVfRepresentorUdevRule mocks base method.
func (*MockHostHelpersInterface) BindDefaultDriver ¶
func (m *MockHostHelpersInterface) BindDefaultDriver(pciAddr string) error
BindDefaultDriver mocks base method.
func (*MockHostHelpersInterface) BindDpdkDriver ¶
func (m *MockHostHelpersInterface) BindDpdkDriver(pciAddr, driver string) error
BindDpdkDriver mocks base method.
func (*MockHostHelpersInterface) BindDriverByBusAndDevice ¶
func (m *MockHostHelpersInterface) BindDriverByBusAndDevice(bus, device, driver string) error
BindDriverByBusAndDevice mocks base method.
func (*MockHostHelpersInterface) CheckRDMAEnabled ¶ added in v1.4.0
func (m *MockHostHelpersInterface) CheckRDMAEnabled() (bool, error)
CheckRDMAEnabled mocks base method.
func (*MockHostHelpersInterface) Chroot ¶
func (m *MockHostHelpersInterface) Chroot(arg0 string) (func() error, error)
Chroot mocks base method.
func (*MockHostHelpersInterface) ClearPCIAddressFolder ¶
func (m *MockHostHelpersInterface) ClearPCIAddressFolder() error
ClearPCIAddressFolder mocks base method.
func (*MockHostHelpersInterface) CompareServices ¶
func (m *MockHostHelpersInterface) CompareServices(serviceA, serviceB *types.Service) (bool, error)
CompareServices mocks base method.
func (*MockHostHelpersInterface) ConfigSriovDeviceVirtual ¶
func (m *MockHostHelpersInterface) ConfigSriovDeviceVirtual(iface *v1.Interface) error
ConfigSriovDeviceVirtual mocks base method.
func (*MockHostHelpersInterface) ConfigSriovInterfaces ¶
func (m *MockHostHelpersInterface) ConfigSriovInterfaces(storeManager store.ManagerInterface, interfaces []v1.Interface, ifaceStatuses []v1.InterfaceExt, skipVFConfiguration bool) error
ConfigSriovInterfaces mocks base method.
func (*MockHostHelpersInterface) ConfigureBridges ¶ added in v1.4.0
func (m *MockHostHelpersInterface) ConfigureBridges(bridgesSpec, bridgesStatus v1.Bridges) error
ConfigureBridges mocks base method.
func (*MockHostHelpersInterface) ConfigureVfGUID ¶ added in v1.4.0
func (m *MockHostHelpersInterface) ConfigureVfGUID(vfAddr, pfAddr string, vfID int, pfLink netlink.Link) error
ConfigureVfGUID mocks base method.
func (*MockHostHelpersInterface) CreateVDPADevice ¶
func (m *MockHostHelpersInterface) CreateVDPADevice(pciAddr, vdpaType string) error
CreateVDPADevice mocks base method.
func (*MockHostHelpersInterface) DeleteVDPADevice ¶
func (m *MockHostHelpersInterface) DeleteVDPADevice(pciAddr string) error
DeleteVDPADevice mocks base method.
func (*MockHostHelpersInterface) DetachInterfaceFromManagedBridge ¶ added in v1.4.0
func (m *MockHostHelpersInterface) DetachInterfaceFromManagedBridge(pciAddr string) error
DetachInterfaceFromManagedBridge mocks base method.
func (*MockHostHelpersInterface) DiscoverBridges ¶ added in v1.4.0
func (m *MockHostHelpersInterface) DiscoverBridges() (v1.Bridges, error)
DiscoverBridges mocks base method.
func (*MockHostHelpersInterface) DiscoverSriovDevices ¶
func (m *MockHostHelpersInterface) DiscoverSriovDevices(storeManager store.ManagerInterface) ([]v1.InterfaceExt, error)
DiscoverSriovDevices mocks base method.
func (*MockHostHelpersInterface) DiscoverVDPAType ¶
func (m *MockHostHelpersInterface) DiscoverVDPAType(pciAddr string) string
DiscoverVDPAType mocks base method.
func (*MockHostHelpersInterface) EXPECT ¶
func (m *MockHostHelpersInterface) EXPECT() *MockHostHelpersInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHostHelpersInterface) EnableHwTcOffload ¶
func (m *MockHostHelpersInterface) EnableHwTcOffload(ifaceName string) error
EnableHwTcOffload mocks base method.
func (*MockHostHelpersInterface) EnableService ¶
func (m *MockHostHelpersInterface) EnableService(service *types.Service) error
EnableService mocks base method.
func (*MockHostHelpersInterface) GetCheckPointNodeState ¶
func (m *MockHostHelpersInterface) GetCheckPointNodeState() (*v1.SriovNetworkNodeState, error)
GetCheckPointNodeState mocks base method.
func (*MockHostHelpersInterface) GetCurrentKernelArgs ¶
func (m *MockHostHelpersInterface) GetCurrentKernelArgs() (string, error)
GetCurrentKernelArgs mocks base method.
func (*MockHostHelpersInterface) GetDevlinkDeviceParam ¶
func (m *MockHostHelpersInterface) GetDevlinkDeviceParam(pciAddr, paramName string) (string, error)
GetDevlinkDeviceParam mocks base method.
func (*MockHostHelpersInterface) GetDriverByBusAndDevice ¶
func (m *MockHostHelpersInterface) GetDriverByBusAndDevice(bus, device string) (string, error)
GetDriverByBusAndDevice mocks base method.
func (*MockHostHelpersInterface) GetInterfaceIndex ¶ added in v1.4.0
func (m *MockHostHelpersInterface) GetInterfaceIndex(pciAddr string) (int, error)
GetInterfaceIndex mocks base method.
func (*MockHostHelpersInterface) GetLinkType ¶
func (m *MockHostHelpersInterface) GetLinkType(name string) string
GetLinkType mocks base method.
func (*MockHostHelpersInterface) GetMellanoxBlueFieldMode ¶
func (m *MockHostHelpersInterface) GetMellanoxBlueFieldMode(arg0 string) (mlxutils.BlueFieldMode, error)
GetMellanoxBlueFieldMode mocks base method.
func (*MockHostHelpersInterface) GetMlxNicFwData ¶
func (m *MockHostHelpersInterface) GetMlxNicFwData(pciAddress string) (*mlxutils.MlxNic, *mlxutils.MlxNic, error)
GetMlxNicFwData mocks base method.
func (*MockHostHelpersInterface) GetNetDevLinkAdminState ¶
func (m *MockHostHelpersInterface) GetNetDevLinkAdminState(ifaceName string) string
GetNetDevLinkAdminState mocks base method.
func (*MockHostHelpersInterface) GetNetDevLinkSpeed ¶
func (m *MockHostHelpersInterface) GetNetDevLinkSpeed(name string) string
GetNetDevLinkSpeed mocks base method.
func (*MockHostHelpersInterface) GetNetDevMac ¶
func (m *MockHostHelpersInterface) GetNetDevMac(name string) string
GetNetDevMac mocks base method.
func (*MockHostHelpersInterface) GetNetDevNodeGUID ¶
func (m *MockHostHelpersInterface) GetNetDevNodeGUID(pciAddr string) string
GetNetDevNodeGUID mocks base method.
func (*MockHostHelpersInterface) GetNetdevMTU ¶
func (m *MockHostHelpersInterface) GetNetdevMTU(pciAddr string) int
GetNetdevMTU mocks base method.
func (*MockHostHelpersInterface) GetNicSriovMode ¶
func (m *MockHostHelpersInterface) GetNicSriovMode(pciAddr string) string
GetNicSriovMode mocks base method.
func (*MockHostHelpersInterface) GetPciAddressFromInterfaceName ¶ added in v1.4.0
func (m *MockHostHelpersInterface) GetPciAddressFromInterfaceName(interfaceName string) (string, error)
GetPciAddressFromInterfaceName mocks base method.
func (*MockHostHelpersInterface) GetPhysPortName ¶
func (m *MockHostHelpersInterface) GetPhysPortName(name string) (string, error)
GetPhysPortName mocks base method.
func (*MockHostHelpersInterface) GetPhysSwitchID ¶
func (m *MockHostHelpersInterface) GetPhysSwitchID(name string) (string, error)
GetPhysSwitchID mocks base method.
func (*MockHostHelpersInterface) HasDriver ¶
func (m *MockHostHelpersInterface) HasDriver(pciAddr string) (bool, string)
HasDriver mocks base method.
func (*MockHostHelpersInterface) IsKernelArgsSet ¶
func (m *MockHostHelpersInterface) IsKernelArgsSet(cmdLine, karg string) bool
IsKernelArgsSet mocks base method.
func (*MockHostHelpersInterface) IsKernelLockdownMode ¶
func (m *MockHostHelpersInterface) IsKernelLockdownMode() bool
IsKernelLockdownMode mocks base method.
func (*MockHostHelpersInterface) IsKernelModuleLoaded ¶
func (m *MockHostHelpersInterface) IsKernelModuleLoaded(name string) (bool, error)
IsKernelModuleLoaded mocks base method.
func (*MockHostHelpersInterface) IsServiceEnabled ¶
func (m *MockHostHelpersInterface) IsServiceEnabled(servicePath string) (bool, error)
IsServiceEnabled mocks base method.
func (*MockHostHelpersInterface) IsServiceExist ¶
func (m *MockHostHelpersInterface) IsServiceExist(servicePath string) (bool, error)
IsServiceExist mocks base method.
func (*MockHostHelpersInterface) IsSwitchdev ¶
func (m *MockHostHelpersInterface) IsSwitchdev(name string) bool
IsSwitchdev mocks base method.
func (*MockHostHelpersInterface) LoadKernelModule ¶
func (m *MockHostHelpersInterface) LoadKernelModule(name string, args ...string) error
LoadKernelModule mocks base method.
func (*MockHostHelpersInterface) LoadPfsStatus ¶
LoadPfsStatus mocks base method.
func (*MockHostHelpersInterface) LoadUdevRules ¶
func (m *MockHostHelpersInterface) LoadUdevRules() error
LoadUdevRules mocks base method.
func (*MockHostHelpersInterface) MlxConfigFW ¶
func (m *MockHostHelpersInterface) MlxConfigFW(attributesToChange map[string]mlxutils.MlxNic) error
MlxConfigFW mocks base method.
func (*MockHostHelpersInterface) MlxResetFW ¶ added in v1.4.0
func (m *MockHostHelpersInterface) MlxResetFW(pciAddresses []string) error
MlxResetFW mocks base method.
func (*MockHostHelpersInterface) MstConfigReadData ¶
func (m *MockHostHelpersInterface) MstConfigReadData(arg0 string) (string, string, error)
MstConfigReadData mocks base method.
func (*MockHostHelpersInterface) PrepareNMUdevRule ¶
func (m *MockHostHelpersInterface) PrepareNMUdevRule(supportedVfIds []string) error
PrepareNMUdevRule mocks base method.
func (*MockHostHelpersInterface) PrepareVFRepUdevRule ¶
func (m *MockHostHelpersInterface) PrepareVFRepUdevRule() error
PrepareVFRepUdevRule mocks base method.
func (*MockHostHelpersInterface) ReadService ¶
func (m *MockHostHelpersInterface) ReadService(servicePath string) (*types.Service, error)
ReadService mocks base method.
func (*MockHostHelpersInterface) ReadServiceInjectionManifestFile ¶
func (m *MockHostHelpersInterface) ReadServiceInjectionManifestFile(path string) (*types.Service, error)
ReadServiceInjectionManifestFile mocks base method.
func (*MockHostHelpersInterface) ReadServiceManifestFile ¶
func (m *MockHostHelpersInterface) ReadServiceManifestFile(path string) (*types.Service, error)
ReadServiceManifestFile mocks base method.
func (*MockHostHelpersInterface) RebindVfToDefaultDriver ¶
func (m *MockHostHelpersInterface) RebindVfToDefaultDriver(pciAddr string) error
RebindVfToDefaultDriver mocks base method.
func (*MockHostHelpersInterface) RemoveDisableNMUdevRule ¶
func (m *MockHostHelpersInterface) RemoveDisableNMUdevRule(pfPciAddress string) error
RemoveDisableNMUdevRule mocks base method.
func (*MockHostHelpersInterface) RemovePersistPFNameUdevRule ¶
func (m *MockHostHelpersInterface) RemovePersistPFNameUdevRule(pfPciAddress string) error
RemovePersistPFNameUdevRule mocks base method.
func (*MockHostHelpersInterface) RemovePfAppliedStatus ¶ added in v1.4.0
func (m *MockHostHelpersInterface) RemovePfAppliedStatus(pciAddress string) error
RemovePfAppliedStatus mocks base method.
func (*MockHostHelpersInterface) RemoveVfRepresentorUdevRule ¶
func (m *MockHostHelpersInterface) RemoveVfRepresentorUdevRule(pfPciAddress string) error
RemoveVfRepresentorUdevRule mocks base method.
func (*MockHostHelpersInterface) ResetSriovDevice ¶
func (m *MockHostHelpersInterface) ResetSriovDevice(ifaceStatus v1.InterfaceExt) error
ResetSriovDevice mocks base method.
func (*MockHostHelpersInterface) RunCommand ¶
RunCommand mocks base method.
func (*MockHostHelpersInterface) SaveLastPfAppliedStatus ¶
func (m *MockHostHelpersInterface) SaveLastPfAppliedStatus(PfInfo *v1.Interface) error
SaveLastPfAppliedStatus mocks base method.
func (*MockHostHelpersInterface) SetDevlinkDeviceParam ¶
func (m *MockHostHelpersInterface) SetDevlinkDeviceParam(pciAddr, paramName, value string) error
SetDevlinkDeviceParam mocks base method.
func (*MockHostHelpersInterface) SetNetdevMTU ¶
func (m *MockHostHelpersInterface) SetNetdevMTU(pciAddr string, mtu int) error
SetNetdevMTU mocks base method.
func (*MockHostHelpersInterface) SetNicSriovMode ¶
func (m *MockHostHelpersInterface) SetNicSriovMode(pciAddr, mode string) error
SetNicSriovMode mocks base method.
func (*MockHostHelpersInterface) SetSriovNumVfs ¶
func (m *MockHostHelpersInterface) SetSriovNumVfs(pciAddr string, numVfs int) error
SetSriovNumVfs mocks base method.
func (*MockHostHelpersInterface) SetVfAdminMac ¶
func (m *MockHostHelpersInterface) SetVfAdminMac(vfAddr string, pfLink, vfLink netlink.Link) error
SetVfAdminMac mocks base method.
func (*MockHostHelpersInterface) TryEnableTun ¶
func (m *MockHostHelpersInterface) TryEnableTun()
TryEnableTun mocks base method.
func (*MockHostHelpersInterface) TryEnableVhostNet ¶
func (m *MockHostHelpersInterface) TryEnableVhostNet()
TryEnableVhostNet mocks base method.
func (*MockHostHelpersInterface) TryGetInterfaceName ¶
func (m *MockHostHelpersInterface) TryGetInterfaceName(pciAddr string) string
TryGetInterfaceName mocks base method.
func (*MockHostHelpersInterface) TryToGetVirtualInterfaceName ¶
func (m *MockHostHelpersInterface) TryToGetVirtualInterfaceName(pciAddr string) string
TryToGetVirtualInterfaceName mocks base method.
func (*MockHostHelpersInterface) Unbind ¶
func (m *MockHostHelpersInterface) Unbind(pciAddr string) error
Unbind mocks base method.
func (*MockHostHelpersInterface) UnbindDriverByBusAndDevice ¶
func (m *MockHostHelpersInterface) UnbindDriverByBusAndDevice(bus, device string) error
UnbindDriverByBusAndDevice mocks base method.
func (*MockHostHelpersInterface) UnbindDriverIfNeeded ¶
func (m *MockHostHelpersInterface) UnbindDriverIfNeeded(pciAddr string, isRdma bool) error
UnbindDriverIfNeeded mocks base method.
func (*MockHostHelpersInterface) UpdateSystemService ¶
func (m *MockHostHelpersInterface) UpdateSystemService(serviceObj *types.Service) error
UpdateSystemService mocks base method.
func (*MockHostHelpersInterface) VFIsReady ¶
func (m *MockHostHelpersInterface) VFIsReady(pciAddr string) (netlink.Link, error)
VFIsReady mocks base method.
func (*MockHostHelpersInterface) WriteCheckpointFile ¶
func (m *MockHostHelpersInterface) WriteCheckpointFile(arg0 *v1.SriovNetworkNodeState) error
WriteCheckpointFile mocks base method.
type MockHostHelpersInterfaceMockRecorder ¶
type MockHostHelpersInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockHostHelpersInterfaceMockRecorder is the mock recorder for MockHostHelpersInterface.
func (*MockHostHelpersInterfaceMockRecorder) AddDisableNMUdevRule ¶
func (mr *MockHostHelpersInterfaceMockRecorder) AddDisableNMUdevRule(pfPciAddress interface{}) *gomock.Call
AddDisableNMUdevRule indicates an expected call of AddDisableNMUdevRule.
func (*MockHostHelpersInterfaceMockRecorder) AddPersistPFNameUdevRule ¶
func (mr *MockHostHelpersInterfaceMockRecorder) AddPersistPFNameUdevRule(pfPciAddress, pfName interface{}) *gomock.Call
AddPersistPFNameUdevRule indicates an expected call of AddPersistPFNameUdevRule.
func (*MockHostHelpersInterfaceMockRecorder) AddVfRepresentorUdevRule ¶
func (mr *MockHostHelpersInterfaceMockRecorder) AddVfRepresentorUdevRule(pfPciAddress, pfName, pfSwitchID, pfSwitchPort interface{}) *gomock.Call
AddVfRepresentorUdevRule indicates an expected call of AddVfRepresentorUdevRule.
func (*MockHostHelpersInterfaceMockRecorder) BindDefaultDriver ¶
func (mr *MockHostHelpersInterfaceMockRecorder) BindDefaultDriver(pciAddr interface{}) *gomock.Call
BindDefaultDriver indicates an expected call of BindDefaultDriver.
func (*MockHostHelpersInterfaceMockRecorder) BindDpdkDriver ¶
func (mr *MockHostHelpersInterfaceMockRecorder) BindDpdkDriver(pciAddr, driver interface{}) *gomock.Call
BindDpdkDriver indicates an expected call of BindDpdkDriver.
func (*MockHostHelpersInterfaceMockRecorder) BindDriverByBusAndDevice ¶
func (mr *MockHostHelpersInterfaceMockRecorder) BindDriverByBusAndDevice(bus, device, driver interface{}) *gomock.Call
BindDriverByBusAndDevice indicates an expected call of BindDriverByBusAndDevice.
func (*MockHostHelpersInterfaceMockRecorder) CheckRDMAEnabled ¶ added in v1.4.0
func (mr *MockHostHelpersInterfaceMockRecorder) CheckRDMAEnabled() *gomock.Call
CheckRDMAEnabled indicates an expected call of CheckRDMAEnabled.
func (*MockHostHelpersInterfaceMockRecorder) Chroot ¶
func (mr *MockHostHelpersInterfaceMockRecorder) Chroot(arg0 interface{}) *gomock.Call
Chroot indicates an expected call of Chroot.
func (*MockHostHelpersInterfaceMockRecorder) ClearPCIAddressFolder ¶
func (mr *MockHostHelpersInterfaceMockRecorder) ClearPCIAddressFolder() *gomock.Call
ClearPCIAddressFolder indicates an expected call of ClearPCIAddressFolder.
func (*MockHostHelpersInterfaceMockRecorder) CompareServices ¶
func (mr *MockHostHelpersInterfaceMockRecorder) CompareServices(serviceA, serviceB interface{}) *gomock.Call
CompareServices indicates an expected call of CompareServices.
func (*MockHostHelpersInterfaceMockRecorder) ConfigSriovDeviceVirtual ¶
func (mr *MockHostHelpersInterfaceMockRecorder) ConfigSriovDeviceVirtual(iface interface{}) *gomock.Call
ConfigSriovDeviceVirtual indicates an expected call of ConfigSriovDeviceVirtual.
func (*MockHostHelpersInterfaceMockRecorder) ConfigSriovInterfaces ¶
func (mr *MockHostHelpersInterfaceMockRecorder) ConfigSriovInterfaces(storeManager, interfaces, ifaceStatuses, skipVFConfiguration interface{}) *gomock.Call
ConfigSriovInterfaces indicates an expected call of ConfigSriovInterfaces.
func (*MockHostHelpersInterfaceMockRecorder) ConfigureBridges ¶ added in v1.4.0
func (mr *MockHostHelpersInterfaceMockRecorder) ConfigureBridges(bridgesSpec, bridgesStatus interface{}) *gomock.Call
ConfigureBridges indicates an expected call of ConfigureBridges.
func (*MockHostHelpersInterfaceMockRecorder) ConfigureVfGUID ¶ added in v1.4.0
func (mr *MockHostHelpersInterfaceMockRecorder) ConfigureVfGUID(vfAddr, pfAddr, vfID, pfLink interface{}) *gomock.Call
ConfigureVfGUID indicates an expected call of ConfigureVfGUID.
func (*MockHostHelpersInterfaceMockRecorder) CreateVDPADevice ¶
func (mr *MockHostHelpersInterfaceMockRecorder) CreateVDPADevice(pciAddr, vdpaType interface{}) *gomock.Call
CreateVDPADevice indicates an expected call of CreateVDPADevice.
func (*MockHostHelpersInterfaceMockRecorder) DeleteVDPADevice ¶
func (mr *MockHostHelpersInterfaceMockRecorder) DeleteVDPADevice(pciAddr interface{}) *gomock.Call
DeleteVDPADevice indicates an expected call of DeleteVDPADevice.
func (*MockHostHelpersInterfaceMockRecorder) DetachInterfaceFromManagedBridge ¶ added in v1.4.0
func (mr *MockHostHelpersInterfaceMockRecorder) DetachInterfaceFromManagedBridge(pciAddr interface{}) *gomock.Call
DetachInterfaceFromManagedBridge indicates an expected call of DetachInterfaceFromManagedBridge.
func (*MockHostHelpersInterfaceMockRecorder) DiscoverBridges ¶ added in v1.4.0
func (mr *MockHostHelpersInterfaceMockRecorder) DiscoverBridges() *gomock.Call
DiscoverBridges indicates an expected call of DiscoverBridges.
func (*MockHostHelpersInterfaceMockRecorder) DiscoverSriovDevices ¶
func (mr *MockHostHelpersInterfaceMockRecorder) DiscoverSriovDevices(storeManager interface{}) *gomock.Call
DiscoverSriovDevices indicates an expected call of DiscoverSriovDevices.
func (*MockHostHelpersInterfaceMockRecorder) DiscoverVDPAType ¶
func (mr *MockHostHelpersInterfaceMockRecorder) DiscoverVDPAType(pciAddr interface{}) *gomock.Call
DiscoverVDPAType indicates an expected call of DiscoverVDPAType.
func (*MockHostHelpersInterfaceMockRecorder) EnableHwTcOffload ¶
func (mr *MockHostHelpersInterfaceMockRecorder) EnableHwTcOffload(ifaceName interface{}) *gomock.Call
EnableHwTcOffload indicates an expected call of EnableHwTcOffload.
func (*MockHostHelpersInterfaceMockRecorder) EnableService ¶
func (mr *MockHostHelpersInterfaceMockRecorder) EnableService(service interface{}) *gomock.Call
EnableService indicates an expected call of EnableService.
func (*MockHostHelpersInterfaceMockRecorder) GetCheckPointNodeState ¶
func (mr *MockHostHelpersInterfaceMockRecorder) GetCheckPointNodeState() *gomock.Call
GetCheckPointNodeState indicates an expected call of GetCheckPointNodeState.
func (*MockHostHelpersInterfaceMockRecorder) GetCurrentKernelArgs ¶
func (mr *MockHostHelpersInterfaceMockRecorder) GetCurrentKernelArgs() *gomock.Call
GetCurrentKernelArgs indicates an expected call of GetCurrentKernelArgs.
func (*MockHostHelpersInterfaceMockRecorder) GetDevlinkDeviceParam ¶
func (mr *MockHostHelpersInterfaceMockRecorder) GetDevlinkDeviceParam(pciAddr, paramName interface{}) *gomock.Call
GetDevlinkDeviceParam indicates an expected call of GetDevlinkDeviceParam.
func (*MockHostHelpersInterfaceMockRecorder) GetDriverByBusAndDevice ¶
func (mr *MockHostHelpersInterfaceMockRecorder) GetDriverByBusAndDevice(bus, device interface{}) *gomock.Call
GetDriverByBusAndDevice indicates an expected call of GetDriverByBusAndDevice.
func (*MockHostHelpersInterfaceMockRecorder) GetInterfaceIndex ¶ added in v1.4.0
func (mr *MockHostHelpersInterfaceMockRecorder) GetInterfaceIndex(pciAddr interface{}) *gomock.Call
GetInterfaceIndex indicates an expected call of GetInterfaceIndex.
func (*MockHostHelpersInterfaceMockRecorder) GetLinkType ¶
func (mr *MockHostHelpersInterfaceMockRecorder) GetLinkType(name interface{}) *gomock.Call
GetLinkType indicates an expected call of GetLinkType.
func (*MockHostHelpersInterfaceMockRecorder) GetMellanoxBlueFieldMode ¶
func (mr *MockHostHelpersInterfaceMockRecorder) GetMellanoxBlueFieldMode(arg0 interface{}) *gomock.Call
GetMellanoxBlueFieldMode indicates an expected call of GetMellanoxBlueFieldMode.
func (*MockHostHelpersInterfaceMockRecorder) GetMlxNicFwData ¶
func (mr *MockHostHelpersInterfaceMockRecorder) GetMlxNicFwData(pciAddress interface{}) *gomock.Call
GetMlxNicFwData indicates an expected call of GetMlxNicFwData.
func (*MockHostHelpersInterfaceMockRecorder) GetNetDevLinkAdminState ¶
func (mr *MockHostHelpersInterfaceMockRecorder) GetNetDevLinkAdminState(ifaceName interface{}) *gomock.Call
GetNetDevLinkAdminState indicates an expected call of GetNetDevLinkAdminState.
func (*MockHostHelpersInterfaceMockRecorder) GetNetDevLinkSpeed ¶
func (mr *MockHostHelpersInterfaceMockRecorder) GetNetDevLinkSpeed(name interface{}) *gomock.Call
GetNetDevLinkSpeed indicates an expected call of GetNetDevLinkSpeed.
func (*MockHostHelpersInterfaceMockRecorder) GetNetDevMac ¶
func (mr *MockHostHelpersInterfaceMockRecorder) GetNetDevMac(name interface{}) *gomock.Call
GetNetDevMac indicates an expected call of GetNetDevMac.
func (*MockHostHelpersInterfaceMockRecorder) GetNetDevNodeGUID ¶
func (mr *MockHostHelpersInterfaceMockRecorder) GetNetDevNodeGUID(pciAddr interface{}) *gomock.Call
GetNetDevNodeGUID indicates an expected call of GetNetDevNodeGUID.
func (*MockHostHelpersInterfaceMockRecorder) GetNetdevMTU ¶
func (mr *MockHostHelpersInterfaceMockRecorder) GetNetdevMTU(pciAddr interface{}) *gomock.Call
GetNetdevMTU indicates an expected call of GetNetdevMTU.
func (*MockHostHelpersInterfaceMockRecorder) GetNicSriovMode ¶
func (mr *MockHostHelpersInterfaceMockRecorder) GetNicSriovMode(pciAddr interface{}) *gomock.Call
GetNicSriovMode indicates an expected call of GetNicSriovMode.
func (*MockHostHelpersInterfaceMockRecorder) GetPciAddressFromInterfaceName ¶ added in v1.4.0
func (mr *MockHostHelpersInterfaceMockRecorder) GetPciAddressFromInterfaceName(interfaceName interface{}) *gomock.Call
GetPciAddressFromInterfaceName indicates an expected call of GetPciAddressFromInterfaceName.
func (*MockHostHelpersInterfaceMockRecorder) GetPhysPortName ¶
func (mr *MockHostHelpersInterfaceMockRecorder) GetPhysPortName(name interface{}) *gomock.Call
GetPhysPortName indicates an expected call of GetPhysPortName.
func (*MockHostHelpersInterfaceMockRecorder) GetPhysSwitchID ¶
func (mr *MockHostHelpersInterfaceMockRecorder) GetPhysSwitchID(name interface{}) *gomock.Call
GetPhysSwitchID indicates an expected call of GetPhysSwitchID.
func (*MockHostHelpersInterfaceMockRecorder) HasDriver ¶
func (mr *MockHostHelpersInterfaceMockRecorder) HasDriver(pciAddr interface{}) *gomock.Call
HasDriver indicates an expected call of HasDriver.
func (*MockHostHelpersInterfaceMockRecorder) IsKernelArgsSet ¶
func (mr *MockHostHelpersInterfaceMockRecorder) IsKernelArgsSet(cmdLine, karg interface{}) *gomock.Call
IsKernelArgsSet indicates an expected call of IsKernelArgsSet.
func (*MockHostHelpersInterfaceMockRecorder) IsKernelLockdownMode ¶
func (mr *MockHostHelpersInterfaceMockRecorder) IsKernelLockdownMode() *gomock.Call
IsKernelLockdownMode indicates an expected call of IsKernelLockdownMode.
func (*MockHostHelpersInterfaceMockRecorder) IsKernelModuleLoaded ¶
func (mr *MockHostHelpersInterfaceMockRecorder) IsKernelModuleLoaded(name interface{}) *gomock.Call
IsKernelModuleLoaded indicates an expected call of IsKernelModuleLoaded.
func (*MockHostHelpersInterfaceMockRecorder) IsServiceEnabled ¶
func (mr *MockHostHelpersInterfaceMockRecorder) IsServiceEnabled(servicePath interface{}) *gomock.Call
IsServiceEnabled indicates an expected call of IsServiceEnabled.
func (*MockHostHelpersInterfaceMockRecorder) IsServiceExist ¶
func (mr *MockHostHelpersInterfaceMockRecorder) IsServiceExist(servicePath interface{}) *gomock.Call
IsServiceExist indicates an expected call of IsServiceExist.
func (*MockHostHelpersInterfaceMockRecorder) IsSwitchdev ¶
func (mr *MockHostHelpersInterfaceMockRecorder) IsSwitchdev(name interface{}) *gomock.Call
IsSwitchdev indicates an expected call of IsSwitchdev.
func (*MockHostHelpersInterfaceMockRecorder) LoadKernelModule ¶
func (mr *MockHostHelpersInterfaceMockRecorder) LoadKernelModule(name interface{}, args ...interface{}) *gomock.Call
LoadKernelModule indicates an expected call of LoadKernelModule.
func (*MockHostHelpersInterfaceMockRecorder) LoadPfsStatus ¶
func (mr *MockHostHelpersInterfaceMockRecorder) LoadPfsStatus(pciAddress interface{}) *gomock.Call
LoadPfsStatus indicates an expected call of LoadPfsStatus.
func (*MockHostHelpersInterfaceMockRecorder) LoadUdevRules ¶
func (mr *MockHostHelpersInterfaceMockRecorder) LoadUdevRules() *gomock.Call
LoadUdevRules indicates an expected call of LoadUdevRules.
func (*MockHostHelpersInterfaceMockRecorder) MlxConfigFW ¶
func (mr *MockHostHelpersInterfaceMockRecorder) MlxConfigFW(attributesToChange interface{}) *gomock.Call
MlxConfigFW indicates an expected call of MlxConfigFW.
func (*MockHostHelpersInterfaceMockRecorder) MlxResetFW ¶ added in v1.4.0
func (mr *MockHostHelpersInterfaceMockRecorder) MlxResetFW(pciAddresses interface{}) *gomock.Call
MlxResetFW indicates an expected call of MlxResetFW.
func (*MockHostHelpersInterfaceMockRecorder) MstConfigReadData ¶
func (mr *MockHostHelpersInterfaceMockRecorder) MstConfigReadData(arg0 interface{}) *gomock.Call
MstConfigReadData indicates an expected call of MstConfigReadData.
func (*MockHostHelpersInterfaceMockRecorder) PrepareNMUdevRule ¶
func (mr *MockHostHelpersInterfaceMockRecorder) PrepareNMUdevRule(supportedVfIds interface{}) *gomock.Call
PrepareNMUdevRule indicates an expected call of PrepareNMUdevRule.
func (*MockHostHelpersInterfaceMockRecorder) PrepareVFRepUdevRule ¶
func (mr *MockHostHelpersInterfaceMockRecorder) PrepareVFRepUdevRule() *gomock.Call
PrepareVFRepUdevRule indicates an expected call of PrepareVFRepUdevRule.
func (*MockHostHelpersInterfaceMockRecorder) ReadService ¶
func (mr *MockHostHelpersInterfaceMockRecorder) ReadService(servicePath interface{}) *gomock.Call
ReadService indicates an expected call of ReadService.
func (*MockHostHelpersInterfaceMockRecorder) ReadServiceInjectionManifestFile ¶
func (mr *MockHostHelpersInterfaceMockRecorder) ReadServiceInjectionManifestFile(path interface{}) *gomock.Call
ReadServiceInjectionManifestFile indicates an expected call of ReadServiceInjectionManifestFile.
func (*MockHostHelpersInterfaceMockRecorder) ReadServiceManifestFile ¶
func (mr *MockHostHelpersInterfaceMockRecorder) ReadServiceManifestFile(path interface{}) *gomock.Call
ReadServiceManifestFile indicates an expected call of ReadServiceManifestFile.
func (*MockHostHelpersInterfaceMockRecorder) RebindVfToDefaultDriver ¶
func (mr *MockHostHelpersInterfaceMockRecorder) RebindVfToDefaultDriver(pciAddr interface{}) *gomock.Call
RebindVfToDefaultDriver indicates an expected call of RebindVfToDefaultDriver.
func (*MockHostHelpersInterfaceMockRecorder) RemoveDisableNMUdevRule ¶
func (mr *MockHostHelpersInterfaceMockRecorder) RemoveDisableNMUdevRule(pfPciAddress interface{}) *gomock.Call
RemoveDisableNMUdevRule indicates an expected call of RemoveDisableNMUdevRule.
func (*MockHostHelpersInterfaceMockRecorder) RemovePersistPFNameUdevRule ¶
func (mr *MockHostHelpersInterfaceMockRecorder) RemovePersistPFNameUdevRule(pfPciAddress interface{}) *gomock.Call
RemovePersistPFNameUdevRule indicates an expected call of RemovePersistPFNameUdevRule.
func (*MockHostHelpersInterfaceMockRecorder) RemovePfAppliedStatus ¶ added in v1.4.0
func (mr *MockHostHelpersInterfaceMockRecorder) RemovePfAppliedStatus(pciAddress interface{}) *gomock.Call
RemovePfAppliedStatus indicates an expected call of RemovePfAppliedStatus.
func (*MockHostHelpersInterfaceMockRecorder) RemoveVfRepresentorUdevRule ¶
func (mr *MockHostHelpersInterfaceMockRecorder) RemoveVfRepresentorUdevRule(pfPciAddress interface{}) *gomock.Call
RemoveVfRepresentorUdevRule indicates an expected call of RemoveVfRepresentorUdevRule.
func (*MockHostHelpersInterfaceMockRecorder) ResetSriovDevice ¶
func (mr *MockHostHelpersInterfaceMockRecorder) ResetSriovDevice(ifaceStatus interface{}) *gomock.Call
ResetSriovDevice indicates an expected call of ResetSriovDevice.
func (*MockHostHelpersInterfaceMockRecorder) RunCommand ¶
func (mr *MockHostHelpersInterfaceMockRecorder) RunCommand(arg0 interface{}, arg1 ...interface{}) *gomock.Call
RunCommand indicates an expected call of RunCommand.
func (*MockHostHelpersInterfaceMockRecorder) SaveLastPfAppliedStatus ¶
func (mr *MockHostHelpersInterfaceMockRecorder) SaveLastPfAppliedStatus(PfInfo interface{}) *gomock.Call
SaveLastPfAppliedStatus indicates an expected call of SaveLastPfAppliedStatus.
func (*MockHostHelpersInterfaceMockRecorder) SetDevlinkDeviceParam ¶
func (mr *MockHostHelpersInterfaceMockRecorder) SetDevlinkDeviceParam(pciAddr, paramName, value interface{}) *gomock.Call
SetDevlinkDeviceParam indicates an expected call of SetDevlinkDeviceParam.
func (*MockHostHelpersInterfaceMockRecorder) SetNetdevMTU ¶
func (mr *MockHostHelpersInterfaceMockRecorder) SetNetdevMTU(pciAddr, mtu interface{}) *gomock.Call
SetNetdevMTU indicates an expected call of SetNetdevMTU.
func (*MockHostHelpersInterfaceMockRecorder) SetNicSriovMode ¶
func (mr *MockHostHelpersInterfaceMockRecorder) SetNicSriovMode(pciAddr, mode interface{}) *gomock.Call
SetNicSriovMode indicates an expected call of SetNicSriovMode.
func (*MockHostHelpersInterfaceMockRecorder) SetSriovNumVfs ¶
func (mr *MockHostHelpersInterfaceMockRecorder) SetSriovNumVfs(pciAddr, numVfs interface{}) *gomock.Call
SetSriovNumVfs indicates an expected call of SetSriovNumVfs.
func (*MockHostHelpersInterfaceMockRecorder) SetVfAdminMac ¶
func (mr *MockHostHelpersInterfaceMockRecorder) SetVfAdminMac(vfAddr, pfLink, vfLink interface{}) *gomock.Call
SetVfAdminMac indicates an expected call of SetVfAdminMac.
func (*MockHostHelpersInterfaceMockRecorder) TryEnableTun ¶
func (mr *MockHostHelpersInterfaceMockRecorder) TryEnableTun() *gomock.Call
TryEnableTun indicates an expected call of TryEnableTun.
func (*MockHostHelpersInterfaceMockRecorder) TryEnableVhostNet ¶
func (mr *MockHostHelpersInterfaceMockRecorder) TryEnableVhostNet() *gomock.Call
TryEnableVhostNet indicates an expected call of TryEnableVhostNet.
func (*MockHostHelpersInterfaceMockRecorder) TryGetInterfaceName ¶
func (mr *MockHostHelpersInterfaceMockRecorder) TryGetInterfaceName(pciAddr interface{}) *gomock.Call
TryGetInterfaceName indicates an expected call of TryGetInterfaceName.
func (*MockHostHelpersInterfaceMockRecorder) TryToGetVirtualInterfaceName ¶
func (mr *MockHostHelpersInterfaceMockRecorder) TryToGetVirtualInterfaceName(pciAddr interface{}) *gomock.Call
TryToGetVirtualInterfaceName indicates an expected call of TryToGetVirtualInterfaceName.
func (*MockHostHelpersInterfaceMockRecorder) Unbind ¶
func (mr *MockHostHelpersInterfaceMockRecorder) Unbind(pciAddr interface{}) *gomock.Call
Unbind indicates an expected call of Unbind.
func (*MockHostHelpersInterfaceMockRecorder) UnbindDriverByBusAndDevice ¶
func (mr *MockHostHelpersInterfaceMockRecorder) UnbindDriverByBusAndDevice(bus, device interface{}) *gomock.Call
UnbindDriverByBusAndDevice indicates an expected call of UnbindDriverByBusAndDevice.
func (*MockHostHelpersInterfaceMockRecorder) UnbindDriverIfNeeded ¶
func (mr *MockHostHelpersInterfaceMockRecorder) UnbindDriverIfNeeded(pciAddr, isRdma interface{}) *gomock.Call
UnbindDriverIfNeeded indicates an expected call of UnbindDriverIfNeeded.
func (*MockHostHelpersInterfaceMockRecorder) UpdateSystemService ¶
func (mr *MockHostHelpersInterfaceMockRecorder) UpdateSystemService(serviceObj interface{}) *gomock.Call
UpdateSystemService indicates an expected call of UpdateSystemService.
func (*MockHostHelpersInterfaceMockRecorder) VFIsReady ¶
func (mr *MockHostHelpersInterfaceMockRecorder) VFIsReady(pciAddr interface{}) *gomock.Call
VFIsReady indicates an expected call of VFIsReady.
func (*MockHostHelpersInterfaceMockRecorder) WriteCheckpointFile ¶
func (mr *MockHostHelpersInterfaceMockRecorder) WriteCheckpointFile(arg0 interface{}) *gomock.Call
WriteCheckpointFile indicates an expected call of WriteCheckpointFile.