cdi

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrWaitingDeviceAttaching = errors.New("device is attaching to the cluster")
	ErrWaitingDeviceDetaching = errors.New("device is detaching from the cluster")
)

Functions

This section is empty.

Types

type CdiProvider

type CdiProvider interface {
	AddResource(instance *v1alpha1.ComposableResource) (deviceID string, CDIDeviceID string, err error)
	RemoveResource(instance *v1alpha1.ComposableResource) error
	CheckResource(instance *v1alpha1.ComposableResource) error
	GetResources() (deviceInfoList []DeviceInfo, err error)
}

type DeviceInfo

type DeviceInfo struct {
	NodeName    string
	MachineUUID string
	DeviceType  string
	DeviceID    string
	CDIDeviceID string
}

Directories

Path Synopsis
fti
cm
fm

Jump to

Keyboard shortcuts

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