go-ceph/cephfs
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
..
admin cephfs admin: add ResizeSubVolume and supporting types 2020-08-31 10:38:38 -04:00
cephfs.go cephfs: add function ParseDefaultConfigEnv to set ceph config from env 2020-07-24 09:54:04 -04:00
cephfs_test.go cephfs: add function ParseDefaultConfigEnv to set ceph config from env 2020-07-24 09:54:04 -04:00
command.go cutil: allow passing free functions to command output type 2020-05-12 17:18:08 -04:00
command_test.go cephfs: split (mds) command functions and tests into new files 2020-04-17 13:40:01 -04:00
conn_nautilus.go cephfs: add GetFsCid to implement ceph_get_fs_cid 2020-02-24 10:18:48 +01:00
conn_nautilus_test.go cephfs: release fs resources in remaining test cases 2020-04-06 16:29:26 -04:00
directory.go cephfs: add ReadDirPlus function and associated types 2020-05-19 16:35:58 -04:00
directory_test.go cephfs: add ReadDirPlus function and associated types 2020-05-19 16:35:58 -04:00
doc.go cephfs: add a doc.go file documenting the package 2020-01-28 16:10:39 +01:00
errors.go cephfs: use FormatErrorCode for formatting cephfs errors 2020-08-10 13:03:24 -04:00
errors_test.go cephfs: use FormatErrorCode for formatting cephfs errors 2020-08-10 13:03:24 -04:00
file.go cephfs: implement Preadv and Pwritev File methods 2020-08-28 10:07:34 -04:00
file_test.go cephfs: clarify the behavior of the EOF case and short read in Preadv 2020-08-28 10:07:34 -04:00
file_xattr.go cephfs: fix a typo in the ListXattr doc comment 2020-08-04 13:35:35 -04:00
file_xattr_test.go cephfs: give xattr test samples a better name 2020-08-04 13:35:35 -04:00
mount_perms_mimic.go cephfs: add functions for Init and SetMountPerms 2020-04-15 14:22:30 +02:00
mount_perms_mimic_test.go cephfs: add functions for Init and SetMountPerms 2020-04-15 14:22:30 +02:00
path.go cephfs: add Rename function 2020-06-15 13:59:27 -04:00
path_test.go cephfs: add Rename function 2020-06-15 13:59:27 -04:00
path_xattr.go cephfs: add path-based xattr functions 2020-08-04 13:35:35 -04:00
path_xattr_test.go cephfs: add path-based xattr functions 2020-08-04 13:35:35 -04:00
permissions.go cephfs: split basic permissions related funcs into new files 2020-04-17 13:40:01 -04:00
permissions_test.go cephfs: split basic permissions related funcs into new files 2020-04-17 13:40:01 -04:00
statfs.go cephfs: add StatFS implementing ceph_statfs 2020-07-20 13:36:53 -04:00
statfs_test.go cephfs: add StatFS implementing ceph_statfs 2020-07-20 13:36:53 -04:00
statx.go timespec: move to internal pkg 2020-06-22 09:22:18 -04:00
statx_test.go cephfs: add path based Statx function implmenting ceph_statx 2020-05-07 13:44:19 -04:00
userperm.go cephfs: add a UserPerm type wrapping libcephfs UserPerm 2020-04-15 14:22:30 +02:00
userperm_test.go cephfs: add a UserPerm type wrapping libcephfs UserPerm 2020-04-15 14:22:30 +02:00