27 const std::string &pubkey)
29 , collector_(ctx_, endpoint, pubkey)
31 INFO(
"Creating FetchRemoteConfig task. Guid = " <<
get_guid());
const std::string & get_guid() const
This is the header file for a generated source file, GitSHA1.cpp.
RemoteConfigCollector collector_
const RemoteConfigCollector & collector() const
FetchRemoteConfig(const std::string &endpoint, const std::string &pubkey)
bool fetch_config(std::string *error_str) noexcept
Fetch the complete remote configuration.
virtual bool do_run() override
This class provides an API to collect the configuration of a remote Leosac unit.