go-ceph/rbd
John Mulligan 9841283344 rbd: add DiffIterate wrapper for rbd_diff_iterate2
The DiffIterate call accepts a data structure argument containing the
parameters of the image to "diff" and a callback function. This callback
is called in the C code, making use of the recently added callbacks
helper.

The callback itself is called with the offset and length of the
differing area in the image as well as a data parameter so that
a common function can distinguish or update different data for
different calls if needed (compare to a void* in C).

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2020-03-04 08:10:48 -05:00
..
callback_shims.go rbd: add DiffIterate wrapper for rbd_diff_iterate2 2020-03-04 08:10:48 -05:00
diff_iterate.go rbd: add DiffIterate wrapper for rbd_diff_iterate2 2020-03-04 08:10:48 -05:00
diff_iterate_test.go rbd: add DiffIterate wrapper for rbd_diff_iterate2 2020-03-04 08:10:48 -05:00
doc.go rbd: use correct style for package doc comment 2019-12-12 11:34:51 -05:00
features.go rbd/features: add FeatureSet for mapping features between bits and names 2020-02-24 16:28:03 -05:00
features_mimic.go rbd/features: add FeatureSet for mapping features between bits and names 2020-02-24 16:28:03 -05:00
features_mimic_test.go rbd/features: add FeatureSet for mapping features between bits and names 2020-02-24 16:28:03 -05:00
features_nautilus.go rbd/features: add FeatureSet for mapping features between bits and names 2020-02-24 16:28:03 -05:00
features_nautilus_test.go rbd/features: add FeatureSet for mapping features between bits and names 2020-02-24 16:28:03 -05:00
features_test.go rbd/features: add test for FeatureSet 2020-02-24 16:28:03 -05:00
options.go rbd: rename error handling helper func to make it private 2020-02-11 10:01:25 +01:00
options_test.go rbd/options: move tests to "rbd" package 2020-01-22 10:15:28 +01:00
rbd.go rbd: move features to its own file 2020-02-24 16:28:03 -05:00
rbd_mimic.go rbd: replace deprecated rbd_list() with rbd_list2() 2020-02-12 13:48:21 -05:00
rbd_nautilus.go rbd: replace deprecated rbd_list() with rbd_list2() 2020-02-12 13:48:21 -05:00
rbd_test.go rbd: move features to its own file 2020-02-24 16:28:03 -05:00
snapshot_mimic.go rbd: replace deprecated rbd_list_children() with rbd_list_children3() 2020-02-12 13:48:21 -05:00
snapshot_nautilus.go rbd: replace deprecated rbd_list_children() with rbd_list_children3() 2020-02-12 13:48:21 -05:00
watchers_mimic.go rbd: add minimal support for listing watchers on an RBD image 2020-02-26 13:04:25 -05:00
watchers_mimic_test.go rbd: add minimal support for listing watchers on an RBD image 2020-02-26 13:04:25 -05:00