Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for DeleteBucket (0.23 sec)

  1. cmd/peer-s3-client.go

    		peerS3BucketForceCreate: strconv.FormatBool(opts.ForceCreate),
    	})
    
    	_, 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
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  2. internal/bucket/bandwidth/monitor.go

    	m.mlock.Lock()
    	defer m.mlock.Unlock()
    
    	_, ok := m.bucketsMeasurement[opts]
    	if !ok {
    		m.bucketsMeasurement[opts] = newBucketMeasurement(time.Now())
    	}
    }
    
    // DeleteBucket deletes monitoring the 'bucket'
    func (m *Monitor) DeleteBucket(bucket string) {
    	m.tlock.Lock()
    	for opts := range m.bucketsThrottle {
    		if opts.Name == bucket {
    			delete(m.bucketsThrottle, opts)
    		}
    	}
    	m.tlock.Unlock()
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 6K 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
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  4. cmd/bucket-metadata-sys.go

    }
    
    // Remove bucket metadata from memory.
    func (sys *BucketMetadataSys) Remove(buckets ...string) {
    	sys.Lock()
    	for _, bucket := range buckets {
    		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()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  5. cmd/site-replication-utils.go

    			st.LastUpdate = UTCNow()
    			sm.resyncStatus[o.resyncID] = st
    		}
    	}
    }
    
    // remove deleted bucket from active resync tracking
    func (sm *siteResyncMetrics) deleteBucket(b string) {
    	if !globalSiteReplicationSys.isEnabled() {
    		return
    	}
    	sm.Lock()
    	defer sm.Unlock()
    	for _, rs := range sm.peerResyncMap {
    		st, ok := sm.resyncStatus[rs.resyncID]
    		if !ok {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.9K bytes
    - Viewed (1)
  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)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  7. cmd/site-replication.go

    	return info, nil
    }
    
    const (
    	makeBucketWithVersion   = "MakeBucketWithVersioning"
    	configureReplication    = "ConfigureReplication"
    	deleteBucket            = "DeleteBucket"
    	replicateIAMItem        = "SRPeerReplicateIAMItem"
    	replicateBucketMetadata = "SRPeerReplicateBucketMeta"
    	siteReplicationEdit     = "SiteReplicationEdit"
    )
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 182.7K bytes
    - Viewed (1)
  8. cmd/erasure-server-pool.go

    		bucketInfo.ObjectLocking = meta.ObjectLocking()
    	}
    	return bucketInfo, 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) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 77.8K bytes
    - Viewed (0)
  9. 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).
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  10. 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.
    Others
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 18 15:57:22 GMT 2024
    - 17.3K bytes
    - Viewed (0)
Back to top