Documentation ¶
Index ¶
- Variables
- func GetBranchFromPrompt(branches []apiclient.GitBranch, additionalProjectOrder int) *apiclient.GitBranch
- func GetNamespaceIdFromPrompt(namespaces []apiclient.GitNamespace, additionalProjectOrder int, ...) string
- func GetProjectFromPrompt(projects []apiclient.Project, actionVerb string) *apiclient.Project
- func GetProjectRequestFromPrompt(projects *[]apiclient.CreateWorkspaceRequestProject) *apiclient.CreateWorkspaceRequestProject
- func GetProviderIdFromPrompt(gitProviders []gitprovider_view.GitProviderView, additionalProjectOrder int, ...) string
- func GetPullRequestFromPrompt(pullRequests []apiclient.GitPullRequest, additionalProjectOrder int) *apiclient.GitPullRequest
- func GetRepositoryFromPrompt(repositories []apiclient.GitRepository, index int, parentId string, ...) *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 CustomRepoIdentifier = "<CUSTOM_REPO>"
View Source
var DoneConfiguring = apiclient.CreateWorkspaceRequestProject{Name: "DoneConfiguringName"}
Functions ¶
func GetBranchFromPrompt ¶ added in v0.16.0
func GetProjectFromPrompt ¶ added in v0.2.0
func GetProjectRequestFromPrompt ¶ added in v0.13.0
func GetProjectRequestFromPrompt(projects *[]apiclient.CreateWorkspaceRequestProject) *apiclient.CreateWorkspaceRequestProject
func GetProviderIdFromPrompt ¶
func GetProviderIdFromPrompt(gitProviders []gitprovider_view.GitProviderView, additionalProjectOrder int, disabledGitProviders map[string]bool) string
func GetPullRequestFromPrompt ¶
func GetPullRequestFromPrompt(pullRequests []apiclient.GitPullRequest, additionalProjectOrder int) *apiclient.GitPullRequest
func GetRepositoryFromPrompt ¶
func GetRepositoryFromPrompt(repositories []apiclient.GitRepository, index int, parentId string, selectedReposParentMap map[string]bool, selectedRepos map[string]bool) *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(additionalProjectOrder 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.