generic

package
v0.47.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AliasPrefix = "hostdevice-"
)

Variables

This section is empty.

Functions

func CreateHostDevices

func CreateHostDevices(vmiHostDevices []v1.HostDevice) ([]api.HostDevice, error)

func CreateHostDevicesFromPools

func CreateHostDevicesFromPools(vmiHostDevices []v1.HostDevice, pciAddressPool, mdevAddressPool hostdevice.AddressPooler) ([]api.HostDevice, error)

func NewMDEVAddressPool

func NewMDEVAddressPool(hostDevises []v1.HostDevice) *hostdevice.AddressPool

NewMDEVAddressPool creates a MDEV address pool based on the provided list of host-devices and the environment variables that describe the resource.

func NewPCIAddressPool

func NewPCIAddressPool(hostDevises []v1.HostDevice) *hostdevice.AddressPool

NewPCIAddressPool creates a PCI address pool based on the provided list of host-devices and the environment variables that describe the resource.

Types

This section is empty.

Jump to

Keyboard shortcuts

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