Documentation ¶
Index ¶
- Constants
- func ApplyAudit(c *gin.Context)
- func ApplyDetail(c *gin.Context)
- func ApplyDrop(c *gin.Context)
- func ApplyList(c *gin.Context)
- func ApplyProjectAll(c *gin.Context)
- func ApplyProjectDetail(c *gin.Context)
- func ApplyRollbackList(c *gin.Context)
- func ApplySubmit(c *gin.Context)
- func ApplyUpdate(c *gin.Context)
- func BuildStart(c *gin.Context)
- func BuildStatus(c *gin.Context)
- func BuildStop(c *gin.Context)
- func DeployRollback(c *gin.Context)
- func DeployStart(c *gin.Context)
- func DeployStatus(c *gin.Context)
- func DeployStop(c *gin.Context)
- func MailSend(msg *MailMessage)
- type ApplyAuditFormBind
- type ApplyFormBind
- type ApplyQueryBind
- type ApplyUpdateFormBind
- type MailMessage
Constants ¶
View Source
const ( MAIL_MODE_AUDIT_NOTICE = 1 MAIL_MODE_AUDIT_RESULT = 2 MAIL_MODE_DEPLOY = 3 )
View Source
const ( MAIL_STATUS_SUCCESS = 1 MAIL_STATUS_FAILED = 0 )
Variables ¶
This section is empty.
Functions ¶
func ApplyAudit ¶
func ApplyDetail ¶
func ApplyProjectAll ¶
func ApplyProjectDetail ¶
func ApplyRollbackList ¶
func ApplySubmit ¶
func ApplyUpdate ¶
func BuildStart ¶
func BuildStatus ¶
func DeployRollback ¶
func DeployStart ¶
func DeployStatus ¶
func DeployStop ¶
func MailSend ¶
func MailSend(msg *MailMessage)
Types ¶
type ApplyAuditFormBind ¶
type ApplyFormBind ¶
type ApplyFormBind struct { ProjectId int `form:"project_id" binding:"required"` SpaceId int `form:"space_id" binding:"required"` Name string `form:"name" binding:"required"` BranchName string `form:"branch_name"` CommitVersion string `form:"commit_version"` Description string `form:"description"` RollbackId int `form:"rollback_id"` }
type ApplyQueryBind ¶
type ApplyUpdateFormBind ¶
Click to show internal directories.
Click to hide internal directories.