Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Platform ¶
type Platform interface {
BaseURL() string
FetchPullRequests(query string, limit int, pageInfo *data.PageInfo) (data.PullRequestsResponse, error)
FetchPullRequest(url string) (data.EnrichedPullRequestData, error)
FetchIssues(query string, limit int, pageInfo *data.PageInfo) (data.IssuesResponse, error)
FetchIssue(url string) (data.IssueData, error)
FetchNotifications(limit int, repoFilters []string, readState data.NotificationReadState, pageInfo *data.PageInfo) (data.NotificationsResponse, error)
FetchNotificationByThreadId(threadId string) (*data.NotificationData, error)
MarkNotificationDone(threadId string) error
MarkNotificationRead(threadId string) error
MarkAllNotificationsRead() error
UnsubscribeFromThread(threadId string) error
FetchCommentAuthor(apiUrl string) (string, error)
FetchRecentWorkflowRun(repo string, notificationUpdatedAt time.Time, title string) (string, error)
CurrentLoginName() (string, error)
FetchRepoUsers(owner, repoName string) ([]data.User, error)
FetchRepoLabels(repoNameWithOwner string) ([]data.Label, error)
FetchLatestVersion() (data.VersionResponse, error)
FetchSponsors() (data.SponsorsResponse, error)
ClearEnrichmentCache()
ClearRepoUserCache(repoNameWithOwner string)
ClearRepoLabelCache(repoNameWithOwner string)
CLICommand() string
GetBookmarkStore() *data.NotificationIDStore
GetDoneStore() *data.DoneStore
GetAuthorRoleIcon(role string, theme theme.Theme) string
ExecCommand(name string, args ...string) *exec.Cmd
}
Click to show internal directories.
Click to hide internal directories.