1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-05 16:27:05 +00:00
node-feature-discovery/source/kernel
Markus Lehtonen b907d07d7e apis/nfd: flatten the structure of features data type
Flatten the data structure that stores features, dropping the "domain"
level from the data model. That extra level of hierarchy brought little
benefit but just caused some extra complexity, instead. The new
structure nicely matches what we have in the NodeFeatureRule object (the
matchFeatures field of uses the same flat structure with the "feature"
field having a value <domain>.<feature>, e.g. "kernel.version").

This is pre-work for introducing a new "node feature" CRD that contains
the raw feature data. It makes the life of both users and developers
easier when both CRDs, plus our internal code, handle feature data in a
similar flat structure.
2022-10-18 18:37:28 +03:00
..
kconfig.go pkg/utils: move hostpath helpers from source to utils 2022-10-06 14:28:24 +03:00
kernel.go apis/nfd: flatten the structure of features data type 2022-10-18 18:37:28 +03:00
kernel_test.go source: make per-source unit tests stricter 2021-12-03 10:26:26 +02:00
modules.go Drop deprecated io/ioutil package 2022-09-08 14:26:02 +03:00
selinux.go pkg/utils: move hostpath helpers from source to utils 2022-10-06 14:28:24 +03:00
version.go Drop deprecated io/ioutil package 2022-09-08 14:26:02 +03:00