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

Method CreateAlertConfig

agent/app/repo/alert.go:58–58  ·  view source on GitHub ↗
(config *model.AlertConfig)

Source from the content-addressed store, hash-verified

56 AlertConfigList(opts ...DBOption) ([]model.AlertConfig, error)
57 UpdateAlertConfig(maps map[string]interface{}, opts ...DBOption) error
58 CreateAlertConfig(config *model.AlertConfig) error
59 DeleteAlertConfig(opts ...DBOption) error
60
61 WithByTypeNotIn(types []string) DBOption

Callers 1

UpdateAlertConfigMethod · 0.65

Implementers 1

AlertRepoagent/app/repo/alert.go

Calls

no outgoing calls

Tested by

no test coverage detected