pullreq

package
v0.0.0-...-4c964c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL