1 #ifndef CEPH_RGW_SYNC_MODULE_ES_H
2 #define CEPH_RGW_SYNC_MODULE_ES_H
4 #include "rgw_sync_module.h"
6 class RGWElasticSyncModule
: public RGWSyncModule
{
8 RGWElasticSyncModule() {}
9 bool supports_data_export() override
{
12 int create_instance(CephContext
*cct
, map
<string
, string
, ltstr_nocase
>& config
, RGWSyncModuleInstanceRef
*instance
) override
;
15 class RGWElasticDataSyncModule
;
18 class RGWElasticSyncModuleInstance
: public RGWSyncModuleInstance
{
19 std::unique_ptr
<RGWElasticDataSyncModule
> data_handler
;
21 RGWElasticSyncModuleInstance(CephContext
*cct
, const std::map
<std::string
, std::string
, ltstr_nocase
>& config
);
22 RGWDataSyncModule
*get_data_handler() override
;
23 RGWRESTMgr
*get_rest_filter(int dialect
, RGWRESTMgr
*orig
) override
;
24 RGWRESTConn
*get_rest_conn();
25 std::string
get_index_path();