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/usb
Markus Lehtonen df27327f14 source/usb: implement FeatureSource
Separate feature discovery and creation of feature labels in the usb
source.

Move usb_utils from source/internal to the source/usb package. Change
the implementation of the UsbID custom rule to utilize the FeatureSource
interface of the usb source.

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