- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for DeleteBucketLifecycle (0.07 seconds)
-
cmd/bucket-lifecycle-handlers_test.go
func TestBucketLifecycleWrongCredentials(t *testing.T) { ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testBucketLifecycleHandlersWrongCredentials, endpoints: []string{"GetBucketLifecycle", "PutBucketLifecycle", "DeleteBucketLifecycle"}}) } // Test for authentication func testBucketLifecycleHandlersWrongCredentials(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler, credentials auth.Credentials, t *testing.T, ) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jun 10 15:50:49 GMT 2024 - 11.3K bytes - Click Count (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
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jan 20 14:49:07 GMT 2025 - 7K bytes - Click Count (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).
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 23.3K bytes - Click Count (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.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 77K bytes - Click Count (0)