@highstate/cilium-crds 0.4.5

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 (66) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +14 -0
  3. package/bin/cilium/index.d.ts +2 -0
  4. package/bin/cilium/index.js +9 -0
  5. package/bin/cilium/index.js.map +1 -0
  6. package/bin/cilium/v2/ciliumClusterwideNetworkPolicy.d.ts +73 -0
  7. package/bin/cilium/v2/ciliumClusterwideNetworkPolicy.js +68 -0
  8. package/bin/cilium/v2/ciliumClusterwideNetworkPolicy.js.map +1 -0
  9. package/bin/cilium/v2/ciliumClusterwideNetworkPolicyList.d.ts +67 -0
  10. package/bin/cilium/v2/ciliumClusterwideNetworkPolicyList.js +65 -0
  11. package/bin/cilium/v2/ciliumClusterwideNetworkPolicyList.js.map +1 -0
  12. package/bin/cilium/v2/ciliumClusterwideNetworkPolicyPatch.d.ts +79 -0
  13. package/bin/cilium/v2/ciliumClusterwideNetworkPolicyPatch.js +74 -0
  14. package/bin/cilium/v2/ciliumClusterwideNetworkPolicyPatch.js.map +1 -0
  15. package/bin/cilium/v2/ciliumNetworkPolicy.d.ts +72 -0
  16. package/bin/cilium/v2/ciliumNetworkPolicy.js +67 -0
  17. package/bin/cilium/v2/ciliumNetworkPolicy.js.map +1 -0
  18. package/bin/cilium/v2/ciliumNetworkPolicyList.d.ts +67 -0
  19. package/bin/cilium/v2/ciliumNetworkPolicyList.js +65 -0
  20. package/bin/cilium/v2/ciliumNetworkPolicyList.js.map +1 -0
  21. package/bin/cilium/v2/ciliumNetworkPolicyPatch.d.ts +78 -0
  22. package/bin/cilium/v2/ciliumNetworkPolicyPatch.js +73 -0
  23. package/bin/cilium/v2/ciliumNetworkPolicyPatch.js.map +1 -0
  24. package/bin/cilium/v2/index.d.ts +18 -0
  25. package/bin/cilium/v2/index.js +42 -0
  26. package/bin/cilium/v2/index.js.map +1 -0
  27. package/bin/index.d.ts +6 -0
  28. package/bin/index.js +24 -0
  29. package/bin/index.js.map +1 -0
  30. package/bin/meta/v1.d.ts +3 -0
  31. package/bin/meta/v1.js +3 -0
  32. package/bin/meta/v1.js.map +1 -0
  33. package/bin/package.json +42 -0
  34. package/bin/provider.d.ts +21 -0
  35. package/bin/provider.js +38 -0
  36. package/bin/provider.js.map +1 -0
  37. package/bin/types/index.d.ts +3 -0
  38. package/bin/types/index.js +11 -0
  39. package/bin/types/index.js.map +1 -0
  40. package/bin/types/input.d.ts +20087 -0
  41. package/bin/types/input.js +5 -0
  42. package/bin/types/input.js.map +1 -0
  43. package/bin/types/output.d.ts +20164 -0
  44. package/bin/types/output.js +5 -0
  45. package/bin/types/output.js.map +1 -0
  46. package/bin/utilities.d.ts +8 -0
  47. package/bin/utilities.js +102 -0
  48. package/bin/utilities.js.map +1 -0
  49. package/cilium/index.ts +11 -0
  50. package/cilium/v2/ciliumClusterwideNetworkPolicy.ts +113 -0
  51. package/cilium/v2/ciliumClusterwideNetworkPolicyList.ts +107 -0
  52. package/cilium/v2/ciliumClusterwideNetworkPolicyPatch.ts +119 -0
  53. package/cilium/v2/ciliumNetworkPolicy.ts +112 -0
  54. package/cilium/v2/ciliumNetworkPolicyList.ts +107 -0
  55. package/cilium/v2/ciliumNetworkPolicyPatch.ts +118 -0
  56. package/cilium/v2/index.ts +60 -0
  57. package/index.ts +30 -0
  58. package/meta/v1.ts +4 -0
  59. package/package.json +43 -0
  60. package/provider.ts +44 -0
  61. package/scripts/postinstall.js +13 -0
  62. package/tsconfig.json +31 -0
  63. package/types/index.ts +13 -0
  64. package/types/input.ts +20541 -0
  65. package/types/output.ts +20615 -0
  66. package/utilities.ts +97 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ # v0.4.5 (Wed Mar 12 2025)
