ceph-csi/internal/rbd/driver
Niels de Vos 203920d8f4 rbd: move driver component into the rbd/driver package
The rbd package contains several functions that can be used by
CSI-Addons Service implmentations. Unfortunately it is not possible to
do this, as the rbd-driver needs to import the csi-addons/rbd package to
provide the CSI-Addons server. This causes a circular import when
services use the rbd package:

 - rbd/driver.go import csi-addons/rbd
 - csi-addons/rbd import rbd (including the driver)

By moving rbd/driver.go into its own package, the circular import can be
prevented.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2021-12-10 07:35:26 +00:00
..
driver_test.go rbd: move driver component into the rbd/driver package 2021-12-10 07:35:26 +00:00
driver.go rbd: move driver component into the rbd/driver package 2021-12-10 07:35:26 +00:00