Skip to main content

Module session_probe

Module session_probe 

Source
Expand description

Session liveness probing for tracked executions.

--attach, --resume and --resume-all all need the same question answered first: is the isolation session behind this execution record still alive, stopped but recoverable, or gone entirely? The probe never mutates anything, so it is safe to run against every tracked record.

Structs§

SessionProbe
Observation about the isolation session behind an execution record.

Enums§

SessionState
States a tracked isolation session can be observed in.

Functions§

map_docker_status_to_state
Map a docker inspect -f {{.State.Status}} value to a session state.
parse_screen_session_state
Find a session in screen -ls output.
probe_session
Probe the isolation session behind an execution record.