ceph-csi/internal/cephfs
Robert Vasek aa6297e164 cleanup: refactor helper functions in nodeserver.go
Refactored a couple of helper functions for easier resue.

* Code for building store.VolumeOptions is factored out into a separate function.

* Changed args of getCredentailsForVolume() and NodeServer.mount() so that
  instead of passing in whole csi.NodeStageVolumeRequest, only necessary
  properties are passed explicitly. This is to allow these functions to be
  called outside of NodeStageVolume() where NodeStageVolumeRequest is not
  available.

Signed-off-by: Robert Vasek <robert.vasek@cern.ch>
2022-03-10 06:05:52 +00:00
..
core cephfs: refactor cephfs core functions 2022-02-22 20:39:23 +00:00
errors cleanup: move core functions to core pkg 2021-09-23 06:39:37 +00:00
mounter cephfs: refactor cephfs core functions 2022-02-22 20:39:23 +00:00
store cephfs: refactor cephfs core functions 2022-02-22 20:39:23 +00:00
util cleanup: move core functions to core pkg 2021-09-23 06:39:37 +00:00
controllerserver.go cephfs: refactor cephfs core functions 2022-02-22 20:39:23 +00:00
driver.go cephfs: refactor cephfs core functions 2022-02-22 20:39:23 +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: refactor helper functions in nodeserver.go 2022-03-10 06:05:52 +00:00
validator.go cephfs: correct comment for validateExpandVolumeRequest 2021-09-07 14:33:02 +00:00