ceph-csi/internal
Niels de Vos 66aa595e77 cephfs: do not export internal CloneStatus type
getCloneInfo() does not need to return a full CloneStatus struct that
only has one member. Instead, it can just return the value of the single
member, so the JSON type/struct does not need to be exposed.

This makes the API for getCloneInfo() a little simpler, so it can be
replaced by a go-ceph implementation later on.

As the function does not return any of the unused attributes anymore, it
is renamed to getCloneStatu() as well.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-11-29 07:13:35 +00:00
..
cephfs cephfs: do not export internal CloneStatus type 2020-11-29 07:13:35 +00:00
controller rbd: add new controller to regenerate omap data 2020-11-28 18:50:00 +00:00
csi-common util: change member cap of CSIDriver struct 2020-10-21 12:30:18 +00:00
journal rbd: add new controller to regenerate omap data 2020-11-28 18:50:00 +00:00
liveness util: replace klog with util logger in liveness.go 2020-08-19 14:38:12 +00:00
rbd rbd: improve logging in getCloneDepth 2020-11-28 18:50:00 +00:00
util util: use %w when forwarding an error 2020-11-29 04:03:59 +00:00