pub struct ContainerRuntime {
pub name: String,
pub version: Option<String>,
pub container_id: Option<String>,
pub image: Option<String>,
pub orchestrator: Option<String>,
pub security_context: SecurityContext,
}
Expand description
Container runtime information
Fields§
§name: String
Runtime name (docker, containerd, cri-o, etc.)
version: Option<String>
Runtime version
container_id: Option<String>
Container ID
image: Option<String>
Container image
orchestrator: Option<String>
Container orchestrator (if any)
security_context: SecurityContext
Security context
Trait Implementations§
Source§impl Clone for ContainerRuntime
impl Clone for ContainerRuntime
Source§fn clone(&self) -> ContainerRuntime
fn clone(&self) -> ContainerRuntime
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ContainerRuntime
impl Debug for ContainerRuntime
Source§impl<'de> Deserialize<'de> for ContainerRuntime
impl<'de> Deserialize<'de> for ContainerRuntime
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
Auto Trait Implementations§
impl Freeze for ContainerRuntime
impl RefUnwindSafe for ContainerRuntime
impl Send for ContainerRuntime
impl Sync for ContainerRuntime
impl Unpin for ContainerRuntime
impl UnwindSafe for ContainerRuntime
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