Documentation
¶
Index ¶
- type Asset
- type Client
- func (c *Client) CreatePullRequest(owner string, repo string, message string, head string, base string) (string, error)
- func (c *Client) CreateRelease(ctx context.Context, input *Release) error
- func (c *Client) GetRelease(ctx context.Context, tag string) (*Release, error)
- func (c *Client) GetReleases(ctx context.Context) ([]*Release, error)
- type Release
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is the client for interacting with the GitHub API
func (*Client) CreatePullRequest ¶
func (c *Client) CreatePullRequest(owner string, repo string, message string, head string, base string) (string, error)
CreatePullRequest creates a pull request in the repository specified by repoURL. The return value is the pull request URL.
func (*Client) CreateRelease ¶
CreateRelease creates a new release object in the GitHub API
func (*Client) GetRelease ¶
GetRelease queries the GitHub API for a specified release object
Click to show internal directories.
Click to hide internal directories.