ceph-csi/internal
Niels de Vos 3bf5c0e478 cleanup: simplify rbdGetDeviceList()
The `rbdGetDeviceList()` function uses two very similar types for
converting krbd and NBD device information from JSON. There is no need
to use this distinction, and callers of `rbdGetDeviceList()` should not
need to care about it either.

By introducing a `deviceInfo` interface with Get-functions, the
`rbdGetDeviceList()` function becomes a little simpler, with a clearly
defined API for the returned list.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
2024-01-11 18:00:41 +00:00
..
cephfs deploy: added json field tags for csi config map 2023-12-21 17:44:46 +00:00
controller rebase: replace MetricsBindAddress with Metrics 2023-08-29 13:39:45 +00:00
csi-addons cephfs: fix fetchIP to support more formats 2023-12-15 18:21:20 +00:00
csi-common cephfs: add read affinity mount option 2023-11-22 13:13:01 +00:00
health-checker util: add health-checker for periodic filesystem checks 2023-11-03 13:41:44 +00:00
journal build: address gofmt warnings 2023-06-05 04:49:46 +00:00
kms rebase: update github.com/libopenstorage/secrets to latest 2023-10-17 11:06:24 +00:00
liveness cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
nfs cephfs: add read affinity mount option 2023-11-22 13:13:01 +00:00
rbd cleanup: simplify rbdGetDeviceList() 2024-01-11 18:00:41 +00:00
util deploy: added json field tags for csi config map 2023-12-21 17:44:46 +00:00