Protective Stop
Loading...
Searching...
No Matches
protective_stop_machine::AnnounceConfig Struct Reference

Deployment values for the check-in. More...

#include <announce.hpp>

Public Attributes

std::string url
 http://host[:port]/path. Empty disables the announcer.
std::string key_file
 Path whose first line is the bearer token, chmod 600.
std::string name
 Display name on the console. Empty uses this host's hostname.
int interval_s {60}
 Seconds between check-ins.
double http_timeout_s {10.0}
 HTTP request timeout, in seconds.

Detailed Description

Deployment values for the check-in.

Disabled when url is empty. PSTOP_ANNOUNCE_URL and PSTOP_ANNOUNCE_KEY_FILE override url and key_file.


The documentation for this struct was generated from the following file: