| | |
| | | package vo |
| | | |
| | | import "vamicro/system-service/models" |
| | | |
| | | type ClusterVo struct { |
| | | ClusterInfo models.Cluster `json:"clusterInfo"` |
| | | Nodes []models.Node `json:"nodes"` |
| | | Nodes []models.Node `json:"nodes"` |
| | | } |
| | | |
| | | type ClusterCreateVo struct { |
| | | Password string `json:"password"` |
| | | Password string `json:"password"` |
| | | ClusterName string `json:"clusterName"` |
| | | ClusterId string `json:"clusterId"` |
| | | VirtualIp string `json:"virtualIp"` |
| | | ClusterId string `json:"clusterId"` |
| | | VirtualIp string `json:"virtualIp"` |
| | | } |
| | | |
| | | type ClusterSearchVo struct { |
| | | Password string `json:"password"` |
| | | } |
| | | |
| | | type ClusterJoinVo struct { |
| | | type UpdateClusterVo struct { |
| | | ClusterId string `json:"clusterId"` |
| | | Password string `json:"password"` |
| | | NodeIps []string `json:"nodeIps"` |
| | | NodeId string `json:"nodeId"` |
| | | } |
| | | |
| | | type ClusterJoinVo struct { |
| | | ClusterId string `json:"clusterId"` |
| | | Password string `json:"password"` |
| | | NodeIps []string `json:"nodeIps"` |
| | | } |