userver: userver/components/run.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
run.hpp File Reference

Functions to start a service or tool with the specified config and components::ComponentList. More...

#include <string>
#include <userver/logging/format.hpp>
#include <userver/utils/strong_typedef.hpp>
#include "component_list.hpp"
+ Include dependency graph for run.hpp:

Go to the source code of this file.

Classes

struct  components::InMemoryConfig
 

Namespaces

namespace  components
 Contains functions and types to start a userver based service/tool.
 

Functions

void components::Run (const std::string &config_path, const std::optional< std::string > &config_vars_path, const std::optional< std::string > &config_vars_override_path, const ComponentList &component_list)
 
void components::Run (const InMemoryConfig &config, const ComponentList &component_list)
 
void components::RunOnce (const std::string &config_path, const std::optional< std::string > &config_vars_path, const std::optional< std::string > &config_vars_override_path, const ComponentList &component_list)
 
void components::RunOnce (const InMemoryConfig &config, const ComponentList &component_list)
 
void components::RunForPrintConfigSchema (const ComponentList &component_list)
 

Detailed Description

Functions to start a service or tool with the specified config and components::ComponentList.

Definition in file run.hpp.