Struct ocf::linux::Runtime [] [src]

pub struct Runtime {
    pub namespaces: Vec<Namespace>,
    pub uid_mappings: Vec<IdMap>,
    pub gid_mappings: Vec<IdMap>,
    pub rootfs_propagation: Option<MountPropagation>,
    pub devices: Vec<Device>,
    pub rlimits: Vec<Value>,
    pub sysctl: BTreeMap<String, String>,
    pub resources: Value,
    pub cgroups_path: Value,
    pub apparmor_profile: Value,
    pub selinux_process_label: Value,
    pub seccomp: Value,
}

Fields

namespaces
uid_mappings
gid_mappings
rootfs_propagation
devices
rlimits
sysctl
resources
cgroups_path
apparmor_profile
selinux_process_label
seccomp

Methods

impl Runtime

fn namespaces(&self) -> &[Namespace]

fn uid_mappings(&self) -> &[IdMap]

fn gid_mappings(&self) -> &[IdMap]

fn rootfs_propagation(&self) -> MountPropagation

fn devices(&self) -> &[Device]

Trait Implementations

impl Deserialize for Runtime

fn deserialize<__D>(deserializer: &mut __D) -> Result<Runtime, __D::Error> where __D: Deserializer

impl Serialize for Runtime

fn serialize<__S>(&self, serializer: &mut __S) -> Result<(), __S::Error> where __S: Serializer

Derived Implementations

impl Debug for Runtime

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Runtime

fn clone(&self) -> Runtime

fn clone_from(&mut self, source: &Self)