- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DeleteBucketLifecycle (0.21 sec)
-
cmd/bucket-lifecycle-handlers_test.go
func TestBucketLifecycleWrongCredentials(t *testing.T) { ExecObjectLayerAPITest(t, testBucketLifecycleHandlersWrongCredentials, []string{"GetBucketLifecycle", "PutBucketLifecycle", "DeleteBucketLifecycle"}) } // Test for authentication func testBucketLifecycleHandlersWrongCredentials(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler, credentials auth.Credentials, t *testing.T, ) {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Jun 13 20:52:33 GMT 2023 - 11.2K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers.go
// DeleteBucketLifecycleHandler - This HTTP handler removes bucket lifecycle configuration. func (api objectAPIHandlers) DeleteBucketLifecycleHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "DeleteBucketLifecycle") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r)) objAPI := api.ObjectAPI() if objAPI == nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL) return
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Nov 21 17:48:06 GMT 2023 - 7K bytes - Viewed (0) -
cmd/api-router.go
Queries("policy", "") // DeleteBucketReplication router.Methods(http.MethodDelete). HandlerFunc(s3APIMiddleware(api.DeleteBucketReplicationConfigHandler)). Queries("replication", "") // DeleteBucketLifecycle router.Methods(http.MethodDelete). HandlerFunc(s3APIMiddleware(api.DeleteBucketLifecycleHandler)). Queries("lifecycle", "") // DeleteBucketEncryption router.Methods(http.MethodDelete).
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Mar 04 18:05:56 GMT 2024 - 22.8K bytes - Viewed (0) -
cmd/test-utils_test.go
case "PutBucketLifecycle": bucket.Methods(http.MethodPut).HandlerFunc(api.PutBucketLifecycleHandler).Queries("lifecycle", "") case "DeleteBucketLifecycle": bucket.Methods(http.MethodDelete).HandlerFunc(api.DeleteBucketLifecycleHandler).Queries("lifecycle", "") case "GetBucketLocation": // Register GetBucketLocation handler.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:06:57 GMT 2024 - 75.7K bytes - Viewed (0)