pub struct LinuxFeatureBuilder { /* private fields */ }Expand description
Builder for LinuxFeature.
Implementations§
Source§impl LinuxFeatureBuilder
impl LinuxFeatureBuilder
Sourcepub fn namespaces<VALUE: Into<Vec<LinuxNamespaceType>>>(
self,
value: VALUE,
) -> Self
pub fn namespaces<VALUE: Into<Vec<LinuxNamespaceType>>>( self, value: VALUE, ) -> Self
The list of the recognized namespaces, e.g., “mount”. “None” means “unknown”, not “no support for any namespace”.
Sourcepub fn capabilities<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
pub fn capabilities<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
The list of the recognized capabilities , e.g., “CAP_SYS_ADMIN”. “None” means “unknown”, not “no support for any capability”.
Sourcepub fn cgroup<VALUE: Into<Cgroup>>(self, value: VALUE) -> Self
pub fn cgroup<VALUE: Into<Cgroup>>(self, value: VALUE) -> Self
The available features related to cgroup.
Sourcepub fn seccomp<VALUE: Into<Seccomp>>(self, value: VALUE) -> Self
pub fn seccomp<VALUE: Into<Seccomp>>(self, value: VALUE) -> Self
The available features related to seccomp.
Sourcepub fn apparmor<VALUE: Into<Apparmor>>(self, value: VALUE) -> Self
pub fn apparmor<VALUE: Into<Apparmor>>(self, value: VALUE) -> Self
The available features related to apparmor.
Sourcepub fn selinux<VALUE: Into<Selinux>>(self, value: VALUE) -> Self
pub fn selinux<VALUE: Into<Selinux>>(self, value: VALUE) -> Self
The available features related to selinux.
Sourcepub fn intel_rdt<VALUE: Into<IntelRdt>>(self, value: VALUE) -> Self
pub fn intel_rdt<VALUE: Into<IntelRdt>>(self, value: VALUE) -> Self
The available features related to Intel RDT.
Sourcepub fn memory_policy<VALUE: Into<MemoryPolicy>>(self, value: VALUE) -> Self
pub fn memory_policy<VALUE: Into<MemoryPolicy>>(self, value: VALUE) -> Self
The available features related to memory policy.
Sourcepub fn mount_extensions<VALUE: Into<MountExtensions>>(
self,
value: VALUE,
) -> Self
pub fn mount_extensions<VALUE: Into<MountExtensions>>( self, value: VALUE, ) -> Self
The available features related to mount extensions.
Sourcepub fn net_devices<VALUE: Into<NetDevices>>(self, value: VALUE) -> Self
pub fn net_devices<VALUE: Into<NetDevices>>(self, value: VALUE) -> Self
The available features related to net devices.