Struct docker_api::models::Runtime
source · [−]Expand description
Runtime describes an OCI compliant runtime.
The runtime is invoked by the daemon via the containerd
daemon. OCI
runtimes act as an interface to the Linux kernel namespaces, cgroups,
and SELinux.
Fields
path: Option<String>
Name and, optional, path, of the OCI executable binary.
If the path is omitted, the daemon searches the host’s $PATH
for the
binary and uses the first result.
runtime_args: Option<Vec<String, Global>>
List of command-line arguments to pass to the runtime when invoked.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Runtime
impl<'de> Deserialize<'de> for Runtime
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<Runtime, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Runtime, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for Runtime
impl Serialize for Runtime
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Runtime
Auto Trait Implementations
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more