ceph-csi/internal/cephfs
John Mulligan 52603d595a journal: split journal types creating a new Connection type
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>
2020-05-15 15:14:48 +00:00
..
cephfs_util.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
cephuser.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
controllerserver.go cephfs: use new 'ceph fs resize' command when available 2020-05-12 06:57:44 +00:00
driver.go journal: remove SetNamespace setter function 2020-05-12 17:57:36 +00:00
errors.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
fsjournal.go journal: split journal types creating a new Connection type 2020-05-15 15:14:48 +00:00
identityserver.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
nodeserver.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
util.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
volume.go cephfs: use new 'ceph fs resize' command when available 2020-05-12 06:57:44 +00:00
volumemounter_test.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
volumemounter.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
volumeoptions.go journal: split journal types creating a new Connection type 2020-05-15 15:14:48 +00:00