pub fn run_doctor(ctx: &Context) -> Result<()>Expand description
Port of doctor.runDoctor: loads the configuration, resolves the
cluster manager, runs every built-in diagnostic (skipping
cluster-dependent ones when the cluster is not ready), and reports the
results.
ยงErrors
Returns an error if configuration loading, cluster manager creation, getting the cluster status, or getting the kubeconfig (once the cluster is known to be ready) fails.