mock_host

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: 6 Imported by: 0

Documentation

Overview

Package mock_host is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHostManagerInterface

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

MockHostManagerInterface is a mock of HostManagerInterface interface.

func NewMockHostManagerInterface

func NewMockHostManagerInterface(ctrl *gomock.Controller) *MockHostManagerInterface

NewMockHostManagerInterface creates a new mock instance.

func (*MockHostManagerInterface) AddDisableNMUdevRule

func (m *MockHostManagerInterface) AddDisableNMUdevRule(pfPciAddress string) error

AddDisableNMUdevRule mocks base method.

func (*MockHostManagerInterface) AddPersistPFNameUdevRule

func (m *MockHostManagerInterface) AddPersistPFNameUdevRule(pfPciAddress, pfName string) error

AddPersistPFNameUdevRule mocks base method.

func (*MockHostManagerInterface) AddVfRepresentorUdevRule

func (m *MockHostManagerInterface) AddVfRepresentorUdevRule(pfPciAddress, pfName, pfSwitchID, pfSwitchPort string) error

AddVfRepresentorUdevRule mocks base method.

func (*MockHostManagerInterface) BindDefaultDriver

func (m *MockHostManagerInterface) BindDefaultDriver(pciAddr string) error

BindDefaultDriver mocks base method.

func (*MockHostManagerInterface) BindDpdkDriver

func (m *MockHostManagerInterface) BindDpdkDriver(pciAddr, driver string) error

BindDpdkDriver mocks base method.

func (*MockHostManagerInterface) BindDriverByBusAndDevice

func (m *MockHostManagerInterface) BindDriverByBusAndDevice(bus, device, driver string) error

BindDriverByBusAndDevice mocks base method.

func (*MockHostManagerInterface) CheckRDMAEnabled added in v1.4.0

func (m *MockHostManagerInterface) CheckRDMAEnabled() (bool, error)

CheckRDMAEnabled mocks base method.

func (*MockHostManagerInterface) CompareServices

func (m *MockHostManagerInterface) CompareServices(serviceA, serviceB *types.Service) (bool, error)

CompareServices mocks base method.

func (*MockHostManagerInterface) ConfigSriovDeviceVirtual

func (m *MockHostManagerInterface) ConfigSriovDeviceVirtual(iface *v1.Interface) error

ConfigSriovDeviceVirtual mocks base method.

func (*MockHostManagerInterface) ConfigSriovInterfaces

func (m *MockHostManagerInterface) ConfigSriovInterfaces(storeManager store.ManagerInterface, interfaces []v1.Interface, ifaceStatuses []v1.InterfaceExt, skipVFConfiguration bool) error

ConfigSriovInterfaces mocks base method.

func (*MockHostManagerInterface) ConfigureBridges added in v1.4.0

func (m *MockHostManagerInterface) ConfigureBridges(bridgesSpec, bridgesStatus v1.Bridges) error

ConfigureBridges mocks base method.

func (*MockHostManagerInterface) ConfigureVfGUID added in v1.4.0

func (m *MockHostManagerInterface) ConfigureVfGUID(vfAddr, pfAddr string, vfID int, pfLink netlink.Link) error

ConfigureVfGUID mocks base method.

func (*MockHostManagerInterface) CreateVDPADevice

func (m *MockHostManagerInterface) CreateVDPADevice(pciAddr, vdpaType string) error

CreateVDPADevice mocks base method.

func (*MockHostManagerInterface) DeleteVDPADevice

func (m *MockHostManagerInterface) DeleteVDPADevice(pciAddr string) error

DeleteVDPADevice mocks base method.

func (*MockHostManagerInterface) DetachInterfaceFromManagedBridge added in v1.4.0

func (m *MockHostManagerInterface) DetachInterfaceFromManagedBridge(pciAddr string) error

DetachInterfaceFromManagedBridge mocks base method.

func (*MockHostManagerInterface) DiscoverBridges added in v1.4.0

func (m *MockHostManagerInterface) DiscoverBridges() (v1.Bridges, error)

DiscoverBridges mocks base method.

func (*MockHostManagerInterface) DiscoverSriovDevices

func (m *MockHostManagerInterface) DiscoverSriovDevices(storeManager store.ManagerInterface) ([]v1.InterfaceExt, error)

DiscoverSriovDevices mocks base method.

