MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / MapByCluster

Method MapByCluster

service/monitor/service.go:15–15  ·  view source on GitHub ↗

MapByCluster 获取监控配置

(ctx context.Context, clusterIds ...string)

Source from the content-addressed store, hash-verified

13 Get(ctx context.Context, id string) (*Monitor, error)
14 // MapByCluster 获取监控配置
15 MapByCluster(ctx context.Context, clusterIds ...string) (map[string]*Monitor, error)
16 GetByCluster(ctx context.Context, clusterId string) (*Monitor, error)
17 // Save 保存监控配置
18 Save(ctx context.Context, monitor *SaveMonitor) error

Callers 1

GetMonitorClusterMethod · 0.65

Implementers 1

imlMonitorServiceservice/monitor/iml.go

Calls

no outgoing calls

Tested by

no test coverage detected