Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
HTTPClient *httputil.HTTPClient
}
Client contains the HTTPClient used to communicate with the GitHubAPI
func NewGithubClient ¶
func NewGithubClient(c *httputil.HTTPClient) *Client
NewGithubClient returns a HTTP client for interfacing with github
func (*Client) GithubRequest ¶
GithubRequest Sends an http request to github and returns a basic response obj
func (*Client) RepoLatestRequest ¶
func (c *Client) RepoLatestRequest(orgName string, repoName string) (*RepoLatestResponse, error)
RepoLatestRequest Makes a request to grab the latest release of a github repository
func (*Client) RepoTagRequest ¶
func (c *Client) RepoTagRequest(orgName string, repoName string, tagName string) (*RepoLatestResponse, error)
RepoTagRequest makes a request to grab a specific tag of a github repository
Click to show internal directories.
Click to hide internal directories.