1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
node-feature-discovery/source/pci
Markus Lehtonen af0c683f60 source/pci: implement FeatureSource
Separate feature discovery and creation of feature labels in the pci
source.

Move pci_utils from source/internal to the source/pci package. Change
the implementation of the PciID custom rule to utilize the FeatureSource
interface of the pci source.

Also, add minimalist unit test.
2021-11-11 18:33:53 +02:00
..
pci.go source/pci: implement FeatureSource 2021-11-11 18:33:53 +02:00
pci_test.go source/pci: implement FeatureSource 2021-11-11 18:33:53 +02:00
utils.go source/pci: implement FeatureSource 2021-11-11 18:33:53 +02:00