MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / GetConfigById

Method GetConfigById

agent/app/repo/alert.go:55–55  ·  view source on GitHub ↗
(id uint)

Source from the content-addressed store, hash-verified

53
54 GetConfig(opts ...DBOption) (model.AlertConfig, error)
55 GetConfigById(id uint) (model.AlertConfig, error)
56 AlertConfigList(opts ...DBOption) ([]model.AlertConfig, error)
57 UpdateAlertConfig(maps map[string]interface{}, opts ...DBOption) error
58 CreateAlertConfig(config *model.AlertConfig) error

Callers 5

sendByConfigIdsMethod · 0.95
pushByConfigIdFunction · 0.65
DeleteAlertConfigMethod · 0.65
sendAlertsByConfigIdFunction · 0.65

Implementers 1

AlertRepoagent/app/repo/alert.go

Calls

no outgoing calls

Tested by

no test coverage detected