mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2026-01-08 08:45:47 +08:00
初步实现多集群共享节点
This commit is contained in:
@@ -14,7 +14,8 @@ type Node struct {
|
||||
Secret string `field:"secret"` // 密钥
|
||||
Name string `field:"name"` // 节点名
|
||||
Code string `field:"code"` // 代号
|
||||
ClusterId uint32 `field:"clusterId"` // 集群ID
|
||||
ClusterId uint32 `field:"clusterId"` // 主集群ID
|
||||
SecondaryClusterIds string `field:"secondaryClusterIds"` // 从集群ID
|
||||
RegionId uint32 `field:"regionId"` // 区域ID
|
||||
GroupId uint32 `field:"groupId"` // 分组ID
|
||||
CreatedAt uint64 `field:"createdAt"` // 创建时间
|
||||
@@ -45,7 +46,8 @@ type NodeOperator struct {
|
||||
Secret interface{} // 密钥
|
||||
Name interface{} // 节点名
|
||||
Code interface{} // 代号
|
||||
ClusterId interface{} // 集群ID
|
||||
ClusterId interface{} // 主集群ID
|
||||
SecondaryClusterIds interface{} // 从集群ID
|
||||
RegionId interface{} // 区域ID
|
||||
GroupId interface{} // 分组ID
|
||||
CreatedAt interface{} // 创建时间
|
||||
|
||||
Reference in New Issue
Block a user