ceph-csi/internal/rbd
Niels de Vos 45d1404d3e rbd: split buildCreateVolumeResponse() from CreateVolume()
The gocyclo linter complains about the high complexity of the
CreateVolume() function:

> pkg/rbd/controllerserver.go:133:1: cyclomatic complexity 21 of func `(*ControllerServer).CreateVolume` is high (> 20) (gocyclo)

By splitting it up and separeting the creation of an exisint CSI Volume
object in buildCreateVolumeResponse(), the gocyclic linter does not
complain any longer.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-05-04 13:21:03 +00:00
..
controllerserver.go rbd: split buildCreateVolumeResponse() from CreateVolume() 2020-05-04 13:21:03 +00:00
driver.go journal: move voljournal.go to a new package 2020-04-24 07:36:38 +00:00
errors.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
identityserver.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
nodeserver_test.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
nodeserver.go rbd/go-ceph: add GetMetadata() and GetMetadata() functions 2020-05-04 13:21:03 +00:00
rbd_attach.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
rbd_journal.go rbd: use 'rv' as name of the rbdVolume (golint) 2020-05-04 13:21:03 +00:00
rbd_util_test.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
rbd_util.go rbd/go-ceph: add GetMetadata() and GetMetadata() functions 2020-05-04 13:21:03 +00:00