]>
git.proxmox.com Git - ceph.git/blob - ceph/src/rgw/rgw_rest_info.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab ft=cpp
7 #include "rgw_rest_s3.h"
10 class RGWHandler_Info
: public RGWHandler_Auth_S3
{
12 RGWOp
*op_get() override
;
14 using RGWHandler_Auth_S3::RGWHandler_Auth_S3
;
15 ~RGWHandler_Info() override
= default;
17 int read_permissions(RGWOp
*, optional_yield
) override
{
22 class RGWRESTMgr_Info
: public RGWRESTMgr
{
24 RGWRESTMgr_Info() = default;
25 ~RGWRESTMgr_Info() override
= default;
27 RGWHandler_REST
* get_handler(rgw::sal::Driver
* driver
,
29 const rgw::auth::StrategyRegistry
& auth_registry
,
30 const std::string
&) override
{
31 return new RGWHandler_Info(auth_registry
);