ceph-csi/internal/rbd
Niels de Vos 8f91c672d4 util: add EncryptionKMS.Destroy()
Add a new method to the EncryptionKMS interface so that resources can be
freed when EncryptionKMS instances get freed.

With the move to using the libopenstorage API, a temporary file needs to
store the optional CA certificate. The Destroy() method of the
vaultConnection type now removes this file.

The rbdVolume uses the EncryptionKMS type now, so call the new Destroy()
method from withing rbdVolume.Destroy().

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-12-14 14:45:09 +00:00
..
clone.go cleanup: return error type in rbdVolume.checkCloneImage() 2020-12-09 08:35:35 +00:00
controllerserver.go cleanup: add a helper function storeImageID 2020-12-07 11:03:27 +00:00
driver.go rbd: add minsnapshotsonimage flag 2020-11-18 05:59:20 +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 cleanup: return error type in encryptDevice() 2020-12-09 08:35:35 +00:00
rbd_attach.go cleanup: return error type in detachRBDImageOrDeviceSpec() 2020-12-09 08:35:35 +00:00
rbd_journal.go rbd: store csi.storage.k8s.io/pvc/namespace metadata as Owner 2020-12-09 13:58:48 +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 util: add EncryptionKMS.Destroy() 2020-12-14 14:45:09 +00:00
snapshot.go rbd: replace klog with util logger in snapshot.go 2020-08-19 14:38:12 +00:00