Expand description
Requeue-action primitives — the small typed layer over the
kube::runtime::controller::Action::requeue(std::time::Duration ::from_secs(<secs>)) two-link chain every phase-machine handler,
error-policy sink, and Signals ingest arm in the workspace exits
through.
kube_runtime exposes only ONE requeue constructor —
Action::requeue(std::time::Duration) — but every consumer in
this workspace already carries its retry / heartbeat / short-
retry budget as a whole-second u64 (the module-level
TICK_RETRY / HEARTBEAT / SHORT_RETRY constants, the
per-call literals 1, 5, 10, 15, 30, 60, 120, and
the ctx.config.heartbeat_seconds slot). This module owns the
one-line chain from that u64 to the returned Action, so a
future normalization (an injectable-jitter overlay, a bounded-
rate limiter, a per-controller floor / ceiling clamp, a
deterministic-clock test hook) lands at ONE substrate primitive
and every downstream retry sink inherits the upgrade mechanically.
Functions§
- after_
secs - A
kube::runtime::controller::Actionthat re-enqueues the current objectsecsseconds from now — the one-lineAction::requeue(Duration::from_secs(secs))two-link chain lifted to ONE typed owner past the ★★ PRIME-DIRECTIVE ≥ 2 duplication threshold.