Documentation ¶
Index ¶
- Variables
- func GetBranchNameFromPrompt(branches []serverapiclient.GitBranch, secondaryProjectOrder int) string
- func GetNamespaceIdFromPrompt(namespaces []serverapiclient.GitNamespace, secondaryProjectOrder int) string
- func GetProjectFromPrompt(projects []serverapiclient.Project, actionVerb string) *serverapiclient.Project
- func GetProjectRequestFromPrompt(projects []serverapiclient.CreateWorkspaceRequestProject) *serverapiclient.CreateWorkspaceRequestProject
- func GetProviderIdFromPrompt(gitProviders []gitprovider_view.GitProviderView, secondaryProjectOrder int) string
- func GetPullRequestFromPrompt(pullRequests []serverapiclient.GitPullRequest, secondaryProjectOrder int) serverapiclient.GitPullRequest
- func GetRepositoryFromPrompt(repositories []serverapiclient.GitRepository, secondaryProjectOrder int) serverapiclient.GitRepository
- func GetWorkspaceFromPrompt(workspaces []serverapiclient.WorkspaceDTO, actionVerb string) *serverapiclient.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 = serverapiclient.CreateWorkspaceRequestProject{Name: "DoneConfiguringName"}
Functions ¶
func GetBranchNameFromPrompt ¶
func GetBranchNameFromPrompt(branches []serverapiclient.GitBranch, secondaryProjectOrder int) string
func GetNamespaceIdFromPrompt ¶
func GetNamespaceIdFromPrompt(namespaces []serverapiclient.GitNamespace, secondaryProjectOrder int) string
func GetProjectFromPrompt ¶ added in v0.2.0
func GetProjectFromPrompt(projects []serverapiclient.Project, actionVerb string) *serverapiclient.Project
func GetProjectRequestFromPrompt ¶ added in v0.13.0
func GetProjectRequestFromPrompt(projects []serverapiclient.CreateWorkspaceRequestProject) *serverapiclient.CreateWorkspaceRequestProject
func GetProviderIdFromPrompt ¶
func GetProviderIdFromPrompt(gitProviders []gitprovider_view.GitProviderView, secondaryProjectOrder int) string
func GetPullRequestFromPrompt ¶
func GetPullRequestFromPrompt(pullRequests []serverapiclient.GitPullRequest, secondaryProjectOrder int) serverapiclient.GitPullRequest
func GetRepositoryFromPrompt ¶
func GetRepositoryFromPrompt(repositories []serverapiclient.GitRepository, secondaryProjectOrder int) serverapiclient.GitRepository
func GetWorkspaceFromPrompt ¶ added in v0.2.0
func GetWorkspaceFromPrompt(workspaces []serverapiclient.WorkspaceDTO, actionVerb string) *serverapiclient.WorkspaceDTO
Types ¶
type CheckoutOption ¶ added in v0.11.0
func GetCheckoutOptionFromPrompt ¶
func GetCheckoutOptionFromPrompt(secondaryProjectOrder 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.