Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BitbucketDeployment20230215 ¶
type BitbucketDeployment20230215 struct {
StepId string `gorm:"type:varchar(255)"`
Environment string `gorm:"type:varchar(255)"`
EnvironmentType string `gorm:"type:varchar(255)"`
}
func (BitbucketDeployment20230215) TableName ¶
func (BitbucketDeployment20230215) TableName() string
type BitbucketIssue20230206 ¶
type BitbucketIssue20230206 struct {
ConnectionId uint64 `gorm:"primaryKey"`
RepoId string `gorm:"primaryKey;type:varchar(255)"`
BitbucketId int `gorm:"primaryKey"`
Number int `gorm:"index;comment:Used in API requests ex. api/issues/<THIS_NUMBER>"`
State string `gorm:"type:varchar(255)"`
StdState 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)"`
archived.NoPKModel
}
func (BitbucketIssue20230206) TableName ¶
func (BitbucketIssue20230206) TableName() string
type BitbucketPrCommit20230420 ¶
type BitbucketPrCommit20230420 struct {
CommitAuthorName string `gorm:"type:varchar(255)"`
CommitAuthorEmail string `gorm:"type:varchar(255)"`
CommitAuthoredDate time.Time
}
func (BitbucketPrCommit20230420) TableName ¶
func (BitbucketPrCommit20230420) TableName() string
type BitbucketPullRequest20230206 ¶
type BitbucketPullRequest20230206 struct {
ConnectionId uint64 `gorm:"primaryKey"`
RepoId string `gorm:"primaryKey;type:varchar(255)"`
BitbucketId int `gorm:"primaryKey"`
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)"`
archived.NoPKModel
}
func (BitbucketPullRequest20230206) TableName ¶
func (BitbucketPullRequest20230206) TableName() string
type BitbucketRepo20230206 ¶
type BitbucketRepo20230206 struct {
TransformationRuleId uint64 `json:"transformationRuleId,omitempty" mapstructure:"transformationRuleId,omitempty"`
CloneUrl string `json:"cloneUrl" gorm:"type:varchar(255)" mapstructure:"cloneUrl,omitempty"`
Owner string `json:"owner" mapstructure:"owner,omitempty"`
}
func (BitbucketRepo20230206) TableName ¶
func (BitbucketRepo20230206) TableName() string
Source Files
¶
- 20220803_add_init_tables.go
- 20220914_add_pipeline_tables.go
- 20221008_add_prcommits_tables.go
- 20221013_add_deployment_tables.go
- 20221014_add_RepoId_CommitSha_field_pipeline_tables.go
- 20230206_add_scope_and_transformation.go
- 20230215_add_pipeline_step.go
- 20230322_add_connection_id_to_transformation_rules.go
- 20230410_add_type_env_to_pipeline_and_step.go
- 20230411_add_RepoId_field_pipelinestep_tables.go
- 20230417_add_repo_id_to_pr.go
- 20230420_add_pr_commit_author_info.go
- 20230525_scope_config.go
- 20230630_add_raw_param_table_for_scopes.go
- 20231025_add_build_number_to_pipelines.go
- 20231123_add_primary_key_for_bitbucket_pipeline_steps.go
- register.go
Click to show internal directories.
Click to hide internal directories.