2
+
3
+ #### ⚠️ Pushed to `main`
4
+
5
+ - fix crd build ([@Exeteres](https://github.com/Exeteres))
6
+ - fix ([@Exeteres](https://github.com/Exeteres))
7
+
8
+ #### Authors: 1
9
+
10
+ - Fedor Chubukov ([@Exeteres](https://github.com/Exeteres))
package/README.md ADDED
@@ -0,0 +1,14 @@
1
+ The Kubernetes provider package offers support for all Kubernetes resources and their properties.
2
+ Resources are exposed as types from modules based on Kubernetes API groups such as 'apps', 'core',
3
+ 'rbac', and 'storage', among many others. Additionally, support for deploying Helm charts ('helm')
4
+ and YAML files ('yaml') is available in this package. Using this package allows you to
5
+ programmatically declare instances of any Kubernetes resources and any supported resource version
6
+ using infrastructure as code, which Pulumi then uses to drive the Kubernetes API.
7
+
8
+ If this is your first time using this package, these two resources may be helpful:
9
+
10
+ * [Kubernetes Getting Started Guide](https://www.pulumi.com/docs/quickstart/kubernetes/): Get up and running quickly.
11
+ * [Kubernetes Pulumi Setup Documentation](https://www.pulumi.com/docs/quickstart/kubernetes/configure/): How to configure Pulumi
12
+ for use with your Kubernetes cluster.
13
+
14
+ Use the navigation below to see detailed documentation for each of the supported Kubernetes resources.
@@ -0,0 +1,2 @@
1
+ import * as v2 from "./v2";
2
+ export { v2, };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.v2 = void 0;
6
+ // Export sub-modules:
7
+ const v2 = require("./v2");
8
+ exports.v2 = v2;
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../cilium/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAIjF,sBAAsB;AACtB,2BAA2B;AAGvB,gBAAE"}
@@ -0,0 +1,73 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ import { ObjectMeta } from "../../meta/v1";
5
+ /**
6
+ * CiliumClusterwideNetworkPolicy is a Kubernetes third-party resource with an
7
+ * modified version of CiliumNetworkPolicy which is cluster scoped rather than
8
+ * namespace scoped.
9
+ */
10
+ export declare class CiliumClusterwideNetworkPolicy extends pulumi.CustomResource {
11
+ /**
12
+ * Get an existing CiliumClusterwideNetworkPolicy resource's state with the given name, ID, and optional extra
13
+ * properties used to qualify the lookup.
14
+ *
15
+ * @param name The _unique_ name of the resulting resource.
16
+ * @param id The _unique_ provider ID of the resource to lookup.
17
+ * @param opts Optional settings to control the behavior of the CustomResource.
18
+ */
19
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumClusterwideNetworkPolicy;
20
+ /**
21
+ * Returns true if the given object is an instance of CiliumClusterwideNetworkPolicy. This is designed to work even
22
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
23
+ */
24
+ static isInstance(obj: any): obj is CiliumClusterwideNetworkPolicy;
25
+ /**
26
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
27
+ */
28
+ readonly apiVersion: pulumi.Output<"cilium.io/v2">;
29
+ /**
30
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
31
+ */
32
+ readonly kind: pulumi.Output<"CiliumClusterwideNetworkPolicy">;
33
+ /**
34
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
35
+ */
36
+ readonly metadata: pulumi.Output<ObjectMeta>;
37
+ readonly spec: pulumi.Output<outputs.cilium.v2.CiliumClusterwideNetworkPolicySpec>;
38
+ /**
39
+ * Specs is a list of desired Cilium specific rule specification.
40
+ */
41
+ readonly specs: pulumi.Output<outputs.cilium.v2.CiliumClusterwideNetworkPolicySpecs[]>;
42
+ readonly status: pulumi.Output<outputs.cilium.v2.CiliumClusterwideNetworkPolicyStatus>;
43
+ /**
44
+ * Create a CiliumClusterwideNetworkPolicy resource with the given unique name, arguments, and options.
45
+ *
46
+ * @param name The _unique_ name of the resource.
47
+ * @param args The arguments to use to populate this resource's properties.
48
+ * @param opts A bag of options that control this resource's behavior.
49
+ */
50
+ constructor(name: string, args?: CiliumClusterwideNetworkPolicyArgs, opts?: pulumi.CustomResourceOptions);
51
+ }
52
+ /**
53
+ * The set of arguments for constructing a CiliumClusterwideNetworkPolicy resource.
54
+ */
55
+ export interface CiliumClusterwideNetworkPolicyArgs {
56
+ /**
57
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
58
+ */
59
+ apiVersion?: pulumi.Input<"cilium.io/v2">;
60
+ /**
61
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
62
+ */
63
+ kind?: pulumi.Input<"CiliumClusterwideNetworkPolicy">;
64
+ /**
65
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
66
+ */
67
+ metadata?: pulumi.Input<ObjectMeta>;
68
+ spec?: pulumi.Input<inputs.cilium.v2.CiliumClusterwideNetworkPolicySpec>;
69
+ /**
70
+ * Specs is a list of desired Cilium specific rule specification.
71
+ */
72
+ specs?: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumClusterwideNetworkPolicySpecs>[]>;
73
+ }
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.CiliumClusterwideNetworkPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * CiliumClusterwideNetworkPolicy is a Kubernetes third-party resource with an
10
+ * modified version of CiliumNetworkPolicy which is cluster scoped rather than
11
+ * namespace scoped.
12
+ */
13
+ class CiliumClusterwideNetworkPolicy extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing CiliumClusterwideNetworkPolicy resource's state with the given name, ID, and optional extra
16
+ * properties used to qualify the lookup.
17
+ *
18
+ * @param name The _unique_ name of the resulting resource.
19
+ * @param id The _unique_ provider ID of the resource to lookup.
20
+ * @param opts Optional settings to control the behavior of the CustomResource.
21
+ */
22
+ static get(name, id, opts) {
23
+ return new CiliumClusterwideNetworkPolicy(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
24
+ }
25
+ /**
26
+ * Returns true if the given object is an instance of CiliumClusterwideNetworkPolicy. This is designed to work even
27
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
28
+ */
29
+ static isInstance(obj) {
30
+ if (obj === undefined || obj === null) {
31
+ return false;
32
+ }
33
+ return obj['__pulumiType'] === CiliumClusterwideNetworkPolicy.__pulumiType;
34
+ }
35
+ /**
36
+ * Create a CiliumClusterwideNetworkPolicy resource with the given unique name, arguments, and options.
37
+ *
38
+ * @param name The _unique_ name of the resource.
39
+ * @param args The arguments to use to populate this resource's properties.
40
+ * @param opts A bag of options that control this resource's behavior.
41
+ */
42
+ constructor(name, args, opts) {
43
+ let resourceInputs = {};
44
+ opts = opts || {};
45
+ if (!opts.id) {
46
+ resourceInputs["apiVersion"] = "cilium.io/v2";
47
+ resourceInputs["kind"] = "CiliumClusterwideNetworkPolicy";
48
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
49
+ resourceInputs["spec"] = args ? args.spec : undefined;
50
+ resourceInputs["specs"] = args ? args.specs : undefined;
51
+ resourceInputs["status"] = undefined /*out*/;
52
+ }
53
+ else {
54
+ resourceInputs["apiVersion"] = undefined /*out*/;
55
+ resourceInputs["kind"] = undefined /*out*/;
56
+ resourceInputs["metadata"] = undefined /*out*/;
57
+ resourceInputs["spec"] = undefined /*out*/;
58
+ resourceInputs["specs"] = undefined /*out*/;
59
+ resourceInputs["status"] = undefined /*out*/;
60
+ }
61
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
62
+ super(CiliumClusterwideNetworkPolicy.__pulumiType, name, resourceInputs, opts);
63
+ }
64
+ }
65
+ exports.CiliumClusterwideNetworkPolicy = CiliumClusterwideNetworkPolicy;
66
+ /** @internal */
67
+ CiliumClusterwideNetworkPolicy.__pulumiType = 'kubernetes:cilium.io/v2:CiliumClusterwideNetworkPolicy';
68
+ //# sourceMappingURL=ciliumClusterwideNetworkPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ciliumClusterwideNetworkPolicy.js","sourceRoot":"","sources":["../../../cilium/v2/ciliumClusterwideNetworkPolicy.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;;GAIG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3F,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACpC,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,8BAA8B,CAAC,YAAY,CAAC;IAC/E,CAAC;IAqBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAyC,EAAE,IAAmC;QACpG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,I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import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * CiliumClusterwideNetworkPolicyList is a list of CiliumClusterwideNetworkPolicy
6
+ */
7
+ export declare class CiliumClusterwideNetworkPolicyList extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing CiliumClusterwideNetworkPolicyList resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param opts Optional settings to control the behavior of the CustomResource.
15
+ */
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumClusterwideNetworkPolicyList;
17
+ /**
18
+ * Returns true if the given object is an instance of CiliumClusterwideNetworkPolicyList. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is CiliumClusterwideNetworkPolicyList;
22
+ /**
23
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
24
+ */
25
+ readonly apiVersion: pulumi.Output<"cilium.io/v2">;
26
+ /**
27
+ * List of ciliumclusterwidenetworkpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
28
+ */
29
+ readonly items: pulumi.Output<outputs.cilium.v2.CiliumClusterwideNetworkPolicy[]>;
30
+ /**
31
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
32
+ */
33
+ readonly kind: pulumi.Output<"CiliumClusterwideNetworkPolicyList">;
34
+ /**
35
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36
+ */
37
+ readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
38
+ /**
39
+ * Create a CiliumClusterwideNetworkPolicyList resource with the given unique name, arguments, and options.
40
+ *
41
+ * @param name The _unique_ name of the resource.
42
+ * @param args The arguments to use to populate this resource's properties.
43
+ * @param opts A bag of options that control this resource's behavior.
44
+ */
45
+ constructor(name: string, args?: CiliumClusterwideNetworkPolicyListArgs, opts?: pulumi.CustomResourceOptions);
46
+ }
47
+ /**
48
+ * The set of arguments for constructing a CiliumClusterwideNetworkPolicyList resource.
49
+ */
50
+ export interface CiliumClusterwideNetworkPolicyListArgs {
51
+ /**
52
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
53
+ */
54
+ apiVersion?: pulumi.Input<"cilium.io/v2">;
55
+ /**
56
+ * List of ciliumclusterwidenetworkpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
57
+ */
58
+ items: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumClusterwideNetworkPolicy>[]>;
59
+ /**
60
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
61
+ */
62
+ kind?: pulumi.Input<"CiliumClusterwideNetworkPolicyList">;
63
+ /**
64
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
65
+ */
66
+ metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
67
+ }
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.CiliumClusterwideNetworkPolicyList = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * CiliumClusterwideNetworkPolicyList is a list of CiliumClusterwideNetworkPolicy
10
+ */
11
+ class CiliumClusterwideNetworkPolicyList extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing CiliumClusterwideNetworkPolicyList resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new CiliumClusterwideNetworkPolicyList(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of CiliumClusterwideNetworkPolicyList. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === CiliumClusterwideNetworkPolicyList.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a CiliumClusterwideNetworkPolicyList resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ if ((!args || args.items === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'items'");
46
+ }
47
+ resourceInputs["apiVersion"] = "cilium.io/v2";
48
+ resourceInputs["items"] = args ? args.items : undefined;
49
+ resourceInputs["kind"] = "CiliumClusterwideNetworkPolicyList";
50
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
51
+ }
52
+ else {
53
+ resourceInputs["apiVersion"] = undefined /*out*/;
54
+ resourceInputs["items"] = undefined /*out*/;
55
+ resourceInputs["kind"] = undefined /*out*/;
56
+ resourceInputs["metadata"] = undefined /*out*/;
57
+ }
58
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
59
+ super(CiliumClusterwideNetworkPolicyList.__pulumiType, name, resourceInputs, opts);
60
+ }
61
+ }
62
+ exports.CiliumClusterwideNetworkPolicyList = CiliumClusterwideNetworkPolicyList;
63
+ /** @internal */
64
+ CiliumClusterwideNetworkPolicyList.__pulumiType = 'kubernetes:cilium.io/v2:CiliumClusterwideNetworkPolicyList';
65
+ //# sourceMappingURL=ciliumClusterwideNetworkPolicyList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ciliumClusterwideNetworkPolicyList.js","sourceRoot":"","sources":["../../../cilium/v2/ciliumClusterwideNetworkPolicyList.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;GAEG;AACH,MAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,kCAAkC,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/F,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACpC,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kCAAkC,CAAC,YAAY,CAAC;IACnF,CAAC;IAmBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA6C,EAAE,IAAmC;QACxG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;YACX,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;gBACnD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;YACzD,CAAC;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,cAAc,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,oCAAoC,CAAC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;QAClE,CAAC;aAAM,CAAC;YACJ,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACnD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kCAAkC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvF,CAAC;;AAtEL,gFAuEC;AA1DG,gBAAgB;AACO,+CAAY,GAAG,4DAA4D,CAAC"}
@@ -0,0 +1,79 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ import { ObjectMetaPatch } from "../../meta/v1";
5
+ /**
6
+ * Patch resources are used to modify existing Kubernetes resources by using
7
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
8
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
9
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
10
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
11
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
12
+ * CiliumClusterwideNetworkPolicy is a Kubernetes third-party resource with an
13
+ * modified version of CiliumNetworkPolicy which is cluster scoped rather than
14
+ * namespace scoped.
15
+ */
16
+ export declare class CiliumClusterwideNetworkPolicyPatch extends pulumi.CustomResource {
17
+ /**
18
+ * Get an existing CiliumClusterwideNetworkPolicyPatch resource's state with the given name, ID, and optional extra
19
+ * properties used to qualify the lookup.
20
+ *
21
+ * @param name The _unique_ name of the resulting resource.
22
+ * @param id The _unique_ provider ID of the resource to lookup.
23
+ * @param opts Optional settings to control the behavior of the CustomResource.
24
+ */
25
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumClusterwideNetworkPolicyPatch;
26
+ /**
27
+ * Returns true if the given object is an instance of CiliumClusterwideNetworkPolicyPatch. This is designed to work even
28
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
29
+ */
30
+ static isInstance(obj: any): obj is CiliumClusterwideNetworkPolicyPatch;
31
+ /**
32
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
33
+ */
34
+ readonly apiVersion: pulumi.Output<"cilium.io/v2">;
35
+ /**
36
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
37
+ */
38
+ readonly kind: pulumi.Output<"CiliumClusterwideNetworkPolicy">;
39
+ /**
40
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
41
+ */
42
+ readonly metadata: pulumi.Output<ObjectMetaPatch>;
43
+ readonly spec: pulumi.Output<outputs.cilium.v2.CiliumClusterwideNetworkPolicySpecPatch>;
44
+ /**
45
+ * Specs is a list of desired Cilium specific rule specification.
46
+ */
47
+ readonly specs: pulumi.Output<outputs.cilium.v2.CiliumClusterwideNetworkPolicySpecsPatch[]>;
48
+ readonly status: pulumi.Output<outputs.cilium.v2.CiliumClusterwideNetworkPolicyStatusPatch>;
49
+ /**
50
+ * Create a CiliumClusterwideNetworkPolicyPatch resource with the given unique name, arguments, and options.
51
+ *
52
+ * @param name The _unique_ name of the resource.
53
+ * @param args The arguments to use to populate this resource's properties.
54
+ * @param opts A bag of options that control this resource's behavior.
55
+ */
56
+ constructor(name: string, args?: CiliumClusterwideNetworkPolicyPatchArgs, opts?: pulumi.CustomResourceOptions);
57
+ }
58
+ /**
59
+ * The set of arguments for constructing a CiliumClusterwideNetworkPolicyPatch resource.
60
+ */
61
+ export interface CiliumClusterwideNetworkPolicyPatchArgs {
62
+ /**
63
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
64
+ */
65
+ apiVersion?: pulumi.Input<"cilium.io/v2">;
66
+ /**
67
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
68
+ */
69
+ kind?: pulumi.Input<"CiliumClusterwideNetworkPolicy">;
70
+ /**
71
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
72
+ */
73
+ metadata?: pulumi.Input<ObjectMetaPatch>;
74
+ spec?: pulumi.Input<inputs.cilium.v2.CiliumClusterwideNetworkPolicySpecPatch>;
75
+ /**
76
+ * Specs is a list of desired Cilium specific rule specification.
77
+ */
78
+ specs?: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumClusterwideNetworkPolicySpecsPatch>[]>;
79
+ }
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.CiliumClusterwideNetworkPolicyPatch = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Patch resources are used to modify existing Kubernetes resources by using
10
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
11
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
12
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
13
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
14
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
15
+ * CiliumClusterwideNetworkPolicy is a Kubernetes third-party resource with an
16
+ * modified version of CiliumNetworkPolicy which is cluster scoped rather than
17
+ * namespace scoped.
18
+ */
19
+ class CiliumClusterwideNetworkPolicyPatch extends pulumi.CustomResource {
20
+ /**
21
+ * Get an existing CiliumClusterwideNetworkPolicyPatch resource's state with the given name, ID, and optional extra
22
+ * properties used to qualify the lookup.
23
+ *
24
+ * @param name The _unique_ name of the resulting resource.
25
+ * @param id The _unique_ provider ID of the resource to lookup.
26
+ * @param opts Optional settings to control the behavior of the CustomResource.
27
+ */
28
+ static get(name, id, opts) {
29
+ return new CiliumClusterwideNetworkPolicyPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
30
+ }
31
+ /**
32
+ * Returns true if the given object is an instance of CiliumClusterwideNetworkPolicyPatch. This is designed to work even
33
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
34
+ */
35
+ static isInstance(obj) {
36
+ if (obj === undefined || obj === null) {
37
+ return false;
38
+ }
39
+ return obj['__pulumiType'] === CiliumClusterwideNetworkPolicyPatch.__pulumiType;
40
+ }
41
+ /**
42
+ * Create a CiliumClusterwideNetworkPolicyPatch resource with the given unique name, arguments, and options.
43
+ *
44
+ * @param name The _unique_ name of the resource.
45
+ * @param args The arguments to use to populate this resource's properties.
46
+ * @param opts A bag of options that control this resource's behavior.
47
+ */
48
+ constructor(name, args, opts) {
49
+ let resourceInputs = {};
50
+ opts = opts || {};
51
+ if (!opts.id) {
52
+ resourceInputs["apiVersion"] = "cilium.io/v2";
53
+ resourceInputs["kind"] = "CiliumClusterwideNetworkPolicy";
54
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
55
+ resourceInputs["spec"] = args ? args.spec : undefined;
56
+ resourceInputs["specs"] = args ? args.specs : undefined;
57
+ resourceInputs["status"] = undefined /*out*/;
58
+ }
59
+ else {
60
+ resourceInputs["apiVersion"] = undefined /*out*/;
61
+ resourceInputs["kind"] = undefined /*out*/;
62
+ resourceInputs["metadata"] = undefined /*out*/;
63
+ resourceInputs["spec"] = undefined /*out*/;
64
+ resourceInputs["specs"] = undefined /*out*/;
65
+ resourceInputs["status"] = undefined /*out*/;
66
+ }
67
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
68
+ super(CiliumClusterwideNetworkPolicyPatch.__pulumiType, name, resourceInputs, opts);
69
+ }
70
+ }
71
+ exports.CiliumClusterwideNetworkPolicyPatch = CiliumClusterwideNetworkPolicyPatch;
72
+ /** @internal */
73
+ CiliumClusterwideNetworkPolicyPatch.__pulumiType = 'kubernetes:cilium.io/v2:CiliumClusterwideNetworkPolicyPatch';
74
+ //# sourceMappingURL=ciliumClusterwideNetworkPolicyPatch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ciliumClusterwideNetworkPolicyPatch.js","sourceRoot":"","sources":["../../../cilium/v2/ciliumClusterwideNetworkPolicyPatch.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;;;;;;;;GAUG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CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mCAAmC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxF,CAAC;;AAzEL,kFA0EC;AA7DG,gBAAgB;AACO,gDAAY,GAAG,6DAA6D,CAAC"}
@@ -0,0 +1,72 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ import { ObjectMeta } from "../../meta/v1";
5
+ /**
6
+ * CiliumNetworkPolicy is a Kubernetes third-party resource with an extended
7
+ * version of NetworkPolicy.
8
+ */
9
+ export declare class CiliumNetworkPolicy extends pulumi.CustomResource {
10
+ /**
11
+ * Get an existing CiliumNetworkPolicy resource's state with the given name, ID, and optional extra
12
+ * properties used to qualify the lookup.
13
+ *
14
+ * @param name The _unique_ name of the resulting resource.
15
+ * @param id The _unique_ provider ID of the resource to lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumNetworkPolicy;
19
+ /**
20
+ * Returns true if the given object is an instance of CiliumNetworkPolicy. This is designed to work even
21
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
22
+ */
23
+ static isInstance(obj: any): obj is CiliumNetworkPolicy;
24
+ /**
25
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
26
+ */
27
+ readonly apiVersion: pulumi.Output<"cilium.io/v2">;
28
+ /**
29
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
30
+ */
31
+ readonly kind: pulumi.Output<"CiliumNetworkPolicy">;
32
+ /**
33
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
34
+ */
35
+ readonly metadata: pulumi.Output<ObjectMeta>;
36
+ readonly spec: pulumi.Output<outputs.cilium.v2.CiliumNetworkPolicySpec>;
37
+ /**
38
+ * Specs is a list of desired Cilium specific rule specification.
39
+ */
40
+ readonly specs: pulumi.Output<outputs.cilium.v2.CiliumNetworkPolicySpecs[]>;
41
+ readonly status: pulumi.Output<outputs.cilium.v2.CiliumNetworkPolicyStatus>;
42
+ /**
43
+ * Create a CiliumNetworkPolicy resource with the given unique name, arguments, and options.
44
+ *
45
+ * @param name The _unique_ name of the resource.
46
+ * @param args The arguments to use to populate this resource's properties.
47
+ * @param opts A bag of options that control this resource's behavior.
48
+ */
49
+ constructor(name: string, args?: CiliumNetworkPolicyArgs, opts?: pulumi.CustomResourceOptions);
50
+ }
51
+ /**
52
+ * The set of arguments for constructing a CiliumNetworkPolicy resource.
53
+ */
54
+ export interface CiliumNetworkPolicyArgs {
55
+ /**
56
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
57
+ */
58
+ apiVersion?: pulumi.Input<"cilium.io/v2">;
59
+ /**
60
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
61
+ */
62
+ kind?: pulumi.Input<"CiliumNetworkPolicy">;
63
+ /**
64
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
65
+ */
66
+ metadata?: pulumi.Input<ObjectMeta>;
67
+ spec?: pulumi.Input<inputs.cilium.v2.CiliumNetworkPolicySpec>;
68
+ /**
69
+ * Specs is a list of desired Cilium specific rule specification.
70
+ */
71
+ specs?: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumNetworkPolicySpecs>[]>;
72
+ }
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.CiliumNetworkPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * CiliumNetworkPolicy is a Kubernetes third-party resource with an extended
10
+ * version of NetworkPolicy.
11
+ */
12
+ class CiliumNetworkPolicy extends pulumi.CustomResource {
13
+ /**
14
+ * Get an existing CiliumNetworkPolicy resource's state with the given name, ID, and optional extra
15
+ * properties used to qualify the lookup.
16
+ *
17
+ * @param name The _unique_ name of the resulting resource.
18
+ * @param id The _unique_ provider ID of the resource to lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ static get(name, id, opts) {
22
+ return new CiliumNetworkPolicy(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
23
+ }
24
+ /**
25
+ * Returns true if the given object is an instance of CiliumNetworkPolicy. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj) {
29
+ if (obj === undefined || obj === null) {
30
+ return false;
31
+ }
32
+ return obj['__pulumiType'] === CiliumNetworkPolicy.__pulumiType;
33
+ }
34
+ /**
35
+ * Create a CiliumNetworkPolicy resource with the given unique name, arguments, and options.
36
+ *
37
+ * @param name The _unique_ name of the resource.
38
+ * @param args The arguments to use to populate this resource's properties.
39
+ * @param opts A bag of options that control this resource's behavior.
40
+ */
41
+ constructor(name, args, opts) {
42
+ let resourceInputs = {};
43
+ opts = opts || {};
44
+ if (!opts.id) {
45
+ resourceInputs["apiVersion"] = "cilium.io/v2";
46
+ resourceInputs["kind"] = "CiliumNetworkPolicy";
47
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
48
+ resourceInputs["spec"] = args ? args.spec : undefined;
49
+ resourceInputs["specs"] = args ? args.specs : undefined;
50
+ resourceInputs["status"] = undefined /*out*/;
51
+ }
52
+ else {
53
+ resourceInputs["apiVersion"] = undefined /*out*/;
54
+ resourceInputs["kind"] = undefined /*out*/;
55
+ resourceInputs["metadata"] = undefined /*out*/;
56
+ resourceInputs["spec"] = undefined /*out*/;
57
+ resourceInputs["specs"] = undefined /*out*/;
58
+ resourceInputs["status"] = undefined /*out*/;
59
+ }
60
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
61
+ super(CiliumNetworkPolicy.__pulumiType, name, resourceInputs, opts);
62
+ }
63
+ }
64
+ exports.CiliumNetworkPolicy = CiliumNetworkPolicy;
65
+ /** @internal */
66
+ CiliumNetworkPolicy.__pulumiType = 'kubernetes:cilium.io/v2:CiliumNetworkPolicy';
67
+ //# sourceMappingURL=ciliumNetworkPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ciliumNetworkPolicy.js","sourceRoot":"","sources":["../../../cilium/v2/ciliumNetworkPolicy.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;GAGG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO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