Skip to main content

ContainerProbe

Trait ContainerProbe 

Source
pub trait ContainerProbe: Send + Sync {
    // Required method
    fn probe<'a>(
        &'a self,
        container: &'a str,
        pid: u32,
        task_started_ms: i64,
    ) -> BoxFuture<'a, Verdict>;
}
Expand description

Checks a process inside a container. The Docker-backed one is container_task_probe.

Required Methods§

Source

fn probe<'a>( &'a self, container: &'a str, pid: u32, task_started_ms: i64, ) -> BoxFuture<'a, Verdict>

The state of process pid of container, for a task whose row began at task_started_ms.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§