Documentation ¶
Index ¶
- func ConfigureProjects(projectList []serverapiclient.CreateWorkspaceRequestProject, ...) ([]serverapiclient.CreateWorkspaceRequestProject, error)
- func DisplayMultiSubmitForm(workspaceName string, ...) error
- func GetProjectConfigurationGroup(image *string, user *string, postStartCommands *string) *huh.Group
- func GetWorkspaceDataFromPrompt(apiServerConfig *serverapiclient.ServerConfig, suggestedName string, ...) (string, string, string, []string, error)
- func RenderSummary(workspaceName string, ...) (string, error)
- type Model
- type Styles
- type SummaryModel
- type WorkspaceCreationPromptResponse
- type WorkspaceDataModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureProjects ¶ added in v0.13.0
func ConfigureProjects(projectList []serverapiclient.CreateWorkspaceRequestProject, defaultContainerImage string, defaultContainerUser string, defaultPostStartCommands string) ([]serverapiclient.CreateWorkspaceRequestProject, error)
func DisplayMultiSubmitForm ¶ added in v0.13.0
func DisplayMultiSubmitForm(workspaceName string, projectList *[]serverapiclient.CreateWorkspaceRequestProject, apiServerConfig *serverapiclient.ServerConfig, doneCheck *bool) error
func GetProjectConfigurationGroup ¶ added in v0.13.0
func GetWorkspaceDataFromPrompt ¶ added in v0.13.0
func GetWorkspaceDataFromPrompt(apiServerConfig *serverapiclient.ServerConfig, suggestedName string, workspaceNames []string, showConfigurationOption bool) (string, string, string, []string, error)
func RenderSummary ¶ added in v0.13.0
func RenderSummary(workspaceName string, projectList []serverapiclient.CreateWorkspaceRequestProject) (string, error)
Types ¶
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, 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 PrimaryProject serverapiclient.CreateWorkspaceRequestProject SecondaryProjects []serverapiclient.CreateWorkspaceRequestProject AddingMoreProjects bool }
func RunInitialForm ¶ added in v0.11.0
func RunInitialForm(primaryRepoUrl string, multiProject bool) (WorkspaceCreationPromptResponse, error)
func RunProjectForm ¶ added in v0.13.0
func RunProjectForm(workspaceCreationPromptResponse WorkspaceCreationPromptResponse, providerRepoUrl string) (WorkspaceCreationPromptResponse, error)
type WorkspaceDataModel ¶ added in v0.13.0
type WorkspaceDataModel struct {
// contains filtered or unexported fields
}
func NewWorkspaceDataModel ¶ added in v0.13.0
func (WorkspaceDataModel) Init ¶ added in v0.13.0
func (m WorkspaceDataModel) Init() tea.Cmd
func (WorkspaceDataModel) View ¶ added in v0.13.0
func (m WorkspaceDataModel) View() string
Click to show internal directories.
Click to hide internal directories.