Aktualizr
C++ SOTA Client
Public Member Functions | Public Attributes | List of all members
Config Class Reference

Configuration object for an aktualizr instance running on a Primary ECU. More...

#include <config.h>

Inheritance diagram for Config:
[legend]
Collaboration diagram for Config:
[legend]

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/"}
 

Detailed Description

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.

Definition at line 208 of file config.h.


The documentation for this class was generated from the following files: