Aktualizr
C++ SOTA Client
|
Public Member Functions | |
PackageManagerInterface (const PackageConfig &pconfig, const BootloaderConfig &bconfig, const std::shared_ptr< INvStorage > &storage, const std::shared_ptr< HttpInterface > &http) | |
virtual std::string | name () const =0 |
virtual Json::Value | getInstalledPackages () const =0 |
virtual Uptane::Target | getCurrent () const =0 |
virtual data::InstallationResult | install (const Uptane::Target &target) const =0 |
virtual void | completeInstall () const |
virtual data::InstallationResult | finalizeInstall (const Uptane::Target &target)=0 |
virtual void | updateNotify () |
virtual bool | fetchTarget (const Uptane::Target &target, Uptane::Fetcher &fetcher, const KeyManager &keys, FetcherProgressCb progress_cb, const api::FlowControlToken *token) |
virtual TargetStatus | verifyTarget (const Uptane::Target &target) const |
Protected Attributes | |
PackageConfig | config |
std::shared_ptr< INvStorage > | storage_ |
std::shared_ptr< HttpInterface > | http_ |
Definition at line 36 of file packagemanagerinterface.h.