userver
C++ Async Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
dump_configurator.hpp
Go to the documentation of this file.
1
#pragma once
2
5
6
#include <string>
7
8
#include <
userver/components/component_base.hpp
>
9
#include <
userver/components/component_fwd.hpp
>
10
11
USERVER_NAMESPACE_BEGIN
12
13
namespace
components
{
14
30
class
DumpConfigurator final :
public
ComponentBase {
31
public
:
34
static
constexpr
std::string_view
kName
=
"dump-configurator"
;
35
36
DumpConfigurator(
const
ComponentConfig
& config,
const
ComponentContext
& context);
37
38
const
std::string& GetDumpRoot()
const
;
39
40
static
yaml_config::Schema
GetStaticConfigSchema
();
41
42
private
:
43
const
std::string dump_root_;
44
};
45
46
template
<>
47
inline
constexpr
bool
kHasValidate<DumpConfigurator>
=
true
;
48
49
}
// namespace components
50
51
USERVER_NAMESPACE_END
userver
components
dump_configurator.hpp
Generated on
for userver by
Doxygen
1.17.0