Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LandRequest ¶
type LandRequest struct { // PullRqeuest to land PullRequest *github.PullRequest // Name of the local branch that points to this PR or an empty string if a // local branch for this PR is not known. LocalBranch string // Editor to use for editing the commit message. Editor editor.Editor }
LandRequest is a request to land the given pull request.
type LandResponse ¶
type LandResponse struct {
BranchesNotUpdated []string
}
LandResponse is the response of a land request.
type PR ¶
type PR interface { // Lands a pull request Land(*LandRequest) (*LandResponse, error) // Rebases a pull request. Rebase(*RebaseRequest) (*RebaseResponse, error) }
PR is the service that provides pull request related operations.
type RebaseRequest ¶
type RebaseRequest struct { PullRequests []*github.PullRequest Base string }
RebaseRequest is a request to rebase the given list of pull requests and their dependencies onto the given base branch.
If the base branch for the given PRs on GitHub is not the same as Base, this will be updated too.
type RebaseResponse ¶
type RebaseResponse struct { // Local branches that were not updated because their heads did not match // the remotes. BranchesNotUpdated []string }
RebaseResponse is the response of the Rebase operation.
Click to show internal directories.
Click to hide internal directories.