Aktualizr
C++ SOTA Client
All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SecondaryOstreeTest Class Reference
Inheritance diagram for SecondaryOstreeTest:
[legend]
Collaboration diagram for SecondaryOstreeTest:
[legend]

Static Public Member Functions

static const char * curOstreeRootfsRev (OstreeDeployment *ostree_depl)
 
static OstreeDeployment * curOstreeDeployment (OstreeSysroot *ostree_sysroot)
 
static void setOstreeRootfsTemplate (const std::string &ostree_rootfs_template)
 

Protected Member Functions

Uptane::RawMetaPack addDefaultTarget ()
 
Uptane::RawMetaPack addTarget (const std::string &rev="", const std::string &hardware_id="", const std::string &serial="")
 
Uptane::RawMetaPack currentMetadata () const
 
std::string getCredsToSend () const
 
Uptane::Hash treehubCurRevHash () const
 
Uptane::Hash sysrootCurRevHash () const
 
const std::string & treehubCurRev () const
 

Static Protected Member Functions

static void SetUpTestSuite ()
 
static void TearDownTestSuite ()
 

Protected Attributes

AktualizrSecondaryWrapper _secondary {*_sysroot, *_treehub}
 
UptaneRepoWrapper _uptane_repo
 

Static Protected Attributes

static std::shared_ptr< Treehub_treehub {nullptr}
 
static std::string _ostree_rootfs_template {"./build/ostree_repo"}
 
static std::shared_ptr< OstreeRootfs_sysroot {nullptr}
 

Detailed Description

Definition at line 189 of file aktualizr_secondary_ostree_test.cc.


The documentation for this class was generated from the following file: