Documentation
      ¶
    
    
  
    
  
    Index ¶
- func All() []core.MigrationScript
 - type BlueprintEncryption0904
 - type CICDPipelineRelationship20221107
 - type CollectorState20221101
 - type CommitsDiff20221109
 - type DbBlueprintLabel20221115
 - type DbPipelineLabel20221115
 - type FinishedCommitsDiffs20221109
 - type PipelineEncryption0904
 - type Project
 - type ProjectMetric
 - type ProjectMetric20221201
 - type ProjectMetricSetting
 - type RefCommits20221109
 - type RefsCommitsDiff20221109
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶ added in v0.12.0
func All() []core.MigrationScript
All return all the migration scripts of framework
Types ¶
type BlueprintEncryption0904 ¶ added in v0.14.4
type CICDPipelineRelationship20221107 ¶ added in v0.15.0
type CICDPipelineRelationship20221107 struct{}
    func (CICDPipelineRelationship20221107) TableName ¶ added in v0.15.0
func (CICDPipelineRelationship20221107) TableName() string
type CollectorState20221101 ¶ added in v0.15.0
type CollectorState20221101 struct {
	commonArchived.GenericModel[string]
	Type  string
	Value datatypes.JSON
}
    func (CollectorState20221101) TableName ¶ added in v0.15.0
func (CollectorState20221101) TableName() string
type CommitsDiff20221109 ¶ added in v0.15.0
type CommitsDiff20221109 struct {
	NewCommitSha string `gorm:"primaryKey;type:varchar(40)"`
	OldCommitSha string `gorm:"primaryKey;type:varchar(40)"`
	CommitSha    string `gorm:"primaryKey;type:varchar(40)"`
	SortingIndex int
}
    func (CommitsDiff20221109) TableName ¶ added in v0.15.0
func (CommitsDiff20221109) TableName() string
type DbBlueprintLabel20221115 ¶ added in v0.15.0
type DbBlueprintLabel20221115 struct {
	CreatedAt   time.Time `json:"createdAt"`
	UpdatedAt   time.Time `json:"updatedAt"`
	BlueprintId uint64    `json:"blueprint_id" gorm:"primaryKey"`
	Name        string    `json:"name" gorm:"primaryKey;index"`
}
    func (DbBlueprintLabel20221115) TableName ¶ added in v0.15.0
func (DbBlueprintLabel20221115) TableName() string
type DbPipelineLabel20221115 ¶ added in v0.15.0
type DbPipelineLabel20221115 struct {
	CreatedAt  time.Time `json:"createdAt"`
	UpdatedAt  time.Time `json:"updatedAt"`
	PipelineId uint64    `json:"pipeline_id" gorm:"primaryKey"`
	Name       string    `json:"name" gorm:"primaryKey;index"`
}
    func (DbPipelineLabel20221115) TableName ¶ added in v0.15.0
func (DbPipelineLabel20221115) TableName() string
type FinishedCommitsDiffs20221109 ¶ added in v0.15.0
type FinishedCommitsDiffs20221109 struct {
	NewCommitSha string `gorm:"primaryKey;type:varchar(40)"`
	OldCommitSha string `gorm:"primaryKey;type:varchar(40)"`
}
    ref_commits_diffs splits commits_diffs and finished_commits_diffs table. finished_commits_diffs records the new_commit_sha and old_commit_sha pair that is inserted after being successfully calculated.
func (FinishedCommitsDiffs20221109) TableName ¶ added in v0.15.0
func (FinishedCommitsDiffs20221109) TableName() string
type PipelineEncryption0904 ¶ added in v0.14.4
type Project ¶ added in v0.15.0
type ProjectMetric ¶ added in v0.15.0
type ProjectMetric struct {
	ProjectName  string `gorm:"primaryKey;type:varchar(255)"`
	PluginName   string `gorm:"primaryKey;type:varchar(255)"`
	PluginOption string `gorm:"type:text"`
	archived.NoPKModel
}
    func (ProjectMetric) TableName ¶ added in v0.15.0
func (ProjectMetric) TableName() string
type ProjectMetric20221201 ¶ added in v0.15.0
type ProjectMetric20221201 struct {
	Enable bool `gorm:"type:boolean"`
}
    func (ProjectMetric20221201) TableName ¶ added in v0.15.0
func (ProjectMetric20221201) TableName() string
type ProjectMetricSetting ¶ added in v0.15.0
type ProjectMetricSetting struct {
}
    func (ProjectMetricSetting) TableName ¶ added in v0.15.0
func (ProjectMetricSetting) TableName() string
type RefCommits20221109 ¶ added in v0.15.0
type RefCommits20221109 struct {
	NewRefId     string `gorm:"primaryKey;type:varchar(255)"`
	OldRefId     string `gorm:"primaryKey;type:varchar(255)"`
	NewCommitSha string `gorm:"type:varchar(40)"`
	OldCommitSha string `gorm:"type:varchar(40)"`
}
    func (RefCommits20221109) TableName ¶ added in v0.15.0
func (RefCommits20221109) TableName() string
type RefsCommitsDiff20221109 ¶ added in v0.15.0
type RefsCommitsDiff20221109 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
}
    func (RefsCommitsDiff20221109) TableName ¶ added in v0.15.0
func (RefsCommitsDiff20221109) TableName() string
      
      Source Files
      ¶
    
- 20220406_add_frame_tables.go
 - 20220505_rename_pipeline_step_to_stage.go
 - 20220601_add_subtasks_to_task_table.go
 - 20220616_add_blueprint_mode.go
 - 20220622_rename_tasks_to_plan.go
 - 20220707_reset_domain_tables.go
 - 20220711_add_subtasks_table.go
 - 20220722_commitfile_component.go
 - 20220725_add_project_mapping_table.go
 - 20220727_remove_notes.go
 - 20220729_rename_columns_of_pull_request_issues.go
 - 20220801_add_nopkmodel_to_commit_parent.go
 - 20220818_add_cicd_tables.go
 - 20220826_rename_columns_of_pr_comment_issue_comment.go
 - 20220829_modify_tables_for_dora.go
 - 20220830_add_type_field_in_board.go
 - 20220903_encrypt_blueprint.go
 - 20220904_encrypt_pipeline.go
 - 20220905_modfiy_cicd_pipeline.go
 - 20220908_modfiy_cicd_tasks.go
 - 20220913_add_origin_value_for_pr.go
 - 20220913_add_raw_data_origin_to_board_repos.go
 - 20220913_fix_commitfile_id_toolong.go
 - 20220915_rename_pipeline_commits.go
 - 20220918_commit_line_change.go
 - 20220927_add_snapshot.go
 - 20220929_change_leadtimeminutes_to_int64.go
 - 20221101_add_collector_state.go
 - 20221107_add_skip_on_fail.go
 - 20221107_remove_cicd_pipeline_relation.go
 - 20221109_add_project_tables.go
 - 20221109_modfiy_commits_diffs.go
 - 20221109_rename_project_metrics.go
 - 20221111_add_project_pr_metric.go
 - 20221115_add_labels.go
 - 20221117_add_project_to_blueprint.go
 - 20221120_add_project_issue_metric.go
 - 20221125_add_collector_state.go
 - 20221201_add_enable_to_project_metric.go
 - 20221201_add_project_pr_metric.go
 - 20221207_add_cicd_scope_drop_builds_jobs.go
 - 20221215_add_original_project_to_issues.go
 - 20221221_add_error_name.go
 - 20221221_encrypt_task.go
 - 20221230_add_original_type_to_issue.go
 - register.go
 
 Click to show internal directories. 
   Click to hide internal directories.