Documentation
¶
Overview ¶
Package inspector demonstrates pkg/inspector — a two-column label/value viewer with expand/collapse for nested structured records. The synthetic payload is a k8s-pod-shaped JSON document fed through inspector.FromMap, which is the path most callers will hit when displaying REST or kubectl-style responses.
Index ¶
- func New(t theme.Theme) screen.Screen
- type Screen
- func (s *Screen) Help() []key.Binding
- func (s *Screen) Init() tea.Cmd
- func (s *Screen) IsCapturingKeys() bool
- func (s *Screen) Layout() layout.Node
- func (s *Screen) OnEnter(any) tea.Cmd
- func (s *Screen) SetTheme(t theme.Theme)
- func (s *Screen) Title() string
- func (s *Screen) Update(msg tea.Msg) (screen.Screen, tea.Cmd)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Screen ¶
type Screen struct {
// contains filtered or unexported fields
}
func (*Screen) IsCapturingKeys ¶
Click to show internal directories.
Click to hide internal directories.