Aktualizr
C++ SOTA Client
|
Public Member Functions | |
SotaUptaneClient (Config &config_in, std::shared_ptr< INvStorage > storage_in, std::shared_ptr< HttpInterface > http_in, std::shared_ptr< event::Channel > events_channel_in, const Uptane::EcuSerial &primary_serial=Uptane::EcuSerial::Unknown(), const Uptane::HardwareIdentifier &hwid=Uptane::HardwareIdentifier::Unknown()) | |
SotaUptaneClient (Config &config_in, const std::shared_ptr< INvStorage > &storage_in, std::shared_ptr< HttpInterface > http_in) | |
SotaUptaneClient (Config &config_in, const std::shared_ptr< INvStorage > &storage_in) | |
void | initialize () |
void | addSecondary (const std::shared_ptr< SecondaryInterface > &sec) |
result::Download | downloadImages (const std::vector< Uptane::Target > &targets, const api::FlowControlToken *token=nullptr) |
std::pair< bool, Uptane::Target > | downloadImage (const Uptane::Target &target, const api::FlowControlToken *token=nullptr) |
void | reportPause () |
void | reportResume () |
void | sendDeviceData (const Json::Value &custom_hwinfo=Json::nullValue) |
result::UpdateCheck | fetchMeta () |
bool | putManifest (const Json::Value &custom=Json::nullValue) |
result::UpdateCheck | checkUpdates () |
result::Install | uptaneInstall (const std::vector< Uptane::Target > &updates) |
result::CampaignCheck | campaignCheck () |
void | campaignAccept (const std::string &campaign_id) |
void | campaignDecline (const std::string &campaign_id) |
void | campaignPostpone (const std::string &campaign_id) |
bool | hasPendingUpdates () const |
bool | isInstallCompletionRequired () const |
void | completeInstall () const |
Uptane::LazyTargetsList | allTargets () const |
Uptane::Target | getCurrent () const |
std::vector< Uptane::Target > | getStoredTargets () const |
void | deleteStoredTarget (const Uptane::Target &target) |
std::ifstream | openStoredTarget (const Uptane::Target &target) |
void | updateImageMeta () |
void | checkImageMetaOffline () |
data::InstallationResult | PackageInstall (const Uptane::Target &target) |
TargetStatus | VerifyTarget (const Uptane::Target &target) const |
std::string | treehubCredentials () const |
Friends | |
class | CheckForUpdate |
class | ProvisionDeviceTask |
Definition at line 35 of file sotauptaneclient.h.