Documentation
¶
Index ¶
- func AddIssueComment(client *http.Client, owner, repo string, issueNum int, body string) error
- func AddPRComment(client *http.Client, owner, repo string, prNum int, body string) error
- func CreateIssue(client *http.Client, owner, repo string, title, body string) error
- func CreatePR(client *http.Client, owner, repo string, head, base string) error
- func Download(client *http.Client, owner, repo, ref, path string) error
- func DownloadFromURL(client *http.Client, url string) error
- func GetActionJobInfo(client *http.Client, owner, repo string, runID, jobID int) error
- func GetGitHubClient(credentialsFile string, pat string) (*http.Client, error)
- func ListActionJobs(client *http.Client, owner, repo string, runID int) error
- func ListActions(client *http.Client, owner, repo string) error
- func ListIssueComments(client *http.Client, owner, repo string, issueNum int) error
- func ListIssues(client *http.Client, owner, repo string) error
- func ListPRComments(client *http.Client, owner, repo string, prNum int) error
- func ListPRs(client *http.Client, owner, repo string) error
- func ParseGitHubURL(url string) (owner, repo, ref, path string, err error)
- func StreamActionJobLogs(client *http.Client, owner, repo string, runID, jobID int) error
- type AccessTokenResponse
- type DeviceCodeResponse
- type GitHubCredentials
- type RepoPath
- type TokenErrorResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddIssueComment ¶
func AddPRComment ¶
func CreateIssue ¶
func GetActionJobInfo ¶
func GetGitHubClient ¶
func ListIssueComments ¶
func ParseGitHubURL ¶ added in v1.1.3
Types ¶
type AccessTokenResponse ¶
type DeviceCodeResponse ¶
type GitHubCredentials ¶
type GitHubCredentials struct {
ClientID string `json:"client_id"`
}
type TokenErrorResponse ¶
Click to show internal directories.
Click to hide internal directories.