Documentation
¶
Overview ¶
Package health provides system health checks for Prism. Checks cover library path accessibility, download client connectivity, and indexer reachability.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckResult ¶
type CheckResult struct {
Name string `json:"name"`
Status Status `json:"status"`
Message string `json:"message"`
}
CheckResult describes the outcome of a single health check.
type Report ¶
type Report struct {
// Status is the worst status across all checks.
Status Status `json:"status"`
Checks []CheckResult `json:"checks"`
}
Report is the aggregated result of all health checks.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service runs health checks against the system's subsystems.