Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ListBuckets (0.04 sec)

  1. cmd/object-api-interface.go

    }
    
    // BucketOptions provides options for ListBuckets and GetBucketInfo call.
    type BucketOptions struct {
    	Deleted    bool // true only when site replication is enabled
    	Cached     bool // true only when we are requesting a cached response instead of hitting the disk for example ListBuckets() call.
    	NoMetadata bool
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. cmd/admin-handlers-pools.go

    		return
    	}
    
    	if pools.IsRebalanceStarted(ctx) {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminRebalanceAlreadyStarted), r.URL)
    		return
    	}
    
    	bucketInfos, err := objectAPI.ListBuckets(ctx, BucketOptions{})
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	buckets := make([]string, 0, len(bucketInfos))
    	for _, bInfo := range bucketInfos {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top