Struct lithos::sandbox_config::SandboxConfig
[−]
[src]
pub struct SandboxConfig { pub config_file: Option<PathBuf>, pub image_dir: PathBuf, pub image_dir_levels: u32, pub used_images_list: Option<PathBuf>, pub log_file: Option<PathBuf>, pub log_level: Option<String>, pub readonly_paths: BTreeMap<PathBuf, PathBuf>, pub writable_paths: BTreeMap<PathBuf, PathBuf>, pub allow_users: Vec<Range>, pub default_user: Option<u32>, pub allow_groups: Vec<Range>, pub default_group: Option<u32>, pub allow_tcp_ports: Vec<Range>, pub additional_hosts: BTreeMap<String, String>, pub uid_map: Vec<IdMap>, pub gid_map: Vec<IdMap>, pub auto_clean: bool, pub resolv_conf: PathBuf, pub hosts_file: PathBuf, pub bridged_network: Option<BridgedNetwork>, pub secrets_private_key: Option<PathBuf>, pub secrets_namespaces: Vec<String>, }
Fields
config_file: Option<PathBuf>
image_dir: PathBuf
image_dir_levels: u32
used_images_list: Option<PathBuf>
log_file: Option<PathBuf>
log_level: Option<String>
readonly_paths: BTreeMap<PathBuf, PathBuf>
writable_paths: BTreeMap<PathBuf, PathBuf>
allow_users: Vec<Range>
default_user: Option<u32>
allow_groups: Vec<Range>
default_group: Option<u32>
allow_tcp_ports: Vec<Range>
additional_hosts: BTreeMap<String, String>
uid_map: Vec<IdMap>
gid_map: Vec<IdMap>
auto_clean: bool
resolv_conf: PathBuf
hosts_file: PathBuf
bridged_network: Option<BridgedNetwork>
secrets_private_key: Option<PathBuf>
secrets_namespaces: Vec<String>