- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GetBucketPolicyHandler (0.17 sec)
-
cmd/bucket-policy-handlers.go
Bucket: bucket, UpdatedAt: updatedAt, })) // Success. writeSuccessNoContent(w) } // GetBucketPolicyHandler - This HTTP handler returns bucket policy configuration. func (api objectAPIHandlers) GetBucketPolicyHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "GetBucketPolicy") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6.1K bytes - Viewed (0) -
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) -
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) -
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)