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

Portal IPC system for host-container communication. More...

Namespaces

namespace  ns_child
 Child process spawning and I/O management for portal IPC.
 

Classes

class  Portal
 Manages portal daemon for inter-process communication. More...
 

Typedefs

using Daemon = ns_db::ns_portal::ns_daemon::Daemon
 
using Logs = ns_db::ns_portal::ns_daemon::ns_log::Logs
 

Functions

Value< std::unique_ptr< Portal > > spawn (Daemon const &daemon, Logs const &logs)
 Spawns a new portal daemon instance.
 

Detailed Description

Portal IPC system for host-container communication.

Manages the portal daemon lifecycle for FIFO-based inter-process communication between host and container environments. Spawns and controls portal daemon processes that enable cross-boundary command execution, stdio redirection, and message routing for multi-instance FlatImage applications.

Typedef Documentation

◆ Daemon

◆ Logs

Function Documentation

◆ spawn()

Value< std::unique_ptr< Portal > > ns_portal::spawn ( Daemon const & daemon,
Logs const & logs )
inlinenodiscard

Spawns a new portal daemon instance.

Parameters
daemonDaemon configuration
logsLogging configuration
Returns
Value containing unique pointer to Portal or error

Definition at line 74 of file portal.hpp.

Here is the caller graph for this function: