doctor

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package doctor implements `ccx doctor` — a structured set of diagnostic checks reported as ✅/⚠/❌. See docs/superpowers/plans (plan P2) for the implementation plan.

Package doctor implements structured diagnostic checks for `ccx doctor`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deps

type Deps struct {
	Profiles ProfileLister
}

Deps holds the doctor's dependencies.

type Doctor

type Doctor struct {
	// contains filtered or unexported fields
}

Doctor runs diagnostic checks.

func New

func New(deps Deps) *Doctor

New constructs a Doctor.

func (*Doctor) Run

func (d *Doctor) Run(ctx context.Context) ([]contracts.DoctorCheck, error)

Run returns the list of checks.

type ProfileLister

type ProfileLister interface {
	List(ctx context.Context) ([]contracts.Profile, error)
}

ProfileLister is the minimal interface doctor needs.

Jump to

Keyboard shortcuts

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