seaweedfs/weed/s3api
zerospiel b54a65ba5a weed/s3api: added new bucket handlers for more compatibility with AWS S3
Protocol

Otherwise any requests to the underlying handlers results in calls to
ListObjects (v1) that may intensively load gateway and volume servers.

Added the following handlers with default responses:
- GetBucketLocation
- GetBucketRequestPayment

Added the following handlers with NotFound and NotImplemented responses:
- PutBucketAcl
- GetBucketPolicy
- PutBucketPolicy
- DeleteBucketPolicy
- GetBucketCors
- PutBucketCors
- DeleteBucketCors
2022-02-03 17:17:05 +03:00
..
http s3: pass through s3 presigned headers 2021-12-15 13:18:53 -08:00
policy refactoring 2020-09-20 16:00:01 -07:00
s3_constants go fmt 2020-12-22 02:34:08 -08:00
s3err weed/s3api: added new bucket handlers for more compatibility with AWS S3 2022-02-03 17:17:05 +03:00
AmazonS3.xsd add list all my buckets 2018-07-18 02:37:09 -07:00
auth_credentials.go https://github.com/chrislusf/seaweedfs/issues/2583 2022-01-12 16:04:59 +05:00
auth_credentials_subscribe.go add client id for all metadata listening clients 2021-12-30 00:23:57 -08:00
auth_credentials_test.go https://github.com/chrislusf/seaweedfs/issues/2583 2022-01-12 16:04:59 +05:00
auth_signature_v2.go s3: add support for PostPolicy 2020-09-19 20:14:19 -07:00
auth_signature_v4.go refactor: move from io/ioutil to io and os package 2021-10-14 12:27:58 +08:00
auto_signature_v4_test.go refactor: move from io/ioutil to io and os package 2021-10-14 12:27:58 +08:00
chunked_reader_v4.go wildcard prefix to restrict access to directories in s3 bucket 2022-01-03 15:39:36 -08:00
custom_types.go weed s3: generate time format acceptable by aws cli s3 2019-04-01 16:13:29 -07:00
filer_multipart.go s3: copy object API needs to escape special characters 2021-12-04 23:24:53 -08:00
filer_multipart_test.go refactor 2021-06-10 21:50:21 -07:00
filer_util.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
filer_util_tags.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
README.txt add list all my buckets 2018-07-18 02:37:09 -07:00
s3api_auth.go go fmt 2020-02-26 16:52:57 -08:00
s3api_bucket_handlers.go weed/s3api: added new bucket handlers for more compatibility with AWS S3 2022-02-03 17:17:05 +03:00
s3api_bucket_handlers_test.go refactor 2021-06-10 21:50:21 -07:00
s3api_bucket_skip_handlers.go weed/s3api: added new bucket handlers for more compatibility with AWS S3 2022-02-03 17:17:05 +03:00
s3api_handlers.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
s3api_object_copy_handlers.go S3: fail fast when "X-Amz-Copy-Source" is a folder 2022-01-18 12:04:40 -08:00
s3api_object_handlers.go Merge pull request #2543 from skurfuerst/seaweedfs-158 2022-01-01 22:34:13 -08:00
s3api_object_handlers_postpolicy.go audit log config 2021-12-07 18:20:52 +05:00
s3api_object_multipart_handlers.go audit log 2021-12-07 12:15:48 +05:00
s3api_object_skip_handlers.go AclHandlers 2021-10-11 15:03:56 +05:00
s3api_object_tagging_handlers.go audit log config 2021-12-07 18:20:52 +05:00
s3api_objects_list_handlers.go use streaming mode for long poll grpc calls 2021-12-26 00:15:03 -08:00
s3api_objects_list_handlers_test.go refactor 2021-06-10 21:50:21 -07:00
s3api_policy.go GetBucketLifecycleConfigurationHandler 2021-10-14 01:35:33 +05:00
s3api_server.go weed/s3api: added new bucket handlers for more compatibility with AWS S3 2022-02-03 17:17:05 +03:00
s3api_status_handlers.go disable audit log for s3 statusHandler 2021-12-13 16:08:19 +05:00
s3api_test.go refactor 2021-06-10 21:50:21 -07:00
s3api_xsd_generated.go weed/s3api: added new bucket handlers for more compatibility with AWS S3 2022-02-03 17:17:05 +03:00
stats.go s3: avoid possible attacks by version 2021-11-08 17:47:56 -08:00
tags.go fix Tagging add xmlns 2021-10-20 19:40:22 +05:00
tags_test.go fix Tagging test 2021-10-20 19:12:00 +05:00

see https://blog.aqwari.net/xml-schema-go/

1. go get aqwari.net/xml/cmd/xsdgen
2. xsdgen -o s3api_xsd_generated.go -pkg s3api AmazonS3.xsd