Documentation ¶
Index ¶
- type AddAction
- type AddDefaultChartsAction
- type AddItemAction
- type AddItemChartAction
- type AddNoticeReceiversAction
- type AddTaskAction
- type BootAction
- type ClearItemValuesAction
- type DeleteAction
- type DeleteItemAction
- type DeleteItemChartAction
- type DeleteNoticeReceiversAction
- type DeleteTaskAction
- type DetailAction
- type ExecItemSourceAction
- type Helper
- type IndexAction
- type ItemChartsAction
- type ItemDetailAction
- type ItemOffAction
- type ItemOnAction
- type ItemValuesAction
- type ManualAction
- type MonitorAction
- type MoveAction
- type NoticeReceiversAction
- type OffAction
- type OnAction
- type PreviewItemChartAction
- type RunTaskAction
- type ScheduleAction
- type TaskDetailAction
- type TaskLogsAction
- type TaskOffAction
- type TaskOnAction
- 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 AddDefaultChartsAction ¶
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 DataFormat uint8 Interval uint CondParams []string CondOps []string CondValues []string CondNoticeLevels []uint CondNoticeMessages []string CondActions []string CondMaxFails []int RecoverSuccesses int 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 LineFills []int LineColors []string LineNames []string LineMax float64 URL string `alias:"urlURL"` JavascriptCode string SupportsTimeRange bool Must *actions.Must })
提交保存
type AddNoticeReceiversAction ¶
func (*AddNoticeReceiversAction) Run ¶
func (this *AddNoticeReceiversAction) Run(params struct { AgentId string AppId string Level notices.NoticeLevel })
添加通知接收人
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 DeleteNoticeReceiversAction ¶
func (*DeleteNoticeReceiversAction) Run ¶
func (this *DeleteNoticeReceiversAction) Run(params struct { AgentId string AppId string Level notices.NoticeLevel ReceiverId string })
删除接收人
type DeleteTaskAction ¶
type DetailAction ¶
func (*DetailAction) Run ¶
func (this *DetailAction) Run(params struct { AgentId string AppId string })
App详情
type ExecItemSourceAction ¶
type Helper ¶
type Helper struct { }
func (*Helper) BeforeAction ¶
func (this *Helper) BeforeAction(action actions.ActionWrapper)
type IndexAction ¶
type ItemChartsAction ¶
type ItemDetailAction ¶
func (*ItemDetailAction) Run ¶
func (this *ItemDetailAction) Run(params struct { AgentId string AppId string ItemId string })
监控项详情
type ItemOffAction ¶
type ItemOnAction ¶
type ItemValuesAction ¶
func (*ItemValuesAction) Run ¶
func (this *ItemValuesAction) Run(params struct { AgentId string AppId string ItemId string Level int })
监控项数据展示
func (*ItemValuesAction) RunPost ¶
func (this *ItemValuesAction) RunPost(params struct { AgentId string AppId string ItemId string LastId string Level notices.NoticeLevel })
获取监控项数据
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 MoveAction ¶
type NoticeReceiversAction ¶
func (*NoticeReceiversAction) Run ¶
func (this *NoticeReceiversAction) Run(params struct { AgentId string AppId string })
通知接收人设置
type PreviewItemChartAction ¶
func (*PreviewItemChartAction) RunPost ¶
func (this *PreviewItemChartAction) RunPost(params struct { AgentId string AppId string ItemId string Name string Columns uint8 ChartType string HTMLCode string `alias:"htmlCode"` PieParam string PieLimit int LineParams []string LineFills []int LineColors []string LineNames []string LineMax float64 URL string `alias:"urlURL"` JavascriptCode string Must *actions.Must })
预览图表
type RunTaskAction ¶
type ScheduleAction ¶
func (*ScheduleAction) Run ¶
func (this *ScheduleAction) Run(params struct { AgentId string AppId string })
定时任务
type TaskDetailAction ¶
type TaskLogsAction ¶
type TaskOffAction ¶
type TaskOnAction ¶
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 DataFormat uint8 Interval uint CondParams []string CondOps []string CondValues []string CondNoticeLevels []uint CondNoticeMessages []string CondActions []string CondMaxFails []int RecoverSuccesses int 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 LineFills []int LineColors []string LineNames []string LineMax float64 URL string `alias:"urlURL"` JavascriptCode string SupportsTimeRange bool Must *actions.Must })
提交保存
type UpdateTaskAction ¶
Source Files ¶
- add.go
- addDefaultCharts.go
- addItem.go
- addItemChart.go
- addNoticeReceivers.go
- addTask.go
- boot.go
- clearItemValues.go
- delete.go
- deleteItem.go
- deleteItemChart.go
- deleteNoticeReceivers.go
- deleteTask.go
- detail.go
- execItemSource.go
- helper.go
- index.go
- init.go
- itemCharts.go
- itemDetail.go
- itemOff.go
- itemOn.go
- itemValues.go
- manual.go
- monitor.go
- move.go
- noticeReceivers.go
- off.go
- on.go
- previewItemChart.go
- runTask.go
- schedule.go
- taskDetail.go
- taskLogs.go
- taskOff.go
- taskOn.go
- update.go
- updateItem.go
- updateItemChart.go
- updateTask.go
Click to show internal directories.
Click to hide internal directories.