Documentation
¶
Index ¶
- func OpsAgentExecCommandHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsAgentMetaHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsAgentMetricsHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsAgentProcessRestartHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsAgentProcessStartHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsAgentProcessStopHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsAgentProcessesHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsAgentSystemInfoHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsAgentsListHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsAlertSilenceHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsAlertsHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsBackupCreateHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsBackupDeleteHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsBackupDownloadHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsBackupsListHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsConfigHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsFunctionsHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsHealthGetHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsHealthRunHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsHealthUpdateHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsMQHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsMaintenanceGetHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsMaintenanceUpdateHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsMetricsHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsNodeCommandsHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsNodeDrainHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsNodeMetaHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsNodeRestartHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsNodeUndrainHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsNodesHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsNotificationsGetHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsNotificationsUpdateHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsServicesHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsSilenceDeleteHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func OpsSilencesHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpsAgentExecCommandHandler ¶
func OpsAgentExecCommandHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
在 Agent 上执行命令(高风险)
func OpsAgentMetaHandler ¶
func OpsAgentMetaHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
更新代理元数据
func OpsAgentMetricsHandler ¶
func OpsAgentMetricsHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
获取 Agent 指标
func OpsAgentProcessRestartHandler ¶
func OpsAgentProcessRestartHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
重启 Agent 进程
func OpsAgentProcessStartHandler ¶
func OpsAgentProcessStartHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
启动 Agent 进程
func OpsAgentProcessStopHandler ¶
func OpsAgentProcessStopHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
停止 Agent 进程
func OpsAgentProcessesHandler ¶
func OpsAgentProcessesHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
获取 Agent 进程列表
func OpsAgentSystemInfoHandler ¶
func OpsAgentSystemInfoHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
获取 Agent 系统信息
func OpsAgentsListHandler ¶
func OpsAgentsListHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
获取 Agent 列表
func OpsAlertSilenceHandler ¶
func OpsAlertSilenceHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
静默告警
func OpsBackupCreateHandler ¶
func OpsBackupCreateHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
创建备份
func OpsBackupDeleteHandler ¶
func OpsBackupDeleteHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
删除备份
func OpsBackupDownloadHandler ¶
func OpsBackupDownloadHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
下载备份
func OpsBackupsListHandler ¶
func OpsBackupsListHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
获取备份列表
func OpsFunctionsHandler ¶
func OpsFunctionsHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
获取函数列表
func OpsHealthGetHandler ¶
func OpsHealthGetHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
获取健康状态
func OpsHealthRunHandler ¶
func OpsHealthRunHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
运行健康检查
func OpsHealthUpdateHandler ¶
func OpsHealthUpdateHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
更新健康检查配置
func OpsMaintenanceGetHandler ¶
func OpsMaintenanceGetHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
获取维护模式状态
func OpsMaintenanceUpdateHandler ¶
func OpsMaintenanceUpdateHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
更新维护模式
func OpsNodeCommandsHandler ¶
func OpsNodeCommandsHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
获取节点命令
func OpsNodeDrainHandler ¶
func OpsNodeDrainHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
排空节点
func OpsNodeMetaHandler ¶
func OpsNodeMetaHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
获取节点元数据
func OpsNodeRestartHandler ¶
func OpsNodeRestartHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
重启节点
func OpsNodeUndrainHandler ¶
func OpsNodeUndrainHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
取消排空节点
func OpsNotificationsGetHandler ¶
func OpsNotificationsGetHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
获取通知配置
func OpsNotificationsUpdateHandler ¶
func OpsNotificationsUpdateHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
更新通知配置
func OpsServicesHandler ¶
func OpsServicesHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
获取服务列表
func OpsSilenceDeleteHandler ¶
func OpsSilenceDeleteHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
删除静默规则
func OpsSilencesHandler ¶
func OpsSilencesHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
获取静默规则列表
Types ¶
This section is empty.
Source Files
¶
- ops_agent_exec_command_handler.go
- ops_agent_meta_handler.go
- ops_agent_metrics_handler.go
- ops_agent_process_restart_handler.go
- ops_agent_process_start_handler.go
- ops_agent_process_stop_handler.go
- ops_agent_processes_handler.go
- ops_agent_system_info_handler.go
- ops_agents_list_handler.go
- ops_alert_silence_handler.go
- ops_alerts_handler.go
- ops_backup_create_handler.go
- ops_backup_delete_handler.go
- ops_backup_download_handler.go
- ops_backups_list_handler.go
- ops_config_handler.go
- ops_functions_handler.go
- ops_health_get_handler.go
- ops_health_run_handler.go
- ops_health_update_handler.go
- ops_m_q_handler.go
- ops_maintenance_get_handler.go
- ops_maintenance_update_handler.go
- ops_metrics_handler.go
- ops_node_commands_handler.go
- ops_node_drain_handler.go
- ops_node_meta_handler.go
- ops_node_restart_handler.go
- ops_node_undrain_handler.go
- ops_nodes_handler.go
- ops_notifications_get_handler.go
- ops_notifications_update_handler.go
- ops_services_handler.go
- ops_silence_delete_handler.go
- ops_silences_handler.go
Click to show internal directories.
Click to hide internal directories.