ceph-csi/internal/util
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
..
cephcmds.go util: make ExecComand return stdout and stderr as string 2020-07-24 16:04:13 +00:00
cephconf.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
conn_pool_test.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
conn_pool.go cleanup: address gosec warnings 2020-07-21 08:36:24 +00:00
connection.go util: simplify error handling 2020-07-23 11:16:40 +00:00
credentials.go cleanup: fix golint warnings in util, e2e 2020-05-20 13:18:41 +00:00
crypto.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
cryptsetup.go cleanup: address gosec warnings 2020-07-21 08:36:24 +00:00
csiconfig_test.go cleanup: address gosec warnings 2020-07-21 08:36:24 +00:00
csiconfig.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
errors_test.go util: add tests for JoinErrors() 2020-07-23 11:16:40 +00:00
errors.go util: simplify error handling 2020-07-23 11:16:40 +00:00
httpserver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
idlocker_test.go journal: Add additional operation based locking 2020-07-21 13:25:19 +00:00
idlocker.go journal: Add additional operation based locking 2020-07-21 13:25:19 +00:00
k8s.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
log.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
pidlimit_test.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
pidlimit.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
stripsecrets.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
topology_test.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
topology.go cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00
util_test.go util: update unit testing for deep flatten 2020-07-08 05:48:42 +00:00
util.go cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00
validate.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
vault.go cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00
volid_test.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
volid.go cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00