mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Automatic merge from release/2.1.0 -> release/2.2.0
* commit '3ad67f084545e115a4ed896a57785045bfb12771': 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