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 UpdateClusterVo struct {
|
ClusterId string `json:"clusterId"`
|
NodeId string `json:"nodeId"`
|
Password string `json:"password"`
|
}
|
|
type ClusterJoinVo struct {
|
ClusterId string `json:"clusterId"`
|
Password string `json:"password"`
|
NodeIps []string `json:"nodeIps"`
|
}
|