func (*MockHostManagerInterface) DiscoverVDPAType

func (m *MockHostManagerInterface) DiscoverVDPAType(pciAddr string) string

DiscoverVDPAType mocks base method.

func (*MockHostManagerInterface) EXPECT

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

func (*MockHostManagerInterface) EnableHwTcOffload

func (m *MockHostManagerInterface) EnableHwTcOffload(ifaceName string) error

EnableHwTcOffload mocks base method.

func (*MockHostManagerInterface) EnableService

func (m *MockHostManagerInterface) EnableService(service *types.Service) error

EnableService mocks base method.

func (*MockHostManagerInterface) GetCurrentKernelArgs

func (m *MockHostManagerInterface) GetCurrentKernelArgs() (string, error)

GetCurrentKernelArgs mocks base method.

func (*MockHostManagerInterface) GetDevlinkDeviceParam

func (m *MockHostManagerInterface) GetDevlinkDeviceParam(pciAddr, paramName string) (string, error)

GetDevlinkDeviceParam mocks base method.

func (*MockHostManagerInterface) GetDriverByBusAndDevice

func (m *MockHostManagerInterface) GetDriverByBusAndDevice(bus, device string) (string, error)

GetDriverByBusAndDevice mocks base method.

func (*MockHostManagerInterface) GetInterfaceIndex added in v1.4.0

func (m *MockHostManagerInterface) GetInterfaceIndex(pciAddr string) (int, error)

GetInterfaceIndex mocks base method.

func (*MockHostManagerInterface) GetLinkType

func (m *MockHostManagerInterface) GetLinkType(name string) string

GetLinkType mocks base method.

func (*MockHostManagerInterface) GetNetDevLinkAdminState

func (m *MockHostManagerInterface) GetNetDevLinkAdminState(ifaceName string) string

GetNetDevLinkAdminState mocks base method.

func (*MockHostManagerInterface) GetNetDevLinkSpeed

func (m *MockHostManagerInterface) GetNetDevLinkSpeed(name string) string

GetNetDevLinkSpeed mocks base method.

func (*MockHostManagerInterface) GetNetDevMac

func (m *MockHostManagerInterface) GetNetDevMac(name string) string

GetNetDevMac mocks base method.

func (*MockHostManagerInterface) GetNetDevNodeGUID

func (m *MockHostManagerInterface) GetNetDevNodeGUID(pciAddr string) string

GetNetDevNodeGUID mocks base method.

func (*MockHostManagerInterface) GetNetdevMTU

func (m *MockHostManagerInterface) GetNetdevMTU(pciAddr string) int

GetNetdevMTU mocks base method.

func (*MockHostManagerInterface) GetNicSriovMode

func (m *MockHostManagerInterface) GetNicSriovMode(pciAddr string) string

GetNicSriovMode mocks base method.

func (*MockHostManagerInterface) GetPciAddressFromInterfaceName added in v1.4.0

func (m *MockHostManagerInterface) GetPciAddressFromInterfaceName(interfaceName string) (string, error)

GetPciAddressFromInterfaceName mocks base method.

func (*MockHostManagerInterface) GetPhysPortName

func (m *MockHostManagerInterface) GetPhysPortName(name string) (string, error)

GetPhysPortName mocks base method.

func (*MockHostManagerInterface) GetPhysSwitchID

func (m *MockHostManagerInterface) GetPhysSwitchID(name string) (string, error)

GetPhysSwitchID mocks base method.

func (*MockHostManagerInterface) HasDriver

func (m *MockHostManagerInterface) HasDriver(pciAddr string) (bool, string)

HasDriver mocks base method.

func (*MockHostManagerInterface) IsKernelArgsSet

func (m *MockHostManagerInterface) IsKernelArgsSet(cmdLine, karg string) bool

IsKernelArgsSet mocks base method.

func (*MockHostManagerInterface) IsKernelLockdownMode

func (m *MockHostManagerInterface) IsKernelLockdownMode() bool

IsKernelLockdownMode mocks base method.

func (*MockHostManagerInterface) IsKernelModuleLoaded

func (m *MockHostManagerInterface) IsKernelModuleLoaded(name string) (bool, error)

IsKernelModuleLoaded mocks base method.

func (*MockHostManagerInterface) IsServiceEnabled

func (m *MockHostManagerInterface) IsServiceEnabled(servicePath string) (bool, error)

