userver: userver/components/run.hpp File Reference
Loading...
Searching...
No Matches
run.hpp File Reference

Detailed Description

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

Definition in file run.hpp.

Go to the source code of this file.

#include <string>
#include <userver/components/component_list.hpp>
#include <userver/utils/strong_typedef.hpp>

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::RequestStop ()