Documentation ¶
Index ¶
- Variables
- func GetBranchFromPrompt(branches []apiclient.GitBranch, projectOrder int) *apiclient.GitBranch
- func GetNamespaceIdFromPrompt(namespaces []apiclient.GitNamespace, projectOrder int) string
- func GetProjectConfigFromPrompt(projectConfigs []apiclient.ProjectConfig, projectOrder int, ...) *apiclient.ProjectConfig
- func GetProjectFromPrompt(projects []apiclient.Project, actionVerb string) *apiclient.Project
- func GetProjectRequestFromPrompt(projects *[]apiclient.CreateProjectConfigDTO) *apiclient.CreateProjectConfigDTO
- func GetProviderIdFromPrompt(gitProviders []gitprovider_view.GitProviderView, projectOrder int) string
- func GetPullRequestFromPrompt(pullRequests []apiclient.GitPullRequest, projectOrder int) *apiclient.GitPullRequest
- func GetRepositoryFromPrompt(repositories []apiclient.GitRepository, projectOrder int, ...) *apiclient.GitRepository
- func GetWorkspaceFromPrompt(workspaces []apiclient.WorkspaceDTO, actionVerb string) *apiclient.WorkspaceDTO
- func GetWorkspacesFromPrompt(workspaces []apiclient.WorkspaceDTO, actionVerb string) []*apiclient.WorkspaceDTO
- type CheckoutOption
- type ItemDelegate
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CheckoutDefault = CheckoutOption{Title: "Clone the default branch", Id: "default"} CheckoutBranch = CheckoutOption{Title: "Branches", Id: "branch"} CheckoutPR = CheckoutOption{Title: "Pull/Merge requests", Id: "pullrequest"} )
View Source
var BlankProjectIdentifier = "<BLANK_PROJECT>"
View Source
var CustomRepoIdentifier = "<CUSTOM_REPO>"
View Source
var DoneConfiguring = apiclient.CreateProjectConfigDTO{
Name: doneConfiguringName,
}
Functions ¶
func GetBranchFromPrompt ¶ added in v0.16.0
func GetNamespaceIdFromPrompt ¶
func GetNamespaceIdFromPrompt(namespaces []apiclient.GitNamespace, projectOrder int) string
func GetProjectConfigFromPrompt ¶ added in v0.24.0
func GetProjectConfigFromPrompt(projectConfigs []apiclient.ProjectConfig, projectOrder int, showBlankOption bool, actionVerb string) *apiclient.ProjectConfig
func GetProjectFromPrompt ¶ added in v0.2.0
func GetProjectRequestFromPrompt ¶ added in v0.13.0
func GetProjectRequestFromPrompt(projects *[]apiclient.CreateProjectConfigDTO) *apiclient.CreateProjectConfigDTO
func GetProviderIdFromPrompt ¶
func GetProviderIdFromPrompt(gitProviders []gitprovider_view.GitProviderView, projectOrder int) string
func GetPullRequestFromPrompt ¶
func GetPullRequestFromPrompt(pullRequests []apiclient.GitPullRequest, projectOrder int) *apiclient.GitPullRequest
func GetRepositoryFromPrompt ¶
func GetRepositoryFromPrompt(repositories []apiclient.GitRepository, projectOrder int, selectedRepos map[string]int) *apiclient.GitRepository
func GetWorkspaceFromPrompt ¶ added in v0.2.0
func GetWorkspaceFromPrompt(workspaces []apiclient.WorkspaceDTO, actionVerb string) *apiclient.WorkspaceDTO
func GetWorkspacesFromPrompt ¶ added in v0.18.0
func GetWorkspacesFromPrompt(workspaces []apiclient.WorkspaceDTO, actionVerb string) []*apiclient.WorkspaceDTO
Types ¶
type CheckoutOption ¶ added in v0.11.0
func GetCheckoutOptionFromPrompt ¶
func GetCheckoutOptionFromPrompt(projectOrder int, checkoutOptions []CheckoutOption) CheckoutOption
type ItemDelegate ¶ added in v0.4.0
type ItemDelegate[T any] struct { }
func (ItemDelegate[T]) Height ¶ added in v0.4.0
func (d ItemDelegate[T]) Height() int
func (ItemDelegate[T]) Spacing ¶ added in v0.4.0
func (d ItemDelegate[T]) Spacing() int
Click to show internal directories.
Click to hide internal directories.