IsServiceEnabled mocks base method.

func (*MockHostManagerInterface) IsServiceExist

func (m *MockHostManagerInterface) IsServiceExist(servicePath string) (bool, error)

IsServiceExist mocks base method.

func (*MockHostManagerInterface) IsSwitchdev

func (m *MockHostManagerInterface) IsSwitchdev(name string) bool

IsSwitchdev mocks base method.

func (*MockHostManagerInterface) LoadKernelModule

func (m *MockHostManagerInterface) LoadKernelModule(name string, args ...string) error

LoadKernelModule mocks base method.

func (*MockHostManagerInterface) LoadUdevRules

func (m *MockHostManagerInterface) LoadUdevRules() error

LoadUdevRules mocks base method.

func (*MockHostManagerInterface) PrepareNMUdevRule

func (m *MockHostManagerInterface) PrepareNMUdevRule(supportedVfIds []string) error

PrepareNMUdevRule mocks base method.

func (*MockHostManagerInterface) PrepareVFRepUdevRule

func (m *MockHostManagerInterface) PrepareVFRepUdevRule() error

PrepareVFRepUdevRule mocks base method.

func (*MockHostManagerInterface) ReadService

func (m *MockHostManagerInterface) ReadService(servicePath string) (*types.Service, error)

ReadService mocks base method.

func (*MockHostManagerInterface) ReadServiceInjectionManifestFile

func (m *MockHostManagerInterface) ReadServiceInjectionManifestFile(path string) (*types.Service, error)

ReadServiceInjectionManifestFile mocks base method.

func (*MockHostManagerInterface) ReadServiceManifestFile

func (m *MockHostManagerInterface) ReadServiceManifestFile(path string) (*types.Service, error)

ReadServiceManifestFile mocks base method.

func (*MockHostManagerInterface) RebindVfToDefaultDriver

func (m *MockHostManagerInterface) RebindVfToDefaultDriver(pciAddr string) error

RebindVfToDefaultDriver mocks base method.

func (*MockHostManagerInterface) RemoveDisableNMUdevRule

func (m *MockHostManagerInterface) RemoveDisableNMUdevRule(pfPciAddress string) error

RemoveDisableNMUdevRule mocks base method.

func (*MockHostManagerInterface) RemovePersistPFNameUdevRule

func (m *MockHostManagerInterface) RemovePersistPFNameUdevRule(pfPciAddress string) error

RemovePersistPFNameUdevRule mocks base method.

func (*MockHostManagerInterface) RemoveVfRepresentorUdevRule

func (m *MockHostManagerInterface) RemoveVfRepresentorUdevRule(pfPciAddress string) error

RemoveVfRepresentorUdevRule mocks base method.

func (*MockHostManagerInterface) ResetSriovDevice

func (m *MockHostManagerInterface) ResetSriovDevice(ifaceStatus v1.InterfaceExt) error

ResetSriovDevice mocks base method.

func (*MockHostManagerInterface) SetDevlinkDeviceParam

func (m *MockHostManagerInterface) SetDevlinkDeviceParam(pciAddr, paramName, value string) error

SetDevlinkDeviceParam mocks base method.

func (*MockHostManagerInterface) SetNetdevMTU

func (m *MockHostManagerInterface) SetNetdevMTU(pciAddr string, mtu int) error

SetNetdevMTU mocks base method.

func (*MockHostManagerInterface) SetNicSriovMode

func (m *MockHostManagerInterface) SetNicSriovMode(pciAddr, mode string) error

SetNicSriovMode mocks base method.

func (*MockHostManagerInterface) SetSriovNumVfs

func (m *MockHostManagerInterface) SetSriovNumVfs(pciAddr string, numVfs int) error

SetSriovNumVfs mocks base method.

func (*MockHostManagerInterface) SetVfAdminMac

func (m *MockHostManagerInterface) SetVfAdminMac(vfAddr string, pfLink, vfLink netlink.Link) error

SetVfAdminMac mocks base method.

func (*MockHostManagerInterface) TryEnableTun

func (m *MockHostManagerInterface) TryEnableTun()

TryEnableTun mocks base method.

func (*MockHostManagerInterface) TryEnableVhostNet

func (m *MockHostManagerInterface) TryEnableVhostNet()

TryEnableVhostNet mocks base method.

