package
0.1.2
Repository: https://github.com/threefoldtech/zosbase.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

GetDevice looks up the devices db to given Vendor and Device IDs.
GetSubdevice looks up the subdevice using devices db.
GetVendor gets a vendor object given Vendor ID.
GPU Filter only devices with GPU capabilities NOTE: we only also now white list NVIDIA and AMD we skip integrated GPU normally on slots `0000:00:XX.X` and allow only discrete ones normally on slot `0000:XX:YY.ZZ`.
IoMMUGroup given a pci device, return all devices in the same iommu group.
No description provided by the author
ListPCI lists all PCI devices attached to the machine, applying provided filters.
NewResourceOracle creates a new ResourceOracle.
Not negates a filter.
PCIBridge returns true if p is a PCI bridge.

# Structs

Capacity hold the amount of resource unit of a node.
Device is a PCI device.
Disks contains the hardware information about the disk of a node.
PCI device.
ResourceOracle is the structure responsible for capacity tracking.
Subdevice is subdevice information to a PCI device.
Vendor is Vendor information.

# Type aliases

Filter over the PCI for listing.