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

FlatImage configuration object. More...

#include <cctype>
#include <cstdint>
#include <memory>
#include <string>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <pwd.h>
#include <filesystem>
#include <format>
#include <unordered_map>
#include "bwrap/bwrap.hpp"
#include "filesystems/controller.hpp"
#include "filesystems/layers.hpp"
#include "db/portal/daemon.hpp"
#include "db/portal/dispatcher.hpp"
#include "lib/env.hpp"
#include "db/env.hpp"
#include "lib/log.hpp"
#include "macro.hpp"
#include "std/expected.hpp"
#include "std/enum.hpp"
#include "reserved/casefold.hpp"
#include "reserved/notify.hpp"
#include "reserved/overlay.hpp"
#include "std/filesystem.hpp"
Include dependency graph for config.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ns_config::Path
 Defines all fundamental FlatImage paths. More...
 
struct  ns_config::Path::Dir
 Directory paths used throughout FlatImage. More...
 
struct  ns_config::Path::File
 Instance-specific configuration files. More...
 
struct  ns_config::Path::Bin
 Paths to embedded and extracted binaries. More...
 
struct  ns_config::Logs
 Log file paths for all FlatImage subsystems. More...
 
struct  ns_config::Config
 Module configurations linked with FlatImage paths. More...
 
struct  ns_config::Config::Daemon
 Portal daemon configuration. More...
 
struct  ns_config::Flags
 Runtime feature flags. More...
 
struct  ns_config::FlatImage
 Main FlatImage configuration object. More...
 

Namespaces

namespace  ns_config
 Central FlatImage configuration system.
 

Typedefs

using DaemonMode = ns_db::ns_portal::ns_daemon::Mode
 

Functions

Value< std::shared_ptr< FlatImage > > ns_config::config ()
 Factory method that makes a FlatImage configuration object.
 

Variables

uint32_t FIM_RESERVED_OFFSET
 

Detailed Description

FlatImage configuration object.

Author
Ruan Formigoni

Definition in file config.hpp.

Typedef Documentation

◆ DaemonMode

using DaemonMode = ns_db::ns_portal::ns_daemon::Mode

Definition at line 76 of file config.hpp.

Variable Documentation

◆ FIM_RESERVED_OFFSET

uint32_t FIM_RESERVED_OFFSET

Definition at line 74 of file config.hpp.