|
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, const FetcherProgressCb &progress_cb, const api::FlowControlToken *token) |
| virtual TargetStatus | verifyTarget (const Uptane::Target &target) const |
| virtual bool | checkAvailableDiskSpace (const uint64_t required_bytes) const |
| virtual boost::optional< std::pair< uintmax_t, std::string > > | checkTargetFile (const Uptane::Target &target) const |
| virtual std::ofstream | createTargetFile (const Uptane::Target &target) |
| virtual std::ofstream | appendTargetFile (const Uptane::Target &target) |
| virtual std::ifstream | openTargetFile (const Uptane::Target &target) const |
| virtual void | removeTargetFile (const Uptane::Target &target) |
| virtual std::vector< Uptane::Target > | getTargetFiles () |
Protected Attributes | |
| PackageConfig | config |
| std::shared_ptr< INvStorage > | storage_ |
| std::shared_ptr< HttpInterface > | http_ |
Definition at line 42 of file packagemanagerinterface.h.
1.8.17