inspectable

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inspectable

type Inspectable interface {
	// InspectTitle returns the display name for the modal header
	InspectTitle() string

	// InspectContent returns the formatted content for the viewport
	InspectContent() string
}

Inspectable represents a resource that can be displayed in an inspector modal. Each resource type implements this interface to render itself, avoiding type switches and interface{} code smells in the TUI.

Jump to

Keyboard shortcuts

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