@daocloud-proto/skoala 0.4.1-55 → 0.4.1-61

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.
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  import * as SkoalaApiGeneralV1alpha1Skoala from "../../general/v1alpha1/skoala.pb"
8
- import * as SkoalaApiHostedV1alpha1Api-basic from "./api-basic.pb"
8
+ import * as SkoalaApiHostedV1alpha1Http from "./http.pb"
9
9
 
10
10
  type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
11
11
  type OneOf<T> =
@@ -107,7 +107,7 @@ export type ServiceDetail = {
107
107
  serviceName?: string
108
108
  registrationId?: string
109
109
  address?: string
110
- protocol?: SkoalaApiHostedV1alpha1Api-basic.Protocol
110
+ protocol?: SkoalaApiHostedV1alpha1Http.Protocol
111
111
  port?: number
112
112
  weight?: string
113
113
  nacosNamespaceId?: string
@@ -130,7 +130,7 @@ export type APIConfig = BaseAPIConfig
130
130
 
131
131
  export type Virtualhost = {
132
132
  fqdn?: string
133
- protocol?: SkoalaApiHostedV1alpha1Api-basic.Protocol
133
+ protocol?: SkoalaApiHostedV1alpha1Http.Protocol
134
134
  }
135
135
 
136
136
  export type Certificate = {
@@ -139,7 +139,7 @@ export type Certificate = {
139
139
 
140
140
 
141
141
  type BaseMatchRule = {
142
- httpMethod?: SkoalaApiHostedV1alpha1Api-basic.HttpMethod[]
142
+ httpMethod?: SkoalaApiHostedV1alpha1Http.HttpMethod[]
143
143
  headers?: HeaderRule[]
144
144
  }
145
145
 
@@ -160,7 +160,7 @@ export type RouteAction = {
160
160
 
161
161
 
162
162
  type BaseRouteService = {
163
- protocol?: SkoalaApiHostedV1alpha1Api-basic.Protocol
163
+ protocol?: SkoalaApiHostedV1alpha1Http.Protocol
164
164
  port?: number
165
165
  weight?: number
166
166
  }
@@ -218,7 +218,7 @@ export type RedirectAction = {
218
218
  path?: string
219
219
  port?: number
220
220
  statusCode?: number
221
- protocol?: SkoalaApiHostedV1alpha1Api-basic.Protocol
221
+ protocol?: SkoalaApiHostedV1alpha1Http.Protocol
222
222
  }
223
223
 
224
224
  export type DirectResponse = {
@@ -243,7 +243,7 @@ export type APIListRes = {
243
243
  export type APIInfo = {
244
244
  apiName?: string
245
245
  fqdn?: string
246
- method?: SkoalaApiHostedV1alpha1Api-basic.HttpMethod[]
246
+ method?: SkoalaApiHostedV1alpha1Http.HttpMethod[]
247
247
  requestPath?: string
248
248
  routeType?: RouteType
249
249
  apiStatus?: APIStatus
@@ -38,7 +38,7 @@ export type Node = {
38
38
  }
39
39
 
40
40
  export type Gateway = {
41
- workspaceId?: number
41
+ workspaceId?: string
42
42
  clusterName?: string
43
43
  namespaceName?: string
44
44
  name?: string
@@ -48,18 +48,19 @@ export type Gateway = {
48
48
  endpoints?: string[]
49
49
  contour?: Node
50
50
  envoy?: Node
51
+ apiCount?: number
51
52
  config?: GatewayConfig
52
53
  }
53
54
 
54
55
  export type ListAllGatewayReq = {
55
- workspaceId?: number
56
+ workspaceId?: string
56
57
  page?: number
57
58
  pageSize?: number
58
59
  filter?: string
59
60
  }
60
61
 
61
62
  export type ListClusterGatewayReq = {
62
- workspaceId?: number
63
+ workspaceId?: string
63
64
  clusterName?: string
64
65
  page?: number
65
66
  pageSize?: number
@@ -73,7 +74,7 @@ export type ListGatewayRes = {
73
74
  }
74
75
 
75
76
  export type GetGatewayReq = {
76
- workspaceId?: number
77
+ workspaceId?: string
77
78
  clusterName?: string
78
79
  namespaceName?: string
79
80
  gatewayName?: string
@@ -109,6 +110,7 @@ export type HostIPs = {
109
110
 
110
111
  export type EnvoyService = {
111
112
  type?: ServiceType
113
+ enableHttps?: boolean
112
114
  }
113
115
 
114
116
  export type EnvoyServicePro = {
@@ -162,16 +164,16 @@ export type ContourNormalConfigPro = {
162
164
  }
163
165
 
164
166
  export type CreateGatewayReq = {
165
- workspaceId?: number
166
- name?: string
167
+ workspaceId?: string
168
+ gatewayName?: string
167
169
  clusterName?: string
168
170
  namespaceName?: string
169
171
  config?: GatewayConfig
170
172
  }
171
173
 
172
174
  export type CreateGatewayProReq = {
173
- workspaceId?: number
174
- name?: string
175
+ workspaceId?: string
176
+ gatewayName?: string
175
177
  clusterName?: string
176
178
  namespaceName?: string
177
179
  createNamespace?: boolean
@@ -179,7 +181,7 @@ export type CreateGatewayProReq = {
179
181
  }
180
182
 
181
183
  export type UpdateGatewayReq = {
182
- workspaceId?: number
184
+ workspaceId?: string
183
185
  gatewayName?: string
184
186
  clusterName?: string
185
187
  namespaceName?: string
@@ -187,7 +189,7 @@ export type UpdateGatewayReq = {
187
189
  }
188
190
 
189
191
  export type UpdateGatewayProReq = {
190
- workspaceId?: number
192
+ workspaceId?: string
191
193
  gatewayName?: string
192
194
  clusterName?: string
193
195
  namespaceName?: string
@@ -195,7 +197,7 @@ export type UpdateGatewayProReq = {
195
197
  }
196
198
 
197
199
  export type DeleteGatewayReq = {
198
- workspaceId?: number
200
+ workspaceId?: string
199
201
  clusterName?: string
200
202
  namespaceName?: string
201
203
  gatewayName?: string
@@ -272,7 +274,7 @@ export type GetImagesRes = {
272
274
  }
273
275
 
274
276
  export type GetGatewayStatusReq = {
275
- workspaceId?: number
277
+ workspaceId?: string
276
278
  clusterName?: string
277
279
  namespaceName?: string
278
280
  gatewayName?: string
@@ -5,14 +5,14 @@
5
5
  */
6
6
 
7
7
  import * as SkoalaApiGeneralV1alpha1Skoala from "../../general/v1alpha1/skoala.pb"
8
- import * as SkoalaApiHostedV1alpha1Api-basic from "./api-basic.pb"
8
+ import * as SkoalaApiHostedV1alpha1Http from "./http.pb"
9
9
  export type CreateVirtualhostReq = {
10
10
  workspaceId?: string
11
11
  gatewayName?: string
12
12
  clusterName?: string
13
13
  namespaceName?: string
14
14
  fqdn?: string
15
- protocol?: SkoalaApiHostedV1alpha1Api-basic.Protocol
15
+ protocol?: SkoalaApiHostedV1alpha1Http.Protocol
16
16
  }
17
17
 
18
18
  export type CreateVirtualhostRes = {
@@ -31,7 +31,7 @@ export type ListVirtualhostReq = {
31
31
 
32
32
  export type VirtualhostInfo = {
33
33
  fqdn?: string
34
- protocol?: SkoalaApiHostedV1alpha1Api-basic.Protocol
34
+ protocol?: SkoalaApiHostedV1alpha1Http.Protocol
35
35
  secretName?: string
36
36
  namespaceName?: string
37
37
  updatedAt?: string
@@ -52,7 +52,7 @@ export type GetVirtualhostReq = {
52
52
 
53
53
  export type GetVirtualhostRes = {
54
54
  fqdn?: string
55
- protocol?: SkoalaApiHostedV1alpha1Api-basic.Protocol
55
+ protocol?: SkoalaApiHostedV1alpha1Http.Protocol
56
56
  }
57
57
 
58
58
  export type UpdateVirtualhostReq = {
@@ -61,7 +61,7 @@ export type UpdateVirtualhostReq = {
61
61
  clusterName?: string
62
62
  namespaceName?: string
63
63
  fqdn?: string
64
- protocol?: SkoalaApiHostedV1alpha1Api-basic.Protocol
64
+ protocol?: SkoalaApiHostedV1alpha1Http.Protocol
65
65
  }
66
66
 
67
67
  export type UpdateVirtualhostRes = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.4.1-55",
3
+ "version": "0.4.1-61",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {