Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bucketsUsageInfo (0.13 sec)

  1. cmd/data-usage-utils.go

    	// Buckets usage info provides following information across all buckets
    	// - total size of the bucket
    	// - total objects in a bucket
    	// - object size histogram per bucket
    	BucketsUsage map[string]BucketUsageInfo `json:"bucketsUsageInfo"`
    	// Deprecated kept here for backward compatibility reasons.
    	BucketSizes map[string]uint64 `json:"bucketsSizes"`
    
    	// TierStats contains per-tier stats of all configured remote tiers
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. cmd/data-usage-cache.go

    			continue
    		}
    		dst.merge(flat.AllTierStats)
    	}
    	if len(dst.Tiers) == 0 {
    		return nil
    	}
    	return dst
    }
    
    // bucketsUsageInfo returns the buckets usage info as a map, with
    // key as bucket name
    func (d *dataUsageCache) bucketsUsageInfo(buckets []BucketInfo) map[string]BucketUsageInfo {
    	dst := make(map[string]BucketUsageInfo, len(buckets))
    	for _, bucket := range buckets {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top