Documentation ¶
Index ¶
- func All() []plugin.MigrationScript
- type BlueprintEncryption0904
- type CICDPipelineRelationship20221107
- type CollectorState20221101
- type CommitsDiff20221109
- type DbBlueprintLabel20221115
- type DbPipelineLabel20221115
- type FinishedCommitsDiffs20221109
- type IssueRepoCommit20220222
- type PipelineEncryption0904
- type Project
- type ProjectMetric
- type ProjectMetric20221201
- type ProjectMetricSetting
- type PullRequestCommit20230419
- type RefCommits20221109
- type RefsCommitsDiff20221109
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BlueprintEncryption0904 ¶
type CICDPipelineRelationship20221107 ¶
type CICDPipelineRelationship20221107 struct{}
func (CICDPipelineRelationship20221107) TableName ¶
func (CICDPipelineRelationship20221107) TableName() string
type CollectorState20221101 ¶
type CollectorState20221101 struct { commonArchived.GenericModel[string] Type string Value datatypes.JSON }
func (CollectorState20221101) TableName ¶
func (CollectorState20221101) TableName() string
type CommitsDiff20221109 ¶
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 ¶
func (CommitsDiff20221109) TableName() string
type DbBlueprintLabel20221115 ¶
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 ¶
func (DbBlueprintLabel20221115) TableName() string
type DbPipelineLabel20221115 ¶
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 ¶
func (DbPipelineLabel20221115) TableName() string
type FinishedCommitsDiffs20221109 ¶
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 ¶
func (FinishedCommitsDiffs20221109) TableName() string
type IssueRepoCommit20220222 ¶
type IssueRepoCommit20220222 struct { Host string `gorm:"type:varchar(255)"` Namespace string `gorm:"type:varchar(255)"` RepoName string `gorm:"type:varchar(255)"` }
func (IssueRepoCommit20220222) TableName ¶
func (IssueRepoCommit20220222) TableName() string
type PipelineEncryption0904 ¶
type Project ¶
type ProjectMetric ¶
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 ¶
func (ProjectMetric) TableName() string
type ProjectMetric20221201 ¶
type ProjectMetric20221201 struct {
Enable bool `gorm:"type:boolean"`
}
func (ProjectMetric20221201) TableName ¶
func (ProjectMetric20221201) TableName() string
type ProjectMetricSetting ¶
type ProjectMetricSetting struct { }
func (ProjectMetricSetting) TableName ¶
func (ProjectMetricSetting) TableName() string
type PullRequestCommit20230419 ¶
type PullRequestCommit20230419 struct { CommitAuthorName string `gorm:"type:varchar(255)"` CommitAuthorEmail string `gorm:"type:varchar(255)"` CommitAuthoredDate time.Time }
func (PullRequestCommit20230419) TableName ¶
func (PullRequestCommit20230419) TableName() string
type RefCommits20221109 ¶
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 ¶
func (RefCommits20221109) TableName() string
type RefsCommitsDiff20221109 ¶
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 ¶
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
- 20230208_add_code_quality.go
- 20230213_add_time_after_to_collector_state.go
- 20230214_issue_storypoint_to_float.go
- 20230222_add_commit_sha_index.go
- 20230222_add_host_namespace_reponame.go
- 20230223_remove_createddateafter_from_collector_state.go
- 20230402_add_issue_assignee.go
- 20230405_rename_tap_collector_state.go
- 20230406_rename_cicd_pipeline_commits_repo_url.go
- 20230416_rename_project_pr_metrict_deployment_id.go
- 20230419_add_commit_authored_date_in_pr_commits.go
- 20230426_add_cicd_deployment_commits.go
- 20230508_add_original_status_to_pull_request.go
- 20230511_add_calendar_months.go
- 20230516_change_pull_request_id_type_in_prcomments.go
- 20230516_rename_finished_commits_diffs.go
- 20230517_add_updated_date_to_issue_comments.go
- register.go
Click to show internal directories.
Click to hide internal directories.