Struct k8s_openapi::api::node::v1alpha1::RuntimeClassSpec [−][src]
pub struct RuntimeClassSpec { pub runtime_handler: String, }
Expand description
RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.
Fields
runtime_handler: String
RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called “runc” might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The RuntimeHandler must conform to the DNS Label (RFC 1123) requirements and is immutable.
Trait Implementations
impl Clone for RuntimeClassSpec
[src]
impl Clone for RuntimeClassSpec
[src]fn clone(&self) -> RuntimeClassSpec
[src]
fn clone(&self) -> RuntimeClassSpec
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for RuntimeClassSpec
[src]
impl Debug for RuntimeClassSpec
[src]impl Default for RuntimeClassSpec
[src]
impl Default for RuntimeClassSpec
[src]fn default() -> RuntimeClassSpec
[src]
fn default() -> RuntimeClassSpec
[src]Returns the “default value” for a type. Read more
impl<'de> Deserialize<'de> for RuntimeClassSpec
[src]
impl<'de> Deserialize<'de> for RuntimeClassSpec
[src]fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<RuntimeClassSpec> for RuntimeClassSpec
[src]
impl PartialEq<RuntimeClassSpec> for RuntimeClassSpec
[src]fn eq(&self, other: &RuntimeClassSpec) -> bool
[src]
fn eq(&self, other: &RuntimeClassSpec) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &RuntimeClassSpec) -> bool
[src]
fn ne(&self, other: &RuntimeClassSpec) -> bool
[src]This method tests for !=
.
impl Serialize for RuntimeClassSpec
[src]
impl Serialize for RuntimeClassSpec
[src]impl StructuralPartialEq for RuntimeClassSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for RuntimeClassSpec
impl Send for RuntimeClassSpec
impl Sync for RuntimeClassSpec
impl Unpin for RuntimeClassSpec
impl UnwindSafe for RuntimeClassSpec
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,