package vo
|
|
type CreateClusterArg struct {
|
DevId string `json:"devId"`
|
Ip string `json:"ip"`
|
Password string `json:"password"`
|
ClusterName string `json:"clusterName"`
|
ClusterId string `json:"clusterId"`
|
VirtualIp string `json:"virtualIp"`
|
}
|
|
type SearchClusterArg struct {
|
DevId string `json:"devId"`
|
Ip string `json:"ip"`
|
Password string `json:"password"`
|
}
|
|
type GetSearchNodesArg struct {
|
DevId string `json:"devId"`
|
Ip string `json:"ip"`
|
}
|
|
type JoinClusterArg struct {
|
DevId string `json:"devId"`
|
Ip string `json:"ip"`
|
ClusterId string `json:"clusterId"`
|
Password string `json:"password"`
|
NodeIps []string `json:"nodeIps"`
|
}
|
|
type RebootArg struct {
|
DevId string `json:"devId"`
|
Ip string `json:"ip"`
|
}
|
|
type UninstallArg struct {
|
Id string `json:"id"` //卸载的算法或应用id
|
Type int `json:"type"` //1.算法,2.应用
|
}
|
|
type UpgradeArg struct {
|
Id string `json:"id"` //升级算法或应用id
|
}
|
|
type SysUpdateArg struct {
|
|
}
|