Documentation
¶
Overview ¶
Package tui provides an interactive terminal dashboard for ToolHive.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamProxyLogs ¶
StreamProxyLogs polls manager.GetProxyLogs for the given workload and sends new lines to the returned channel. Cancel ctx to stop.
func StreamWorkloadLogs ¶
StreamWorkloadLogs starts a goroutine that polls manager.GetLogs for the given workload name and sends new log lines to the returned channel. Cancel the context to stop streaming.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the top-level BubbleTea model for the TUI dashboard.
func New ¶
New creates a new TUI model. logCh (optional) receives slog WARN/ERROR messages captured while the TUI runs.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.