Documentation ¶
Index ¶
Constants ¶
View Source
const PCI_ADDRESS_PATTERN = `^([\da-fA-F]{4}):([\da-fA-F]{2}):([\da-fA-F]{2}).([0-7]{1})$`
View Source
const ServiceAccountNamespaceFile = "/var/run/secrets/kubernetes.io/serviceaccount/namespace"
Variables ¶
This section is empty.
Functions ¶
func GetNamespace ¶ added in v0.9.0
func ParsePciAddress ¶
ParsePciAddress returns an array of PCI DBSF fields (domain, bus, slot, function)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.