go-ceph/rados
John Mulligan a50c60be49 rados: add a more direct argv config wrapper ParseConfigArgv
Previously, ParseCmdLineArgs was the function directly wrapping the
ceph rados_conf_parse_argv function. This function has the improper
(IMO) behavior of assuming you didn't know your own argv[0] and just
always stuck "placeholder" in argv[0]. This function adds a more
direct wrapper ParseConfigArgv that allows the caller to pass an
full argv, and they can put any placholder value desired if they want.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2020-07-24 09:54:04 -04:00
..
command.go rados: add MonCommandTarget & MonCommandTargetWithInputBuffer functions 2020-05-27 13:38:07 -04:00
command_mimic_test.go rados: add MgrCommand and MgrCommandWithInputBuffer functions 2020-04-27 14:38:16 -04:00
command_test.go rados: test functions for MonCommandTarget 2020-05-27 13:38:07 -04:00
conn.go rados: add a more direct argv config wrapper ParseConfigArgv 2020-07-24 09:54:04 -04:00
doc.go rados: use correct style for package doc comment 2019-12-12 11:34:51 -05:00
errors.go rados: add error for function args that must have data 2020-07-24 09:54:04 -04:00
errors_test.go rados: update error conversion func to be consistent with rbd & cephfs 2020-04-06 17:10:09 -04:00
ioctx.go rados: make RadosError type unexported 2020-07-17 13:47:32 -04:00
object_iter.go rados: update error conversion func to be consistent with rbd & cephfs 2020-04-06 17:10:09 -04:00
omap.go rados: use getError helper in general error conversion cases 2020-04-06 17:10:09 -04:00
rados.go rados: use getError helper in general error conversion cases 2020-04-06 17:10:09 -04:00
rados_test.go rados: add a more direct argv config wrapper ParseConfigArgv 2020-07-24 09:54:04 -04:00