Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DeleteBucketHandler (0.18 sec)

  1. cmd/peer-rest-server.go

    		return info, grid.NewRemoteErr(err)
    	}
    
    	return &VolInfo{
    		Name:    bucketInfo.Name,
    		Created: bucketInfo.Created,
    	}, nil
    }
    
    // DeleteBucketHandler implements peer delete bucket call.
    func (s *peerRESTServer) DeleteBucketHandler(mss *grid.MSS) (np grid.NoPayload, nerr *grid.RemoteErr) {
    	bucket := mss.Get(peerS3Bucket)
    	if isMinioMetaBucket(bucket) {
    		return np, grid.NewRemoteErr(errInvalidArgument)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  2. cmd/api-router.go

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

    		writeErrorResponseHeadersOnly(w, toAPIError(ctx, err))
    		return
    	}
    
    	writeResponse(w, http.StatusOK, nil, mimeXML)
    }
    
    // DeleteBucketHandler - Delete bucket
    func (api objectAPIHandlers) DeleteBucketHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "DeleteBucket")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top