Documentation
¶
Index ¶
- type AddAction
- type AddItemAction
- type AddItemChartAction
- type AddTaskAction
- type BootAction
- type ClearItemValuesAction
- type DeleteAction
- type DeleteItemAction
- type DeleteItemChartAction
- type DeleteTaskAction
- type DetailAction
- type Helper
- type IndexAction
- type ItemChartsAction
- type ItemDetailAction
- type ItemValuesAction
- type ManualAction
- type MonitorAction
- type RunTaskAction
- type ScheduleAction
- type TaskDetailAction
- type TaskLogsAction
- type UpdateAction
- type UpdateItemAction
- type UpdateItemChartAction
- type UpdateTaskAction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddItemAction ¶
func (*AddItemAction) Run ¶
func (this *AddItemAction) Run(params struct { AgentId string AppId string From string })
添加监控项
func (*AddItemAction) RunPost ¶
func (this *AddItemAction) RunPost(params struct { AgentId string AppId string Name string SourceCode string On bool ScriptType string ScriptPath string ScriptLang string ScriptCode string ScriptCwd string ScriptEnvNames []string ScriptEnvValues []string WebhookURL string WebhookMethod string WebhookTimeout uint FilePath string DataFormat uint8 Interval uint CondParams []string CondOps []string CondValues []string CondNoticeLevels []uint CondNoticeMessages []string CondActions []string Must *actions.Must })
提交保存
type AddItemChartAction ¶
func (*AddItemChartAction) Run ¶
func (this *AddItemChartAction) Run(params struct { AgentId string AppId string ItemId string From string })
给监控项添加图标
func (*AddItemChartAction) RunPost ¶
func (this *AddItemChartAction) RunPost(params struct { AgentId string AppId string ItemId string Name string On bool Columns uint8 ChartType string HTMLCode string `alias:"htmlCode"` PieParam string PieLimit int LineParams []string LineLimit int URL string `alias:"urlURL"` JavascriptCode string Must *actions.Must })
提交保存
type AddTaskAction ¶
type BootAction ¶
func (*BootAction) Run ¶
func (this *BootAction) Run(params struct { AgentId string AppId string })
启动任务
type ClearItemValuesAction ¶
type DeleteAction ¶
func (*DeleteAction) Run ¶
func (this *DeleteAction) Run(params struct { AgentId string AppId string })
删除App
type DeleteItemAction ¶
type DeleteItemChartAction ¶
type DeleteTaskAction ¶
type DetailAction ¶
func (*DetailAction) Run ¶
func (this *DetailAction) Run(params struct { AgentId string AppId string })
App详情
type Helper ¶
type Helper struct {
}
func (*Helper) BeforeAction ¶
func (this *Helper) BeforeAction(action actions.ActionWrapper)
type IndexAction ¶
type ItemChartsAction ¶
type ItemDetailAction ¶
type ItemValuesAction ¶
type ManualAction ¶
func (*ManualAction) Run ¶
func (this *ManualAction) Run(params struct { AgentId string AppId string })
手动任务
type MonitorAction ¶
func (*MonitorAction) Run ¶
func (this *MonitorAction) Run(params struct { AgentId string AppId string })
监控
func (*MonitorAction) RunPost ¶
func (this *MonitorAction) RunPost(params struct { AgentId string AppId string })
监控数据
type RunTaskAction ¶
func (*RunTaskAction) Run ¶
func (this *RunTaskAction) Run(params struct { AgentId string TaskId string })
运行一次任务
type ScheduleAction ¶
func (*ScheduleAction) Run ¶
func (this *ScheduleAction) Run(params struct { AgentId string AppId string })
定时任务
type TaskDetailAction ¶
type TaskLogsAction ¶
type UpdateAction ¶
type UpdateItemAction ¶
func (*UpdateItemAction) Run ¶
func (this *UpdateItemAction) Run(params struct { AgentId string AppId string ItemId string From string })
添加监控项
func (*UpdateItemAction) RunPost ¶
func (this *UpdateItemAction) RunPost(params struct { AgentId string AppId string ItemId string Name string SourceCode string On bool ScriptType string ScriptPath string ScriptLang string ScriptCode string ScriptCwd string ScriptEnvNames []string ScriptEnvValues []string WebhookURL string WebhookMethod string WebhookTimeout uint FilePath string DataFormat uint8 Interval uint CondParams []string CondOps []string CondValues []string CondNoticeLevels []uint CondNoticeMessages []string CondActions []string Must *actions.Must })
提交保存
type UpdateItemChartAction ¶
func (*UpdateItemChartAction) Run ¶
func (this *UpdateItemChartAction) Run(params struct { AgentId string AppId string ItemId string ChartId string From string })
给监控项添加图标
func (*UpdateItemChartAction) RunPost ¶
func (this *UpdateItemChartAction) RunPost(params struct { AgentId string AppId string ItemId string ChartId string Name string On bool Columns uint8 ChartType string HTMLCode string `alias:"htmlCode"` PieParam string PieLimit int LineParams []string LineLimit int URL string `alias:"urlURL"` JavascriptCode string Must *actions.Must })
提交保存
type UpdateTaskAction ¶
Source Files
¶
- add.go
- addItem.go
- addItemChart.go
- addTask.go
- boot.go
- clearItemValues.go
- delete.go
- deleteItem.go
- deleteItemChart.go
- deleteTask.go
- detail.go
- helper.go
- index.go
- init.go
- itemCharts.go
- itemDetail.go
- itemValues.go
- manual.go
- monitor.go
- runTask.go
- schedule.go
- taskDetail.go
- taskLogs.go
- update.go
- updateItem.go
- updateItemChart.go
- updateTask.go
Click to show internal directories.
Click to hide internal directories.