Struct bollard_stubs::models::Runtime
source · pub struct Runtime {
pub path: Option<String>,
pub runtime_args: Option<Vec<String>>,
}
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>>
List of command-line arguments to pass to the runtime when invoked.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Runtime
impl<'de> Deserialize<'de> for Runtime
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Runtime
Auto Trait Implementations§
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)