FlatImage
A configurable Linux containerization system
Loading...
Searching...
No Matches
daemon.hpp File Reference

Defines a class that manages FlatImage's portal configuration. More...

#include <string>
#include <filesystem>
#include <unistd.h>
#include "../../std/expected.hpp"
#include "../../std/enum.hpp"
#include "../db.hpp"
Include dependency graph for daemon.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ns_db::ns_portal::ns_daemon::ns_log::Logs
 
class  ns_db::ns_portal::ns_daemon::Daemon
 

Namespaces

namespace  ns_db::ns_portal::ns_daemon
 Portal daemon configuration and management.
 
namespace  ns_db
 JSON-based configuration database layer.
 
namespace  ns_db::ns_portal::ns_daemon::ns_log
 Portal daemon logging configuration.
 

Functions

Value< Logsns_db::ns_portal::ns_daemon::ns_log::deserialize (std::string_view str_raw_json)
 Deserializes a json string into a Logs class.
 
Value< std::string > ns_db::ns_portal::ns_daemon::ns_log::serialize (Logs const &logs)
 Serializes a Logs class into a json string.
 
 ns_db::ns_portal::ns_daemon::ENUM (Mode, HOST, GUEST)
 
Value< Daemonns_db::ns_portal::ns_daemon::deserialize (std::string_view str_raw_json)
 Deserializes a json string into a Daemon class.
 
Value< std::string > ns_db::ns_portal::ns_daemon::serialize (Daemon const &daemon)
 Serializes a Daemon class into a json string.
 

Detailed Description

Defines a class that manages FlatImage's portal configuration.

Author
Ruan Formigoni

Definition in file daemon.hpp.