pub struct FeaturesBuilder { /* private fields */ }
Expand description
Builder for Features
.
Implementations§
Source§impl FeaturesBuilder
impl FeaturesBuilder
Sourcepub fn oci_version_min<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn oci_version_min<VALUE: Into<String>>(self, value: VALUE) -> Self
The minimum OCI Runtime Spec version recognized by the runtime, e.g., “1.0.0”.
Sourcepub fn oci_version_max<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn oci_version_max<VALUE: Into<String>>(self, value: VALUE) -> Self
The maximum OCI Runtime Spec version recognized by the runtime, e.g., “1.0.2-dev”.
Sourcepub fn hooks<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
pub fn hooks<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
The list of the recognized hook names, e.g., “createRuntime”. “None” means “unknown”, not “no support for any hook”.
Sourcepub fn mount_options<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
pub fn mount_options<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
The list of the recognized mount options, e.g., “ro”. “None” means “unknown”, not “no support for any mount option”. This list does not contain filesystem-specific options passed to mount(2) syscall as (const void *).
Sourcepub fn linux<VALUE: Into<LinuxFeature>>(self, value: VALUE) -> Self
pub fn linux<VALUE: Into<LinuxFeature>>(self, value: VALUE) -> Self
Information specific to Linux
Sourcepub fn annotations<VALUE: Into<HashMap<String, String>>>(
self,
value: VALUE,
) -> Self
pub fn annotations<VALUE: Into<HashMap<String, String>>>( self, value: VALUE, ) -> Self
Implementation-specific annotation strings, such as the implementation version, and third-party extensions.
Sourcepub fn potentially_unsafe_config_annotations<VALUE: Into<Vec<String>>>(
self,
value: VALUE,
) -> Self
pub fn potentially_unsafe_config_annotations<VALUE: Into<Vec<String>>>( self, value: VALUE, ) -> Self
The list of the potential unsafe annotations
that may appear in config.json
.
A value that ends with “.” is interpreted as a prefix of annotations.