mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
52603d595a
Before, the one CSIJournal type was handling both configuration and providing methods to make changes to the journal. This created the temptation to modify the state of the global configuration object to enact changes through the method calls. This change creates a new type `journal.Connection` that takes the monitors and credentials to create a short(er)-lived object to actually read and make changes on the journal. This also avoid mixing the arguments needed to connect to the cluster with the arguments needed for the various journal read & update calls. Signed-off-by: John Mulligan <jmulligan@redhat.com> |
||
---|---|---|
.. | ||
cephfs_util.go | ||
cephuser.go | ||
controllerserver.go | ||
driver.go | ||
errors.go | ||
fsjournal.go | ||
identityserver.go | ||
nodeserver.go | ||
util.go | ||
volume.go | ||
volumemounter_test.go | ||
volumemounter.go | ||
volumeoptions.go |