Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppModel ¶
type AppModel struct {
// contains filtered or unexported fields
}
AppModel is the root Bubble Tea model.
type KeyMap ¶
type KeyMap struct {
Start key.Binding
Stop key.Binding
Restart key.Binding
Launch key.Binding
Mailpit key.Binding
XHGui key.Binding
Refresh key.Binding
Filter key.Binding
Help key.Binding
Quit key.Binding
Up key.Binding
Down key.Binding
Enter key.Binding
Detail key.Binding
Back key.Binding
Logs key.Binding
SSH key.Binding
StartAll key.Binding
StopAll key.Binding
Confirm key.Binding
Xdebug key.Binding
Poweroff key.Binding
CopyURL key.Binding
Config key.Binding
PageUp key.Binding
PageDown key.Binding
}
KeyMap defines all key bindings for the TUI.
type ProjectDetail ¶
type ProjectDetail struct {
Name string
Status string
Type string
PHPVersion string
WebserverType string
NodeJSVersion string
Docroot string
DatabaseType string
DatabaseVersion string
XdebugEnabled bool
PerformanceMode string
URLs []string
MailpitURL string
DBPublishedPort string
Addons []string
Services []ServiceInfo
AppRoot string
}
ProjectDetail holds the full detail for a DDEV project (equivalent to `ddev describe`).
type ProjectInfo ¶
ProjectInfo holds the display-relevant fields for a DDEV project.
type ServiceInfo ¶
ServiceInfo holds the name and status of a container service.
type Styles ¶
type Styles struct {
Title lipgloss.Style
StatusBar lipgloss.Style
HelpKey lipgloss.Style
HelpDesc lipgloss.Style
Running lipgloss.Style
Stopped lipgloss.Style
Paused lipgloss.Style
ProjectName lipgloss.Style
ProjectType lipgloss.Style
URL lipgloss.Style
Cursor lipgloss.Style
Divider lipgloss.Style
HelpOverlay lipgloss.Style
DetailLabel lipgloss.Style
DetailValue lipgloss.Style
}
Styles holds all the lipgloss styles used by the TUI.
Click to show internal directories.
Click to hide internal directories.