Documentation
¶
Index ¶
- func HandleAssignLabel(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleCheckList(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleCodeOwner(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleCommentApplySuggestions(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleCommentCreate(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleCommentDelete(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleCommentStatus(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleCommentUpdate(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleCommits(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleCreate(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleDeleteBranch(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleDiff(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleFileViewAdd(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleFileViewDelete(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleFileViewList(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleFind(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleFindByBranches(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleLastAIReview(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleList(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleListActivities(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleListLabels(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleMerge(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleMetadata(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleRestoreBranch(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleReviewSubmit(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleReviewerAdd(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleReviewerCombinedList(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleReviewerDelete(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleReviewerList(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleState(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleUnassignLabel(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleUpdate(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleUserGroupReviewerAdd(pullreqCtrl *pullreq.Controller) http.HandlerFunc
- func HandleUserGroupReviewerDelete(pullreqCtrl *pullreq.Controller) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleAssignLabel ¶
func HandleAssignLabel(pullreqCtrl *pullreq.Controller) http.HandlerFunc
func HandleCheckList ¶
func HandleCheckList(pullreqCtrl *pullreq.Controller) http.HandlerFunc
func HandleCodeOwner ¶
func HandleCodeOwner(pullreqCtrl *pullreq.Controller) http.HandlerFunc
func HandleCommentApplySuggestions ¶
func HandleCommentApplySuggestions(pullreqCtrl *pullreq.Controller) http.HandlerFunc
func HandleCommentCreate ¶
func HandleCommentCreate(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleCommentCreate is an HTTP handler for creating a new pull request comment or a reply to a comment.
func HandleCommentDelete ¶
func HandleCommentDelete(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleCommentDelete is an HTTP handler for deleting a pull request comment.
func HandleCommentStatus ¶
func HandleCommentStatus(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleCommentStatus is an HTTP handler for updating a pull request comment status.
func HandleCommentUpdate ¶
func HandleCommentUpdate(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleCommentUpdate is an HTTP handler for updating a pull request comment.
func HandleCommits ¶
func HandleCommits(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleCommits returns commits for PR.
func HandleCreate ¶
func HandleCreate(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleCreate returns a http.HandlerFunc that creates a new pull request.
func HandleDeleteBranch ¶
func HandleDeleteBranch(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleDeleteBranch deletes the source branch of a PR.
func HandleDiff ¶
func HandleDiff(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleDiff returns a http.HandlerFunc that returns diff.
func HandleFileViewAdd ¶
func HandleFileViewAdd(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleFileViewAdd handles API that marks a file in a PR as viewed.
func HandleFileViewDelete ¶
func HandleFileViewDelete(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleFileViewDelete handles API that removes a file in a PR from being marked as viewed.
func HandleFileViewList ¶
func HandleFileViewList(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleFileViewList handles API that lists all files of the PR marked as viewed for the user..
func HandleFind ¶
func HandleFind(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleFind returns a http.HandlerFunc that finds a pull request.
func HandleFindByBranches ¶
func HandleFindByBranches(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleFindByBranches returns a http.HandlerFunc that finds a pull request from the provided branch pair.
func HandleLastAIReview ¶
func HandleLastAIReview(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleLastAIReview returns a http.HandlerFunc that gets the last ai review for a pull request.
func HandleList ¶
func HandleList(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleList returns a http.HandlerFunc that lists pull requests for a repository.
func HandleListActivities ¶
func HandleListActivities(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleListActivities returns a http.HandlerFunc that lists pull request activities for a pull request.
func HandleListLabels ¶
func HandleListLabels(pullreqCtrl *pullreq.Controller) http.HandlerFunc
func HandleMerge ¶
func HandleMerge(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleCreate returns a http.HandlerFunc that creates a new pull request.
func HandleMetadata ¶
func HandleMetadata(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleMetadata returns a http.HandlerFunc that returns PR metadata.
func HandleRestoreBranch ¶
func HandleRestoreBranch(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleRestoreBranch writes json-encoded branch information to the http response body.
func HandleReviewSubmit ¶
func HandleReviewSubmit(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleReviewSubmit handles API that submits a new pull request review.
func HandleReviewerAdd ¶
func HandleReviewerAdd(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleReviewerAdd handles API that adds a new pull request reviewer.
func HandleReviewerCombinedList ¶
func HandleReviewerCombinedList(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleReviewerCombinedList handles API that returns list of pull request reviewers.
func HandleReviewerDelete ¶
func HandleReviewerDelete(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleReviewerDelete handles API that deletes the given reviewer from a particular Pull request.
func HandleReviewerList ¶
func HandleReviewerList(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleReviewerList handles API that returns list of pull request reviewers.
func HandleState ¶
func HandleState(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleState handles API call to update pull request state.
func HandleUnassignLabel ¶
func HandleUnassignLabel(pullreqCtrl *pullreq.Controller) http.HandlerFunc
func HandleUpdate ¶
func HandleUpdate(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleUpdate handles update pull request API calls.
func HandleUserGroupReviewerAdd ¶
func HandleUserGroupReviewerAdd(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleUserGroupReviewerAdd handles API that adds a new pull request reviewer.
func HandleUserGroupReviewerDelete ¶
func HandleUserGroupReviewerDelete(pullreqCtrl *pullreq.Controller) http.HandlerFunc
HandleUserGroupReviewerDelete handles API that deletes the given reviewer from a particular Pull request.
Types ¶
This section is empty.
Source Files
¶
- activity_list.go
- check_list.go
- codeowner.go
- comment_apply_suggestions.go
- comment_create.go
- comment_delete.go
- comment_status.go
- comment_update.go
- delete_branch.go
- file_view_add.go
- file_view_delete.go
- file_view_list.go
- label_assign.go
- label_list.go
- label_unassign.go
- last_aireview.go
- merge.go
- pr_commits.go
- pr_create.go
- pr_diff.go
- pr_find.go
- pr_list.go
- pr_metadata.go
- pr_state.go
- pr_update.go
- restore_branch.go
- review_submit.go
- reviewer_add.go
- reviewer_delete.go
- reviewer_list.go
- reviewer_list_combined.go
- usergroup_reviewer_add.go
- usergroup_reviewer_delete.go