package deviceattribute
import "k8s.io/dynamic-resource-allocation/deviceattribute"
Index ¶
Constants ¶
const ( // StandardDeviceAttributePrefix is the prefix used for standard device attributes. StandardDeviceAttributePrefix = "resource.kubernetes.io/" // StandardDeviceAttributePCIeRoot is a standard device attribute name // which describe PCIe Root Complex of the PCIe device. // The value is a string value in the format `pci<domain>:<bus>`, // referring to a PCIe (Peripheral Component Interconnect Express) Root Complex. // This attribute can be used to identify devices that share the same PCIe Root Complex. StandardDeviceAttributePCIeRoot resourceapi.QualifiedName = StandardDeviceAttributePrefix + "pcieRoot" )
Types ¶
type DeviceAttribute ¶
type DeviceAttribute struct { // Name is the qualified name of the device attribute. Name resourceapi.QualifiedName // Value is the value of the device attribute. Value resourceapi.DeviceAttribute }
DeviceAttribute represents a device attribute name and its value
Source Files ¶
attribute.go
- Version
- v0.35.0-alpha.0
- Published
- Aug 7, 2025
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 1 minute ago –
Tools for package owners.