Documentation ¶
Overview ¶
Package mock_openstack is a generated GoMock package.
Index ¶
- type MockOpenstackInterface
- func (m *MockOpenstackInterface) CreateOpenstackDevicesInfo() error
- func (m *MockOpenstackInterface) CreateOpenstackDevicesInfoFromNodeStatus(arg0 *v1.SriovNetworkNodeState)
- func (m *MockOpenstackInterface) DiscoverSriovDevicesVirtual() ([]v1.InterfaceExt, error)
- func (m *MockOpenstackInterface) EXPECT() *MockOpenstackInterfaceMockRecorder
- type MockOpenstackInterfaceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOpenstackInterface ¶
type MockOpenstackInterface struct {
// contains filtered or unexported fields
}
MockOpenstackInterface is a mock of OpenstackInterface interface.
func NewMockOpenstackInterface ¶
func NewMockOpenstackInterface(ctrl *gomock.Controller) *MockOpenstackInterface
NewMockOpenstackInterface creates a new mock instance.
func (*MockOpenstackInterface) CreateOpenstackDevicesInfo ¶
func (m *MockOpenstackInterface) CreateOpenstackDevicesInfo() error
CreateOpenstackDevicesInfo mocks base method.
func (*MockOpenstackInterface) CreateOpenstackDevicesInfoFromNodeStatus ¶
func (m *MockOpenstackInterface) CreateOpenstackDevicesInfoFromNodeStatus(arg0 *v1.SriovNetworkNodeState)
CreateOpenstackDevicesInfoFromNodeStatus mocks base method.
func (*MockOpenstackInterface) DiscoverSriovDevicesVirtual ¶
func (m *MockOpenstackInterface) DiscoverSriovDevicesVirtual() ([]v1.InterfaceExt, error)
DiscoverSriovDevicesVirtual mocks base method.
func (*MockOpenstackInterface) EXPECT ¶
func (m *MockOpenstackInterface) EXPECT() *MockOpenstackInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockOpenstackInterfaceMockRecorder ¶
type MockOpenstackInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockOpenstackInterfaceMockRecorder is the mock recorder for MockOpenstackInterface.
func (*MockOpenstackInterfaceMockRecorder) CreateOpenstackDevicesInfo ¶
func (mr *MockOpenstackInterfaceMockRecorder) CreateOpenstackDevicesInfo() *gomock.Call
CreateOpenstackDevicesInfo indicates an expected call of CreateOpenstackDevicesInfo.
func (*MockOpenstackInterfaceMockRecorder) CreateOpenstackDevicesInfoFromNodeStatus ¶
func (mr *MockOpenstackInterfaceMockRecorder) CreateOpenstackDevicesInfoFromNodeStatus(arg0 interface{}) *gomock.Call
CreateOpenstackDevicesInfoFromNodeStatus indicates an expected call of CreateOpenstackDevicesInfoFromNodeStatus.
func (*MockOpenstackInterfaceMockRecorder) DiscoverSriovDevicesVirtual ¶
func (mr *MockOpenstackInterfaceMockRecorder) DiscoverSriovDevicesVirtual() *gomock.Call
DiscoverSriovDevicesVirtual indicates an expected call of DiscoverSriovDevicesVirtual.