mirror of
https://github.com/ceph/go-ceph
synced 2024-12-26 16:12:45 +00:00
3e81d128e6
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> |
||
---|---|---|
.. | ||
bytecount.go | ||
doc.go | ||
fsadmin_test.go | ||
fsadmin.go | ||
subvolume_test.go | ||
subvolume.go | ||
subvolumegroup_test.go | ||
subvolumegroup.go | ||
timestamp_test.go | ||
timestamp.go | ||
volume_octopus_test.go | ||
volume_octopus.go | ||
volume_test.go | ||
volume.go |