pub struct RunnerState {
pub running: bool,
pub exit_code: Option<i64>,
pub oom_killed: bool,
pub privileged: bool,
pub runtime: Option<String>,
pub pid: Option<u32>,
pub address: Option<String>,
pub started_at: Option<u64>,
pub memory: Option<u64>,
pub cpus: Option<u64>,
}Expand description
What inspect reports about a runner container.
Fields§
§running: boolWhether the container runs.
exit_code: Option<i64>Its exit code, once it stopped.
oom_killed: boolWhether the kernel killed a process in it for memory, as Docker saw.
privileged: boolTrue under unsafe-dind: a job in the container can take over the host.
runtime: Option<String>The runtime Docker runs it with, such as sysbox-runc.
pid: Option<u32>Its main process on the host, while it runs.
address: Option<String>Its address on its first network.
started_at: Option<u64>When it started, in milliseconds since the epoch.
memory: Option<u64>Its memory cap in bytes; None when it has none.
cpus: Option<u64>Its CPU limit in millicores; None when it has none.
Trait Implementations§
Source§impl Clone for RunnerState
impl Clone for RunnerState
Source§impl Debug for RunnerState
impl Debug for RunnerState
impl Eq for RunnerState
Source§impl PartialEq for RunnerState
impl PartialEq for RunnerState
impl StructuralPartialEq for RunnerState
Auto Trait Implementations§
impl Freeze for RunnerState
impl RefUnwindSafe for RunnerState
impl Send for RunnerState
impl Sync for RunnerState
impl Unpin for RunnerState
impl UnsafeUnpin for RunnerState
impl UnwindSafe for RunnerState
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.