Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentItem ¶ added in v0.30.0
type GitlabProject ¶
type GitlabProject struct { MergeRequests []*glb.MergeRequest AssignedMergeRequests []*glb.MergeRequest AuthoredMergeRequests []*glb.MergeRequest AssignedIssues []*glb.Issue AuthoredIssues []*glb.Issue RemoteProject *glb.Project // contains filtered or unexported fields }
func NewGitlabProject ¶
func NewGitlabProject(context *context, projectPath string) *GitlabProject
func (*GitlabProject) IssueCount ¶
func (project *GitlabProject) IssueCount() int
func (*GitlabProject) MergeRequestCount ¶
func (project *GitlabProject) MergeRequestCount() int
func (*GitlabProject) Refresh ¶
func (project *GitlabProject) Refresh()
Refresh reloads the gitlab data via the Gitlab API
func (*GitlabProject) StarCount ¶
func (project *GitlabProject) StarCount() int
type Settings ¶
type Settings struct {
// contains filtered or unexported fields
}
Settings defines the configuration properties for this module
type Widget ¶
type Widget struct { view.MultiSourceWidget view.KeyboardWidget view.TextWidget GitlabProjects []*GitlabProject Selected int Items []ContentItem // contains filtered or unexported fields }
func (*Widget) GetItemCount ¶ added in v0.30.0
GetItemCount returns the amount of PRs RRs and other PRs calculated so far as an int
func (*Widget) GetSelected ¶ added in v0.30.0
GetSelected returns the index of the currently highlighted item as an int
func (*Widget) SetItemCount ¶ added in v0.30.0
SetItemCount sets the amount of PRs RRs and other PRs throughout the widgets display creation
Click to show internal directories.
Click to hide internal directories.