doctor

package
v0.4.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2026 License: BSD-3-Clause Imports: 7 Imported by: 0

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

func Generate() (*Report, error)

func (*Report) AddCheck added in v0.4.7

func (r *Report) AddCheck(check Check)

AddCheck appends a single diagnostic result to the report.

func (*Report) AddChecks added in v0.4.7

func (r *Report) AddChecks(checks []Check)

AddChecks appends multiple diagnostic results to the report.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL