@intentius/chant-lexicon-k8s 0.34.1 → 0.36.0

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/src/crd/parser.ts CHANGED
@@ -23,6 +23,17 @@ import { loadAll } from "js-yaml";
23
23
  * siblings rather than scattering to Source / Kustomize / Helm / Notification /
24
24
  * Image / Fluxcd. (`helm.toolkit.fluxcd.io` → `Helm` would also collide
25
25
  * confusingly with the separate helm lexicon.)
26
+ *
27
+ * KubeMicroVM's `lambda.aws.amazon.com` would take `Lambda` by the
28
+ * first-segment rule, which reads as AWS Lambda proper and would sit
29
+ * confusingly beside the aws lexicon's real Lambda functions. These are
30
+ * Kubernetes CRs belonging to a community operator, so they take the
31
+ * operator's own name. `MicroVM` alone was the alternative and was rejected
32
+ * for stuttering: `K8s::MicroVM::MicroVM`.
33
+ *
34
+ * Note the official AWS controller uses a different group,
35
+ * `lambdamicrovms.services.k8s.aws`, so it can coexist here and will want its
36
+ * own entry rather than sharing this one.
26
37
  */
27
38
  const GROUP_NAMESPACE_OVERRIDES: Record<string, string> = {
28
39
  "argoproj.io": "Argo",
@@ -32,6 +43,7 @@ const GROUP_NAMESPACE_OVERRIDES: Record<string, string> = {
32
43
  "notification.toolkit.fluxcd.io": "Flux",
33
44
  "image.toolkit.fluxcd.io": "Flux",
34
45
  "fluxcd.controlplane.io": "Flux",
46
+ "lambda.aws.amazon.com": "KubeMicroVM",
35
47
  };
36
48
 
37
49
  /**
@@ -169,8 +181,25 @@ function extractProperties(schema: OpenAPISchema): ParsedProperty[] {
169
181
  const topProps = schema.properties ?? {};
170
182
  const topRequired = new Set<string>(schema.required ?? []);
171
183
 
172
- // Skip apiVersion, kind, status — same pattern as core parser
173
- const skipProps = new Set(["apiVersion", "kind", "status"]);
184
+ // Skip apiVersion, kind, status — same pattern as core parser. `metadata` is
185
+ // skipped here too and re-added below: every custom resource carries the full
186
+ // ObjectMeta whatever its own schema says, and most CRD schemas say nothing.
187
+ const skipProps = new Set(["apiVersion", "kind", "metadata", "status"]);
188
+
189
+ // A CRD's openAPIV3Schema describes what the *controller* reads, so authors
190
+ // routinely declare only `spec` and `status` — the Fabric8 CRDGenerator emits
191
+ // exactly that, and so do most hand-written CRDs. The API server still accepts
192
+ // (and requires) the standard `metadata`, so deriving the constructor surface
193
+ // from the schema alone produced a class with no way to set a name or
194
+ // namespace, and every call site needed an `as any` to get one on. Emit it
195
+ // unconditionally, typed the same as every built-in kind's.
196
+ result.push({
197
+ name: "metadata",
198
+ tsType: "ObjectMeta",
199
+ required: false,
200
+ description: "Standard object's metadata.",
201
+ constraints: {},
202
+ });
174
203
 
175
204
  for (const [name, prop] of Object.entries(topProps)) {
176
205
  if (skipProps.has(name)) continue;
package/src/crd/types.ts CHANGED
@@ -10,11 +10,30 @@
10
10
  */
11
11
  export interface CRDSource {
12
12
  /** How to fetch the CRD */
13
- type: "file" | "url" | "cluster";
13
+ type: "file" | "url" | "cluster" | "helm";
14
14
  /** File path for type="file" */
15
15
  path?: string;
16
16
  /** URL for type="url" */
17
17
  url?: string;
18
+ /**
19
+ * Chart reference for type="helm", e.g.
20
+ * "oci://ghcr.io/codriverlabs/helm/kube-microvm-operator".
21
+ *
22
+ * Exists because operators built with the Java and Go operator SDKs
23
+ * generate their CRDs at build time and ship them only inside the chart —
24
+ * KubeMicroVM commits one of its five and publishes all five. A raw URL
25
+ * cannot reach those, and pulling the chart is cheaper at generation time
26
+ * than standing up a cluster to introspect.
27
+ */
28
+ chart?: string;
29
+ /** Chart version for type="helm". Required: an unpinned source is not auditable. */
30
+ version?: string;
31
+ /**
32
+ * Directory inside the chart holding the CRDs. Defaults to Helm's own
33
+ * convention, "crds". Charts that instead template their CRDs need this
34
+ * pointed at wherever they actually live.
35
+ */
36
+ chartSubdir?: string;
18
37
  /** Kubectl context for type="cluster" */
19
38
  context?: string;
20
39
  /** Namespace to scope the CRD lookup for type="cluster" */
@@ -4,7 +4,8 @@
4
4
 
5
5
  export declare class Alert {
6
6
  constructor(props: {
7
- metadata?: Record<string, unknown>;
7
+ /** Standard object's metadata. */
8
+ metadata?: ObjectMeta;
8
9
  /** AlertSpec defines an alerting rule for events involving a list of objects. */
9
10
  spec?: Record<string, unknown>;
10
11
  });
@@ -89,9 +90,10 @@ export declare class APIVersions {
89
90
 
90
91
  export declare class Application {
91
92
  constructor(props: {
92
- metadata: Record<string, unknown>;
93
93
  /** ApplicationSpec represents desired application state. Contains link to repository with application definition and additional parameters link definition revision. */
94
94
  spec: Record<string, unknown>;
95
+ /** Standard object's metadata. */
96
+ metadata?: ObjectMeta;
95
97
  /** Operation contains information about a requested or running operation */
96
98
  operation?: Record<string, unknown>;
97
99
  });
@@ -103,8 +105,9 @@ export declare class Application {
103
105
 
104
106
  export declare class ApplicationSet {
105
107
  constructor(props: {
106
- metadata: Record<string, unknown>;
107
108
  spec: Record<string, unknown>;
109
+ /** Standard object's metadata. */
110
+ metadata?: ObjectMeta;
108
111
  });
109
112
  readonly name: string;
110
113
  readonly namespace: string;
@@ -114,9 +117,10 @@ export declare class ApplicationSet {
114
117
 
115
118
  export declare class AppProject {
116
119
  constructor(props: {
117
- metadata: Record<string, unknown>;
118
120
  /** AppProjectSpec is the specification of an AppProject */
119
121
  spec: Record<string, unknown>;
122
+ /** Standard object's metadata. */
123
+ metadata?: ObjectMeta;
120
124
  });
121
125
  readonly name: string;
122
126
  readonly namespace: string;
@@ -150,7 +154,8 @@ export declare class Binding {
150
154
 
151
155
  export declare class Bucket {
152
156
  constructor(props: {
153
- metadata?: Record<string, unknown>;
157
+ /** Standard object's metadata. */
158
+ metadata?: ObjectMeta;
154
159
  /** BucketSpec specifies the required configuration to produce an Artifact for
155
160
  an object storage bucket. */
156
161
  spec?: Record<string, unknown>;
@@ -163,7 +168,8 @@ an object storage bucket. */
163
168
 
164
169
  export declare class Certificate {
165
170
  constructor(props: {
166
- metadata?: Record<string, unknown>;
171
+ /** Standard object's metadata. */
172
+ metadata?: ObjectMeta;
167
173
  /** Specification of the desired state of the Certificate resource.
168
174
  https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status */
169
175
  spec?: Record<string, unknown>;
@@ -176,7 +182,8 @@ https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions
176
182
 
177
183
  export declare class CertificateRequest {
178
184
  constructor(props: {
179
- metadata?: Record<string, unknown>;
185
+ /** Standard object's metadata. */
186
+ metadata?: ObjectMeta;
180
187
  /** Specification of the desired state of the CertificateRequest resource.
181
188
  https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status */
182
189
  spec?: Record<string, unknown>;
@@ -211,8 +218,9 @@ export declare class CertificateSigningRequestList {
211
218
 
212
219
  export declare class Challenge {
213
220
  constructor(props: {
214
- metadata: Record<string, unknown>;
215
221
  spec: Record<string, unknown>;
222
+ /** Standard object's metadata. */
223
+ metadata?: ObjectMeta;
216
224
  });
217
225
  readonly name: string;
218
226
  readonly namespace: string;
@@ -224,7 +232,8 @@ export declare class ClusterIssuer {
224
232
  constructor(props: {
225
233
  /** Desired state of the ClusterIssuer resource. */
226
234
  spec: Record<string, unknown>;
227
- metadata?: Record<string, unknown>;
235
+ /** Standard object's metadata. */
236
+ metadata?: ObjectMeta;
228
237
  });
229
238
  readonly name: string;
230
239
  readonly namespace: string;
@@ -416,7 +425,8 @@ export declare class CoreEventList {
416
425
 
417
426
  export declare class CrdbCluster {
418
427
  constructor(props: {
419
- metadata?: Record<string, unknown>;
428
+ /** Standard object's metadata. */
429
+ metadata?: ObjectMeta;
420
430
  /** CrdbClusterSpec defines the desired state of a CockroachDB Cluster that the operator maintains. */
421
431
  spec?: Record<string, unknown>;
422
432
  });
@@ -884,7 +894,8 @@ export declare class FlowSchemaList {
884
894
 
885
895
  export declare class FluxInstance {
886
896
  constructor(props: {
887
- metadata?: Record<string, unknown>;
897
+ /** Standard object's metadata. */
898
+ metadata?: ObjectMeta;
888
899
  /** FluxInstanceSpec defines the desired state of FluxInstance */
889
900
  spec?: Record<string, unknown>;
890
901
  });
@@ -896,7 +907,8 @@ export declare class FluxInstance {
896
907
 
897
908
  export declare class FluxReport {
898
909
  constructor(props: {
899
- metadata?: Record<string, unknown>;
910
+ /** Standard object's metadata. */
911
+ metadata?: ObjectMeta;
900
912
  /** FluxReportSpec defines the observed state of a Flux installation. */
901
913
  spec?: Record<string, unknown>;
902
914
  });
@@ -910,7 +922,8 @@ export declare class Gateway {
910
922
  constructor(props: {
911
923
  /** Spec defines the desired state of Gateway. */
912
924
  spec: Record<string, unknown>;
913
- metadata?: Record<string, unknown>;
925
+ /** Standard object's metadata. */
926
+ metadata?: ObjectMeta;
914
927
  });
915
928
  readonly name: string;
916
929
  readonly namespace: string;
@@ -922,7 +935,8 @@ export declare class GatewayClass {
922
935
  constructor(props: {
923
936
  /** Spec defines the desired state of GatewayClass. */
924
937
  spec: Record<string, unknown>;
925
- metadata?: Record<string, unknown>;
938
+ /** Standard object's metadata. */
939
+ metadata?: ObjectMeta;
926
940
  });
927
941
  readonly name: string;
928
942
  readonly namespace: string;
@@ -932,7 +946,8 @@ export declare class GatewayClass {
932
946
 
933
947
  export declare class GitRepository {
934
948
  constructor(props: {
935
- metadata?: Record<string, unknown>;
949
+ /** Standard object's metadata. */
950
+ metadata?: ObjectMeta;
936
951
  /** GitRepositorySpec specifies the required configuration to produce an
937
952
  Artifact for a Git repository. */
938
953
  spec?: Record<string, unknown>;
@@ -945,7 +960,8 @@ Artifact for a Git repository. */
945
960
 
946
961
  export declare class GRPCRoute {
947
962
  constructor(props: {
948
- metadata?: Record<string, unknown>;
963
+ /** Standard object's metadata. */
964
+ metadata?: ObjectMeta;
949
965
  /** Spec defines the desired state of GRPCRoute. */
950
966
  spec?: Record<string, unknown>;
951
967
  });
@@ -957,7 +973,8 @@ export declare class GRPCRoute {
957
973
 
958
974
  export declare class HelmChart {
959
975
  constructor(props: {
960
- metadata?: Record<string, unknown>;
976
+ /** Standard object's metadata. */
977
+ metadata?: ObjectMeta;
961
978
  /** HelmChartSpec specifies the desired state of a Helm chart. */
962
979
  spec?: Record<string, unknown>;
963
980
  });
@@ -969,7 +986,8 @@ export declare class HelmChart {
969
986
 
970
987
  export declare class HelmRelease {
971
988
  constructor(props: {
972
- metadata?: Record<string, unknown>;
989
+ /** Standard object's metadata. */
990
+ metadata?: ObjectMeta;
973
991
  /** HelmReleaseSpec defines the desired state of a Helm release. */
974
992
  spec?: Record<string, unknown>;
975
993
  });
@@ -981,7 +999,8 @@ export declare class HelmRelease {
981
999
 
982
1000
  export declare class HelmRepository {
983
1001
  constructor(props: {
984
- metadata?: Record<string, unknown>;
1002
+ /** Standard object's metadata. */
1003
+ metadata?: ObjectMeta;
985
1004
  /** HelmRepositorySpec specifies the required configuration to produce an
986
1005
  Artifact for a Helm repository index YAML. */
987
1006
  spec?: Record<string, unknown>;
@@ -1032,7 +1051,8 @@ export declare class HTTPRoute {
1032
1051
  constructor(props: {
1033
1052
  /** Spec defines the desired state of HTTPRoute. */
1034
1053
  spec: Record<string, unknown>;
1035
- metadata?: Record<string, unknown>;
1054
+ /** Standard object's metadata. */
1055
+ metadata?: ObjectMeta;
1036
1056
  });
1037
1057
  readonly name: string;
1038
1058
  readonly namespace: string;
@@ -1042,7 +1062,8 @@ export declare class HTTPRoute {
1042
1062
 
1043
1063
  export declare class ImagePolicy {
1044
1064
  constructor(props: {
1045
- metadata?: Record<string, unknown>;
1065
+ /** Standard object's metadata. */
1066
+ metadata?: ObjectMeta;
1046
1067
  /** ImagePolicySpec defines the parameters for calculating the
1047
1068
  ImagePolicy. */
1048
1069
  spec?: Record<string, unknown>;
@@ -1055,7 +1076,8 @@ ImagePolicy. */
1055
1076
 
1056
1077
  export declare class ImageRepository {
1057
1078
  constructor(props: {
1058
- metadata?: Record<string, unknown>;
1079
+ /** Standard object's metadata. */
1080
+ metadata?: ObjectMeta;
1059
1081
  /** ImageRepositorySpec defines the parameters for scanning an image
1060
1082
  repository, e.g., `fluxcd/flux`. */
1061
1083
  spec?: Record<string, unknown>;
@@ -1068,7 +1090,8 @@ repository, e.g., `fluxcd/flux`. */
1068
1090
 
1069
1091
  export declare class ImageUpdateAutomation {
1070
1092
  constructor(props: {
1071
- metadata?: Record<string, unknown>;
1093
+ /** Standard object's metadata. */
1094
+ metadata?: ObjectMeta;
1072
1095
  /** ImageUpdateAutomationSpec defines the desired state of ImageUpdateAutomation */
1073
1096
  spec?: Record<string, unknown>;
1074
1097
  });
@@ -1166,7 +1189,8 @@ export declare class Issuer {
1166
1189
  constructor(props: {
1167
1190
  /** Desired state of the Issuer resource. */
1168
1191
  spec: Record<string, unknown>;
1169
- metadata?: Record<string, unknown>;
1192
+ /** Standard object's metadata. */
1193
+ metadata?: ObjectMeta;
1170
1194
  });
1171
1195
  readonly name: string;
1172
1196
  readonly namespace: string;
@@ -1200,7 +1224,8 @@ export declare class JobList {
1200
1224
 
1201
1225
  export declare class Kustomization {
1202
1226
  constructor(props: {
1203
- metadata?: Record<string, unknown>;
1227
+ /** Standard object's metadata. */
1228
+ metadata?: ObjectMeta;
1204
1229
  /** KustomizationSpec defines the configuration to calculate the desired state
1205
1230
  from a Source using Kustomize. */
1206
1231
  spec?: Record<string, unknown>;
@@ -1295,6 +1320,65 @@ export declare class LocalSubjectAccessReview {
1295
1320
  readonly uid: string;
1296
1321
  }
1297
1322
 
1323
+ export declare class MicroVM {
1324
+ constructor(props: {
1325
+ /** Standard object's metadata. */
1326
+ metadata?: ObjectMeta;
1327
+ spec?: Record<string, unknown>;
1328
+ });
1329
+ readonly name: string;
1330
+ readonly namespace: string;
1331
+ readonly status: Record<string, unknown>;
1332
+ readonly uid: string;
1333
+ }
1334
+
1335
+ export declare class MicroVMClass {
1336
+ constructor(props: {
1337
+ /** Standard object's metadata. */
1338
+ metadata?: ObjectMeta;
1339
+ spec?: Record<string, unknown>;
1340
+ });
1341
+ readonly name: string;
1342
+ readonly namespace: string;
1343
+ readonly uid: string;
1344
+ }
1345
+
1346
+ export declare class MicroVMImage {
1347
+ constructor(props: {
1348
+ /** Standard object's metadata. */
1349
+ metadata?: ObjectMeta;
1350
+ spec?: Record<string, unknown>;
1351
+ });
1352
+ readonly name: string;
1353
+ readonly namespace: string;
1354
+ readonly status: Record<string, unknown>;
1355
+ readonly uid: string;
1356
+ }
1357
+
1358
+ export declare class MicroVMNetwork {
1359
+ constructor(props: {
1360
+ /** Standard object's metadata. */
1361
+ metadata?: ObjectMeta;
1362
+ spec?: Record<string, unknown>;
1363
+ });
1364
+ readonly name: string;
1365
+ readonly namespace: string;
1366
+ readonly status: Record<string, unknown>;
1367
+ readonly uid: string;
1368
+ }
1369
+
1370
+ export declare class MicroVMReplicaSet {
1371
+ constructor(props: {
1372
+ /** Standard object's metadata. */
1373
+ metadata?: ObjectMeta;
1374
+ spec?: Record<string, unknown>;
1375
+ });
1376
+ readonly name: string;
1377
+ readonly namespace: string;
1378
+ readonly status: Record<string, unknown>;
1379
+ readonly uid: string;
1380
+ }
1381
+
1298
1382
  export declare class MutatingAdmissionPolicy {
1299
1383
  constructor(props: {
1300
1384
  /** metadata is the standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. */
@@ -1465,7 +1549,8 @@ export declare class NS {
1465
1549
 
1466
1550
  export declare class OCIRepository {
1467
1551
  constructor(props: {
1468
- metadata?: Record<string, unknown>;
1552
+ /** Standard object's metadata. */
1553
+ metadata?: ObjectMeta;
1469
1554
  /** OCIRepositorySpec defines the desired state of OCIRepository */
1470
1555
  spec?: Record<string, unknown>;
1471
1556
  });
@@ -1477,8 +1562,9 @@ export declare class OCIRepository {
1477
1562
 
1478
1563
  export declare class Order {
1479
1564
  constructor(props: {
1480
- metadata: Record<string, unknown>;
1481
1565
  spec: Record<string, unknown>;
1566
+ /** Standard object's metadata. */
1567
+ metadata?: ObjectMeta;
1482
1568
  });
1483
1569
  readonly name: string;
1484
1570
  readonly namespace: string;
@@ -1700,7 +1786,8 @@ export declare class PrometheusRule {
1700
1786
  constructor(props: {
1701
1787
  /** Specification of desired alerting rule definitions for Prometheus. */
1702
1788
  spec: Record<string, unknown>;
1703
- metadata?: Record<string, unknown>;
1789
+ /** Standard object's metadata. */
1790
+ metadata?: ObjectMeta;
1704
1791
  });
1705
1792
  readonly name: string;
1706
1793
  readonly namespace: string;
@@ -1709,7 +1796,8 @@ export declare class PrometheusRule {
1709
1796
 
1710
1797
  export declare class Provider {
1711
1798
  constructor(props: {
1712
- metadata?: Record<string, unknown>;
1799
+ /** Standard object's metadata. */
1800
+ metadata?: ObjectMeta;
1713
1801
  /** ProviderSpec defines the desired state of the Provider. */
1714
1802
  spec?: Record<string, unknown>;
1715
1803
  });
@@ -1744,7 +1832,8 @@ export declare class PVC {
1744
1832
 
1745
1833
  export declare class RayCluster {
1746
1834
  constructor(props: {
1747
- metadata?: Record<string, unknown>;
1835
+ /** Standard object's metadata. */
1836
+ metadata?: ObjectMeta;
1748
1837
  spec?: Record<string, unknown>;
1749
1838
  });
1750
1839
  readonly name: string;
@@ -1755,7 +1844,8 @@ export declare class RayCluster {
1755
1844
 
1756
1845
  export declare class RayJob {
1757
1846
  constructor(props: {
1758
- metadata?: Record<string, unknown>;
1847
+ /** Standard object's metadata. */
1848
+ metadata?: ObjectMeta;
1759
1849
  spec?: Record<string, unknown>;
1760
1850
  });
1761
1851
  readonly name: string;
@@ -1766,7 +1856,8 @@ export declare class RayJob {
1766
1856
 
1767
1857
  export declare class RayService {
1768
1858
  constructor(props: {
1769
- metadata?: Record<string, unknown>;
1859
+ /** Standard object's metadata. */
1860
+ metadata?: ObjectMeta;
1770
1861
  spec?: Record<string, unknown>;
1771
1862
  });
1772
1863
  readonly name: string;
@@ -1777,7 +1868,8 @@ export declare class RayService {
1777
1868
 
1778
1869
  export declare class Receiver {
1779
1870
  constructor(props: {
1780
- metadata?: Record<string, unknown>;
1871
+ /** Standard object's metadata. */
1872
+ metadata?: ObjectMeta;
1781
1873
  /** ReceiverSpec defines the desired state of the Receiver. */
1782
1874
  spec?: Record<string, unknown>;
1783
1875
  });
@@ -1789,7 +1881,8 @@ export declare class Receiver {
1789
1881
 
1790
1882
  export declare class ReferenceGrant {
1791
1883
  constructor(props: {
1792
- metadata?: Record<string, unknown>;
1884
+ /** Standard object's metadata. */
1885
+ metadata?: ObjectMeta;
1793
1886
  /** Spec defines the desired state of ReferenceGrant. */
1794
1887
  spec?: Record<string, unknown>;
1795
1888
  });
@@ -1922,7 +2015,8 @@ export declare class ResourceQuotaList {
1922
2015
 
1923
2016
  export declare class ResourceSet {
1924
2017
  constructor(props: {
1925
- metadata?: Record<string, unknown>;
2018
+ /** Standard object's metadata. */
2019
+ metadata?: ObjectMeta;
1926
2020
  /** ResourceSetSpec defines the desired state of ResourceSet */
1927
2021
  spec?: Record<string, unknown>;
1928
2022
  });
@@ -1934,7 +2028,8 @@ export declare class ResourceSet {
1934
2028
 
1935
2029
  export declare class ResourceSetInputProvider {
1936
2030
  constructor(props: {
1937
- metadata?: Record<string, unknown>;
2031
+ /** Standard object's metadata. */
2032
+ metadata?: ObjectMeta;
1938
2033
  /** ResourceSetInputProviderSpec defines the desired state of ResourceSetInputProvider */
1939
2034
  spec?: Record<string, unknown>;
1940
2035
  });
@@ -2240,7 +2335,8 @@ export declare class ServiceMonitor {
2240
2335
  /** Specification of desired Service selection for target discovery by
2241
2336
  Prometheus. */
2242
2337
  spec: Record<string, unknown>;
2243
- metadata?: Record<string, unknown>;
2338
+ /** Standard object's metadata. */
2339
+ metadata?: ObjectMeta;
2244
2340
  });
2245
2341
  readonly name: string;
2246
2342
  readonly namespace: string;
@@ -100,6 +100,11 @@ export const LeaseList = createResource("K8s::Coordination::LeaseList", "k8s", {
100
100
  export const LimitRange = createResource("K8s::Core::LimitRange", "k8s", {"name":"name","namespace":"namespace","uid":"uid"});
101
101
  export const LimitRangeList = createResource("K8s::Core::LimitRangeList", "k8s", {"name":"name","namespace":"namespace","uid":"uid"});
102
102
  export const LocalSubjectAccessReview = createResource("K8s::Authorization::LocalSubjectAccessReview", "k8s", {"name":"name","namespace":"namespace","uid":"uid"});
103
+ export const MicroVM = createResource("K8s::KubeMicroVM::MicroVM", "k8s", {"name":"name","namespace":"namespace","uid":"uid","status":"status"});
104
+ export const MicroVMClass = createResource("K8s::KubeMicroVM::MicroVMClass", "k8s", {"name":"name","namespace":"namespace","uid":"uid"});
105
+ export const MicroVMImage = createResource("K8s::KubeMicroVM::MicroVMImage", "k8s", {"name":"name","namespace":"namespace","uid":"uid","status":"status"});
106
+ export const MicroVMNetwork = createResource("K8s::KubeMicroVM::MicroVMNetwork", "k8s", {"name":"name","namespace":"namespace","uid":"uid","status":"status"});
107
+ export const MicroVMReplicaSet = createResource("K8s::KubeMicroVM::MicroVMReplicaSet", "k8s", {"name":"name","namespace":"namespace","uid":"uid","status":"status"});
103
108
  export const MutatingAdmissionPolicy = createResource("K8s::Admissionregistration::MutatingAdmissionPolicy", "k8s", {"name":"name","namespace":"namespace","uid":"uid"});
104
109
  export const MutatingAdmissionPolicyBinding = createResource("K8s::Admissionregistration::MutatingAdmissionPolicyBinding", "k8s", {"name":"name","namespace":"namespace","uid":"uid"});
105
110
  export const MutatingAdmissionPolicyBindingList = createResource("K8s::Admissionregistration::MutatingAdmissionPolicyBindingList", "k8s", {"name":"name","namespace":"namespace","uid":"uid"});
@@ -373,6 +378,13 @@ export const LabelSelector = createProperty("K8s::Meta::LabelSelector", "k8s");
373
378
  export const LabelSelectorRequirement = createProperty("K8s::Meta::LabelSelectorRequirement", "k8s");
374
379
  export const LocalObjectReference = createProperty("K8s::Core::LocalObjectReference", "k8s");
375
380
  export const MetricSpec = createProperty("K8s::Autoscaling::MetricSpec", "k8s");
381
+ export const MicroVM_Status = createProperty("K8s::KubeMicroVM::MicroVM.status", "k8s");
382
+ export const MicroVMImage_Source = createProperty("K8s::KubeMicroVM::MicroVMImage.source", "k8s");
383
+ export const MicroVMImage_Status = createProperty("K8s::KubeMicroVM::MicroVMImage.status", "k8s");
384
+ export const MicroVMNetwork_Status = createProperty("K8s::KubeMicroVM::MicroVMNetwork.status", "k8s");
385
+ export const MicroVMReplicaSet_ScaleDown = createProperty("K8s::KubeMicroVM::MicroVMReplicaSet.scaleDown", "k8s");
386
+ export const MicroVMReplicaSet_Status = createProperty("K8s::KubeMicroVM::MicroVMReplicaSet.status", "k8s");
387
+ export const MicroVMReplicaSet_Template = createProperty("K8s::KubeMicroVM::MicroVMReplicaSet.template", "k8s");
376
388
  export const NetworkPolicyEgressRule = createProperty("K8s::Networking::NetworkPolicyEgressRule", "k8s");
377
389
  export const NetworkPolicyIngressRule = createProperty("K8s::Networking::NetworkPolicyIngressRule", "k8s");
378
390
  export const NetworkPolicyPeer = createProperty("K8s::Networking::NetworkPolicyPeer", "k8s");
@@ -1780,6 +1780,76 @@
1780
1780
  "kind": "property",
1781
1781
  "lexicon": "k8s"
1782
1782
  },
1783
+ "MicroVM": {
1784
+ "resourceType": "K8s::KubeMicroVM::MicroVM",
1785
+ "kind": "resource",
1786
+ "lexicon": "k8s",
1787
+ "apiVersion": "lambda.aws.amazon.com/v1alpha1",
1788
+ "gvkKind": "MicroVM"
1789
+ },
1790
+ "MicroVMClass": {
1791
+ "resourceType": "K8s::KubeMicroVM::MicroVMClass",
1792
+ "kind": "resource",
1793
+ "lexicon": "k8s",
1794
+ "apiVersion": "lambda.aws.amazon.com/v1alpha1",
1795
+ "gvkKind": "MicroVMClass"
1796
+ },
1797
+ "MicroVMImage": {
1798
+ "resourceType": "K8s::KubeMicroVM::MicroVMImage",
1799
+ "kind": "resource",
1800
+ "lexicon": "k8s",
1801
+ "apiVersion": "lambda.aws.amazon.com/v1alpha1",
1802
+ "gvkKind": "MicroVMImage"
1803
+ },
1804
+ "MicroVMImage_Source": {
1805
+ "resourceType": "K8s::KubeMicroVM::MicroVMImage.source",
1806
+ "kind": "property",
1807
+ "lexicon": "k8s"
1808
+ },
1809
+ "MicroVMImage_Status": {
1810
+ "resourceType": "K8s::KubeMicroVM::MicroVMImage.status",
1811
+ "kind": "property",
1812
+ "lexicon": "k8s"
1813
+ },
1814
+ "MicroVMNetwork": {
1815
+ "resourceType": "K8s::KubeMicroVM::MicroVMNetwork",
1816
+ "kind": "resource",
1817
+ "lexicon": "k8s",
1818
+ "apiVersion": "lambda.aws.amazon.com/v1alpha1",
1819
+ "gvkKind": "MicroVMNetwork"
1820
+ },
1821
+ "MicroVMNetwork_Status": {
1822
+ "resourceType": "K8s::KubeMicroVM::MicroVMNetwork.status",
1823
+ "kind": "property",
1824
+ "lexicon": "k8s"
1825
+ },
1826
+ "MicroVMReplicaSet": {
1827
+ "resourceType": "K8s::KubeMicroVM::MicroVMReplicaSet",
1828
+ "kind": "resource",
1829
+ "lexicon": "k8s",
1830
+ "apiVersion": "lambda.aws.amazon.com/v1alpha1",
1831
+ "gvkKind": "MicroVMReplicaSet"
1832
+ },
1833
+ "MicroVMReplicaSet_ScaleDown": {
1834
+ "resourceType": "K8s::KubeMicroVM::MicroVMReplicaSet.scaleDown",
1835
+ "kind": "property",
1836
+ "lexicon": "k8s"
1837
+ },
1838
+ "MicroVMReplicaSet_Status": {
1839
+ "resourceType": "K8s::KubeMicroVM::MicroVMReplicaSet.status",
1840
+ "kind": "property",
1841
+ "lexicon": "k8s"
1842
+ },
1843
+ "MicroVMReplicaSet_Template": {
1844
+ "resourceType": "K8s::KubeMicroVM::MicroVMReplicaSet.template",
1845
+ "kind": "property",
1846
+ "lexicon": "k8s"
1847
+ },
1848
+ "MicroVM_Status": {
1849
+ "resourceType": "K8s::KubeMicroVM::MicroVM.status",
1850
+ "kind": "property",
1851
+ "lexicon": "k8s"
1852
+ },
1783
1853
  "MutatingAdmissionPolicy": {
1784
1854
  "resourceType": "K8s::Admissionregistration::MutatingAdmissionPolicy",
1785
1855
  "kind": "resource",
@@ -2715,6 +2785,11 @@
2715
2785
  "apiVersion": "autoscaling/v1",
2716
2786
  "gvkKind": "Scale"
2717
2787
  },
2788
+ "ScaleDown": {
2789
+ "resourceType": "K8s::KubeMicroVM::MicroVMReplicaSet.scaleDown",
2790
+ "kind": "property",
2791
+ "lexicon": "k8s"
2792
+ },
2718
2793
  "Schedule": {
2719
2794
  "resourceType": "K8s::Flux::ResourceSetInputProvider.schedule",
2720
2795
  "kind": "property",
@@ -2907,11 +2982,6 @@
2907
2982
  "kind": "property",
2908
2983
  "lexicon": "k8s"
2909
2984
  },
2910
- "Source": {
2911
- "resourceType": "K8s::Argo::Application.source",
2912
- "kind": "property",
2913
- "lexicon": "k8s"
2914
- },
2915
2985
  "Sources": {
2916
2986
  "resourceType": "K8s::Argo::Application.sources",
2917
2987
  "kind": "property",
@@ -3023,11 +3093,6 @@
3023
3093
  "kind": "property",
3024
3094
  "lexicon": "k8s"
3025
3095
  },
3026
- "Template": {
3027
- "resourceType": "K8s::Argo::ApplicationSet.template",
3028
- "kind": "property",
3029
- "lexicon": "k8s"
3030
- },
3031
3096
  "Test": {
3032
3097
  "resourceType": "K8s::Flux::HelmRelease.test",
3033
3098
  "kind": "property",