action

package
v0.22.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2021 License: CC0-1.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Issues

func Issues(issueList func(args []string) ([]*gitlab.Issue, error)) carapace.Action

Issues retuns a carapace.Action containing all available issues

func Labels

func Labels(project string) carapace.Action

Labels returns a carapace.Action containing all possible labels

func MergeRequests

func MergeRequests(mrList func(args []string) ([]*gitlab.MergeRequest, error)) carapace.Action

MergeRequests retuns a carapace.Action containing all available merge requests

func Milestones

func Milestones(project string, opts MilestoneOpts) carapace.Action

Milestones returns a carapace.Action containing all possible milestones with their description

func RemoteBranches

func RemoteBranches(argIndex int) carapace.Action

RemoteBranches returns a carapace.Action containing all possible remote branches values

func Remotes

func Remotes() carapace.Action

Remotes returns a carapace.Action containing all possible remote values

func Snippets

func Snippets(snippetList func(args []string) ([]*gitlab.Snippet, error)) carapace.Action

Snippets retuns a carapace.Action containing all available snippets

Types

type MilestoneOpts

type MilestoneOpts struct {
	Active bool
}

MilestoneOpts store filtering information for the milestones to be completed by Milestones().

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL