func (r *healthComponent) GetHealthCheck() health.HealthCheckResult {
	result, found := r.reporter.getHealthCheck(r.name)
	if !found {
		// This should never happen so long as the reporter controls the instantiation of components
		// and registers them into the Checks map during instantiation.
		panic("This component was never registered with its HealthReporter")
	}
	return result
}
// Returns the entire HealthCheckResult for the component
Returns the entire HealthCheckResult for the component
// Returns the entire HealthCheckResult for the component
func (r *healthComponent) GetHealthCheck() health.HealthCheckResult {
	result, found := r.reporter.getHealthCheck(r.name)
	if !found {
		panic("This component was never registered with its HealthReporter")
	}
	return result
}
func ( r * healthComponent ) GetHealthCheck ( ) health . HealthCheckResult { result , found := r . reporter . getHealthCheck ( r . name ) if ! found { panic ( " " ) } return result }
Returns the entire HealthCheckResult for the component
Returns the entire HealthCheckResult for the component
// This should never happen so long as the reporter controls the instantiation of components // and registers them into the Checks map during instantiation.