实现节点分组管理

This commit is contained in:
GoEdgeLab
2020-10-28 18:21:15 +08:00
parent 9c6a8c64a1
commit 5641d51bc6
6 changed files with 231 additions and 8 deletions

View File

@@ -4,6 +4,7 @@ package models
type NodeGroup struct {
Id uint32 `field:"id"` // ID
Name string `field:"name"` // 名称
ClusterId uint32 `field:"clusterId"` // 集群ID
Order uint32 `field:"order"` // 排序
CreatedAt uint64 `field:"createdAt"` // 创建时间
State uint8 `field:"state"` // 状态
@@ -12,6 +13,7 @@ type NodeGroup struct {
type NodeGroupOperator struct {
Id interface{} // ID
Name interface{} // 名称
ClusterId interface{} // 集群ID
Order interface{} // 排序
CreatedAt interface{} // 创建时间
State interface{} // 状态