func (*MockHostManagerInterface) TryGetInterfaceName

func (m *MockHostManagerInterface) TryGetInterfaceName(pciAddr string) string

TryGetInterfaceName mocks base method.

func (*MockHostManagerInterface) TryToGetVirtualInterfaceName

func (m *MockHostManagerInterface) TryToGetVirtualInterfaceName(pciAddr string) string

TryToGetVirtualInterfaceName mocks base method.

func (*MockHostManagerInterface) Unbind

func (m *MockHostManagerInterface) Unbind(pciAddr string) error

Unbind mocks base method.

func (*MockHostManagerInterface) UnbindDriverByBusAndDevice

func (m *MockHostManagerInterface) UnbindDriverByBusAndDevice(bus, device string) error

UnbindDriverByBusAndDevice mocks base method.

func (*MockHostManagerInterface) UnbindDriverIfNeeded

func (m *MockHostManagerInterface) UnbindDriverIfNeeded(pciAddr string, isRdma bool) error

UnbindDriverIfNeeded mocks base method.

func (*MockHostManagerInterface) UpdateSystemService

func (m *MockHostManagerInterface) UpdateSystemService(serviceObj *types.Service) error

UpdateSystemService mocks base method.

func (*MockHostManagerInterface) VFIsReady

func (m *MockHostManagerInterface) VFIsReady(pciAddr string) (netlink.Link, error)

VFIsReady mocks base method.

type MockHostManagerInterfaceMockRecorder

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

MockHostManagerInterfaceMockRecorder is the mock recorder for MockHostManagerInterface.

func (*MockHostManagerInterfaceMockRecorder) AddDisableNMUdevRule

func (mr *MockHostManagerInterfaceMockRecorder) AddDisableNMUdevRule(pfPciAddress interface{}) *gomock.Call

AddDisableNMUdevRule indicates an expected call of AddDisableNMUdevRule.

func (*MockHostManagerInterfaceMockRecorder) AddPersistPFNameUdevRule

func (mr *MockHostManagerInterfaceMockRecorder) AddPersistPFNameUdevRule(pfPciAddress, pfName interface{}) *gomock.Call

AddPersistPFNameUdevRule indicates an expected call of AddPersistPFNameUdevRule.

func (*MockHostManagerInterfaceMockRecorder) AddVfRepresentorUdevRule

func (mr *MockHostManagerInterfaceMockRecorder) AddVfRepresentorUdevRule(pfPciAddress, pfName, pfSwitchID, pfSwitchPort interface{}) *gomock.Call

AddVfRepresentorUdevRule indicates an expected call of AddVfRepresentorUdevRule.

func (*MockHostManagerInterfaceMockRecorder) BindDefaultDriver

func (mr *MockHostManagerInterfaceMockRecorder) BindDefaultDriver(pciAddr interface{}) *gomock.Call

BindDefaultDriver indicates an expected call of BindDefaultDriver.

func (*MockHostManagerInterfaceMockRecorder) BindDpdkDriver

func (mr *MockHostManagerInterfaceMockRecorder) BindDpdkDriver(pciAddr, driver interface{}) *gomock.Call

BindDpdkDriver indicates an expected call of BindDpdkDriver.

func (*MockHostManagerInterfaceMockRecorder) BindDriverByBusAndDevice

func (mr *MockHostManagerInterfaceMockRecorder) BindDriverByBusAndDevice(bus, device, driver interface{}) *gomock.Call

BindDriverByBusAndDevice indicates an expected call of BindDriverByBusAndDevice.

func (*MockHostManagerInterfaceMockRecorder) CheckRDMAEnabled added in v1.4.0

func (mr *MockHostManagerInterfaceMockRecorder) CheckRDMAEnabled() *gomock.Call

CheckRDMAEnabled indicates an expected call of CheckRDMAEnabled.

func (*MockHostManagerInterfaceMockRecorder) CompareServices

func (mr *MockHostManagerInterfaceMockRecorder) CompareServices(serviceA, serviceB interface{}) *gomock.Call

CompareServices indicates an expected call of CompareServices.

func (*MockHostManagerInterfaceMockRecorder) ConfigSriovDeviceVirtual

func (mr *MockHostManagerInterfaceMockRecorder) ConfigSriovDeviceVirtual(iface interface{}) *gomock.Call

