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
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
..
cpu apis/nfd: flatten the structure of features data type 2022-10-18 18:37:28 +03:00
custom apis/nfd: flatten the structure of features data type 2022-10-18 18:37:28 +03:00
fake apis/nfd: flatten the structure of features data type 2022-10-18 18:37:28 +03:00
kernel apis/nfd: flatten the structure of features data type 2022-10-18 18:37:28 +03:00
local apis/nfd: flatten the structure of features data type 2022-10-18 18:37:28 +03:00
memory apis/nfd: flatten the structure of features data type 2022-10-18 18:37:28 +03:00
network apis/nfd: flatten the structure of features data type 2022-10-18 18:37:28 +03:00
pci apis/nfd: flatten the structure of features data type 2022-10-18 18:37:28 +03:00
storage apis/nfd: flatten the structure of features data type 2022-10-18 18:37:28 +03:00
system apis/nfd: flatten the structure of features data type 2022-10-18 18:37:28 +03:00
usb apis/nfd: flatten the structure of features data type 2022-10-18 18:37:28 +03:00
mock_LabelSource.go Re-generate files 2022-08-10 09:47:23 +03:00
source.go apis/nfd: flatten the structure of features data type 2022-10-18 18:37:28 +03:00
source_test.go pkg/api/feature: rename types 2022-10-06 11:25:01 +03:00