ceph-csi/internal/rbd
Niels de Vos a517290ea7 rbd: let parseVolCreateRequest() return a connected rbdVolume
By returning a connected rbdVolume in parseVolCreateRequest(), the
CreateVolume() function can be simplified a little. There is no need to
call the additional Connect() and detect failures with it.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
2024-03-28 11:54:28 +00:00
..
driver rbd: updated node labels fetching logic 2023-12-11 10:59:50 +00:00
clone.go cleanup: refactor functions to accept a context parameter 2024-03-12 13:54:19 +00:00
controllerserver_test.go rbd: add support for rbd striping 2022-06-09 18:59:00 +00:00
controllerserver.go rbd: let parseVolCreateRequest() return a connected rbdVolume 2024-03-28 11:54:28 +00:00
diskusage.go rbd: do not execute rbd sparsify when volume is in use 2023-07-11 13:48:36 +00:00
encryption_test.go rbd: add unit test for ParseEncryptionOpts 2023-06-06 22:01:26 +00:00
encryption.go cleanup: refactor functions to accept a context parameter 2024-03-12 13:54:19 +00:00
errors.go rbd: do not execute rbd sparsify when volume is in use 2023-07-11 13:48:36 +00:00
globals.go cleanup: do not pass EncodingVersion to GenerateVolID() 2024-03-18 06:23:28 +00:00
identityserver.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
migration_test.go build: address gofmt warnings 2023-06-05 04:49:46 +00:00
migration.go rbd: remove redundant util.Credentials arg from flattenRbdImage() 2022-01-06 12:28:18 +00:00
mirror.go build: address gofmt warnings 2023-06-05 04:49:46 +00:00
nodeserver_test.go deploy: added json field tags for csi config map 2023-12-21 17:44:46 +00:00
nodeserver.go cleanup: refactor functions to accept a context parameter 2024-03-12 13:54:19 +00:00
rbd_attach_test.go rbd: fix parsing mapOptions 2022-03-14 15:21:25 +00:00
rbd_attach.go rbd: support nbd on euler or arm 2024-03-15 10:39:50 +00:00
rbd_healer.go rbd: healer detect Kubernetes version for right StagingTargetPath 2022-06-24 12:23:29 +00:00
rbd_journal.go rbd: make pool optional in rbd sc if topologyconstraints are present 2024-03-22 13:15:50 +00:00
rbd_util_test.go build: address gocritic warnings 2023-06-05 04:49:46 +00:00
rbd_util.go cleanup: do not pass an empty snapshot to genSnapFromSnapID() 2024-03-28 11:54:28 +00:00
replication.go rbd: fix resync issue 2023-08-30 09:07:46 +00:00
snapshot.go build: address gofmt warnings 2023-06-05 04:49:46 +00:00