mock_openstack

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_openstack is a generated GoMock package.

Index

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

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.

Jump to

Keyboard shortcuts

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