ConfigSriovDeviceVirtual indicates an expected call of ConfigSriovDeviceVirtual.

func (*MockHostManagerInterfaceMockRecorder) ConfigSriovInterfaces

func (mr *MockHostManagerInterfaceMockRecorder) ConfigSriovInterfaces(storeManager, interfaces, ifaceStatuses, skipVFConfiguration interface{}) *gomock.Call

ConfigSriovInterfaces indicates an expected call of ConfigSriovInterfaces.

func (*MockHostManagerInterfaceMockRecorder) ConfigureBridges added in v1.4.0

func (mr *MockHostManagerInterfaceMockRecorder) ConfigureBridges(bridgesSpec, bridgesStatus interface{}) *gomock.Call

ConfigureBridges indicates an expected call of ConfigureBridges.

func (*MockHostManagerInterfaceMockRecorder) ConfigureVfGUID added in v1.4.0

func (mr *MockHostManagerInterfaceMockRecorder) ConfigureVfGUID(vfAddr, pfAddr, vfID, pfLink interface{}) *gomock.Call

ConfigureVfGUID indicates an expected call of ConfigureVfGUID.

func (*MockHostManagerInterfaceMockRecorder) CreateVDPADevice

func (mr *MockHostManagerInterfaceMockRecorder) CreateVDPADevice(pciAddr, vdpaType interface{}) *gomock.Call

CreateVDPADevice indicates an expected call of CreateVDPADevice.

func (*MockHostManagerInterfaceMockRecorder) DeleteVDPADevice

func (mr *MockHostManagerInterfaceMockRecorder) DeleteVDPADevice(pciAddr interface{}) *gomock.Call

DeleteVDPADevice indicates an expected call of DeleteVDPADevice.

func (*MockHostManagerInterfaceMockRecorder) DetachInterfaceFromManagedBridge added in v1.4.0

func (mr *MockHostManagerInterfaceMockRecorder) DetachInterfaceFromManagedBridge(pciAddr interface{}) *gomock.Call

DetachInterfaceFromManagedBridge indicates an expected call of DetachInterfaceFromManagedBridge.

func (*MockHostManagerInterfaceMockRecorder) DiscoverBridges added in v1.4.0

func (mr *MockHostManagerInterfaceMockRecorder) DiscoverBridges() *gomock.Call

DiscoverBridges indicates an expected call of DiscoverBridges.

func (*MockHostManagerInterfaceMockRecorder) DiscoverSriovDevices

func (mr *MockHostManagerInterfaceMockRecorder) DiscoverSriovDevices(storeManager interface{}) *gomock.Call

DiscoverSriovDevices indicates an expected call of DiscoverSriovDevices.

func (*MockHostManagerInterfaceMockRecorder) DiscoverVDPAType

func (mr *MockHostManagerInterfaceMockRecorder) DiscoverVDPAType(pciAddr interface{}) *gomock.Call

DiscoverVDPAType indicates an expected call of DiscoverVDPAType.

func (*MockHostManagerInterfaceMockRecorder) EnableHwTcOffload

func (mr *MockHostManagerInterfaceMockRecorder) EnableHwTcOffload(ifaceName interface{}) *gomock.Call

EnableHwTcOffload indicates an expected call of EnableHwTcOffload.

func (*MockHostManagerInterfaceMockRecorder) EnableService

func (mr *MockHostManagerInterfaceMockRecorder) EnableService(service interface{}) *gomock.Call

EnableService indicates an expected call of EnableService.

func (*MockHostManagerInterfaceMockRecorder) GetCurrentKernelArgs

func (mr *MockHostManagerInterfaceMockRecorder) GetCurrentKernelArgs() *gomock.Call

GetCurrentKernelArgs indicates an expected call of GetCurrentKernelArgs.

func (*MockHostManagerInterfaceMockRecorder) GetDevlinkDeviceParam

func (mr *MockHostManagerInterfaceMockRecorder) GetDevlinkDeviceParam(pciAddr, paramName interface{}) *gomock.Call

GetDevlinkDeviceParam indicates an expected call of GetDevlinkDeviceParam.

func (*MockHostManagerInterfaceMockRecorder) GetDriverByBusAndDevice

func (mr *MockHostManagerInterfaceMockRecorder) GetDriverByBusAndDevice(bus, device interface{}) *gomock.Call

