summaryrefslogtreecommitdiffstats
path: root/doc/radosgw
diff options
context:
space:
mode:
authorYuval Lifshitz <ylifshit@redhat.com>2022-05-01 12:10:39 +0200
committerGitHub <noreply@github.com>2022-05-01 12:10:39 +0200
commit514eb89a3b9ccc2a43788f233b1e397e1f5df003 (patch)
tree591ca20515a89255537fd444afea93c3982ce483 /doc/radosgw
parentMerge pull request #46030 from ivancich/wip-fix-bucket-index-new (diff)
parentrgw: support bucket name in pre request context (diff)
downloadceph-514eb89a3b9ccc2a43788f233b1e397e1f5df003.tar.xz
ceph-514eb89a3b9ccc2a43788f233b1e397e1f5df003.zip
Merge pull request #45810 from zenomri/wip-rgw-lua-bucketname
rgw: support bucket name in lua pre request execution
Diffstat (limited to 'doc/radosgw')
-rw-r--r--doc/radosgw/lua-scripting.rst24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/radosgw/lua-scripting.rst b/doc/radosgw/lua-scripting.rst
index d970455a520..31306dec98a 100644
--- a/doc/radosgw/lua-scripting.rst
+++ b/doc/radosgw/lua-scripting.rst
@@ -140,27 +140,27 @@ Request Fields
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
| ``Request.SwiftAccountName`` | string | swift account name | no | no | yes |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
-| ``Request.Bucket`` | table | info on the bucket | no | no | yes |
+| ``Request.Bucket`` | table | info on the bucket | no | no | no |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
-| ``Request.Bucket.Tenant`` | string | tenant of the bucket | no | no | no |
+| ``Request.Bucket.Tenant`` | string | tenant of the bucket | no | no | yes |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
| ``Request.Bucket.Name`` | string | bucket name | no | no | no |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
-| ``Request.Bucket.Marker`` | string | bucket marker (initial id) | no | no | no |
+| ``Request.Bucket.Marker`` | string | bucket marker (initial id) | no | no | yes |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
-| ``Request.Bucket.Id`` | string | bucket id | no | no | no |
+| ``Request.Bucket.Id`` | string | bucket id | no | no | yes |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
-| ``Request.Bucket.Count`` | integer | number of objects in the bucket | no | no | no |
+| ``Request.Bucket.Count`` | integer | number of objects in the bucket | no | no | yes |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
-| ``Request.Bucket.Size`` | integer | total size of objects in the bucket | no | no | no |
+| ``Request.Bucket.Size`` | integer | total size of objects in the bucket | no | no | yes |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
-| ``Request.Bucket.ZoneGroupId`` | string | zone group of the bucket | no | no | no |
+| ``Request.Bucket.ZoneGroupId`` | string | zone group of the bucket | no | no | yes |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
-| ``Request.Bucket.CreationTime`` | time | creation time of the bucket | no | no | no |
+| ``Request.Bucket.CreationTime`` | time | creation time of the bucket | no | no | yes |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
-| ``Request.Bucket.MTime`` | time | modification time of the bucket | no | no | no |
+| ``Request.Bucket.MTime`` | time | modification time of the bucket | no | no | yes |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
-| ``Request.Bucket.Quota`` | table | bucket quota | no | no | no |
+| ``Request.Bucket.Quota`` | table | bucket quota | no | no | yes |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
| ``Request.Bucket.Quota.MaxSize`` | integer | bucket quota max size | no | no | no |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
@@ -170,13 +170,13 @@ Request Fields
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
| ``Request.Bucket.Quota.Rounded`` | boolean | bucket quota is rounded to 4K | no | no | no |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
-| ``Request.Bucket.PlacementRule`` | table | bucket placement rule | no | no | no |
+| ``Request.Bucket.PlacementRule`` | table | bucket placement rule | no | no | yes |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
| ``Request.Bucket.PlacementRule.Name`` | string | bucket placement rule name | no | no | no |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
| ``Request.Bucket.PlacementRule.StorageClass`` | string | bucket placement rule storage class | no | no | no |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
-| ``Request.Bucket.User`` | table | bucket owner | no | no | no |
+| ``Request.Bucket.User`` | table | bucket owner | no | no | yes |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+
| ``Request.Bucket.User.Tenant`` | string | bucket owner tenant | no | no | no |
+----------------------------------------------------+----------+--------------------------------------------------------------+----------+-----------+----------+