go-ceph/rbd
Khayyam Saleem 51b8287148 librbd exposes rbd_resize2, which allows clients to pass in a boolean controlling
whether or not the allocation should be allowed to shrink, and a progress-tracking
callback. This contribution extends go-ceph to be able to call rbd_resize2.

Closes #933

Signed-off-by: Khayyam Saleem <khayyam.saleem@gmail.com>
2023-11-08 19:51:30 +00:00
..
admin gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
diff_iterate.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
diff_iterate_test.go rbd: rename error type's Errno method to ErrorCode 2020-08-10 13:03:24 -04:00
doc.go rbd: use correct style for package doc comment 2019-12-12 11:34:51 -05:00
encryption.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
encryption_test.go format: run gofmt on all files 2021-10-04 18:58:35 +00:00
errors.go rbd: add GetGlobalMirrorStatus implementing rbd_mirror_image_get_global_status 2021-04-13 09:47:43 +00:00
errors_test.go rbd: use FormatErrorCode for formatting rbd errors 2020-08-10 13:03:24 -04:00
features.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
features_nautilus.go rbd: remove luminous and mimic build tags 2021-11-09 01:24:01 +00:00
features_nautilus_test.go rbd: remove luminous and mimic build tags 2021-11-09 01:24:01 +00:00
features_test.go rbd: remove features_mimic.go 2021-08-02 15:15:48 +00:00
group.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
group_snap.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
group_snap_test.go rbd: add GroupSnapRollbackWithProgress function 2021-02-08 15:29:11 +00:00
group_test.go rbd: add GetGroup implementing rbd_get_group 2021-02-02 15:48:00 +00:00
locks.go rbd: promote lock apis to stable 2023-10-05 11:22:38 +00:00
locks_test.go rbd: promote lock apis to stable 2023-10-05 11:22:38 +00:00
metadata.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
metadata_test.go rbd: add ListMetadata implementing rbd_metadata_list 2020-11-04 14:01:51 +00:00
migration.go rbd: Make migration APIs stable 2023-06-08 17:35:55 +00:00
migration_test.go rbd: Make migration APIs stable 2023-06-08 17:35:55 +00:00
mirror.go rbd: get mirror image status from correct array element 2023-10-02 13:48:12 +00:00
mirror_desc_status.go rbd: promote preview API for release v0.23.0 2023-08-14 14:43:57 +00:00
mirror_desc_status_test.go rbd: promote preview API for release v0.23.0 2023-08-14 14:43:57 +00:00
mirror_nautilus.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
mirror_nautilus_test.go rbd: add mirroring support for nautilus 2022-07-13 13:00:48 +00:00
mirror_peer_site.go rbd: promote preview API for release v0.23.0 2023-08-14 14:43:57 +00:00
mirror_peer_site_test.go rbd: promote preview API for release v0.23.0 2023-08-14 14:43:57 +00:00
mirror_test.go rbd: test for image GlobalID inequality 2023-10-02 13:48:12 +00:00
namespace_nautilus.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
namespace_nautilus_test.go rbd: remove luminous and mimic build tags 2021-11-09 01:24:01 +00:00
options.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
options_octopus.go format: run gofmt on all files 2021-10-04 18:58:35 +00:00
options_test.go rbd: rename uses of RbdImageOptions to ImageOptions 2020-03-23 10:09:25 -04:00
pool_nautilus.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
pool_nautilus_test.go rbd: remove luminous and mimic build tags 2021-11-09 01:24:01 +00:00
rbd.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
rbd_nautilus.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
rbd_nautilus_test.go rbd: include details for parent image in the trash 2023-08-02 13:56:45 +00:00
rbd_test.go rbd: export image name 2021-11-09 02:31:09 +00:00
resize.go librbd exposes rbd_resize2, which allows clients to pass in a boolean controlling 2023-11-08 19:51:30 +00:00
resize_test.go librbd exposes rbd_resize2, which allows clients to pass in a boolean controlling 2023-11-08 19:51:30 +00:00
snapshot.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
snapshot_namespace.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
snapshot_namespace_test.go rbd: remove luminous and mimic build tags 2021-11-09 01:24:01 +00:00
snapshot_nautilus.go rbd: include details for parent image in the trash 2023-08-02 13:56:45 +00:00
snapshot_octopus.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
snapshot_octopus_test.go format: run gofmt on all files 2021-10-04 18:58:35 +00:00
snapshot_rename.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
snapshot_rename_test.go rbd: make Snapshot.Remove stable 2022-10-17 17:18:49 +00:00
snapshot_test.go rbd: add SetSnapshot (re)implementing rbd_snap_set 2021-06-01 10:28:25 +00:00
sparsify.go rbd: promote preview API for release v0.23.0 2023-08-14 14:43:57 +00:00
sparsify_test.go rbd: promote preview API for release v0.23.0 2023-08-14 14:43:57 +00:00
watchers.go gofmt: reformat everything with new gofmt of go 1.19 2023-02-20 20:50:24 +00:00
watchers_test.go rbd: remove build tag for luminous from watchers.go 2021-08-02 15:15:48 +00:00