Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MigrateVersion = "v1.1.2_a"
Functions ¶
Types ¶
type OriginPipelineWorkspace ¶
type OriginPipelineWorkspace struct { ID uint `gorm:"primaryKey" json:"id"` Name string `gorm:"size:255;not null;uniqueIndex" json:"name"` Description string `gorm:"type:text;" json:"description"` Type string `gorm:"size:20;not null" json:"type"` CodeType string `gorm:"size:255" json:"code_type"` CodeUrl string `gorm:"size:255" json:"code_url"` CodeSecretId uint `json:"code_secret_id"` CreateUser string `gorm:"size:50;not null" json:"create_user"` UpdateUser string `gorm:"size:50;not null" json:"update_user"` CreateTime time.Time `gorm:"column:create_time;not null;autoCreateTime" json:"create_time"` UpdateTime time.Time `gorm:"column:update_time;not null;autoUpdateTime" json:"update_time"` }
func (OriginPipelineWorkspace) TableName ¶
func (OriginPipelineWorkspace) TableName() string
type PipelineWorkspace ¶
type PipelineWorkspace struct { ID uint `gorm:"primaryKey" json:"id"` Name string `gorm:"size:255;not null;uniqueIndex" json:"name"` Description string `gorm:"type:text;" json:"description"` Type string `gorm:"size:20;not null" json:"type"` Code *PipelineWorkspaceCode `gorm:"type:json" json:"code"` CreateUser string `gorm:"size:50;not null" json:"create_user"` UpdateUser string `gorm:"size:50;not null" json:"update_user"` CreateTime time.Time `gorm:"column:create_time;not null;autoCreateTime" json:"create_time"` UpdateTime time.Time `gorm:"column:update_time;not null;autoUpdateTime" json:"update_time"` }
type PipelineWorkspaceCode ¶
type PipelineWorkspaceCode struct { Type string `json:"type"` ApiUrl string `json:"api_url"` CloneUrl string `json:"clone_url"` SecretId uint `json:"secret_id"` }
func (*PipelineWorkspaceCode) Scan ¶
func (c *PipelineWorkspaceCode) Scan(value interface{}) error
Click to show internal directories.
Click to hide internal directories.