mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 14:19:49 +08:00
Automatic merge from release/2.0.0 -> release/2.1.0
* commit 'b93d949e9d9e0ebe985b60775655af5276728428': zhengjiajie add the post method of project_host
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package modules
|
||||
|
||||
import (
|
||||
|
||||
)
|
||||
|
||||
type ProjectNodeManager struct {
|
||||
ResourceManager
|
||||
}
|
||||
|
||||
var (
|
||||
ProjectHosts ProjectNodeManager
|
||||
)
|
||||
|
||||
func init() {
|
||||
ProjectHosts = ProjectNodeManager{NewMonitorManager("project_host", "project_hosts",
|
||||
[]string{"id", "host_id", "host_name", "ip", "vcpu_count", "vmem_size", "disk", "project", "status", "create_by", "update_by", "delete_by", "gmt_create", "gmt_modified", "gmt_delete", "project_id", "remark"},
|
||||
[]string{})}
|
||||
|
||||
register(&ProjectHosts)
|
||||
}
|
||||
Reference in New Issue
Block a user