zhangzengfei
2023-09-05 1b34d7bacad94933ad63fc0e199bd32ac49d9fa5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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 {
 
}