doctor

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPassed

func CheckPassed(report Report, message string) bool

Types

type Check

type Check struct {
	Status  string
	Message string
}

type Options

type Options struct {
	CheckImages       bool
	ImageCheckTimeout time.Duration
}

type Report

type Report struct {
	Checks    []Check
	OKCount   int
	WarnCount int
	MissCount int
	FailCount int
}

func Run

func Run(ctx context.Context) (Report, error)

func RunWithOptions

func RunWithOptions(ctx context.Context, opts Options) (Report, error)

func (Report) HasFailures

func (r Report) HasFailures() bool

Jump to

Keyboard shortcuts

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