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

Method GetConfig

agent/app/repo/alert.go:54–54  ·  view source on GitHub ↗
(opts ...DBOption)

Source from the content-addressed store, hash-verified

52 GetLicensePushCount(method string) (uint, error)
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

Callers 13

CreateEmailAlertLogFunction · 0.95
CheckSendTimeRangeFunction · 0.95
sendByLegacyMethodMethod · 0.95
sendSMSMethod · 0.95
sendEmailMethod · 0.95
sendResourceEmailMethod · 0.95
sendBarkMethod · 0.95
sendResourceBarkMethod · 0.95
sendWebhookMethod · 0.95
sendResourceWebhookMethod · 0.95
sendResourceSMSMethod · 0.95
pushByLegacyMethodFunction · 0.65

Implementers 1

AlertRepoagent/app/repo/alert.go

Calls

no outgoing calls

Tested by

no test coverage detected