@daocloud-proto/skoala 0.4.1-35 → 0.4.1-37

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.
@@ -15,6 +15,12 @@ type OneOf<T> =
15
15
  : never)
16
16
  : never);
17
17
 
18
+ export enum ServiceType {
19
+ SERVICE_TYPE_UNSPECIFIED = "SERVICE_TYPE_UNSPECIFIED",
20
+ NodePort = "NodePort",
21
+ LoadBalancer = "LoadBalancer",
22
+ }
23
+
18
24
  export enum LogLogLevel {
19
25
  STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED",
20
26
  TRACE = "TRACE",
@@ -102,14 +108,13 @@ export type HostIPs = {
102
108
  }
103
109
 
104
110
  export type EnvoyService = {
105
- type?: string
111
+ type?: ServiceType
106
112
  ports?: EnvoyPorts
107
- targetPorts?: EnvoyPortsString
108
113
  nodePorts?: EnvoyPortsString
109
114
  }
110
115
 
111
116
  export type EnvoyServicePro = {
112
- type?: string
117
+ type?: ServiceType
113
118
  ports?: EnvoyPorts
114
119
  targetPorts?: EnvoyPortsString
115
120
  nodePorts?: EnvoyPortsString
@@ -118,7 +123,7 @@ export type EnvoyServicePro = {
118
123
  }
119
124
 
120
125
  export type ContourService = {
121
- type?: string
126
+ type?: ServiceType
122
127
  clusterIp?: string
123
128
  ports?: ContourPorts
124
129
  nodePorts?: ContourPortsString
@@ -147,12 +152,12 @@ export type EnvoyNormalConfigPro = {
147
152
  }
148
153
 
149
154
  export type ContourNormalConfig = {
150
- rootNamespaces?: string
155
+ rootNamespaces?: string[]
151
156
  replicas?: number
152
157
  }
153
158
 
154
159
  export type ContourNormalConfigPro = {
155
- rootNamespaces?: string
160
+ rootNamespaces?: string[]
156
161
  replicas?: number
157
162
  containerPorts?: ContourPorts
158
163
  service?: ContourService
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.4.1-35",
3
+ "version": "0.4.1-37",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {