#include <userver/dynamic_config/storage_mock.hpp>
A type-erased config key-value pair.
Definition at line 26 of file storage_mock.hpp.
Public Member Functions | |
template<typename VariableType , typename Value = VariableType> | |
KeyValue (const Key< VariableType > &key, Value &&value) | |
impl::ConfigId | GetId () const |
For internal use only. | |
std::any | GetValue () const |
For internal use only. | |
|
inline |
Uses the provided value directly. It can also be constructed in-place:
When passed a formats::json::Value, parses the value from it:
Definition at line 38 of file storage_mock.hpp.
|
inline |
For internal use only.
Definition at line 42 of file storage_mock.hpp.
|
inline |
For internal use only.
Definition at line 45 of file storage_mock.hpp.