{"modulePath":"github.com/AlaudaDevops/toolbox/pr-cli","version":"v0.0.0-20261019083812-38d5e0ad0d24","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package gitlab\n\n## Types\n\n```go\ntype Client struct {\n\t// contains filtered or unexported fields\n}\n```\nClient implements the GitClient interface for GitLab\n\n```go\nfunc (c *Client) AddLabels(labels []string) error\n```\n\n```go\nfunc (c *Client) ApprovePR(message string) error\n```\n\n```go\nfunc (c *Client) AssignReviewers(reviewers []string) error\n```\n\n```go\nfunc (c *Client) BranchExists(branchName string) (bool, error)\n```\n\n```go\nfunc (c *Client) CheckPRStatus(expectedState string) error\n```\n\n```go\nfunc (c *Client) CheckRunsStatus() (bool, []git.CheckRun, error)\n```\n\n```go\nfunc (c *Client) CheckUserPermissions(username string, requiredPerms []string) (bool, string, error)\n```\n\n```go\nfunc (c *Client) CherryPickCommit(commitSHA, targetBranch string) error\n```\n\n```go\nfunc (c *Client) ClosePR() error\n```\n\n```go\nfunc (c *Client) CreateBranch(branchName, baseBranch string) error\n```\n\n```go\nfunc (c *Client) CreatePR(title, body, head, base string) (*git.PullRequest, error)\n```\n\n```go\nfunc (c *Client) DismissApprove(message string) error\n```\n\n```go\nfunc (c *Client) FindIssue(opts git.IssueSearchOptions) (*git.Issue, error)\n```\n\n```go\nfunc (c *Client) GetAvailableMergeMethods() ([]string, error)\n```\n\n```go\nfunc (c *Client) GetComments() ([]git.Comment, error)\n```\n\n```go\nfunc (c *Client) GetCommits() ([]git.Commit, error)\n```\n\n```go\nfunc (c *Client) GetIssue(issueNumber int) (*git.Issue, error)\n```\n\n```go\nfunc (c *Client) GetLGTMVotes(comments []git.Comment, requiredPerms []string, debugMode bool, ignoreUserRemove ...string) (int, map[string]string, error)\n```\n\n```go\nfunc (c *Client) GetLabels() ([]string, error)\n```\n\n```go\nfunc (c *Client) GetPR() (*git.PullRequest, error)\n```\n\n```go\nfunc (c *Client) GetRequestedReviewers() ([]string, error)\n```\n\n```go\nfunc (c *Client) GetReviews() ([]git.Review, error)\n```\n\n```go\nfunc (c *Client) GetUserPermission(username string) (string, error)\n```\n\n```go\nfunc (c *Client) MergePR(method string) error\n```\n\n```go\nfunc (c *Client) PostComment(message string) error\n```\n\n```go\nfunc (c *Client) RebasePR() error\n```\n\n```go\nfunc (c *Client) RemoveLabels(labels []string) error\n```\n\n```go\nfunc (c *Client) RemoveReviewers(reviewers []string) error\n```\n\n```go\nfunc (c *Client) UpdateIssueBody(issueNumber int, body string) error\n```\n\n```go\nfunc (c *Client) UpdatePRBody(body string) error\n```\n\n```go\ntype Factory struct{}\n```\nFactory implements ClientFactory for GitLab\n\n```go\nfunc (f *Factory) CreateClient(logger *logrus.Logger, config *git.Config) (git.GitClient, error)\n```\nCreateClient creates a new GitLab client\n\n","path":"github.com/AlaudaDevops/toolbox/pr-cli/pkg/platforms/gitlab","name":"gitlab","synopsis":"","isRedistributable":true}
