zhangzengfei
2023-09-04 e8e536d1cb52d2126c8c7ce2ba1c7a76f7208678
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package vo
 
import "vamicro/system-service/models"
type ClusterVo struct {
    ClusterInfo models.Cluster `json:"clusterInfo"`
    Nodes []models.Node `json:"nodes"`
}
 
type ClusterCreateVo struct {
    Password string `json:"password"`
    ClusterName string `json:"clusterName"`
    ClusterId string `json:"clusterId"`
    VirtualIp string `json:"virtualIp"`
}
 
type ClusterSearchVo struct {
    Password string `json:"password"`
}
 
type ClusterJoinVo struct {
    ClusterId string `json:"clusterId"`
    Password string `json:"password"`
    NodeIps []string `json:"nodeIps"`
}