userver: hostinfo::blocking Namespace Reference
Loading...
Searching...
No Matches
hostinfo::blocking Namespace Reference

Detailed Description

Blocking functions for getting information about hosts.

Functions

std::string GetRealHostName ()
 Returns host name.
 
std::vector< std::string > ReadConductorGroups ()
 Reads Conductor groups from conductor-hostinfo file.
 

Function Documentation

◆ GetRealHostName()

std::string hostinfo::blocking::GetRealHostName ( )

Returns host name.

Warning
This is a blocking function.

◆ ReadConductorGroups()

std::vector< std::string > hostinfo::blocking::ReadConductorGroups ( )

Reads Conductor groups from conductor-hostinfo file.

Exceptions
`std::runtime_error`if file cannot be read.
Warning
This is a blocking function.