Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for deleteBucketLocal (0.31 sec)

  1. cmd/peer-s3-server.go

    	}
    
    	var bucketInfo BucketInfo
    	for i, err := range errs {
    		if err == nil {
    			bucketInfo = bucketsInfo[i]
    			break
    		}
    	}
    
    	return bucketInfo, nil
    }
    
    func deleteBucketLocal(ctx context.Context, bucket string, opts DeleteBucketOptions) error {
    	globalLocalDrivesMu.RLock()
    	localDrives := cloneDrives(globalLocalDrivesMap)
    	globalLocalDrivesMu.RUnlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. cmd/peer-s3-client.go

    	return makeBucketLocal(ctx, bucket, opts)
    }
    
    func (l localPeerS3Client) DeleteBucket(ctx context.Context, bucket string, opts DeleteBucketOptions) error {
    	return deleteBucketLocal(ctx, bucket, opts)
    }
    
    // client to talk to peer Nodes.
    type remotePeerS3Client struct {
    	node  Node
    	pools []int
    
    	// Function that returns the grid connection for this peer when initialized.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    	bucket := mss.Get(peerS3Bucket)
    	if isMinioMetaBucket(bucket) {
    		return np, grid.NewRemoteErr(errInvalidArgument)
    	}
    
    	forceDelete := mss.Get(peerS3BucketForceDelete) == "true"
    	err := deleteBucketLocal(context.Background(), bucket, DeleteBucketOptions{
    		Force: forceDelete,
    	})
    	if err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return np, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top