]> git.proxmox.com Git - ceph.git/blame - ceph/src/rgw/rgw_sync_module_es.h
update sources to v12.1.0
[ceph.git] / ceph / src / rgw / rgw_sync_module_es.h
CommitLineData
7c673cae
FG
1#ifndef CEPH_RGW_SYNC_MODULE_ES_H
2#define CEPH_RGW_SYNC_MODULE_ES_H
3
4#include "rgw_sync_module.h"
5
6class RGWElasticSyncModule : public RGWSyncModule {
7public:
8 RGWElasticSyncModule() {}
9 bool supports_data_export() override {
10 return false;
11 }
31f18b77
FG
12 int create_instance(CephContext *cct, map<string, string, ltstr_nocase>& config, RGWSyncModuleInstanceRef *instance) override;
13};
14
15class RGWElasticDataSyncModule;
16class RGWRESTConn;
17
18class RGWElasticSyncModuleInstance : public RGWSyncModuleInstance {
19 std::unique_ptr<RGWElasticDataSyncModule> data_handler;
20public:
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();
7c673cae
FG
26};
27
28#endif