Documentation ¶
Index ¶
- func Dependency(ctx *macaron.Context) string
- func Detail(ctx *macaron.Context) string
- func Disable(ctx *macaron.Context) string
- func Enable(ctx *macaron.Context) string
- func Index(ctx *macaron.Context) string
- func Remove(ctx *macaron.Context) string
- func Run(ctx *macaron.Context) string
- func Store(ctx *macaron.Context, form TaskForm) string
- func Tags(ctx *macaron.Context) string
- type TaskForm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dependency ¶
func Dependency(ctx *macaron.Context) string
Types ¶
type TaskForm ¶
type TaskForm struct { Id int Level models.TaskLevel `binding:"Required;In(1,2)"` DependencyStatus models.TaskDependencyStatus DependencyTaskId string Name string `binding:"Required;MaxSize(32)"` Spec string Protocol models.TaskProtocol `binding:"In(1,2)"` Command string `binding:"Required;MaxSize(256)"` HttpMethod models.TaskHTTPMethod `binding:"In(1,2)"` Timeout int `binding:"Range(0,86400)"` Multi int8 `binding:"In(1,2)"` RetryTimes int8 RetryInterval int16 HostId string Tag string Remark string NotifyStatus int8 `binding:"In(1,2,3,4)"` NotifyType int8 `binding:"In(1,2,3,4)"` NotifyReceiverId string NotifyKeyword string Status models.Status `binding:"In(0,1)"` }
Click to show internal directories.
Click to hide internal directories.