Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Blueprint20220616 ¶ added in v0.12.0
type Blueprint20220616 struct { Mode string `json:"mode" gorm:"varchar(20)" validate:"required,oneof=NORMAL ADVANCED"` IsManual bool `json:"isManual"` }
func (Blueprint20220616) TableName ¶ added in v0.12.0
func (Blueprint20220616) TableName() string
type CICDPipeline ¶ added in v0.13.0
type CICDPipeline struct { archived.DomainEntity Name string `gorm:"type:varchar(255)"` CommitSha string `gorm:"type:varchar(255);index"` Branch string `gorm:"type:varchar(255);index"` Repo string `gorm:"type:varchar(255);index"` Result string `gorm:"type:varchar(100)"` Status string `gorm:"type:varchar(100)"` Type string `gorm:"type:varchar(100);comment: to indicate this is CI or CD"` DurationSec uint64 CreatedDate time.Time FinishedDate *time.Time }
func (CICDPipeline) TableName ¶ added in v0.13.0
func (CICDPipeline) TableName() string
type CICDTask ¶ added in v0.13.0
type CICDTask struct { archived.DomainEntity Name string `gorm:"type:varchar(255)"` PipelineId string `gorm:"index;type:varchar(255)"` Result string `gorm:"type:varchar(100)"` Status string `gorm:"type:varchar(100)"` Type string `gorm:"type:varchar(100);comment: to indicate this is CI or CD"` DurationSec uint64 StartedDate time.Time FinishedDate *time.Time }
type CommitFile ¶ added in v0.12.0
type CommitFile struct { domainlayer.DomainEntity CommitSha string `gorm:"type:varchar(40)"` FilePath string `gorm:"type:varchar(255)"` Additions int Deletions int }
func (CommitFile) TableName ¶ added in v0.12.0
func (CommitFile) TableName() string
type CommitFileComponent ¶ added in v0.12.0
type CommitFileComponent struct { common.NoPKModel CommitFileId string `gorm:"primaryKey;type:varchar(255)"` ComponentName string `gorm:"type:varchar(255)"` }
func (CommitFileComponent) TableName ¶ added in v0.12.0
func (CommitFileComponent) TableName() string
type Component ¶ added in v0.12.0
type Job20220721 ¶ added in v0.12.0
type Job20220721 struct { Name string `gorm:"type:varchar(255)"` Type string `gorm:"type:varchar(255)"` archived.DomainEntity }
func (Job20220721) TableName ¶ added in v0.12.0
func (Job20220721) TableName() string
type Subtask20220711 ¶ added in v0.13.0
type Subtask20220711 struct { commonArchived.Model TaskID uint64 `json:"task_id" gorm:"index"` SubtaskName string `json:"name" gorm:"column:name;index"` Number int `json:"number"` BeganAt *time.Time `json:"beganAt"` FinishedAt *time.Time `json:"finishedAt" gorm:"index"` SpentSeconds int64 `json:"spentSeconds"` }
Subtask20220711 DB snapshot model of models.Subtask
func (Subtask20220711) TableName ¶ added in v0.13.0
func (s Subtask20220711) TableName() string
type Task20220601 ¶ added in v0.12.0
type Task20220601 struct { common.Model Plugin string `json:"plugin" gorm:"index"` Subtasks datatypes.JSON `json:"subtasks"` Options datatypes.JSON `json:"options"` Status string `json:"status"` Message string `json:"message"` Progress float32 `json:"progress"` FailedSubTask string `json:"failedSubTask"` PipelineId uint64 `json:"pipelineId" gorm:"index"` PipelineRow int `json:"pipelineRow"` PipelineCol int `json:"pipelineCol"` BeganAt *time.Time `json:"beganAt"` FinishedAt *time.Time `json:"finishedAt" gorm:"index"` SpentSeconds int `json:"spentSeconds"` }
func (Task20220601) TableName ¶ added in v0.12.0
func (Task20220601) TableName() string
Source Files ¶
- 20220406_add_frame_tables.go
- 20220505_rename_step_to_stage.go
- 20220601_add_subtasks_field.go
- 20220616_update_blueprint_mode.go
- 20220622_rename_tasks_to_plan.go
- 20220707_add_domain_tables.go
- 20220711_add_subtasks_table.go
- 20220721_add_type_filed.go
- 20220722_commitfile_component.go
- 20220725_add_project_mapping_table.go
- 20220727_remove_notes.go
- 20220801_add_NoPKModel_to_CommitParent.go
- 20220803_add_cicd.go
- 202220729_rename_columns_of_pull_request_issues.go
- register.go
Click to show internal directories.
Click to hide internal directories.