Documentation ¶
Overview ¶
Package pci contains tools for PCI devices.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateDevicesToBeAdded ¶
func CalculateDevicesToBeAdded(ctx context.Context, vm *object.VirtualMachine, deviceSpecs []infrav1.PCIDeviceSpec) ([]infrav1.PCIDeviceSpec, error)
CalculateDevicesToBeAdded calculates the PCI devices which should be added to the VM.
func ConstructDeviceSpecs ¶
func ConstructDeviceSpecs(pciDeviceSpecs []infrav1.PCIDeviceSpec) []types.BaseVirtualDevice
ConstructDeviceSpecs transforms a list of PCIDeviceSpec into a list of BaseVirutalDevices used by govmomi.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.