The representation of a user in bubblewrap.
More...
#include <bwrap.hpp>
|
| | User (UserData const &data) |
| | Construct a new User object with the provided user data.
|
| |
| Value< void > | write_passwd (fs::path const &path_file_passwd) |
| | Writes the passwd entry to the provided file path.
|
| |
| Value< void > | write_bashrc (fs::path const &path_file_bashrc, std::string_view ps1) |
| | Writes the bashrc file and returns its path.
|
| |
The representation of a user in bubblewrap.
Definition at line 95 of file bwrap.hpp.
◆ User()
| ns_bwrap::ns_proxy::User::User |
( |
UserData const & | data | ) |
|
|
inline |
Construct a new User object with the provided user data.
- Parameters
-
| data | The user data for the container environment |
Definition at line 121 of file bwrap.hpp.
◆ write_bashrc()
| Value< void > ns_bwrap::ns_proxy::User::write_bashrc |
( |
fs::path const & | path_file_bashrc, |
|
|
std::string_view | ps1 ) |
|
inlinenodiscard |
Writes the bashrc file and returns its path.
- Returns
- Value<fs::path> The path to the bashrc file
Definition at line 143 of file bwrap.hpp.
◆ write_passwd()
| Value< void > ns_bwrap::ns_proxy::User::write_passwd |
( |
fs::path const & | path_file_passwd | ) |
|
|
inlinenodiscard |
Writes the passwd entry to the provided file path.
- Returns
- Value<void> Nothing on success, or the respective error
Definition at line 130 of file bwrap.hpp.
The documentation for this struct was generated from the following file: