Documentation ¶
Index ¶
- type ApiUserResponse
- type BitbucketAccount
- type BitbucketCommit
- type BitbucketConnection
- type BitbucketIssue
- type BitbucketIssueComment
- type BitbucketPipeline
- type BitbucketPrComment
- type BitbucketPullRequest
- type BitbucketRepo
- type BitbucketRepoCommit
- type BoardResponse
- type EpicResponse
- type TestConnectionRequest
- type TransformationRules
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiUserResponse ¶
type BitbucketAccount ¶
type BitbucketAccount struct { ConnectionId uint64 `gorm:"primaryKey"` AccountId string `gorm:"primaryKey;type:varchar(255)"` UserName string `gorm:"type:varchar(255)"` AccountStatus string `gorm:"type:varchar(255)"` DisplayName string `gorm:"type:varchar(255)"` AvatarUrl string `gorm:"type:varchar(255)"` HtmlUrl string `gorm:"type:varchar(255)"` Uuid string `gorm:"type:varchar(255)"` Has2FaEnabled bool common.NoPKModel }
func (BitbucketAccount) TableName ¶
func (BitbucketAccount) TableName() string
type BitbucketCommit ¶
type BitbucketCommit struct { Sha string `gorm:"primaryKey;type:varchar(40)"` AuthorId string `gorm:"type:varchar(255)"` AuthorName string `gorm:"type:varchar(255)"` AuthorEmail string `gorm:"type:varchar(255)"` AuthoredDate time.Time CommittedDate time.Time Message string Url string `gorm:"type:varchar(255)"` Additions int `gorm:"comment:Added lines of code"` Deletions int `gorm:"comment:Deleted lines of code"` common.NoPKModel }
func (BitbucketCommit) TableName ¶
func (BitbucketCommit) TableName() string
type BitbucketConnection ¶
type BitbucketConnection struct { helper.RestConnection `mapstructure:",squash"` helper.BasicAuth `mapstructure:",squash"` }
func (BitbucketConnection) TableName ¶
func (BitbucketConnection) TableName() string
type BitbucketIssue ¶
type BitbucketIssue struct { ConnectionId uint64 `gorm:"primaryKey"` BitbucketId int `gorm:"primaryKey"` RepoId string `gorm:"index;type:varchar(255)"` Number int `gorm:"index;comment:Used in API requests ex. api/issues/<THIS_NUMBER>"` State string `gorm:"type:varchar(255)"` Title string `gorm:"type:varchar(255)"` Body string Priority string `gorm:"type:varchar(255)"` Type string `gorm:"type:varchar(100)"` AuthorId string `gorm:"type:varchar(255)"` AuthorName string `gorm:"type:varchar(255)"` AssigneeId string `gorm:"type:varchar(255)"` AssigneeName string `gorm:"type:varchar(255)"` MilestoneId int `gorm:"index"` LeadTimeMinutes uint Url string `gorm:"type:varchar(255)"` ClosedAt *time.Time BitbucketCreatedAt time.Time BitbucketUpdatedAt time.Time `gorm:"index"` Severity string `gorm:"type:varchar(255)"` Component string `gorm:"type:varchar(255)"` common.NoPKModel }
func (BitbucketIssue) TableName ¶
func (BitbucketIssue) TableName() string
type BitbucketIssueComment ¶
type BitbucketIssueComment struct { ConnectionId uint64 `gorm:"primaryKey"` BitbucketId int `gorm:"primaryKey"` IssueId int `gorm:"index;comment:References the Issue"` AuthorName string `gorm:"type:varchar(255)"` AuthorId string `gorm:"type:varchar(255)"` BitbucketCreatedAt time.Time BitbucketUpdatedAt *time.Time Type string Body string common.NoPKModel }
func (BitbucketIssueComment) TableName ¶
func (BitbucketIssueComment) TableName() string
type BitbucketPipeline ¶ added in v0.14.0
type BitbucketPipeline struct { ConnectionId uint64 `gorm:"primaryKey"` BitbucketId string `gorm:"primaryKey"` Status string `gorm:"type:varchar(100)"` Result string `gorm:"type:varchar(100)"` RefName string `gorm:"type:varchar(255)"` WebUrl string `gorm:"type:varchar(255)"` DurationInSeconds uint64 BitbucketCreatedOn *time.Time BitbucketCompleteOn *time.Time common.NoPKModel }
func (BitbucketPipeline) TableName ¶ added in v0.14.0
func (BitbucketPipeline) TableName() string
type BitbucketPrComment ¶
type BitbucketPrComment struct { ConnectionId uint64 `gorm:"primaryKey"` BitbucketId int `gorm:"primaryKey"` PullRequestId int `gorm:"index"` AuthorId string `gorm:"type:varchar(255)"` AuthorName string `gorm:"type:varchar(255)"` BitbucketCreatedAt time.Time BitbucketUpdatedAt *time.Time Type string `gorm:"comment:if type=null, it is normal comment,if type=diffNote,it is diff comment"` Body string common.NoPKModel }
func (BitbucketPrComment) TableName ¶
func (BitbucketPrComment) TableName() string
type BitbucketPullRequest ¶
type BitbucketPullRequest struct { ConnectionId uint64 `gorm:"primaryKey"` BitbucketId int `gorm:"primaryKey"` RepoId string `gorm:"index;type:varchar(255)"` Number int `gorm:"index"` // This number is used in GET requests to the API associated to reviewers / comments / etc. BaseRepoId string HeadRepoId string State string `gorm:"type:varchar(255)"` Title string Description string BitbucketCreatedAt time.Time BitbucketUpdatedAt time.Time `gorm:"index"` ClosedAt *time.Time CommentCount int Commits int MergedAt *time.Time Body string Type string `gorm:"type:varchar(255)"` Component string `gorm:"type:varchar(255)"` MergeCommitSha string `gorm:"type:varchar(40)"` HeadRef string `gorm:"type:varchar(255)"` BaseRef string `gorm:"type:varchar(255)"` BaseCommitSha string `gorm:"type:varchar(255)"` HeadCommitSha string `gorm:"type:varchar(255)"` Url string `gorm:"type:varchar(255)"` AuthorName string `gorm:"type:varchar(255)"` AuthorId string `gorm:"type:varchar(255)"` common.NoPKModel }
func (BitbucketPullRequest) TableName ¶
func (BitbucketPullRequest) TableName() string
type BitbucketRepo ¶
type BitbucketRepo struct { ConnectionId uint64 `gorm:"primaryKey"` BitbucketId string `gorm:"primaryKey;type:varchar(255)"` Name string `gorm:"type:varchar(255)"` HTMLUrl string `gorm:"type:varchar(255)"` Description string OwnerId string `json:"ownerId"` Language string `json:"language" gorm:"type:varchar(255)"` CreatedDate time.Time `json:"createdDate"` UpdatedDate *time.Time `json:"updatedDate"` common.NoPKModel }
func (BitbucketRepo) TableName ¶
func (BitbucketRepo) TableName() string
type BitbucketRepoCommit ¶
type BitbucketRepoCommit struct { ConnectionId uint64 `gorm:"primaryKey"` RepoId string `gorm:"primaryKey;type:varchar(255)"` CommitSha string `gorm:"primaryKey;type:varchar(40)"` common.NoPKModel }
func (BitbucketRepoCommit) TableName ¶
func (BitbucketRepoCommit) TableName() string
type BoardResponse ¶
type EpicResponse ¶
type TestConnectionRequest ¶
type TransformationRules ¶
type TransformationRules struct { PrType string `mapstructure:"prType" json:"prType"` PrComponent string `mapstructure:"prComponent" json:"prComponent"` PrBodyClosePattern string `mapstructure:"prBodyClosePattern" json:"prBodyClosePattern"` IssueSeverity string `mapstructure:"issueSeverity" json:"issueSeverity"` IssuePriority string `mapstructure:"issuePriority" json:"issuePriority"` IssueComponent string `mapstructure:"issueComponent" json:"issueComponent"` IssueTypeBug string `mapstructure:"issueTypeBug" json:"issueTypeBug"` IssueTypeIncident string `mapstructure:"issueTypeIncident" json:"issueTypeIncident"` IssueTypeRequirement string `mapstructure:"issueTypeRequirement" json:"issueTypeRequirement"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.