Versions in this module Expand all Collapse all v1 v1.0.0 Jun 15, 2026 Changes in this version + type APIError struct + Code int + Message string + type CapturedNotification struct + Body string + Time time.Time + Title string + URL string + type MockComment struct + Author string + Body string + CreatedAt time.Time + Reactions []MockReaction + type MockCommit struct + Author string + CommittedDate time.Time + SHA string + type MockGitHubServer struct + func SetupMockGitHubServer() *MockGitHubServer + func (m *MockGitHubServer) AddComment(prNumber int, comment MockComment) + func (m *MockGitHubServer) AddCommit(prNumber int, commit MockCommit) + func (m *MockGitHubServer) AddReactionToComment(prNumber int, commentIndex int, reaction MockReaction) + func (m *MockGitHubServer) AddReactionToReview(prNumber int, reviewIndex int, reaction MockReaction) + func (m *MockGitHubServer) AddReview(prNumber int, review MockReview) + func (m *MockGitHubServer) ClearError() + func (m *MockGitHubServer) ClosePR(prNumber int) + func (m *MockGitHubServer) MergePR(prNumber int) + func (m *MockGitHubServer) SetError(code int, message string) + func (m *MockGitHubServer) SetLatestReviews(prNumber int, reviews []MockLatestReview) + func (m *MockGitHubServer) SetPipelineStatus(prNumber int, state string) + func (m *MockGitHubServer) SetupPRs(prs []MockPR) + type MockLatestReview struct + Author string + State string + SubmittedAt time.Time + type MockPR struct + AppearInReviewSearch bool + Author string + CreatedAt time.Time + HeadCommitSHA string + IsDraft bool + Number int + PipelineStatus string + Repository string + State string + Title string + URL string + type MockReaction struct + Content string + CreatedAt time.Time + User string + type MockReview struct + Author string + Body string + CreatedAt time.Time + Reactions []MockReaction + State string + type SpyNotificationAdapter struct + func NewSpyNotificationAdapter() *SpyNotificationAdapter + func (s *SpyNotificationAdapter) Clear() + func (s *SpyNotificationAdapter) GetNotifications() []CapturedNotification + func (s *SpyNotificationAdapter) NotifyMessage(title, message string) error + func (s *SpyNotificationAdapter) NotifyPullRequests(notifications []*port.PRNotificationData) error + func (s *SpyNotificationAdapter) SupportsClickActions() bool + type SpyUIAdapter struct + func NewSpyUIAdapter() *SpyUIAdapter + func (s *SpyUIAdapter) GetPRs() []*pullrequest.PullRequest + func (s *SpyUIAdapter) GetUpdateCount() int + func (s *SpyUIAdapter) UpdateDisplay(requestedPRs, userPRs []*pullrequest.PullRequest, ...)