go-ceph/cephfs
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
..
cephfs_test.go cephfs: Validate mount.mount usage in cephfs/path.go 2020-05-06 10:04:43 -04:00
cephfs.go cephfs: Validate mount.mount usage in cephfs/path.go 2020-05-06 10:04:43 -04:00
command_test.go cephfs: split (mds) command functions and tests into new files 2020-04-17 13:40:01 -04:00
command.go cutil: allow passing free functions to command output type 2020-05-12 17:18:08 -04:00
conn_nautilus_test.go cephfs: release fs resources in remaining test cases 2020-04-06 16:29:26 -04:00
conn_nautilus.go cephfs: add GetFsCid to implement ceph_get_fs_cid 2020-02-24 10:18:48 +01:00
directory_test.go cephfs: add DType type and getter function for directory entries 2020-04-30 12:54:37 -04:00
directory.go cephfs: add DType type and getter function for directory entries 2020-04-30 12:54:37 -04:00
doc.go cephfs: add a doc.go file documenting the package 2020-01-28 16:10:39 +01:00
errors_test.go cephfs: consolidate error types & values in an errors.go file 2020-04-06 17:10:09 -04:00
errors.go cephfs: add path based Statx function implmenting ceph_statx 2020-05-07 13:44:19 -04:00
file_test.go cephfs: implement wrappers for fchmod and fchown 2020-05-07 09:43:05 +02:00
file.go cephfs: implement wrappers for fchmod and fchown 2020-05-07 09:43:05 +02:00
mount_perms_mimic_test.go cephfs: add functions for Init and SetMountPerms 2020-04-15 14:22:30 +02:00
mount_perms_mimic.go cephfs: add functions for Init and SetMountPerms 2020-04-15 14:22:30 +02:00
path_test.go cephfs: add path based Statx function implmenting ceph_statx 2020-05-07 13:44:19 -04:00
path.go cephfs: add path based Statx function implmenting ceph_statx 2020-05-07 13:44:19 -04:00
permissions_test.go cephfs: split basic permissions related funcs into new files 2020-04-17 13:40:01 -04:00
permissions.go cephfs: split basic permissions related funcs into new files 2020-04-17 13:40:01 -04:00
statx_test.go cephfs: add path based Statx function implmenting ceph_statx 2020-05-07 13:44:19 -04:00
statx.go cephfs: add path based Statx function implmenting ceph_statx 2020-05-07 13:44:19 -04:00
timespec.go cephfs: add path based Statx function implmenting ceph_statx 2020-05-07 13:44:19 -04:00
userperm_test.go cephfs: add a UserPerm type wrapping libcephfs UserPerm 2020-04-15 14:22:30 +02:00
userperm.go cephfs: add a UserPerm type wrapping libcephfs UserPerm 2020-04-15 14:22:30 +02:00