ceph-csi/internal/csi-common
Niels de Vos 30333378ef cleanup: add IsBlockMultiNode() helper
IsBlockMultiNode() is a new helper that takes a slice of
VolumeCapability objects and checks if it includes multi-node access
and/or block-mode support.

This can then easily be used in other services that need checking for
these particular capabilities, and preventing multi-node block-mode
access.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2021-12-17 07:31:55 +00:00
..
controllerserver-default.go cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
driver.go cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
identityserver-default.go cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
nodeserver-default.go cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
server.go cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
utils_test.go cleanup: add IsBlockMultiNode() helper 2021-12-17 07:31:55 +00:00
utils.go cleanup: add IsBlockMultiNode() helper 2021-12-17 07:31:55 +00:00