Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Models = []interface{}{ &Interpreter{}, &Site{}, &Workspace{}, &Proxy{}, &Server{}, &Statistic{}, &Job{}, } )
Functions ¶
This section is empty.
Types ¶
type Interpreter ¶
func (Interpreter) TableName ¶
func (Interpreter) TableName() string
type JSON ¶
type JSON json.RawMessage
type Job ¶
type Job struct { BaseModel Name string `json:"name"` Desc string `json:"desc,omitempty"` Workspace string `json:"workspace"` Path string `json:"path"` Ids string `json:"ids"` Cmd string `json:"cmd"` Status commConsts.JobStatus `json:"status"` Retry int `json:"retry"` StartDate *time.Time `json:"startDate"` EndDate *time.Time `json:"endDate"` TimeoutDate *time.Time `json:"timeoutDate,omitempty"` CancelDate *time.Time `json:"cancelDate,omitempty"` Task int `json:"task"` }
type Server ¶
type Site ¶
type Statistic ¶
type Workspace ¶
type Workspace struct { BaseModel Path string `json:"path"` Name string `json:"name"` Desc string `json:"desc" gorm:"column:descr"` Type commConsts.TestTool `json:"type" gorm:"default:ztf"` Lang string `json:"lang"` Cmd string `json:"cmd"` ProxyId uint `json:"proxy_id"` SiteId uint `json:"siteId"` ProductId uint `json:"productId"` IsDefault bool `json:"isDefault"` }
Click to show internal directories.
Click to hide internal directories.