diagnostic

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package diagnostic publishes Ramen's machine-readable diagnostic catalog.

This package is experimental in Ramen v0.1; CLI diagnostic codes remain documented separately from this Go package's compatibility status.

Index

Constants

View Source
const CatalogVersion = "ramen.diagnostics.v1"

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

type Catalog struct {
	Version string  `json:"version"`
	Entries []Entry `json:"entries"`
}

func CatalogV1

func CatalogV1() Catalog

type Entry

type Entry struct {
	Code        string `json:"code"`
	Severity    string `json:"severity"`
	Meaning     string `json:"meaning"`
	LikelyCause string `json:"likely_cause"`
	Repair      string `json:"repair"`
}

Jump to

Keyboard shortcuts

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