ceph-csi/internal/rbd
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
..
driver rbd: move driver component into the rbd/driver package 2021-12-10 07:35:26 +00:00
clone.go rbd: modify copyEncryptionConfig to accept copyOnlyPassphrase arg 2021-10-05 07:46:57 +00:00
controllerserver_test.go cleanup: resolve parallel test issue 2021-07-13 11:31:39 +00:00
controllerserver.go cleanup: add IsBlockMultiNode() helper 2021-12-17 07:31:55 +00:00
encryption.go rbd: modify copyEncryptionConfig to accept copyOnlyPassphrase arg 2021-10-05 07:46:57 +00:00
errors.go rbd: check local image state during promote operation 2021-12-01 20:19:05 +00:00
globals.go rbd: add functions for initializing global variables 2021-12-10 07:35:26 +00:00
identityserver.go internal: reformat long lines in internal/rbd package to 120 chars 2021-06-28 14:43:49 +00:00
migration_test.go rbd: change iteration variable name in the migration test to be specific 2021-10-11 10:06:30 +00:00
migration.go rbd: split the parsing and deletion logic to its own functions. 2021-10-27 18:35:00 +00:00
mirror.go rbd: add helper function to get local state 2021-08-16 17:38:25 +00:00
nodeserver_test.go cleanup: generalize the parseBool function 2021-11-01 08:17:36 +00:00
nodeserver.go rbd: export NodeServer.mounter outside of the rbd package 2021-12-10 07:35:26 +00:00
rbd_attach_test.go rbd: provide a way to supply mounter specific mapOptions from sc 2021-11-23 08:54:37 +00:00
rbd_attach.go rbd: provide a way to supply mounter specific mapOptions from sc 2021-11-23 08:54:37 +00:00
rbd_healer.go rbd: export RunVolumeHealer() so that rbd/driver can start it 2021-12-10 07:35:26 +00:00
rbd_journal.go rbd: remove retrieving volumeHandle from PV annotation 2021-12-17 03:38:29 +00:00
rbd_util_test.go rbd: export HexStringToInteger() 2021-12-10 07:35:26 +00:00
rbd_util.go rbd: remove retrieving volumeHandle from PV annotation 2021-12-17 03:38:29 +00:00
replicationcontrollerserver_test.go rbd: enabe journal based mirroring 2021-12-01 14:12:30 +00:00
replicationcontrollerserver.go rbd: export GenVolFromVolID() for consumption by csi-addons 2021-12-10 07:35:26 +00:00
snapshot.go cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00