go-ceph/rados
John Mulligan e2a78eec02 cutil: allow passing free functions to command output type
The *_command functions in librados and libcephfs document the use
of specific free functions for data allocated. These functions are
currently just wrappers around C's free() function. However, to be
more strictly compliant this change adds a free-function callback
to the CommandOutput type and the specific free functions are now
used outside the unit tests.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2020-05-12 17:18:08 -04:00
..
command.go cutil: allow passing free functions to command output type 2020-05-12 17:18:08 -04:00
command_mimic_test.go rados: add MgrCommand and MgrCommandWithInputBuffer functions 2020-04-27 14:38:16 -04:00
command_test.go fix typos 2020-05-01 09:37:09 -04:00
conn.go rados: move *Command functions into a separate file 2020-04-27 14:38:16 -04:00
doc.go rados: use correct style for package doc comment 2019-12-12 11:34:51 -05:00
errors.go update various parts of the code to use the retry lib. 2020-04-20 15:08:36 -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 update various parts of the code to use the retry lib. 2020-04-20 15:08:36 -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: move *Command functions into a separate file 2020-04-27 14:38:16 -04:00