Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for listBuckets (0.1 sec)

  1. cmd/api-response.go

    func generateListBucketsResponse(buckets []BucketInfo) ListBucketsResponse {
    	listbuckets := make([]Bucket, 0, len(buckets))
    	data := ListBucketsResponse{}
    	owner := Owner{
    		ID:          globalMinioDefaultOwnerID,
    		DisplayName: "minio",
    	}
    
    	for _, bucket := range buckets {
    		listbuckets = append(listbuckets, Bucket{
    			Name:         bucket.Name,
    			CreationDate: amztime.ISO8601Format(bucket.Created.UTC()),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. cmd/background-newdisks-heal-ops.go

    		tracker = initHealingTracker(disk, mustGetUUID())
    	}
    
    	healingLogEvent(ctx, "Healing drive '%s' - 'mc admin heal alias/ --verbose' to check the current status.", endpoint)
    
    	buckets, _ := z.ListBuckets(ctx, BucketOptions{})
    	// Buckets data are dispersed in multiple pools/sets, make
    	// sure to heal all bucket metadata configuration.
    	buckets = append(buckets, BucketInfo{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. cmd/admin-heal-ops.go

    		return errHealStopSignalled
    	}
    
    	// 1. If a bucket was specified, heal only the bucket.
    	if h.bucket != "" {
    		return h.healBucket(objAPI, h.bucket, false)
    	}
    
    	buckets, err := objAPI.ListBuckets(h.ctx, BucketOptions{})
    	if err != nil {
    		return errFnHealFromAPIErr(h.ctx, err)
    	}
    
    	// Heal latest buckets first.
    	sort.Slice(buckets, func(i, j int) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top