Expand description
Run loop configuration and exit reasons. Rotation job executor: scheduling, retry, and lifecycle management.
No socket exists, so a network blip does not close the session; only shutdown does.
Modulesยง
- retry ๐
- Retry helpers for target-side and server-side rotation steps.
- rotation ๐
- Core rotation execution pipeline.
Structsยง
- Access
Connector Config - Configuration for the connector run loop, validated by
Config::from_cli. - Worker ๐
- Authenticated connector state shared by the stages of the run loop.
Enumsยง
Constantsยง
- POLL_
BACKOFF_ ๐BASE - Poll backoff after a transient error, doubling from the base up to the cap.
- POLL_
BACKOFF_ ๐CAP
Functionsยง
- build_
integrations ๐ - Registers the integrations the connector can drive.
- refused ๐
- A revoked session ends the run; any other session error is transient, so keep polling.
- run ๐
- Runs the connector poll loop. A revoked session exits as
RunExit::CredentialRefused, other startup failures asRunExit::StartupFailed, and a 404 that survives a refresh probe asRunExit::NotEligible. - spawn_
heartbeat ๐ - Polls the jobs endpoint for the connectivity bump until
cancelfires.