Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for DeleteBucket (0.08 sec)

  1. cmd/peer-s3-client.go

    	ctx, cancel := context.WithTimeout(ctx, globalDriveConfig.GetMaxTimeout())
    	defer cancel()
    
    	_, err := makeBucketRPC.Call(ctx, conn, mss)
    	return toStorageErr(err)
    }
    
    // DeleteBucket deletes bucket across all peers
    func (sys *S3PeerSys) DeleteBucket(ctx context.Context, bucket string, opts DeleteBucketOptions) error {
    	g := errgroup.WithNErrs(len(sys.peerClients))
    	for idx, client := range sys.peerClients {
    		client := client
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. cmd/bucket-metadata-sys.go

    func (sys *BucketMetadataSys) Remove(buckets ...string) {
    	sys.Lock()
    	for _, bucket := range buckets {
    		sys.group.Forget(bucket)
    		delete(sys.metadataMap, bucket)
    		globalBucketMonitor.DeleteBucket(bucket)
    	}
    	sys.Unlock()
    }
    
    // RemoveStaleBuckets removes all stale buckets in memory that are not on disk.
    func (sys *BucketMetadataSys) RemoveStaleBuckets(diskBuckets set.StringSet) {
    	sys.Lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. cmd/object-api-interface.go

    	CreatedAt         time.Time // only for site replication
    	NoLock            bool      // does not lock the make bucket call if set to 'true'
    }
    
    // DeleteBucketOptions provides options for DeleteBucket calls.
    type DeleteBucketOptions struct {
    	NoLock     bool             // does not lock the delete bucket call if set to 'true'
    	NoRecreate bool             // do not recreate bucket on delete failures
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. helm/minio/values.yaml

    #         - "s3:PutObject"
    #         - "s3:ListMultipartUploadParts"
    #     - resources:
    #         - 'arn:aws:s3:::example*'
    #       actions:
    #         - "s3:CreateBucket"
    #         - "s3:DeleteBucket"
    #         - "s3:GetBucketLocation"
    #         - "s3:ListBucket"
    #         - "s3:ListBucketMultipartUploads"
    ## readonlyexamplepolicy policy grants access to buckets with name starting with example.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 18.8K bytes
    - Viewed (1)
  5. cmd/site-replication.go

    	return info, nil
    }
    
    const (
    	makeBucketWithVersion   = "MakeBucketWithVersioning"
    	configureReplication    = "ConfigureReplication"
    	deleteBucket            = "DeleteBucket"
    	replicateIAMItem        = "SRPeerReplicateIAMItem"
    	replicateBucketMetadata = "SRPeerReplicateBucketMeta"
    	siteReplicationEdit     = "SiteReplicationEdit"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    					writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    					return
    				}
    
    				if err = globalDNSConfig.Put(bucket); err != nil {
    					objectAPI.DeleteBucket(context.Background(), bucket, DeleteBucketOptions{
    						Force:      true,
    						SRDeleteOp: getSRBucketDeleteOp(globalSiteReplicationSys.isEnabled()),
    					})
    					writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  7. cmd/api-router.go

    			Queries("lifecycle", "")
    		// DeleteBucketEncryption
    		router.Methods(http.MethodDelete).
    			HandlerFunc(s3APIMiddleware(api.DeleteBucketEncryptionHandler)).
    			Queries("encryption", "")
    		// DeleteBucket
    		router.Methods(http.MethodDelete).
    			HandlerFunc(s3APIMiddleware(api.DeleteBucketHandler))
    
    		// MinIO extension API for replication.
    		//
    		router.Methods(http.MethodGet).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    	z.mpCache.Delete(uploadID)
    	return nil
    }
    
    // DeleteBucket - deletes a bucket on all serverPools simultaneously,
    // even if one of the serverPools fail to delete buckets, we proceed to
    // undo a successful operation.
    func (z *erasureServerPools) DeleteBucket(ctx context.Context, bucket string, opts DeleteBucketOptions) error {
    	if isMinioMetaBucketName(bucket) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  9. cmd/object-api-multipart_test.go

    	err = obj.MakeBucket(context.Background(), "unused-bucket", MakeBucketOptions{})
    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	obj.DeleteBucket(context.Background(), "abc", DeleteBucketOptions{})
    
    	// Collection of non-exhaustive PutObjectPart test cases, valid errors
    	// and success responses.
    	testCases := []struct {
    		bucketName      string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    			return false, err
    		}
    	}
    
    	return bucketExists, nil
    }
    
    func deleteObjectPerfBucket(objectAPI ObjectLayer) {
    	objectAPI.DeleteBucket(context.Background(), globalObjectPerfBucket, DeleteBucketOptions{
    		Force:      true,
    		SRDeleteOp: getSRBucketDeleteOp(globalSiteReplicationSys.isEnabled()),
    	})
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top