GetDriverByBusAndDevice indicates an expected call of GetDriverByBusAndDevice.

func (*MockHostManagerInterfaceMockRecorder) GetInterfaceIndex added in v1.4.0

func (mr *MockHostManagerInterfaceMockRecorder) GetInterfaceIndex(pciAddr interface{}) *gomock.Call

GetInterfaceIndex indicates an expected call of GetInterfaceIndex.

func (*MockHostManagerInterfaceMockRecorder) GetLinkType

func (mr *MockHostManagerInterfaceMockRecorder) GetLinkType(name interface{}) *gomock.Call

GetLinkType indicates an expected call of GetLinkType.

func (*MockHostManagerInterfaceMockRecorder) GetNetDevLinkAdminState

func (mr *MockHostManagerInterfaceMockRecorder) GetNetDevLinkAdminState(ifaceName interface{}) *gomock.Call

GetNetDevLinkAdminState indicates an expected call of GetNetDevLinkAdminState.

func (*MockHostManagerInterfaceMockRecorder) GetNetDevLinkSpeed

func (mr *MockHostManagerInterfaceMockRecorder) GetNetDevLinkSpeed(name interface{}) *gomock.Call

GetNetDevLinkSpeed indicates an expected call of GetNetDevLinkSpeed.

func (*MockHostManagerInterfaceMockRecorder) GetNetDevMac

func (mr *MockHostManagerInterfaceMockRecorder) GetNetDevMac(name interface{}) *gomock.Call

GetNetDevMac indicates an expected call of GetNetDevMac.

func (*MockHostManagerInterfaceMockRecorder) GetNetDevNodeGUID

func (mr *MockHostManagerInterfaceMockRecorder) GetNetDevNodeGUID(pciAddr interface{}) *gomock.Call

GetNetDevNodeGUID indicates an expected call of GetNetDevNodeGUID.

func (*MockHostManagerInterfaceMockRecorder) GetNetdevMTU

func (mr *MockHostManagerInterfaceMockRecorder) GetNetdevMTU(pciAddr interface{}) *gomock.Call

GetNetdevMTU indicates an expected call of GetNetdevMTU.

func (*MockHostManagerInterfaceMockRecorder) GetNicSriovMode

func (mr *MockHostManagerInterfaceMockRecorder) GetNicSriovMode(pciAddr interface{}) *gomock.Call

GetNicSriovMode indicates an expected call of GetNicSriovMode.

func (*MockHostManagerInterfaceMockRecorder) GetPciAddressFromInterfaceName added in v1.4.0

func (mr *MockHostManagerInterfaceMockRecorder) GetPciAddressFromInterfaceName(interfaceName interface{}) *gomock.Call

GetPciAddressFromInterfaceName indicates an expected call of GetPciAddressFromInterfaceName.

func (*MockHostManagerInterfaceMockRecorder) GetPhysPortName

func (mr *MockHostManagerInterfaceMockRecorder) GetPhysPortName(name interface{}) *gomock.Call

GetPhysPortName indicates an expected call of GetPhysPortName.

func (*MockHostManagerInterfaceMockRecorder) GetPhysSwitchID

func (mr *MockHostManagerInterfaceMockRecorder) GetPhysSwitchID(name interface{}) *gomock.Call

GetPhysSwitchID indicates an expected call of GetPhysSwitchID.

func (*MockHostManagerInterfaceMockRecorder) HasDriver

func (mr *MockHostManagerInterfaceMockRecorder) HasDriver(pciAddr interface{}) *gomock.Call

HasDriver indicates an expected call of HasDriver.

func (*MockHostManagerInterfaceMockRecorder) IsKernelArgsSet

func (mr *MockHostManagerInterfaceMockRecorder) IsKernelArgsSet(cmdLine, karg interface{}) *gomock.Call

IsKernelArgsSet indicates an expected call of IsKernelArgsSet.

func (*MockHostManagerInterfaceMockRecorder) IsKernelLockdownMode

func (mr *MockHostManagerInterfaceMockRecorder) IsKernelLockdownMode() *gomock.Call

IsKernelLockdownMode indicates an expected call of IsKernelLockdownMode.

func (*MockHostManagerInterfaceMockRecorder) IsKernelModuleLoaded

func (mr *MockHostManagerInterfaceMockRecorder) IsKernelModuleLoaded(name interface{}) *gomock.Call

IsKernelModuleLoaded indicates an expected call of IsKernelModuleLoaded.

func (*MockHostManagerInterfaceMockRecorder) IsServiceEnabled

func (mr *MockHostManagerInterfaceMockRecorder) IsServiceEnabled(servicePath interface{}) *gomock.Call

IsServiceEnabled indicates an expected call of IsServiceEnabled.

func (*MockHostManagerInterfaceMockRecorder) IsServiceExist

func (mr *MockHostManagerInterfaceMockRecorder) IsServiceExist(servicePath interface{}) *gomock.Call

IsServiceExist indicates an expected call of IsServiceExist.

func (*MockHostManagerInterfaceMockRecorder) IsSwitchdev

func (mr *MockHostManagerInterfaceMockRecorder) IsSwitchdev(name interface{}) *gomock.Call

IsSwitchdev indicates an expected call of IsSwitchdev.

func (*MockHostManagerInterfaceMockRecorder) LoadKernelModule

func (mr *MockHostManagerInterfaceMockRecorder) LoadKernelModule(name interface{}, args ...interface{}) *gomock.Call

LoadKernelModule indicates an expected call of LoadKernelModule.

func (*MockHostManagerInterfaceMockRecorder) LoadUdevRules

func (mr *MockHostManagerInterfaceMockRecorder) LoadUdevRules() *gomock.Call

LoadUdevRules indicates an expected call of LoadUdevRules.

func (*MockHostManagerInterfaceMockRecorder) PrepareNMUdevRule

func (mr *MockHostManagerInterfaceMockRecorder) PrepareNMUdevRule(supportedVfIds interface{}) *gomock.Call

PrepareNMUdevRule indicates an expected call of PrepareNMUdevRule.

func (*MockHostManagerInterfaceMockRecorder) PrepareVFRepUdevRule

func (mr *MockHostManagerInterfaceMockRecorder) PrepareVFRepUdevRule() *gomock.Call

PrepareVFRepUdevRule indicates an expected call of PrepareVFRepUdevRule.

func (*MockHostManagerInterfaceMockRecorder) ReadService

func (mr *MockHostManagerInterfaceMockRecorder) ReadService(servicePath interface{}) *gomock.Call

ReadService indicates an expected call of ReadService.

func (*MockHostManagerInterfaceMockRecorder) ReadServiceInjectionManifestFile

func (mr *MockHostManagerInterfaceMockRecorder) ReadServiceInjectionManifestFile(path interface{}) *gomock.Call

ReadServiceInjectionManifestFile indicates an expected call of ReadServiceInjectionManifestFile.

func (*MockHostManagerInterfaceMockRecorder) ReadServiceManifestFile

func (mr *MockHostManagerInterfaceMockRecorder) ReadServiceManifestFile(path interface{}) *gomock.Call

ReadServiceManifestFile indicates an expected call of ReadServiceManifestFile.

func (*MockHostManagerInterfaceMockRecorder) RebindVfToDefaultDriver

func (mr *MockHostManagerInterfaceMockRecorder) RebindVfToDefaultDriver(pciAddr interface{}) *gomock.Call

RebindVfToDefaultDriver indicates an expected call of RebindVfToDefaultDriver.

func (*MockHostManagerInterfaceMockRecorder) RemoveDisableNMUdevRule

func (mr *MockHostManagerInterfaceMockRecorder) RemoveDisableNMUdevRule(pfPciAddress interface{}) *gomock.Call

RemoveDisableNMUdevRule indicates an expected call of RemoveDisableNMUdevRule.

func (*MockHostManagerInterfaceMockRecorder) RemovePersistPFNameUdevRule

func (mr *MockHostManagerInterfaceMockRecorder) RemovePersistPFNameUdevRule(pfPciAddress interface{}) *gomock.Call

RemovePersistPFNameUdevRule indicates an expected call of RemovePersistPFNameUdevRule.

func (*MockHostManagerInterfaceMockRecorder) RemoveVfRepresentorUdevRule

func (mr *MockHostManagerInterfaceMockRecorder) RemoveVfRepresentorUdevRule(pfPciAddress interface{}) *gomock.Call

RemoveVfRepresentorUdevRule indicates an expected call of RemoveVfRepresentorUdevRule.

func (*MockHostManagerInterfaceMockRecorder) ResetSriovDevice

func (mr *MockHostManagerInterfaceMockRecorder) ResetSriovDevice(ifaceStatus interface{}) *gomock.Call

ResetSriovDevice indicates an expected call of ResetSriovDevice.

func (*MockHostManagerInterfaceMockRecorder) SetDevlinkDeviceParam

func (mr *MockHostManagerInterfaceMockRecorder) SetDevlinkDeviceParam(pciAddr, paramName, value interface{}) *gomock.Call

SetDevlinkDeviceParam indicates an expected call of SetDevlinkDeviceParam.

func (*MockHostManagerInterfaceMockRecorder) SetNetdevMTU

func (mr *MockHostManagerInterfaceMockRecorder) SetNetdevMTU(pciAddr, mtu interface{}) *gomock.Call

SetNetdevMTU indicates an expected call of SetNetdevMTU.

func (*MockHostManagerInterfaceMockRecorder) SetNicSriovMode

func (mr *MockHostManagerInterfaceMockRecorder) SetNicSriovMode(pciAddr, mode interface{}) *gomock.Call

SetNicSriovMode indicates an expected call of SetNicSriovMode.

func (*MockHostManagerInterfaceMockRecorder) SetSriovNumVfs

func (mr *MockHostManagerInterfaceMockRecorder) SetSriovNumVfs(pciAddr, numVfs interface{}) *gomock.Call

SetSriovNumVfs indicates an expected call of SetSriovNumVfs.

func (*MockHostManagerInterfaceMockRecorder) SetVfAdminMac

func (mr *MockHostManagerInterfaceMockRecorder) SetVfAdminMac(vfAddr, pfLink, vfLink interface{}) *gomock.Call

SetVfAdminMac indicates an expected call of SetVfAdminMac.

func (*MockHostManagerInterfaceMockRecorder) TryEnableTun

func (mr *MockHostManagerInterfaceMockRecorder) TryEnableTun() *gomock.Call

TryEnableTun indicates an expected call of TryEnableTun.

func (*MockHostManagerInterfaceMockRecorder) TryEnableVhostNet

func (mr *MockHostManagerInterfaceMockRecorder) TryEnableVhostNet() *gomock.Call

TryEnableVhostNet indicates an expected call of TryEnableVhostNet.

func (*MockHostManagerInterfaceMockRecorder) TryGetInterfaceName

func (mr *MockHostManagerInterfaceMockRecorder) TryGetInterfaceName(pciAddr interface{}) *gomock.Call

TryGetInterfaceName indicates an expected call of TryGetInterfaceName.

func (*MockHostManagerInterfaceMockRecorder) TryToGetVirtualInterfaceName

func (mr *MockHostManagerInterfaceMockRecorder) TryToGetVirtualInterfaceName(pciAddr interface{}) *gomock.Call

TryToGetVirtualInterfaceName indicates an expected call of TryToGetVirtualInterfaceName.

func (*MockHostManagerInterfaceMockRecorder) Unbind

func (mr *MockHostManagerInterfaceMockRecorder) Unbind(pciAddr interface{}) *gomock.Call

Unbind indicates an expected call of Unbind.

func (*MockHostManagerInterfaceMockRecorder) UnbindDriverByBusAndDevice

func (mr *MockHostManagerInterfaceMockRecorder) UnbindDriverByBusAndDevice(bus, device interface{}) *gomock.Call

UnbindDriverByBusAndDevice indicates an expected call of UnbindDriverByBusAndDevice.

func (*MockHostManagerInterfaceMockRecorder) UnbindDriverIfNeeded

func (mr *MockHostManagerInterfaceMockRecorder) UnbindDriverIfNeeded(pciAddr, isRdma interface{}) *gomock.Call

UnbindDriverIfNeeded indicates an expected call of UnbindDriverIfNeeded.

func (*MockHostManagerInterfaceMockRecorder) UpdateSystemService

func (mr *MockHostManagerInterfaceMockRecorder) UpdateSystemService(serviceObj interface{}) *gomock.Call

UpdateSystemService indicates an expected call of UpdateSystemService.

func (*MockHostManagerInterfaceMockRecorder) VFIsReady

func (mr *MockHostManagerInterfaceMockRecorder) VFIsReady(pciAddr interface{}) *gomock.Call

VFIsReady indicates an expected call of VFIsReady.

Jump to

Keyboard shortcuts

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