platform

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2026 License: MIT Imports: 4 Imported by: 0

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL