Documentation ¶
Index ¶
- type Client
- func (c *Client) AddCommentToCommit(projectID int, commitID string, comment string) error
- func (c *Client) AddCommentToMergeRequests(projectID int, mrID int, comment string) error
- func (c *Client) CommitsByProject(projectID int, createdAfter time.Time) ([]*ds.Commit, error)
- func (c *Client) GetCommitDiff(projectID int, commitID string) (result []*service.Diff, err error)
- func (c *Client) GetMergeRequestDiff(projectID int, mrID int) (result []*service.Diff, err error)
- func (c *Client) MergeRequestApproves(projectID int, iid int) ([]*ds.BasicUser, error)
- func (c *Client) MergeRequestsByProject(projectID int, createdAfter time.Time) ([]*ds.MergeRequest, error)
- func (c *Client) SetReviewers(mr *ds.MergeRequest, reviewers []int) error
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
}
func (*Client) AddCommentToCommit ¶
func (*Client) AddCommentToMergeRequests ¶
func (*Client) CommitsByProject ¶
func (*Client) GetCommitDiff ¶
func (*Client) GetMergeRequestDiff ¶
func (*Client) MergeRequestApproves ¶
func (*Client) MergeRequestsByProject ¶
func (c *Client) MergeRequestsByProject(projectID int, createdAfter time.Time) ([]*ds.MergeRequest, error)
MergeRequestsByProject only last 1000 merge requests are processed
func (*Client) SetReviewers ¶
func (c *Client) SetReviewers(mr *ds.MergeRequest, reviewers []int) error
Click to show internal directories.
Click to hide internal directories.