Aktualizr
C++ SOTA Client
|
Configuration object for an aktualizr instance running on a Primary ECU. More...
#include <config.h>
Public Member Functions | |
Config (const boost::program_options::variables_map &cmd) | |
Config (const boost::filesystem::path &filename) | |
Config (const std::vector< boost::filesystem::path > &config_dirs) | |
KeyManagerConfig | keymanagerConfig () const |
void | updateFromTomlString (const std::string &contents) |
void | postUpdateValues () |
void | writeToStream (std::ostream &sink) const |
Public Member Functions inherited from BaseConfig | |
void | updateFromToml (const boost::filesystem::path &filename) |
Public Attributes | |
LoggerConfig | logger |
P11Config | p11 |
TlsConfig | tls |
ProvisionConfig | provision |
UptaneConfig | uptane |
PackageConfig | pacman |
StorageConfig | storage |
ImportConfig | import |
TelemetryConfig | telemetry |
BootloaderConfig | bootloader |
Additional Inherited Members | |
Protected Member Functions inherited from BaseConfig | |
void | updateFromDirs (const std::vector< boost::filesystem::path > &configs) |
Static Protected Member Functions inherited from BaseConfig | |
static void | checkDirs (const std::vector< boost::filesystem::path > &configs) |
Protected Attributes inherited from BaseConfig | |
std::vector< boost::filesystem::path > | config_dirs_ = {"/usr/lib/sota/conf.d", "/etc/sota/conf.d/"} |
Configuration object for an aktualizr instance running on a Primary ECU.
This class is a parent to a series of smaller configuration objects for specific subsystems. Note that most other aktualizr-related tools have their own parent configuration objects with a reduced set of members.