Documentation ¶
Index ¶
- func GetCreationDataFromPrompt(config CreateDataPromptConfig) (string, []apiclient.CreateWorkspaceRequestProject, error)
- func GetProjectNameFromRepo(repoUrl string) string
- func GetSanitizedProjectName(projectName string) (string, error)
- func GetSuggestedWorkspaceName(firstProjectName string, existingWorkspaceNames []string) string
- type CreateDataPromptConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCreationDataFromPrompt ¶
func GetCreationDataFromPrompt(config CreateDataPromptConfig) (string, []apiclient.CreateWorkspaceRequestProject, error)
func GetProjectNameFromRepo ¶ added in v0.13.0
func GetSanitizedProjectName ¶ added in v0.19.0
func GetSuggestedWorkspaceName ¶ added in v0.13.0
Types ¶
type CreateDataPromptConfig ¶ added in v0.16.0
type CreateDataPromptConfig struct { ApiServerConfig *apiclient.ServerConfig ExistingWorkspaceNames []string UserGitProviders []apiclient.GitProvider Manual bool MultiProject bool ApiClient *apiclient.APIClient }
Click to show internal directories.
Click to hide internal directories.