Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
type Check struct {
Name string `json:"name"`
Success bool `json:"success"`
Message string `json:"message,omitempty"`
Recommendation string `json:"recommendation,omitempty"`
}
Check represents a single diagnostic performed by Doctor.
type Report ¶
type Report struct {
Checks []Check `json:"checks"`
}
Report contains the complete result of a Doctor run.
func Generate ¶ added in v0.4.7
Generate runs every diagnostic doctor is able to run given whatever state is currently on disk. Nothing here requires a valid config — a missing or invalid config is reported as a failed check, not a hard error, so the rest of the checks still run and the user gets a full picture of what's wrong in one pass.
Click to show internal directories.
Click to hide internal directories.