@alauda-fe/workload-util-shared 0.0.1 → 0.0.3
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.
- package/esm2022/lib/services/index.mjs +1 -2
- package/esm2022/lib/typings/k8s-resource-definitions/acp-resource-definition.mjs +80 -7
- package/esm2022/lib/typings/k8s-resource-definitions/alu-resource-definition.mjs +1 -51
- package/esm2022/lib/typings/k8s-resource-definitions/index.mjs +1 -7
- package/esm2022/lib/utils/constants.mjs +1 -2
- package/esm2022/lib/utils/patterns.mjs +5 -1
- package/lib/services/index.d.ts +0 -1
- package/lib/typings/k8s-resource-definitions/acp-resource-definition.d.ts +78 -5
- package/lib/typings/k8s-resource-definitions/alu-resource-definition.d.ts +0 -49
- package/lib/typings/k8s-resource-definitions/index.d.ts +253 -261
- package/lib/utils/constants.d.ts +0 -1
- package/lib/utils/patterns.d.ts +4 -0
- package/package.json +1 -1
- package/esm2022/lib/services/cluster-api.service.mjs +0 -93
- package/lib/services/cluster-api.service.d.ts +0 -38
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const OAM_GROUP = "core.oam.dev";
|
|
2
2
|
export declare const GATEWAY_NETWORKING_GROUP = "gateway.networking.k8s.io";
|
|
3
|
+
export declare const VOLUME_SNAPSHOT_GROUP = "snapshot.storage.k8s.io";
|
|
4
|
+
export declare const KUBEVIRT_BASE_DOMAIN = "kubevirt.io";
|
|
3
5
|
export declare const ACPResourceDefinitions: {
|
|
4
6
|
readonly VERTICAL_POD_AUTOSCALER: {
|
|
5
7
|
readonly apiGroup: "autoscaling.k8s.io";
|
|
@@ -92,11 +94,6 @@ export declare const ACPResourceDefinitions: {
|
|
|
92
94
|
readonly type: "provider-networks";
|
|
93
95
|
readonly apiGroup: "kubeovn.io";
|
|
94
96
|
};
|
|
95
|
-
readonly PRODUCT_UPGRADE: {
|
|
96
|
-
readonly type: "productupgrades";
|
|
97
|
-
readonly apiGroup: "product.alauda.io";
|
|
98
|
-
readonly apiVersion: "v1alpha1";
|
|
99
|
-
};
|
|
100
97
|
readonly INGRESS_CLASS: {
|
|
101
98
|
readonly apiGroup: "networking.k8s.io";
|
|
102
99
|
readonly type: "ingressclasses";
|
|
@@ -239,4 +236,80 @@ export declare const ACPResourceDefinitions: {
|
|
|
239
236
|
readonly apiVersion: "v1alpha1";
|
|
240
237
|
readonly type: "builderimagecategories";
|
|
241
238
|
};
|
|
239
|
+
readonly VOLUME_SNAPSHOT: {
|
|
240
|
+
readonly type: "volumesnapshots";
|
|
241
|
+
readonly apiGroup: "snapshot.storage.k8s.io";
|
|
242
|
+
readonly apiVersion: "v1";
|
|
243
|
+
};
|
|
244
|
+
readonly SUBNET_KUBE_OVN: {
|
|
245
|
+
readonly type: "subnets";
|
|
246
|
+
readonly apiGroup: "kubeovn.io";
|
|
247
|
+
};
|
|
248
|
+
readonly SUBNET_KUBE_OVN_IP: {
|
|
249
|
+
readonly type: "ips";
|
|
250
|
+
readonly apiGroup: "kubeovn.io";
|
|
251
|
+
};
|
|
252
|
+
readonly L2_ADVERTISEMENT: {
|
|
253
|
+
readonly apiGroup: "metallb.io";
|
|
254
|
+
readonly apiVersion: "v1beta1";
|
|
255
|
+
readonly type: "l2advertisements";
|
|
256
|
+
};
|
|
257
|
+
readonly IP_POOL: {
|
|
258
|
+
readonly apiGroup: "metallb.io";
|
|
259
|
+
readonly apiVersion: "v1beta1";
|
|
260
|
+
readonly type: "ipaddresspools";
|
|
261
|
+
};
|
|
262
|
+
readonly BGP_PEER: {
|
|
263
|
+
readonly apiGroup: "metallb.io";
|
|
264
|
+
readonly apiVersion: "v1beta2";
|
|
265
|
+
readonly type: "bgppeers";
|
|
266
|
+
};
|
|
267
|
+
readonly BGP_ADVERTISEMENT: {
|
|
268
|
+
readonly apiGroup: "metallb.io";
|
|
269
|
+
readonly apiVersion: "v1beta1";
|
|
270
|
+
readonly type: "bgpadvertisements";
|
|
271
|
+
};
|
|
272
|
+
readonly INTER_CONNECTION_SUBNET: {
|
|
273
|
+
readonly type: "interconnectionsubnets";
|
|
274
|
+
readonly apiGroup: "kubeovn.io";
|
|
275
|
+
};
|
|
276
|
+
readonly DATA_VOLUME: {
|
|
277
|
+
readonly apiGroup: "cdi.kubevirt.io";
|
|
278
|
+
readonly apiVersion: "v1beta1";
|
|
279
|
+
readonly type: "datavolumes";
|
|
280
|
+
};
|
|
281
|
+
readonly VM_SNAPSHOT: {
|
|
282
|
+
readonly apiGroup: "snapshot.kubevirt.io";
|
|
283
|
+
readonly apiVersion: "v1alpha1";
|
|
284
|
+
readonly type: "virtualmachinesnapshots";
|
|
285
|
+
};
|
|
286
|
+
readonly VM_RESTORE: {
|
|
287
|
+
readonly apiGroup: "snapshot.kubevirt.io";
|
|
288
|
+
readonly apiVersion: "v1alpha1";
|
|
289
|
+
readonly type: "virtualmachinerestores";
|
|
290
|
+
};
|
|
291
|
+
readonly VM_IMAGE: {
|
|
292
|
+
readonly apiGroup: "virtualization.alauda.io";
|
|
293
|
+
readonly type: "virtualmachineimagetemplates";
|
|
294
|
+
};
|
|
295
|
+
readonly LIVE_MIGRATION: {
|
|
296
|
+
readonly apiGroup: "kubevirt.io";
|
|
297
|
+
readonly type: "virtualmachineinstancemigrations";
|
|
298
|
+
readonly apiVersion: "v1";
|
|
299
|
+
};
|
|
300
|
+
readonly VIRTUAL_MACHINE: {
|
|
301
|
+
readonly apiGroup: "kubevirt.io";
|
|
302
|
+
readonly type: "virtualmachines";
|
|
303
|
+
readonly apiVersion: "v1";
|
|
304
|
+
};
|
|
305
|
+
readonly VIRTUAL_MACHINE_INSTANCE: {
|
|
306
|
+
readonly apiGroup: "kubevirt.io";
|
|
307
|
+
readonly type: "virtualmachineinstances";
|
|
308
|
+
readonly apiVersion: "v1";
|
|
309
|
+
};
|
|
310
|
+
readonly VIRTUAL_MACHINE_POOL: {
|
|
311
|
+
readonly apiGroup: "pool.kubevirt.io";
|
|
312
|
+
readonly type: "virtualmachinepools";
|
|
313
|
+
readonly apiVersion: "v1alpha1";
|
|
314
|
+
};
|
|
242
315
|
};
|
|
@@ -1,16 +1,4 @@
|
|
|
1
1
|
export declare const ALUResourceDefinitions: {
|
|
2
|
-
readonly PROJECT_MEMBER: {
|
|
3
|
-
readonly type: "projectmembers";
|
|
4
|
-
readonly apiGroup: "auth.alauda.io";
|
|
5
|
-
};
|
|
6
|
-
readonly USER: {
|
|
7
|
-
readonly type: "users";
|
|
8
|
-
readonly apiGroup: "auth.alauda.io";
|
|
9
|
-
};
|
|
10
|
-
readonly GROUP: {
|
|
11
|
-
readonly type: "groups";
|
|
12
|
-
readonly apiGroup: "auth.alauda.io";
|
|
13
|
-
};
|
|
14
2
|
readonly NAMESPACE_RESOURCE_RATIO: {
|
|
15
3
|
readonly type: "namespaceresourceratios";
|
|
16
4
|
readonly apiGroup: "resource.alauda.io";
|
|
@@ -20,20 +8,6 @@ export declare const ALUResourceDefinitions: {
|
|
|
20
8
|
readonly apiGroup: "apiextensions.k8s.io";
|
|
21
9
|
readonly apiVersion: "v1beta1";
|
|
22
10
|
};
|
|
23
|
-
readonly CONNECTOR: {
|
|
24
|
-
readonly type: "connectors";
|
|
25
|
-
readonly apiGroup: "dex.coreos.com";
|
|
26
|
-
};
|
|
27
|
-
readonly ROLE_TEMPLATE: {
|
|
28
|
-
readonly type: "roletemplates";
|
|
29
|
-
readonly apiGroup: "auth.alauda.io";
|
|
30
|
-
readonly apiVersion: "v1beta1";
|
|
31
|
-
};
|
|
32
|
-
readonly FUNCTION_RESOURCE: {
|
|
33
|
-
readonly type: "functionresources";
|
|
34
|
-
readonly apiGroup: "auth.alauda.io";
|
|
35
|
-
readonly apiVersion: "v1beta1";
|
|
36
|
-
};
|
|
37
11
|
readonly LICENSE: {
|
|
38
12
|
readonly type: "secrets";
|
|
39
13
|
};
|
|
@@ -106,10 +80,6 @@ export declare const ALUResourceDefinitions: {
|
|
|
106
80
|
readonly apiVersion: "v1alpha1";
|
|
107
81
|
readonly type: "messages";
|
|
108
82
|
};
|
|
109
|
-
readonly ALAUDA_PRODUCT: {
|
|
110
|
-
readonly type: "alaudaproducts";
|
|
111
|
-
readonly apiGroup: "portal.alauda.io";
|
|
112
|
-
};
|
|
113
83
|
readonly INSPECTION: {
|
|
114
84
|
readonly type: "inspections";
|
|
115
85
|
readonly apiGroup: "ait.alauda.io";
|
|
@@ -135,11 +105,6 @@ export declare const ALUResourceDefinitions: {
|
|
|
135
105
|
readonly apiGroup: "ait.alauda.io";
|
|
136
106
|
readonly apiVersion: "v1alpha1";
|
|
137
107
|
};
|
|
138
|
-
readonly USER_SECURITY_POLICY: {
|
|
139
|
-
readonly type: "userpolicies";
|
|
140
|
-
readonly apiGroup: "security.alauda.io";
|
|
141
|
-
readonly apiVersion: "v1alpha1";
|
|
142
|
-
};
|
|
143
108
|
readonly PROBE: {
|
|
144
109
|
readonly type: "probes";
|
|
145
110
|
readonly apiVersion: "v1";
|
|
@@ -159,10 +124,6 @@ export declare const ALUResourceDefinitions: {
|
|
|
159
124
|
readonly type: "certificates";
|
|
160
125
|
readonly apiGroup: "cert-manager.io";
|
|
161
126
|
};
|
|
162
|
-
readonly ACCESS_TOKEN_INFO: {
|
|
163
|
-
readonly apiGroup: "auth.alauda.io";
|
|
164
|
-
readonly type: "accesstokeninfoes";
|
|
165
|
-
};
|
|
166
127
|
readonly SECURITY_RULE: {
|
|
167
128
|
readonly type: "securityrules";
|
|
168
129
|
readonly apiGroup: "ait.alauda.io";
|
|
@@ -178,16 +139,6 @@ export declare const ALUResourceDefinitions: {
|
|
|
178
139
|
readonly apiGroup: "topolvm.cybozu.com";
|
|
179
140
|
readonly apiVersion: "v2";
|
|
180
141
|
};
|
|
181
|
-
readonly MODULE_CONFIG: {
|
|
182
|
-
readonly apiGroup: "cluster.alauda.io";
|
|
183
|
-
readonly apiVersion: "v1alpha1";
|
|
184
|
-
readonly type: "moduleconfigs";
|
|
185
|
-
};
|
|
186
|
-
readonly MODULE_PLUGIN: {
|
|
187
|
-
readonly apiGroup: "cluster.alauda.io";
|
|
188
|
-
readonly apiVersion: "v1alpha1";
|
|
189
|
-
readonly type: "moduleplugins";
|
|
190
|
-
};
|
|
191
142
|
readonly BUCKET: {
|
|
192
143
|
readonly apiGroup: "objectstorage.k8s.io";
|
|
193
144
|
readonly apiVersion: "v1alpha1";
|