Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppTheme ¶
type AppTheme struct {
Primary string // Main brand color (vibrant green)
Secondary string // Complementary color
Accent string // Accent color for highlights
Text string // Default text color
Subtle string // Subtle text color
Error string // Error color
Warning string // Warning color
Success string // Success color
Background string // Background color
Surface string // Surface color for UI elements
}
AppTheme holds the color theme for the application
type ApplicationState ¶
type ApplicationState int
ApplicationState represents the current state of the application
const ( StateWelcome ApplicationState = iota StateCheckK3s StateConfirmUninstallK3s StateUninstallingK3s StateDebugLogs StateLoading StateRootDetection StateOSInfo StateCheckingSwap StateConfirmCreateSwap StateEnterSwapSize StateCreatingSwap StateSwapCreated StateInstallingPackages StateInstallComplete StateError StateDetectingIPs StateDNSConfig StateDNSValidation StateDNSSuccess StateDNSFailed StateRegistryTypeSelection StateRegistryDomainInput StateRegistryDNSValidation StateExternalRegistryInput StateExternalRegistryValidation StateInstallingK3S StateInstallingUnbind StateInstallationComplete )
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model represents the application state
type RegistryType ¶ added in v0.0.21
type RegistryType int
Registry type enum
const ( RegistrySelfHosted RegistryType = iota // Self-hosted registry RegistryExternal // External registry like Docker Hub )
type Styles ¶
type Styles struct {
Title lipgloss.Style
Normal lipgloss.Style
Bold lipgloss.Style
Subtle lipgloss.Style
Warning lipgloss.Style
Error lipgloss.Style
StatusBar lipgloss.Style
Key lipgloss.Style
SpinnerStyle lipgloss.Style
Success lipgloss.Style
HighlightButton lipgloss.Style
SelectedOption lipgloss.Style
}
Styles contains the styling for the UI
Source Files
¶
- app.go
- commands.go
- messages.go
- states.go
- styles.go
- view_banner.go
- view_common.go
- view_dns.go
- view_dns_config.go
- view_dns_detection.go
- view_dns_validation.go
- view_install.go
- view_k3s_check.go
- view_k3s_install.go
- view_logs.go
- view_registry_domain.go
- view_registry_external.go
- view_swap.go
- view_unbind_install.go
- view_welcome.go
Click to show internal directories.
Click to hide internal directories.