Expand description
Graceful-shutdown verification.
ShutdownProbe watches a set of components and emits one
CheckResult per component plus an aggregate. A component is
considered “drained” when its predicate returns true.
Structs§
- Shutdown
Component - A component to drain.
- Shutdown
Probe - Polls a set of
ShutdownComponents until they all drain or the deadline elapses.
Type Aliases§
- Drain
Check - A predicate that returns
trueonce the named component has reached a clean stopped state.