Skip to main content

Module supervisor

Module supervisor 

Source
Expand description

Managed-worker supervision (W-1..W-4): desired state in, contained OS processes out, with a status surface that is a join of the two. Module declarations.

Re-exports§

pub use converge_report::converge_and_report;
pub use error::SupervisionError;
pub use executable::ManagedExecutable;
pub use fleet::Convergence;
pub use fleet::FleetShutdownReport;
pub use fleet::WorkerSupervisor;
pub use policy::SupervisionPolicy;
pub use policy::UNCOMMISSIONED_REMEDY;
pub use status::ManagedWorkerExit;
pub use status::ManagedWorkerReport;
pub use status::ManagedWorkerState;
pub use status::ManagedWorkerStatus;
pub use status::SpawnedBinary;

Modules§

converge_report
The one triage every “the record is written; now make it so” caller uses. One triage for every “the record is written; now make it so” call site.
error
Typed managed-worker supervision failures, each carrying its remedy. Typed managed-worker supervision failures.
executable
Which executable a builtin deployment launches, and what it is at spawn. Which executable a builtin deployment launches, and what it is.
fleet
The supervisor itself: desired state in, running processes out. The managed-worker supervisor: desired state in, running processes out.
policy
The operator-configured restart discipline. No invented numbers. The supervision policy, and the refusal owed when there is none.
status
What the server says about a managed worker: desired joined with actual. What the server will say about a managed worker, and what it refuses to say.