Documentation
¶
Index ¶
- type Client
- func (c *Client) AddLabels(labels []string) error
- func (c *Client) ApprovePR(message string) error
- func (c *Client) AssignReviewers(reviewers []string) error
- func (c *Client) BranchExists(branchName string) (bool, error)
- func (c *Client) CheckPRStatus(expectedState string) error
- func (c *Client) CheckRunsStatus() (bool, []git.CheckRun, error)
- func (c *Client) CheckUserPermissions(username string, requiredPerms []string) (bool, string, error)
- func (c *Client) CherryPickCommit(commitSHA, targetBranch string) error
- func (c *Client) ClosePR() error
- func (c *Client) CreateBranch(branchName, baseBranch string) error
- func (c *Client) CreatePR(title, body, head, base string) (*git.PullRequest, error)
- func (c *Client) DismissApprove(message string) error
- func (c *Client) FindIssue(opts git.IssueSearchOptions) (*git.Issue, error)
- func (c *Client) GetAvailableMergeMethods() ([]string, error)
- func (c *Client) GetComments() ([]git.Comment, error)
- func (c *Client) GetCommits() ([]git.Commit, error)
- func (c *Client) GetIssue(issueNumber int) (*git.Issue, error)
- func (c *Client) GetLGTMVotes(comments []git.Comment, requiredPerms []string, debugMode bool, ...) (int, map[string]string, error)
- func (c *Client) GetLabels() ([]string, error)
- func (c *Client) GetPR() (*git.PullRequest, error)
- func (c *Client) GetRequestedReviewers() ([]string, error)
- func (c *Client) GetReviews() ([]git.Review, error)
- func (c *Client) GetUserPermission(username string) (string, error)
- func (c *Client) MergePR(method string) error
- func (c *Client) PostComment(message string) error
- func (c *Client) RebasePR() error
- func (c *Client) RemoveLabels(labels []string) error
- func (c *Client) RemoveReviewers(reviewers []string) error
- func (c *Client) UpdateIssueBody(issueNumber int, body string) error
- func (c *Client) UpdatePRBody(body string) error
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements the GitClient interface for GitLab
func (*Client) AssignReviewers ¶
func (*Client) CheckPRStatus ¶
func (*Client) CheckUserPermissions ¶
func (*Client) CherryPickCommit ¶
func (*Client) CreateBranch ¶
func (*Client) CreatePR ¶
func (c *Client) CreatePR(title, body, head, base string) (*git.PullRequest, error)
func (*Client) DismissApprove ¶
func (*Client) GetAvailableMergeMethods ¶
func (*Client) GetLGTMVotes ¶
func (*Client) GetRequestedReviewers ¶
func (*Client) GetUserPermission ¶
func (*Client) PostComment ¶
func (*Client) RemoveLabels ¶
func (*Client) RemoveReviewers ¶
func (*Client) UpdateIssueBody ¶
func (*Client) UpdatePRBody ¶
Click to show internal directories.
Click to hide internal directories.