@alauda-fe/workload-util-shared 0.0.1

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.
Files changed (82) hide show
  1. package/esm2022/alauda-fe-workload-util-shared.mjs +5 -0
  2. package/esm2022/index.mjs +6 -0
  3. package/esm2022/lib/directives/index.mjs +3 -0
  4. package/esm2022/lib/directives/oam-resource-disabled-container.directive.mjs +53 -0
  5. package/esm2022/lib/directives/sync-control.directive.mjs +52 -0
  6. package/esm2022/lib/pipes/index.mjs +4 -0
  7. package/esm2022/lib/pipes/is-oam-resource.pipe.mjs +17 -0
  8. package/esm2022/lib/pipes/range.pipe.mjs +17 -0
  9. package/esm2022/lib/pipes/short-num.pipe.mjs +15 -0
  10. package/esm2022/lib/services/cluster-api.service.mjs +93 -0
  11. package/esm2022/lib/services/feature-gate.service.mjs +50 -0
  12. package/esm2022/lib/services/index.mjs +6 -0
  13. package/esm2022/lib/services/pod-util.service.mjs +70 -0
  14. package/esm2022/lib/services/resource-quota.service.mjs +116 -0
  15. package/esm2022/lib/services/terminal.service.mjs +46 -0
  16. package/esm2022/lib/typings/account.mjs +2 -0
  17. package/esm2022/lib/typings/backend-api.mjs +7 -0
  18. package/esm2022/lib/typings/batch-action.type.mjs +2 -0
  19. package/esm2022/lib/typings/form.mjs +2 -0
  20. package/esm2022/lib/typings/helpers.mjs +14 -0
  21. package/esm2022/lib/typings/index.mjs +10 -0
  22. package/esm2022/lib/typings/k8s-form-model.mjs +12 -0
  23. package/esm2022/lib/typings/k8s-resource-definitions/acp-resource-definition.mjs +258 -0
  24. package/esm2022/lib/typings/k8s-resource-definitions/alu-resource-definition.mjs +281 -0
  25. package/esm2022/lib/typings/k8s-resource-definitions/index.mjs +142 -0
  26. package/esm2022/lib/typings/k8s.mjs +143 -0
  27. package/esm2022/lib/typings/status.mjs +269 -0
  28. package/esm2022/lib/utils/code-editor-config.mjs +2 -0
  29. package/esm2022/lib/utils/constants.mjs +61 -0
  30. package/esm2022/lib/utils/crd.mjs +36 -0
  31. package/esm2022/lib/utils/format-number.mjs +227 -0
  32. package/esm2022/lib/utils/helpers.mjs +27 -0
  33. package/esm2022/lib/utils/index.mjs +14 -0
  34. package/esm2022/lib/utils/k8s-util.service.mjs +28 -0
  35. package/esm2022/lib/utils/patterns.mjs +140 -0
  36. package/esm2022/lib/utils/pod-util.mjs +75 -0
  37. package/esm2022/lib/utils/resource-status.mjs +86 -0
  38. package/esm2022/lib/utils/resources-config-util.mjs +28 -0
  39. package/esm2022/lib/utils/status.mjs +84 -0
  40. package/esm2022/lib/utils/validator.mjs +11 -0
  41. package/esm2022/lib/utils/workspace.mjs +25 -0
  42. package/index.d.ts +5 -0
  43. package/lib/directives/index.d.ts +2 -0
  44. package/lib/directives/oam-resource-disabled-container.directive.d.ts +17 -0
  45. package/lib/directives/sync-control.directive.d.ts +14 -0
  46. package/lib/pipes/index.d.ts +3 -0
  47. package/lib/pipes/is-oam-resource.pipe.d.ts +9 -0
  48. package/lib/pipes/range.pipe.d.ts +7 -0
  49. package/lib/pipes/short-num.pipe.d.ts +7 -0
  50. package/lib/services/cluster-api.service.d.ts +38 -0
  51. package/lib/services/feature-gate.service.d.ts +38 -0
  52. package/lib/services/index.d.ts +5 -0
  53. package/lib/services/pod-util.service.d.ts +18 -0
  54. package/lib/services/resource-quota.service.d.ts +25 -0
  55. package/lib/services/terminal.service.d.ts +15 -0
  56. package/lib/typings/account.d.ts +17 -0
  57. package/lib/typings/backend-api.d.ts +220 -0
  58. package/lib/typings/batch-action.type.d.ts +35 -0
  59. package/lib/typings/form.d.ts +10 -0
  60. package/lib/typings/helpers.d.ts +45 -0
  61. package/lib/typings/index.d.ts +9 -0
  62. package/lib/typings/k8s-form-model.d.ts +128 -0
  63. package/lib/typings/k8s-resource-definitions/acp-resource-definition.d.ts +242 -0
  64. package/lib/typings/k8s-resource-definitions/alu-resource-definition.d.ts +269 -0
  65. package/lib/typings/k8s-resource-definitions/index.d.ts +1911 -0
  66. package/lib/typings/k8s.d.ts +1147 -0
  67. package/lib/typings/status.d.ts +252 -0
  68. package/lib/utils/code-editor-config.d.ts +1 -0
  69. package/lib/utils/constants.d.ts +57 -0
  70. package/lib/utils/crd.d.ts +21 -0
  71. package/lib/utils/format-number.d.ts +11 -0
  72. package/lib/utils/helpers.d.ts +13 -0
  73. package/lib/utils/index.d.ts +13 -0
  74. package/lib/utils/k8s-util.service.d.ts +8 -0
  75. package/lib/utils/patterns.d.ts +132 -0
  76. package/lib/utils/pod-util.d.ts +19 -0
  77. package/lib/utils/resource-status.d.ts +8 -0
  78. package/lib/utils/resources-config-util.d.ts +22 -0
  79. package/lib/utils/status.d.ts +3 -0
  80. package/lib/utils/validator.d.ts +4 -0
  81. package/lib/utils/workspace.d.ts +14 -0
  82. package/package.json +36 -0
@@ -0,0 +1,1911 @@
1
+ import { TypeMeta } from '@alauda-fe/common';
2
+ export declare const RESOURCE_DEFINITIONS: {
3
+ readonly VERTICAL_POD_AUTOSCALER: {
4
+ readonly apiGroup: "autoscaling.k8s.io";
5
+ readonly apiVersion: "v1";
6
+ readonly type: "VerticalPodAutoscaler";
7
+ };
8
+ readonly POD_AUTOSCALER: {
9
+ readonly apiGroup: "autoscaling.k8s.io";
10
+ readonly apiVersion: "v1";
11
+ readonly type: "PodAutoscaler";
12
+ };
13
+ readonly ROUTE: {
14
+ readonly type: "routes";
15
+ readonly apiGroup: "route.openshift.io";
16
+ };
17
+ readonly ADDON: {
18
+ readonly apiGroup: "platform.tkestack.io";
19
+ readonly type: "addons";
20
+ };
21
+ readonly INSTALLPLAN: {
22
+ readonly apiGroup: "operators.coreos.com";
23
+ readonly apiVersion: "v1alpha1";
24
+ readonly type: "installplans";
25
+ };
26
+ readonly CEPH_CLUSTER: {
27
+ readonly apiGroup: "ceph.rook.io";
28
+ readonly apiVersion: "v1";
29
+ readonly type: "cephclusters";
30
+ };
31
+ readonly CEPH_FILE_SYSTEM: {
32
+ readonly apiGroup: "ceph.rook.io";
33
+ readonly apiVersion: "v1";
34
+ readonly type: "cephfilesystems";
35
+ };
36
+ readonly ARTIFACT: {
37
+ readonly apiGroup: "meta.katanomi.dev";
38
+ readonly apiVersion: "v1alpha1";
39
+ readonly type: "artifacts";
40
+ };
41
+ readonly TDSQL_INSTANCE: {
42
+ readonly type: "instances";
43
+ readonly apiVersion: "v1alpha1";
44
+ readonly apiGroup: "tdsql.alauda.io";
45
+ };
46
+ readonly TDSQL_INSTANCE_BINDING: {
47
+ readonly type: "instancebindings";
48
+ readonly apiVersion: "v1alpha1";
49
+ readonly apiGroup: "tdsql.alauda.io";
50
+ };
51
+ readonly TDSQL_ACCOUNTS: {
52
+ readonly type: "accounts";
53
+ readonly apiVersion: "v1alpha1";
54
+ readonly apiGroup: "tdsql.alauda.io";
55
+ };
56
+ readonly TDSQL_INSTANCE_SET: {
57
+ readonly type: "requests";
58
+ readonly apiVersion: "v1alpha1";
59
+ readonly apiGroup: "tdsql.alauda.io";
60
+ };
61
+ readonly CEPH_BLOCK_POOL: {
62
+ readonly apiGroup: "ceph.rook.io";
63
+ readonly type: "cephblockpools";
64
+ };
65
+ readonly CSI_DRIVER: {
66
+ readonly apiGroup: "storage.k8s.io";
67
+ readonly type: "csidrivers";
68
+ };
69
+ readonly EPHEMERAL_CONTAINERS: {
70
+ readonly type: "ephemeralcontainers";
71
+ };
72
+ readonly APP_CONFIG: {
73
+ readonly apiGroup: "asm.alauda.io";
74
+ readonly apiVersion: "v1alpha1";
75
+ readonly type: "appconfigs";
76
+ };
77
+ readonly CEPH_OBJECT_STORE: {
78
+ readonly apiGroup: "ceph.rook.io";
79
+ readonly type: "cephobjectstores";
80
+ };
81
+ readonly TOPOLVM_CLUSTER: {
82
+ readonly type: "topolvmclusters";
83
+ readonly apiGroup: "topolvm.cybozu.com";
84
+ readonly apiVersion: "v1";
85
+ };
86
+ readonly VLAN: {
87
+ readonly type: "vlans";
88
+ readonly apiGroup: "kubeovn.io";
89
+ };
90
+ readonly PROVIDER_NETWORK: {
91
+ readonly type: "provider-networks";
92
+ readonly apiGroup: "kubeovn.io";
93
+ };
94
+ readonly PRODUCT_UPGRADE: {
95
+ readonly type: "productupgrades";
96
+ readonly apiGroup: "product.alauda.io";
97
+ readonly apiVersion: "v1alpha1";
98
+ };
99
+ readonly INGRESS_CLASS: {
100
+ readonly apiGroup: "networking.k8s.io";
101
+ readonly type: "ingressclasses";
102
+ };
103
+ readonly INGRESS_V1BEAT1: {
104
+ readonly apiGroup: "networking.k8s.io";
105
+ readonly type: "ingresses";
106
+ readonly apiVersion: "v1beta1";
107
+ };
108
+ readonly NAMESPACE_AUDIT: {
109
+ readonly apiGroup: "aiops.alauda.io";
110
+ readonly type: "namespaceaudits";
111
+ };
112
+ readonly OAM_APP_STATUS: {
113
+ readonly apiGroup: "oam.alauda.io";
114
+ readonly apiVersion: "v1alpha1";
115
+ readonly type: "appstatuses";
116
+ };
117
+ readonly OAM_COMPONENT_DEFINITION: {
118
+ readonly apiGroup: "core.oam.dev";
119
+ readonly apiVersion: "v1beta1";
120
+ readonly type: "componentdefinitions";
121
+ };
122
+ readonly OAM_TRAIT_DEFINITION: {
123
+ readonly apiGroup: "core.oam.dev";
124
+ readonly apiVersion: "v1beta1";
125
+ readonly type: "traitdefinitions";
126
+ };
127
+ readonly OAM_APP_REVISION: {
128
+ readonly apiGroup: "core.oam.dev";
129
+ readonly apiVersion: "v1beta1";
130
+ readonly type: "applicationrevisions";
131
+ };
132
+ readonly ALAUDA_BUCKET_REQUEST: {
133
+ readonly apiGroup: "cosi.alauda.io";
134
+ readonly apiVersion: "v1alpha1";
135
+ readonly type: "alaudabucketrequests";
136
+ };
137
+ readonly BUCKET_ACCESS_CLASS: {
138
+ readonly apiGroup: "objectstorage.k8s.io";
139
+ readonly apiVersion: "v1alpha1";
140
+ readonly type: "bucketaccessclasses";
141
+ };
142
+ readonly BUCKET_ACCESS_REQUEST: {
143
+ readonly apiGroup: "objectstorage.k8s.io";
144
+ readonly apiVersion: "v1alpha1";
145
+ readonly type: "bucketaccessrequests";
146
+ };
147
+ readonly GATEWAY_CLASS: {
148
+ readonly apiGroup: "gateway.networking.k8s.io";
149
+ readonly apiVersion: "v1beta1";
150
+ readonly type: "gatewayclasses";
151
+ };
152
+ readonly GATEWAY: {
153
+ readonly apiGroup: "gateway.networking.k8s.io";
154
+ readonly apiVersion: "v1beta1";
155
+ readonly type: "gateways";
156
+ };
157
+ readonly HTTP_ROUTE: {
158
+ readonly apiGroup: "gateway.networking.k8s.io";
159
+ readonly apiVersion: "v1beta1";
160
+ readonly type: "httproutes";
161
+ };
162
+ readonly TCP_ROUTE: {
163
+ readonly apiGroup: "gateway.networking.k8s.io";
164
+ readonly apiVersion: "v1alpha2";
165
+ readonly type: "tcproutes";
166
+ };
167
+ readonly UDP_ROUTE: {
168
+ readonly apiGroup: "gateway.networking.k8s.io";
169
+ readonly apiVersion: "v1alpha2";
170
+ readonly type: "udproutes";
171
+ };
172
+ readonly ALAUDA_ARTIFACT: {
173
+ readonly apiGroup: "app.alauda.io";
174
+ readonly apiVersion: "v1alpha1";
175
+ readonly type: "artifacts";
176
+ };
177
+ readonly ALAUDA_ARTIFACT_VERSION: {
178
+ readonly apiGroup: "app.alauda.io";
179
+ readonly apiVersion: "v1alpha1";
180
+ readonly type: "artifactversions";
181
+ };
182
+ readonly ARTIFACT_UPLOAD_PROCESSOR: {
183
+ readonly apiGroup: "app.alauda.io";
184
+ readonly apiVersion: "v1";
185
+ readonly type: "artifactuploadprocessors";
186
+ };
187
+ readonly GIT_COMMIT: {
188
+ readonly apiGroup: "gitops.app.alauda.io";
189
+ readonly apiVersion: "v1alpha1";
190
+ readonly type: "applications/commit";
191
+ };
192
+ readonly GITOPS_IGNORE_DIFFERENCE: {
193
+ readonly apiGroup: "gitops.app.alauda.io";
194
+ readonly apiVersion: "v1alpha1";
195
+ readonly type: "gitopsignoredifferences";
196
+ };
197
+ readonly GATEKEEPER_CONSTRAINTS: {
198
+ readonly apiGroup: "gatekeeper.alauda.io";
199
+ readonly apiVersion: "v1alpha1";
200
+ readonly type: "constraints";
201
+ };
202
+ readonly ARTIFACT_APP: {
203
+ readonly apiGroup: "app.alauda.io";
204
+ readonly type: "artifacts";
205
+ readonly apiVersion: "v1alpha1";
206
+ };
207
+ readonly ARTIFACT_VERSION: {
208
+ readonly apiGroup: "app.alauda.io";
209
+ readonly type: "artifactversions";
210
+ readonly apiVersion: "v1alpha1";
211
+ };
212
+ readonly APP_PACKAGE_MANIFEST: {
213
+ readonly apiGroup: "app.alauda.io";
214
+ readonly type: "packagemanifests";
215
+ readonly apiVersion: "v1alpha1";
216
+ };
217
+ readonly MINIO_PEER: {
218
+ readonly apiGroup: "minio.min.io";
219
+ readonly apiVersion: "v1alpha1";
220
+ readonly type: "miniopeers";
221
+ };
222
+ readonly GITOPS_APPLICATIONS: {
223
+ readonly apiGroup: "gitops.app.alauda.io";
224
+ readonly type: "applications";
225
+ };
226
+ readonly GIT_BUILD: {
227
+ readonly apiGroup: "build.alauda.io";
228
+ readonly apiVersion: "v1alpha1";
229
+ readonly type: "builds";
230
+ };
231
+ readonly GIT_BUILD_RUN: {
232
+ readonly apiGroup: "build.alauda.io";
233
+ readonly apiVersion: "v1alpha1";
234
+ readonly type: "buildruns";
235
+ };
236
+ readonly GIT_BUILDER_IMAGE_CATEGORY: {
237
+ readonly apiGroup: "build.alauda.io";
238
+ readonly apiVersion: "v1alpha1";
239
+ readonly type: "builderimagecategories";
240
+ };
241
+ readonly PROJECT_MEMBER: {
242
+ readonly type: "projectmembers";
243
+ readonly apiGroup: "auth.alauda.io";
244
+ };
245
+ readonly USER: {
246
+ readonly type: "users";
247
+ readonly apiGroup: "auth.alauda.io";
248
+ };
249
+ readonly GROUP: {
250
+ readonly type: "groups";
251
+ readonly apiGroup: "auth.alauda.io";
252
+ };
253
+ readonly NAMESPACE_RESOURCE_RATIO: {
254
+ readonly type: "namespaceresourceratios";
255
+ readonly apiGroup: "resource.alauda.io";
256
+ };
257
+ readonly CUSTOM_RESOURCE_DEFINITION: {
258
+ readonly type: "customresourcedefinitions";
259
+ readonly apiGroup: "apiextensions.k8s.io";
260
+ readonly apiVersion: "v1beta1";
261
+ };
262
+ readonly CONNECTOR: {
263
+ readonly type: "connectors";
264
+ readonly apiGroup: "dex.coreos.com";
265
+ };
266
+ readonly ROLE_TEMPLATE: {
267
+ readonly type: "roletemplates";
268
+ readonly apiGroup: "auth.alauda.io";
269
+ readonly apiVersion: "v1beta1";
270
+ };
271
+ readonly FUNCTION_RESOURCE: {
272
+ readonly type: "functionresources";
273
+ readonly apiGroup: "auth.alauda.io";
274
+ readonly apiVersion: "v1beta1";
275
+ };
276
+ readonly LICENSE: {
277
+ readonly type: "secrets";
278
+ };
279
+ readonly REPORT: {
280
+ readonly type: "reports";
281
+ readonly apiGroup: "metering.alauda.io";
282
+ readonly apiVersion: "v1beta1";
283
+ };
284
+ readonly RECORD: {
285
+ readonly type: "records";
286
+ readonly apiGroup: "metering.alauda.io";
287
+ readonly apiVersion: "v1beta1";
288
+ };
289
+ readonly CSI_NODE: {
290
+ readonly apiGroup: "storage.k8s.io";
291
+ readonly type: "csinodes";
292
+ };
293
+ readonly TSF: {
294
+ readonly type: "tsfproducts";
295
+ readonly apiGroup: "product.alauda.io";
296
+ readonly apiVersion: "v1beta1";
297
+ };
298
+ readonly TDSQL: {
299
+ readonly type: "tdsqldeploys";
300
+ readonly apiVersion: "v1alpha1";
301
+ readonly apiGroup: "product.alauda.io";
302
+ };
303
+ readonly PORTAL: {
304
+ readonly type: "*";
305
+ readonly apiGroup: "product.alauda.io";
306
+ };
307
+ readonly NAMESPACE_IMPORT: {
308
+ readonly type: "namespace-import";
309
+ readonly apiGroup: "namespace.alauda.io";
310
+ };
311
+ readonly AUDIT: {
312
+ readonly apiGroup: "aiops.alauda.io";
313
+ readonly type: "audits";
314
+ };
315
+ readonly CLUSTER_ADDON_TYPE: {
316
+ readonly apiGroup: "platform.tkestack.io";
317
+ readonly type: "clusteraddontypes";
318
+ };
319
+ readonly CLUSTER_CREDENTIAL: {
320
+ readonly apiGroup: "platform.tkestack.io";
321
+ readonly type: "clustercredentials";
322
+ };
323
+ readonly CODING: {
324
+ readonly type: "codings";
325
+ readonly apiGroup: "product.alauda.io";
326
+ readonly apiVersion: "v1";
327
+ };
328
+ readonly LOG_POLICY: {
329
+ readonly apiGroup: "aiops.alauda.io";
330
+ readonly apiVersion: "v1alpha1";
331
+ readonly type: "logpolicies";
332
+ };
333
+ readonly TI_MATRIX: {
334
+ readonly type: "timatrixes";
335
+ readonly apiVersion: "v1alpha1";
336
+ readonly apiGroup: "product.alauda.io";
337
+ };
338
+ readonly SYSTEM_CONFIG: {
339
+ readonly apiGroup: "alauda.io";
340
+ readonly apiVersion: "v1";
341
+ readonly type: "systemconfigs";
342
+ };
343
+ readonly MESSAGE: {
344
+ readonly apiGroup: "ait.alauda.io";
345
+ readonly apiVersion: "v1alpha1";
346
+ readonly type: "messages";
347
+ };
348
+ readonly ALAUDA_PRODUCT: {
349
+ readonly type: "alaudaproducts";
350
+ readonly apiGroup: "portal.alauda.io";
351
+ };
352
+ readonly INSPECTION: {
353
+ readonly type: "inspections";
354
+ readonly apiGroup: "ait.alauda.io";
355
+ readonly apiVersion: "v1alpha1";
356
+ };
357
+ readonly INSPECTION_DETAILS: {
358
+ readonly type: "inspectiondetails";
359
+ readonly apiGroup: "ait.alauda.io";
360
+ readonly apiVersion: "v1alpha1";
361
+ };
362
+ readonly INSPECTION_ITEMS: {
363
+ readonly type: "inspectionitems";
364
+ readonly apiGroup: "ait.alauda.io";
365
+ readonly apiVersion: "v1alpha1";
366
+ };
367
+ readonly MODULE_HEALTH: {
368
+ readonly type: "modulehealths";
369
+ readonly apiGroup: "ait.alauda.io";
370
+ readonly apiVersion: "v1alpha1";
371
+ };
372
+ readonly MODULE_HEALTH_RECORD: {
373
+ readonly type: "modulehealthrecords";
374
+ readonly apiGroup: "ait.alauda.io";
375
+ readonly apiVersion: "v1alpha1";
376
+ };
377
+ readonly USER_SECURITY_POLICY: {
378
+ readonly type: "userpolicies";
379
+ readonly apiGroup: "security.alauda.io";
380
+ readonly apiVersion: "v1alpha1";
381
+ };
382
+ readonly PROBE: {
383
+ readonly type: "probes";
384
+ readonly apiVersion: "v1";
385
+ readonly apiGroup: "monitoring.coreos.com";
386
+ };
387
+ readonly COMPONENT_PROBER: {
388
+ readonly type: "componentprobers";
389
+ readonly apiGroup: "ait.alauda.io";
390
+ readonly apiVersion: "v1alpha1";
391
+ };
392
+ readonly FUNCTION_TEST: {
393
+ readonly type: "functiontests";
394
+ readonly apiGroup: "testing.alauda.io";
395
+ readonly apiVersion: "v1alpha1";
396
+ };
397
+ readonly CERTIFICATE: {
398
+ readonly type: "certificates";
399
+ readonly apiGroup: "cert-manager.io";
400
+ };
401
+ readonly ACCESS_TOKEN_INFO: {
402
+ readonly apiGroup: "auth.alauda.io";
403
+ readonly type: "accesstokeninfoes";
404
+ };
405
+ readonly SECURITY_RULE: {
406
+ readonly type: "securityrules";
407
+ readonly apiGroup: "ait.alauda.io";
408
+ readonly apiVersion: "v1alpha1";
409
+ };
410
+ readonly REGION: {
411
+ readonly apiGroup: "infrastructure.alauda.io";
412
+ readonly apiVersion: "v1alpha1";
413
+ readonly type: "regions";
414
+ };
415
+ readonly TOPOLVM_CLUSTER_V2: {
416
+ readonly type: "topolvmclusters";
417
+ readonly apiGroup: "topolvm.cybozu.com";
418
+ readonly apiVersion: "v2";
419
+ };
420
+ readonly MODULE_CONFIG: {
421
+ readonly apiGroup: "cluster.alauda.io";
422
+ readonly apiVersion: "v1alpha1";
423
+ readonly type: "moduleconfigs";
424
+ };
425
+ readonly MODULE_PLUGIN: {
426
+ readonly apiGroup: "cluster.alauda.io";
427
+ readonly apiVersion: "v1alpha1";
428
+ readonly type: "moduleplugins";
429
+ };
430
+ readonly BUCKET: {
431
+ readonly apiGroup: "objectstorage.k8s.io";
432
+ readonly apiVersion: "v1alpha1";
433
+ readonly type: "buckets";
434
+ };
435
+ readonly PROJECT_BINDING: {
436
+ readonly type: "projectbindings";
437
+ readonly apiGroup: "auth.alauda.io";
438
+ };
439
+ readonly RESOURCE_PATCH: {
440
+ readonly apiGroup: "operator.alauda.io";
441
+ readonly apiVersion: "v1alpha1";
442
+ readonly type: "resourcepatches";
443
+ };
444
+ readonly SCHEDULE: {
445
+ readonly apiGroup: "velero.io";
446
+ readonly type: "schedules";
447
+ };
448
+ readonly BACKUP_STORAGE_LOCATION: {
449
+ readonly apiGroup: "velero.io";
450
+ readonly type: "backupstoragelocations";
451
+ };
452
+ readonly BACKUP_STORAGE_LOCATION_REPO: {
453
+ readonly apiGroup: "ait.velero.io";
454
+ readonly type: "backupstoragelocationrepoes";
455
+ };
456
+ readonly BACKUP: {
457
+ readonly apiGroup: "velero.io";
458
+ readonly type: "backups";
459
+ };
460
+ readonly DELETE_BACKUP_REQUEST: {
461
+ readonly apiGroup: "velero.io";
462
+ readonly type: "deletebackuprequests";
463
+ };
464
+ readonly ETCD_BACKUP_RECORD: {
465
+ readonly apiGroup: "etcdbackup.alauda.io";
466
+ readonly apiVersion: "v1alpha1";
467
+ readonly type: "etcdbackuprecords";
468
+ };
469
+ readonly RESTORE: {
470
+ readonly apiGroup: "velero.io";
471
+ readonly apiVersion: "v1";
472
+ readonly type: "restores";
473
+ };
474
+ readonly RAW_DEVICE: {
475
+ readonly apiGroup: "nativestor.alauda.io";
476
+ readonly type: "rawdevices";
477
+ };
478
+ readonly APP_RELEASES: {
479
+ readonly apiGroup: "operator.alauda.io";
480
+ readonly apiVersion: "v1alpha1";
481
+ readonly type: "appreleases";
482
+ };
483
+ readonly NOTIFICATION_TEMPLATE: {
484
+ readonly apiGroup: "ait.alauda.io";
485
+ readonly apiVersion: "v1beta1";
486
+ readonly type: "notificationtemplates";
487
+ };
488
+ readonly NOTIFICATION_GROUP: {
489
+ readonly apiGroup: "ait.alauda.io";
490
+ readonly apiVersion: "v1beta1";
491
+ readonly type: "notificationgroups";
492
+ };
493
+ readonly NOTIFICATION: {
494
+ readonly apiGroup: "ait.alauda.io";
495
+ readonly apiVersion: "v1beta1";
496
+ readonly type: "notifications";
497
+ };
498
+ readonly TUNNEL_CLUSTER: {
499
+ readonly type: "tunnelclusters";
500
+ readonly apiVersion: "v1beta1";
501
+ readonly apiGroup: "infrastructure.cluster.x-k8s.io";
502
+ };
503
+ readonly K8S_CLUSTER: {
504
+ readonly type: "clusters";
505
+ readonly apiGroup: "cluster.x-k8s.io";
506
+ readonly apiVersion: "v1beta1";
507
+ };
508
+ readonly SUBNET_KUBE_OVN: {
509
+ readonly type: "subnets";
510
+ readonly apiGroup: "kubeovn.io";
511
+ };
512
+ readonly SUBNET_KUBE_OVN_IP: {
513
+ readonly type: "ips";
514
+ readonly apiGroup: "kubeovn.io";
515
+ };
516
+ readonly L2_ADVERTISEMENT: {
517
+ readonly apiGroup: "metallb.io";
518
+ readonly apiVersion: "v1beta1";
519
+ readonly type: "l2advertisements";
520
+ };
521
+ readonly IP_POOL: {
522
+ readonly apiGroup: "metallb.io";
523
+ readonly apiVersion: "v1beta1";
524
+ readonly type: "ipaddresspools";
525
+ };
526
+ readonly BGP_PEER: {
527
+ readonly apiGroup: "metallb.io";
528
+ readonly apiVersion: "v1beta2";
529
+ readonly type: "bgppeers";
530
+ };
531
+ readonly BGP_ADVERTISEMENT: {
532
+ readonly apiGroup: "metallb.io";
533
+ readonly apiVersion: "v1beta1";
534
+ readonly type: "bgpadvertisements";
535
+ };
536
+ readonly INTER_CONNECTION_SUBNET: {
537
+ readonly type: "interconnectionsubnets";
538
+ readonly apiGroup: "kubeovn.io";
539
+ };
540
+ readonly DATA_VOLUME: {
541
+ readonly apiGroup: "cdi.kubevirt.io";
542
+ readonly apiVersion: "v1beta1";
543
+ readonly type: "datavolumes";
544
+ };
545
+ readonly VM_SNAPSHOT: {
546
+ readonly apiGroup: "snapshot.kubevirt.io";
547
+ readonly apiVersion: "v1alpha1";
548
+ readonly type: "virtualmachinesnapshots";
549
+ };
550
+ readonly VM_RESTORE: {
551
+ readonly apiGroup: "snapshot.kubevirt.io";
552
+ readonly apiVersion: "v1alpha1";
553
+ readonly type: "virtualmachinerestores";
554
+ };
555
+ readonly VM_IMAGE: {
556
+ readonly apiGroup: "virtualization.alauda.io";
557
+ readonly type: "virtualmachineimagetemplates";
558
+ };
559
+ readonly LIVE_MIGRATION: {
560
+ readonly apiGroup: "kubevirt.io";
561
+ readonly type: "virtualmachineinstancemigrations";
562
+ readonly apiVersion: "v1";
563
+ };
564
+ readonly VIRTUAL_MACHINE: {
565
+ readonly apiGroup: "kubevirt.io";
566
+ readonly type: "virtualmachines";
567
+ readonly apiVersion: "v1";
568
+ };
569
+ readonly VIRTUAL_MACHINE_INSTANCE: {
570
+ readonly apiGroup: "kubevirt.io";
571
+ readonly type: "virtualmachineinstances";
572
+ readonly apiVersion: "v1";
573
+ };
574
+ readonly VIRTUAL_MACHINE_POOL: {
575
+ readonly apiGroup: "pool.kubevirt.io";
576
+ readonly type: "virtualmachinepools";
577
+ readonly apiVersion: "v1alpha1";
578
+ };
579
+ readonly VOLUME_SNAPSHOT: {
580
+ readonly type: "volumesnapshots";
581
+ readonly apiGroup: "snapshot.storage.k8s.io";
582
+ readonly apiVersion: "v1";
583
+ };
584
+ readonly ALAUDA_LOADBALANCER2: {
585
+ readonly apiGroup: string;
586
+ readonly type: string;
587
+ };
588
+ readonly ALB2: {
589
+ readonly apiGroup: string;
590
+ readonly apiVersion: string;
591
+ readonly type: string;
592
+ };
593
+ readonly HELM_REQUEST: {
594
+ readonly type: string;
595
+ readonly apiGroup: string;
596
+ readonly apiVersion: string;
597
+ };
598
+ readonly HELM_REQUEST_V1: {
599
+ readonly type: string;
600
+ readonly apiGroup: string;
601
+ readonly apiVersion: string;
602
+ };
603
+ readonly DEPLOYMENT: {
604
+ readonly apiGroup: string;
605
+ readonly type: string;
606
+ };
607
+ readonly DAEMONSET: {
608
+ readonly apiGroup: string;
609
+ readonly type: string;
610
+ };
611
+ readonly STATEFULSET: {
612
+ readonly apiGroup: string;
613
+ readonly type: string;
614
+ };
615
+ readonly FRONTEND: {
616
+ readonly apiGroup: string;
617
+ readonly type: string;
618
+ };
619
+ readonly RULE: {
620
+ readonly apiGroup: string;
621
+ readonly type: string;
622
+ };
623
+ readonly POD: {
624
+ readonly type: string;
625
+ };
626
+ readonly PODS_EXEC: {
627
+ readonly type: string;
628
+ };
629
+ readonly PODS_ROOT_EXEC: {
630
+ readonly type: string;
631
+ };
632
+ readonly CONFIG_MAP: {
633
+ readonly type: string;
634
+ };
635
+ readonly ALERT_TEMPLATE: {
636
+ readonly apiGroup: string;
637
+ readonly apiVersion: string;
638
+ readonly type: string;
639
+ };
640
+ readonly APPLICATION: {
641
+ readonly apiGroup: string;
642
+ readonly apiVersion: string;
643
+ readonly type: string;
644
+ };
645
+ readonly APPLICATION_HISTORY: {
646
+ readonly apiGroup: string;
647
+ readonly apiVersion: string;
648
+ readonly type: string;
649
+ };
650
+ readonly CLUSTER: {
651
+ readonly apiGroup: string;
652
+ readonly apiVersion: string;
653
+ readonly type: string;
654
+ };
655
+ readonly CLUSTER_VIEW: {
656
+ readonly apiGroup: string;
657
+ readonly apiVersion: string;
658
+ readonly type: string;
659
+ };
660
+ readonly DAEMON_SET: {
661
+ readonly apiGroup: string;
662
+ readonly type: string;
663
+ };
664
+ readonly STATEFUL_SET: {
665
+ readonly apiGroup: string;
666
+ readonly type: string;
667
+ };
668
+ readonly DOMAIN: {
669
+ readonly apiGroup: string;
670
+ readonly apiVersion: string;
671
+ readonly type: string;
672
+ };
673
+ readonly FEATURE: {
674
+ readonly apiGroup: string;
675
+ readonly apiVersion: string;
676
+ readonly type: string;
677
+ };
678
+ readonly ALAUDA_FEATURE_GATE: {
679
+ readonly apiGroup: string;
680
+ readonly apiVersion: string;
681
+ readonly type: string;
682
+ };
683
+ readonly CLUSTER_ALAUDA_FEATURE_GATE: {
684
+ readonly apiGroup: string;
685
+ readonly apiVersion: string;
686
+ readonly type: string;
687
+ };
688
+ readonly HORIZONTAL_POD_AUTOSCALER: {
689
+ readonly apiGroup: string;
690
+ readonly apiVersion: string;
691
+ readonly type: string;
692
+ };
693
+ readonly LOG: {
694
+ readonly apiGroup: string;
695
+ readonly apiVersion: string;
696
+ readonly type: string;
697
+ };
698
+ readonly PROJECT: {
699
+ readonly apiGroup: string;
700
+ readonly type: string;
701
+ };
702
+ readonly PROMETHEUS_RULE: {
703
+ readonly apiGroup: string;
704
+ readonly apiVersion: string;
705
+ readonly type: string;
706
+ };
707
+ readonly ALERT_HISTORY: {
708
+ readonly apiGroup: string;
709
+ readonly type: string;
710
+ };
711
+ readonly SELF_SUBJECT_ACCESS_REVIEW: {
712
+ readonly apiGroup: string;
713
+ readonly type: string;
714
+ };
715
+ readonly VIEW: {
716
+ readonly apiGroup: string;
717
+ readonly type: string;
718
+ };
719
+ readonly SERVICE: {
720
+ readonly type: string;
721
+ };
722
+ readonly LIMIT_RANGE: {
723
+ readonly type: string;
724
+ };
725
+ readonly SECRET: {
726
+ readonly type: string;
727
+ };
728
+ readonly PRODUCT: {
729
+ readonly type: string;
730
+ readonly apiGroup: string;
731
+ readonly apiVersion: string;
732
+ };
733
+ readonly CRON_JOB: {
734
+ readonly apiGroup: string;
735
+ readonly apiVersion: string;
736
+ readonly type: string;
737
+ };
738
+ readonly ADVANCED_CRON_JOB: {
739
+ readonly type: string;
740
+ readonly apiGroup: string;
741
+ readonly apiVersion: string;
742
+ };
743
+ readonly JOB: {
744
+ readonly apiGroup: string;
745
+ readonly type: string;
746
+ };
747
+ readonly INGRESS: {
748
+ readonly apiGroup: string;
749
+ readonly type: string;
750
+ };
751
+ readonly PERSISTENT_VOLUME_CLAIM: {
752
+ readonly type: string;
753
+ };
754
+ readonly NAMESPACE: {
755
+ readonly type: string;
756
+ };
757
+ readonly NODE: {
758
+ readonly type: string;
759
+ };
760
+ readonly NODE_METRICS: {
761
+ readonly apiGroup: string;
762
+ readonly apiVersion: string;
763
+ readonly type: string;
764
+ };
765
+ readonly PV: {
766
+ readonly type: string;
767
+ };
768
+ readonly CRD: {
769
+ readonly apiGroup: string;
770
+ readonly type: string;
771
+ };
772
+ readonly CHART_REPO: {
773
+ readonly type: string;
774
+ readonly apiGroup: string;
775
+ readonly apiVersion: string;
776
+ };
777
+ readonly CHART: {
778
+ readonly type: string;
779
+ readonly apiGroup: string;
780
+ readonly apiVersion: string;
781
+ };
782
+ readonly NETWORK_POLICY: {
783
+ readonly apiGroup: string;
784
+ readonly type: string;
785
+ };
786
+ readonly SERVICE_ACCOUNT: {
787
+ readonly type: string;
788
+ };
789
+ readonly REPLICA_SET: {
790
+ readonly apiGroup: string;
791
+ readonly type: string;
792
+ };
793
+ readonly POD_SECURITY_POLICY: {
794
+ readonly apiGroup: string;
795
+ readonly apiVersion: string;
796
+ readonly type: string;
797
+ };
798
+ readonly NAMESPACE_OVERVIEW: {
799
+ readonly apiGroup: string;
800
+ readonly type: string;
801
+ };
802
+ readonly CSP: {
803
+ readonly apiGroup: string;
804
+ readonly type: string;
805
+ };
806
+ readonly RESOURCE_QUOTA: {
807
+ readonly type: string;
808
+ };
809
+ readonly CLUSTER_NETWORK_POLICY: {
810
+ readonly apiGroup: string;
811
+ readonly type: string;
812
+ };
813
+ readonly PROJECT_QUOTA: {
814
+ readonly apiGroup: string;
815
+ readonly apiVersion: string;
816
+ readonly type: string;
817
+ };
818
+ readonly TKE_CLUSTER: {
819
+ readonly apiGroup: string;
820
+ readonly type: string;
821
+ };
822
+ readonly TKE_MACHINE: {
823
+ readonly apiGroup: string;
824
+ readonly type: string;
825
+ };
826
+ readonly MACHINE: {
827
+ readonly apiGroup: string;
828
+ readonly apiVersion: string;
829
+ readonly type: string;
830
+ };
831
+ readonly NODE_GROUP: {
832
+ readonly apiGroup: string;
833
+ readonly apiVersion: string;
834
+ readonly type: string;
835
+ };
836
+ readonly CLUSTERSERVICEVERSION: {
837
+ readonly apiGroup: string;
838
+ readonly apiVersion: string;
839
+ readonly type: string;
840
+ };
841
+ readonly TENANT: {
842
+ readonly apiGroup: string;
843
+ readonly apiVersion: string;
844
+ readonly type: string;
845
+ };
846
+ readonly SUBSCRIPTION: {
847
+ readonly apiGroup: string;
848
+ readonly apiVersion: string;
849
+ readonly type: string;
850
+ };
851
+ readonly PACKAGE_MANIFEST: {
852
+ readonly apiGroup: string;
853
+ readonly apiVersion: string;
854
+ readonly type: string;
855
+ };
856
+ readonly BUCKET_CLASS: {
857
+ readonly apiGroup: string;
858
+ readonly apiVersion: string;
859
+ readonly type: string;
860
+ };
861
+ readonly PRODUCT_CONFIG: {
862
+ readonly type: string;
863
+ readonly apiGroup: string;
864
+ readonly apiVersion: string;
865
+ };
866
+ readonly STORAGE_CLASS: {
867
+ readonly type: string;
868
+ readonly apiGroup: string;
869
+ };
870
+ readonly VOLUME_SNAPSHOT_CLASS: {
871
+ readonly type: string;
872
+ readonly apiGroup: string;
873
+ readonly apiVersion: string;
874
+ };
875
+ readonly PRODUCT_BASE: {
876
+ readonly type: string;
877
+ readonly apiGroup: string;
878
+ readonly apiVersion: string;
879
+ };
880
+ readonly MODULE_INFO: {
881
+ readonly type: string;
882
+ readonly apiVersion: string;
883
+ readonly apiGroup: string;
884
+ };
885
+ readonly PRODUCT_ENTRY: {
886
+ readonly type: string;
887
+ readonly apiGroup: string;
888
+ readonly apiVersion: string;
889
+ };
890
+ readonly PRODUCT_DOCS_ENTRY: {
891
+ readonly type: string;
892
+ readonly apiGroup: string;
893
+ readonly apiVersion: string;
894
+ };
895
+ readonly SERVICEMESH_GROUP: {
896
+ readonly apiGroup: string;
897
+ readonly apiVersion: string;
898
+ readonly type: string;
899
+ };
900
+ readonly CLUSTER_MODULE: {
901
+ readonly type: string;
902
+ readonly apiVersion: string;
903
+ readonly apiGroup: string;
904
+ };
905
+ readonly USER_BINDING: {
906
+ readonly type: string;
907
+ readonly apiGroup: string;
908
+ readonly apiVersion: string;
909
+ };
910
+ readonly BATCH_ACTION: {
911
+ readonly apiGroup: string;
912
+ readonly apiVersion: string;
913
+ readonly type: string;
914
+ };
915
+ readonly EVENT: {
916
+ readonly type: string;
917
+ readonly apiVersion: string;
918
+ };
919
+ readonly SERVICE_MONITOR: {
920
+ readonly apiGroup: string;
921
+ readonly type: string;
922
+ readonly apiVersion: string;
923
+ };
924
+ readonly OAM_APPLICATION: {
925
+ readonly apiGroup: string;
926
+ readonly apiVersion: string;
927
+ readonly type: string;
928
+ };
929
+ readonly ARGOCD_APPLICATION_SET: {
930
+ readonly apiGroup: string;
931
+ readonly apiVersion: string;
932
+ readonly type: string;
933
+ };
934
+ readonly ARGOCD_APPLICATION: {
935
+ readonly apiGroup: string;
936
+ readonly apiVersion: string;
937
+ readonly type: string;
938
+ };
939
+ };
940
+ export declare const RESOURCE_TYPES: {
941
+ readonly VERTICAL_POD_AUTOSCALER: "VERTICAL_POD_AUTOSCALER";
942
+ readonly POD_AUTOSCALER: "POD_AUTOSCALER";
943
+ readonly ROUTE: "ROUTE";
944
+ readonly ADDON: "ADDON";
945
+ readonly INSTALLPLAN: "INSTALLPLAN";
946
+ readonly CEPH_CLUSTER: "CEPH_CLUSTER";
947
+ readonly CEPH_FILE_SYSTEM: "CEPH_FILE_SYSTEM";
948
+ readonly ARTIFACT: "ARTIFACT";
949
+ readonly TDSQL_INSTANCE: "TDSQL_INSTANCE";
950
+ readonly TDSQL_INSTANCE_BINDING: "TDSQL_INSTANCE_BINDING";
951
+ readonly TDSQL_ACCOUNTS: "TDSQL_ACCOUNTS";
952
+ readonly TDSQL_INSTANCE_SET: "TDSQL_INSTANCE_SET";
953
+ readonly CEPH_BLOCK_POOL: "CEPH_BLOCK_POOL";
954
+ readonly CSI_DRIVER: "CSI_DRIVER";
955
+ readonly EPHEMERAL_CONTAINERS: "EPHEMERAL_CONTAINERS";
956
+ readonly APP_CONFIG: "APP_CONFIG";
957
+ readonly CEPH_OBJECT_STORE: "CEPH_OBJECT_STORE";
958
+ readonly TOPOLVM_CLUSTER: "TOPOLVM_CLUSTER";
959
+ readonly VLAN: "VLAN";
960
+ readonly PROVIDER_NETWORK: "PROVIDER_NETWORK";
961
+ readonly PRODUCT_UPGRADE: "PRODUCT_UPGRADE";
962
+ readonly INGRESS_CLASS: "INGRESS_CLASS";
963
+ readonly INGRESS_V1BEAT1: "INGRESS_V1BEAT1";
964
+ readonly NAMESPACE_AUDIT: "NAMESPACE_AUDIT";
965
+ readonly OAM_APP_STATUS: "OAM_APP_STATUS";
966
+ readonly OAM_COMPONENT_DEFINITION: "OAM_COMPONENT_DEFINITION";
967
+ readonly OAM_TRAIT_DEFINITION: "OAM_TRAIT_DEFINITION";
968
+ readonly OAM_APP_REVISION: "OAM_APP_REVISION";
969
+ readonly ALAUDA_BUCKET_REQUEST: "ALAUDA_BUCKET_REQUEST";
970
+ readonly BUCKET_ACCESS_CLASS: "BUCKET_ACCESS_CLASS";
971
+ readonly BUCKET_ACCESS_REQUEST: "BUCKET_ACCESS_REQUEST";
972
+ readonly GATEWAY_CLASS: "GATEWAY_CLASS";
973
+ readonly GATEWAY: "GATEWAY";
974
+ readonly HTTP_ROUTE: "HTTP_ROUTE";
975
+ readonly TCP_ROUTE: "TCP_ROUTE";
976
+ readonly UDP_ROUTE: "UDP_ROUTE";
977
+ readonly ALAUDA_ARTIFACT: "ALAUDA_ARTIFACT";
978
+ readonly ALAUDA_ARTIFACT_VERSION: "ALAUDA_ARTIFACT_VERSION";
979
+ readonly ARTIFACT_UPLOAD_PROCESSOR: "ARTIFACT_UPLOAD_PROCESSOR";
980
+ readonly GIT_COMMIT: "GIT_COMMIT";
981
+ readonly GITOPS_IGNORE_DIFFERENCE: "GITOPS_IGNORE_DIFFERENCE";
982
+ readonly GATEKEEPER_CONSTRAINTS: "GATEKEEPER_CONSTRAINTS";
983
+ readonly ARTIFACT_APP: "ARTIFACT_APP";
984
+ readonly ARTIFACT_VERSION: "ARTIFACT_VERSION";
985
+ readonly APP_PACKAGE_MANIFEST: "APP_PACKAGE_MANIFEST";
986
+ readonly MINIO_PEER: "MINIO_PEER";
987
+ readonly GITOPS_APPLICATIONS: "GITOPS_APPLICATIONS";
988
+ readonly GIT_BUILD: "GIT_BUILD";
989
+ readonly GIT_BUILD_RUN: "GIT_BUILD_RUN";
990
+ readonly GIT_BUILDER_IMAGE_CATEGORY: "GIT_BUILDER_IMAGE_CATEGORY";
991
+ readonly PROJECT_MEMBER: "PROJECT_MEMBER";
992
+ readonly USER: "USER";
993
+ readonly GROUP: "GROUP";
994
+ readonly NAMESPACE_RESOURCE_RATIO: "NAMESPACE_RESOURCE_RATIO";
995
+ readonly CUSTOM_RESOURCE_DEFINITION: "CUSTOM_RESOURCE_DEFINITION";
996
+ readonly CONNECTOR: "CONNECTOR";
997
+ readonly ROLE_TEMPLATE: "ROLE_TEMPLATE";
998
+ readonly FUNCTION_RESOURCE: "FUNCTION_RESOURCE";
999
+ readonly LICENSE: "LICENSE";
1000
+ readonly REPORT: "REPORT";
1001
+ readonly RECORD: "RECORD";
1002
+ readonly CSI_NODE: "CSI_NODE";
1003
+ readonly TSF: "TSF";
1004
+ readonly TDSQL: "TDSQL";
1005
+ readonly PORTAL: "PORTAL";
1006
+ readonly NAMESPACE_IMPORT: "NAMESPACE_IMPORT";
1007
+ readonly AUDIT: "AUDIT";
1008
+ readonly CLUSTER_ADDON_TYPE: "CLUSTER_ADDON_TYPE";
1009
+ readonly CLUSTER_CREDENTIAL: "CLUSTER_CREDENTIAL";
1010
+ readonly CODING: "CODING";
1011
+ readonly LOG_POLICY: "LOG_POLICY";
1012
+ readonly TI_MATRIX: "TI_MATRIX";
1013
+ readonly SYSTEM_CONFIG: "SYSTEM_CONFIG";
1014
+ readonly MESSAGE: "MESSAGE";
1015
+ readonly ALAUDA_PRODUCT: "ALAUDA_PRODUCT";
1016
+ readonly INSPECTION: "INSPECTION";
1017
+ readonly INSPECTION_DETAILS: "INSPECTION_DETAILS";
1018
+ readonly INSPECTION_ITEMS: "INSPECTION_ITEMS";
1019
+ readonly MODULE_HEALTH: "MODULE_HEALTH";
1020
+ readonly MODULE_HEALTH_RECORD: "MODULE_HEALTH_RECORD";
1021
+ readonly USER_SECURITY_POLICY: "USER_SECURITY_POLICY";
1022
+ readonly PROBE: "PROBE";
1023
+ readonly COMPONENT_PROBER: "COMPONENT_PROBER";
1024
+ readonly FUNCTION_TEST: "FUNCTION_TEST";
1025
+ readonly CERTIFICATE: "CERTIFICATE";
1026
+ readonly ACCESS_TOKEN_INFO: "ACCESS_TOKEN_INFO";
1027
+ readonly SECURITY_RULE: "SECURITY_RULE";
1028
+ readonly REGION: "REGION";
1029
+ readonly TOPOLVM_CLUSTER_V2: "TOPOLVM_CLUSTER_V2";
1030
+ readonly MODULE_CONFIG: "MODULE_CONFIG";
1031
+ readonly MODULE_PLUGIN: "MODULE_PLUGIN";
1032
+ readonly BUCKET: "BUCKET";
1033
+ readonly PROJECT_BINDING: "PROJECT_BINDING";
1034
+ readonly RESOURCE_PATCH: "RESOURCE_PATCH";
1035
+ readonly SCHEDULE: "SCHEDULE";
1036
+ readonly BACKUP_STORAGE_LOCATION: "BACKUP_STORAGE_LOCATION";
1037
+ readonly BACKUP_STORAGE_LOCATION_REPO: "BACKUP_STORAGE_LOCATION_REPO";
1038
+ readonly BACKUP: "BACKUP";
1039
+ readonly DELETE_BACKUP_REQUEST: "DELETE_BACKUP_REQUEST";
1040
+ readonly ETCD_BACKUP_RECORD: "ETCD_BACKUP_RECORD";
1041
+ readonly RESTORE: "RESTORE";
1042
+ readonly RAW_DEVICE: "RAW_DEVICE";
1043
+ readonly APP_RELEASES: "APP_RELEASES";
1044
+ readonly NOTIFICATION_TEMPLATE: "NOTIFICATION_TEMPLATE";
1045
+ readonly NOTIFICATION_GROUP: "NOTIFICATION_GROUP";
1046
+ readonly NOTIFICATION: "NOTIFICATION";
1047
+ readonly TUNNEL_CLUSTER: "TUNNEL_CLUSTER";
1048
+ readonly K8S_CLUSTER: "K8S_CLUSTER";
1049
+ readonly SUBNET_KUBE_OVN: "SUBNET_KUBE_OVN";
1050
+ readonly SUBNET_KUBE_OVN_IP: "SUBNET_KUBE_OVN_IP";
1051
+ readonly L2_ADVERTISEMENT: "L2_ADVERTISEMENT";
1052
+ readonly IP_POOL: "IP_POOL";
1053
+ readonly BGP_PEER: "BGP_PEER";
1054
+ readonly BGP_ADVERTISEMENT: "BGP_ADVERTISEMENT";
1055
+ readonly INTER_CONNECTION_SUBNET: "INTER_CONNECTION_SUBNET";
1056
+ readonly DATA_VOLUME: "DATA_VOLUME";
1057
+ readonly VM_SNAPSHOT: "VM_SNAPSHOT";
1058
+ readonly VM_RESTORE: "VM_RESTORE";
1059
+ readonly VM_IMAGE: "VM_IMAGE";
1060
+ readonly LIVE_MIGRATION: "LIVE_MIGRATION";
1061
+ readonly VIRTUAL_MACHINE: "VIRTUAL_MACHINE";
1062
+ readonly VIRTUAL_MACHINE_INSTANCE: "VIRTUAL_MACHINE_INSTANCE";
1063
+ readonly VIRTUAL_MACHINE_POOL: "VIRTUAL_MACHINE_POOL";
1064
+ readonly VOLUME_SNAPSHOT: "VOLUME_SNAPSHOT";
1065
+ readonly ALAUDA_LOADBALANCER2: "ALAUDA_LOADBALANCER2";
1066
+ readonly ALB2: "ALB2";
1067
+ readonly HELM_REQUEST: "HELM_REQUEST";
1068
+ readonly HELM_REQUEST_V1: "HELM_REQUEST_V1";
1069
+ readonly DEPLOYMENT: "DEPLOYMENT";
1070
+ readonly DAEMONSET: "DAEMONSET";
1071
+ readonly STATEFULSET: "STATEFULSET";
1072
+ readonly FRONTEND: "FRONTEND";
1073
+ readonly RULE: "RULE";
1074
+ readonly POD: "POD";
1075
+ readonly PODS_EXEC: "PODS_EXEC";
1076
+ readonly PODS_ROOT_EXEC: "PODS_ROOT_EXEC";
1077
+ readonly CONFIG_MAP: "CONFIG_MAP";
1078
+ readonly ALERT_TEMPLATE: "ALERT_TEMPLATE";
1079
+ readonly APPLICATION: "APPLICATION";
1080
+ readonly APPLICATION_HISTORY: "APPLICATION_HISTORY";
1081
+ readonly CLUSTER: "CLUSTER";
1082
+ readonly CLUSTER_VIEW: "CLUSTER_VIEW";
1083
+ readonly DAEMON_SET: "DAEMON_SET";
1084
+ readonly STATEFUL_SET: "STATEFUL_SET";
1085
+ readonly DOMAIN: "DOMAIN";
1086
+ readonly FEATURE: "FEATURE";
1087
+ readonly ALAUDA_FEATURE_GATE: "ALAUDA_FEATURE_GATE";
1088
+ readonly CLUSTER_ALAUDA_FEATURE_GATE: "CLUSTER_ALAUDA_FEATURE_GATE";
1089
+ readonly HORIZONTAL_POD_AUTOSCALER: "HORIZONTAL_POD_AUTOSCALER";
1090
+ readonly LOG: "LOG";
1091
+ readonly PROJECT: "PROJECT";
1092
+ readonly PROMETHEUS_RULE: "PROMETHEUS_RULE";
1093
+ readonly ALERT_HISTORY: "ALERT_HISTORY";
1094
+ readonly SELF_SUBJECT_ACCESS_REVIEW: "SELF_SUBJECT_ACCESS_REVIEW";
1095
+ readonly VIEW: "VIEW";
1096
+ readonly SERVICE: "SERVICE";
1097
+ readonly LIMIT_RANGE: "LIMIT_RANGE";
1098
+ readonly SECRET: "SECRET";
1099
+ readonly PRODUCT: "PRODUCT";
1100
+ readonly CRON_JOB: "CRON_JOB";
1101
+ readonly ADVANCED_CRON_JOB: "ADVANCED_CRON_JOB";
1102
+ readonly JOB: "JOB";
1103
+ readonly INGRESS: "INGRESS";
1104
+ readonly PERSISTENT_VOLUME_CLAIM: "PERSISTENT_VOLUME_CLAIM";
1105
+ readonly NAMESPACE: "NAMESPACE";
1106
+ readonly NODE: "NODE";
1107
+ readonly NODE_METRICS: "NODE_METRICS";
1108
+ readonly PV: "PV";
1109
+ readonly CRD: "CRD";
1110
+ readonly CHART_REPO: "CHART_REPO";
1111
+ readonly CHART: "CHART";
1112
+ readonly NETWORK_POLICY: "NETWORK_POLICY";
1113
+ readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
1114
+ readonly REPLICA_SET: "REPLICA_SET";
1115
+ readonly POD_SECURITY_POLICY: "POD_SECURITY_POLICY";
1116
+ readonly NAMESPACE_OVERVIEW: "NAMESPACE_OVERVIEW";
1117
+ readonly CSP: "CSP";
1118
+ readonly RESOURCE_QUOTA: "RESOURCE_QUOTA";
1119
+ readonly CLUSTER_NETWORK_POLICY: "CLUSTER_NETWORK_POLICY";
1120
+ readonly PROJECT_QUOTA: "PROJECT_QUOTA";
1121
+ readonly TKE_CLUSTER: "TKE_CLUSTER";
1122
+ readonly TKE_MACHINE: "TKE_MACHINE";
1123
+ readonly MACHINE: "MACHINE";
1124
+ readonly NODE_GROUP: "NODE_GROUP";
1125
+ readonly CLUSTERSERVICEVERSION: "CLUSTERSERVICEVERSION";
1126
+ readonly TENANT: "TENANT";
1127
+ readonly SUBSCRIPTION: "SUBSCRIPTION";
1128
+ readonly PACKAGE_MANIFEST: "PACKAGE_MANIFEST";
1129
+ readonly BUCKET_CLASS: "BUCKET_CLASS";
1130
+ readonly PRODUCT_CONFIG: "PRODUCT_CONFIG";
1131
+ readonly STORAGE_CLASS: "STORAGE_CLASS";
1132
+ readonly VOLUME_SNAPSHOT_CLASS: "VOLUME_SNAPSHOT_CLASS";
1133
+ readonly PRODUCT_BASE: "PRODUCT_BASE";
1134
+ readonly MODULE_INFO: "MODULE_INFO";
1135
+ readonly PRODUCT_ENTRY: "PRODUCT_ENTRY";
1136
+ readonly PRODUCT_DOCS_ENTRY: "PRODUCT_DOCS_ENTRY";
1137
+ readonly SERVICEMESH_GROUP: "SERVICEMESH_GROUP";
1138
+ readonly CLUSTER_MODULE: "CLUSTER_MODULE";
1139
+ readonly USER_BINDING: "USER_BINDING";
1140
+ readonly BATCH_ACTION: "BATCH_ACTION";
1141
+ readonly EVENT: "EVENT";
1142
+ readonly SERVICE_MONITOR: "SERVICE_MONITOR";
1143
+ readonly OAM_APPLICATION: "OAM_APPLICATION";
1144
+ readonly ARGOCD_APPLICATION_SET: "ARGOCD_APPLICATION_SET";
1145
+ readonly ARGOCD_APPLICATION: "ARGOCD_APPLICATION";
1146
+ };
1147
+ export declare const getYamlApiVersion: (definition: {
1148
+ readonly apiGroup: "autoscaling.k8s.io";
1149
+ readonly apiVersion: "v1";
1150
+ readonly type: "VerticalPodAutoscaler";
1151
+ } | {
1152
+ readonly apiGroup: "autoscaling.k8s.io";
1153
+ readonly apiVersion: "v1";
1154
+ readonly type: "PodAutoscaler";
1155
+ } | {
1156
+ readonly type: "routes";
1157
+ readonly apiGroup: "route.openshift.io";
1158
+ } | {
1159
+ readonly apiGroup: "platform.tkestack.io";
1160
+ readonly type: "addons";
1161
+ } | {
1162
+ readonly apiGroup: "operators.coreos.com";
1163
+ readonly apiVersion: "v1alpha1";
1164
+ readonly type: "installplans";
1165
+ } | {
1166
+ readonly apiGroup: "ceph.rook.io";
1167
+ readonly apiVersion: "v1";
1168
+ readonly type: "cephclusters";
1169
+ } | {
1170
+ readonly apiGroup: "ceph.rook.io";
1171
+ readonly apiVersion: "v1";
1172
+ readonly type: "cephfilesystems";
1173
+ } | {
1174
+ readonly apiGroup: "meta.katanomi.dev";
1175
+ readonly apiVersion: "v1alpha1";
1176
+ readonly type: "artifacts";
1177
+ } | {
1178
+ readonly type: "instances";
1179
+ readonly apiVersion: "v1alpha1";
1180
+ readonly apiGroup: "tdsql.alauda.io";
1181
+ } | {
1182
+ readonly type: "instancebindings";
1183
+ readonly apiVersion: "v1alpha1";
1184
+ readonly apiGroup: "tdsql.alauda.io";
1185
+ } | {
1186
+ readonly type: "accounts";
1187
+ readonly apiVersion: "v1alpha1";
1188
+ readonly apiGroup: "tdsql.alauda.io";
1189
+ } | {
1190
+ readonly type: "requests";
1191
+ readonly apiVersion: "v1alpha1";
1192
+ readonly apiGroup: "tdsql.alauda.io";
1193
+ } | {
1194
+ readonly apiGroup: "ceph.rook.io";
1195
+ readonly type: "cephblockpools";
1196
+ } | {
1197
+ readonly apiGroup: "storage.k8s.io";
1198
+ readonly type: "csidrivers";
1199
+ } | {
1200
+ readonly type: "ephemeralcontainers";
1201
+ } | {
1202
+ readonly apiGroup: "asm.alauda.io";
1203
+ readonly apiVersion: "v1alpha1";
1204
+ readonly type: "appconfigs";
1205
+ } | {
1206
+ readonly apiGroup: "ceph.rook.io";
1207
+ readonly type: "cephobjectstores";
1208
+ } | {
1209
+ readonly type: "topolvmclusters";
1210
+ readonly apiGroup: "topolvm.cybozu.com";
1211
+ readonly apiVersion: "v1";
1212
+ } | {
1213
+ readonly type: "vlans";
1214
+ readonly apiGroup: "kubeovn.io";
1215
+ } | {
1216
+ readonly type: "provider-networks";
1217
+ readonly apiGroup: "kubeovn.io";
1218
+ } | {
1219
+ readonly type: "productupgrades";
1220
+ readonly apiGroup: "product.alauda.io";
1221
+ readonly apiVersion: "v1alpha1";
1222
+ } | {
1223
+ readonly apiGroup: "networking.k8s.io";
1224
+ readonly type: "ingressclasses";
1225
+ } | {
1226
+ readonly apiGroup: "networking.k8s.io";
1227
+ readonly type: "ingresses";
1228
+ readonly apiVersion: "v1beta1";
1229
+ } | {
1230
+ readonly apiGroup: "aiops.alauda.io";
1231
+ readonly type: "namespaceaudits";
1232
+ } | {
1233
+ readonly apiGroup: "oam.alauda.io";
1234
+ readonly apiVersion: "v1alpha1";
1235
+ readonly type: "appstatuses";
1236
+ } | {
1237
+ readonly apiGroup: "core.oam.dev";
1238
+ readonly apiVersion: "v1beta1";
1239
+ readonly type: "componentdefinitions";
1240
+ } | {
1241
+ readonly apiGroup: "core.oam.dev";
1242
+ readonly apiVersion: "v1beta1";
1243
+ readonly type: "traitdefinitions";
1244
+ } | {
1245
+ readonly apiGroup: "core.oam.dev";
1246
+ readonly apiVersion: "v1beta1";
1247
+ readonly type: "applicationrevisions";
1248
+ } | {
1249
+ readonly apiGroup: "cosi.alauda.io";
1250
+ readonly apiVersion: "v1alpha1";
1251
+ readonly type: "alaudabucketrequests";
1252
+ } | {
1253
+ readonly apiGroup: "objectstorage.k8s.io";
1254
+ readonly apiVersion: "v1alpha1";
1255
+ readonly type: "bucketaccessclasses";
1256
+ } | {
1257
+ readonly apiGroup: "objectstorage.k8s.io";
1258
+ readonly apiVersion: "v1alpha1";
1259
+ readonly type: "bucketaccessrequests";
1260
+ } | {
1261
+ readonly apiGroup: "gateway.networking.k8s.io";
1262
+ readonly apiVersion: "v1beta1";
1263
+ readonly type: "gatewayclasses";
1264
+ } | {
1265
+ readonly apiGroup: "gateway.networking.k8s.io";
1266
+ readonly apiVersion: "v1beta1";
1267
+ readonly type: "gateways";
1268
+ } | {
1269
+ readonly apiGroup: "gateway.networking.k8s.io";
1270
+ readonly apiVersion: "v1beta1";
1271
+ readonly type: "httproutes";
1272
+ } | {
1273
+ readonly apiGroup: "gateway.networking.k8s.io";
1274
+ readonly apiVersion: "v1alpha2";
1275
+ readonly type: "tcproutes";
1276
+ } | {
1277
+ readonly apiGroup: "gateway.networking.k8s.io";
1278
+ readonly apiVersion: "v1alpha2";
1279
+ readonly type: "udproutes";
1280
+ } | {
1281
+ readonly apiGroup: "app.alauda.io";
1282
+ readonly apiVersion: "v1alpha1";
1283
+ readonly type: "artifacts";
1284
+ } | {
1285
+ readonly apiGroup: "app.alauda.io";
1286
+ readonly apiVersion: "v1alpha1";
1287
+ readonly type: "artifactversions";
1288
+ } | {
1289
+ readonly apiGroup: "app.alauda.io";
1290
+ readonly apiVersion: "v1";
1291
+ readonly type: "artifactuploadprocessors";
1292
+ } | {
1293
+ readonly apiGroup: "gitops.app.alauda.io";
1294
+ readonly apiVersion: "v1alpha1";
1295
+ readonly type: "applications/commit";
1296
+ } | {
1297
+ readonly apiGroup: "gitops.app.alauda.io";
1298
+ readonly apiVersion: "v1alpha1";
1299
+ readonly type: "gitopsignoredifferences";
1300
+ } | {
1301
+ readonly apiGroup: "gatekeeper.alauda.io";
1302
+ readonly apiVersion: "v1alpha1";
1303
+ readonly type: "constraints";
1304
+ } | {
1305
+ readonly apiGroup: "app.alauda.io";
1306
+ readonly type: "artifacts";
1307
+ readonly apiVersion: "v1alpha1";
1308
+ } | {
1309
+ readonly apiGroup: "app.alauda.io";
1310
+ readonly type: "artifactversions";
1311
+ readonly apiVersion: "v1alpha1";
1312
+ } | {
1313
+ readonly apiGroup: "app.alauda.io";
1314
+ readonly type: "packagemanifests";
1315
+ readonly apiVersion: "v1alpha1";
1316
+ } | {
1317
+ readonly apiGroup: "minio.min.io";
1318
+ readonly apiVersion: "v1alpha1";
1319
+ readonly type: "miniopeers";
1320
+ } | {
1321
+ readonly apiGroup: "gitops.app.alauda.io";
1322
+ readonly type: "applications";
1323
+ } | {
1324
+ readonly apiGroup: "build.alauda.io";
1325
+ readonly apiVersion: "v1alpha1";
1326
+ readonly type: "builds";
1327
+ } | {
1328
+ readonly apiGroup: "build.alauda.io";
1329
+ readonly apiVersion: "v1alpha1";
1330
+ readonly type: "buildruns";
1331
+ } | {
1332
+ readonly apiGroup: "build.alauda.io";
1333
+ readonly apiVersion: "v1alpha1";
1334
+ readonly type: "builderimagecategories";
1335
+ } | {
1336
+ readonly type: "projectmembers";
1337
+ readonly apiGroup: "auth.alauda.io";
1338
+ } | {
1339
+ readonly type: "users";
1340
+ readonly apiGroup: "auth.alauda.io";
1341
+ } | {
1342
+ readonly type: "groups";
1343
+ readonly apiGroup: "auth.alauda.io";
1344
+ } | {
1345
+ readonly type: "namespaceresourceratios";
1346
+ readonly apiGroup: "resource.alauda.io";
1347
+ } | {
1348
+ readonly type: "customresourcedefinitions";
1349
+ readonly apiGroup: "apiextensions.k8s.io";
1350
+ readonly apiVersion: "v1beta1";
1351
+ } | {
1352
+ readonly type: "connectors";
1353
+ readonly apiGroup: "dex.coreos.com";
1354
+ } | {
1355
+ readonly type: "roletemplates";
1356
+ readonly apiGroup: "auth.alauda.io";
1357
+ readonly apiVersion: "v1beta1";
1358
+ } | {
1359
+ readonly type: "functionresources";
1360
+ readonly apiGroup: "auth.alauda.io";
1361
+ readonly apiVersion: "v1beta1";
1362
+ } | {
1363
+ readonly type: "secrets";
1364
+ } | {
1365
+ readonly type: "reports";
1366
+ readonly apiGroup: "metering.alauda.io";
1367
+ readonly apiVersion: "v1beta1";
1368
+ } | {
1369
+ readonly type: "records";
1370
+ readonly apiGroup: "metering.alauda.io";
1371
+ readonly apiVersion: "v1beta1";
1372
+ } | {
1373
+ readonly apiGroup: "storage.k8s.io";
1374
+ readonly type: "csinodes";
1375
+ } | {
1376
+ readonly type: "tsfproducts";
1377
+ readonly apiGroup: "product.alauda.io";
1378
+ readonly apiVersion: "v1beta1";
1379
+ } | {
1380
+ readonly type: "tdsqldeploys";
1381
+ readonly apiVersion: "v1alpha1";
1382
+ readonly apiGroup: "product.alauda.io";
1383
+ } | {
1384
+ readonly type: "*";
1385
+ readonly apiGroup: "product.alauda.io";
1386
+ } | {
1387
+ readonly type: "namespace-import";
1388
+ readonly apiGroup: "namespace.alauda.io";
1389
+ } | {
1390
+ readonly apiGroup: "aiops.alauda.io";
1391
+ readonly type: "audits";
1392
+ } | {
1393
+ readonly apiGroup: "platform.tkestack.io";
1394
+ readonly type: "clusteraddontypes";
1395
+ } | {
1396
+ readonly apiGroup: "platform.tkestack.io";
1397
+ readonly type: "clustercredentials";
1398
+ } | {
1399
+ readonly type: "codings";
1400
+ readonly apiGroup: "product.alauda.io";
1401
+ readonly apiVersion: "v1";
1402
+ } | {
1403
+ readonly apiGroup: "aiops.alauda.io";
1404
+ readonly apiVersion: "v1alpha1";
1405
+ readonly type: "logpolicies";
1406
+ } | {
1407
+ readonly type: "timatrixes";
1408
+ readonly apiVersion: "v1alpha1";
1409
+ readonly apiGroup: "product.alauda.io";
1410
+ } | {
1411
+ readonly apiGroup: "alauda.io";
1412
+ readonly apiVersion: "v1";
1413
+ readonly type: "systemconfigs";
1414
+ } | {
1415
+ readonly apiGroup: "ait.alauda.io";
1416
+ readonly apiVersion: "v1alpha1";
1417
+ readonly type: "messages";
1418
+ } | {
1419
+ readonly type: "alaudaproducts";
1420
+ readonly apiGroup: "portal.alauda.io";
1421
+ } | {
1422
+ readonly type: "inspections";
1423
+ readonly apiGroup: "ait.alauda.io";
1424
+ readonly apiVersion: "v1alpha1";
1425
+ } | {
1426
+ readonly type: "inspectiondetails";
1427
+ readonly apiGroup: "ait.alauda.io";
1428
+ readonly apiVersion: "v1alpha1";
1429
+ } | {
1430
+ readonly type: "inspectionitems";
1431
+ readonly apiGroup: "ait.alauda.io";
1432
+ readonly apiVersion: "v1alpha1";
1433
+ } | {
1434
+ readonly type: "modulehealths";
1435
+ readonly apiGroup: "ait.alauda.io";
1436
+ readonly apiVersion: "v1alpha1";
1437
+ } | {
1438
+ readonly type: "modulehealthrecords";
1439
+ readonly apiGroup: "ait.alauda.io";
1440
+ readonly apiVersion: "v1alpha1";
1441
+ } | {
1442
+ readonly type: "userpolicies";
1443
+ readonly apiGroup: "security.alauda.io";
1444
+ readonly apiVersion: "v1alpha1";
1445
+ } | {
1446
+ readonly type: "probes";
1447
+ readonly apiVersion: "v1";
1448
+ readonly apiGroup: "monitoring.coreos.com";
1449
+ } | {
1450
+ readonly type: "componentprobers";
1451
+ readonly apiGroup: "ait.alauda.io";
1452
+ readonly apiVersion: "v1alpha1";
1453
+ } | {
1454
+ readonly type: "functiontests";
1455
+ readonly apiGroup: "testing.alauda.io";
1456
+ readonly apiVersion: "v1alpha1";
1457
+ } | {
1458
+ readonly type: "certificates";
1459
+ readonly apiGroup: "cert-manager.io";
1460
+ } | {
1461
+ readonly apiGroup: "auth.alauda.io";
1462
+ readonly type: "accesstokeninfoes";
1463
+ } | {
1464
+ readonly type: "securityrules";
1465
+ readonly apiGroup: "ait.alauda.io";
1466
+ readonly apiVersion: "v1alpha1";
1467
+ } | {
1468
+ readonly apiGroup: "infrastructure.alauda.io";
1469
+ readonly apiVersion: "v1alpha1";
1470
+ readonly type: "regions";
1471
+ } | {
1472
+ readonly type: "topolvmclusters";
1473
+ readonly apiGroup: "topolvm.cybozu.com";
1474
+ readonly apiVersion: "v2";
1475
+ } | {
1476
+ readonly apiGroup: "cluster.alauda.io";
1477
+ readonly apiVersion: "v1alpha1";
1478
+ readonly type: "moduleconfigs";
1479
+ } | {
1480
+ readonly apiGroup: "cluster.alauda.io";
1481
+ readonly apiVersion: "v1alpha1";
1482
+ readonly type: "moduleplugins";
1483
+ } | {
1484
+ readonly apiGroup: "objectstorage.k8s.io";
1485
+ readonly apiVersion: "v1alpha1";
1486
+ readonly type: "buckets";
1487
+ } | {
1488
+ readonly type: "projectbindings";
1489
+ readonly apiGroup: "auth.alauda.io";
1490
+ } | {
1491
+ readonly apiGroup: "operator.alauda.io";
1492
+ readonly apiVersion: "v1alpha1";
1493
+ readonly type: "resourcepatches";
1494
+ } | {
1495
+ readonly apiGroup: "velero.io";
1496
+ readonly type: "schedules";
1497
+ } | {
1498
+ readonly apiGroup: "velero.io";
1499
+ readonly type: "backupstoragelocations";
1500
+ } | {
1501
+ readonly apiGroup: "ait.velero.io";
1502
+ readonly type: "backupstoragelocationrepoes";
1503
+ } | {
1504
+ readonly apiGroup: "velero.io";
1505
+ readonly type: "backups";
1506
+ } | {
1507
+ readonly apiGroup: "velero.io";
1508
+ readonly type: "deletebackuprequests";
1509
+ } | {
1510
+ readonly apiGroup: "etcdbackup.alauda.io";
1511
+ readonly apiVersion: "v1alpha1";
1512
+ readonly type: "etcdbackuprecords";
1513
+ } | {
1514
+ readonly apiGroup: "velero.io";
1515
+ readonly apiVersion: "v1";
1516
+ readonly type: "restores";
1517
+ } | {
1518
+ readonly apiGroup: "nativestor.alauda.io";
1519
+ readonly type: "rawdevices";
1520
+ } | {
1521
+ readonly apiGroup: "operator.alauda.io";
1522
+ readonly apiVersion: "v1alpha1";
1523
+ readonly type: "appreleases";
1524
+ } | {
1525
+ readonly apiGroup: "ait.alauda.io";
1526
+ readonly apiVersion: "v1beta1";
1527
+ readonly type: "notificationtemplates";
1528
+ } | {
1529
+ readonly apiGroup: "ait.alauda.io";
1530
+ readonly apiVersion: "v1beta1";
1531
+ readonly type: "notificationgroups";
1532
+ } | {
1533
+ readonly apiGroup: "ait.alauda.io";
1534
+ readonly apiVersion: "v1beta1";
1535
+ readonly type: "notifications";
1536
+ } | {
1537
+ readonly type: "tunnelclusters";
1538
+ readonly apiVersion: "v1beta1";
1539
+ readonly apiGroup: "infrastructure.cluster.x-k8s.io";
1540
+ } | {
1541
+ readonly type: "clusters";
1542
+ readonly apiGroup: "cluster.x-k8s.io";
1543
+ readonly apiVersion: "v1beta1";
1544
+ } | {
1545
+ readonly apiGroup: string;
1546
+ readonly type: string;
1547
+ } | {
1548
+ readonly apiGroup: string;
1549
+ readonly apiVersion: string;
1550
+ readonly type: string;
1551
+ } | {
1552
+ readonly type: string;
1553
+ readonly apiGroup: string;
1554
+ readonly apiVersion: string;
1555
+ } | {
1556
+ readonly type: string;
1557
+ readonly apiGroup: string;
1558
+ readonly apiVersion: string;
1559
+ } | {
1560
+ readonly apiGroup: string;
1561
+ readonly type: string;
1562
+ } | {
1563
+ readonly apiGroup: string;
1564
+ readonly type: string;
1565
+ } | {
1566
+ readonly apiGroup: string;
1567
+ readonly type: string;
1568
+ } | {
1569
+ readonly apiGroup: string;
1570
+ readonly type: string;
1571
+ } | {
1572
+ readonly apiGroup: string;
1573
+ readonly type: string;
1574
+ } | {
1575
+ readonly type: string;
1576
+ } | {
1577
+ readonly type: string;
1578
+ } | {
1579
+ readonly type: string;
1580
+ } | {
1581
+ readonly type: string;
1582
+ } | {
1583
+ readonly apiGroup: string;
1584
+ readonly apiVersion: string;
1585
+ readonly type: string;
1586
+ } | {
1587
+ readonly apiGroup: string;
1588
+ readonly apiVersion: string;
1589
+ readonly type: string;
1590
+ } | {
1591
+ readonly apiGroup: string;
1592
+ readonly apiVersion: string;
1593
+ readonly type: string;
1594
+ } | {
1595
+ readonly apiGroup: string;
1596
+ readonly apiVersion: string;
1597
+ readonly type: string;
1598
+ } | {
1599
+ readonly apiGroup: string;
1600
+ readonly apiVersion: string;
1601
+ readonly type: string;
1602
+ } | {
1603
+ readonly apiGroup: string;
1604
+ readonly type: string;
1605
+ } | {
1606
+ readonly apiGroup: string;
1607
+ readonly type: string;
1608
+ } | {
1609
+ readonly apiGroup: string;
1610
+ readonly apiVersion: string;
1611
+ readonly type: string;
1612
+ } | {
1613
+ readonly apiGroup: string;
1614
+ readonly apiVersion: string;
1615
+ readonly type: string;
1616
+ } | {
1617
+ readonly apiGroup: string;
1618
+ readonly apiVersion: string;
1619
+ readonly type: string;
1620
+ } | {
1621
+ readonly apiGroup: string;
1622
+ readonly apiVersion: string;
1623
+ readonly type: string;
1624
+ } | {
1625
+ readonly apiGroup: string;
1626
+ readonly apiVersion: string;
1627
+ readonly type: string;
1628
+ } | {
1629
+ readonly apiGroup: string;
1630
+ readonly apiVersion: string;
1631
+ readonly type: string;
1632
+ } | {
1633
+ readonly apiGroup: string;
1634
+ readonly type: string;
1635
+ } | {
1636
+ readonly apiGroup: string;
1637
+ readonly apiVersion: string;
1638
+ readonly type: string;
1639
+ } | {
1640
+ readonly apiGroup: string;
1641
+ readonly type: string;
1642
+ } | {
1643
+ readonly apiGroup: string;
1644
+ readonly type: string;
1645
+ } | {
1646
+ readonly apiGroup: string;
1647
+ readonly type: string;
1648
+ } | {
1649
+ readonly type: string;
1650
+ } | {
1651
+ readonly type: string;
1652
+ } | {
1653
+ readonly type: string;
1654
+ } | {
1655
+ readonly type: string;
1656
+ readonly apiGroup: string;
1657
+ readonly apiVersion: string;
1658
+ } | {
1659
+ readonly apiGroup: string;
1660
+ readonly apiVersion: string;
1661
+ readonly type: string;
1662
+ } | {
1663
+ readonly type: string;
1664
+ readonly apiGroup: string;
1665
+ readonly apiVersion: string;
1666
+ } | {
1667
+ readonly apiGroup: string;
1668
+ readonly type: string;
1669
+ } | {
1670
+ readonly apiGroup: string;
1671
+ readonly type: string;
1672
+ } | {
1673
+ readonly type: string;
1674
+ } | {
1675
+ readonly type: string;
1676
+ } | {
1677
+ readonly type: string;
1678
+ } | {
1679
+ readonly apiGroup: string;
1680
+ readonly apiVersion: string;
1681
+ readonly type: string;
1682
+ } | {
1683
+ readonly type: string;
1684
+ } | {
1685
+ readonly apiGroup: string;
1686
+ readonly type: string;
1687
+ } | {
1688
+ readonly type: string;
1689
+ readonly apiGroup: string;
1690
+ readonly apiVersion: string;
1691
+ } | {
1692
+ readonly type: string;
1693
+ readonly apiGroup: string;
1694
+ readonly apiVersion: string;
1695
+ } | {
1696
+ readonly apiGroup: string;
1697
+ readonly type: string;
1698
+ } | {
1699
+ readonly type: string;
1700
+ } | {
1701
+ readonly apiGroup: string;
1702
+ readonly type: string;
1703
+ } | {
1704
+ readonly apiGroup: string;
1705
+ readonly apiVersion: string;
1706
+ readonly type: string;
1707
+ } | {
1708
+ readonly apiGroup: string;
1709
+ readonly type: string;
1710
+ } | {
1711
+ readonly apiGroup: string;
1712
+ readonly type: string;
1713
+ } | {
1714
+ readonly type: string;
1715
+ } | {
1716
+ readonly apiGroup: string;
1717
+ readonly type: string;
1718
+ } | {
1719
+ readonly apiGroup: string;
1720
+ readonly apiVersion: string;
1721
+ readonly type: string;
1722
+ } | {
1723
+ readonly apiGroup: string;
1724
+ readonly type: string;
1725
+ } | {
1726
+ readonly apiGroup: string;
1727
+ readonly type: string;
1728
+ } | {
1729
+ readonly apiGroup: string;
1730
+ readonly apiVersion: string;
1731
+ readonly type: string;
1732
+ } | {
1733
+ readonly apiGroup: string;
1734
+ readonly apiVersion: string;
1735
+ readonly type: string;
1736
+ } | {
1737
+ readonly apiGroup: string;
1738
+ readonly apiVersion: string;
1739
+ readonly type: string;
1740
+ } | {
1741
+ readonly apiGroup: string;
1742
+ readonly apiVersion: string;
1743
+ readonly type: string;
1744
+ } | {
1745
+ readonly apiGroup: string;
1746
+ readonly apiVersion: string;
1747
+ readonly type: string;
1748
+ } | {
1749
+ readonly apiGroup: string;
1750
+ readonly apiVersion: string;
1751
+ readonly type: string;
1752
+ } | {
1753
+ readonly apiGroup: string;
1754
+ readonly apiVersion: string;
1755
+ readonly type: string;
1756
+ } | {
1757
+ readonly type: string;
1758
+ readonly apiGroup: string;
1759
+ readonly apiVersion: string;
1760
+ } | {
1761
+ readonly type: string;
1762
+ readonly apiGroup: string;
1763
+ } | {
1764
+ readonly type: string;
1765
+ readonly apiGroup: string;
1766
+ readonly apiVersion: string;
1767
+ } | {
1768
+ readonly type: string;
1769
+ readonly apiGroup: string;
1770
+ readonly apiVersion: string;
1771
+ } | {
1772
+ readonly type: string;
1773
+ readonly apiVersion: string;
1774
+ readonly apiGroup: string;
1775
+ } | {
1776
+ readonly type: string;
1777
+ readonly apiGroup: string;
1778
+ readonly apiVersion: string;
1779
+ } | {
1780
+ readonly type: string;
1781
+ readonly apiGroup: string;
1782
+ readonly apiVersion: string;
1783
+ } | {
1784
+ readonly apiGroup: string;
1785
+ readonly apiVersion: string;
1786
+ readonly type: string;
1787
+ } | {
1788
+ readonly type: string;
1789
+ readonly apiVersion: string;
1790
+ readonly apiGroup: string;
1791
+ } | {
1792
+ readonly type: string;
1793
+ readonly apiGroup: string;
1794
+ readonly apiVersion: string;
1795
+ } | {
1796
+ readonly apiGroup: string;
1797
+ readonly apiVersion: string;
1798
+ readonly type: string;
1799
+ } | {
1800
+ readonly type: string;
1801
+ readonly apiVersion: string;
1802
+ } | {
1803
+ readonly apiGroup: string;
1804
+ readonly type: string;
1805
+ readonly apiVersion: string;
1806
+ } | {
1807
+ readonly apiGroup: string;
1808
+ readonly apiVersion: string;
1809
+ readonly type: string;
1810
+ } | {
1811
+ readonly apiGroup: string;
1812
+ readonly apiVersion: string;
1813
+ readonly type: string;
1814
+ } | {
1815
+ readonly apiGroup: string;
1816
+ readonly apiVersion: string;
1817
+ readonly type: string;
1818
+ } | {
1819
+ readonly type: "volumesnapshots";
1820
+ readonly apiGroup: "snapshot.storage.k8s.io";
1821
+ readonly apiVersion: "v1";
1822
+ } | {
1823
+ readonly apiGroup: "cdi.kubevirt.io";
1824
+ readonly apiVersion: "v1beta1";
1825
+ readonly type: "datavolumes";
1826
+ } | {
1827
+ readonly apiGroup: "snapshot.kubevirt.io";
1828
+ readonly apiVersion: "v1alpha1";
1829
+ readonly type: "virtualmachinesnapshots";
1830
+ } | {
1831
+ readonly apiGroup: "snapshot.kubevirt.io";
1832
+ readonly apiVersion: "v1alpha1";
1833
+ readonly type: "virtualmachinerestores";
1834
+ } | {
1835
+ readonly apiGroup: "virtualization.alauda.io";
1836
+ readonly type: "virtualmachineimagetemplates";
1837
+ } | {
1838
+ readonly apiGroup: "kubevirt.io";
1839
+ readonly type: "virtualmachineinstancemigrations";
1840
+ readonly apiVersion: "v1";
1841
+ } | {
1842
+ readonly apiGroup: "kubevirt.io";
1843
+ readonly type: "virtualmachines";
1844
+ readonly apiVersion: "v1";
1845
+ } | {
1846
+ readonly apiGroup: "kubevirt.io";
1847
+ readonly type: "virtualmachineinstances";
1848
+ readonly apiVersion: "v1";
1849
+ } | {
1850
+ readonly apiGroup: "pool.kubevirt.io";
1851
+ readonly type: "virtualmachinepools";
1852
+ readonly apiVersion: "v1alpha1";
1853
+ } | {
1854
+ readonly type: "subnets";
1855
+ readonly apiGroup: "kubeovn.io";
1856
+ } | {
1857
+ readonly type: "ips";
1858
+ readonly apiGroup: "kubeovn.io";
1859
+ } | {
1860
+ readonly apiGroup: "metallb.io";
1861
+ readonly apiVersion: "v1beta1";
1862
+ readonly type: "l2advertisements";
1863
+ } | {
1864
+ readonly apiGroup: "metallb.io";
1865
+ readonly apiVersion: "v1beta1";
1866
+ readonly type: "ipaddresspools";
1867
+ } | {
1868
+ readonly apiGroup: "metallb.io";
1869
+ readonly apiVersion: "v1beta2";
1870
+ readonly type: "bgppeers";
1871
+ } | {
1872
+ readonly apiGroup: "metallb.io";
1873
+ readonly apiVersion: "v1beta1";
1874
+ readonly type: "bgpadvertisements";
1875
+ } | {
1876
+ readonly type: "interconnectionsubnets";
1877
+ readonly apiGroup: "kubeovn.io";
1878
+ } | "VERTICAL_POD_AUTOSCALER" | "POD_AUTOSCALER" | "ROUTE" | "ADDON" | "INSTALLPLAN" | "CEPH_CLUSTER" | "CEPH_FILE_SYSTEM" | "ARTIFACT" | "TDSQL_INSTANCE" | "TDSQL_INSTANCE_BINDING" | "TDSQL_ACCOUNTS" | "TDSQL_INSTANCE_SET" | "CEPH_BLOCK_POOL" | "CSI_DRIVER" | "EPHEMERAL_CONTAINERS" | "APP_CONFIG" | "CEPH_OBJECT_STORE" | "TOPOLVM_CLUSTER" | "VLAN" | "PROVIDER_NETWORK" | "PRODUCT_UPGRADE" | "INGRESS_CLASS" | "INGRESS_V1BEAT1" | "NAMESPACE_AUDIT" | "OAM_APP_STATUS" | "OAM_COMPONENT_DEFINITION" | "OAM_TRAIT_DEFINITION" | "OAM_APP_REVISION" | "ALAUDA_BUCKET_REQUEST" | "BUCKET_ACCESS_CLASS" | "BUCKET_ACCESS_REQUEST" | "GATEWAY_CLASS" | "GATEWAY" | "HTTP_ROUTE" | "TCP_ROUTE" | "UDP_ROUTE" | "ALAUDA_ARTIFACT" | "ALAUDA_ARTIFACT_VERSION" | "ARTIFACT_UPLOAD_PROCESSOR" | "GIT_COMMIT" | "GITOPS_IGNORE_DIFFERENCE" | "GATEKEEPER_CONSTRAINTS" | "ARTIFACT_APP" | "ARTIFACT_VERSION" | "APP_PACKAGE_MANIFEST" | "MINIO_PEER" | "GITOPS_APPLICATIONS" | "GIT_BUILD" | "GIT_BUILD_RUN" | "GIT_BUILDER_IMAGE_CATEGORY" | "PROJECT_MEMBER" | "USER" | "GROUP" | "NAMESPACE_RESOURCE_RATIO" | "CUSTOM_RESOURCE_DEFINITION" | "CONNECTOR" | "ROLE_TEMPLATE" | "FUNCTION_RESOURCE" | "LICENSE" | "REPORT" | "RECORD" | "CSI_NODE" | "TSF" | "TDSQL" | "PORTAL" | "NAMESPACE_IMPORT" | "AUDIT" | "CLUSTER_ADDON_TYPE" | "CLUSTER_CREDENTIAL" | "CODING" | "LOG_POLICY" | "TI_MATRIX" | "SYSTEM_CONFIG" | "MESSAGE" | "ALAUDA_PRODUCT" | "INSPECTION" | "INSPECTION_DETAILS" | "INSPECTION_ITEMS" | "MODULE_HEALTH" | "MODULE_HEALTH_RECORD" | "USER_SECURITY_POLICY" | "PROBE" | "COMPONENT_PROBER" | "FUNCTION_TEST" | "CERTIFICATE" | "ACCESS_TOKEN_INFO" | "SECURITY_RULE" | "REGION" | "TOPOLVM_CLUSTER_V2" | "MODULE_CONFIG" | "MODULE_PLUGIN" | "BUCKET" | "PROJECT_BINDING" | "RESOURCE_PATCH" | "SCHEDULE" | "BACKUP_STORAGE_LOCATION" | "BACKUP_STORAGE_LOCATION_REPO" | "BACKUP" | "DELETE_BACKUP_REQUEST" | "ETCD_BACKUP_RECORD" | "RESTORE" | "RAW_DEVICE" | "APP_RELEASES" | "NOTIFICATION_TEMPLATE" | "NOTIFICATION_GROUP" | "NOTIFICATION" | "TUNNEL_CLUSTER" | "K8S_CLUSTER" | "SUBNET_KUBE_OVN" | "SUBNET_KUBE_OVN_IP" | "L2_ADVERTISEMENT" | "IP_POOL" | "BGP_PEER" | "BGP_ADVERTISEMENT" | "INTER_CONNECTION_SUBNET" | "DATA_VOLUME" | "VM_SNAPSHOT" | "VM_RESTORE" | "VM_IMAGE" | "LIVE_MIGRATION" | "VIRTUAL_MACHINE" | "VIRTUAL_MACHINE_INSTANCE" | "VIRTUAL_MACHINE_POOL" | "VOLUME_SNAPSHOT" | "ALAUDA_LOADBALANCER2" | "ALB2" | "HELM_REQUEST" | "HELM_REQUEST_V1" | "DEPLOYMENT" | "DAEMONSET" | "STATEFULSET" | "FRONTEND" | "RULE" | "POD" | "PODS_EXEC" | "PODS_ROOT_EXEC" | "CONFIG_MAP" | "ALERT_TEMPLATE" | "APPLICATION" | "APPLICATION_HISTORY" | "CLUSTER" | "CLUSTER_VIEW" | "DAEMON_SET" | "STATEFUL_SET" | "DOMAIN" | "FEATURE" | "ALAUDA_FEATURE_GATE" | "CLUSTER_ALAUDA_FEATURE_GATE" | "HORIZONTAL_POD_AUTOSCALER" | "LOG" | "PROJECT" | "PROMETHEUS_RULE" | "ALERT_HISTORY" | "SELF_SUBJECT_ACCESS_REVIEW" | "VIEW" | "SERVICE" | "LIMIT_RANGE" | "SECRET" | "PRODUCT" | "CRON_JOB" | "ADVANCED_CRON_JOB" | "JOB" | "INGRESS" | "PERSISTENT_VOLUME_CLAIM" | "NAMESPACE" | "NODE" | "NODE_METRICS" | "PV" | "CRD" | "CHART_REPO" | "CHART" | "NETWORK_POLICY" | "SERVICE_ACCOUNT" | "REPLICA_SET" | "POD_SECURITY_POLICY" | "NAMESPACE_OVERVIEW" | "CSP" | "RESOURCE_QUOTA" | "CLUSTER_NETWORK_POLICY" | "PROJECT_QUOTA" | "TKE_CLUSTER" | "TKE_MACHINE" | "MACHINE" | "NODE_GROUP" | "CLUSTERSERVICEVERSION" | "TENANT" | "SUBSCRIPTION" | "PACKAGE_MANIFEST" | "BUCKET_CLASS" | "PRODUCT_CONFIG" | "STORAGE_CLASS" | "VOLUME_SNAPSHOT_CLASS" | "PRODUCT_BASE" | "MODULE_INFO" | "PRODUCT_ENTRY" | "PRODUCT_DOCS_ENTRY" | "SERVICEMESH_GROUP" | "CLUSTER_MODULE" | "USER_BINDING" | "BATCH_ACTION" | "EVENT" | "SERVICE_MONITOR" | "OAM_APPLICATION" | "ARGOCD_APPLICATION_SET" | "ARGOCD_APPLICATION") => string;
1879
+ export type ResourceType = keyof typeof RESOURCE_TYPES;
1880
+ export type WorkloadType = typeof RESOURCE_TYPES.DEPLOYMENT | typeof RESOURCE_TYPES.DAEMON_SET | typeof RESOURCE_TYPES.STATEFUL_SET | typeof RESOURCE_TYPES.CRON_JOB;
1881
+ export declare const ApplicationTypeMeta: TypeMeta;
1882
+ export declare const DeploymentTypeMeta: TypeMeta;
1883
+ export declare const DaemonSetTypeMeta: TypeMeta;
1884
+ export declare const StatefulSetTypeMeta: TypeMeta;
1885
+ export declare const ConfigMapTypeMeta: TypeMeta;
1886
+ export declare const SecretTypeMeta: TypeMeta;
1887
+ export declare const HorizontalPodAutoscalerMeta: TypeMeta;
1888
+ export declare const VerticalPodAutoscalerMeta: TypeMeta;
1889
+ export declare const PodAutoscalerMeta: TypeMeta;
1890
+ export declare const ApplicationHistoryMeta: TypeMeta;
1891
+ export declare const NotificationMeta: TypeMeta;
1892
+ export declare const NotificationTemplateMeta: TypeMeta;
1893
+ export declare const AlertTemplateMeta: TypeMeta;
1894
+ export declare const PrometheusRuleMeta: TypeMeta;
1895
+ export declare const UserBindingMeta: TypeMeta;
1896
+ export declare const TKEClusterMeta: TypeMeta;
1897
+ export declare const ClusterCredentialMeta: TypeMeta;
1898
+ export declare const ClusterAddonTypeMeta: TypeMeta;
1899
+ export declare const VolumeSnapshotMeta: TypeMeta;
1900
+ export declare const MeterReportMeta: TypeMeta;
1901
+ export declare const MeterRecordMeta: TypeMeta;
1902
+ export declare const FeatureMeta: TypeMeta;
1903
+ export declare const ConfigMapMeta: TypeMeta;
1904
+ export declare const MessageMeta: TypeMeta;
1905
+ export declare const InspectionMeta: TypeMeta;
1906
+ export declare const LogPolicyMeta: TypeMeta;
1907
+ export declare const ClusterModuleMeta: TypeMeta;
1908
+ export declare const ProbeMeta: TypeMeta;
1909
+ export declare const RegionMeta: TypeMeta;
1910
+ export declare const BuildMeta: TypeMeta;
1911
+ export declare const BuildRunMeta: TypeMeta;