Documentation ¶
Overview ¶
Package clients implements Git Clients used for API interactions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHub ¶
type GitHub struct { // URLLookup is a map of Github User/Org names and their respective URLs URLLookup KeyPair // contains filtered or unexported fields }
func (*GitHub) AllPullRequestsFor ¶
func (gh *GitHub) AllPullRequestsFor(baseURL, user string, token string) ([]PullRequest, error)
AllPullRequestsFor all repositories for a given user Orgs are not supported for this method
func (*GitHub) AllRepositoriesFor ¶
type PullRequest ¶
type PullRequest struct { Number int `json:"number"` Title string `json:"title"` User Owner `json:"user"` URL string `json:"html_url"` Draft bool `json:"draft"` RepositoryURL string `json:"repository_url"` }
func (PullRequest) RepositoryName ¶
func (pr PullRequest) RepositoryName() string
Directories ¶
Path | Synopsis |
---|---|
Package httpclient provides a client for working with HTTP requests, using a method based API.
|
Package httpclient provides a client for working with HTTP requests, using a method based API. |
Click to show internal directories.
Click to hide internal directories.