Documentation ¶
Overview ¶
Package actionutil provides utility functions for Github actions.
Index ¶
- func GitCommitPush(paths []string, message string) error
- func GitConfig(name, email string) error
- func GitDiff(path string) (string, error)
- func PRComment(ctx context.Context, token string, content string) error
- type Client
- func (c *Client) ActionsCancelWorkflowRunByID(ctx context.Context, runID int64) (*github.Response, error)
- func (c *Client) ActionsCreateOrUpdateSecret(ctx context.Context, eSecret *github.EncryptedSecret) (*github.Response, error)
- func (c *Client) ActionsCreateRegistrationToken(ctx context.Context) (*github.RegistrationToken, *github.Response, error)
- func (c *Client) ActionsCreateRemoveToken(ctx context.Context) (*github.RemoveToken, *github.Response, error)
- func (c *Client) ActionsDeleteArtifact(ctx context.Context, artifactID int64) (*github.Response, error)
- func (c *Client) ActionsDeleteSecret(ctx context.Context, name string) (*github.Response, error)
- func (c *Client) ActionsDownloadArtifact(ctx context.Context, artifactID int64, followRedirects bool) (*url.URL, *github.Response, error)
- func (c *Client) ActionsGetArtifact(ctx context.Context, artifactID int64) (*github.Artifact, *github.Response, error)
- func (c *Client) ActionsGetPublicKey(ctx context.Context) (*github.PublicKey, *github.Response, error)
- func (c *Client) ActionsGetRunner(ctx context.Context, runnerID int64) (*github.Runner, *github.Response, error)
- func (c *Client) ActionsGetSecret(ctx context.Context, name string) (*github.Secret, *github.Response, error)
- func (c *Client) ActionsGetWorkflowByFileName(ctx context.Context, workflowFileName string) (*github.Workflow, *github.Response, error)
- func (c *Client) ActionsGetWorkflowByID(ctx context.Context, workflowID int64) (*github.Workflow, *github.Response, error)
- func (c *Client) ActionsGetWorkflowJobByID(ctx context.Context, jobID int64) (*github.WorkflowJob, *github.Response, error)
- func (c *Client) ActionsGetWorkflowJobLogs(ctx context.Context, jobID int64, followRedirects bool) (*url.URL, *github.Response, error)
- func (c *Client) ActionsGetWorkflowRunByID(ctx context.Context, runID int64) (*github.WorkflowRun, *github.Response, error)
- func (c *Client) ActionsGetWorkflowRunLogs(ctx context.Context, runID int64, followRedirects bool) (*url.URL, *github.Response, error)
- func (c *Client) ActionsListRepositoryWorkflowRuns(ctx context.Context, opts *github.ListOptions) (*github.WorkflowRuns, *github.Response, error)
- func (c *Client) ActionsListRunnerApplicationDownloads(ctx context.Context) ([]*github.RunnerApplicationDownload, *github.Response, error)
- func (c *Client) ActionsListRunners(ctx context.Context, opts *github.ListOptions) (*github.Runners, *github.Response, error)
- func (c *Client) ActionsListSecrets(ctx context.Context, opts *github.ListOptions) (*github.Secrets, *github.Response, error)
- func (c *Client) ActionsListWorkflowJobs(ctx context.Context, runID int64, opts *github.ListWorkflowJobsOptions) (*github.Jobs, *github.Response, error)
- func (c *Client) ActionsListWorkflowRunArtifacts(ctx context.Context, runID int64, opts *github.ListOptions) (*github.ArtifactList, *github.Response, error)
- func (c *Client) ActionsListWorkflowRunsByFileName(ctx context.Context, workflowFileName string, ...) (*github.WorkflowRuns, *github.Response, error)
- func (c *Client) ActionsListWorkflowRunsByID(ctx context.Context, workflowID int64, opts *github.ListWorkflowRunsOptions) (*github.WorkflowRuns, *github.Response, error)
- func (c *Client) ActionsListWorkflows(ctx context.Context, opts *github.ListOptions) (*github.Workflows, *github.Response, error)
- func (c *Client) ActionsRemoveRunner(ctx context.Context, runnerID int64) (*github.Response, error)
- func (c *Client) ActionsRerunWorkflowByID(ctx context.Context, runID int64) (*github.Response, error)
- func (c *Client) ActivityDeleteRepositorySubscription(ctx context.Context) (*github.Response, error)
- func (c *Client) ActivityGetRepositorySubscription(ctx context.Context) (*github.Subscription, *github.Response, error)
- func (c *Client) ActivityIsStarred(ctx context.Context) (bool, *github.Response, error)
- func (c *Client) ActivityListEventsForRepoNetwork(ctx context.Context, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
- func (c *Client) ActivityListIssueEventsForRepository(ctx context.Context, opts *github.ListOptions) ([]*github.IssueEvent, *github.Response, error)
- func (c *Client) ActivityListRepositoryEvents(ctx context.Context, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
- func (c *Client) ActivityListRepositoryNotifications(ctx context.Context, opts *github.NotificationListOptions) ([]*github.Notification, *github.Response, error)
- func (c *Client) ActivityListStargazers(ctx context.Context, opts *github.ListOptions) ([]*github.Stargazer, *github.Response, error)
- func (c *Client) ActivityListWatchers(ctx context.Context, opts *github.ListOptions) ([]*github.User, *github.Response, error)
- func (c *Client) ActivityMarkRepositoryNotificationsRead(ctx context.Context, lastRead time.Time) (*github.Response, error)
- func (c *Client) ActivitySetRepositorySubscription(ctx context.Context, subscription *github.Subscription) (*github.Subscription, *github.Response, error)
- func (c *Client) ActivityStar(ctx context.Context) (*github.Response, error)
- func (c *Client) ActivityUnstar(ctx context.Context) (*github.Response, error)
- func (c *Client) AppsFindRepositoryInstallation(ctx context.Context) (*github.Installation, *github.Response, error)
- func (c *Client) ChecksCreateCheckRun(ctx context.Context, opts github.CreateCheckRunOptions) (*github.CheckRun, *github.Response, error)
- func (c *Client) ChecksCreateCheckSuite(ctx context.Context, opts github.CreateCheckSuiteOptions) (*github.CheckSuite, *github.Response, error)
- func (c *Client) ChecksGetCheckRun(ctx context.Context, checkRunID int64) (*github.CheckRun, *github.Response, error)
- func (c *Client) ChecksGetCheckSuite(ctx context.Context, checkSuiteID int64) (*github.CheckSuite, *github.Response, error)
- func (c *Client) ChecksListCheckRunAnnotations(ctx context.Context, checkRunID int64, opts *github.ListOptions) ([]*github.CheckRunAnnotation, *github.Response, error)
- func (c *Client) ChecksListCheckRunsCheckSuite(ctx context.Context, checkSuiteID int64, opts *github.ListCheckRunsOptions) (*github.ListCheckRunsResults, *github.Response, error)
- func (c *Client) ChecksListCheckRunsForRef(ctx context.Context, ref string, opts *github.ListCheckRunsOptions) (*github.ListCheckRunsResults, *github.Response, error)
- func (c *Client) ChecksListCheckSuitesForRef(ctx context.Context, ref string, opts *github.ListCheckSuiteOptions) (*github.ListCheckSuiteResults, *github.Response, error)
- func (c *Client) ChecksReRequestCheckSuite(ctx context.Context, checkSuiteID int64) (*github.Response, error)
- func (c *Client) ChecksSetCheckSuitePreferences(ctx context.Context, opts github.CheckSuitePreferenceOptions) (*github.CheckSuitePreferenceResults, *github.Response, error)
- func (c *Client) ChecksUpdateCheckRun(ctx context.Context, checkRunID int64, opts github.UpdateCheckRunOptions) (*github.CheckRun, *github.Response, error)
- func (c *Client) GitCreateBlob(ctx context.Context, blob *github.Blob) (*github.Blob, *github.Response, error)
- func (c *Client) GitCreateCommit(ctx context.Context, commit *github.Commit) (*github.Commit, *github.Response, error)
- func (c *Client) GitCreateRef(ctx context.Context, ref *github.Reference) (*github.Reference, *github.Response, error)
- func (c *Client) GitCreateTag(ctx context.Context, tag *github.Tag) (*github.Tag, *github.Response, error)
- func (c *Client) GitCreateTree(ctx context.Context, baseTree string, entries []*github.TreeEntry) (*github.Tree, *github.Response, error)
- func (c *Client) GitDeleteRef(ctx context.Context, ref string) (*github.Response, error)
- func (c *Client) GitGetBlob(ctx context.Context, sha string) (*github.Blob, *github.Response, error)
- func (c *Client) GitGetBlobRaw(ctx context.Context, sha string) ([]byte, *github.Response, error)
- func (c *Client) GitGetCommit(ctx context.Context, sha string) (*github.Commit, *github.Response, error)
- func (c *Client) GitGetRef(ctx context.Context, ref string) (*github.Reference, *github.Response, error)
- func (c *Client) GitGetRefs(ctx context.Context, ref string) ([]*github.Reference, *github.Response, error)
- func (c *Client) GitGetTag(ctx context.Context, sha string) (*github.Tag, *github.Response, error)
- func (c *Client) GitGetTree(ctx context.Context, sha string, recursive bool) (*github.Tree, *github.Response, error)
- func (c *Client) GitListRefs(ctx context.Context, opts *github.ReferenceListOptions) ([]*github.Reference, *github.Response, error)
- func (c *Client) GitUpdateRef(ctx context.Context, ref *github.Reference, force bool) (*github.Reference, *github.Response, error)
- func (c *Client) InteractionsGetRestrictionsForRepo(ctx context.Context) (*github.InteractionRestriction, *github.Response, error)
- func (c *Client) InteractionsRemoveRestrictionsFromRepo(ctx context.Context) (*github.Response, error)
- func (c *Client) InteractionsUpdateRestrictionsForRepo(ctx context.Context, limit string) (*github.InteractionRestriction, *github.Response, error)
- func (c *Client) IssuesAddAssignees(ctx context.Context, number int, assignees []string) (*github.Issue, *github.Response, error)
- func (c *Client) IssuesAddLabelsToIssue(ctx context.Context, number int, labels []string) ([]*github.Label, *github.Response, error)
- func (c *Client) IssuesCreate(ctx context.Context, issue *github.IssueRequest) (*github.Issue, *github.Response, error)
- func (c *Client) IssuesCreateComment(ctx context.Context, number int, comment *github.IssueComment) (*github.IssueComment, *github.Response, error)
- func (c *Client) IssuesCreateLabel(ctx context.Context, label *github.Label) (*github.Label, *github.Response, error)
- func (c *Client) IssuesCreateMilestone(ctx context.Context, milestone *github.Milestone) (*github.Milestone, *github.Response, error)
- func (c *Client) IssuesDeleteComment(ctx context.Context, commentID int64) (*github.Response, error)
- func (c *Client) IssuesDeleteLabel(ctx context.Context, name string) (*github.Response, error)
- func (c *Client) IssuesDeleteMilestone(ctx context.Context, number int) (*github.Response, error)
- func (c *Client) IssuesEdit(ctx context.Context, number int, issue *github.IssueRequest) (*github.Issue, *github.Response, error)
- func (c *Client) IssuesEditComment(ctx context.Context, commentID int64, comment *github.IssueComment) (*github.IssueComment, *github.Response, error)
- func (c *Client) IssuesEditLabel(ctx context.Context, name string, label *github.Label) (*github.Label, *github.Response, error)
- func (c *Client) IssuesEditMilestone(ctx context.Context, number int, milestone *github.Milestone) (*github.Milestone, *github.Response, error)
- func (c *Client) IssuesGet(ctx context.Context, number int) (*github.Issue, *github.Response, error)
- func (c *Client) IssuesGetComment(ctx context.Context, commentID int64) (*github.IssueComment, *github.Response, error)
- func (c *Client) IssuesGetEvent(ctx context.Context, id int64) (*github.IssueEvent, *github.Response, error)
- func (c *Client) IssuesGetLabel(ctx context.Context, name string) (*github.Label, *github.Response, error)
- func (c *Client) IssuesGetMilestone(ctx context.Context, number int) (*github.Milestone, *github.Response, error)
- func (c *Client) IssuesIsAssignee(ctx context.Context, user string) (bool, *github.Response, error)
- func (c *Client) IssuesListAssignees(ctx context.Context, opts *github.ListOptions) ([]*github.User, *github.Response, error)
- func (c *Client) IssuesListByRepo(ctx context.Context, opts *github.IssueListByRepoOptions) ([]*github.Issue, *github.Response, error)
- func (c *Client) IssuesListComments(ctx context.Context, number int, opts *github.IssueListCommentsOptions) ([]*github.IssueComment, *github.Response, error)
- func (c *Client) IssuesListIssueEvents(ctx context.Context, number int, opts *github.ListOptions) ([]*github.IssueEvent, *github.Response, error)
- func (c *Client) IssuesListIssueTimeline(ctx context.Context, number int, opts *github.ListOptions) ([]*github.Timeline, *github.Response, error)
- func (c *Client) IssuesListLabels(ctx context.Context, opts *github.ListOptions) ([]*github.Label, *github.Response, error)
- func (c *Client) IssuesListLabelsByIssue(ctx context.Context, number int, opts *github.ListOptions) ([]*github.Label, *github.Response, error)
- func (c *Client) IssuesListLabelsForMilestone(ctx context.Context, number int, opts *github.ListOptions) ([]*github.Label, *github.Response, error)
- func (c *Client) IssuesListMilestones(ctx context.Context, opts *github.MilestoneListOptions) ([]*github.Milestone, *github.Response, error)
- func (c *Client) IssuesListRepositoryEvents(ctx context.Context, opts *github.ListOptions) ([]*github.IssueEvent, *github.Response, error)
- func (c *Client) IssuesLock(ctx context.Context, number int, opts *github.LockIssueOptions) (*github.Response, error)
- func (c *Client) IssuesRemoveAssignees(ctx context.Context, number int, assignees []string) (*github.Issue, *github.Response, error)
- func (c *Client) IssuesRemoveLabelForIssue(ctx context.Context, number int, label string) (*github.Response, error)
- func (c *Client) IssuesRemoveLabelsForIssue(ctx context.Context, number int) (*github.Response, error)
- func (c *Client) IssuesReplaceLabelsForIssue(ctx context.Context, number int, labels []string) ([]*github.Label, *github.Response, error)
- func (c *Client) IssuesUnlock(ctx context.Context, number int) (*github.Response, error)
- func (c *Client) MigrationsCancelImport(ctx context.Context) (*github.Response, error)
- func (c *Client) MigrationsCommitAuthors(ctx context.Context) ([]*github.SourceImportAuthor, *github.Response, error)
- func (c *Client) MigrationsImportProgress(ctx context.Context) (*github.Import, *github.Response, error)
- func (c *Client) MigrationsLargeFiles(ctx context.Context) ([]*github.LargeFile, *github.Response, error)
- func (c *Client) MigrationsMapCommitAuthor(ctx context.Context, id int64, author *github.SourceImportAuthor) (*github.SourceImportAuthor, *github.Response, error)
- func (c *Client) MigrationsSetLFSPreference(ctx context.Context, in *github.Import) (*github.Import, *github.Response, error)
- func (c *Client) MigrationsStartImport(ctx context.Context, in *github.Import) (*github.Import, *github.Response, error)
- func (c *Client) MigrationsUpdateImport(ctx context.Context, in *github.Import) (*github.Import, *github.Response, error)
- func (c *Client) PullRequestsCreate(ctx context.Context, pull *github.NewPullRequest) (*github.PullRequest, *github.Response, error)
- func (c *Client) PullRequestsCreateComment(ctx context.Context, number int, comment *github.PullRequestComment) (*github.PullRequestComment, *github.Response, error)
- func (c *Client) PullRequestsCreateCommentInReplyTo(ctx context.Context, number int, body string, commentID int64) (*github.PullRequestComment, *github.Response, error)
- func (c *Client) PullRequestsCreateReview(ctx context.Context, number int, review *github.PullRequestReviewRequest) (*github.PullRequestReview, *github.Response, error)
- func (c *Client) PullRequestsDeleteComment(ctx context.Context, commentID int64) (*github.Response, error)
- func (c *Client) PullRequestsDeletePendingReview(ctx context.Context, number int, reviewID int64) (*github.PullRequestReview, *github.Response, error)
- func (c *Client) PullRequestsDismissReview(ctx context.Context, number int, reviewID int64, ...) (*github.PullRequestReview, *github.Response, error)
- func (c *Client) PullRequestsEdit(ctx context.Context, number int, pull *github.PullRequest) (*github.PullRequest, *github.Response, error)
- func (c *Client) PullRequestsEditComment(ctx context.Context, commentID int64, comment *github.PullRequestComment) (*github.PullRequestComment, *github.Response, error)
- func (c *Client) PullRequestsGet(ctx context.Context, number int) (*github.PullRequest, *github.Response, error)
- func (c *Client) PullRequestsGetComment(ctx context.Context, commentID int64) (*github.PullRequestComment, *github.Response, error)
- func (c *Client) PullRequestsGetRaw(ctx context.Context, number int, opts github.RawOptions) (string, *github.Response, error)
- func (c *Client) PullRequestsGetReview(ctx context.Context, number int, reviewID int64) (*github.PullRequestReview, *github.Response, error)
- func (c *Client) PullRequestsIsMerged(ctx context.Context, number int) (bool, *github.Response, error)
- func (c *Client) PullRequestsList(ctx context.Context, opts *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
- func (c *Client) PullRequestsListComments(ctx context.Context, number int, opts *github.PullRequestListCommentsOptions) ([]*github.PullRequestComment, *github.Response, error)
- func (c *Client) PullRequestsListCommits(ctx context.Context, number int, opts *github.ListOptions) ([]*github.RepositoryCommit, *github.Response, error)
- func (c *Client) PullRequestsListFiles(ctx context.Context, number int, opts *github.ListOptions) ([]*github.CommitFile, *github.Response, error)
- func (c *Client) PullRequestsListPullRequestsWithCommit(ctx context.Context, sha string, opts *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
- func (c *Client) PullRequestsListReviewComments(ctx context.Context, number int, reviewID int64, opts *github.ListOptions) ([]*github.PullRequestComment, *github.Response, error)
- func (c *Client) PullRequestsListReviewers(ctx context.Context, number int, opts *github.ListOptions) (*github.Reviewers, *github.Response, error)
- func (c *Client) PullRequestsListReviews(ctx context.Context, number int, opts *github.ListOptions) ([]*github.PullRequestReview, *github.Response, error)
- func (c *Client) PullRequestsMerge(ctx context.Context, number int, commitMessage string, ...) (*github.PullRequestMergeResult, *github.Response, error)
- func (c *Client) PullRequestsRemoveReviewers(ctx context.Context, number int, reviewers github.ReviewersRequest) (*github.Response, error)
- func (c *Client) PullRequestsRequestReviewers(ctx context.Context, number int, reviewers github.ReviewersRequest) (*github.PullRequest, *github.Response, error)
- func (c *Client) PullRequestsSubmitReview(ctx context.Context, number int, reviewID int64, ...) (*github.PullRequestReview, *github.Response, error)
- func (c *Client) PullRequestsUpdateBranch(ctx context.Context, number int, opts *github.PullRequestBranchUpdateOptions) (*github.PullRequestBranchUpdateResponse, *github.Response, error)
- func (c *Client) PullRequestsUpdateReview(ctx context.Context, number int, reviewID int64, body string) (*github.PullRequestReview, *github.Response, error)
- func (c *Client) ReactionsCreateCommentReaction(ctx context.Context, id int64, content string) (*github.Reaction, *github.Response, error)
- func (c *Client) ReactionsCreateIssueCommentReaction(ctx context.Context, id int64, content string) (*github.Reaction, *github.Response, error)
- func (c *Client) ReactionsCreateIssueReaction(ctx context.Context, number int, content string) (*github.Reaction, *github.Response, error)
- func (c *Client) ReactionsCreatePullRequestCommentReaction(ctx context.Context, id int64, content string) (*github.Reaction, *github.Response, error)
- func (c *Client) ReactionsDeleteCommentReaction(ctx context.Context, commentID int64, reactionID int64) (*github.Response, error)
- func (c *Client) ReactionsDeleteIssueCommentReaction(ctx context.Context, commentID int64, reactionID int64) (*github.Response, error)
- func (c *Client) ReactionsDeleteIssueReaction(ctx context.Context, issueNumber int, reactionID int64) (*github.Response, error)
- func (c *Client) ReactionsDeletePullRequestCommentReaction(ctx context.Context, commentID int64, reactionID int64) (*github.Response, error)
- func (c *Client) ReactionsListCommentReactions(ctx context.Context, id int64, opts *github.ListCommentReactionOptions) ([]*github.Reaction, *github.Response, error)
- func (c *Client) ReactionsListIssueCommentReactions(ctx context.Context, id int64, opts *github.ListOptions) ([]*github.Reaction, *github.Response, error)
- func (c *Client) ReactionsListIssueReactions(ctx context.Context, number int, opts *github.ListOptions) ([]*github.Reaction, *github.Response, error)
- func (c *Client) ReactionsListPullRequestCommentReactions(ctx context.Context, id int64, opts *github.ListOptions) ([]*github.Reaction, *github.Response, error)
- func (c *Client) RepositoriesAddAdminEnforcement(ctx context.Context, branch string) (*github.AdminEnforcement, *github.Response, error)
- func (c *Client) RepositoriesAddAppRestrictions(ctx context.Context, branch string, slug []string) ([]*github.App, *github.Response, error)
- func (c *Client) RepositoriesAddCollaborator(ctx context.Context, user string, ...) (*github.CollaboratorInvitation, *github.Response, error)
- func (c *Client) RepositoriesCompareCommits(ctx context.Context, base string, head string) (*github.CommitsComparison, *github.Response, error)
- func (c *Client) RepositoriesCreateComment(ctx context.Context, sha string, comment *github.RepositoryComment) (*github.RepositoryComment, *github.Response, error)
- func (c *Client) RepositoriesCreateDeployment(ctx context.Context, request *github.DeploymentRequest) (*github.Deployment, *github.Response, error)
- func (c *Client) RepositoriesCreateDeploymentStatus(ctx context.Context, deployment int64, request *github.DeploymentStatusRequest) (*github.DeploymentStatus, *github.Response, error)
- func (c *Client) RepositoriesCreateFile(ctx context.Context, path string, opts *github.RepositoryContentFileOptions) (*github.RepositoryContentResponse, *github.Response, error)
- func (c *Client) RepositoriesCreateFork(ctx context.Context, opts *github.RepositoryCreateForkOptions) (*github.Repository, *github.Response, error)
- func (c *Client) RepositoriesCreateHook(ctx context.Context, hook *github.Hook) (*github.Hook, *github.Response, error)
- func (c *Client) RepositoriesCreateKey(ctx context.Context, key *github.Key) (*github.Key, *github.Response, error)
- func (c *Client) RepositoriesCreateProject(ctx context.Context, opts *github.ProjectOptions) (*github.Project, *github.Response, error)
- func (c *Client) RepositoriesCreateRelease(ctx context.Context, release *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
- func (c *Client) RepositoriesCreateStatus(ctx context.Context, ref string, status *github.RepoStatus) (*github.RepoStatus, *github.Response, error)
- func (c *Client) RepositoriesDelete(ctx context.Context) (*github.Response, error)
- func (c *Client) RepositoriesDeleteComment(ctx context.Context, id int64) (*github.Response, error)
- func (c *Client) RepositoriesDeleteFile(ctx context.Context, path string, opts *github.RepositoryContentFileOptions) (*github.RepositoryContentResponse, *github.Response, error)
- func (c *Client) RepositoriesDeleteHook(ctx context.Context, id int64) (*github.Response, error)
- func (c *Client) RepositoriesDeleteInvitation(ctx context.Context, invitationID int64) (*github.Response, error)
- func (c *Client) RepositoriesDeleteKey(ctx context.Context, id int64) (*github.Response, error)
- func (c *Client) RepositoriesDeletePreReceiveHook(ctx context.Context, id int64) (*github.Response, error)
- func (c *Client) RepositoriesDeleteRelease(ctx context.Context, id int64) (*github.Response, error)
- func (c *Client) RepositoriesDeleteReleaseAsset(ctx context.Context, id int64) (*github.Response, error)
- func (c *Client) RepositoriesDisableDismissalRestrictions(ctx context.Context, branch string) (*github.PullRequestReviewsEnforcement, *github.Response, error)
- func (c *Client) RepositoriesDisablePages(ctx context.Context) (*github.Response, error)
- func (c *Client) RepositoriesDispatch(ctx context.Context, opts github.DispatchRequestOptions) (*github.Repository, *github.Response, error)
- func (c *Client) RepositoriesDownloadContents(ctx context.Context, filepath string, opts *github.RepositoryContentGetOptions) (io.ReadCloser, error)
- func (c *Client) RepositoriesDownloadReleaseAsset(ctx context.Context, id int64, followRedirectsClient *http.Client) (rc io.ReadCloser, redirectURL string, err error)
- func (c *Client) RepositoriesEdit(ctx context.Context, repository *github.Repository) (*github.Repository, *github.Response, error)
- func (c *Client) RepositoriesEditHook(ctx context.Context, id int64, hook *github.Hook) (*github.Hook, *github.Response, error)
- func (c *Client) RepositoriesEditRelease(ctx context.Context, id int64, release *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
- func (c *Client) RepositoriesEditReleaseAsset(ctx context.Context, id int64, release *github.ReleaseAsset) (*github.ReleaseAsset, *github.Response, error)
- func (c *Client) RepositoriesEnablePages(ctx context.Context, pages *github.Pages) (*github.Pages, *github.Response, error)
- func (c *Client) RepositoriesGet(ctx context.Context) (*github.Repository, *github.Response, error)
- func (c *Client) RepositoriesGetAdminEnforcement(ctx context.Context, branch string) (*github.AdminEnforcement, *github.Response, error)
- func (c *Client) RepositoriesGetBranch(ctx context.Context, branch string) (*github.Branch, *github.Response, error)
- func (c *Client) RepositoriesGetBranchProtection(ctx context.Context, branch string) (*github.Protection, *github.Response, error)
- func (c *Client) RepositoriesGetCodeOfConduct(ctx context.Context) (*github.CodeOfConduct, *github.Response, error)
- func (c *Client) RepositoriesGetCombinedStatus(ctx context.Context, ref string, opts *github.ListOptions) (*github.CombinedStatus, *github.Response, error)
- func (c *Client) RepositoriesGetComment(ctx context.Context, id int64) (*github.RepositoryComment, *github.Response, error)
- func (c *Client) RepositoriesGetCommit(ctx context.Context, sha string) (*github.RepositoryCommit, *github.Response, error)
- func (c *Client) RepositoriesGetCommitRaw(ctx context.Context, sha string, opts github.RawOptions) (string, *github.Response, error)
- func (c *Client) RepositoriesGetCommitSHA1(ctx context.Context, ref string, lastSHA string) (string, *github.Response, error)
- func (c *Client) RepositoriesGetCommunityHealthMetrics(ctx context.Context) (*github.CommunityHealthMetrics, *github.Response, error)
- func (c *Client) RepositoriesGetContents(ctx context.Context, path string, opts *github.RepositoryContentGetOptions) (fileContent *github.RepositoryContent, ...)
- func (c *Client) RepositoriesGetDeployment(ctx context.Context, deploymentID int64) (*github.Deployment, *github.Response, error)
- func (c *Client) RepositoriesGetDeploymentStatus(ctx context.Context, deploymentID int64, deploymentStatusID int64) (*github.DeploymentStatus, *github.Response, error)
- func (c *Client) RepositoriesGetHook(ctx context.Context, id int64) (*github.Hook, *github.Response, error)
- func (c *Client) RepositoriesGetKey(ctx context.Context, id int64) (*github.Key, *github.Response, error)
- func (c *Client) RepositoriesGetLatestPagesBuild(ctx context.Context) (*github.PagesBuild, *github.Response, error)
- func (c *Client) RepositoriesGetLatestRelease(ctx context.Context) (*github.RepositoryRelease, *github.Response, error)
- func (c *Client) RepositoriesGetPageBuild(ctx context.Context, id int64) (*github.PagesBuild, *github.Response, error)
- func (c *Client) RepositoriesGetPagesInfo(ctx context.Context) (*github.Pages, *github.Response, error)
- func (c *Client) RepositoriesGetPermissionLevel(ctx context.Context, user string) (*github.RepositoryPermissionLevel, *github.Response, error)
- func (c *Client) RepositoriesGetPreReceiveHook(ctx context.Context, id int64) (*github.PreReceiveHook, *github.Response, error)
- func (c *Client) RepositoriesGetPullRequestReviewEnforcement(ctx context.Context, branch string) (*github.PullRequestReviewsEnforcement, *github.Response, error)
- func (c *Client) RepositoriesGetReadme(ctx context.Context, opts *github.RepositoryContentGetOptions) (*github.RepositoryContent, *github.Response, error)
- func (c *Client) RepositoriesGetRelease(ctx context.Context, id int64) (*github.RepositoryRelease, *github.Response, error)
- func (c *Client) RepositoriesGetReleaseAsset(ctx context.Context, id int64) (*github.ReleaseAsset, *github.Response, error)
- func (c *Client) RepositoriesGetReleaseByTag(ctx context.Context, tag string) (*github.RepositoryRelease, *github.Response, error)
- func (c *Client) RepositoriesGetRequiredStatusChecks(ctx context.Context, branch string) (*github.RequiredStatusChecks, *github.Response, error)
- func (c *Client) RepositoriesGetSignaturesProtectedBranch(ctx context.Context, branch string) (*github.SignaturesProtectedBranch, *github.Response, error)
- func (c *Client) RepositoriesIsCollaborator(ctx context.Context, user string) (bool, *github.Response, error)
- func (c *Client) RepositoriesLicense(ctx context.Context) (*github.RepositoryLicense, *github.Response, error)
- func (c *Client) RepositoriesListAllTopics(ctx context.Context) ([]string, *github.Response, error)
- func (c *Client) RepositoriesListApps(ctx context.Context, branch string) ([]*github.App, *github.Response, error)
- func (c *Client) RepositoriesListBranches(ctx context.Context, opts *github.BranchListOptions) ([]*github.Branch, *github.Response, error)
- func (c *Client) RepositoriesListBranchesHeadCommit(ctx context.Context, sha string) ([]*github.BranchCommit, *github.Response, error)
- func (c *Client) RepositoriesListCodeFrequency(ctx context.Context) ([]*github.WeeklyStats, *github.Response, error)
- func (c *Client) RepositoriesListCollaborators(ctx context.Context, opts *github.ListCollaboratorsOptions) ([]*github.User, *github.Response, error)
- func (c *Client) RepositoriesListComments(ctx context.Context, opts *github.ListOptions) ([]*github.RepositoryComment, *github.Response, error)
- func (c *Client) RepositoriesListCommitActivity(ctx context.Context) ([]*github.WeeklyCommitActivity, *github.Response, error)
- func (c *Client) RepositoriesListCommitComments(ctx context.Context, sha string, opts *github.ListOptions) ([]*github.RepositoryComment, *github.Response, error)
- func (c *Client) RepositoriesListCommits(ctx context.Context, opts *github.CommitsListOptions) ([]*github.RepositoryCommit, *github.Response, error)
- func (c *Client) RepositoriesListContributorsStats(ctx context.Context) ([]*github.ContributorStats, *github.Response, error)
- func (c *Client) RepositoriesListDeploymentStatuses(ctx context.Context, deployment int64, opts *github.ListOptions) ([]*github.DeploymentStatus, *github.Response, error)
- func (c *Client) RepositoriesListDeployments(ctx context.Context, opts *github.DeploymentsListOptions) ([]*github.Deployment, *github.Response, error)
- func (c *Client) RepositoriesListForks(ctx context.Context, opts *github.RepositoryListForksOptions) ([]*github.Repository, *github.Response, error)
- func (c *Client) RepositoriesListHooks(ctx context.Context, opts *github.ListOptions) ([]*github.Hook, *github.Response, error)
- func (c *Client) RepositoriesListInvitations(ctx context.Context, opts *github.ListOptions) ([]*github.RepositoryInvitation, *github.Response, error)
- func (c *Client) RepositoriesListKeys(ctx context.Context, opts *github.ListOptions) ([]*github.Key, *github.Response, error)
- func (c *Client) RepositoriesListLanguages(ctx context.Context) (map[string]int, *github.Response, error)
- func (c *Client) RepositoriesListPagesBuilds(ctx context.Context, opts *github.ListOptions) ([]*github.PagesBuild, *github.Response, error)
- func (c *Client) RepositoriesListParticipation(ctx context.Context) (*github.RepositoryParticipation, *github.Response, error)
- func (c *Client) RepositoriesListPreReceiveHooks(ctx context.Context, opts *github.ListOptions) ([]*github.PreReceiveHook, *github.Response, error)
- func (c *Client) RepositoriesListProjects(ctx context.Context, opts *github.ProjectListOptions) ([]*github.Project, *github.Response, error)
- func (c *Client) RepositoriesListPunchCard(ctx context.Context) ([]*github.PunchCard, *github.Response, error)
- func (c *Client) RepositoriesListReleaseAssets(ctx context.Context, id int64, opts *github.ListOptions) ([]*github.ReleaseAsset, *github.Response, error)
- func (c *Client) RepositoriesListReleases(ctx context.Context, opts *github.ListOptions) ([]*github.RepositoryRelease, *github.Response, error)
- func (c *Client) RepositoriesListRequiredStatusChecksContexts(ctx context.Context, branch string) (contexts []string, resp *github.Response, err error)
- func (c *Client) RepositoriesListStatuses(ctx context.Context, ref string, opts *github.ListOptions) ([]*github.RepoStatus, *github.Response, error)
- func (c *Client) RepositoriesListTags(ctx context.Context, opts *github.ListOptions) ([]*github.RepositoryTag, *github.Response, error)
- func (c *Client) RepositoriesListTeams(ctx context.Context, opts *github.ListOptions) ([]*github.Team, *github.Response, error)
- func (c *Client) RepositoriesListTrafficClones(ctx context.Context, opts *github.TrafficBreakdownOptions) (*github.TrafficClones, *github.Response, error)
- func (c *Client) RepositoriesListTrafficPaths(ctx context.Context) ([]*github.TrafficPath, *github.Response, error)
- func (c *Client) RepositoriesListTrafficReferrers(ctx context.Context) ([]*github.TrafficReferrer, *github.Response, error)
- func (c *Client) RepositoriesListTrafficViews(ctx context.Context, opts *github.TrafficBreakdownOptions) (*github.TrafficViews, *github.Response, error)
- func (c *Client) RepositoriesMerge(ctx context.Context, request *github.RepositoryMergeRequest) (*github.RepositoryCommit, *github.Response, error)
- func (c *Client) RepositoriesOptionalSignaturesOnProtectedBranch(ctx context.Context, branch string) (*github.Response, error)
- func (c *Client) RepositoriesPingHook(ctx context.Context, id int64) (*github.Response, error)
- func (c *Client) RepositoriesRemoveAdminEnforcement(ctx context.Context, branch string) (*github.Response, error)
- func (c *Client) RepositoriesRemoveAppRestrictions(ctx context.Context, branch string, slug []string) ([]*github.App, *github.Response, error)
- func (c *Client) RepositoriesRemoveBranchProtection(ctx context.Context, branch string) (*github.Response, error)
- func (c *Client) RepositoriesRemoveCollaborator(ctx context.Context, user string) (*github.Response, error)
- func (c *Client) RepositoriesRemovePullRequestReviewEnforcement(ctx context.Context, branch string) (*github.Response, error)
- func (c *Client) RepositoriesReplaceAllTopics(ctx context.Context, topics []string) ([]string, *github.Response, error)
- func (c *Client) RepositoriesReplaceAppRestrictions(ctx context.Context, branch string, slug []string) ([]*github.App, *github.Response, error)
- func (c *Client) RepositoriesRequestPageBuild(ctx context.Context) (*github.PagesBuild, *github.Response, error)
- func (c *Client) RepositoriesRequireSignaturesOnProtectedBranch(ctx context.Context, branch string) (*github.SignaturesProtectedBranch, *github.Response, error)
- func (c *Client) RepositoriesTestHook(ctx context.Context, id int64) (*github.Response, error)
- func (c *Client) RepositoriesTransfer(ctx context.Context, transfer github.TransferRequest) (*github.Repository, *github.Response, error)
- func (c *Client) RepositoriesUpdateBranchProtection(ctx context.Context, branch string, preq *github.ProtectionRequest) (*github.Protection, *github.Response, error)
- func (c *Client) RepositoriesUpdateComment(ctx context.Context, id int64, comment *github.RepositoryComment) (*github.RepositoryComment, *github.Response, error)
- func (c *Client) RepositoriesUpdateFile(ctx context.Context, path string, opts *github.RepositoryContentFileOptions) (*github.RepositoryContentResponse, *github.Response, error)
- func (c *Client) RepositoriesUpdateInvitation(ctx context.Context, invitationID int64, permissions string) (*github.RepositoryInvitation, *github.Response, error)
- func (c *Client) RepositoriesUpdatePages(ctx context.Context, opts *github.PagesUpdate) (*github.Response, error)
- func (c *Client) RepositoriesUpdatePreReceiveHook(ctx context.Context, id int64, hook *github.PreReceiveHook) (*github.PreReceiveHook, *github.Response, error)
- func (c *Client) RepositoriesUpdatePullRequestReviewEnforcement(ctx context.Context, branch string, ...) (*github.PullRequestReviewsEnforcement, *github.Response, error)
- func (c *Client) RepositoriesUpdateRequiredStatusChecks(ctx context.Context, branch string, sreq *github.RequiredStatusChecksRequest) (*github.RequiredStatusChecks, *github.Response, error)
- func (c *Client) RepositoriesUploadReleaseAsset(ctx context.Context, id int64, opts *github.UploadOptions, file *os.File) (*github.ReleaseAsset, *github.Response, error)
- type Diff
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GitCommitPush ¶
GitCommitPush commits and pushes a list of files.
Types ¶
type Client ¶ added in v0.1.1
Client is a small wrapper around github.Client, that does not require to repeatedly type the owner and repository in various function calls.
func NewClientWithToken ¶ added in v0.1.1
NewClientWithToken returns a github client from a given auth token, according to https://github.com/google/go-github#authentication.
func (*Client) ActionsCancelWorkflowRunByID ¶ added in v0.1.1
func (c *Client) ActionsCancelWorkflowRunByID(ctx context.Context, runID int64) (*github.Response, error)
ActionsCancelWorkflowRunByID calls the Actions.CancelWorkflowRunByID method with the relevant owner and repo arguments.
func (*Client) ActionsCreateOrUpdateSecret ¶ added in v0.1.1
func (c *Client) ActionsCreateOrUpdateSecret(ctx context.Context, eSecret *github.EncryptedSecret) (*github.Response, error)
ActionsCreateOrUpdateSecret calls the Actions.CreateOrUpdateSecret method with the relevant owner and repo arguments.
func (*Client) ActionsCreateRegistrationToken ¶ added in v0.1.1
func (c *Client) ActionsCreateRegistrationToken(ctx context.Context) (*github.RegistrationToken, *github.Response, error)
ActionsCreateRegistrationToken calls the Actions.CreateRegistrationToken method with the relevant owner and repo arguments.
func (*Client) ActionsCreateRemoveToken ¶ added in v0.1.1
func (c *Client) ActionsCreateRemoveToken(ctx context.Context) (*github.RemoveToken, *github.Response, error)
ActionsCreateRemoveToken calls the Actions.CreateRemoveToken method with the relevant owner and repo arguments.
func (*Client) ActionsDeleteArtifact ¶ added in v0.1.1
func (c *Client) ActionsDeleteArtifact(ctx context.Context, artifactID int64) (*github.Response, error)
ActionsDeleteArtifact calls the Actions.DeleteArtifact method with the relevant owner and repo arguments.
func (*Client) ActionsDeleteSecret ¶ added in v0.1.1
ActionsDeleteSecret calls the Actions.DeleteSecret method with the relevant owner and repo arguments.
func (*Client) ActionsDownloadArtifact ¶ added in v0.1.1
func (c *Client) ActionsDownloadArtifact(ctx context.Context, artifactID int64, followRedirects bool) (*url.URL, *github.Response, error)
ActionsDownloadArtifact calls the Actions.DownloadArtifact method with the relevant owner and repo arguments.
func (*Client) ActionsGetArtifact ¶ added in v0.1.1
func (c *Client) ActionsGetArtifact(ctx context.Context, artifactID int64) (*github.Artifact, *github.Response, error)
ActionsGetArtifact calls the Actions.GetArtifact method with the relevant owner and repo arguments.
func (*Client) ActionsGetPublicKey ¶ added in v0.1.1
func (c *Client) ActionsGetPublicKey(ctx context.Context) (*github.PublicKey, *github.Response, error)
ActionsGetPublicKey calls the Actions.GetPublicKey method with the relevant owner and repo arguments.
func (*Client) ActionsGetRunner ¶ added in v0.1.1
func (c *Client) ActionsGetRunner(ctx context.Context, runnerID int64) (*github.Runner, *github.Response, error)
ActionsGetRunner calls the Actions.GetRunner method with the relevant owner and repo arguments.
func (*Client) ActionsGetSecret ¶ added in v0.1.1
func (c *Client) ActionsGetSecret(ctx context.Context, name string) (*github.Secret, *github.Response, error)
ActionsGetSecret calls the Actions.GetSecret method with the relevant owner and repo arguments.
func (*Client) ActionsGetWorkflowByFileName ¶ added in v0.1.1
func (c *Client) ActionsGetWorkflowByFileName(ctx context.Context, workflowFileName string) (*github.Workflow, *github.Response, error)
ActionsGetWorkflowByFileName calls the Actions.GetWorkflowByFileName method with the relevant owner and repo arguments.
func (*Client) ActionsGetWorkflowByID ¶ added in v0.1.1
func (c *Client) ActionsGetWorkflowByID(ctx context.Context, workflowID int64) (*github.Workflow, *github.Response, error)
ActionsGetWorkflowByID calls the Actions.GetWorkflowByID method with the relevant owner and repo arguments.
func (*Client) ActionsGetWorkflowJobByID ¶ added in v0.1.1
func (c *Client) ActionsGetWorkflowJobByID(ctx context.Context, jobID int64) (*github.WorkflowJob, *github.Response, error)
ActionsGetWorkflowJobByID calls the Actions.GetWorkflowJobByID method with the relevant owner and repo arguments.
func (*Client) ActionsGetWorkflowJobLogs ¶ added in v0.1.1
func (c *Client) ActionsGetWorkflowJobLogs(ctx context.Context, jobID int64, followRedirects bool) (*url.URL, *github.Response, error)
ActionsGetWorkflowJobLogs calls the Actions.GetWorkflowJobLogs method with the relevant owner and repo arguments.
func (*Client) ActionsGetWorkflowRunByID ¶ added in v0.1.1
func (c *Client) ActionsGetWorkflowRunByID(ctx context.Context, runID int64) (*github.WorkflowRun, *github.Response, error)
ActionsGetWorkflowRunByID calls the Actions.GetWorkflowRunByID method with the relevant owner and repo arguments.
func (*Client) ActionsGetWorkflowRunLogs ¶ added in v0.1.1
func (c *Client) ActionsGetWorkflowRunLogs(ctx context.Context, runID int64, followRedirects bool) (*url.URL, *github.Response, error)
ActionsGetWorkflowRunLogs calls the Actions.GetWorkflowRunLogs method with the relevant owner and repo arguments.
func (*Client) ActionsListRepositoryWorkflowRuns ¶ added in v0.1.1
func (c *Client) ActionsListRepositoryWorkflowRuns(ctx context.Context, opts *github.ListOptions) (*github.WorkflowRuns, *github.Response, error)
ActionsListRepositoryWorkflowRuns calls the Actions.ListRepositoryWorkflowRuns method with the relevant owner and repo arguments.
func (*Client) ActionsListRunnerApplicationDownloads ¶ added in v0.1.1
func (c *Client) ActionsListRunnerApplicationDownloads(ctx context.Context) ([]*github.RunnerApplicationDownload, *github.Response, error)
ActionsListRunnerApplicationDownloads calls the Actions.ListRunnerApplicationDownloads method with the relevant owner and repo arguments.
func (*Client) ActionsListRunners ¶ added in v0.1.1
func (c *Client) ActionsListRunners(ctx context.Context, opts *github.ListOptions) (*github.Runners, *github.Response, error)
ActionsListRunners calls the Actions.ListRunners method with the relevant owner and repo arguments.
func (*Client) ActionsListSecrets ¶ added in v0.1.1
func (c *Client) ActionsListSecrets(ctx context.Context, opts *github.ListOptions) (*github.Secrets, *github.Response, error)
ActionsListSecrets calls the Actions.ListSecrets method with the relevant owner and repo arguments.
func (*Client) ActionsListWorkflowJobs ¶ added in v0.1.1
func (c *Client) ActionsListWorkflowJobs(ctx context.Context, runID int64, opts *github.ListWorkflowJobsOptions) (*github.Jobs, *github.Response, error)
ActionsListWorkflowJobs calls the Actions.ListWorkflowJobs method with the relevant owner and repo arguments.
func (*Client) ActionsListWorkflowRunArtifacts ¶ added in v0.1.1
func (c *Client) ActionsListWorkflowRunArtifacts(ctx context.Context, runID int64, opts *github.ListOptions) (*github.ArtifactList, *github.Response, error)
ActionsListWorkflowRunArtifacts calls the Actions.ListWorkflowRunArtifacts method with the relevant owner and repo arguments.
func (*Client) ActionsListWorkflowRunsByFileName ¶ added in v0.1.1
func (c *Client) ActionsListWorkflowRunsByFileName(ctx context.Context, workflowFileName string, opts *github.ListWorkflowRunsOptions) (*github.WorkflowRuns, *github.Response, error)
ActionsListWorkflowRunsByFileName calls the Actions.ListWorkflowRunsByFileName method with the relevant owner and repo arguments.
func (*Client) ActionsListWorkflowRunsByID ¶ added in v0.1.1
func (c *Client) ActionsListWorkflowRunsByID(ctx context.Context, workflowID int64, opts *github.ListWorkflowRunsOptions) (*github.WorkflowRuns, *github.Response, error)
ActionsListWorkflowRunsByID calls the Actions.ListWorkflowRunsByID method with the relevant owner and repo arguments.
func (*Client) ActionsListWorkflows ¶ added in v0.1.1
func (c *Client) ActionsListWorkflows(ctx context.Context, opts *github.ListOptions) (*github.Workflows, *github.Response, error)
ActionsListWorkflows calls the Actions.ListWorkflows method with the relevant owner and repo arguments.
func (*Client) ActionsRemoveRunner ¶ added in v0.1.1
ActionsRemoveRunner calls the Actions.RemoveRunner method with the relevant owner and repo arguments.
func (*Client) ActionsRerunWorkflowByID ¶ added in v0.1.1
func (c *Client) ActionsRerunWorkflowByID(ctx context.Context, runID int64) (*github.Response, error)
ActionsRerunWorkflowByID calls the Actions.RerunWorkflowByID method with the relevant owner and repo arguments.
func (*Client) ActivityDeleteRepositorySubscription ¶ added in v0.1.1
func (c *Client) ActivityDeleteRepositorySubscription(ctx context.Context) (*github.Response, error)
ActivityDeleteRepositorySubscription calls the Activity.DeleteRepositorySubscription method with the relevant owner and repo arguments.
func (*Client) ActivityGetRepositorySubscription ¶ added in v0.1.1
func (c *Client) ActivityGetRepositorySubscription(ctx context.Context) (*github.Subscription, *github.Response, error)
ActivityGetRepositorySubscription calls the Activity.GetRepositorySubscription method with the relevant owner and repo arguments.
func (*Client) ActivityIsStarred ¶ added in v0.1.1
ActivityIsStarred calls the Activity.IsStarred method with the relevant owner and repo arguments.
func (*Client) ActivityListEventsForRepoNetwork ¶ added in v0.1.1
func (c *Client) ActivityListEventsForRepoNetwork(ctx context.Context, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
ActivityListEventsForRepoNetwork calls the Activity.ListEventsForRepoNetwork method with the relevant owner and repo arguments.
func (*Client) ActivityListIssueEventsForRepository ¶ added in v0.1.1
func (c *Client) ActivityListIssueEventsForRepository(ctx context.Context, opts *github.ListOptions) ([]*github.IssueEvent, *github.Response, error)
ActivityListIssueEventsForRepository calls the Activity.ListIssueEventsForRepository method with the relevant owner and repo arguments.
func (*Client) ActivityListRepositoryEvents ¶ added in v0.1.1
func (c *Client) ActivityListRepositoryEvents(ctx context.Context, opts *github.ListOptions) ([]*github.Event, *github.Response, error)
ActivityListRepositoryEvents calls the Activity.ListRepositoryEvents method with the relevant owner and repo arguments.
func (*Client) ActivityListRepositoryNotifications ¶ added in v0.1.1
func (c *Client) ActivityListRepositoryNotifications(ctx context.Context, opts *github.NotificationListOptions) ([]*github.Notification, *github.Response, error)
ActivityListRepositoryNotifications calls the Activity.ListRepositoryNotifications method with the relevant owner and repo arguments.
func (*Client) ActivityListStargazers ¶ added in v0.1.1
func (c *Client) ActivityListStargazers(ctx context.Context, opts *github.ListOptions) ([]*github.Stargazer, *github.Response, error)
ActivityListStargazers calls the Activity.ListStargazers method with the relevant owner and repo arguments.
func (*Client) ActivityListWatchers ¶ added in v0.1.1
func (c *Client) ActivityListWatchers(ctx context.Context, opts *github.ListOptions) ([]*github.User, *github.Response, error)
ActivityListWatchers calls the Activity.ListWatchers method with the relevant owner and repo arguments.
func (*Client) ActivityMarkRepositoryNotificationsRead ¶ added in v0.1.1
func (c *Client) ActivityMarkRepositoryNotificationsRead(ctx context.Context, lastRead time.Time) (*github.Response, error)
ActivityMarkRepositoryNotificationsRead calls the Activity.MarkRepositoryNotificationsRead method with the relevant owner and repo arguments.
func (*Client) ActivitySetRepositorySubscription ¶ added in v0.1.1
func (c *Client) ActivitySetRepositorySubscription(ctx context.Context, subscription *github.Subscription) (*github.Subscription, *github.Response, error)
ActivitySetRepositorySubscription calls the Activity.SetRepositorySubscription method with the relevant owner and repo arguments.
func (*Client) ActivityStar ¶ added in v0.1.1
ActivityStar calls the Activity.Star method with the relevant owner and repo arguments.
func (*Client) ActivityUnstar ¶ added in v0.1.1
ActivityUnstar calls the Activity.Unstar method with the relevant owner and repo arguments.
func (*Client) AppsFindRepositoryInstallation ¶ added in v0.1.1
func (c *Client) AppsFindRepositoryInstallation(ctx context.Context) (*github.Installation, *github.Response, error)
AppsFindRepositoryInstallation calls the Apps.FindRepositoryInstallation method with the relevant owner and repo arguments.
func (*Client) ChecksCreateCheckRun ¶ added in v0.1.1
func (c *Client) ChecksCreateCheckRun(ctx context.Context, opts github.CreateCheckRunOptions) (*github.CheckRun, *github.Response, error)
ChecksCreateCheckRun calls the Checks.CreateCheckRun method with the relevant owner and repo arguments.
func (*Client) ChecksCreateCheckSuite ¶ added in v0.1.1
func (c *Client) ChecksCreateCheckSuite(ctx context.Context, opts github.CreateCheckSuiteOptions) (*github.CheckSuite, *github.Response, error)
ChecksCreateCheckSuite calls the Checks.CreateCheckSuite method with the relevant owner and repo arguments.
func (*Client) ChecksGetCheckRun ¶ added in v0.1.1
func (c *Client) ChecksGetCheckRun(ctx context.Context, checkRunID int64) (*github.CheckRun, *github.Response, error)
ChecksGetCheckRun calls the Checks.GetCheckRun method with the relevant owner and repo arguments.
func (*Client) ChecksGetCheckSuite ¶ added in v0.1.1
func (c *Client) ChecksGetCheckSuite(ctx context.Context, checkSuiteID int64) (*github.CheckSuite, *github.Response, error)
ChecksGetCheckSuite calls the Checks.GetCheckSuite method with the relevant owner and repo arguments.
func (*Client) ChecksListCheckRunAnnotations ¶ added in v0.1.1
func (c *Client) ChecksListCheckRunAnnotations(ctx context.Context, checkRunID int64, opts *github.ListOptions) ([]*github.CheckRunAnnotation, *github.Response, error)
ChecksListCheckRunAnnotations calls the Checks.ListCheckRunAnnotations method with the relevant owner and repo arguments.
func (*Client) ChecksListCheckRunsCheckSuite ¶ added in v0.1.1
func (c *Client) ChecksListCheckRunsCheckSuite(ctx context.Context, checkSuiteID int64, opts *github.ListCheckRunsOptions) (*github.ListCheckRunsResults, *github.Response, error)
ChecksListCheckRunsCheckSuite calls the Checks.ListCheckRunsCheckSuite method with the relevant owner and repo arguments.
func (*Client) ChecksListCheckRunsForRef ¶ added in v0.1.1
func (c *Client) ChecksListCheckRunsForRef(ctx context.Context, ref string, opts *github.ListCheckRunsOptions) (*github.ListCheckRunsResults, *github.Response, error)
ChecksListCheckRunsForRef calls the Checks.ListCheckRunsForRef method with the relevant owner and repo arguments.
func (*Client) ChecksListCheckSuitesForRef ¶ added in v0.1.1
func (c *Client) ChecksListCheckSuitesForRef(ctx context.Context, ref string, opts *github.ListCheckSuiteOptions) (*github.ListCheckSuiteResults, *github.Response, error)
ChecksListCheckSuitesForRef calls the Checks.ListCheckSuitesForRef method with the relevant owner and repo arguments.
func (*Client) ChecksReRequestCheckSuite ¶ added in v0.1.1
func (c *Client) ChecksReRequestCheckSuite(ctx context.Context, checkSuiteID int64) (*github.Response, error)
ChecksReRequestCheckSuite calls the Checks.ReRequestCheckSuite method with the relevant owner and repo arguments.
func (*Client) ChecksSetCheckSuitePreferences ¶ added in v0.1.1
func (c *Client) ChecksSetCheckSuitePreferences(ctx context.Context, opts github.CheckSuitePreferenceOptions) (*github.CheckSuitePreferenceResults, *github.Response, error)
ChecksSetCheckSuitePreferences calls the Checks.SetCheckSuitePreferences method with the relevant owner and repo arguments.
func (*Client) ChecksUpdateCheckRun ¶ added in v0.1.1
func (c *Client) ChecksUpdateCheckRun(ctx context.Context, checkRunID int64, opts github.UpdateCheckRunOptions) (*github.CheckRun, *github.Response, error)
ChecksUpdateCheckRun calls the Checks.UpdateCheckRun method with the relevant owner and repo arguments.
func (*Client) GitCreateBlob ¶ added in v0.1.1
func (c *Client) GitCreateBlob(ctx context.Context, blob *github.Blob) (*github.Blob, *github.Response, error)
GitCreateBlob calls the Git.CreateBlob method with the relevant owner and repo arguments.
func (*Client) GitCreateCommit ¶ added in v0.1.1
func (c *Client) GitCreateCommit(ctx context.Context, commit *github.Commit) (*github.Commit, *github.Response, error)
GitCreateCommit calls the Git.CreateCommit method with the relevant owner and repo arguments.
func (*Client) GitCreateRef ¶ added in v0.1.1
func (c *Client) GitCreateRef(ctx context.Context, ref *github.Reference) (*github.Reference, *github.Response, error)
GitCreateRef calls the Git.CreateRef method with the relevant owner and repo arguments.
func (*Client) GitCreateTag ¶ added in v0.1.1
func (c *Client) GitCreateTag(ctx context.Context, tag *github.Tag) (*github.Tag, *github.Response, error)
GitCreateTag calls the Git.CreateTag method with the relevant owner and repo arguments.
func (*Client) GitCreateTree ¶ added in v0.1.1
func (c *Client) GitCreateTree(ctx context.Context, baseTree string, entries []*github.TreeEntry) (*github.Tree, *github.Response, error)
GitCreateTree calls the Git.CreateTree method with the relevant owner and repo arguments.
func (*Client) GitDeleteRef ¶ added in v0.1.1
GitDeleteRef calls the Git.DeleteRef method with the relevant owner and repo arguments.
func (*Client) GitGetBlob ¶ added in v0.1.1
func (c *Client) GitGetBlob(ctx context.Context, sha string) (*github.Blob, *github.Response, error)
GitGetBlob calls the Git.GetBlob method with the relevant owner and repo arguments.
func (*Client) GitGetBlobRaw ¶ added in v0.1.1
GitGetBlobRaw calls the Git.GetBlobRaw method with the relevant owner and repo arguments.
func (*Client) GitGetCommit ¶ added in v0.1.1
func (c *Client) GitGetCommit(ctx context.Context, sha string) (*github.Commit, *github.Response, error)
GitGetCommit calls the Git.GetCommit method with the relevant owner and repo arguments.
func (*Client) GitGetRef ¶ added in v0.1.1
func (c *Client) GitGetRef(ctx context.Context, ref string) (*github.Reference, *github.Response, error)
GitGetRef calls the Git.GetRef method with the relevant owner and repo arguments.
func (*Client) GitGetRefs ¶ added in v0.1.1
func (c *Client) GitGetRefs(ctx context.Context, ref string) ([]*github.Reference, *github.Response, error)
GitGetRefs calls the Git.GetRefs method with the relevant owner and repo arguments.
func (*Client) GitGetTag ¶ added in v0.1.1
GitGetTag calls the Git.GetTag method with the relevant owner and repo arguments.
func (*Client) GitGetTree ¶ added in v0.1.1
func (c *Client) GitGetTree(ctx context.Context, sha string, recursive bool) (*github.Tree, *github.Response, error)
GitGetTree calls the Git.GetTree method with the relevant owner and repo arguments.
func (*Client) GitListRefs ¶ added in v0.1.1
func (c *Client) GitListRefs(ctx context.Context, opts *github.ReferenceListOptions) ([]*github.Reference, *github.Response, error)
GitListRefs calls the Git.ListRefs method with the relevant owner and repo arguments.
func (*Client) GitUpdateRef ¶ added in v0.1.1
func (c *Client) GitUpdateRef(ctx context.Context, ref *github.Reference, force bool) (*github.Reference, *github.Response, error)
GitUpdateRef calls the Git.UpdateRef method with the relevant owner and repo arguments.
func (*Client) InteractionsGetRestrictionsForRepo ¶ added in v0.1.1
func (c *Client) InteractionsGetRestrictionsForRepo(ctx context.Context) (*github.InteractionRestriction, *github.Response, error)
InteractionsGetRestrictionsForRepo calls the Interactions.GetRestrictionsForRepo method with the relevant owner and repo arguments.
func (*Client) InteractionsRemoveRestrictionsFromRepo ¶ added in v0.1.1
func (c *Client) InteractionsRemoveRestrictionsFromRepo(ctx context.Context) (*github.Response, error)
InteractionsRemoveRestrictionsFromRepo calls the Interactions.RemoveRestrictionsFromRepo method with the relevant owner and repo arguments.
func (*Client) InteractionsUpdateRestrictionsForRepo ¶ added in v0.1.1
func (c *Client) InteractionsUpdateRestrictionsForRepo(ctx context.Context, limit string) (*github.InteractionRestriction, *github.Response, error)
InteractionsUpdateRestrictionsForRepo calls the Interactions.UpdateRestrictionsForRepo method with the relevant owner and repo arguments.
func (*Client) IssuesAddAssignees ¶ added in v0.1.1
func (c *Client) IssuesAddAssignees(ctx context.Context, number int, assignees []string) (*github.Issue, *github.Response, error)
IssuesAddAssignees calls the Issues.AddAssignees method with the relevant owner and repo arguments.
func (*Client) IssuesAddLabelsToIssue ¶ added in v0.1.1
func (c *Client) IssuesAddLabelsToIssue(ctx context.Context, number int, labels []string) ([]*github.Label, *github.Response, error)
IssuesAddLabelsToIssue calls the Issues.AddLabelsToIssue method with the relevant owner and repo arguments.
func (*Client) IssuesCreate ¶ added in v0.1.1
func (c *Client) IssuesCreate(ctx context.Context, issue *github.IssueRequest) (*github.Issue, *github.Response, error)
IssuesCreate calls the Issues.Create method with the relevant owner and repo arguments.
func (*Client) IssuesCreateComment ¶ added in v0.1.1
func (c *Client) IssuesCreateComment(ctx context.Context, number int, comment *github.IssueComment) (*github.IssueComment, *github.Response, error)
IssuesCreateComment calls the Issues.CreateComment method with the relevant owner and repo arguments.
func (*Client) IssuesCreateLabel ¶ added in v0.1.1
func (c *Client) IssuesCreateLabel(ctx context.Context, label *github.Label) (*github.Label, *github.Response, error)
IssuesCreateLabel calls the Issues.CreateLabel method with the relevant owner and repo arguments.
func (*Client) IssuesCreateMilestone ¶ added in v0.1.1
func (c *Client) IssuesCreateMilestone(ctx context.Context, milestone *github.Milestone) (*github.Milestone, *github.Response, error)
IssuesCreateMilestone calls the Issues.CreateMilestone method with the relevant owner and repo arguments.
func (*Client) IssuesDeleteComment ¶ added in v0.1.1
func (c *Client) IssuesDeleteComment(ctx context.Context, commentID int64) (*github.Response, error)
IssuesDeleteComment calls the Issues.DeleteComment method with the relevant owner and repo arguments.
func (*Client) IssuesDeleteLabel ¶ added in v0.1.1
IssuesDeleteLabel calls the Issues.DeleteLabel method with the relevant owner and repo arguments.
func (*Client) IssuesDeleteMilestone ¶ added in v0.1.1
IssuesDeleteMilestone calls the Issues.DeleteMilestone method with the relevant owner and repo arguments.
func (*Client) IssuesEdit ¶ added in v0.1.1
func (c *Client) IssuesEdit(ctx context.Context, number int, issue *github.IssueRequest) (*github.Issue, *github.Response, error)
IssuesEdit calls the Issues.Edit method with the relevant owner and repo arguments.
func (*Client) IssuesEditComment ¶ added in v0.1.1
func (c *Client) IssuesEditComment(ctx context.Context, commentID int64, comment *github.IssueComment) (*github.IssueComment, *github.Response, error)
IssuesEditComment calls the Issues.EditComment method with the relevant owner and repo arguments.
func (*Client) IssuesEditLabel ¶ added in v0.1.1
func (c *Client) IssuesEditLabel(ctx context.Context, name string, label *github.Label) (*github.Label, *github.Response, error)
IssuesEditLabel calls the Issues.EditLabel method with the relevant owner and repo arguments.
func (*Client) IssuesEditMilestone ¶ added in v0.1.1
func (c *Client) IssuesEditMilestone(ctx context.Context, number int, milestone *github.Milestone) (*github.Milestone, *github.Response, error)
IssuesEditMilestone calls the Issues.EditMilestone method with the relevant owner and repo arguments.
func (*Client) IssuesGet ¶ added in v0.1.1
func (c *Client) IssuesGet(ctx context.Context, number int) (*github.Issue, *github.Response, error)
IssuesGet calls the Issues.Get method with the relevant owner and repo arguments.
func (*Client) IssuesGetComment ¶ added in v0.1.1
func (c *Client) IssuesGetComment(ctx context.Context, commentID int64) (*github.IssueComment, *github.Response, error)
IssuesGetComment calls the Issues.GetComment method with the relevant owner and repo arguments.
func (*Client) IssuesGetEvent ¶ added in v0.1.1
func (c *Client) IssuesGetEvent(ctx context.Context, id int64) (*github.IssueEvent, *github.Response, error)
IssuesGetEvent calls the Issues.GetEvent method with the relevant owner and repo arguments.
func (*Client) IssuesGetLabel ¶ added in v0.1.1
func (c *Client) IssuesGetLabel(ctx context.Context, name string) (*github.Label, *github.Response, error)
IssuesGetLabel calls the Issues.GetLabel method with the relevant owner and repo arguments.
func (*Client) IssuesGetMilestone ¶ added in v0.1.1
func (c *Client) IssuesGetMilestone(ctx context.Context, number int) (*github.Milestone, *github.Response, error)
IssuesGetMilestone calls the Issues.GetMilestone method with the relevant owner and repo arguments.
func (*Client) IssuesIsAssignee ¶ added in v0.1.1
IssuesIsAssignee calls the Issues.IsAssignee method with the relevant owner and repo arguments.
func (*Client) IssuesListAssignees ¶ added in v0.1.1
func (c *Client) IssuesListAssignees(ctx context.Context, opts *github.ListOptions) ([]*github.User, *github.Response, error)
IssuesListAssignees calls the Issues.ListAssignees method with the relevant owner and repo arguments.
func (*Client) IssuesListByRepo ¶ added in v0.1.1
func (c *Client) IssuesListByRepo(ctx context.Context, opts *github.IssueListByRepoOptions) ([]*github.Issue, *github.Response, error)
IssuesListByRepo calls the Issues.ListByRepo method with the relevant owner and repo arguments.
func (*Client) IssuesListComments ¶ added in v0.1.1
func (c *Client) IssuesListComments(ctx context.Context, number int, opts *github.IssueListCommentsOptions) ([]*github.IssueComment, *github.Response, error)
IssuesListComments calls the Issues.ListComments method with the relevant owner and repo arguments.
func (*Client) IssuesListIssueEvents ¶ added in v0.1.1
func (c *Client) IssuesListIssueEvents(ctx context.Context, number int, opts *github.ListOptions) ([]*github.IssueEvent, *github.Response, error)
IssuesListIssueEvents calls the Issues.ListIssueEvents method with the relevant owner and repo arguments.
func (*Client) IssuesListIssueTimeline ¶ added in v0.1.1
func (c *Client) IssuesListIssueTimeline(ctx context.Context, number int, opts *github.ListOptions) ([]*github.Timeline, *github.Response, error)
IssuesListIssueTimeline calls the Issues.ListIssueTimeline method with the relevant owner and repo arguments.
func (*Client) IssuesListLabels ¶ added in v0.1.1
func (c *Client) IssuesListLabels(ctx context.Context, opts *github.ListOptions) ([]*github.Label, *github.Response, error)
IssuesListLabels calls the Issues.ListLabels method with the relevant owner and repo arguments.
func (*Client) IssuesListLabelsByIssue ¶ added in v0.1.1
func (c *Client) IssuesListLabelsByIssue(ctx context.Context, number int, opts *github.ListOptions) ([]*github.Label, *github.Response, error)
IssuesListLabelsByIssue calls the Issues.ListLabelsByIssue method with the relevant owner and repo arguments.
func (*Client) IssuesListLabelsForMilestone ¶ added in v0.1.1
func (c *Client) IssuesListLabelsForMilestone(ctx context.Context, number int, opts *github.ListOptions) ([]*github.Label, *github.Response, error)
IssuesListLabelsForMilestone calls the Issues.ListLabelsForMilestone method with the relevant owner and repo arguments.
func (*Client) IssuesListMilestones ¶ added in v0.1.1
func (c *Client) IssuesListMilestones(ctx context.Context, opts *github.MilestoneListOptions) ([]*github.Milestone, *github.Response, error)
IssuesListMilestones calls the Issues.ListMilestones method with the relevant owner and repo arguments.
func (*Client) IssuesListRepositoryEvents ¶ added in v0.1.1
func (c *Client) IssuesListRepositoryEvents(ctx context.Context, opts *github.ListOptions) ([]*github.IssueEvent, *github.Response, error)
IssuesListRepositoryEvents calls the Issues.ListRepositoryEvents method with the relevant owner and repo arguments.
func (*Client) IssuesLock ¶ added in v0.1.1
func (c *Client) IssuesLock(ctx context.Context, number int, opts *github.LockIssueOptions) (*github.Response, error)
IssuesLock calls the Issues.Lock method with the relevant owner and repo arguments.
func (*Client) IssuesRemoveAssignees ¶ added in v0.1.1
func (c *Client) IssuesRemoveAssignees(ctx context.Context, number int, assignees []string) (*github.Issue, *github.Response, error)
IssuesRemoveAssignees calls the Issues.RemoveAssignees method with the relevant owner and repo arguments.
func (*Client) IssuesRemoveLabelForIssue ¶ added in v0.1.1
func (c *Client) IssuesRemoveLabelForIssue(ctx context.Context, number int, label string) (*github.Response, error)
IssuesRemoveLabelForIssue calls the Issues.RemoveLabelForIssue method with the relevant owner and repo arguments.
func (*Client) IssuesRemoveLabelsForIssue ¶ added in v0.1.1
func (c *Client) IssuesRemoveLabelsForIssue(ctx context.Context, number int) (*github.Response, error)
IssuesRemoveLabelsForIssue calls the Issues.RemoveLabelsForIssue method with the relevant owner and repo arguments.
func (*Client) IssuesReplaceLabelsForIssue ¶ added in v0.1.1
func (c *Client) IssuesReplaceLabelsForIssue(ctx context.Context, number int, labels []string) ([]*github.Label, *github.Response, error)
IssuesReplaceLabelsForIssue calls the Issues.ReplaceLabelsForIssue method with the relevant owner and repo arguments.
func (*Client) IssuesUnlock ¶ added in v0.1.1
IssuesUnlock calls the Issues.Unlock method with the relevant owner and repo arguments.
func (*Client) MigrationsCancelImport ¶ added in v0.1.1
MigrationsCancelImport calls the Migrations.CancelImport method with the relevant owner and repo arguments.
func (*Client) MigrationsCommitAuthors ¶ added in v0.1.1
func (c *Client) MigrationsCommitAuthors(ctx context.Context) ([]*github.SourceImportAuthor, *github.Response, error)
MigrationsCommitAuthors calls the Migrations.CommitAuthors method with the relevant owner and repo arguments.
func (*Client) MigrationsImportProgress ¶ added in v0.1.1
func (c *Client) MigrationsImportProgress(ctx context.Context) (*github.Import, *github.Response, error)
MigrationsImportProgress calls the Migrations.ImportProgress method with the relevant owner and repo arguments.
func (*Client) MigrationsLargeFiles ¶ added in v0.1.1
func (c *Client) MigrationsLargeFiles(ctx context.Context) ([]*github.LargeFile, *github.Response, error)
MigrationsLargeFiles calls the Migrations.LargeFiles method with the relevant owner and repo arguments.
func (*Client) MigrationsMapCommitAuthor ¶ added in v0.1.1
func (c *Client) MigrationsMapCommitAuthor(ctx context.Context, id int64, author *github.SourceImportAuthor) (*github.SourceImportAuthor, *github.Response, error)
MigrationsMapCommitAuthor calls the Migrations.MapCommitAuthor method with the relevant owner and repo arguments.
func (*Client) MigrationsSetLFSPreference ¶ added in v0.1.1
func (c *Client) MigrationsSetLFSPreference(ctx context.Context, in *github.Import) (*github.Import, *github.Response, error)
MigrationsSetLFSPreference calls the Migrations.SetLFSPreference method with the relevant owner and repo arguments.
func (*Client) MigrationsStartImport ¶ added in v0.1.1
func (c *Client) MigrationsStartImport(ctx context.Context, in *github.Import) (*github.Import, *github.Response, error)
MigrationsStartImport calls the Migrations.StartImport method with the relevant owner and repo arguments.
func (*Client) MigrationsUpdateImport ¶ added in v0.1.1
func (c *Client) MigrationsUpdateImport(ctx context.Context, in *github.Import) (*github.Import, *github.Response, error)
MigrationsUpdateImport calls the Migrations.UpdateImport method with the relevant owner and repo arguments.
func (*Client) PullRequestsCreate ¶ added in v0.1.1
func (c *Client) PullRequestsCreate(ctx context.Context, pull *github.NewPullRequest) (*github.PullRequest, *github.Response, error)
PullRequestsCreate calls the PullRequests.Create method with the relevant owner and repo arguments.
func (*Client) PullRequestsCreateComment ¶ added in v0.1.1
func (c *Client) PullRequestsCreateComment(ctx context.Context, number int, comment *github.PullRequestComment) (*github.PullRequestComment, *github.Response, error)
PullRequestsCreateComment calls the PullRequests.CreateComment method with the relevant owner and repo arguments.
func (*Client) PullRequestsCreateCommentInReplyTo ¶ added in v0.1.1
func (c *Client) PullRequestsCreateCommentInReplyTo(ctx context.Context, number int, body string, commentID int64) (*github.PullRequestComment, *github.Response, error)
PullRequestsCreateCommentInReplyTo calls the PullRequests.CreateCommentInReplyTo method with the relevant owner and repo arguments.
func (*Client) PullRequestsCreateReview ¶ added in v0.1.1
func (c *Client) PullRequestsCreateReview(ctx context.Context, number int, review *github.PullRequestReviewRequest) (*github.PullRequestReview, *github.Response, error)
PullRequestsCreateReview calls the PullRequests.CreateReview method with the relevant owner and repo arguments.
func (*Client) PullRequestsDeleteComment ¶ added in v0.1.1
func (c *Client) PullRequestsDeleteComment(ctx context.Context, commentID int64) (*github.Response, error)
PullRequestsDeleteComment calls the PullRequests.DeleteComment method with the relevant owner and repo arguments.
func (*Client) PullRequestsDeletePendingReview ¶ added in v0.1.1
func (c *Client) PullRequestsDeletePendingReview(ctx context.Context, number int, reviewID int64) (*github.PullRequestReview, *github.Response, error)
PullRequestsDeletePendingReview calls the PullRequests.DeletePendingReview method with the relevant owner and repo arguments.
func (*Client) PullRequestsDismissReview ¶ added in v0.1.1
func (c *Client) PullRequestsDismissReview(ctx context.Context, number int, reviewID int64, review *github.PullRequestReviewDismissalRequest) (*github.PullRequestReview, *github.Response, error)
PullRequestsDismissReview calls the PullRequests.DismissReview method with the relevant owner and repo arguments.
func (*Client) PullRequestsEdit ¶ added in v0.1.1
func (c *Client) PullRequestsEdit(ctx context.Context, number int, pull *github.PullRequest) (*github.PullRequest, *github.Response, error)
PullRequestsEdit calls the PullRequests.Edit method with the relevant owner and repo arguments.
func (*Client) PullRequestsEditComment ¶ added in v0.1.1
func (c *Client) PullRequestsEditComment(ctx context.Context, commentID int64, comment *github.PullRequestComment) (*github.PullRequestComment, *github.Response, error)
PullRequestsEditComment calls the PullRequests.EditComment method with the relevant owner and repo arguments.
func (*Client) PullRequestsGet ¶ added in v0.1.1
func (c *Client) PullRequestsGet(ctx context.Context, number int) (*github.PullRequest, *github.Response, error)
PullRequestsGet calls the PullRequests.Get method with the relevant owner and repo arguments.
func (*Client) PullRequestsGetComment ¶ added in v0.1.1
func (c *Client) PullRequestsGetComment(ctx context.Context, commentID int64) (*github.PullRequestComment, *github.Response, error)
PullRequestsGetComment calls the PullRequests.GetComment method with the relevant owner and repo arguments.
func (*Client) PullRequestsGetRaw ¶ added in v0.1.1
func (c *Client) PullRequestsGetRaw(ctx context.Context, number int, opts github.RawOptions) (string, *github.Response, error)
PullRequestsGetRaw calls the PullRequests.GetRaw method with the relevant owner and repo arguments.
func (*Client) PullRequestsGetReview ¶ added in v0.1.1
func (c *Client) PullRequestsGetReview(ctx context.Context, number int, reviewID int64) (*github.PullRequestReview, *github.Response, error)
PullRequestsGetReview calls the PullRequests.GetReview method with the relevant owner and repo arguments.
func (*Client) PullRequestsIsMerged ¶ added in v0.1.1
func (c *Client) PullRequestsIsMerged(ctx context.Context, number int) (bool, *github.Response, error)
PullRequestsIsMerged calls the PullRequests.IsMerged method with the relevant owner and repo arguments.
func (*Client) PullRequestsList ¶ added in v0.1.1
func (c *Client) PullRequestsList(ctx context.Context, opts *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
PullRequestsList calls the PullRequests.List method with the relevant owner and repo arguments.
func (*Client) PullRequestsListComments ¶ added in v0.1.1
func (c *Client) PullRequestsListComments(ctx context.Context, number int, opts *github.PullRequestListCommentsOptions) ([]*github.PullRequestComment, *github.Response, error)
PullRequestsListComments calls the PullRequests.ListComments method with the relevant owner and repo arguments.
func (*Client) PullRequestsListCommits ¶ added in v0.1.1
func (c *Client) PullRequestsListCommits(ctx context.Context, number int, opts *github.ListOptions) ([]*github.RepositoryCommit, *github.Response, error)
PullRequestsListCommits calls the PullRequests.ListCommits method with the relevant owner and repo arguments.
func (*Client) PullRequestsListFiles ¶ added in v0.1.1
func (c *Client) PullRequestsListFiles(ctx context.Context, number int, opts *github.ListOptions) ([]*github.CommitFile, *github.Response, error)
PullRequestsListFiles calls the PullRequests.ListFiles method with the relevant owner and repo arguments.
func (*Client) PullRequestsListPullRequestsWithCommit ¶ added in v0.1.1
func (c *Client) PullRequestsListPullRequestsWithCommit(ctx context.Context, sha string, opts *github.PullRequestListOptions) ([]*github.PullRequest, *github.Response, error)
PullRequestsListPullRequestsWithCommit calls the PullRequests.ListPullRequestsWithCommit method with the relevant owner and repo arguments.
func (*Client) PullRequestsListReviewComments ¶ added in v0.1.1
func (c *Client) PullRequestsListReviewComments(ctx context.Context, number int, reviewID int64, opts *github.ListOptions) ([]*github.PullRequestComment, *github.Response, error)
PullRequestsListReviewComments calls the PullRequests.ListReviewComments method with the relevant owner and repo arguments.
func (*Client) PullRequestsListReviewers ¶ added in v0.1.1
func (c *Client) PullRequestsListReviewers(ctx context.Context, number int, opts *github.ListOptions) (*github.Reviewers, *github.Response, error)
PullRequestsListReviewers calls the PullRequests.ListReviewers method with the relevant owner and repo arguments.
func (*Client) PullRequestsListReviews ¶ added in v0.1.1
func (c *Client) PullRequestsListReviews(ctx context.Context, number int, opts *github.ListOptions) ([]*github.PullRequestReview, *github.Response, error)
PullRequestsListReviews calls the PullRequests.ListReviews method with the relevant owner and repo arguments.
func (*Client) PullRequestsMerge ¶ added in v0.1.1
func (c *Client) PullRequestsMerge(ctx context.Context, number int, commitMessage string, options *github.PullRequestOptions) (*github.PullRequestMergeResult, *github.Response, error)
PullRequestsMerge calls the PullRequests.Merge method with the relevant owner and repo arguments.
func (*Client) PullRequestsRemoveReviewers ¶ added in v0.1.1
func (c *Client) PullRequestsRemoveReviewers(ctx context.Context, number int, reviewers github.ReviewersRequest) (*github.Response, error)
PullRequestsRemoveReviewers calls the PullRequests.RemoveReviewers method with the relevant owner and repo arguments.
func (*Client) PullRequestsRequestReviewers ¶ added in v0.1.1
func (c *Client) PullRequestsRequestReviewers(ctx context.Context, number int, reviewers github.ReviewersRequest) (*github.PullRequest, *github.Response, error)
PullRequestsRequestReviewers calls the PullRequests.RequestReviewers method with the relevant owner and repo arguments.
func (*Client) PullRequestsSubmitReview ¶ added in v0.1.1
func (c *Client) PullRequestsSubmitReview(ctx context.Context, number int, reviewID int64, review *github.PullRequestReviewRequest) (*github.PullRequestReview, *github.Response, error)
PullRequestsSubmitReview calls the PullRequests.SubmitReview method with the relevant owner and repo arguments.
func (*Client) PullRequestsUpdateBranch ¶ added in v0.1.1
func (c *Client) PullRequestsUpdateBranch(ctx context.Context, number int, opts *github.PullRequestBranchUpdateOptions) (*github.PullRequestBranchUpdateResponse, *github.Response, error)
PullRequestsUpdateBranch calls the PullRequests.UpdateBranch method with the relevant owner and repo arguments.
func (*Client) PullRequestsUpdateReview ¶ added in v0.1.1
func (c *Client) PullRequestsUpdateReview(ctx context.Context, number int, reviewID int64, body string) (*github.PullRequestReview, *github.Response, error)
PullRequestsUpdateReview calls the PullRequests.UpdateReview method with the relevant owner and repo arguments.
func (*Client) ReactionsCreateCommentReaction ¶ added in v0.1.1
func (c *Client) ReactionsCreateCommentReaction(ctx context.Context, id int64, content string) (*github.Reaction, *github.Response, error)
ReactionsCreateCommentReaction calls the Reactions.CreateCommentReaction method with the relevant owner and repo arguments.
func (*Client) ReactionsCreateIssueCommentReaction ¶ added in v0.1.1
func (c *Client) ReactionsCreateIssueCommentReaction(ctx context.Context, id int64, content string) (*github.Reaction, *github.Response, error)
ReactionsCreateIssueCommentReaction calls the Reactions.CreateIssueCommentReaction method with the relevant owner and repo arguments.
func (*Client) ReactionsCreateIssueReaction ¶ added in v0.1.1
func (c *Client) ReactionsCreateIssueReaction(ctx context.Context, number int, content string) (*github.Reaction, *github.Response, error)
ReactionsCreateIssueReaction calls the Reactions.CreateIssueReaction method with the relevant owner and repo arguments.
func (*Client) ReactionsCreatePullRequestCommentReaction ¶ added in v0.1.1
func (c *Client) ReactionsCreatePullRequestCommentReaction(ctx context.Context, id int64, content string) (*github.Reaction, *github.Response, error)
ReactionsCreatePullRequestCommentReaction calls the Reactions.CreatePullRequestCommentReaction method with the relevant owner and repo arguments.
func (*Client) ReactionsDeleteCommentReaction ¶ added in v0.1.1
func (c *Client) ReactionsDeleteCommentReaction(ctx context.Context, commentID int64, reactionID int64) (*github.Response, error)
ReactionsDeleteCommentReaction calls the Reactions.DeleteCommentReaction method with the relevant owner and repo arguments.
func (*Client) ReactionsDeleteIssueCommentReaction ¶ added in v0.1.1
func (c *Client) ReactionsDeleteIssueCommentReaction(ctx context.Context, commentID int64, reactionID int64) (*github.Response, error)
ReactionsDeleteIssueCommentReaction calls the Reactions.DeleteIssueCommentReaction method with the relevant owner and repo arguments.
func (*Client) ReactionsDeleteIssueReaction ¶ added in v0.1.1
func (c *Client) ReactionsDeleteIssueReaction(ctx context.Context, issueNumber int, reactionID int64) (*github.Response, error)
ReactionsDeleteIssueReaction calls the Reactions.DeleteIssueReaction method with the relevant owner and repo arguments.
func (*Client) ReactionsDeletePullRequestCommentReaction ¶ added in v0.1.1
func (c *Client) ReactionsDeletePullRequestCommentReaction(ctx context.Context, commentID int64, reactionID int64) (*github.Response, error)
ReactionsDeletePullRequestCommentReaction calls the Reactions.DeletePullRequestCommentReaction method with the relevant owner and repo arguments.
func (*Client) ReactionsListCommentReactions ¶ added in v0.1.1
func (c *Client) ReactionsListCommentReactions(ctx context.Context, id int64, opts *github.ListCommentReactionOptions) ([]*github.Reaction, *github.Response, error)
ReactionsListCommentReactions calls the Reactions.ListCommentReactions method with the relevant owner and repo arguments.
func (*Client) ReactionsListIssueCommentReactions ¶ added in v0.1.1
func (c *Client) ReactionsListIssueCommentReactions(ctx context.Context, id int64, opts *github.ListOptions) ([]*github.Reaction, *github.Response, error)
ReactionsListIssueCommentReactions calls the Reactions.ListIssueCommentReactions method with the relevant owner and repo arguments.
func (*Client) ReactionsListIssueReactions ¶ added in v0.1.1
func (c *Client) ReactionsListIssueReactions(ctx context.Context, number int, opts *github.ListOptions) ([]*github.Reaction, *github.Response, error)
ReactionsListIssueReactions calls the Reactions.ListIssueReactions method with the relevant owner and repo arguments.
func (*Client) ReactionsListPullRequestCommentReactions ¶ added in v0.1.1
func (c *Client) ReactionsListPullRequestCommentReactions(ctx context.Context, id int64, opts *github.ListOptions) ([]*github.Reaction, *github.Response, error)
ReactionsListPullRequestCommentReactions calls the Reactions.ListPullRequestCommentReactions method with the relevant owner and repo arguments.
func (*Client) RepositoriesAddAdminEnforcement ¶ added in v0.1.1
func (c *Client) RepositoriesAddAdminEnforcement(ctx context.Context, branch string) (*github.AdminEnforcement, *github.Response, error)
RepositoriesAddAdminEnforcement calls the Repositories.AddAdminEnforcement method with the relevant owner and repo arguments.
func (*Client) RepositoriesAddAppRestrictions ¶ added in v0.1.1
func (c *Client) RepositoriesAddAppRestrictions(ctx context.Context, branch string, slug []string) ([]*github.App, *github.Response, error)
RepositoriesAddAppRestrictions calls the Repositories.AddAppRestrictions method with the relevant owner and repo arguments.
func (*Client) RepositoriesAddCollaborator ¶ added in v0.1.1
func (c *Client) RepositoriesAddCollaborator(ctx context.Context, user string, opts *github.RepositoryAddCollaboratorOptions) (*github.CollaboratorInvitation, *github.Response, error)
RepositoriesAddCollaborator calls the Repositories.AddCollaborator method with the relevant owner and repo arguments.
func (*Client) RepositoriesCompareCommits ¶ added in v0.1.1
func (c *Client) RepositoriesCompareCommits(ctx context.Context, base string, head string) (*github.CommitsComparison, *github.Response, error)
RepositoriesCompareCommits calls the Repositories.CompareCommits method with the relevant owner and repo arguments.
func (*Client) RepositoriesCreateComment ¶ added in v0.1.1
func (c *Client) RepositoriesCreateComment(ctx context.Context, sha string, comment *github.RepositoryComment) (*github.RepositoryComment, *github.Response, error)
RepositoriesCreateComment calls the Repositories.CreateComment method with the relevant owner and repo arguments.
func (*Client) RepositoriesCreateDeployment ¶ added in v0.1.1
func (c *Client) RepositoriesCreateDeployment(ctx context.Context, request *github.DeploymentRequest) (*github.Deployment, *github.Response, error)
RepositoriesCreateDeployment calls the Repositories.CreateDeployment method with the relevant owner and repo arguments.
func (*Client) RepositoriesCreateDeploymentStatus ¶ added in v0.1.1
func (c *Client) RepositoriesCreateDeploymentStatus(ctx context.Context, deployment int64, request *github.DeploymentStatusRequest) (*github.DeploymentStatus, *github.Response, error)
RepositoriesCreateDeploymentStatus calls the Repositories.CreateDeploymentStatus method with the relevant owner and repo arguments.
func (*Client) RepositoriesCreateFile ¶ added in v0.1.1
func (c *Client) RepositoriesCreateFile(ctx context.Context, path string, opts *github.RepositoryContentFileOptions) (*github.RepositoryContentResponse, *github.Response, error)
RepositoriesCreateFile calls the Repositories.CreateFile method with the relevant owner and repo arguments.
func (*Client) RepositoriesCreateFork ¶ added in v0.1.1
func (c *Client) RepositoriesCreateFork(ctx context.Context, opts *github.RepositoryCreateForkOptions) (*github.Repository, *github.Response, error)
RepositoriesCreateFork calls the Repositories.CreateFork method with the relevant owner and repo arguments.
func (*Client) RepositoriesCreateHook ¶ added in v0.1.1
func (c *Client) RepositoriesCreateHook(ctx context.Context, hook *github.Hook) (*github.Hook, *github.Response, error)
RepositoriesCreateHook calls the Repositories.CreateHook method with the relevant owner and repo arguments.
func (*Client) RepositoriesCreateKey ¶ added in v0.1.1
func (c *Client) RepositoriesCreateKey(ctx context.Context, key *github.Key) (*github.Key, *github.Response, error)
RepositoriesCreateKey calls the Repositories.CreateKey method with the relevant owner and repo arguments.
func (*Client) RepositoriesCreateProject ¶ added in v0.1.1
func (c *Client) RepositoriesCreateProject(ctx context.Context, opts *github.ProjectOptions) (*github.Project, *github.Response, error)
RepositoriesCreateProject calls the Repositories.CreateProject method with the relevant owner and repo arguments.
func (*Client) RepositoriesCreateRelease ¶ added in v0.1.1
func (c *Client) RepositoriesCreateRelease(ctx context.Context, release *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
RepositoriesCreateRelease calls the Repositories.CreateRelease method with the relevant owner and repo arguments.
func (*Client) RepositoriesCreateStatus ¶ added in v0.1.1
func (c *Client) RepositoriesCreateStatus(ctx context.Context, ref string, status *github.RepoStatus) (*github.RepoStatus, *github.Response, error)
RepositoriesCreateStatus calls the Repositories.CreateStatus method with the relevant owner and repo arguments.
func (*Client) RepositoriesDelete ¶ added in v0.1.1
RepositoriesDelete calls the Repositories.Delete method with the relevant owner and repo arguments.
func (*Client) RepositoriesDeleteComment ¶ added in v0.1.1
RepositoriesDeleteComment calls the Repositories.DeleteComment method with the relevant owner and repo arguments.
func (*Client) RepositoriesDeleteFile ¶ added in v0.1.1
func (c *Client) RepositoriesDeleteFile(ctx context.Context, path string, opts *github.RepositoryContentFileOptions) (*github.RepositoryContentResponse, *github.Response, error)
RepositoriesDeleteFile calls the Repositories.DeleteFile method with the relevant owner and repo arguments.
func (*Client) RepositoriesDeleteHook ¶ added in v0.1.1
RepositoriesDeleteHook calls the Repositories.DeleteHook method with the relevant owner and repo arguments.
func (*Client) RepositoriesDeleteInvitation ¶ added in v0.1.1
func (c *Client) RepositoriesDeleteInvitation(ctx context.Context, invitationID int64) (*github.Response, error)
RepositoriesDeleteInvitation calls the Repositories.DeleteInvitation method with the relevant owner and repo arguments.
func (*Client) RepositoriesDeleteKey ¶ added in v0.1.1
RepositoriesDeleteKey calls the Repositories.DeleteKey method with the relevant owner and repo arguments.
func (*Client) RepositoriesDeletePreReceiveHook ¶ added in v0.1.1
func (c *Client) RepositoriesDeletePreReceiveHook(ctx context.Context, id int64) (*github.Response, error)
RepositoriesDeletePreReceiveHook calls the Repositories.DeletePreReceiveHook method with the relevant owner and repo arguments.
func (*Client) RepositoriesDeleteRelease ¶ added in v0.1.1
RepositoriesDeleteRelease calls the Repositories.DeleteRelease method with the relevant owner and repo arguments.
func (*Client) RepositoriesDeleteReleaseAsset ¶ added in v0.1.1
func (c *Client) RepositoriesDeleteReleaseAsset(ctx context.Context, id int64) (*github.Response, error)
RepositoriesDeleteReleaseAsset calls the Repositories.DeleteReleaseAsset method with the relevant owner and repo arguments.
func (*Client) RepositoriesDisableDismissalRestrictions ¶ added in v0.1.1
func (c *Client) RepositoriesDisableDismissalRestrictions(ctx context.Context, branch string) (*github.PullRequestReviewsEnforcement, *github.Response, error)
RepositoriesDisableDismissalRestrictions calls the Repositories.DisableDismissalRestrictions method with the relevant owner and repo arguments.
func (*Client) RepositoriesDisablePages ¶ added in v0.1.1
RepositoriesDisablePages calls the Repositories.DisablePages method with the relevant owner and repo arguments.
func (*Client) RepositoriesDispatch ¶ added in v0.1.1
func (c *Client) RepositoriesDispatch(ctx context.Context, opts github.DispatchRequestOptions) (*github.Repository, *github.Response, error)
RepositoriesDispatch calls the Repositories.Dispatch method with the relevant owner and repo arguments.
func (*Client) RepositoriesDownloadContents ¶ added in v0.1.1
func (c *Client) RepositoriesDownloadContents(ctx context.Context, filepath string, opts *github.RepositoryContentGetOptions) (io.ReadCloser, error)
RepositoriesDownloadContents calls the Repositories.DownloadContents method with the relevant owner and repo arguments.
func (*Client) RepositoriesDownloadReleaseAsset ¶ added in v0.1.1
func (c *Client) RepositoriesDownloadReleaseAsset(ctx context.Context, id int64, followRedirectsClient *http.Client) (rc io.ReadCloser, redirectURL string, err error)
RepositoriesDownloadReleaseAsset calls the Repositories.DownloadReleaseAsset method with the relevant owner and repo arguments.
func (*Client) RepositoriesEdit ¶ added in v0.1.1
func (c *Client) RepositoriesEdit(ctx context.Context, repository *github.Repository) (*github.Repository, *github.Response, error)
RepositoriesEdit calls the Repositories.Edit method with the relevant owner and repo arguments.
func (*Client) RepositoriesEditHook ¶ added in v0.1.1
func (c *Client) RepositoriesEditHook(ctx context.Context, id int64, hook *github.Hook) (*github.Hook, *github.Response, error)
RepositoriesEditHook calls the Repositories.EditHook method with the relevant owner and repo arguments.
func (*Client) RepositoriesEditRelease ¶ added in v0.1.1
func (c *Client) RepositoriesEditRelease(ctx context.Context, id int64, release *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
RepositoriesEditRelease calls the Repositories.EditRelease method with the relevant owner and repo arguments.
func (*Client) RepositoriesEditReleaseAsset ¶ added in v0.1.1
func (c *Client) RepositoriesEditReleaseAsset(ctx context.Context, id int64, release *github.ReleaseAsset) (*github.ReleaseAsset, *github.Response, error)
RepositoriesEditReleaseAsset calls the Repositories.EditReleaseAsset method with the relevant owner and repo arguments.
func (*Client) RepositoriesEnablePages ¶ added in v0.1.1
func (c *Client) RepositoriesEnablePages(ctx context.Context, pages *github.Pages) (*github.Pages, *github.Response, error)
RepositoriesEnablePages calls the Repositories.EnablePages method with the relevant owner and repo arguments.
func (*Client) RepositoriesGet ¶ added in v0.1.1
RepositoriesGet calls the Repositories.Get method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetAdminEnforcement ¶ added in v0.1.1
func (c *Client) RepositoriesGetAdminEnforcement(ctx context.Context, branch string) (*github.AdminEnforcement, *github.Response, error)
RepositoriesGetAdminEnforcement calls the Repositories.GetAdminEnforcement method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetBranch ¶ added in v0.1.1
func (c *Client) RepositoriesGetBranch(ctx context.Context, branch string) (*github.Branch, *github.Response, error)
RepositoriesGetBranch calls the Repositories.GetBranch method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetBranchProtection ¶ added in v0.1.1
func (c *Client) RepositoriesGetBranchProtection(ctx context.Context, branch string) (*github.Protection, *github.Response, error)
RepositoriesGetBranchProtection calls the Repositories.GetBranchProtection method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetCodeOfConduct ¶ added in v0.1.1
func (c *Client) RepositoriesGetCodeOfConduct(ctx context.Context) (*github.CodeOfConduct, *github.Response, error)
RepositoriesGetCodeOfConduct calls the Repositories.GetCodeOfConduct method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetCombinedStatus ¶ added in v0.1.1
func (c *Client) RepositoriesGetCombinedStatus(ctx context.Context, ref string, opts *github.ListOptions) (*github.CombinedStatus, *github.Response, error)
RepositoriesGetCombinedStatus calls the Repositories.GetCombinedStatus method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetComment ¶ added in v0.1.1
func (c *Client) RepositoriesGetComment(ctx context.Context, id int64) (*github.RepositoryComment, *github.Response, error)
RepositoriesGetComment calls the Repositories.GetComment method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetCommit ¶ added in v0.1.1
func (c *Client) RepositoriesGetCommit(ctx context.Context, sha string) (*github.RepositoryCommit, *github.Response, error)
RepositoriesGetCommit calls the Repositories.GetCommit method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetCommitRaw ¶ added in v0.1.1
func (c *Client) RepositoriesGetCommitRaw(ctx context.Context, sha string, opts github.RawOptions) (string, *github.Response, error)
RepositoriesGetCommitRaw calls the Repositories.GetCommitRaw method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetCommitSHA1 ¶ added in v0.1.1
func (c *Client) RepositoriesGetCommitSHA1(ctx context.Context, ref string, lastSHA string) (string, *github.Response, error)
RepositoriesGetCommitSHA1 calls the Repositories.GetCommitSHA1 method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetCommunityHealthMetrics ¶ added in v0.1.1
func (c *Client) RepositoriesGetCommunityHealthMetrics(ctx context.Context) (*github.CommunityHealthMetrics, *github.Response, error)
RepositoriesGetCommunityHealthMetrics calls the Repositories.GetCommunityHealthMetrics method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetContents ¶ added in v0.1.1
func (c *Client) RepositoriesGetContents(ctx context.Context, path string, opts *github.RepositoryContentGetOptions) (fileContent *github.RepositoryContent, directoryContent []*github.RepositoryContent, resp *github.Response, err error)
RepositoriesGetContents calls the Repositories.GetContents method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetDeployment ¶ added in v0.1.1
func (c *Client) RepositoriesGetDeployment(ctx context.Context, deploymentID int64) (*github.Deployment, *github.Response, error)
RepositoriesGetDeployment calls the Repositories.GetDeployment method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetDeploymentStatus ¶ added in v0.1.1
func (c *Client) RepositoriesGetDeploymentStatus(ctx context.Context, deploymentID int64, deploymentStatusID int64) (*github.DeploymentStatus, *github.Response, error)
RepositoriesGetDeploymentStatus calls the Repositories.GetDeploymentStatus method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetHook ¶ added in v0.1.1
func (c *Client) RepositoriesGetHook(ctx context.Context, id int64) (*github.Hook, *github.Response, error)
RepositoriesGetHook calls the Repositories.GetHook method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetKey ¶ added in v0.1.1
func (c *Client) RepositoriesGetKey(ctx context.Context, id int64) (*github.Key, *github.Response, error)
RepositoriesGetKey calls the Repositories.GetKey method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetLatestPagesBuild ¶ added in v0.1.1
func (c *Client) RepositoriesGetLatestPagesBuild(ctx context.Context) (*github.PagesBuild, *github.Response, error)
RepositoriesGetLatestPagesBuild calls the Repositories.GetLatestPagesBuild method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetLatestRelease ¶ added in v0.1.1
func (c *Client) RepositoriesGetLatestRelease(ctx context.Context) (*github.RepositoryRelease, *github.Response, error)
RepositoriesGetLatestRelease calls the Repositories.GetLatestRelease method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetPageBuild ¶ added in v0.1.1
func (c *Client) RepositoriesGetPageBuild(ctx context.Context, id int64) (*github.PagesBuild, *github.Response, error)
RepositoriesGetPageBuild calls the Repositories.GetPageBuild method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetPagesInfo ¶ added in v0.1.1
func (c *Client) RepositoriesGetPagesInfo(ctx context.Context) (*github.Pages, *github.Response, error)
RepositoriesGetPagesInfo calls the Repositories.GetPagesInfo method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetPermissionLevel ¶ added in v0.1.1
func (c *Client) RepositoriesGetPermissionLevel(ctx context.Context, user string) (*github.RepositoryPermissionLevel, *github.Response, error)
RepositoriesGetPermissionLevel calls the Repositories.GetPermissionLevel method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetPreReceiveHook ¶ added in v0.1.1
func (c *Client) RepositoriesGetPreReceiveHook(ctx context.Context, id int64) (*github.PreReceiveHook, *github.Response, error)
RepositoriesGetPreReceiveHook calls the Repositories.GetPreReceiveHook method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetPullRequestReviewEnforcement ¶ added in v0.1.1
func (c *Client) RepositoriesGetPullRequestReviewEnforcement(ctx context.Context, branch string) (*github.PullRequestReviewsEnforcement, *github.Response, error)
RepositoriesGetPullRequestReviewEnforcement calls the Repositories.GetPullRequestReviewEnforcement method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetReadme ¶ added in v0.1.1
func (c *Client) RepositoriesGetReadme(ctx context.Context, opts *github.RepositoryContentGetOptions) (*github.RepositoryContent, *github.Response, error)
RepositoriesGetReadme calls the Repositories.GetReadme method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetRelease ¶ added in v0.1.1
func (c *Client) RepositoriesGetRelease(ctx context.Context, id int64) (*github.RepositoryRelease, *github.Response, error)
RepositoriesGetRelease calls the Repositories.GetRelease method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetReleaseAsset ¶ added in v0.1.1
func (c *Client) RepositoriesGetReleaseAsset(ctx context.Context, id int64) (*github.ReleaseAsset, *github.Response, error)
RepositoriesGetReleaseAsset calls the Repositories.GetReleaseAsset method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetReleaseByTag ¶ added in v0.1.1
func (c *Client) RepositoriesGetReleaseByTag(ctx context.Context, tag string) (*github.RepositoryRelease, *github.Response, error)
RepositoriesGetReleaseByTag calls the Repositories.GetReleaseByTag method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetRequiredStatusChecks ¶ added in v0.1.1
func (c *Client) RepositoriesGetRequiredStatusChecks(ctx context.Context, branch string) (*github.RequiredStatusChecks, *github.Response, error)
RepositoriesGetRequiredStatusChecks calls the Repositories.GetRequiredStatusChecks method with the relevant owner and repo arguments.
func (*Client) RepositoriesGetSignaturesProtectedBranch ¶ added in v0.1.1
func (c *Client) RepositoriesGetSignaturesProtectedBranch(ctx context.Context, branch string) (*github.SignaturesProtectedBranch, *github.Response, error)
RepositoriesGetSignaturesProtectedBranch calls the Repositories.GetSignaturesProtectedBranch method with the relevant owner and repo arguments.
func (*Client) RepositoriesIsCollaborator ¶ added in v0.1.1
func (c *Client) RepositoriesIsCollaborator(ctx context.Context, user string) (bool, *github.Response, error)
RepositoriesIsCollaborator calls the Repositories.IsCollaborator method with the relevant owner and repo arguments.
func (*Client) RepositoriesLicense ¶ added in v0.1.1
func (c *Client) RepositoriesLicense(ctx context.Context) (*github.RepositoryLicense, *github.Response, error)
RepositoriesLicense calls the Repositories.License method with the relevant owner and repo arguments.
func (*Client) RepositoriesListAllTopics ¶ added in v0.1.1
RepositoriesListAllTopics calls the Repositories.ListAllTopics method with the relevant owner and repo arguments.
func (*Client) RepositoriesListApps ¶ added in v0.1.1
func (c *Client) RepositoriesListApps(ctx context.Context, branch string) ([]*github.App, *github.Response, error)
RepositoriesListApps calls the Repositories.ListApps method with the relevant owner and repo arguments.
func (*Client) RepositoriesListBranches ¶ added in v0.1.1
func (c *Client) RepositoriesListBranches(ctx context.Context, opts *github.BranchListOptions) ([]*github.Branch, *github.Response, error)
RepositoriesListBranches calls the Repositories.ListBranches method with the relevant owner and repo arguments.
func (*Client) RepositoriesListBranchesHeadCommit ¶ added in v0.1.1
func (c *Client) RepositoriesListBranchesHeadCommit(ctx context.Context, sha string) ([]*github.BranchCommit, *github.Response, error)
RepositoriesListBranchesHeadCommit calls the Repositories.ListBranchesHeadCommit method with the relevant owner and repo arguments.
func (*Client) RepositoriesListCodeFrequency ¶ added in v0.1.1
func (c *Client) RepositoriesListCodeFrequency(ctx context.Context) ([]*github.WeeklyStats, *github.Response, error)
RepositoriesListCodeFrequency calls the Repositories.ListCodeFrequency method with the relevant owner and repo arguments.
func (*Client) RepositoriesListCollaborators ¶ added in v0.1.1
func (c *Client) RepositoriesListCollaborators(ctx context.Context, opts *github.ListCollaboratorsOptions) ([]*github.User, *github.Response, error)
RepositoriesListCollaborators calls the Repositories.ListCollaborators method with the relevant owner and repo arguments.
func (*Client) RepositoriesListComments ¶ added in v0.1.1
func (c *Client) RepositoriesListComments(ctx context.Context, opts *github.ListOptions) ([]*github.RepositoryComment, *github.Response, error)
RepositoriesListComments calls the Repositories.ListComments method with the relevant owner and repo arguments.
func (*Client) RepositoriesListCommitActivity ¶ added in v0.1.1
func (c *Client) RepositoriesListCommitActivity(ctx context.Context) ([]*github.WeeklyCommitActivity, *github.Response, error)
RepositoriesListCommitActivity calls the Repositories.ListCommitActivity method with the relevant owner and repo arguments.
func (*Client) RepositoriesListCommitComments ¶ added in v0.1.1
func (c *Client) RepositoriesListCommitComments(ctx context.Context, sha string, opts *github.ListOptions) ([]*github.RepositoryComment, *github.Response, error)
RepositoriesListCommitComments calls the Repositories.ListCommitComments method with the relevant owner and repo arguments.
func (*Client) RepositoriesListCommits ¶ added in v0.1.1
func (c *Client) RepositoriesListCommits(ctx context.Context, opts *github.CommitsListOptions) ([]*github.RepositoryCommit, *github.Response, error)
RepositoriesListCommits calls the Repositories.ListCommits method with the relevant owner and repo arguments.
func (*Client) RepositoriesListContributorsStats ¶ added in v0.1.1
func (c *Client) RepositoriesListContributorsStats(ctx context.Context) ([]*github.ContributorStats, *github.Response, error)
RepositoriesListContributorsStats calls the Repositories.ListContributorsStats method with the relevant owner and repo arguments.
func (*Client) RepositoriesListDeploymentStatuses ¶ added in v0.1.1
func (c *Client) RepositoriesListDeploymentStatuses(ctx context.Context, deployment int64, opts *github.ListOptions) ([]*github.DeploymentStatus, *github.Response, error)
RepositoriesListDeploymentStatuses calls the Repositories.ListDeploymentStatuses method with the relevant owner and repo arguments.
func (*Client) RepositoriesListDeployments ¶ added in v0.1.1
func (c *Client) RepositoriesListDeployments(ctx context.Context, opts *github.DeploymentsListOptions) ([]*github.Deployment, *github.Response, error)
RepositoriesListDeployments calls the Repositories.ListDeployments method with the relevant owner and repo arguments.
func (*Client) RepositoriesListForks ¶ added in v0.1.1
func (c *Client) RepositoriesListForks(ctx context.Context, opts *github.RepositoryListForksOptions) ([]*github.Repository, *github.Response, error)
RepositoriesListForks calls the Repositories.ListForks method with the relevant owner and repo arguments.
func (*Client) RepositoriesListHooks ¶ added in v0.1.1
func (c *Client) RepositoriesListHooks(ctx context.Context, opts *github.ListOptions) ([]*github.Hook, *github.Response, error)
RepositoriesListHooks calls the Repositories.ListHooks method with the relevant owner and repo arguments.
func (*Client) RepositoriesListInvitations ¶ added in v0.1.1
func (c *Client) RepositoriesListInvitations(ctx context.Context, opts *github.ListOptions) ([]*github.RepositoryInvitation, *github.Response, error)
RepositoriesListInvitations calls the Repositories.ListInvitations method with the relevant owner and repo arguments.
func (*Client) RepositoriesListKeys ¶ added in v0.1.1
func (c *Client) RepositoriesListKeys(ctx context.Context, opts *github.ListOptions) ([]*github.Key, *github.Response, error)
RepositoriesListKeys calls the Repositories.ListKeys method with the relevant owner and repo arguments.
func (*Client) RepositoriesListLanguages ¶ added in v0.1.1
func (c *Client) RepositoriesListLanguages(ctx context.Context) (map[string]int, *github.Response, error)
RepositoriesListLanguages calls the Repositories.ListLanguages method with the relevant owner and repo arguments.
func (*Client) RepositoriesListPagesBuilds ¶ added in v0.1.1
func (c *Client) RepositoriesListPagesBuilds(ctx context.Context, opts *github.ListOptions) ([]*github.PagesBuild, *github.Response, error)
RepositoriesListPagesBuilds calls the Repositories.ListPagesBuilds method with the relevant owner and repo arguments.
func (*Client) RepositoriesListParticipation ¶ added in v0.1.1
func (c *Client) RepositoriesListParticipation(ctx context.Context) (*github.RepositoryParticipation, *github.Response, error)
RepositoriesListParticipation calls the Repositories.ListParticipation method with the relevant owner and repo arguments.
func (*Client) RepositoriesListPreReceiveHooks ¶ added in v0.1.1
func (c *Client) RepositoriesListPreReceiveHooks(ctx context.Context, opts *github.ListOptions) ([]*github.PreReceiveHook, *github.Response, error)
RepositoriesListPreReceiveHooks calls the Repositories.ListPreReceiveHooks method with the relevant owner and repo arguments.
func (*Client) RepositoriesListProjects ¶ added in v0.1.1
func (c *Client) RepositoriesListProjects(ctx context.Context, opts *github.ProjectListOptions) ([]*github.Project, *github.Response, error)
RepositoriesListProjects calls the Repositories.ListProjects method with the relevant owner and repo arguments.
func (*Client) RepositoriesListPunchCard ¶ added in v0.1.1
func (c *Client) RepositoriesListPunchCard(ctx context.Context) ([]*github.PunchCard, *github.Response, error)
RepositoriesListPunchCard calls the Repositories.ListPunchCard method with the relevant owner and repo arguments.
func (*Client) RepositoriesListReleaseAssets ¶ added in v0.1.1
func (c *Client) RepositoriesListReleaseAssets(ctx context.Context, id int64, opts *github.ListOptions) ([]*github.ReleaseAsset, *github.Response, error)
RepositoriesListReleaseAssets calls the Repositories.ListReleaseAssets method with the relevant owner and repo arguments.
func (*Client) RepositoriesListReleases ¶ added in v0.1.1
func (c *Client) RepositoriesListReleases(ctx context.Context, opts *github.ListOptions) ([]*github.RepositoryRelease, *github.Response, error)
RepositoriesListReleases calls the Repositories.ListReleases method with the relevant owner and repo arguments.
func (*Client) RepositoriesListRequiredStatusChecksContexts ¶ added in v0.1.1
func (c *Client) RepositoriesListRequiredStatusChecksContexts(ctx context.Context, branch string) (contexts []string, resp *github.Response, err error)
RepositoriesListRequiredStatusChecksContexts calls the Repositories.ListRequiredStatusChecksContexts method with the relevant owner and repo arguments.
func (*Client) RepositoriesListStatuses ¶ added in v0.1.1
func (c *Client) RepositoriesListStatuses(ctx context.Context, ref string, opts *github.ListOptions) ([]*github.RepoStatus, *github.Response, error)
RepositoriesListStatuses calls the Repositories.ListStatuses method with the relevant owner and repo arguments.
func (*Client) RepositoriesListTags ¶ added in v0.1.1
func (c *Client) RepositoriesListTags(ctx context.Context, opts *github.ListOptions) ([]*github.RepositoryTag, *github.Response, error)
RepositoriesListTags calls the Repositories.ListTags method with the relevant owner and repo arguments.
func (*Client) RepositoriesListTeams ¶ added in v0.1.1
func (c *Client) RepositoriesListTeams(ctx context.Context, opts *github.ListOptions) ([]*github.Team, *github.Response, error)
RepositoriesListTeams calls the Repositories.ListTeams method with the relevant owner and repo arguments.
func (*Client) RepositoriesListTrafficClones ¶ added in v0.1.1
func (c *Client) RepositoriesListTrafficClones(ctx context.Context, opts *github.TrafficBreakdownOptions) (*github.TrafficClones, *github.Response, error)
RepositoriesListTrafficClones calls the Repositories.ListTrafficClones method with the relevant owner and repo arguments.
func (*Client) RepositoriesListTrafficPaths ¶ added in v0.1.1
func (c *Client) RepositoriesListTrafficPaths(ctx context.Context) ([]*github.TrafficPath, *github.Response, error)
RepositoriesListTrafficPaths calls the Repositories.ListTrafficPaths method with the relevant owner and repo arguments.
func (*Client) RepositoriesListTrafficReferrers ¶ added in v0.1.1
func (c *Client) RepositoriesListTrafficReferrers(ctx context.Context) ([]*github.TrafficReferrer, *github.Response, error)
RepositoriesListTrafficReferrers calls the Repositories.ListTrafficReferrers method with the relevant owner and repo arguments.
func (*Client) RepositoriesListTrafficViews ¶ added in v0.1.1
func (c *Client) RepositoriesListTrafficViews(ctx context.Context, opts *github.TrafficBreakdownOptions) (*github.TrafficViews, *github.Response, error)
RepositoriesListTrafficViews calls the Repositories.ListTrafficViews method with the relevant owner and repo arguments.
func (*Client) RepositoriesMerge ¶ added in v0.1.1
func (c *Client) RepositoriesMerge(ctx context.Context, request *github.RepositoryMergeRequest) (*github.RepositoryCommit, *github.Response, error)
RepositoriesMerge calls the Repositories.Merge method with the relevant owner and repo arguments.
func (*Client) RepositoriesOptionalSignaturesOnProtectedBranch ¶ added in v0.1.1
func (c *Client) RepositoriesOptionalSignaturesOnProtectedBranch(ctx context.Context, branch string) (*github.Response, error)
RepositoriesOptionalSignaturesOnProtectedBranch calls the Repositories.OptionalSignaturesOnProtectedBranch method with the relevant owner and repo arguments.
func (*Client) RepositoriesPingHook ¶ added in v0.1.1
RepositoriesPingHook calls the Repositories.PingHook method with the relevant owner and repo arguments.
func (*Client) RepositoriesRemoveAdminEnforcement ¶ added in v0.1.1
func (c *Client) RepositoriesRemoveAdminEnforcement(ctx context.Context, branch string) (*github.Response, error)
RepositoriesRemoveAdminEnforcement calls the Repositories.RemoveAdminEnforcement method with the relevant owner and repo arguments.
func (*Client) RepositoriesRemoveAppRestrictions ¶ added in v0.1.1
func (c *Client) RepositoriesRemoveAppRestrictions(ctx context.Context, branch string, slug []string) ([]*github.App, *github.Response, error)
RepositoriesRemoveAppRestrictions calls the Repositories.RemoveAppRestrictions method with the relevant owner and repo arguments.
func (*Client) RepositoriesRemoveBranchProtection ¶ added in v0.1.1
func (c *Client) RepositoriesRemoveBranchProtection(ctx context.Context, branch string) (*github.Response, error)
RepositoriesRemoveBranchProtection calls the Repositories.RemoveBranchProtection method with the relevant owner and repo arguments.
func (*Client) RepositoriesRemoveCollaborator ¶ added in v0.1.1
func (c *Client) RepositoriesRemoveCollaborator(ctx context.Context, user string) (*github.Response, error)
RepositoriesRemoveCollaborator calls the Repositories.RemoveCollaborator method with the relevant owner and repo arguments.
func (*Client) RepositoriesRemovePullRequestReviewEnforcement ¶ added in v0.1.1
func (c *Client) RepositoriesRemovePullRequestReviewEnforcement(ctx context.Context, branch string) (*github.Response, error)
RepositoriesRemovePullRequestReviewEnforcement calls the Repositories.RemovePullRequestReviewEnforcement method with the relevant owner and repo arguments.
func (*Client) RepositoriesReplaceAllTopics ¶ added in v0.1.1
func (c *Client) RepositoriesReplaceAllTopics(ctx context.Context, topics []string) ([]string, *github.Response, error)
RepositoriesReplaceAllTopics calls the Repositories.ReplaceAllTopics method with the relevant owner and repo arguments.
func (*Client) RepositoriesReplaceAppRestrictions ¶ added in v0.1.1
func (c *Client) RepositoriesReplaceAppRestrictions(ctx context.Context, branch string, slug []string) ([]*github.App, *github.Response, error)
RepositoriesReplaceAppRestrictions calls the Repositories.ReplaceAppRestrictions method with the relevant owner and repo arguments.
func (*Client) RepositoriesRequestPageBuild ¶ added in v0.1.1
func (c *Client) RepositoriesRequestPageBuild(ctx context.Context) (*github.PagesBuild, *github.Response, error)
RepositoriesRequestPageBuild calls the Repositories.RequestPageBuild method with the relevant owner and repo arguments.
func (*Client) RepositoriesRequireSignaturesOnProtectedBranch ¶ added in v0.1.1
func (c *Client) RepositoriesRequireSignaturesOnProtectedBranch(ctx context.Context, branch string) (*github.SignaturesProtectedBranch, *github.Response, error)
RepositoriesRequireSignaturesOnProtectedBranch calls the Repositories.RequireSignaturesOnProtectedBranch method with the relevant owner and repo arguments.
func (*Client) RepositoriesTestHook ¶ added in v0.1.1
RepositoriesTestHook calls the Repositories.TestHook method with the relevant owner and repo arguments.
func (*Client) RepositoriesTransfer ¶ added in v0.1.1
func (c *Client) RepositoriesTransfer(ctx context.Context, transfer github.TransferRequest) (*github.Repository, *github.Response, error)
RepositoriesTransfer calls the Repositories.Transfer method with the relevant owner and repo arguments.
func (*Client) RepositoriesUpdateBranchProtection ¶ added in v0.1.1
func (c *Client) RepositoriesUpdateBranchProtection(ctx context.Context, branch string, preq *github.ProtectionRequest) (*github.Protection, *github.Response, error)
RepositoriesUpdateBranchProtection calls the Repositories.UpdateBranchProtection method with the relevant owner and repo arguments.
func (*Client) RepositoriesUpdateComment ¶ added in v0.1.1
func (c *Client) RepositoriesUpdateComment(ctx context.Context, id int64, comment *github.RepositoryComment) (*github.RepositoryComment, *github.Response, error)
RepositoriesUpdateComment calls the Repositories.UpdateComment method with the relevant owner and repo arguments.
func (*Client) RepositoriesUpdateFile ¶ added in v0.1.1
func (c *Client) RepositoriesUpdateFile(ctx context.Context, path string, opts *github.RepositoryContentFileOptions) (*github.RepositoryContentResponse, *github.Response, error)
RepositoriesUpdateFile calls the Repositories.UpdateFile method with the relevant owner and repo arguments.
func (*Client) RepositoriesUpdateInvitation ¶ added in v0.1.1
func (c *Client) RepositoriesUpdateInvitation(ctx context.Context, invitationID int64, permissions string) (*github.RepositoryInvitation, *github.Response, error)
RepositoriesUpdateInvitation calls the Repositories.UpdateInvitation method with the relevant owner and repo arguments.
func (*Client) RepositoriesUpdatePages ¶ added in v0.1.1
func (c *Client) RepositoriesUpdatePages(ctx context.Context, opts *github.PagesUpdate) (*github.Response, error)
RepositoriesUpdatePages calls the Repositories.UpdatePages method with the relevant owner and repo arguments.
func (*Client) RepositoriesUpdatePreReceiveHook ¶ added in v0.1.1
func (c *Client) RepositoriesUpdatePreReceiveHook(ctx context.Context, id int64, hook *github.PreReceiveHook) (*github.PreReceiveHook, *github.Response, error)
RepositoriesUpdatePreReceiveHook calls the Repositories.UpdatePreReceiveHook method with the relevant owner and repo arguments.
func (*Client) RepositoriesUpdatePullRequestReviewEnforcement ¶ added in v0.1.1
func (c *Client) RepositoriesUpdatePullRequestReviewEnforcement(ctx context.Context, branch string, patch *github.PullRequestReviewsEnforcementUpdate) (*github.PullRequestReviewsEnforcement, *github.Response, error)
RepositoriesUpdatePullRequestReviewEnforcement calls the Repositories.UpdatePullRequestReviewEnforcement method with the relevant owner and repo arguments.
func (*Client) RepositoriesUpdateRequiredStatusChecks ¶ added in v0.1.1
func (c *Client) RepositoriesUpdateRequiredStatusChecks(ctx context.Context, branch string, sreq *github.RequiredStatusChecksRequest) (*github.RequiredStatusChecks, *github.Response, error)
RepositoriesUpdateRequiredStatusChecks calls the Repositories.UpdateRequiredStatusChecks method with the relevant owner and repo arguments.
func (*Client) RepositoriesUploadReleaseAsset ¶ added in v0.1.1
func (c *Client) RepositoriesUploadReleaseAsset(ctx context.Context, id int64, opts *github.UploadOptions, file *os.File) (*github.ReleaseAsset, *github.Response, error)
RepositoriesUploadReleaseAsset calls the Repositories.UploadReleaseAsset method with the relevant owner and repo arguments.