mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SriovnetProvider

type SriovnetProvider struct {
	mock.Mock
}

SriovnetProvider is an autogenerated mock type for the SriovnetProvider type

func NewSriovnetProvider

func NewSriovnetProvider(t mockConstructorTestingTNewSriovnetProvider) *SriovnetProvider

NewSriovnetProvider creates a new instance of SriovnetProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*SriovnetProvider) GetUplinkRepresentor

func (_m *SriovnetProvider) GetUplinkRepresentor(pciAddress string) (string, error)

GetUplinkRepresentor provides a mock function with given fields: pciAddress

func (*SriovnetProvider) GetVfIndexByPciAddress

func (_m *SriovnetProvider) GetVfIndexByPciAddress(vfPciAddress string) (int, error)

GetVfIndexByPciAddress provides a mock function with given fields: vfPciAddress

func (*SriovnetProvider) GetVfRepresentor

func (_m *SriovnetProvider) GetVfRepresentor(uplink string, vfIndex int) (string, error)

GetVfRepresentor provides a mock function with given fields: uplink, vfIndex

Jump to

Keyboard shortcuts

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