Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitlabCommit ¶
type GitlabCommit struct {
Sha string `gorm:"primaryKey;type:char(40)"`
Title string
Message string
ShortId string
AuthorName string
AuthorEmail string
AuthoredDate time.Time
CommitterName string
CommitterEmail string
CommittedDate time.Time
WebUrl string
Additions int `gorm:"comment:Added lines of code"`
Deletions int `gorm:"comment:Deleted lines of code"`
Total int `gorm:"comment:Sum of added/deleted lines of code"`
common.NoPKModel
}
type GitlabMergeRequest ¶
type GitlabMergeRequest struct {
GitlabId int `gorm:"primaryKey"`
Iid int `gorm:"index"`
ProjectId int `gorm:"index"`
State string
Title string
WebUrl string
UserNotesCount int
WorkInProgress bool
SourceBranch string
MergedAt *time.Time
GitlabCreatedAt time.Time
ClosedAt *time.Time
MergedByUsername string
Description string
AuthorUsername string
FirstCommentTime *time.Time `gorm:"comment:Time when the first comment occurred"`
ReviewRounds int `gorm:"comment:How many rounds of review this MR went through"`
common.NoPKModel
}
type GitlabMergeRequestNote ¶
type GitlabMergeRequestNote struct {
GitlabId int `gorm:"primaryKey"`
MergeRequestId int `gorm:"index"`
MergeRequestIid int `gorm:"comment:Used in API requests ex. /api/merge_requests/<THIS_IID>"`
NoteableType string
AuthorUsername string
Body string
GitlabCreatedAt time.Time
Confidential bool
Resolvable bool `gorm:"comment:Is or is not review comment"`
System bool `gorm:"comment:Is or is not auto-generated vs. human generated"`
common.NoPKModel
}
type GitlabPipeline ¶
type GitlabProject ¶
type GitlabProject struct {
GitlabId int `gorm:"primaryKey"`
Name string `gorm:"type:varchar(255)"`
Description string
DefaultBranch string `gorm:"varchar(255)"`
PathWithNamespace string
WebUrl string
CreatorId int
Visibility string
OpenIssuesCount int
StarCount int
ForkedFromProjectId int
ForkedFromProjectWebUrl string
CreatedDate time.Time
UpdatedDate *time.Time
common.NoPKModel
}
type GitlabProjectCommit ¶ added in v0.6.0
type GitlabReviewer ¶
type GitlabUser ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.