ceph-csi/internal/rbd
Niels de Vos 10a75dd4ff rbd: introduce rbdImage as base for rbdVolume and rbdSnapshot
Because rbdVolume and rbdSnapshot are very similar, they can be based
off a common struct rbdImage that contains the common attributes and
functions.

This makes it possible to re-use functions for snapshots, and prevents
further duplication or code.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2021-03-15 08:10:51 +00:00
..
clone.go rbd: introduce rbdImage as base for rbdVolume and rbdSnapshot 2021-03-15 08:10:51 +00:00
controllerserver.go cleanup: rename rbdSnapshot.SnapID to VolID 2021-03-15 08:10:51 +00:00
driver.go rbd: update mount packges in import path 2020-12-17 16:04:54 +00:00
encryption.go rbd: introduce rbdImage as base for rbdVolume and rbdSnapshot 2021-03-15 08:10:51 +00:00
errors.go rbd: correct the code comment for ErrFlattenInProgress 2020-10-20 08:59:25 +00:00
identityserver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
nodeserver_test.go cleanup: Remove support for Delete and Unmounting v1.1.0 PVC 2020-07-10 16:07:13 +00:00
nodeserver.go util: introduce VolumeEncryption type 2021-03-12 10:11:47 +00:00
rbd_attach.go util: introduce VolumeEncryption type 2021-03-12 10:11:47 +00:00
rbd_journal.go rbd: introduce rbdImage as base for rbdVolume and rbdSnapshot 2021-03-15 08:10:51 +00:00
rbd_util_test.go cleanup: Remove support for Delete and Unmounting v1.1.0 PVC 2020-07-10 16:07:13 +00:00
rbd_util.go rbd: introduce rbdImage as base for rbdVolume and rbdSnapshot 2021-03-15 08:10:51 +00:00
snapshot.go cleanup: rename rbdSnapshot.SnapID to VolID 2021-03-15 08:10:51 +00:00