- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetBucketUsageInfo (0.14 sec)
-
cmd/bucket-quota.go
} ctx, done := context.WithTimeout(ctx, 2*time.Second) defer done() return loadDataUsageFromBackend(ctx, objAPI) }, ) } // GetBucketUsageInfo return bucket usage info for a given bucket func (sys *BucketQuotaSys) GetBucketUsageInfo(ctx context.Context, bucket string) BucketUsageInfo { sys.Init(newObjectLayerFn()) dui, err := bucketStorageCache.GetWithCtx(ctx) timedout := OperationTimedOut{}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 00:34:56 UTC 2024 - 4.4K bytes - Viewed (0) -
cmd/veeam-sos-api.go
case capacityXMLObject: objAPI := newObjectLayerFn() if objAPI == nil { return nil, errServerNotInitialized } q, _ := globalBucketQuotaSys.Get(ctx, bucket) binfo := globalBucketQuotaSys.GetBucketUsageInfo(ctx, bucket) ci := capacityInfo{ Used: int64(binfo.Size), } var quotaSize int64 if q != nil && q.Type == madmin.HardQuota { if q.Size > 0 { quotaSize = int64(q.Size)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 00:34:56 UTC 2024 - 8.8K bytes - Viewed (0)