Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatTime ¶
Types ¶
type Node ¶
type Node struct { Step dag.Step `json:"Step"` Log string `json:"Log"` StartedAt string `json:"StartedAt"` FinishedAt string `json:"FinishedAt"` Status scheduler.NodeStatus `json:"Status"` RetryCount int `json:"RetryCount"` DoneCount int `json:"DoneCount"` Error string `json:"Error"` StatusText string `json:"StatusText"` }
type Status ¶
type Status struct { RequestID string `json:"RequestId"` Name string `json:"Name"` Status scheduler.Status `json:"Status"` StatusText string `json:"StatusText"` PID PID `json:"Pid"` Nodes []*Node `json:"Nodes"` OnExit *Node `json:"OnExit"` OnSuccess *Node `json:"OnSuccess"` OnFailure *Node `json:"OnFailure"` OnCancel *Node `json:"OnCancel"` StartedAt string `json:"StartedAt"` FinishedAt string `json:"FinishedAt"` Log string `json:"Log"` Params string `json:"Params"` // contains filtered or unexported fields }
func NewStatusDefault ¶
func StatusFromJSON ¶
func (*Status) CorrectRunningStatus ¶
func (st *Status) CorrectRunningStatus()
type StatusFile ¶
type StatusResponse ¶
type StatusResponse struct {
Status *Status `json:"status"`
}
Click to show internal directories.
Click to hide internal directories.