Documentation ¶
Index ¶
- func ConfigureProjects(projectList []serverapiclient.CreateWorkspaceRequestProject) ([]serverapiclient.CreateWorkspaceRequestProject, error)
- func GetProjectConfigurationGroup(projectConfiguration *ProjectConfigurationData) *huh.Group
- func RenderSummary(workspaceName string, ...) (string, error)
- func RunSubmissionForm(workspaceName *string, suggestedName string, workspaceNames []string, ...) error
- type Model
- type ProjectConfigurationData
- type Styles
- type SummaryModel
- type WorkspaceCreationPromptResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureProjects ¶ added in v0.13.0
func ConfigureProjects(projectList []serverapiclient.CreateWorkspaceRequestProject) ([]serverapiclient.CreateWorkspaceRequestProject, error)
func GetProjectConfigurationGroup ¶ added in v0.13.0
func GetProjectConfigurationGroup(projectConfiguration *ProjectConfigurationData) *huh.Group
func RenderSummary ¶ added in v0.13.0
func RenderSummary(workspaceName string, projectList []serverapiclient.CreateWorkspaceRequestProject) (string, error)
func RunSubmissionForm ¶ added in v0.15.0
func RunSubmissionForm(workspaceName *string, suggestedName string, workspaceNames []string, projectList *[]serverapiclient.CreateWorkspaceRequestProject, apiServerConfig *serverapiclient.ServerConfig) error
Types ¶
type ProjectConfigurationData ¶ added in v0.15.0
type Styles ¶
type SummaryModel ¶ added in v0.13.0
type SummaryModel struct {
// contains filtered or unexported fields
}
func NewSummaryModel ¶ added in v0.13.0
func NewSummaryModel(workspaceName *string, suggestedName string, workspaceNames []string, projectList []serverapiclient.CreateWorkspaceRequestProject) SummaryModel
func (SummaryModel) Init ¶ added in v0.13.0
func (m SummaryModel) Init() tea.Cmd
func (SummaryModel) View ¶ added in v0.13.0
func (m SummaryModel) View() string
type WorkspaceCreationPromptResponse ¶
type WorkspaceCreationPromptResponse struct { WorkspaceName string InitialProject serverapiclient.CreateWorkspaceRequestProject AdditionalProjects []serverapiclient.CreateWorkspaceRequestProject AddingMoreProjects bool }
func RunInitialForm ¶ added in v0.11.0
func RunInitialForm(initialRepoUrl string, multiProject bool) (WorkspaceCreationPromptResponse, error)
func RunProjectForm ¶ added in v0.13.0
func RunProjectForm(workspaceCreationPromptResponse WorkspaceCreationPromptResponse, providerRepoUrl string) (WorkspaceCreationPromptResponse, error)
Click to show internal directories.
Click to hide internal directories.