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

Used to manage the bindings from the host to the sandbox. More...

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

Go to the source code of this file.

Classes

struct  ns_db::ns_bind::Bind
 Represents a single bind mount from host to guest. More...
 
struct  ns_db::ns_bind::Binds
 Container for multiple bind mount configurations. More...
 

Namespaces

namespace  ns_db::ns_bind
 Bind mount configuration management.
 
namespace  ns_db
 JSON-based configuration database layer.
 

Functions

 ns_db::ns_bind::ENUM (Type, RO, RW, DEV)
 
Value< Bindsns_db::ns_bind::deserialize (std::string_view raw_json)
 Deserializes JSON string into a Binds object.
 
Value< Bindsns_db::ns_bind::deserialize (std::ifstream &stream_raw_json) noexcept
 Deserializes JSON from an input stream into a Binds object.
 
Value< Dbns_db::ns_bind::serialize (Binds const &binds) noexcept
 Serializes a Binds object into a JSON database.
 

Detailed Description

Used to manage the bindings from the host to the sandbox.

Author
Ruan Formigoni

Definition in file bind.hpp.