Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct { common.NoPKModel Sha string `json:"sha" gorm:"primaryKey;type:varchar(40);comment:commit hash"` Additions int `json:"additions" gorm:"comment:Added lines of code"` Deletions int `json:"deletions" gorm:"comment:Deleted lines of code"` DevEq int `json:"deveq" gorm:"comment:Merico developer equivalent from analysis engine"` Message string AuthorName string `gorm:"type:varchar(255)"` AuthorEmail string `gorm:"type:varchar(255)"` AuthoredDate time.Time AuthorId string `gorm:"type:varchar(255)"` CommitterName string `gorm:"type:varchar(255)"` CommitterEmail string `gorm:"type:varchar(255)"` CommittedDate time.Time CommitterId string `gorm:"index;type:varchar(255)"` }
type CommitFile ¶ added in v0.7.0
type CommitParent ¶ added in v0.7.0
type Note ¶
type Note struct { domainlayer.DomainEntity PrId string `gorm:"index;comment:References the pull request for this note;type:varchar(100)"` Type string `gorm:"type:varchar(100)"` Author string `gorm:"type:varchar(255)"` Body string Resolvable bool `gorm:"comment:Is or is not a review comment"` System bool `gorm:"comment:Is or is not auto-generated vs. human generated"` CreatedDate time.Time }
type PullRequest ¶ added in v0.7.0
type PullRequest struct { domainlayer.DomainEntity BaseRepoId string `gorm:"index"` HeadRepoId string `gorm:"index"` Status string `gorm:"type:varchar(100);comment:open/closed or other"` Number int Title string Description string Url string `gorm:"type:varchar(255)"` AuthorName string `gorm:"type:varchar(100)"` AuthorId string `gorm:"type:varchar(100)"` ParentPrId string `gorm:"index;type:varchar(100)"` Key int CreatedDate time.Time MergedDate *time.Time ClosedDate *time.Time Type string `gorm:"type:varchar(100)"` Component string `gorm:"type:varchar(100)"` MergeCommitSha string `gorm:"type:varchar(40)"` HeadRef string `gorm:"type:varchar(255)"` BaseRef string `gorm:"type:varchar(255)"` BaseCommitSha string `gorm:"type:varchar(40)"` HeadCommitSha string `gorm:"type:varchar(40)"` }
type PullRequestComment ¶ added in v0.10.0
type PullRequestComment struct { domainlayer.DomainEntity PullRequestId string `gorm:"index"` Body string UserId string `gorm:"type:varchar(255)"` CreatedDate time.Time CommitSha string `gorm:"type:varchar(255)"` Position int }
type PullRequestCommit ¶ added in v0.7.0
type PullRequestLabel ¶ added in v0.8.0
type Ref ¶ added in v0.7.0
type Ref struct { domainlayer.DomainEntity RepoId string `gorm:"type:varchar(255)"` Name string `gorm:"type:varchar(255)"` CommitSha string `gorm:"type:varchar(40)"` IsDefault bool RefType string `gorm:"type:varchar(255)"` CreatedDate *time.Time }
type RefsCommitsDiff ¶ added in v0.7.0
type RefsCommitsDiff struct { NewRefId string `gorm:"primaryKey;type:varchar(255)"` OldRefId string `gorm:"primaryKey;type:varchar(255)"` CommitSha string `gorm:"primaryKey;type:varchar(40)"` NewRefCommitSha string `gorm:"type:varchar(40)"` OldRefCommitSha string `gorm:"type:varchar(40)"` SortingIndex int }
type RefsPrCherrypick ¶ added in v0.10.0
type RefsPrCherrypick struct { RepoName string `gorm:"type:varchar(255)"` ParentPrKey int CherrypickBaseBranches string `gorm:"type:varchar(255)"` CherrypickPrKeys string `gorm:"type:varchar(255)"` ParentPrUrl string `gorm:"type:varchar(255)"` ParentPrId string `` // format: <Plugin>:<Entity>:<PK0>:<PK1> /* 127-byte string literal not displayed */ common.NoPKModel }
type Repo ¶
type Repo struct { domainlayer.DomainEntity Name string `json:"name"` Url string `json:"url"` Description string `json:"description"` OwnerId string `json:"ownerId" gorm:"type:varchar(255)"` Language string `json:"language" gorm:"type:varchar(255)"` ForkedFrom string `json:"forkedFrom"` CreatedDate time.Time `json:"createdDate"` UpdatedDate *time.Time `json:"updatedDate"` Deleted bool `json:"deleted"` }
type RepoCommit ¶
type RepoLanguage ¶
Click to show internal directories.
Click to hide internal directories.