fhq-server  v0.2.33
Documentation for fhq-server. FreeHackQuest is an open source platform for competitions of computer security.
Public Member Functions | Private Attributes | List of all members
ServiceLXD Class Reference

#include <model_lxd_orchestra.h>

Collaboration diagram for ServiceLXD:
Collaboration graph
[legend]

Public Member Functions

 ServiceLXD (const ServiceConfig &reqService)
 
bool create_container ()
 
bool build ()
 
bool start ()
 
bool stop ()
 
std::string get_error ()
 
LXDContainerget_container ()
 

Private Attributes

ServiceConfig m_configService
 
LXDContainerm_Container
 
std::string m_sName
 
std::string m_sError
 
int m_nError = 500
 
std::string m_sResult
 
const std::string TAG = "EmployOrchestraService"
 

Constructor & Destructor Documentation

◆ ServiceLXD()

ServiceLXD::ServiceLXD ( const ServiceConfig reqService)
explicit

Member Function Documentation

◆ build()

bool ServiceLXD::build ( )

◆ create_container()

bool ServiceLXD::create_container ( )

◆ get_container()

LXDContainer * ServiceLXD::get_container ( )

◆ get_error()

std::string ServiceLXD::get_error ( )

◆ start()

bool ServiceLXD::start ( )

◆ stop()

bool ServiceLXD::stop ( )

Member Data Documentation

◆ m_configService

ServiceConfig ServiceLXD::m_configService
private

◆ m_Container

LXDContainer* ServiceLXD::m_Container
private

◆ m_nError

int ServiceLXD::m_nError = 500
private

◆ m_sError

std::string ServiceLXD::m_sError
private

◆ m_sName

std::string ServiceLXD::m_sName
private

◆ m_sResult

std::string ServiceLXD::m_sResult
private

◆ TAG

const std::string ServiceLXD::TAG = "EmployOrchestraService"
private

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