Skip to main content

spawn_container_logs_fetch

Function spawn_container_logs_fetch 

Source
pub fn spawn_container_logs_fetch<F>(
    ctx: OwnedSshContext,
    runtime: ContainerRuntime,
    container_id: String,
    container_name: String,
    tail: usize,
    send: F,
)
where F: FnOnce(String, String, String, Result<Vec<String>, String>) + Send + 'static,
Expand description

Spawn a background thread to run container logs. Same shape as spawn_container_inspect_listing.