Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for getBucketInfo (0.1 seconds)

  1. cmd/bucket-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	getBucketInfo := objectAPI.GetBucketInfo
    
    	if _, err := getBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Generate response.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 63.9K bytes
    - Click Count (0)
  2. cmd/object-api-interface.go

    	Force      bool             // Force deletion
    	SRDeleteOp SRBucketDeleteOp // only when site replication is enabled
    }
    
    // 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.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  3. cmd/erasure-server-pool.go

    		Bucket:   bucket,
    		Object:   object,
    		UploadID: uploadID,
    	}
    }
    
    // GetBucketInfo - returns bucket info from one of the erasure coded serverPools.
    func (z *erasureServerPools) GetBucketInfo(ctx context.Context, bucket string, opts BucketOptions) (bucketInfo BucketInfo, err error) {
    	bucketInfo, err = z.s3Peer.GetBucketInfo(ctx, bucket, opts)
    	if err != nil {
    		return bucketInfo, toObjectErr(err, bucket)
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
  4. cmd/object-handlers.go

    func isRemoteCallRequired(ctx context.Context, bucket string, objAPI ObjectLayer) bool {
    	if globalDNSConfig == nil {
    		return false
    	}
    	if globalBucketFederation {
    		_, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{})
    		return err == toObjectErr(errVolumeNotFound, bucket)
    	}
    	return false
    }
    
    // CopyObjectHandler - Copy Object
    // ----------
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
  5. cmd/object-handlers_test.go

    	h.Write(bytesData[0].byteData)
    	bytesData[0].md5sum = hex.EncodeToString(h.Sum(nil))
    
    	buffers := []*bytes.Buffer{
    		new(bytes.Buffer),
    		new(bytes.Buffer),
    	}
    	bucketInfo, err := obj.GetBucketInfo(context.Background(), bucketName, BucketOptions{})
    	if err != nil {
    		t.Fatalf("Test -1: %s: Failed to get bucket info: <ERROR> %s", instanceType, err)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
  6. cmd/site-replication.go

    	if opts.Buckets || opts.Entity == madmin.SRBucketEntity {
    		var (
    			buckets []BucketInfo
    			err     error
    		)
    		if opts.Entity == madmin.SRBucketEntity {
    			bi, err := objAPI.GetBucketInfo(ctx, opts.EntityValue, BucketOptions{Deleted: opts.ShowDeleted})
    			if err != nil {
    				if isErrBucketNotFound(err) {
    					return info, nil
    				}
    				return info, errSRBackendIssue(err)
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
Back to Top