Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWorkSpacePath ¶
Types ¶
type BuildConfig ¶
type GitlabHook ¶
type GitlabHook struct { ObjectKind string `json:"object_kind"` EventName string `json:"event_name"` Ref string `json:"ref"` GitlabProject *GitlabProject `json:"project"` }
Gitlab config
type GitlabProject ¶
type Project ¶
type Project struct { Id int `orm:"pk;auto;unique" json:"id"` ProjectId string `json:"project_id"` //uuid Name string `json:"name" form:"name"` //name Type string `json:"type" form:"type"` //github,gitlab Url string `json:"url" form:"url"` //仓库地址 Path string `json:"path" form:"path"` //file 地址 Branch string `json:"branch" form:"branch"` //分支 MainPath string `json:"main_path" form:"main_path"` //main 文件地址 SecretToken string `json:"secret_token" form:"secret_token"` Build []*Build `orm:"reverse(many)" json:"-"` }
Click to show internal directories.
Click to hide internal directories.