Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetBucketLocationHandler (0.12 sec)

  1. cmd/bucket-lifecycle-handlers_test.go

    			int64(len(testCase.body)), bytes.NewReader(testCase.body), testCase.accessKey, testCase.secretKey, nil)
    		if err != nil {
    			t.Fatalf("Test %d: %s: Failed to create HTTP request for GetBucketLocationHandler: <ERROR> %v", i+1, instanceType, err)
    		}
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    		// Call the ServeHTTP to execute the handler.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. cmd/api-router.go

    			Queries("restore", "")
    
    		// Bucket operations
    
    		// GetBucketLocation
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.GetBucketLocationHandler)).
    			Queries("location", "")
    		// GetBucketPolicy
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.GetBucketPolicyHandler)).
    			Queries("policy", "")
    		// GetBucketLifecycle
    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_test.go

    		if err != nil {
    			t.Fatalf("Test %d: %s: Failed to create HTTP request for GetBucketLocationHandler: <ERROR> %v", i+1, instanceType, err)
    		}
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    		// Call the ServeHTTP to execute the handler.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    					bucket, err))
    			}
    		}(bucket)
    	}
    	wg.Wait()
    }
    
    // GetBucketLocationHandler - GET Bucket location.
    // -------------------------
    // This operation returns bucket location.
    func (api objectAPIHandlers) GetBucketLocationHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetBucketLocation")
    
    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

    		case "GetBucketLocation":
    			// Register GetBucketLocation handler.
    			bucket.Methods(http.MethodGet).HandlerFunc(api.GetBucketLocationHandler).Queries("location", "")
    		case "HeadBucket":
    			// Register HeadBucket handler.
    			bucket.Methods(http.MethodHead).HandlerFunc(api.HeadBucketHandler)
    		case "DeleteMultipleObjects":
    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