ops

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 OpsAlertsHandler

func OpsAlertsHandler(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 OpsConfigHandler

func OpsConfigHandler(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 OpsMQHandler

func OpsMQHandler(svcCtx *svc.ServiceContext) http.HandlerFunc

获取消息队列状态

func OpsMaintenanceGetHandler

func OpsMaintenanceGetHandler(svcCtx *svc.ServiceContext) http.HandlerFunc

获取维护模式状态

func OpsMaintenanceUpdateHandler

func OpsMaintenanceUpdateHandler(svcCtx *svc.ServiceContext) http.HandlerFunc

更新维护模式

func OpsMetricsHandler

func OpsMetricsHandler(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 OpsNodesHandler

func OpsNodesHandler(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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL