github.com/k8snetworkplumbingwg/sriov-network-operator@v1.2.1-0.20240408194816-2d2e5a45d453/pkg/helper/mock/mock_helper.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: host.go
     3  
     4  // Package mock_helper is a generated GoMock package.
     5  package mock_helper
     6  
     7  import (
     8  	reflect "reflect"
     9  
    10  	gomock "github.com/golang/mock/gomock"
    11  	ghw "github.com/jaypipes/ghw"
    12  	v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1"
    13  	store "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/store"
    14  	types "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types"
    15  	mlxutils "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vendors/mellanox"
    16  	netlink "github.com/vishvananda/netlink"
    17  )
    18  
    19  // MockHostHelpersInterface is a mock of HostHelpersInterface interface.
    20  type MockHostHelpersInterface struct {
    21  	ctrl     *gomock.Controller
    22  	recorder *MockHostHelpersInterfaceMockRecorder
    23  }
    24  
    25  // MockHostHelpersInterfaceMockRecorder is the mock recorder for MockHostHelpersInterface.
    26  type MockHostHelpersInterfaceMockRecorder struct {
    27  	mock *MockHostHelpersInterface
    28  }
    29  
    30  // NewMockHostHelpersInterface creates a new mock instance.
    31  func NewMockHostHelpersInterface(ctrl *gomock.Controller) *MockHostHelpersInterface {
    32  	mock := &MockHostHelpersInterface{ctrl: ctrl}
    33  	mock.recorder = &MockHostHelpersInterfaceMockRecorder{mock}
    34  	return mock
    35  }
    36  
    37  // EXPECT returns an object that allows the caller to indicate expected use.
    38  func (m *MockHostHelpersInterface) EXPECT() *MockHostHelpersInterfaceMockRecorder {
    39  	return m.recorder
    40  }
    41  
    42  // AddDisableNMUdevRule mocks base method.
    43  func (m *MockHostHelpersInterface) AddDisableNMUdevRule(pfPciAddress string) error {
    44  	m.ctrl.T.Helper()
    45  	ret := m.ctrl.Call(m, "AddDisableNMUdevRule", pfPciAddress)
    46  	ret0, _ := ret[0].(error)
    47  	return ret0
    48  }
    49  
    50  // AddDisableNMUdevRule indicates an expected call of AddDisableNMUdevRule.
    51  func (mr *MockHostHelpersInterfaceMockRecorder) AddDisableNMUdevRule(pfPciAddress interface{}) *gomock.Call {
    52  	mr.mock.ctrl.T.Helper()
    53  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddDisableNMUdevRule", reflect.TypeOf((*MockHostHelpersInterface)(nil).AddDisableNMUdevRule), pfPciAddress)
    54  }
    55  
    56  // AddPersistPFNameUdevRule mocks base method.
    57  func (m *MockHostHelpersInterface) AddPersistPFNameUdevRule(pfPciAddress, pfName string) error {
    58  	m.ctrl.T.Helper()
    59  	ret := m.ctrl.Call(m, "AddPersistPFNameUdevRule", pfPciAddress, pfName)
    60  	ret0, _ := ret[0].(error)
    61  	return ret0
    62  }
    63  
    64  // AddPersistPFNameUdevRule indicates an expected call of AddPersistPFNameUdevRule.
    65  func (mr *MockHostHelpersInterfaceMockRecorder) AddPersistPFNameUdevRule(pfPciAddress, pfName interface{}) *gomock.Call {
    66  	mr.mock.ctrl.T.Helper()
    67  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddPersistPFNameUdevRule", reflect.TypeOf((*MockHostHelpersInterface)(nil).AddPersistPFNameUdevRule), pfPciAddress, pfName)
    68  }
    69  
    70  // AddVfRepresentorUdevRule mocks base method.
    71  func (m *MockHostHelpersInterface) AddVfRepresentorUdevRule(pfPciAddress, pfName, pfSwitchID, pfSwitchPort string) error {
    72  	m.ctrl.T.Helper()
    73  	ret := m.ctrl.Call(m, "AddVfRepresentorUdevRule", pfPciAddress, pfName, pfSwitchID, pfSwitchPort)
    74  	ret0, _ := ret[0].(error)
    75  	return ret0
    76  }
    77  
    78  // AddVfRepresentorUdevRule indicates an expected call of AddVfRepresentorUdevRule.
    79  func (mr *MockHostHelpersInterfaceMockRecorder) AddVfRepresentorUdevRule(pfPciAddress, pfName, pfSwitchID, pfSwitchPort interface{}) *gomock.Call {
    80  	mr.mock.ctrl.T.Helper()
    81  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddVfRepresentorUdevRule", reflect.TypeOf((*MockHostHelpersInterface)(nil).AddVfRepresentorUdevRule), pfPciAddress, pfName, pfSwitchID, pfSwitchPort)
    82  }
    83  
    84  // BindDefaultDriver mocks base method.
    85  func (m *MockHostHelpersInterface) BindDefaultDriver(pciAddr string) error {
    86  	m.ctrl.T.Helper()
    87  	ret := m.ctrl.Call(m, "BindDefaultDriver", pciAddr)
    88  	ret0, _ := ret[0].(error)
    89  	return ret0
    90  }
    91  
    92  // BindDefaultDriver indicates an expected call of BindDefaultDriver.
    93  func (mr *MockHostHelpersInterfaceMockRecorder) BindDefaultDriver(pciAddr interface{}) *gomock.Call {
    94  	mr.mock.ctrl.T.Helper()
    95  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BindDefaultDriver", reflect.TypeOf((*MockHostHelpersInterface)(nil).BindDefaultDriver), pciAddr)
    96  }
    97  
    98  // BindDpdkDriver mocks base method.
    99  func (m *MockHostHelpersInterface) BindDpdkDriver(pciAddr, driver string) error {
   100  	m.ctrl.T.Helper()
   101  	ret := m.ctrl.Call(m, "BindDpdkDriver", pciAddr, driver)
   102  	ret0, _ := ret[0].(error)
   103  	return ret0
   104  }
   105  
   106  // BindDpdkDriver indicates an expected call of BindDpdkDriver.
   107  func (mr *MockHostHelpersInterfaceMockRecorder) BindDpdkDriver(pciAddr, driver interface{}) *gomock.Call {
   108  	mr.mock.ctrl.T.Helper()
   109  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BindDpdkDriver", reflect.TypeOf((*MockHostHelpersInterface)(nil).BindDpdkDriver), pciAddr, driver)
   110  }
   111  
   112  // BindDriverByBusAndDevice mocks base method.
   113  func (m *MockHostHelpersInterface) BindDriverByBusAndDevice(bus, device, driver string) error {
   114  	m.ctrl.T.Helper()
   115  	ret := m.ctrl.Call(m, "BindDriverByBusAndDevice", bus, device, driver)
   116  	ret0, _ := ret[0].(error)
   117  	return ret0
   118  }
   119  
   120  // BindDriverByBusAndDevice indicates an expected call of BindDriverByBusAndDevice.
   121  func (mr *MockHostHelpersInterfaceMockRecorder) BindDriverByBusAndDevice(bus, device, driver interface{}) *gomock.Call {
   122  	mr.mock.ctrl.T.Helper()
   123  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BindDriverByBusAndDevice", reflect.TypeOf((*MockHostHelpersInterface)(nil).BindDriverByBusAndDevice), bus, device, driver)
   124  }
   125  
   126  // Chroot mocks base method.
   127  func (m *MockHostHelpersInterface) Chroot(arg0 string) (func() error, error) {
   128  	m.ctrl.T.Helper()
   129  	ret := m.ctrl.Call(m, "Chroot", arg0)
   130  	ret0, _ := ret[0].(func() error)
   131  	ret1, _ := ret[1].(error)
   132  	return ret0, ret1
   133  }
   134  
   135  // Chroot indicates an expected call of Chroot.
   136  func (mr *MockHostHelpersInterfaceMockRecorder) Chroot(arg0 interface{}) *gomock.Call {
   137  	mr.mock.ctrl.T.Helper()
   138  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Chroot", reflect.TypeOf((*MockHostHelpersInterface)(nil).Chroot), arg0)
   139  }
   140  
   141  // ClearPCIAddressFolder mocks base method.
   142  func (m *MockHostHelpersInterface) ClearPCIAddressFolder() error {
   143  	m.ctrl.T.Helper()
   144  	ret := m.ctrl.Call(m, "ClearPCIAddressFolder")
   145  	ret0, _ := ret[0].(error)
   146  	return ret0
   147  }
   148  
   149  // ClearPCIAddressFolder indicates an expected call of ClearPCIAddressFolder.
   150  func (mr *MockHostHelpersInterfaceMockRecorder) ClearPCIAddressFolder() *gomock.Call {
   151  	mr.mock.ctrl.T.Helper()
   152  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearPCIAddressFolder", reflect.TypeOf((*MockHostHelpersInterface)(nil).ClearPCIAddressFolder))
   153  }
   154  
   155  // CompareServices mocks base method.
   156  func (m *MockHostHelpersInterface) CompareServices(serviceA, serviceB *types.Service) (bool, error) {
   157  	m.ctrl.T.Helper()
   158  	ret := m.ctrl.Call(m, "CompareServices", serviceA, serviceB)
   159  	ret0, _ := ret[0].(bool)
   160  	ret1, _ := ret[1].(error)
   161  	return ret0, ret1
   162  }
   163  
   164  // CompareServices indicates an expected call of CompareServices.
   165  func (mr *MockHostHelpersInterfaceMockRecorder) CompareServices(serviceA, serviceB interface{}) *gomock.Call {
   166  	mr.mock.ctrl.T.Helper()
   167  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CompareServices", reflect.TypeOf((*MockHostHelpersInterface)(nil).CompareServices), serviceA, serviceB)
   168  }
   169  
   170  // ConfigSriovDeviceVirtual mocks base method.
   171  func (m *MockHostHelpersInterface) ConfigSriovDeviceVirtual(iface *v1.Interface) error {
   172  	m.ctrl.T.Helper()
   173  	ret := m.ctrl.Call(m, "ConfigSriovDeviceVirtual", iface)
   174  	ret0, _ := ret[0].(error)
   175  	return ret0
   176  }
   177  
   178  // ConfigSriovDeviceVirtual indicates an expected call of ConfigSriovDeviceVirtual.
   179  func (mr *MockHostHelpersInterfaceMockRecorder) ConfigSriovDeviceVirtual(iface interface{}) *gomock.Call {
   180  	mr.mock.ctrl.T.Helper()
   181  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfigSriovDeviceVirtual", reflect.TypeOf((*MockHostHelpersInterface)(nil).ConfigSriovDeviceVirtual), iface)
   182  }
   183  
   184  // ConfigSriovInterfaces mocks base method.
   185  func (m *MockHostHelpersInterface) ConfigSriovInterfaces(storeManager store.ManagerInterface, interfaces []v1.Interface, ifaceStatuses []v1.InterfaceExt, skipVFConfiguration bool) error {
   186  	m.ctrl.T.Helper()
   187  	ret := m.ctrl.Call(m, "ConfigSriovInterfaces", storeManager, interfaces, ifaceStatuses, skipVFConfiguration)
   188  	ret0, _ := ret[0].(error)
   189  	return ret0
   190  }
   191  
   192  // ConfigSriovInterfaces indicates an expected call of ConfigSriovInterfaces.
   193  func (mr *MockHostHelpersInterfaceMockRecorder) ConfigSriovInterfaces(storeManager, interfaces, ifaceStatuses, skipVFConfiguration interface{}) *gomock.Call {
   194  	mr.mock.ctrl.T.Helper()
   195  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConfigSriovInterfaces", reflect.TypeOf((*MockHostHelpersInterface)(nil).ConfigSriovInterfaces), storeManager, interfaces, ifaceStatuses, skipVFConfiguration)
   196  }
   197  
   198  // CreateVDPADevice mocks base method.
   199  func (m *MockHostHelpersInterface) CreateVDPADevice(pciAddr, vdpaType string) error {
   200  	m.ctrl.T.Helper()
   201  	ret := m.ctrl.Call(m, "CreateVDPADevice", pciAddr, vdpaType)
   202  	ret0, _ := ret[0].(error)
   203  	return ret0
   204  }
   205  
   206  // CreateVDPADevice indicates an expected call of CreateVDPADevice.
   207  func (mr *MockHostHelpersInterfaceMockRecorder) CreateVDPADevice(pciAddr, vdpaType interface{}) *gomock.Call {
   208  	mr.mock.ctrl.T.Helper()
   209  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateVDPADevice", reflect.TypeOf((*MockHostHelpersInterface)(nil).CreateVDPADevice), pciAddr, vdpaType)
   210  }
   211  
   212  // DeleteVDPADevice mocks base method.
   213  func (m *MockHostHelpersInterface) DeleteVDPADevice(pciAddr string) error {
   214  	m.ctrl.T.Helper()
   215  	ret := m.ctrl.Call(m, "DeleteVDPADevice", pciAddr)
   216  	ret0, _ := ret[0].(error)
   217  	return ret0
   218  }
   219  
   220  // DeleteVDPADevice indicates an expected call of DeleteVDPADevice.
   221  func (mr *MockHostHelpersInterfaceMockRecorder) DeleteVDPADevice(pciAddr interface{}) *gomock.Call {
   222  	mr.mock.ctrl.T.Helper()
   223  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteVDPADevice", reflect.TypeOf((*MockHostHelpersInterface)(nil).DeleteVDPADevice), pciAddr)
   224  }
   225  
   226  // DiscoverSriovDevices mocks base method.
   227  func (m *MockHostHelpersInterface) DiscoverSriovDevices(storeManager store.ManagerInterface) ([]v1.InterfaceExt, error) {
   228  	m.ctrl.T.Helper()
   229  	ret := m.ctrl.Call(m, "DiscoverSriovDevices", storeManager)
   230  	ret0, _ := ret[0].([]v1.InterfaceExt)
   231  	ret1, _ := ret[1].(error)
   232  	return ret0, ret1
   233  }
   234  
   235  // DiscoverSriovDevices indicates an expected call of DiscoverSriovDevices.
   236  func (mr *MockHostHelpersInterfaceMockRecorder) DiscoverSriovDevices(storeManager interface{}) *gomock.Call {
   237  	mr.mock.ctrl.T.Helper()
   238  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiscoverSriovDevices", reflect.TypeOf((*MockHostHelpersInterface)(nil).DiscoverSriovDevices), storeManager)
   239  }
   240  
   241  // DiscoverVDPAType mocks base method.
   242  func (m *MockHostHelpersInterface) DiscoverVDPAType(pciAddr string) string {
   243  	m.ctrl.T.Helper()
   244  	ret := m.ctrl.Call(m, "DiscoverVDPAType", pciAddr)
   245  	ret0, _ := ret[0].(string)
   246  	return ret0
   247  }
   248  
   249  // DiscoverVDPAType indicates an expected call of DiscoverVDPAType.
   250  func (mr *MockHostHelpersInterfaceMockRecorder) DiscoverVDPAType(pciAddr interface{}) *gomock.Call {
   251  	mr.mock.ctrl.T.Helper()
   252  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiscoverVDPAType", reflect.TypeOf((*MockHostHelpersInterface)(nil).DiscoverVDPAType), pciAddr)
   253  }
   254  
   255  // EnableHwTcOffload mocks base method.
   256  func (m *MockHostHelpersInterface) EnableHwTcOffload(ifaceName string) error {
   257  	m.ctrl.T.Helper()
   258  	ret := m.ctrl.Call(m, "EnableHwTcOffload", ifaceName)
   259  	ret0, _ := ret[0].(error)
   260  	return ret0
   261  }
   262  
   263  // EnableHwTcOffload indicates an expected call of EnableHwTcOffload.
   264  func (mr *MockHostHelpersInterfaceMockRecorder) EnableHwTcOffload(ifaceName interface{}) *gomock.Call {
   265  	mr.mock.ctrl.T.Helper()
   266  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableHwTcOffload", reflect.TypeOf((*MockHostHelpersInterface)(nil).EnableHwTcOffload), ifaceName)
   267  }
   268  
   269  // EnableRDMA mocks base method.
   270  func (m *MockHostHelpersInterface) EnableRDMA(conditionFilePath, serviceName, packageManager string) (bool, error) {
   271  	m.ctrl.T.Helper()
   272  	ret := m.ctrl.Call(m, "EnableRDMA", conditionFilePath, serviceName, packageManager)
   273  	ret0, _ := ret[0].(bool)
   274  	ret1, _ := ret[1].(error)
   275  	return ret0, ret1
   276  }
   277  
   278  // EnableRDMA indicates an expected call of EnableRDMA.
   279  func (mr *MockHostHelpersInterfaceMockRecorder) EnableRDMA(conditionFilePath, serviceName, packageManager interface{}) *gomock.Call {
   280  	mr.mock.ctrl.T.Helper()
   281  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableRDMA", reflect.TypeOf((*MockHostHelpersInterface)(nil).EnableRDMA), conditionFilePath, serviceName, packageManager)
   282  }
   283  
   284  // EnableRDMAOnRHELMachine mocks base method.
   285  func (m *MockHostHelpersInterface) EnableRDMAOnRHELMachine() (bool, error) {
   286  	m.ctrl.T.Helper()
   287  	ret := m.ctrl.Call(m, "EnableRDMAOnRHELMachine")
   288  	ret0, _ := ret[0].(bool)
   289  	ret1, _ := ret[1].(error)
   290  	return ret0, ret1
   291  }
   292  
   293  // EnableRDMAOnRHELMachine indicates an expected call of EnableRDMAOnRHELMachine.
   294  func (mr *MockHostHelpersInterfaceMockRecorder) EnableRDMAOnRHELMachine() *gomock.Call {
   295  	mr.mock.ctrl.T.Helper()
   296  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableRDMAOnRHELMachine", reflect.TypeOf((*MockHostHelpersInterface)(nil).EnableRDMAOnRHELMachine))
   297  }
   298  
   299  // EnableService mocks base method.
   300  func (m *MockHostHelpersInterface) EnableService(service *types.Service) error {
   301  	m.ctrl.T.Helper()
   302  	ret := m.ctrl.Call(m, "EnableService", service)
   303  	ret0, _ := ret[0].(error)
   304  	return ret0
   305  }
   306  
   307  // EnableService indicates an expected call of EnableService.
   308  func (mr *MockHostHelpersInterfaceMockRecorder) EnableService(service interface{}) *gomock.Call {
   309  	mr.mock.ctrl.T.Helper()
   310  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableService", reflect.TypeOf((*MockHostHelpersInterface)(nil).EnableService), service)
   311  }
   312  
   313  // GetCheckPointNodeState mocks base method.
   314  func (m *MockHostHelpersInterface) GetCheckPointNodeState() (*v1.SriovNetworkNodeState, error) {
   315  	m.ctrl.T.Helper()
   316  	ret := m.ctrl.Call(m, "GetCheckPointNodeState")
   317  	ret0, _ := ret[0].(*v1.SriovNetworkNodeState)
   318  	ret1, _ := ret[1].(error)
   319  	return ret0, ret1
   320  }
   321  
   322  // GetCheckPointNodeState indicates an expected call of GetCheckPointNodeState.
   323  func (mr *MockHostHelpersInterfaceMockRecorder) GetCheckPointNodeState() *gomock.Call {
   324  	mr.mock.ctrl.T.Helper()
   325  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCheckPointNodeState", reflect.TypeOf((*MockHostHelpersInterface)(nil).GetCheckPointNodeState))
   326  }
   327  
   328  // GetCurrentKernelArgs mocks base method.
   329  func (m *MockHostHelpersInterface) GetCurrentKernelArgs() (string, error) {
   330  	m.ctrl.T.Helper()
   331  	ret := m.ctrl.Call(m, "GetCurrentKernelArgs")
   332  	ret0, _ := ret[0].(string)
   333  	ret1, _ := ret[1].(error)
   334  	return ret0, ret1
   335  }
   336  
   337  // GetCurrentKernelArgs indicates an expected call of GetCurrentKernelArgs.
   338  func (mr *MockHostHelpersInterfaceMockRecorder) GetCurrentKernelArgs() *gomock.Call {
   339  	mr.mock.ctrl.T.Helper()
   340  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentKernelArgs", reflect.TypeOf((*MockHostHelpersInterface)(nil).GetCurrentKernelArgs))
   341  }
   342  
   343  // GetDevlinkDeviceParam mocks base method.
   344  func (m *MockHostHelpersInterface) GetDevlinkDeviceParam(pciAddr, paramName string) (string, error) {
   345  	m.ctrl.T.Helper()
   346  	ret := m.ctrl.Call(m, "GetDevlinkDeviceParam", pciAddr, paramName)
   347  	ret0, _ := ret[0].(string)
   348  	ret1, _ := ret[1].(error)
   349  	return ret0, ret1
   350  }
   351  
   352  // GetDevlinkDeviceParam indicates an expected call of GetDevlinkDeviceParam.
   353  func (mr *MockHostHelpersInterfaceMockRecorder) GetDevlinkDeviceParam(pciAddr, paramName interface{}) *gomock.Call {
   354  	mr.mock.ctrl.T.Helper()
   355  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDevlinkDeviceParam", reflect.TypeOf((*MockHostHelpersInterface)(nil).GetDevlinkDeviceParam), pciAddr, paramName)
   356  }
   357  
   358  // GetDriverByBusAndDevice mocks base method.
   359  func (m *MockHostHelpersInterface) GetDriverByBusAndDevice(bus, device string) (string, error) {
   360  	m.ctrl.T.Helper()
   361  	ret := m.ctrl.Call(m, "GetDriverByBusAndDevice", bus, device)
   362  	ret0, _ := ret[0].(string)
   363  	ret1, _ := ret[1].(error)
   364  	return ret0, ret1
   365  }
   366  
   367  // GetDriverByBusAndDevice indicates an expected call of GetDriverByBusAndDevice.
   368  func (mr *MockHostHelpersInterfaceMockRecorder) GetDriverByBusAndDevice(bus, device interface{}) *gomock.Call {
   369  	mr.mock.ctrl.T.Helper()
   370  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDriverByBusAndDevice", reflect.TypeOf((*MockHostHelpersInterface)(nil).GetDriverByBusAndDevice), bus, device)
   371  }
   372  
   373  // GetLinkType mocks base method.
   374  func (m *MockHostHelpersInterface) GetLinkType(name string) string {
   375  	m.ctrl.T.Helper()
   376  	ret := m.ctrl.Call(m, "GetLinkType", name)
   377  	ret0, _ := ret[0].(string)
   378  	return ret0
   379  }
   380  
   381  // GetLinkType indicates an expected call of GetLinkType.
   382  func (mr *MockHostHelpersInterfaceMockRecorder) GetLinkType(name interface{}) *gomock.Call {
   383  	mr.mock.ctrl.T.Helper()
   384  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLinkType", reflect.TypeOf((*MockHostHelpersInterface)(nil).GetLinkType), name)
   385  }
   386  
   387  // GetMellanoxBlueFieldMode mocks base method.
   388  func (m *MockHostHelpersInterface) GetMellanoxBlueFieldMode(arg0 string) (mlxutils.BlueFieldMode, error) {
   389  	m.ctrl.T.Helper()
   390  	ret := m.ctrl.Call(m, "GetMellanoxBlueFieldMode", arg0)
   391  	ret0, _ := ret[0].(mlxutils.BlueFieldMode)
   392  	ret1, _ := ret[1].(error)
   393  	return ret0, ret1
   394  }
   395  
   396  // GetMellanoxBlueFieldMode indicates an expected call of GetMellanoxBlueFieldMode.
   397  func (mr *MockHostHelpersInterfaceMockRecorder) GetMellanoxBlueFieldMode(arg0 interface{}) *gomock.Call {
   398  	mr.mock.ctrl.T.Helper()
   399  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMellanoxBlueFieldMode", reflect.TypeOf((*MockHostHelpersInterface)(nil).GetMellanoxBlueFieldMode), arg0)
   400  }
   401  
   402  // GetMlxNicFwData mocks base method.
   403  func (m *MockHostHelpersInterface) GetMlxNicFwData(pciAddress string) (*mlxutils.MlxNic, *mlxutils.MlxNic, error) {
   404  	m.ctrl.T.Helper()
   405  	ret := m.ctrl.Call(m, "GetMlxNicFwData", pciAddress)
   406  	ret0, _ := ret[0].(*mlxutils.MlxNic)
   407  	ret1, _ := ret[1].(*mlxutils.MlxNic)
   408  	ret2, _ := ret[2].(error)
   409  	return ret0, ret1, ret2
   410  }
   411  
   412  // GetMlxNicFwData indicates an expected call of GetMlxNicFwData.
   413  func (mr *MockHostHelpersInterfaceMockRecorder) GetMlxNicFwData(pciAddress interface{}) *gomock.Call {
   414  	mr.mock.ctrl.T.Helper()
   415  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMlxNicFwData", reflect.TypeOf((*MockHostHelpersInterface)(nil).GetMlxNicFwData), pciAddress)
   416  }
   417  
   418  // GetNetDevLinkSpeed mocks base method.
   419  func (m *MockHostHelpersInterface) GetNetDevLinkSpeed(name string) string {
   420  	m.ctrl.T.Helper()
   421  	ret := m.ctrl.Call(m, "GetNetDevLinkSpeed", name)
   422  	ret0, _ := ret[0].(string)
   423  	return ret0
   424  }
   425  
   426  // GetNetDevLinkSpeed indicates an expected call of GetNetDevLinkSpeed.
   427  func (mr *MockHostHelpersInterfaceMockRecorder) GetNetDevLinkSpeed(name interface{}) *gomock.Call {
   428  	mr.mock.ctrl.T.Helper()
   429  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNetDevLinkSpeed", reflect.TypeOf((*MockHostHelpersInterface)(nil).GetNetDevLinkSpeed), name)
   430  }
   431  
   432  // GetNetDevMac mocks base method.
   433  func (m *MockHostHelpersInterface) GetNetDevMac(name string) string {
   434  	m.ctrl.T.Helper()
   435  	ret := m.ctrl.Call(m, "GetNetDevMac", name)
   436  	ret0, _ := ret[0].(string)
   437  	return ret0
   438  }
   439  
   440  // GetNetDevMac indicates an expected call of GetNetDevMac.
   441  func (mr *MockHostHelpersInterfaceMockRecorder) GetNetDevMac(name interface{}) *gomock.Call {
   442  	mr.mock.ctrl.T.Helper()
   443  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNetDevMac", reflect.TypeOf((*MockHostHelpersInterface)(nil).GetNetDevMac), name)
   444  }
   445  
   446  // GetNetdevMTU mocks base method.
   447  func (m *MockHostHelpersInterface) GetNetdevMTU(pciAddr string) int {
   448  	m.ctrl.T.Helper()
   449  	ret := m.ctrl.Call(m, "GetNetdevMTU", pciAddr)
   450  	ret0, _ := ret[0].(int)
   451  	return ret0
   452  }
   453  
   454  // GetNetdevMTU indicates an expected call of GetNetdevMTU.
   455  func (mr *MockHostHelpersInterfaceMockRecorder) GetNetdevMTU(pciAddr interface{}) *gomock.Call {
   456  	mr.mock.ctrl.T.Helper()
   457  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNetdevMTU", reflect.TypeOf((*MockHostHelpersInterface)(nil).GetNetdevMTU), pciAddr)
   458  }
   459  
   460  // GetNicSriovMode mocks base method.
   461  func (m *MockHostHelpersInterface) GetNicSriovMode(pciAddr string) string {
   462  	m.ctrl.T.Helper()
   463  	ret := m.ctrl.Call(m, "GetNicSriovMode", pciAddr)
   464  	ret0, _ := ret[0].(string)
   465  	return ret0
   466  }
   467  
   468  // GetNicSriovMode indicates an expected call of GetNicSriovMode.
   469  func (mr *MockHostHelpersInterfaceMockRecorder) GetNicSriovMode(pciAddr interface{}) *gomock.Call {
   470  	mr.mock.ctrl.T.Helper()
   471  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNicSriovMode", reflect.TypeOf((*MockHostHelpersInterface)(nil).GetNicSriovMode), pciAddr)
   472  }
   473  
   474  // GetOSPrettyName mocks base method.
   475  func (m *MockHostHelpersInterface) GetOSPrettyName() (string, error) {
   476  	m.ctrl.T.Helper()
   477  	ret := m.ctrl.Call(m, "GetOSPrettyName")
   478  	ret0, _ := ret[0].(string)
   479  	ret1, _ := ret[1].(error)
   480  	return ret0, ret1
   481  }
   482  
   483  // GetOSPrettyName indicates an expected call of GetOSPrettyName.
   484  func (mr *MockHostHelpersInterfaceMockRecorder) GetOSPrettyName() *gomock.Call {
   485  	mr.mock.ctrl.T.Helper()
   486  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOSPrettyName", reflect.TypeOf((*MockHostHelpersInterface)(nil).GetOSPrettyName))
   487  }
   488  
   489  // GetPhysPortName mocks base method.
   490  func (m *MockHostHelpersInterface) GetPhysPortName(name string) (string, error) {
   491  	m.ctrl.T.Helper()
   492  	ret := m.ctrl.Call(m, "GetPhysPortName", name)
   493  	ret0, _ := ret[0].(string)
   494  	ret1, _ := ret[1].(error)
   495  	return ret0, ret1
   496  }
   497  
   498  // GetPhysPortName indicates an expected call of GetPhysPortName.
   499  func (mr *MockHostHelpersInterfaceMockRecorder) GetPhysPortName(name interface{}) *gomock.Call {
   500  	mr.mock.ctrl.T.Helper()
   501  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPhysPortName", reflect.TypeOf((*MockHostHelpersInterface)(nil).GetPhysPortName), name)
   502  }
   503  
   504  // GetPhysSwitchID mocks base method.
   505  func (m *MockHostHelpersInterface) GetPhysSwitchID(name string) (string, error) {
   506  	m.ctrl.T.Helper()
   507  	ret := m.ctrl.Call(m, "GetPhysSwitchID", name)
   508  	ret0, _ := ret[0].(string)
   509  	ret1, _ := ret[1].(error)
   510  	return ret0, ret1
   511  }
   512  
   513  // GetPhysSwitchID indicates an expected call of GetPhysSwitchID.
   514  func (mr *MockHostHelpersInterfaceMockRecorder) GetPhysSwitchID(name interface{}) *gomock.Call {
   515  	mr.mock.ctrl.T.Helper()
   516  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPhysSwitchID", reflect.TypeOf((*MockHostHelpersInterface)(nil).GetPhysSwitchID), name)
   517  }
   518  
   519  // GetVfInfo mocks base method.
   520  func (m *MockHostHelpersInterface) GetVfInfo(pciAddr string, devices []*ghw.PCIDevice) v1.VirtualFunction {
   521  	m.ctrl.T.Helper()
   522  	ret := m.ctrl.Call(m, "GetVfInfo", pciAddr, devices)
   523  	ret0, _ := ret[0].(v1.VirtualFunction)
   524  	return ret0
   525  }
   526  
   527  // GetVfInfo indicates an expected call of GetVfInfo.
   528  func (mr *MockHostHelpersInterfaceMockRecorder) GetVfInfo(pciAddr, devices interface{}) *gomock.Call {
   529  	mr.mock.ctrl.T.Helper()
   530  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVfInfo", reflect.TypeOf((*MockHostHelpersInterface)(nil).GetVfInfo), pciAddr, devices)
   531  }
   532  
   533  // HasDriver mocks base method.
   534  func (m *MockHostHelpersInterface) HasDriver(pciAddr string) (bool, string) {
   535  	m.ctrl.T.Helper()
   536  	ret := m.ctrl.Call(m, "HasDriver", pciAddr)
   537  	ret0, _ := ret[0].(bool)
   538  	ret1, _ := ret[1].(string)
   539  	return ret0, ret1
   540  }
   541  
   542  // HasDriver indicates an expected call of HasDriver.
   543  func (mr *MockHostHelpersInterfaceMockRecorder) HasDriver(pciAddr interface{}) *gomock.Call {
   544  	mr.mock.ctrl.T.Helper()
   545  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HasDriver", reflect.TypeOf((*MockHostHelpersInterface)(nil).HasDriver), pciAddr)
   546  }
   547  
   548  // InstallRDMA mocks base method.
   549  func (m *MockHostHelpersInterface) InstallRDMA(packageManager string) error {
   550  	m.ctrl.T.Helper()
   551  	ret := m.ctrl.Call(m, "InstallRDMA", packageManager)
   552  	ret0, _ := ret[0].(error)
   553  	return ret0
   554  }
   555  
   556  // InstallRDMA indicates an expected call of InstallRDMA.
   557  func (mr *MockHostHelpersInterfaceMockRecorder) InstallRDMA(packageManager interface{}) *gomock.Call {
   558  	mr.mock.ctrl.T.Helper()
   559  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InstallRDMA", reflect.TypeOf((*MockHostHelpersInterface)(nil).InstallRDMA), packageManager)
   560  }
   561  
   562  // IsCoreOS mocks base method.
   563  func (m *MockHostHelpersInterface) IsCoreOS() (bool, error) {
   564  	m.ctrl.T.Helper()
   565  	ret := m.ctrl.Call(m, "IsCoreOS")
   566  	ret0, _ := ret[0].(bool)
   567  	ret1, _ := ret[1].(error)
   568  	return ret0, ret1
   569  }
   570  
   571  // IsCoreOS indicates an expected call of IsCoreOS.
   572  func (mr *MockHostHelpersInterfaceMockRecorder) IsCoreOS() *gomock.Call {
   573  	mr.mock.ctrl.T.Helper()
   574  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsCoreOS", reflect.TypeOf((*MockHostHelpersInterface)(nil).IsCoreOS))
   575  }
   576  
   577  // IsKernelArgsSet mocks base method.
   578  func (m *MockHostHelpersInterface) IsKernelArgsSet(cmdLine, karg string) bool {
   579  	m.ctrl.T.Helper()
   580  	ret := m.ctrl.Call(m, "IsKernelArgsSet", cmdLine, karg)
   581  	ret0, _ := ret[0].(bool)
   582  	return ret0
   583  }
   584  
   585  // IsKernelArgsSet indicates an expected call of IsKernelArgsSet.
   586  func (mr *MockHostHelpersInterfaceMockRecorder) IsKernelArgsSet(cmdLine, karg interface{}) *gomock.Call {
   587  	mr.mock.ctrl.T.Helper()
   588  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsKernelArgsSet", reflect.TypeOf((*MockHostHelpersInterface)(nil).IsKernelArgsSet), cmdLine, karg)
   589  }
   590  
   591  // IsKernelLockdownMode mocks base method.
   592  func (m *MockHostHelpersInterface) IsKernelLockdownMode() bool {
   593  	m.ctrl.T.Helper()
   594  	ret := m.ctrl.Call(m, "IsKernelLockdownMode")
   595  	ret0, _ := ret[0].(bool)
   596  	return ret0
   597  }
   598  
   599  // IsKernelLockdownMode indicates an expected call of IsKernelLockdownMode.
   600  func (mr *MockHostHelpersInterfaceMockRecorder) IsKernelLockdownMode() *gomock.Call {
   601  	mr.mock.ctrl.T.Helper()
   602  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsKernelLockdownMode", reflect.TypeOf((*MockHostHelpersInterface)(nil).IsKernelLockdownMode))
   603  }
   604  
   605  // IsKernelModuleLoaded mocks base method.
   606  func (m *MockHostHelpersInterface) IsKernelModuleLoaded(name string) (bool, error) {
   607  	m.ctrl.T.Helper()
   608  	ret := m.ctrl.Call(m, "IsKernelModuleLoaded", name)
   609  	ret0, _ := ret[0].(bool)
   610  	ret1, _ := ret[1].(error)
   611  	return ret0, ret1
   612  }
   613  
   614  // IsKernelModuleLoaded indicates an expected call of IsKernelModuleLoaded.
   615  func (mr *MockHostHelpersInterfaceMockRecorder) IsKernelModuleLoaded(name interface{}) *gomock.Call {
   616  	mr.mock.ctrl.T.Helper()
   617  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsKernelModuleLoaded", reflect.TypeOf((*MockHostHelpersInterface)(nil).IsKernelModuleLoaded), name)
   618  }
   619  
   620  // IsRHELSystem mocks base method.
   621  func (m *MockHostHelpersInterface) IsRHELSystem() (bool, error) {
   622  	m.ctrl.T.Helper()
   623  	ret := m.ctrl.Call(m, "IsRHELSystem")
   624  	ret0, _ := ret[0].(bool)
   625  	ret1, _ := ret[1].(error)
   626  	return ret0, ret1
   627  }
   628  
   629  // IsRHELSystem indicates an expected call of IsRHELSystem.
   630  func (mr *MockHostHelpersInterfaceMockRecorder) IsRHELSystem() *gomock.Call {
   631  	mr.mock.ctrl.T.Helper()
   632  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsRHELSystem", reflect.TypeOf((*MockHostHelpersInterface)(nil).IsRHELSystem))
   633  }
   634  
   635  // IsServiceEnabled mocks base method.
   636  func (m *MockHostHelpersInterface) IsServiceEnabled(servicePath string) (bool, error) {
   637  	m.ctrl.T.Helper()
   638  	ret := m.ctrl.Call(m, "IsServiceEnabled", servicePath)
   639  	ret0, _ := ret[0].(bool)
   640  	ret1, _ := ret[1].(error)
   641  	return ret0, ret1
   642  }
   643  
   644  // IsServiceEnabled indicates an expected call of IsServiceEnabled.
   645  func (mr *MockHostHelpersInterfaceMockRecorder) IsServiceEnabled(servicePath interface{}) *gomock.Call {
   646  	mr.mock.ctrl.T.Helper()
   647  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsServiceEnabled", reflect.TypeOf((*MockHostHelpersInterface)(nil).IsServiceEnabled), servicePath)
   648  }
   649  
   650  // IsServiceExist mocks base method.
   651  func (m *MockHostHelpersInterface) IsServiceExist(servicePath string) (bool, error) {
   652  	m.ctrl.T.Helper()
   653  	ret := m.ctrl.Call(m, "IsServiceExist", servicePath)
   654  	ret0, _ := ret[0].(bool)
   655  	ret1, _ := ret[1].(error)
   656  	return ret0, ret1
   657  }
   658  
   659  // IsServiceExist indicates an expected call of IsServiceExist.
   660  func (mr *MockHostHelpersInterfaceMockRecorder) IsServiceExist(servicePath interface{}) *gomock.Call {
   661  	mr.mock.ctrl.T.Helper()
   662  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsServiceExist", reflect.TypeOf((*MockHostHelpersInterface)(nil).IsServiceExist), servicePath)
   663  }
   664  
   665  // IsSwitchdev mocks base method.
   666  func (m *MockHostHelpersInterface) IsSwitchdev(name string) bool {
   667  	m.ctrl.T.Helper()
   668  	ret := m.ctrl.Call(m, "IsSwitchdev", name)
   669  	ret0, _ := ret[0].(bool)
   670  	return ret0
   671  }
   672  
   673  // IsSwitchdev indicates an expected call of IsSwitchdev.
   674  func (mr *MockHostHelpersInterfaceMockRecorder) IsSwitchdev(name interface{}) *gomock.Call {
   675  	mr.mock.ctrl.T.Helper()
   676  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsSwitchdev", reflect.TypeOf((*MockHostHelpersInterface)(nil).IsSwitchdev), name)
   677  }
   678  
   679  // IsUbuntuSystem mocks base method.
   680  func (m *MockHostHelpersInterface) IsUbuntuSystem() (bool, error) {
   681  	m.ctrl.T.Helper()
   682  	ret := m.ctrl.Call(m, "IsUbuntuSystem")
   683  	ret0, _ := ret[0].(bool)
   684  	ret1, _ := ret[1].(error)
   685  	return ret0, ret1
   686  }
   687  
   688  // IsUbuntuSystem indicates an expected call of IsUbuntuSystem.
   689  func (mr *MockHostHelpersInterfaceMockRecorder) IsUbuntuSystem() *gomock.Call {
   690  	mr.mock.ctrl.T.Helper()
   691  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsUbuntuSystem", reflect.TypeOf((*MockHostHelpersInterface)(nil).IsUbuntuSystem))
   692  }
   693  
   694  // LoadKernelModule mocks base method.
   695  func (m *MockHostHelpersInterface) LoadKernelModule(name string, args ...string) error {
   696  	m.ctrl.T.Helper()
   697  	varargs := []interface{}{name}
   698  	for _, a := range args {
   699  		varargs = append(varargs, a)
   700  	}
   701  	ret := m.ctrl.Call(m, "LoadKernelModule", varargs...)
   702  	ret0, _ := ret[0].(error)
   703  	return ret0
   704  }
   705  
   706  // LoadKernelModule indicates an expected call of LoadKernelModule.
   707  func (mr *MockHostHelpersInterfaceMockRecorder) LoadKernelModule(name interface{}, args ...interface{}) *gomock.Call {
   708  	mr.mock.ctrl.T.Helper()
   709  	varargs := append([]interface{}{name}, args...)
   710  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadKernelModule", reflect.TypeOf((*MockHostHelpersInterface)(nil).LoadKernelModule), varargs...)
   711  }
   712  
   713  // LoadPfsStatus mocks base method.
   714  func (m *MockHostHelpersInterface) LoadPfsStatus(pciAddress string) (*v1.Interface, bool, error) {
   715  	m.ctrl.T.Helper()
   716  	ret := m.ctrl.Call(m, "LoadPfsStatus", pciAddress)
   717  	ret0, _ := ret[0].(*v1.Interface)
   718  	ret1, _ := ret[1].(bool)
   719  	ret2, _ := ret[2].(error)
   720  	return ret0, ret1, ret2
   721  }
   722  
   723  // LoadPfsStatus indicates an expected call of LoadPfsStatus.
   724  func (mr *MockHostHelpersInterfaceMockRecorder) LoadPfsStatus(pciAddress interface{}) *gomock.Call {
   725  	mr.mock.ctrl.T.Helper()
   726  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadPfsStatus", reflect.TypeOf((*MockHostHelpersInterface)(nil).LoadPfsStatus), pciAddress)
   727  }
   728  
   729  // LoadUdevRules mocks base method.
   730  func (m *MockHostHelpersInterface) LoadUdevRules() error {
   731  	m.ctrl.T.Helper()
   732  	ret := m.ctrl.Call(m, "LoadUdevRules")
   733  	ret0, _ := ret[0].(error)
   734  	return ret0
   735  }
   736  
   737  // LoadUdevRules indicates an expected call of LoadUdevRules.
   738  func (mr *MockHostHelpersInterfaceMockRecorder) LoadUdevRules() *gomock.Call {
   739  	mr.mock.ctrl.T.Helper()
   740  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadUdevRules", reflect.TypeOf((*MockHostHelpersInterface)(nil).LoadUdevRules))
   741  }
   742  
   743  // MlxConfigFW mocks base method.
   744  func (m *MockHostHelpersInterface) MlxConfigFW(attributesToChange map[string]mlxutils.MlxNic) error {
   745  	m.ctrl.T.Helper()
   746  	ret := m.ctrl.Call(m, "MlxConfigFW", attributesToChange)
   747  	ret0, _ := ret[0].(error)
   748  	return ret0
   749  }
   750  
   751  // MlxConfigFW indicates an expected call of MlxConfigFW.
   752  func (mr *MockHostHelpersInterfaceMockRecorder) MlxConfigFW(attributesToChange interface{}) *gomock.Call {
   753  	mr.mock.ctrl.T.Helper()
   754  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MlxConfigFW", reflect.TypeOf((*MockHostHelpersInterface)(nil).MlxConfigFW), attributesToChange)
   755  }
   756  
   757  // MstConfigReadData mocks base method.
   758  func (m *MockHostHelpersInterface) MstConfigReadData(arg0 string) (string, string, error) {
   759  	m.ctrl.T.Helper()
   760  	ret := m.ctrl.Call(m, "MstConfigReadData", arg0)
   761  	ret0, _ := ret[0].(string)
   762  	ret1, _ := ret[1].(string)
   763  	ret2, _ := ret[2].(error)
   764  	return ret0, ret1, ret2
   765  }
   766  
   767  // MstConfigReadData indicates an expected call of MstConfigReadData.
   768  func (mr *MockHostHelpersInterfaceMockRecorder) MstConfigReadData(arg0 interface{}) *gomock.Call {
   769  	mr.mock.ctrl.T.Helper()
   770  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MstConfigReadData", reflect.TypeOf((*MockHostHelpersInterface)(nil).MstConfigReadData), arg0)
   771  }
   772  
   773  // PrepareNMUdevRule mocks base method.
   774  func (m *MockHostHelpersInterface) PrepareNMUdevRule(supportedVfIds []string) error {
   775  	m.ctrl.T.Helper()
   776  	ret := m.ctrl.Call(m, "PrepareNMUdevRule", supportedVfIds)
   777  	ret0, _ := ret[0].(error)
   778  	return ret0
   779  }
   780  
   781  // PrepareNMUdevRule indicates an expected call of PrepareNMUdevRule.
   782  func (mr *MockHostHelpersInterfaceMockRecorder) PrepareNMUdevRule(supportedVfIds interface{}) *gomock.Call {
   783  	mr.mock.ctrl.T.Helper()
   784  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PrepareNMUdevRule", reflect.TypeOf((*MockHostHelpersInterface)(nil).PrepareNMUdevRule), supportedVfIds)
   785  }
   786  
   787  // PrepareVFRepUdevRule mocks base method.
   788  func (m *MockHostHelpersInterface) PrepareVFRepUdevRule() error {
   789  	m.ctrl.T.Helper()
   790  	ret := m.ctrl.Call(m, "PrepareVFRepUdevRule")
   791  	ret0, _ := ret[0].(error)
   792  	return ret0
   793  }
   794  
   795  // PrepareVFRepUdevRule indicates an expected call of PrepareVFRepUdevRule.
   796  func (mr *MockHostHelpersInterfaceMockRecorder) PrepareVFRepUdevRule() *gomock.Call {
   797  	mr.mock.ctrl.T.Helper()
   798  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PrepareVFRepUdevRule", reflect.TypeOf((*MockHostHelpersInterface)(nil).PrepareVFRepUdevRule))
   799  }
   800  
   801  // RdmaIsLoaded mocks base method.
   802  func (m *MockHostHelpersInterface) RdmaIsLoaded() (bool, error) {
   803  	m.ctrl.T.Helper()
   804  	ret := m.ctrl.Call(m, "RdmaIsLoaded")
   805  	ret0, _ := ret[0].(bool)
   806  	ret1, _ := ret[1].(error)
   807  	return ret0, ret1
   808  }
   809  
   810  // RdmaIsLoaded indicates an expected call of RdmaIsLoaded.
   811  func (mr *MockHostHelpersInterfaceMockRecorder) RdmaIsLoaded() *gomock.Call {
   812  	mr.mock.ctrl.T.Helper()
   813  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RdmaIsLoaded", reflect.TypeOf((*MockHostHelpersInterface)(nil).RdmaIsLoaded))
   814  }
   815  
   816  // ReadService mocks base method.
   817  func (m *MockHostHelpersInterface) ReadService(servicePath string) (*types.Service, error) {
   818  	m.ctrl.T.Helper()
   819  	ret := m.ctrl.Call(m, "ReadService", servicePath)
   820  	ret0, _ := ret[0].(*types.Service)
   821  	ret1, _ := ret[1].(error)
   822  	return ret0, ret1
   823  }
   824  
   825  // ReadService indicates an expected call of ReadService.
   826  func (mr *MockHostHelpersInterfaceMockRecorder) ReadService(servicePath interface{}) *gomock.Call {
   827  	mr.mock.ctrl.T.Helper()
   828  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadService", reflect.TypeOf((*MockHostHelpersInterface)(nil).ReadService), servicePath)
   829  }
   830  
   831  // ReadServiceInjectionManifestFile mocks base method.
   832  func (m *MockHostHelpersInterface) ReadServiceInjectionManifestFile(path string) (*types.Service, error) {
   833  	m.ctrl.T.Helper()
   834  	ret := m.ctrl.Call(m, "ReadServiceInjectionManifestFile", path)
   835  	ret0, _ := ret[0].(*types.Service)
   836  	ret1, _ := ret[1].(error)
   837  	return ret0, ret1
   838  }
   839  
   840  // ReadServiceInjectionManifestFile indicates an expected call of ReadServiceInjectionManifestFile.
   841  func (mr *MockHostHelpersInterfaceMockRecorder) ReadServiceInjectionManifestFile(path interface{}) *gomock.Call {
   842  	mr.mock.ctrl.T.Helper()
   843  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadServiceInjectionManifestFile", reflect.TypeOf((*MockHostHelpersInterface)(nil).ReadServiceInjectionManifestFile), path)
   844  }
   845  
   846  // ReadServiceManifestFile mocks base method.
   847  func (m *MockHostHelpersInterface) ReadServiceManifestFile(path string) (*types.Service, error) {
   848  	m.ctrl.T.Helper()
   849  	ret := m.ctrl.Call(m, "ReadServiceManifestFile", path)
   850  	ret0, _ := ret[0].(*types.Service)
   851  	ret1, _ := ret[1].(error)
   852  	return ret0, ret1
   853  }
   854  
   855  // ReadServiceManifestFile indicates an expected call of ReadServiceManifestFile.
   856  func (mr *MockHostHelpersInterfaceMockRecorder) ReadServiceManifestFile(path interface{}) *gomock.Call {
   857  	mr.mock.ctrl.T.Helper()
   858  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadServiceManifestFile", reflect.TypeOf((*MockHostHelpersInterface)(nil).ReadServiceManifestFile), path)
   859  }
   860  
   861  // RebindVfToDefaultDriver mocks base method.
   862  func (m *MockHostHelpersInterface) RebindVfToDefaultDriver(pciAddr string) error {
   863  	m.ctrl.T.Helper()
   864  	ret := m.ctrl.Call(m, "RebindVfToDefaultDriver", pciAddr)
   865  	ret0, _ := ret[0].(error)
   866  	return ret0
   867  }
   868  
   869  // RebindVfToDefaultDriver indicates an expected call of RebindVfToDefaultDriver.
   870  func (mr *MockHostHelpersInterfaceMockRecorder) RebindVfToDefaultDriver(pciAddr interface{}) *gomock.Call {
   871  	mr.mock.ctrl.T.Helper()
   872  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RebindVfToDefaultDriver", reflect.TypeOf((*MockHostHelpersInterface)(nil).RebindVfToDefaultDriver), pciAddr)
   873  }
   874  
   875  // ReloadDriver mocks base method.
   876  func (m *MockHostHelpersInterface) ReloadDriver(driver string) error {
   877  	m.ctrl.T.Helper()
   878  	ret := m.ctrl.Call(m, "ReloadDriver", driver)
   879  	ret0, _ := ret[0].(error)
   880  	return ret0
   881  }
   882  
   883  // ReloadDriver indicates an expected call of ReloadDriver.
   884  func (mr *MockHostHelpersInterfaceMockRecorder) ReloadDriver(driver interface{}) *gomock.Call {
   885  	mr.mock.ctrl.T.Helper()
   886  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReloadDriver", reflect.TypeOf((*MockHostHelpersInterface)(nil).ReloadDriver), driver)
   887  }
   888  
   889  // RemoveDisableNMUdevRule mocks base method.
   890  func (m *MockHostHelpersInterface) RemoveDisableNMUdevRule(pfPciAddress string) error {
   891  	m.ctrl.T.Helper()
   892  	ret := m.ctrl.Call(m, "RemoveDisableNMUdevRule", pfPciAddress)
   893  	ret0, _ := ret[0].(error)
   894  	return ret0
   895  }
   896  
   897  // RemoveDisableNMUdevRule indicates an expected call of RemoveDisableNMUdevRule.
   898  func (mr *MockHostHelpersInterfaceMockRecorder) RemoveDisableNMUdevRule(pfPciAddress interface{}) *gomock.Call {
   899  	mr.mock.ctrl.T.Helper()
   900  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveDisableNMUdevRule", reflect.TypeOf((*MockHostHelpersInterface)(nil).RemoveDisableNMUdevRule), pfPciAddress)
   901  }
   902  
   903  // RemovePersistPFNameUdevRule mocks base method.
   904  func (m *MockHostHelpersInterface) RemovePersistPFNameUdevRule(pfPciAddress string) error {
   905  	m.ctrl.T.Helper()
   906  	ret := m.ctrl.Call(m, "RemovePersistPFNameUdevRule", pfPciAddress)
   907  	ret0, _ := ret[0].(error)
   908  	return ret0
   909  }
   910  
   911  // RemovePersistPFNameUdevRule indicates an expected call of RemovePersistPFNameUdevRule.
   912  func (mr *MockHostHelpersInterfaceMockRecorder) RemovePersistPFNameUdevRule(pfPciAddress interface{}) *gomock.Call {
   913  	mr.mock.ctrl.T.Helper()
   914  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemovePersistPFNameUdevRule", reflect.TypeOf((*MockHostHelpersInterface)(nil).RemovePersistPFNameUdevRule), pfPciAddress)
   915  }
   916  
   917  // RemoveVfRepresentorUdevRule mocks base method.
   918  func (m *MockHostHelpersInterface) RemoveVfRepresentorUdevRule(pfPciAddress string) error {
   919  	m.ctrl.T.Helper()
   920  	ret := m.ctrl.Call(m, "RemoveVfRepresentorUdevRule", pfPciAddress)
   921  	ret0, _ := ret[0].(error)
   922  	return ret0
   923  }
   924  
   925  // RemoveVfRepresentorUdevRule indicates an expected call of RemoveVfRepresentorUdevRule.
   926  func (mr *MockHostHelpersInterfaceMockRecorder) RemoveVfRepresentorUdevRule(pfPciAddress interface{}) *gomock.Call {
   927  	mr.mock.ctrl.T.Helper()
   928  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveVfRepresentorUdevRule", reflect.TypeOf((*MockHostHelpersInterface)(nil).RemoveVfRepresentorUdevRule), pfPciAddress)
   929  }
   930  
   931  // ResetSriovDevice mocks base method.
   932  func (m *MockHostHelpersInterface) ResetSriovDevice(ifaceStatus v1.InterfaceExt) error {
   933  	m.ctrl.T.Helper()
   934  	ret := m.ctrl.Call(m, "ResetSriovDevice", ifaceStatus)
   935  	ret0, _ := ret[0].(error)
   936  	return ret0
   937  }
   938  
   939  // ResetSriovDevice indicates an expected call of ResetSriovDevice.
   940  func (mr *MockHostHelpersInterfaceMockRecorder) ResetSriovDevice(ifaceStatus interface{}) *gomock.Call {
   941  	mr.mock.ctrl.T.Helper()
   942  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResetSriovDevice", reflect.TypeOf((*MockHostHelpersInterface)(nil).ResetSriovDevice), ifaceStatus)
   943  }
   944  
   945  // RunCommand mocks base method.
   946  func (m *MockHostHelpersInterface) RunCommand(arg0 string, arg1 ...string) (string, string, error) {
   947  	m.ctrl.T.Helper()
   948  	varargs := []interface{}{arg0}
   949  	for _, a := range arg1 {
   950  		varargs = append(varargs, a)
   951  	}
   952  	ret := m.ctrl.Call(m, "RunCommand", varargs...)
   953  	ret0, _ := ret[0].(string)
   954  	ret1, _ := ret[1].(string)
   955  	ret2, _ := ret[2].(error)
   956  	return ret0, ret1, ret2
   957  }
   958  
   959  // RunCommand indicates an expected call of RunCommand.
   960  func (mr *MockHostHelpersInterfaceMockRecorder) RunCommand(arg0 interface{}, arg1 ...interface{}) *gomock.Call {
   961  	mr.mock.ctrl.T.Helper()
   962  	varargs := append([]interface{}{arg0}, arg1...)
   963  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RunCommand", reflect.TypeOf((*MockHostHelpersInterface)(nil).RunCommand), varargs...)
   964  }
   965  
   966  // SaveLastPfAppliedStatus mocks base method.
   967  func (m *MockHostHelpersInterface) SaveLastPfAppliedStatus(PfInfo *v1.Interface) error {
   968  	m.ctrl.T.Helper()
   969  	ret := m.ctrl.Call(m, "SaveLastPfAppliedStatus", PfInfo)
   970  	ret0, _ := ret[0].(error)
   971  	return ret0
   972  }
   973  
   974  // SaveLastPfAppliedStatus indicates an expected call of SaveLastPfAppliedStatus.
   975  func (mr *MockHostHelpersInterfaceMockRecorder) SaveLastPfAppliedStatus(PfInfo interface{}) *gomock.Call {
   976  	mr.mock.ctrl.T.Helper()
   977  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SaveLastPfAppliedStatus", reflect.TypeOf((*MockHostHelpersInterface)(nil).SaveLastPfAppliedStatus), PfInfo)
   978  }
   979  
   980  // SetDevlinkDeviceParam mocks base method.
   981  func (m *MockHostHelpersInterface) SetDevlinkDeviceParam(pciAddr, paramName, value string) error {
   982  	m.ctrl.T.Helper()
   983  	ret := m.ctrl.Call(m, "SetDevlinkDeviceParam", pciAddr, paramName, value)
   984  	ret0, _ := ret[0].(error)
   985  	return ret0
   986  }
   987  
   988  // SetDevlinkDeviceParam indicates an expected call of SetDevlinkDeviceParam.
   989  func (mr *MockHostHelpersInterfaceMockRecorder) SetDevlinkDeviceParam(pciAddr, paramName, value interface{}) *gomock.Call {
   990  	mr.mock.ctrl.T.Helper()
   991  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetDevlinkDeviceParam", reflect.TypeOf((*MockHostHelpersInterface)(nil).SetDevlinkDeviceParam), pciAddr, paramName, value)
   992  }
   993  
   994  // SetNetdevMTU mocks base method.
   995  func (m *MockHostHelpersInterface) SetNetdevMTU(pciAddr string, mtu int) error {
   996  	m.ctrl.T.Helper()
   997  	ret := m.ctrl.Call(m, "SetNetdevMTU", pciAddr, mtu)
   998  	ret0, _ := ret[0].(error)
   999  	return ret0
  1000  }
  1001  
  1002  // SetNetdevMTU indicates an expected call of SetNetdevMTU.
  1003  func (mr *MockHostHelpersInterfaceMockRecorder) SetNetdevMTU(pciAddr, mtu interface{}) *gomock.Call {
  1004  	mr.mock.ctrl.T.Helper()
  1005  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNetdevMTU", reflect.TypeOf((*MockHostHelpersInterface)(nil).SetNetdevMTU), pciAddr, mtu)
  1006  }
  1007  
  1008  // SetNicSriovMode mocks base method.
  1009  func (m *MockHostHelpersInterface) SetNicSriovMode(pciAddr, mode string) error {
  1010  	m.ctrl.T.Helper()
  1011  	ret := m.ctrl.Call(m, "SetNicSriovMode", pciAddr, mode)
  1012  	ret0, _ := ret[0].(error)
  1013  	return ret0
  1014  }
  1015  
  1016  // SetNicSriovMode indicates an expected call of SetNicSriovMode.
  1017  func (mr *MockHostHelpersInterfaceMockRecorder) SetNicSriovMode(pciAddr, mode interface{}) *gomock.Call {
  1018  	mr.mock.ctrl.T.Helper()
  1019  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNicSriovMode", reflect.TypeOf((*MockHostHelpersInterface)(nil).SetNicSriovMode), pciAddr, mode)
  1020  }
  1021  
  1022  // SetSriovNumVfs mocks base method.
  1023  func (m *MockHostHelpersInterface) SetSriovNumVfs(pciAddr string, numVfs int) error {
  1024  	m.ctrl.T.Helper()
  1025  	ret := m.ctrl.Call(m, "SetSriovNumVfs", pciAddr, numVfs)
  1026  	ret0, _ := ret[0].(error)
  1027  	return ret0
  1028  }
  1029  
  1030  // SetSriovNumVfs indicates an expected call of SetSriovNumVfs.
  1031  func (mr *MockHostHelpersInterfaceMockRecorder) SetSriovNumVfs(pciAddr, numVfs interface{}) *gomock.Call {
  1032  	mr.mock.ctrl.T.Helper()
  1033  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetSriovNumVfs", reflect.TypeOf((*MockHostHelpersInterface)(nil).SetSriovNumVfs), pciAddr, numVfs)
  1034  }
  1035  
  1036  // SetVfAdminMac mocks base method.
  1037  func (m *MockHostHelpersInterface) SetVfAdminMac(vfAddr string, pfLink, vfLink netlink.Link) error {
  1038  	m.ctrl.T.Helper()
  1039  	ret := m.ctrl.Call(m, "SetVfAdminMac", vfAddr, pfLink, vfLink)
  1040  	ret0, _ := ret[0].(error)
  1041  	return ret0
  1042  }
  1043  
  1044  // SetVfAdminMac indicates an expected call of SetVfAdminMac.
  1045  func (mr *MockHostHelpersInterfaceMockRecorder) SetVfAdminMac(vfAddr, pfLink, vfLink interface{}) *gomock.Call {
  1046  	mr.mock.ctrl.T.Helper()
  1047  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetVfAdminMac", reflect.TypeOf((*MockHostHelpersInterface)(nil).SetVfAdminMac), vfAddr, pfLink, vfLink)
  1048  }
  1049  
  1050  // SetVfGUID mocks base method.
  1051  func (m *MockHostHelpersInterface) SetVfGUID(vfAddr string, pfLink netlink.Link) error {
  1052  	m.ctrl.T.Helper()
  1053  	ret := m.ctrl.Call(m, "SetVfGUID", vfAddr, pfLink)
  1054  	ret0, _ := ret[0].(error)
  1055  	return ret0
  1056  }
  1057  
  1058  // SetVfGUID indicates an expected call of SetVfGUID.
  1059  func (mr *MockHostHelpersInterfaceMockRecorder) SetVfGUID(vfAddr, pfLink interface{}) *gomock.Call {
  1060  	mr.mock.ctrl.T.Helper()
  1061  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetVfGUID", reflect.TypeOf((*MockHostHelpersInterface)(nil).SetVfGUID), vfAddr, pfLink)
  1062  }
  1063  
  1064  // TriggerUdevEvent mocks base method.
  1065  func (m *MockHostHelpersInterface) TriggerUdevEvent() error {
  1066  	m.ctrl.T.Helper()
  1067  	ret := m.ctrl.Call(m, "TriggerUdevEvent")
  1068  	ret0, _ := ret[0].(error)
  1069  	return ret0
  1070  }
  1071  
  1072  // TriggerUdevEvent indicates an expected call of TriggerUdevEvent.
  1073  func (mr *MockHostHelpersInterfaceMockRecorder) TriggerUdevEvent() *gomock.Call {
  1074  	mr.mock.ctrl.T.Helper()
  1075  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TriggerUdevEvent", reflect.TypeOf((*MockHostHelpersInterface)(nil).TriggerUdevEvent))
  1076  }
  1077  
  1078  // TryEnableRdma mocks base method.
  1079  func (m *MockHostHelpersInterface) TryEnableRdma() (bool, error) {
  1080  	m.ctrl.T.Helper()
  1081  	ret := m.ctrl.Call(m, "TryEnableRdma")
  1082  	ret0, _ := ret[0].(bool)
  1083  	ret1, _ := ret[1].(error)
  1084  	return ret0, ret1
  1085  }
  1086  
  1087  // TryEnableRdma indicates an expected call of TryEnableRdma.
  1088  func (mr *MockHostHelpersInterfaceMockRecorder) TryEnableRdma() *gomock.Call {
  1089  	mr.mock.ctrl.T.Helper()
  1090  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TryEnableRdma", reflect.TypeOf((*MockHostHelpersInterface)(nil).TryEnableRdma))
  1091  }
  1092  
  1093  // TryEnableTun mocks base method.
  1094  func (m *MockHostHelpersInterface) TryEnableTun() {
  1095  	m.ctrl.T.Helper()
  1096  	m.ctrl.Call(m, "TryEnableTun")
  1097  }
  1098  
  1099  // TryEnableTun indicates an expected call of TryEnableTun.
  1100  func (mr *MockHostHelpersInterfaceMockRecorder) TryEnableTun() *gomock.Call {
  1101  	mr.mock.ctrl.T.Helper()
  1102  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TryEnableTun", reflect.TypeOf((*MockHostHelpersInterface)(nil).TryEnableTun))
  1103  }
  1104  
  1105  // TryEnableVhostNet mocks base method.
  1106  func (m *MockHostHelpersInterface) TryEnableVhostNet() {
  1107  	m.ctrl.T.Helper()
  1108  	m.ctrl.Call(m, "TryEnableVhostNet")
  1109  }
  1110  
  1111  // TryEnableVhostNet indicates an expected call of TryEnableVhostNet.
  1112  func (mr *MockHostHelpersInterfaceMockRecorder) TryEnableVhostNet() *gomock.Call {
  1113  	mr.mock.ctrl.T.Helper()
  1114  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TryEnableVhostNet", reflect.TypeOf((*MockHostHelpersInterface)(nil).TryEnableVhostNet))
  1115  }
  1116  
  1117  // TryGetInterfaceName mocks base method.
  1118  func (m *MockHostHelpersInterface) TryGetInterfaceName(pciAddr string) string {
  1119  	m.ctrl.T.Helper()
  1120  	ret := m.ctrl.Call(m, "TryGetInterfaceName", pciAddr)
  1121  	ret0, _ := ret[0].(string)
  1122  	return ret0
  1123  }
  1124  
  1125  // TryGetInterfaceName indicates an expected call of TryGetInterfaceName.
  1126  func (mr *MockHostHelpersInterfaceMockRecorder) TryGetInterfaceName(pciAddr interface{}) *gomock.Call {
  1127  	mr.mock.ctrl.T.Helper()
  1128  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TryGetInterfaceName", reflect.TypeOf((*MockHostHelpersInterface)(nil).TryGetInterfaceName), pciAddr)
  1129  }
  1130  
  1131  // TryToGetVirtualInterfaceName mocks base method.
  1132  func (m *MockHostHelpersInterface) TryToGetVirtualInterfaceName(pciAddr string) string {
  1133  	m.ctrl.T.Helper()
  1134  	ret := m.ctrl.Call(m, "TryToGetVirtualInterfaceName", pciAddr)
  1135  	ret0, _ := ret[0].(string)
  1136  	return ret0
  1137  }
  1138  
  1139  // TryToGetVirtualInterfaceName indicates an expected call of TryToGetVirtualInterfaceName.
  1140  func (mr *MockHostHelpersInterfaceMockRecorder) TryToGetVirtualInterfaceName(pciAddr interface{}) *gomock.Call {
  1141  	mr.mock.ctrl.T.Helper()
  1142  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TryToGetVirtualInterfaceName", reflect.TypeOf((*MockHostHelpersInterface)(nil).TryToGetVirtualInterfaceName), pciAddr)
  1143  }
  1144  
  1145  // Unbind mocks base method.
  1146  func (m *MockHostHelpersInterface) Unbind(pciAddr string) error {
  1147  	m.ctrl.T.Helper()
  1148  	ret := m.ctrl.Call(m, "Unbind", pciAddr)
  1149  	ret0, _ := ret[0].(error)
  1150  	return ret0
  1151  }
  1152  
  1153  // Unbind indicates an expected call of Unbind.
  1154  func (mr *MockHostHelpersInterfaceMockRecorder) Unbind(pciAddr interface{}) *gomock.Call {
  1155  	mr.mock.ctrl.T.Helper()
  1156  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Unbind", reflect.TypeOf((*MockHostHelpersInterface)(nil).Unbind), pciAddr)
  1157  }
  1158  
  1159  // UnbindDriverByBusAndDevice mocks base method.
  1160  func (m *MockHostHelpersInterface) UnbindDriverByBusAndDevice(bus, device string) error {
  1161  	m.ctrl.T.Helper()
  1162  	ret := m.ctrl.Call(m, "UnbindDriverByBusAndDevice", bus, device)
  1163  	ret0, _ := ret[0].(error)
  1164  	return ret0
  1165  }
  1166  
  1167  // UnbindDriverByBusAndDevice indicates an expected call of UnbindDriverByBusAndDevice.
  1168  func (mr *MockHostHelpersInterfaceMockRecorder) UnbindDriverByBusAndDevice(bus, device interface{}) *gomock.Call {
  1169  	mr.mock.ctrl.T.Helper()
  1170  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnbindDriverByBusAndDevice", reflect.TypeOf((*MockHostHelpersInterface)(nil).UnbindDriverByBusAndDevice), bus, device)
  1171  }
  1172  
  1173  // UnbindDriverIfNeeded mocks base method.
  1174  func (m *MockHostHelpersInterface) UnbindDriverIfNeeded(pciAddr string, isRdma bool) error {
  1175  	m.ctrl.T.Helper()
  1176  	ret := m.ctrl.Call(m, "UnbindDriverIfNeeded", pciAddr, isRdma)
  1177  	ret0, _ := ret[0].(error)
  1178  	return ret0
  1179  }
  1180  
  1181  // UnbindDriverIfNeeded indicates an expected call of UnbindDriverIfNeeded.
  1182  func (mr *MockHostHelpersInterfaceMockRecorder) UnbindDriverIfNeeded(pciAddr, isRdma interface{}) *gomock.Call {
  1183  	mr.mock.ctrl.T.Helper()
  1184  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnbindDriverIfNeeded", reflect.TypeOf((*MockHostHelpersInterface)(nil).UnbindDriverIfNeeded), pciAddr, isRdma)
  1185  }
  1186  
  1187  // UpdateSystemService mocks base method.
  1188  func (m *MockHostHelpersInterface) UpdateSystemService(serviceObj *types.Service) error {
  1189  	m.ctrl.T.Helper()
  1190  	ret := m.ctrl.Call(m, "UpdateSystemService", serviceObj)
  1191  	ret0, _ := ret[0].(error)
  1192  	return ret0
  1193  }
  1194  
  1195  // UpdateSystemService indicates an expected call of UpdateSystemService.
  1196  func (mr *MockHostHelpersInterfaceMockRecorder) UpdateSystemService(serviceObj interface{}) *gomock.Call {
  1197  	mr.mock.ctrl.T.Helper()
  1198  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSystemService", reflect.TypeOf((*MockHostHelpersInterface)(nil).UpdateSystemService), serviceObj)
  1199  }
  1200  
  1201  // VFIsReady mocks base method.
  1202  func (m *MockHostHelpersInterface) VFIsReady(pciAddr string) (netlink.Link, error) {
  1203  	m.ctrl.T.Helper()
  1204  	ret := m.ctrl.Call(m, "VFIsReady", pciAddr)
  1205  	ret0, _ := ret[0].(netlink.Link)
  1206  	ret1, _ := ret[1].(error)
  1207  	return ret0, ret1
  1208  }
  1209  
  1210  // VFIsReady indicates an expected call of VFIsReady.
  1211  func (mr *MockHostHelpersInterfaceMockRecorder) VFIsReady(pciAddr interface{}) *gomock.Call {
  1212  	mr.mock.ctrl.T.Helper()
  1213  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VFIsReady", reflect.TypeOf((*MockHostHelpersInterface)(nil).VFIsReady), pciAddr)
  1214  }
  1215  
  1216  // WriteCheckpointFile mocks base method.
  1217  func (m *MockHostHelpersInterface) WriteCheckpointFile(arg0 *v1.SriovNetworkNodeState) error {
  1218  	m.ctrl.T.Helper()
  1219  	ret := m.ctrl.Call(m, "WriteCheckpointFile", arg0)
  1220  	ret0, _ := ret[0].(error)
  1221  	return ret0
  1222  }
  1223  
  1224  // WriteCheckpointFile indicates an expected call of WriteCheckpointFile.
  1225  func (mr *MockHostHelpersInterfaceMockRecorder) WriteCheckpointFile(arg0 interface{}) *gomock.Call {
  1226  	mr.mock.ctrl.T.Helper()
  1227  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteCheckpointFile", reflect.TypeOf((*MockHostHelpersInterface)(nil).WriteCheckpointFile), arg0)
  1228  }