- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for PutBucketLifecycle (0.06 seconds)
-
internal/bucket/lifecycle/rule.go
// A valid rule could be a pre-existing one created using the now deprecated PutBucketLifecycle. // Or, a valid rule could also be either a pre-existing or a new rule that is created using PutBucketLifecycleConfiguration. // Prefix validation below may check that either Rule.Prefix or Rule.Filter.Prefix exist but not both. // Here, we assume the pre-existing rule created using PutBucketLifecycle API is already valid and won't fail the validation if Rule.Prefix is empty.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Nov 25 20:12:21 GMT 2024 - 6.4K bytes - Click Count (0) -
cmd/bucket-lifecycle-handlers.go
ctx := newContext(r, w, "PutBucketLifecycle") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r)) objAPI := api.ObjectAPI() if objAPI == nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL) return } vars := mux.Vars(r) bucket := vars["bucket"] // PutBucketLifecycle always needs a Content-Md5 if !validateLengthAndChecksum(r) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jan 20 14:49:07 GMT 2025 - 7K bytes - Click Count (0)