ceph-csi/internal/rbd
Niels de Vos 36469b87e2 util: make ExecComand return stdout and stderr as string
Most consumers of util.ExecCommand() need to convert the returned []byte
format of stdout and/or stderr to string. By having util.ExecCommand()
return strings instead, the code gets a little simpler.

A few commands return JSON that needs to be parsed. These commands will
be replaced by go-ceph implementations later on. For now, convert the
strings back to []byte when needed.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-07-24 16:04:13 +00:00
..
clone.go rbd: simplify error handling 2020-07-23 11:16:40 +00:00
controllerserver.go rbd: implement rbdVolume.isInUse() with go-ceph 2020-07-24 11:34:48 +00:00
driver.go rbd: take operation locks before operating on resource 2020-07-21 13:25:19 +00:00
errors.go rbd: simplify error handling 2020-07-23 11:16:40 +00:00
identityserver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
nodeserver_test.go cleanup: Remove support for Delete and Unmounting v1.1.0 PVC 2020-07-10 16:07:13 +00:00
nodeserver.go rbd: disable reflink while creating XFS filesystems 2020-07-24 13:37:51 +00:00
rbd_attach.go util: make ExecComand return stdout and stderr as string 2020-07-24 16:04:13 +00:00
rbd_journal.go rbd: simplify error handling 2020-07-23 11:16:40 +00:00
rbd_util_test.go cleanup: Remove support for Delete and Unmounting v1.1.0 PVC 2020-07-10 16:07:13 +00:00
rbd_util.go util: make ExecComand return stdout and stderr as string 2020-07-24 16:04:13 +00:00
snapshot.go rbd: simplify error handling 2020-07-23 11:16:40 +00:00