ceph-csi/internal/rbd
Niels de Vos 607129171d rbd: move image metadata key migration to its own function
The new MigrateMetadata() function can be used to get the metadata of an
image with a deprecated and new key. Renaming metadata keys can be done
easily this way.

A default value will be set in the image metadata when it is missing
completely. But if the deprecated key was set, the data is stored under
the new key and the deprecated key is removed.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2021-07-26 11:49:56 +00:00
..
clone.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
controllerserver_test.go cleanup: resolve parallel test issue 2021-07-13 11:31:39 +00:00
controllerserver.go rbd: add support to expand encrypted volume 2021-07-23 10:00:23 +00:00
driver.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
encryption.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
errors.go rbd: correct the code comment for ErrFlattenInProgress 2020-10-20 08:59:25 +00:00
identityserver.go internal: reformat long lines in internal/rbd package to 120 chars 2021-06-28 14:43:49 +00:00
mirror.go rbd: use go-ceph for getImageMirroringStatus 2021-07-26 06:37:40 +00:00
nodeserver_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
nodeserver.go rbd: add support to expand encrypted volume 2021-07-23 10:00:23 +00:00
rbd_attach.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
rbd_healer.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
rbd_journal.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
rbd_util_test.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
rbd_util.go rbd: move image metadata key migration to its own function 2021-07-26 11:49:56 +00:00
replicationcontrollerserver_test.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
replicationcontrollerserver.go rbd: use go-ceph for getImageMirroringStatus 2021-07-26 06:37:40 +00:00
snapshot.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00