diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2025-07-15 23:21:58 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-15 23:21:58 -0700 |
| commit | dde1cf63c2ab826844f06555c20df008e37e8312 (patch) | |
| tree | 7d3d35fd5c1306e6e3df7a4dcbe27932ba02bd11 /weed/s3api/s3_constants/extend_key.go | |
| parent | 64c5dde2f321dbdc24b3cdc00a17c7b6b2c8f0bd (diff) | |
| download | seaweedfs-dde1cf63c2ab826844f06555c20df008e37e8312.tar.xz seaweedfs-dde1cf63c2ab826844f06555c20df008e37e8312.zip | |
S3 Object Lock: ensure x-amz-bucket-object-lock-enabled header (#6990)
* ensure x-amz-bucket-object-lock-enabled header
* fix tests
* combine 2 metadata changes into one
* address comments
* Update s3api_bucket_handlers.go
* Update weed/s3api/s3api_bucket_handlers.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update test/s3/retention/object_lock_reproduce_test.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update test/s3/retention/object_lock_validation_test.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update test/s3/retention/s3_bucket_object_lock_test.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/s3api/s3api_bucket_handlers.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/s3api/s3api_bucket_handlers.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update test/s3/retention/s3_bucket_object_lock_test.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/s3api/s3api_bucket_handlers.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* package name
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Diffstat (limited to 'weed/s3api/s3_constants/extend_key.go')
| -rw-r--r-- | weed/s3api/s3_constants/extend_key.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/s3api/s3_constants/extend_key.go b/weed/s3api/s3_constants/extend_key.go index e7eee0cc1..edfa4fe1d 100644 --- a/weed/s3api/s3_constants/extend_key.go +++ b/weed/s3api/s3_constants/extend_key.go @@ -35,4 +35,8 @@ const ( // Object lock enabled status ObjectLockEnabled = "Enabled" + + // Bucket versioning status + VersioningEnabled = "Enabled" + VersioningSuspended = "Suspended" ) |
