|
Aktualizr
C++ SOTA Client
|
Public Member Functions | |
| PackageManagerFake (const PackageConfig &pconfig, const BootloaderConfig &bconfig, const std::shared_ptr< INvStorage > &storage, const std::shared_ptr< HttpInterface > &http) | |
| std::string | name () const override |
| Json::Value | getInstalledPackages () const override |
| Uptane::Target | getCurrent () const override |
| data::InstallationResult | install (const Uptane::Target &target) const override |
| void | completeInstall () const override |
| data::InstallationResult | finalizeInstall (const Uptane::Target &target) override |
| void | updateNotify () override |
| bool | fetchTarget (const Uptane::Target &target, Uptane::Fetcher &fetcher, const KeyManager &keys, const FetcherProgressCb &progress_cb, const api::FlowControlToken *token) override |
Public Member Functions inherited from PackageManagerInterface | |
| PackageManagerInterface (const PackageConfig &pconfig, const BootloaderConfig &bconfig, const std::shared_ptr< INvStorage > &storage, const std::shared_ptr< HttpInterface > &http) | |
| 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 () |
Additional Inherited Members | |
Protected Attributes inherited from PackageManagerInterface | |
| PackageConfig | config |
| std::shared_ptr< INvStorage > | storage_ |
| std::shared_ptr< HttpInterface > | http_ |
Definition at line 9 of file packagemanagerfake.h.
1.8.13