Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct {
Application struct {
Template struct {
Name string `yaml:"name"`
DeploymentName string `yaml:"deploymentName"`
RegistryLogin struct {
Registry string `yaml:"registry"`
Username string `yaml:"username"`
PersonalAccessToken string `yaml:"personalAccessToken"`
} `yaml:"registryLogin"`
Pods []struct {
Type string `yaml:"type"`
ExposeHttp bool `yaml:"exposeHttp"`
Name string `yaml:"name"`
Tag string `yaml:"tag"`
PrivateTag bool `yaml:"privateTag"`
Vars []struct {
Key string `yaml:"key"`
Value string `yaml:"value"`
} `yaml:"vars"`
} `yaml:"pods"`
} `yaml:"template"`
} `yaml:"application"`
}
type DeploymentConfig ¶
type DeploymentConfig struct {
AppName string
DeploymentName string
DatabaseType string
BackendType string
FrontendType string
GithubUsername string
GithubToken string
}
DeploymentConfig holds the configuration for deployment
type DeploymentWizard ¶
type DeploymentWizard struct {
// contains filtered or unexported fields
}
DeploymentWizard handles the interactive deployment creation process
func NewDeploymentWizard ¶
func NewDeploymentWizard() *DeploymentWizard
NewDeploymentWizard creates a new deployment wizard
func (*DeploymentWizard) GetDeploymentConfig ¶
func (w *DeploymentWizard) GetDeploymentConfig() (map[string]interface{}, error)
GetDeploymentConfig returns the deployment configuration
func (*DeploymentWizard) Run ¶
func (w *DeploymentWizard) Run() error
Run starts the deployment wizard
func (*DeploymentWizard) SaveDeploymentConfig ¶
func (w *DeploymentWizard) SaveDeploymentConfig(config map[string]interface{}) error
SaveDeploymentConfig saves the deployment configuration to disk
type Editor ¶
type Editor struct {
// contains filtered or unexported fields
}
Editor represents the YAML editor component
func (Editor) GetContent ¶
GetContent returns the editor content
func (*Editor) SetContent ¶
SetContent sets the editor content
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model represents the TUI state
Click to show internal directories.
Click to hide internal directories.