Expose total and available disk space (#7453)

This commit is contained in:
Harshavardhana
2019-04-04 21:21:50 -07:00
committed by Nitish Tiwari
parent 979309148e
commit 0188009c7e
7 changed files with 94 additions and 56 deletions

View File

@@ -51,6 +51,10 @@ type DriveInfo HealDriveInfo
type StorageInfo struct {
Used uint64 // Total used spaced per tenant.
Available uint64 // Total available space.
Total uint64 // Total disk space.
// Backend type.
Backend struct {
// Represents various backend types, currently on FS and Erasure.