pub enum RunnerProbe {
Clean,
Mount,
Procfs,
MountAndProcfs,
TimedOut,
Broken,
Unknown,
}Expand description
What the probe a runner’s entrypoint runs as root after the runner exited found (ADR 0155): it mounts a tmpfs,
a proc and a sysfs and binds one in a mount namespace of its own, then opens a file under /proc/sys with
openat2, the calls Sysbox serves and a runner fault breaks.
Variants§
Clean
Every call worked.
Mount
A mount or an unmount failed; /proc opened.
Procfs
/proc did not open with openat2; the mounts worked.
MountAndProcfs
Both failed.
TimedOut
It did not finish within its time.
Broken
It ran but could not test: it failed before its first call.
Unknown
A verdict a newer daemon tells apart.
Trait Implementations§
Source§impl Clone for RunnerProbe
impl Clone for RunnerProbe
impl Copy for RunnerProbe
Source§impl Debug for RunnerProbe
impl Debug for RunnerProbe
Source§impl<'de> Deserialize<'de> for RunnerProbe
impl<'de> Deserialize<'de> for RunnerProbe
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 Eq for RunnerProbe
Source§impl PartialEq for RunnerProbe
impl PartialEq for RunnerProbe
Source§impl Serialize for RunnerProbe
impl Serialize for RunnerProbe
impl StructuralPartialEq for RunnerProbe
Auto Trait Implementations§
impl Forget for RunnerProbe
impl Freeze for RunnerProbe
impl Move for RunnerProbe
impl RefUnwindSafe for RunnerProbe
impl Send for RunnerProbe
impl Sync for RunnerProbe
impl Unpin for RunnerProbe
impl UnsafeUnpin for RunnerProbe
impl UnwindSafe for RunnerProbe
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.