@daocloud-proto/skoala 0.27.2-52 → 0.27.2-56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -17,6 +17,13 @@ type OneOf<T> =
|
|
|
17
17
|
: never)
|
|
18
18
|
: never);
|
|
19
19
|
|
|
20
|
+
export enum GetSeataPluginResPhase {
|
|
21
|
+
Waiting = "Waiting",
|
|
22
|
+
Running = "Running",
|
|
23
|
+
Deleting = "Deleting",
|
|
24
|
+
NotReady = "NotReady",
|
|
25
|
+
}
|
|
26
|
+
|
|
20
27
|
export enum GetMeshPluginResMeshMode {
|
|
21
28
|
MESH_MODE_UNSPECIFIED = "MESH_MODE_UNSPECIFIED",
|
|
22
29
|
HOSTED = "HOSTED",
|
|
@@ -66,7 +73,7 @@ type BaseGetPluginRes = {
|
|
|
66
73
|
}
|
|
67
74
|
|
|
68
75
|
export type GetPluginRes = BaseGetPluginRes
|
|
69
|
-
& OneOf<{ sentinel: GetSentinelPluginRes; mesh: GetMeshPluginRes }>
|
|
76
|
+
& OneOf<{ sentinel: GetSentinelPluginRes; mesh: GetMeshPluginRes; seata: GetSeataPluginRes }>
|
|
70
77
|
|
|
71
78
|
export type GetSentinelPluginReq = {
|
|
72
79
|
}
|
|
@@ -82,6 +89,22 @@ export type GetSentinelPluginRes = {
|
|
|
82
89
|
pwd?: string
|
|
83
90
|
}
|
|
84
91
|
|
|
92
|
+
export type GetSeataPluginReq = {
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export type GetSeataPluginRes = {
|
|
96
|
+
image?: string
|
|
97
|
+
replicas?: number
|
|
98
|
+
resources?: SkoalaApiGeneralV1alpha1Resource.ResourceRequirements
|
|
99
|
+
type?: SkoalaApiGeneralV1alpha1Service.ServiceType
|
|
100
|
+
ports?: SkoalaApiGeneralV1alpha1Service.ServicePort[]
|
|
101
|
+
visitAddress?: string
|
|
102
|
+
workloadState?: SkoalaApiGeneralV1alpha1Common.WorkloadState
|
|
103
|
+
pwd?: string
|
|
104
|
+
mysql?: MySql
|
|
105
|
+
phase?: GetSeataPluginResPhase
|
|
106
|
+
}
|
|
107
|
+
|
|
85
108
|
export type GetMeshPluginReq = {
|
|
86
109
|
}
|
|
87
110
|
|
|
@@ -103,7 +126,7 @@ type BaseUpdatePluginReq = {
|
|
|
103
126
|
}
|
|
104
127
|
|
|
105
128
|
export type UpdatePluginReq = BaseUpdatePluginReq
|
|
106
|
-
& OneOf<{ sentinel: UpdateSentinelPluginReq; mesh: UpdateMeshPluginReq }>
|
|
129
|
+
& OneOf<{ sentinel: UpdateSentinelPluginReq; mesh: UpdateMeshPluginReq; seata: UpdateSeataPluginReq }>
|
|
107
130
|
|
|
108
131
|
export type UpdateSentinelPluginReq = {
|
|
109
132
|
enabled?: boolean
|
|
@@ -115,6 +138,26 @@ export type UpdateSentinelPluginReq = {
|
|
|
115
138
|
pwd?: string
|
|
116
139
|
}
|
|
117
140
|
|
|
141
|
+
export type UpdateSeataPluginReq = {
|
|
142
|
+
enabled?: boolean
|
|
143
|
+
chart?: SkoalaApiGeneralV1alpha1Common.Component
|
|
144
|
+
replicas?: number
|
|
145
|
+
resources?: SkoalaApiGeneralV1alpha1Resource.ResourceRequirements
|
|
146
|
+
type?: SkoalaApiGeneralV1alpha1Service.ServiceType
|
|
147
|
+
ports?: SkoalaApiGeneralV1alpha1Service.ServicePort[]
|
|
148
|
+
pwd?: string
|
|
149
|
+
deleteConfigs?: boolean
|
|
150
|
+
mysql?: MySql
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export type MySql = {
|
|
154
|
+
host?: string
|
|
155
|
+
port?: string
|
|
156
|
+
name?: string
|
|
157
|
+
user?: string
|
|
158
|
+
password?: string
|
|
159
|
+
}
|
|
160
|
+
|
|
118
161
|
export type UpdateMeshPluginReq = {
|
|
119
162
|
enabled?: boolean
|
|
120
163
|
name?: string
|