Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIssue ¶ added in v1.191.0
func CreateIssue(ghCreateIssueOptions *CreateIssueOptions) (*github.Issue, error)
Types ¶
type CreateIssueOptions ¶ added in v1.191.0
type CreateIssueOptions struct { APIURL string `json:"apiUrl,omitempty"` Assignees []string `json:"assignees,omitempty"` Body []byte `json:"body,omitempty"` Owner string `json:"owner,omitempty"` Repository string `json:"repository,omitempty"` Title string `json:"title,omitempty"` UpdateExisting bool `json:"updateExisting,omitempty"` Token string `json:"token,omitempty"` TrustedCerts []string `json:"trustedCerts,omitempty"` Issue *github.Issue `json:"issue,omitempty"` }
CreateIssueOptions to configure the creation
type FetchCommitOptions ¶ added in v1.192.0
type FetchCommitOptions struct { APIURL string `json:"apiUrl,omitempty"` Owner string `json:"owner,omitempty"` Repository string `json:"repository,omitempty"` Token string `json:"token,omitempty"` SHA string `json:"sha,omitempty"` TrustedCerts []string `json:"trustedCerts,omitempty"` }
FetchCommitOptions to configure the lookup
type FetchCommitResult ¶ added in v1.192.0
FetchCommitResult to handle the lookup result
func FetchCommitStatistics ¶ added in v1.192.0
func FetchCommitStatistics(options *FetchCommitOptions) (FetchCommitResult, error)
https://docs.github.com/en/rest/reference/commits#get-a-commit FetchCommitStatistics looks up the statistics for a certain commit SHA.
Click to show internal directories.
Click to hide internal directories.