intel-device-plugins-for-ku.../cmd/internal/pluginutils
Tuomas Katila d90e35a2f9 Add a custom split method to overcome issues with k8s labels
If k8s label starts or ends with a non alphanumeric char, it is
ignored. This new split method cuts labels from the last alphanum
characters and adds a control character to the beginning of the next
chunk. The entity that uses these labels needs to then remove the
control character before concatenating the chunks.

Co-authored-by: Ukri Niemimuukko <ukri.niemimuukko@intel.com>
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2022-12-29 10:00:00 +02:00
..
labels_test.go Add a custom split method to overcome issues with k8s labels 2022-12-29 10:00:00 +02:00
labels.go Add a custom split method to overcome issues with k8s labels 2022-12-29 10:00:00 +02:00
sriov.go lint: enable wsl check 2021-12-17 11:48:48 +02:00