Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1Panel-dev/1Panel
/ initMonitorDB
Function
initMonitorDB
agent/init/hook/hook.go:176–179 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
174
}
175
176
func
initMonitorDB() {
177
_ = global.MonitorDB.AutoMigrate(&model.MonitorBase{}, &model.MonitorNetwork{}, &model.MonitorGPU{}, &model.MonitorIO{})
178
_ = global.TaskDB.AutoMigrate(&model.Task{})
179
}
Callers
1
Init
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected