Versions in this module Expand all Collapse all v0 v0.5.0 Oct 30, 2026 v0.4.0 Oct 29, 2026 v0.3.0 Oct 29, 2026 v0.2.0 Oct 27, 2026 v0.1.0 Oct 26, 2026 v0.0.1 Oct 24, 2026 Changes in this version + func Key() *rsa.PrivateKey + type CheckRun struct + Actions []map[string]any + CompletedAt string + Conclusion string + DetailsURL string + ExternalID string + HeadSHA string + ID int64 + Name string + Repo string + StartedAt string + Status string + SuiteID int64 + Summary string + Text string + Title string + Updates int + type IssueComment struct + Body string + Number int + Repo string + type PullRequest struct + Author string + AuthorAssociation string + BaseRef string + BaseSHA string + Draft bool + HeadRef string + HeadRepo string + HeadSHA string + Number int + State string + type Reaction struct + CommentID int64 + Content string + Repo string + type Repository struct + Archived bool + DefaultBranch string + ID int64 + Name string + Owner string + type Server struct + AppID int64 + Comparisons map[string][]string + Files map[string]string + Permissions map[string]string + PullRequestFiles map[string][]string + TeamMembers map[string][]string + func NewServer(t testing.TB, appID int64) *Server + func (s *Server) AddCheckRun(cr CheckRun) int64 + func (s *Server) AddFile(repo, ref, path, content string) + func (s *Server) AddInstallation(id int64, account string, repos ...Repository) + func (s *Server) CheckRun(id int64) (CheckRun, bool) + func (s *Server) CheckRuns() []CheckRun + func (s *Server) Comments() []IssueComment + func (s *Server) Reactions() []Reaction + func (s *Server) Requests() []string + func (s *Server) SetBranch(repo, branch, sha string) + func (s *Server) SetComparison(repo, base, head string, files []string) + func (s *Server) SetFailFiles(fail bool) + func (s *Server) SetFailTokens(fail func(TokenRequest) bool) + func (s *Server) SetPermission(repo, login, level string) + func (s *Server) SetPullRequest(repo string, pr PullRequest) + func (s *Server) SetPullRequestFiles(repo string, number int, files []string) + func (s *Server) SuiteID(repo, sha string) int64 + func (s *Server) TokenRequests() []TokenRequest + type TokenRequest struct + InstallationID int64 + Permissions map[string]string + RepositoryIDs []int64