Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreationCommand string
CreationCommand stores the command to run after browser exits
Functions ¶
func StartBrowser ¶
StartBrowser is the entry point for the browser TUI
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model represents the TUI application state
type ProductType ¶
type ProductType int
ProductType represents a product category
const ( ProductInstances ProductType = iota ProductKubernetes ProductManagedDatabases ProductManagedAnalytics ProductStorage ProductNetworks ProductProjects )
type ViewMode ¶
type ViewMode int
ViewMode represents the current view mode
const ( ProjectSelectView ViewMode = iota // Initial view to select a project TableView // List view for products DetailView // Detail view for a single item NodePoolsView // Node pools management view NodePoolDetailView // Detail view for a single node pool LoadingView ErrorView EmptyView // Empty list with creation prompt WizardView // Multi-step wizard for resource creation DeleteConfirmView // Confirmation dialog for deletion DebugView // Debug panel showing API requests KubeUpgradeView // Kubernetes cluster upgrade selection KubePolicyEditView // Kubernetes cluster policy edit KubeDeleteConfirmView // Kubernetes cluster delete confirmation NodePoolScaleView // Node pool scale view NodePoolDeleteConfirmView // Node pool delete confirmation KubeKubeconfigPickerView // Directory picker for saving kubeconfig ComingSoonView // Coming soon placeholder for unimplemented products )
type WizardData ¶
type WizardData struct {
// contains filtered or unexported fields
}
WizardData holds the state for the creation wizard
type WizardStep ¶
type WizardStep int
WizardStep represents the current step in the creation wizard
const ( // Instance wizard steps WizardStepRegion WizardStep = iota WizardStepFlavor WizardStepImage WizardStepSSHKey WizardStepNetwork WizardStepFloatingIP // For private network without public network WizardStepName WizardStepConfirm // Kubernetes wizard steps (offset by 100 to avoid conflicts) KubeWizardStepRegion WizardStep = iota + 100 KubeWizardStepVersion KubeWizardStepNetwork KubeWizardStepSubnet KubeWizardStepName KubeWizardStepOptions KubeWizardStepConfirm // Node pool wizard steps (offset by 200) NodePoolWizardStepFlavor WizardStep = iota + 200 NodePoolWizardStepName NodePoolWizardStepSize NodePoolWizardStepOptions NodePoolWizardStepConfirm )
Click to show internal directories.
Click to hide internal directories.