go-ceph/rbd
John Mulligan f72828c5b2 rbd: add OpenImageById and OpenImageByIdReadOnly functions
Add OpenImageById and OpenImageByIdReadOnly that wrap rbd_open_by_id and
rbd_open_by_id_read_only respectively.
The added test case can not currently test trivial error conditions due
to a known bug in ceph, these tests are skipped for meanwhile.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2020-02-11 19:54:58 +01:00
..
doc.go rbd: use correct style for package doc comment 2019-12-12 11:34:51 -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: add OpenImageById and OpenImageByIdReadOnly functions 2020-02-11 19:54:58 +01:00
rbd_test.go rbd: add OpenImageById and OpenImageByIdReadOnly functions 2020-02-11 19:54:58 +01:00