Skip to main content

execute_health_inner

Function execute_health_inner 

Source
pub fn execute_health_inner<'a, R: HealthGroupResolver>(
    opts: &HealthExecutionOptions<'a>,
    input: HealthPipelineInputs,
    scope_inputs: HealthScopeInputs<'a, R>,
    seams: &HealthSeams<'_>,
) -> Result<HealthAnalysisResult<R>, ExitCode>
Expand description

Run the command-neutral health analysis pipeline.

Config loading, discovery, and parsing are the CLI’s responsibility (they touch the parser cache and config telemetry); the caller passes the resolved HealthPipelineInputs plus the pre-resolved HealthScopeInputs and the HealthSeams callbacks. The returned result carries the typed health report plus the caller’s grouping resolver for downstream rendering.

§Errors

Returns the CLI exit code emitted by a failing analysis or invalid input.