Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DeleteBucketPolicyHandler (0.16 sec)

  1. cmd/bucket-policy-handlers_test.go

    			t.Fatalf("Case %d: Expected the response status to be `%d`, but instead found `%d`", i+1, testPolicy.expectedRespStatus, recV4.Code)
    		}
    	}
    
    	// testcases with input and expected output for DeleteBucketPolicyHandler.
    	testCases := []struct {
    		bucketName string
    		accessKey  string
    		secretKey  string
    		// expected response.
    		expectedRespStatus int
    	}{
    		// Test case - 1.
    		{
    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

    			HandlerFunc(s3APIMiddleware(api.DeleteMultipleObjectsHandler)).
    			Queries("delete", "")
    		// DeleteBucketPolicy
    		router.Methods(http.MethodDelete).
    			HandlerFunc(s3APIMiddleware(api.DeleteBucketPolicyHandler)).
    			Queries("policy", "")
    		// DeleteBucketReplication
    		router.Methods(http.MethodDelete).
    			HandlerFunc(s3APIMiddleware(api.DeleteBucketReplicationConfigHandler)).
    			Queries("replication", "")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top