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::MetaBundle addDefaultTarget ()
 
Uptane::MetaBundle addTarget (const std::string &rev="", const std::string &hardware_id="", const std::string &serial="")
 
Uptane::MetaBundle currentMetadata () const
 
std::string getCredsToSend () const
 
Hash treehubCurRevHash () const
 
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< Treehubtreehub_ {nullptr}
 
static std::string ostree_rootfs_template_ {"./build/ostree_repo"}
 
static std::shared_ptr< OstreeRootfssysroot_ {nullptr}
 

Detailed Description

Definition at line 199 of file aktualizr_secondary_ostree_test.cc.


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