Documentation
¶
Index ¶
Constants ¶
View Source
const HelpText = `` /* 201-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitlabProject ¶
type GitlabProject struct {
Path string
MergeRequests []*glb.MergeRequest
RemoteProject *glb.Project
// contains filtered or unexported fields
}
func NewGitlabProject ¶
func NewGitlabProject(name string, namespace string, gitlab *glb.Client) *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 Widget ¶
type Widget struct {
wtf.TextWidget
GitlabProjects []*GitlabProject
Idx int
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.