Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetBucketPolicyHandler (0.41 sec)

  1. cmd/bucket-policy-handlers_test.go

    		if err != nil {
    			t.Fatalf("Test %d: Failed to create HTTP request for GetBucketPolicyHandler: <ERROR> %v", i+1, err)
    		}
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    		// Call the ServeHTTP to execute the handler, GetBucketPolicyHandler handles the request.
    		apiRouter.ServeHTTP(recV4, reqV4)
    		// Assert the response code with the expected status.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  2. cmd/api-router.go

    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.GetBucketLocationHandler)).
    			Queries("location", "")
    		// GetBucketPolicy
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.GetBucketPolicyHandler)).
    			Queries("policy", "")
    		// GetBucketLifecycle
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.GetBucketLifecycleHandler)).
    			Queries("lifecycle", "")
    		// GetBucketEncryption
    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/test-utils_test.go

    		case "GetBucketPolicy":
    			// Register Get Bucket policy HTTP Handler.
    			bucket.Methods(http.MethodGet).HandlerFunc(api.GetBucketPolicyHandler).Queries("policy", "")
    		case "GetBucketLifecycle":
    			bucket.Methods(http.MethodGet).HandlerFunc(api.GetBucketLifecycleHandler).Queries("lifecycle", "")
    		case "PutBucketLifecycle":
    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