Documentation ¶
Index ¶
- func AddProjectFromConfig(projectConfig *apiclient.ProjectConfig, apiClient *apiclient.APIClient, ...) (*string, error)
- func GetBranchFromProjectConfig(projectConfig *apiclient.ProjectConfig, apiClient *apiclient.APIClient, ...) (string, error)
- func GetBranchFromWizard(config BranchWizardConfig) (*apiclient.GitRepository, error)
- func GetBranchFromWizardFromRepo(branchList []apiclient.GitBranch) (*apiclient.GitBranch, error)
- func GetEnvVariables(projectConfigDto *apiclient.CreateProjectConfigDTO, ...) *map[string]string
- func GetProjectNameFromRepo(repoUrl string) string
- func GetProjectsCreationDataFromPrompt(config ProjectsDataPromptConfig) ([]apiclient.CreateProjectConfigDTO, error)
- func GetSanitizedProjectName(projectName string) (string, error)
- func GetSuggestedName(initialSuggestion string, existingNames []string) string
- func IsProjectRunning(workspace *apiclient.WorkspaceDTO, projectName string) bool
- type BranchWizardConfig
- type ProjectsDataPromptConfig
- type RepositoryWizardConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddProjectFromConfig ¶ added in v0.24.0
func AddProjectFromConfig(projectConfig *apiclient.ProjectConfig, apiClient *apiclient.APIClient, projects *[]apiclient.CreateProjectConfigDTO, branchFlag string) (*string, error)
func GetBranchFromProjectConfig ¶ added in v0.24.0
func GetBranchFromWizard ¶ added in v0.24.0
func GetBranchFromWizard(config BranchWizardConfig) (*apiclient.GitRepository, error)
func GetBranchFromWizardFromRepo ¶ added in v0.24.0
func GetEnvVariables ¶ added in v0.24.0
func GetEnvVariables(projectConfigDto *apiclient.CreateProjectConfigDTO, profileData *apiclient.ProfileData) *map[string]string
func GetProjectNameFromRepo ¶ added in v0.13.0
func GetProjectsCreationDataFromPrompt ¶ added in v0.24.0
func GetProjectsCreationDataFromPrompt(config ProjectsDataPromptConfig) ([]apiclient.CreateProjectConfigDTO, error)
func GetSanitizedProjectName ¶ added in v0.19.0
func GetSuggestedName ¶ added in v0.24.0
func IsProjectRunning ¶ added in v0.24.0
func IsProjectRunning(workspace *apiclient.WorkspaceDTO, projectName string) bool
Types ¶
type BranchWizardConfig ¶ added in v0.24.0
type ProjectsDataPromptConfig ¶ added in v0.24.0
type ProjectsDataPromptConfig struct { UserGitProviders []apiclient.GitProvider ProjectConfigs []apiclient.ProjectConfig Manual bool SkipBranchSelection bool MultiProject bool BlankProject bool ApiClient *apiclient.APIClient Defaults *create.ProjectConfigDefaults }
Click to show internal directories.
Click to hide internal directories.