Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ListBucketsHandler (0.09 sec)

  1. cmd/bucket-handlers_test.go

    		}
    
    	}
    
    	// Test for Anonymous/unsigned http request.
    	// ListBucketsHandler doesn't support bucket policies, setting the policies shouldn't make any difference.
    	anonReq, err := newTestRequest(http.MethodGet, getBucketLocationURL("", bucketName), 0, nil)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  2. cmd/api-router.go

    		HandlerFunc(s3APIMiddleware(api.ListBucketsHandler))
    
    	// S3 browser with signature v4 adds '//' for ListBuckets request, so rather
    	// than failing with UnknownAPIRequest we simply handle it for now.
    	apiRouter.Methods(http.MethodGet).Path(SlashSeparator + SlashSeparator).
    		HandlerFunc(s3APIMiddleware(api.ListBucketsHandler))
    
    	// If none of the routes match add default error handler routes
    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/peer-rest-server.go

    		Remove: bucketDeleted,
    	})
    	if err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return np, nil
    }
    
    func (s *peerRESTServer) ListBucketsHandler(opts *BucketOptions) (*grid.Array[*BucketInfo], *grid.RemoteErr) {
    	buckets, err := listBucketsLocal(context.Background(), *opts)
    	if err != nil {
    		return nil, grid.NewRemoteErr(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    	// write success response.
    	writeSuccessResponseXML(w, encodedSuccessResponse)
    }
    
    // ListBucketsHandler - GET Service.
    // -----------
    // This implementation of the GET operation returns a list of all buckets
    // owned by the authenticated sender of the request.
    func (api objectAPIHandlers) ListBucketsHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ListBuckets")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	api := objectAPIHandlers{
    		ObjectAPI: func() ObjectLayer {
    			return globalObjectAPI
    		},
    	}
    
    	// Register ListBuckets	handler.
    	apiRouter.Methods(http.MethodGet).HandlerFunc(api.ListBucketsHandler)
    	// Register all bucket level handlers.
    	registerBucketLevelFunc(bucketRouter, api, apiFunctions...)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top