lightspeed/ops/supervision
Supervision tree guidance for production Lightspeed deployments.
Types
Plan validation errors.
pub type PlanError {
MissingRequiredChild(String)
DuplicateChildId(String)
}
Constructors
-
MissingRequiredChild(String) -
DuplicateChildId(String)
Restart behavior for a child process.
pub type Restart {
Permanent
Transient
Temporary
}
Constructors
-
Permanent -
Transient -
Temporary
Supervision strategy.
pub type Strategy {
OneForOne
RestForOne
OneForAll
}
Constructors
-
OneForOne -
RestForOne -
OneForAll
Values
pub fn default_plan(app_name: String) -> Plan
Build a default plan with recommended Phase 7 children.