Implement support for calculating disk usage per tenant (#5969)

Fixes #5961
This commit is contained in:
Harshavardhana
2018-05-23 03:11:29 -07:00
committed by Nitish Tiwari
parent 483fe4bed5
commit e6ec645035
23 changed files with 328 additions and 81 deletions

View File

@@ -18,8 +18,6 @@ package cmd
import (
"io"
"github.com/minio/minio/pkg/disk"
)
// StorageAPI interface.
@@ -30,7 +28,7 @@ type StorageAPI interface {
// Storage operations.
IsOnline() bool // Returns true if disk is online.
Close() error
DiskInfo() (info disk.Info, err error)
DiskInfo() (info DiskInfo, err error)
// Volume operations.
MakeVol(volume string) (err error)