|
Aktualizr
C++ SOTA Client
|
Public Member Functions | |
| DockerAppBundles (const PackageConfig &pconfig, const BootloaderConfig &bconfig, const std::shared_ptr< INvStorage > &storage, const std::shared_ptr< HttpInterface > &http) | |
| bool | fetchTarget (const Uptane::Target &target, Uptane::Fetcher &fetcher, const KeyManager &keys, const FetcherProgressCb &progress_cb, const api::FlowControlToken *token) override |
| data::InstallationResult | install (const Uptane::Target &target) const override |
| std::string | name () const override |
Public Member Functions inherited from OstreeManager | |
| OstreeManager (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 |
| std::string | getCurrentHash () const |
| Uptane::Target | getCurrent () const override |
| bool | imageUpdated () |
| 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 |
| TargetStatus | verifyTarget (const Uptane::Target &target) const override |
| GObjectUniquePtr< OstreeDeployment > | getStagedDeployment () const |
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 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 | |
Static Public Member Functions inherited from OstreeManager | |
| static GObjectUniquePtr< OstreeSysroot > | LoadSysroot (const boost::filesystem::path &path) |
| static GObjectUniquePtr< OstreeRepo > | LoadRepo (OstreeSysroot *sysroot, GError **error) |
| static bool | addRemote (OstreeRepo *repo, const std::string &url, const KeyManager &keys) |
| static data::InstallationResult | pull (const boost::filesystem::path &sysroot_path, const std::string &ostree_server, const KeyManager &keys, const Uptane::Target &target, const api::FlowControlToken *token=nullptr, OstreeProgressCb progress_cb=nullptr) |
Protected Attributes inherited from PackageManagerInterface | |
| PackageConfig | config |
| std::shared_ptr< INvStorage > | storage_ |
| std::shared_ptr< HttpInterface > | http_ |
Definition at line 44 of file dockerappmanager.h.
1.8.17