Component that setup runtime configs based on fallbacks from file. More...
#include <userver/dynamic_config/fallbacks/component.hpp>
Public Member Functions | |
DynamicConfigFallbacks (const ComponentConfig &, const ComponentContext &) | |
![]() | |
LoggableComponentBase (const ComponentConfig &, const ComponentContext &) | |
LoggableComponentBase (LoggableComponentBase &&)=delete | |
LoggableComponentBase (const LoggableComponentBase &)=delete | |
~LoggableComponentBase () override=default | |
ComponentHealth | GetComponentHealth () const override |
void | OnLoadingCancelled () override |
void | OnAllComponentsLoaded () override |
void | OnAllComponentsAreStopping () override |
Static Public Member Functions | |
static yaml_config::Schema | GetStaticConfigSchema () |
![]() | |
static yaml_config::Schema | GetStaticConfigSchema () |
Static Public Attributes | |
static constexpr std::string_view | kName = "dynamic-config-fallbacks" |
Component that setup runtime configs based on fallbacks from file.
Name | Description | Default value |
---|---|---|
fallback-path | a path to the fallback config to load the required config names from it | - |
If you use this component, you have to disable loading of other updaters (like DynamicConfigClientUpdater) as there must be only a single component that sets config values.
Definition at line 36 of file component.hpp.
|
staticconstexpr |
Definition at line 38 of file component.hpp.