Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CancelAction ¶
func CancelAction(w http.ResponseWriter, r *http.Request)
CancelAction Cancels a running automation operation script
func CronActions ¶
func CronActions(w http.ResponseWriter, r *http.Request)
CronActions download and load autoop script by hand
func NetdataEnv ¶
Types ¶
type Action ¶
type Action struct { Path string Name string Md5 string ClusterInfo *apistructs.ClusterInfo Running bool RunTime time.Time Env map[string]string CronTime string Nodes string Cron *cron.Cron Context context.Context CancelFunc context.CancelFunc }
Action Automation operation script related information and status
type LogContent ¶
type LogContent struct { Source string `json:"source"` ID string `json:"id"` Content string `json:"content"` TimeStamp int64 `json:"timestamp"` Stream string `json:"stream"` Tags Tag `json:"tags"` }
func NewLogContent ¶
func NewLogContent() LogContent
Click to show internal directories.
Click to hide internal directories.