ceph-csi/internal/cephfs
Rakshith R 82d09d81cf util: modify GetMonsAndClusterID() to take clusterID instead of options
This commit:
- modifies GetMonsAndClusterID() to take clusterID instead of options.
- moves out validation of clusterID is set or not out of GetMonsAndClusterID().
- defines ErrClusterIDNotSet new error for reusability.
- add GetClusterID() to obtain clusterID from options.

Signed-off-by: Rakshith R <rar@redhat.com>
2021-09-14 08:39:57 +00:00
..
errors cleanup: move cephfs errors to new util package 2021-09-01 06:50:16 +00:00
cephfs_util.go cleanup: move cephfs errors to new util package 2021-09-01 06:50:16 +00:00
clone_test.go cleanup: move cephfs errors to new util package 2021-09-01 06:50:16 +00:00
clone.go cleanup: move cephfs errors to new util package 2021-09-01 06:50:16 +00:00
controllerserver.go cephfs: no need to check for zero volume size 2021-09-07 04:49:24 +00:00
driver.go util: call WriteCephConfig() in cephcsi.go 2021-09-08 16:05:27 +00:00
fsjournal.go cleanup: move cephfs errors to new util package 2021-09-01 06:50:16 +00:00
identityserver.go internal: reformat long lines in internal/cephfs package to 120 chars 2021-06-28 14:43:49 +00:00
nodeserver.go cleanup: move cephfs errors to new util package 2021-09-01 06:50:16 +00:00
snapshot.go cleanup: move cephfs errors to new util package 2021-09-01 06:50:16 +00:00
util.go cleanup: move volumeID to the volumeoptions 2021-09-07 14:33:02 +00:00
validator.go cephfs: correct comment for validateExpandVolumeRequest 2021-09-07 14:33:02 +00:00
volume.go cleanup: move cephfs errors to new util package 2021-09-01 06:50:16 +00:00
volumemounter.go cleanup: move execCommandErr to volumemounter 2021-09-07 14:33:02 +00:00
volumeoptions.go util: modify GetMonsAndClusterID() to take clusterID instead of options 2021-09-14 08:39:57 +00:00