Documentation ¶
Index ¶
- Variables
- func GetBranchNameFromPrompt(branches []gitprovider.GitBranch, secondaryProjectOrder int) string
- func GetCheckoutOptionFromPrompt(secondaryProjectOrder int, checkoutOptions []gitprovider.CheckoutOption) gitprovider.CheckoutOption
- func GetNamespaceIdFromPrompt(namespaces []gitprovider.GitNamespace, secondaryProjectOrder int) string
- func GetProjectFromPrompt(projects []serverapiclient.Project, actionVerb string) *serverapiclient.Project
- func GetProviderIdFromPrompt(gitProviders []config.GitProvider, secondaryProjectOrder int) string
- func GetPullRequestFromPrompt(pullRequests []gitprovider.GitPullRequest, secondaryProjectOrder int) gitprovider.GitPullRequest
- func GetRepositoryFromPrompt(repositories []types.Repository, secondaryProjectOrder int) types.Repository
- func GetWorkspaceFromPrompt(workspaces []serverapiclient.Workspace, actionVerb string) *serverapiclient.Workspace
- type ItemDelegate
Constants ¶
This section is empty.
Variables ¶
View Source
var CustomRepoIdentifier = "<CUSTOM_REPO>"
Functions ¶
func GetBranchNameFromPrompt ¶
func GetBranchNameFromPrompt(branches []gitprovider.GitBranch, secondaryProjectOrder int) string
func GetCheckoutOptionFromPrompt ¶
func GetCheckoutOptionFromPrompt(secondaryProjectOrder int, checkoutOptions []gitprovider.CheckoutOption) gitprovider.CheckoutOption
func GetNamespaceIdFromPrompt ¶
func GetNamespaceIdFromPrompt(namespaces []gitprovider.GitNamespace, secondaryProjectOrder int) string
func GetProjectFromPrompt ¶ added in v0.2.0
func GetProjectFromPrompt(projects []serverapiclient.Project, actionVerb string) *serverapiclient.Project
func GetProviderIdFromPrompt ¶
func GetProviderIdFromPrompt(gitProviders []config.GitProvider, secondaryProjectOrder int) string
func GetPullRequestFromPrompt ¶
func GetPullRequestFromPrompt(pullRequests []gitprovider.GitPullRequest, secondaryProjectOrder int) gitprovider.GitPullRequest
func GetRepositoryFromPrompt ¶
func GetRepositoryFromPrompt(repositories []types.Repository, secondaryProjectOrder int) types.Repository
func GetWorkspaceFromPrompt ¶ added in v0.2.0
func GetWorkspaceFromPrompt(workspaces []serverapiclient.Workspace, actionVerb string) *serverapiclient.Workspace
Types ¶
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.