gitlab

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: 13 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 struct {
	// contains filtered or unexported fields
}

func NewPlatform

func NewPlatform() *Platform

func (*Platform) BaseURL added in v0.1.2

func (p *Platform) BaseURL() string

func (*Platform) CLICommand

func (p *Platform) CLICommand() string

func (*Platform) ClearEnrichmentCache

func (p *Platform) ClearEnrichmentCache()

func (*Platform) ClearRepoLabelCache

func (p *Platform) ClearRepoLabelCache(repoNameWithOwner string)

func (*Platform) ClearRepoUserCache

func (p *Platform) ClearRepoUserCache(repoNameWithOwner string)

func (*Platform) CurrentLoginName

func (p *Platform) CurrentLoginName() (string, error)

func (*Platform) ExecCommand

func (p *Platform) ExecCommand(name string, args ...string) *exec.Cmd

func (*Platform) FetchCommentAuthor

func (p *Platform) FetchCommentAuthor(apiUrl string) (string, error)

func (*Platform) FetchIssue

func (p *Platform) FetchIssue(url string) (data.IssueData, error)

func (*Platform) FetchIssues

func (p *Platform) FetchIssues(query string, limit int, pageInfo *data.PageInfo) (data.IssuesResponse, error)

func (*Platform) FetchLatestVersion

func (p *Platform) FetchLatestVersion() (data.VersionResponse, error)

func (*Platform) FetchNotificationByThreadId

func (p *Platform) FetchNotificationByThreadId(threadId string) (*data.NotificationData, error)

func (*Platform) FetchNotifications

func (p *Platform) FetchNotifications(limit int, repoFilters []string, readState data.NotificationReadState, pageInfo *data.PageInfo) (data.NotificationsResponse, error)

func (*Platform) FetchPullRequest

func (p *Platform) FetchPullRequest(url string) (data.EnrichedPullRequestData, error)

func (*Platform) FetchPullRequests

func (p *Platform) FetchPullRequests(query string, limit int, pageInfo *data.PageInfo) (data.PullRequestsResponse, error)

func (*Platform) FetchRecentWorkflowRun

func (p *Platform) FetchRecentWorkflowRun(repo string, notificationUpdatedAt time.Time, title string) (string, error)

func (*Platform) FetchRepoLabels

func (p *Platform) FetchRepoLabels(repoNameWithOwner string) ([]data.Label, error)

func (*Platform) FetchRepoUsers

func (p *Platform) FetchRepoUsers(owner, repoName string) ([]data.User, error)

func (*Platform) FetchSponsors

func (p *Platform) FetchSponsors() (data.SponsorsResponse, error)

func (*Platform) GetAuthorRoleIcon

func (p *Platform) GetAuthorRoleIcon(role string, theme theme.Theme) string

func (*Platform) GetBookmarkStore

func (p *Platform) GetBookmarkStore() *data.NotificationIDStore

func (*Platform) GetDoneStore

func (p *Platform) GetDoneStore() *data.DoneStore

func (*Platform) MarkAllNotificationsRead

func (p *Platform) MarkAllNotificationsRead() error

func (*Platform) MarkNotificationDone

func (p *Platform) MarkNotificationDone(threadId string) error

func (*Platform) MarkNotificationRead

func (p *Platform) MarkNotificationRead(threadId string) error

func (*Platform) UnsubscribeFromThread

func (p *Platform) UnsubscribeFromThread(threadId string) error

Jump to

Keyboard shortcuts

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