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

Method LoadTaskCount

agent/app/repo/alert.go:50–50  ·  view source on GitHub ↗
(alertType string, project string, method string)

Source from the content-addressed store, hash-verified

48 DeleteAlertTask(opts ...DBOption) error
49 GetAlertTask(opts ...DBOption) (model.AlertTask, error)
50 LoadTaskCount(alertType string, project string, method string) (uint, uint, error)
51 GetTaskLog(alertType string, alertId uint) (time.Time, error)
52 GetLicensePushCount(method string) (uint, error)
53

Callers 4

sendAlertFunction · 0.65
canSendAlertTodayFunction · 0.65
canSendAlertMethod · 0.65
canResourceSendAlertMethod · 0.65

Implementers 1

AlertRepoagent/app/repo/alert.go

Calls

no outgoing calls

Tested by

no test coverage detected