Documentation
¶
Index ¶
- type Worker
- func (w *Worker) AddLabels(owner string, repo string, number int, labels []string) ([]*v41.Label, error)
- func (w *Worker) CreateCheckRun(owner string, repo string, checkrun v41.CreateCheckRunOptions) (*v41.CheckRun, error)
- func (w *Worker) DeleteRef(owner string, repo string, ref string) (*v41.Response, error)
- func (w *Worker) GetCheckRun(owner string, repo string, checkrunId int64) (*v41.CheckRun, error)
- func (w *Worker) GetPullRequest(owner string, repo string, number int) (*v41.PullRequest, error)
- func (w *Worker) GetRef(owner string, repo string, ref string) (*v41.Reference, error)
- func (w *Worker) Handler(response http.ResponseWriter, request *http.Request)
- func (w *Worker) MergePullRequest(owner string, repo string, number int, commitMessage string, ...) (*v41.PullRequestMergeResult, error)
- func (w *Worker) PullRequestCreateComment(owner string, repo string, number int, comment v41.IssueComment) (*v41.IssueComment, error)
- func (w *Worker) PullRequestCreateCommentReview(owner string, repo string, number int, comment v41.PullRequestComment) (*v41.PullRequestComment, error)
- func (w *Worker) PullRequestCreateReview(owner string, repo string, number int, review v41.PullRequestReviewRequest) (*v41.PullRequestReview, error)
- func (w *Worker) UpdateCheckRun(owner string, repo string, checkRunId int64, ...) (*v41.CheckRun, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Worker ¶
func (*Worker) CreateCheckRun ¶
func (*Worker) GetCheckRun ¶
func (*Worker) GetPullRequest ¶
func (*Worker) Handler ¶
func (w *Worker) Handler(response http.ResponseWriter, request *http.Request)
func (*Worker) MergePullRequest ¶
func (w *Worker) MergePullRequest(owner string, repo string, number int, commitMessage string, options v41.PullRequestOptions) (*v41.PullRequestMergeResult, error)
func (*Worker) PullRequestCreateComment ¶
func (w *Worker) PullRequestCreateComment(owner string, repo string, number int, comment v41.IssueComment) (*v41.IssueComment, error)
func (*Worker) PullRequestCreateCommentReview ¶
func (w *Worker) PullRequestCreateCommentReview(owner string, repo string, number int, comment v41.PullRequestComment) (*v41.PullRequestComment, error)
func (*Worker) PullRequestCreateReview ¶
func (w *Worker) PullRequestCreateReview(owner string, repo string, number int, review v41.PullRequestReviewRequest) (*v41.PullRequestReview, error)
Click to show internal directories.
Click to hide internal directories.