FlatImage
A configurable Linux containerization system
Loading...
Searching...
No Matches
ns_config Namespace Reference

Central FlatImage configuration system. More...

Classes

struct  Config
 Module configurations linked with FlatImage paths. More...
 
struct  Flags
 Runtime feature flags. More...
 
struct  FlatImage
 Main FlatImage configuration object. More...
 
struct  Logs
 Log file paths for all FlatImage subsystems. More...
 
class  Path
 Defines all fundamental FlatImage paths. More...
 

Functions

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

Detailed Description

Central FlatImage configuration system.

Serves as the single source of truth for all FlatImage configuration, paths, and runtime flags. Aggregates directory structures, binary locations, log paths, module configurations (filesystem, daemon), and feature flags into one immutable configuration object. Factory method config() initializes all settings from environment variables, reserved space, and compile-time constants.

Function Documentation

◆ config()

Value< std::shared_ptr< FlatImage > > ns_config::config ( )
inlinenodiscard

Factory method that makes a FlatImage configuration object.

Returns
Value<FlatImage> A FlatImage configuration object or the respective error

Definition at line 589 of file config.hpp.

Here is the call graph for this function:
Here is the caller graph for this function: