Documentation ¶
Overview ¶
Package mock_mlxutils is a generated GoMock package.
Index ¶
- type MockMellanoxInterface
- func (m *MockMellanoxInterface) EXPECT() *MockMellanoxInterfaceMockRecorder
- func (m *MockMellanoxInterface) GetMellanoxBlueFieldMode(arg0 string) (mlxutils.BlueFieldMode, error)
- func (m *MockMellanoxInterface) GetMlxNicFwData(pciAddress string) (*mlxutils.MlxNic, *mlxutils.MlxNic, error)
- func (m *MockMellanoxInterface) MlxConfigFW(attributesToChange map[string]mlxutils.MlxNic) error
- func (m *MockMellanoxInterface) MlxResetFW(pciAddresses []string) error
- func (m *MockMellanoxInterface) MstConfigReadData(arg0 string) (string, string, error)
- type MockMellanoxInterfaceMockRecorder
- func (mr *MockMellanoxInterfaceMockRecorder) GetMellanoxBlueFieldMode(arg0 interface{}) *gomock.Call
- func (mr *MockMellanoxInterfaceMockRecorder) GetMlxNicFwData(pciAddress interface{}) *gomock.Call
- func (mr *MockMellanoxInterfaceMockRecorder) MlxConfigFW(attributesToChange interface{}) *gomock.Call
- func (mr *MockMellanoxInterfaceMockRecorder) MlxResetFW(pciAddresses interface{}) *gomock.Call
- func (mr *MockMellanoxInterfaceMockRecorder) MstConfigReadData(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMellanoxInterface ¶
type MockMellanoxInterface struct {
// contains filtered or unexported fields
}
MockMellanoxInterface is a mock of MellanoxInterface interface.
func NewMockMellanoxInterface ¶
func NewMockMellanoxInterface(ctrl *gomock.Controller) *MockMellanoxInterface
NewMockMellanoxInterface creates a new mock instance.
func (*MockMellanoxInterface) EXPECT ¶
func (m *MockMellanoxInterface) EXPECT() *MockMellanoxInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMellanoxInterface) GetMellanoxBlueFieldMode ¶
func (m *MockMellanoxInterface) GetMellanoxBlueFieldMode(arg0 string) (mlxutils.BlueFieldMode, error)
GetMellanoxBlueFieldMode mocks base method.
func (*MockMellanoxInterface) GetMlxNicFwData ¶
func (m *MockMellanoxInterface) GetMlxNicFwData(pciAddress string) (*mlxutils.MlxNic, *mlxutils.MlxNic, error)
GetMlxNicFwData mocks base method.
func (*MockMellanoxInterface) MlxConfigFW ¶
func (m *MockMellanoxInterface) MlxConfigFW(attributesToChange map[string]mlxutils.MlxNic) error
MlxConfigFW mocks base method.
func (*MockMellanoxInterface) MlxResetFW ¶ added in v1.4.0
func (m *MockMellanoxInterface) MlxResetFW(pciAddresses []string) error
MlxResetFW mocks base method.
func (*MockMellanoxInterface) MstConfigReadData ¶
func (m *MockMellanoxInterface) MstConfigReadData(arg0 string) (string, string, error)
MstConfigReadData mocks base method.
type MockMellanoxInterfaceMockRecorder ¶
type MockMellanoxInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockMellanoxInterfaceMockRecorder is the mock recorder for MockMellanoxInterface.
func (*MockMellanoxInterfaceMockRecorder) GetMellanoxBlueFieldMode ¶
func (mr *MockMellanoxInterfaceMockRecorder) GetMellanoxBlueFieldMode(arg0 interface{}) *gomock.Call
GetMellanoxBlueFieldMode indicates an expected call of GetMellanoxBlueFieldMode.
func (*MockMellanoxInterfaceMockRecorder) GetMlxNicFwData ¶
func (mr *MockMellanoxInterfaceMockRecorder) GetMlxNicFwData(pciAddress interface{}) *gomock.Call
GetMlxNicFwData indicates an expected call of GetMlxNicFwData.
func (*MockMellanoxInterfaceMockRecorder) MlxConfigFW ¶
func (mr *MockMellanoxInterfaceMockRecorder) MlxConfigFW(attributesToChange interface{}) *gomock.Call
MlxConfigFW indicates an expected call of MlxConfigFW.
func (*MockMellanoxInterfaceMockRecorder) MlxResetFW ¶ added in v1.4.0
func (mr *MockMellanoxInterfaceMockRecorder) MlxResetFW(pciAddresses interface{}) *gomock.Call
MlxResetFW indicates an expected call of MlxResetFW.
func (*MockMellanoxInterfaceMockRecorder) MstConfigReadData ¶
func (mr *MockMellanoxInterfaceMockRecorder) MstConfigReadData(arg0 interface{}) *gomock.Call
MstConfigReadData indicates an expected call of MstConfigReadData.