go-ceph/cephfs/admin
John Mulligan 3e81d128e6 cephfs admin: add a SubVolumeInfo function
Add a SubVolumeInfo function that works like the `ceph fs subvolume
info` command. This function returns a SubVolumeInfo type from parsing
the response JSON.

In order to re-use the existing QuotaSize type, which is an interface
and thus can't be unmarshaled directly, we use a non-exported wrapper
type for the unmarshaling and then we fix up the BytesQuota field so
that users of the library don't need to directly deal with the quota
size placeholder type, which can unmarshal the value.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2020-09-28 13:16:34 -04:00
..
bytecount.go cephfs admin: add quotaSizePlaceholder type for JSON unmarshaling 2020-09-28 13:16:34 -04:00
doc.go cephfs admin: disable package on 'luminous' and 'mimic' 2020-08-31 10:38:38 -04:00
fsadmin_test.go cephfs admin: add support for running MON commands 2020-09-24 15:50:51 -04:00
fsadmin.go cephfs admin: add a SubVolumePath function 2020-09-25 13:39:31 -04:00
subvolume_test.go cephfs admin: add a SubVolumeInfo function 2020-09-28 13:16:34 -04:00
subvolume.go cephfs admin: add a SubVolumeInfo function 2020-09-28 13:16:34 -04:00
subvolumegroup_test.go cephfs admin: add a SubVolumeGroupPath function 2020-09-25 13:39:31 -04:00
subvolumegroup.go cephfs admin: add a SubVolumeGroupPath function 2020-09-25 13:39:31 -04:00
timestamp_test.go cephfs admin: add TimeStamp type for JSON unmarshaling 2020-09-28 13:16:34 -04:00
timestamp.go cephfs admin: add TimeStamp type for JSON unmarshaling 2020-09-28 13:16:34 -04:00
volume_octopus_test.go cephfs admin: move volume status to octopus specific files 2020-08-31 10:38:38 -04:00
volume_octopus.go cephfs admin: add "Similar To" doc comments 2020-08-31 10:38:38 -04:00
volume_test.go cephfs admin: add EnumerateVolumes function 2020-09-24 15:50:51 -04:00
volume.go cephfs admin: add EnumerateVolumes function 2020-09-24 15:50:51 -04:00