Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ListBucketsHandler (0.11 sec)

  1. 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)
  2. 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)
  3. 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