go-ceph/cephfs/admin
John Mulligan caac65de71 cephfs admin: add ResizeSubVolume and supporting types
Add a function for resizing a subvolume as well as types needed to
create the JSON command and parse the response JSON. The newSize
argument can be passed a numeric value (as a ByteCount) or the special
constant `Infinite` much like the ceph cli command. This is accomplished
using the interface type `NewSize`.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2020-08-31 10:38:38 -04:00
..
bytecount.go cephfs admin: add ResizeSubVolume and supporting types 2020-08-31 10:38:38 -04:00
doc.go cephfs admin: start a package for convenient administration of cephfs 2020-08-31 10:38:38 -04:00
fsadmin.go cephfs admin: add ResizeSubVolume and supporting types 2020-08-31 10:38:38 -04:00
fsadmin_test.go cephfs admin: add optional debug tracing to the tests 2020-08-31 10:38:38 -04:00
subvolume.go cephfs admin: add ResizeSubVolume and supporting types 2020-08-31 10:38:38 -04:00
subvolume_test.go cephfs admin: add ResizeSubVolume and supporting types 2020-08-31 10:38:38 -04:00
subvolumegroup.go cephfs admin: add functions to create, list, & delete subvolumegroups 2020-08-31 10:38:38 -04:00
subvolumegroup_test.go cephfs admin: add functions to create, list, & delete subvolumegroups 2020-08-31 10:38:38 -04:00
volume.go cephfs admin: parse pools info from volume status func 2020-08-31 10:38:38 -04:00
volume_test.go cephfs admin: add core functionality and volume functions 2020-08-31 10:38:38 -04:00