]> git.proxmox.com Git - ceph.git/blob - ceph/src/rgw/services/svc_config_key.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / rgw / services / svc_config_key.h
1
2
3 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
4 // vim: ts=8 sw=2 smarttab ft=cpp
5
6 /*
7 * Ceph - scalable distributed file system
8 *
9 * Copyright (C) 2019 Red Hat, Inc.
10 *
11 * This is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Lesser General Public
13 * License version 2.1, as published by the Free Software
14 * Foundation. See file COPYING.
15 *
16 */
17
18
19 #pragma once
20
21 #include "rgw/rgw_service.h"
22
23 class RGWSI_ConfigKey : public RGWServiceInstance
24 {
25 public:
26 RGWSI_ConfigKey(CephContext *cct) : RGWServiceInstance(cct) {}
27 virtual ~RGWSI_ConfigKey() {}
28
29 virtual int get(const string& key, bool secure, bufferlist *result) = 0;
30 };
31