Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the Bubble Tea model for the watch dashboard.
func NewModel ¶
NewModel creates a dashboard model for the given servers. If serverNames is empty, all configured servers are used.
type ServerData ¶
type ServerData struct {
Name string
Status *system.StatusInfo
Containers []docker.Container
DockerStatus string // "ok", "not_installed", "unavailable", ""
Alerts *alerts.AlertResult
Processes []system.ProcessInfo
Error error
LastUpdate time.Time
}
ServerData holds all collected data for a single server.
Click to show internal directories.
Click to hide internal directories.