@kilic.dev/pulumi-k8s-crds 4.0.0 → 4.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 (31) hide show
  1. package/dist/cilium/v2/index.d.ts +0 -36
  2. package/dist/cilium/v2/index.js +1 -49
  3. package/dist/package.json +1 -1
  4. package/dist/types/input.d.ts +83 -1663
  5. package/dist/types/output.d.ts +79 -1666
  6. package/dist/utilities.js +1 -1
  7. package/package.json +1 -1
  8. package/dist/cilium/v2/ciliumClusterwideEnvoyConfig.d.ts +0 -61
  9. package/dist/cilium/v2/ciliumClusterwideEnvoyConfig.js +0 -96
  10. package/dist/cilium/v2/ciliumClusterwideEnvoyConfigList.d.ts +0 -70
  11. package/dist/cilium/v2/ciliumClusterwideEnvoyConfigList.js +0 -99
  12. package/dist/cilium/v2/ciliumClusterwideEnvoyConfigPatch.d.ts +0 -69
  13. package/dist/cilium/v2/ciliumClusterwideEnvoyConfigPatch.js +0 -99
  14. package/dist/cilium/v2/ciliumEgressGatewayPolicy.d.ts +0 -61
  15. package/dist/cilium/v2/ciliumEgressGatewayPolicy.js +0 -96
  16. package/dist/cilium/v2/ciliumEgressGatewayPolicyList.d.ts +0 -70
  17. package/dist/cilium/v2/ciliumEgressGatewayPolicyList.js +0 -99
  18. package/dist/cilium/v2/ciliumEgressGatewayPolicyPatch.d.ts +0 -69
  19. package/dist/cilium/v2/ciliumEgressGatewayPolicyPatch.js +0 -99
  20. package/dist/cilium/v2/ciliumEnvoyConfig.d.ts +0 -61
  21. package/dist/cilium/v2/ciliumEnvoyConfig.js +0 -96
  22. package/dist/cilium/v2/ciliumEnvoyConfigList.d.ts +0 -70
  23. package/dist/cilium/v2/ciliumEnvoyConfigList.js +0 -99
  24. package/dist/cilium/v2/ciliumEnvoyConfigPatch.d.ts +0 -69
  25. package/dist/cilium/v2/ciliumEnvoyConfigPatch.js +0 -99
  26. package/dist/cilium/v2/ciliumLocalRedirectPolicy.d.ts +0 -66
  27. package/dist/cilium/v2/ciliumLocalRedirectPolicy.js +0 -102
  28. package/dist/cilium/v2/ciliumLocalRedirectPolicyList.d.ts +0 -70
  29. package/dist/cilium/v2/ciliumLocalRedirectPolicyList.js +0 -99
  30. package/dist/cilium/v2/ciliumLocalRedirectPolicyPatch.d.ts +0 -72
  31. package/dist/cilium/v2/ciliumLocalRedirectPolicyPatch.js +0 -103
@@ -1,96 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- var desc = Object.getOwnPropertyDescriptor(m, k);
7
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
- desc = { enumerable: true, get: function() { return m[k]; } };
9
- }
10
- Object.defineProperty(o, k2, desc);
11
- }) : (function(o, m, k, k2) {
12
- if (k2 === undefined) k2 = k;
13
- o[k2] = m[k];
14
- }));
15
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
- Object.defineProperty(o, "default", { enumerable: true, value: v });
17
- }) : function(o, v) {
18
- o["default"] = v;
19
- });
20
- var __importStar = (this && this.__importStar) || (function () {
21
- var ownKeys = function(o) {
22
- ownKeys = Object.getOwnPropertyNames || function (o) {
23
- var ar = [];
24
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
- return ar;
26
- };
27
- return ownKeys(o);
28
- };
29
- return function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- })();
37
- Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.CiliumEgressGatewayPolicy = void 0;
39
- const pulumi = __importStar(require("@pulumi/pulumi"));
40
- const utilities = __importStar(require("../../utilities"));
41
- class CiliumEgressGatewayPolicy extends pulumi.CustomResource {
42
- /**
43
- * Get an existing CiliumEgressGatewayPolicy resource's state with the given name, ID, and optional extra
44
- * properties used to qualify the lookup.
45
- *
46
- * @param name The _unique_ name of the resulting resource.
47
- * @param id The _unique_ provider ID of the resource to lookup.
48
- * @param opts Optional settings to control the behavior of the CustomResource.
49
- */
50
- static get(name, id, opts) {
51
- return new CiliumEgressGatewayPolicy(name, undefined, { ...opts, id: id });
52
- }
53
- /** @internal */
54
- static __pulumiType = 'pulumi-k8s-crds:cilium.io/v2:CiliumEgressGatewayPolicy';
55
- /**
56
- * Returns true if the given object is an instance of CiliumEgressGatewayPolicy. This is designed to work even
57
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
- */
59
- static isInstance(obj) {
60
- if (obj === undefined || obj === null) {
61
- return false;
62
- }
63
- return obj['__pulumiType'] === CiliumEgressGatewayPolicy.__pulumiType;
64
- }
65
- /**
66
- * Create a CiliumEgressGatewayPolicy resource with the given unique name, arguments, and options.
67
- *
68
- * @param name The _unique_ name of the resource.
69
- * @param args The arguments to use to populate this resource's properties.
70
- * @param opts A bag of options that control this resource's behavior.
71
- */
72
- constructor(name, args, opts) {
73
- let resourceInputs = {};
74
- opts = opts || {};
75
- if (!opts.id) {
76
- if (args?.metadata === undefined && !opts.urn) {
77
- throw new Error("Missing required property 'metadata'");
78
- }
79
- resourceInputs["apiVersion"] = "cilium.io/v2";
80
- resourceInputs["kind"] = "CiliumEgressGatewayPolicy";
81
- resourceInputs["metadata"] = args?.metadata;
82
- resourceInputs["spec"] = args?.spec;
83
- }
84
- else {
85
- resourceInputs["apiVersion"] = undefined /*out*/;
86
- resourceInputs["kind"] = undefined /*out*/;
87
- resourceInputs["metadata"] = undefined /*out*/;
88
- resourceInputs["spec"] = undefined /*out*/;
89
- }
90
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
91
- const aliasOpts = { aliases: [{ type: "kubernetes:cilium.io/v2:CiliumEgressGatewayPolicy" }] };
92
- opts = pulumi.mergeOptions(opts, aliasOpts);
93
- super(CiliumEgressGatewayPolicy.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
94
- }
95
- }
96
- exports.CiliumEgressGatewayPolicy = CiliumEgressGatewayPolicy;
@@ -1,70 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "../../types/input";
3
- import * as outputs from "../../types/output";
4
- import * as pulumiKubernetes from "@pulumi/kubernetes";
5
- /**
6
- * CiliumEgressGatewayPolicyList is a list of CiliumEgressGatewayPolicy
7
- */
8
- export declare class CiliumEgressGatewayPolicyList extends pulumi.CustomResource {
9
- /**
10
- * Get an existing CiliumEgressGatewayPolicyList resource's state with the given name, ID, and optional extra
11
- * properties used to qualify the lookup.
12
- *
13
- * @param name The _unique_ name of the resulting resource.
14
- * @param id The _unique_ provider ID of the resource to lookup.
15
- * @param opts Optional settings to control the behavior of the CustomResource.
16
- */
17
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumEgressGatewayPolicyList;
18
- /** @internal */
19
- static readonly __pulumiType = "pulumi-k8s-crds:cilium.io/v2:CiliumEgressGatewayPolicyList";
20
- /**
21
- * Returns true if the given object is an instance of CiliumEgressGatewayPolicyList. 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 CiliumEgressGatewayPolicyList;
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
- * List of ciliumegressgatewaypolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
31
- */
32
- readonly items: pulumi.Output<outputs.cilium.v2.CiliumEgressGatewayPolicy[]>;
33
- /**
34
- * 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
35
- */
36
- readonly kind: pulumi.Output<"CiliumEgressGatewayPolicyList">;
37
- /**
38
- * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
39
- */
40
- readonly metadata: pulumi.Output<pulumiKubernetes.types.output.meta.v1.ListMeta>;
41
- /**
42
- * Create a CiliumEgressGatewayPolicyList 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: string, args?: CiliumEgressGatewayPolicyListArgs, opts?: pulumi.CustomResourceOptions);
49
- }
50
- /**
51
- * The set of arguments for constructing a CiliumEgressGatewayPolicyList resource.
52
- */
53
- export interface CiliumEgressGatewayPolicyListArgs {
54
- /**
55
- * 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
56
- */
57
- apiVersion?: pulumi.Input<"cilium.io/v2" | undefined>;
58
- /**
59
- * List of ciliumegressgatewaypolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
60
- */
61
- items: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumEgressGatewayPolicy>[]>;
62
- /**
63
- * 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
64
- */
65
- kind?: pulumi.Input<"CiliumEgressGatewayPolicyList" | undefined>;
66
- /**
67
- * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
68
- */
69
- metadata?: pulumi.Input<pulumiKubernetes.types.input.meta.v1.ListMeta | undefined>;
70
- }
@@ -1,99 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- var desc = Object.getOwnPropertyDescriptor(m, k);
7
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
- desc = { enumerable: true, get: function() { return m[k]; } };
9
- }
10
- Object.defineProperty(o, k2, desc);
11
- }) : (function(o, m, k, k2) {
12
- if (k2 === undefined) k2 = k;
13
- o[k2] = m[k];
14
- }));
15
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
- Object.defineProperty(o, "default", { enumerable: true, value: v });
17
- }) : function(o, v) {
18
- o["default"] = v;
19
- });
20
- var __importStar = (this && this.__importStar) || (function () {
21
- var ownKeys = function(o) {
22
- ownKeys = Object.getOwnPropertyNames || function (o) {
23
- var ar = [];
24
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
- return ar;
26
- };
27
- return ownKeys(o);
28
- };
29
- return function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- })();
37
- Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.CiliumEgressGatewayPolicyList = void 0;
39
- const pulumi = __importStar(require("@pulumi/pulumi"));
40
- const utilities = __importStar(require("../../utilities"));
41
- /**
42
- * CiliumEgressGatewayPolicyList is a list of CiliumEgressGatewayPolicy
43
- */
44
- class CiliumEgressGatewayPolicyList extends pulumi.CustomResource {
45
- /**
46
- * Get an existing CiliumEgressGatewayPolicyList resource's state with the given name, ID, and optional extra
47
- * properties used to qualify the lookup.
48
- *
49
- * @param name The _unique_ name of the resulting resource.
50
- * @param id The _unique_ provider ID of the resource to lookup.
51
- * @param opts Optional settings to control the behavior of the CustomResource.
52
- */
53
- static get(name, id, opts) {
54
- return new CiliumEgressGatewayPolicyList(name, undefined, { ...opts, id: id });
55
- }
56
- /** @internal */
57
- static __pulumiType = 'pulumi-k8s-crds:cilium.io/v2:CiliumEgressGatewayPolicyList';
58
- /**
59
- * Returns true if the given object is an instance of CiliumEgressGatewayPolicyList. This is designed to work even
60
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
61
- */
62
- static isInstance(obj) {
63
- if (obj === undefined || obj === null) {
64
- return false;
65
- }
66
- return obj['__pulumiType'] === CiliumEgressGatewayPolicyList.__pulumiType;
67
- }
68
- /**
69
- * Create a CiliumEgressGatewayPolicyList resource with the given unique name, arguments, and options.
70
- *
71
- * @param name The _unique_ name of the resource.
72
- * @param args The arguments to use to populate this resource's properties.
73
- * @param opts A bag of options that control this resource's behavior.
74
- */
75
- constructor(name, args, opts) {
76
- let resourceInputs = {};
77
- opts = opts || {};
78
- if (!opts.id) {
79
- if (args?.items === undefined && !opts.urn) {
80
- throw new Error("Missing required property 'items'");
81
- }
82
- resourceInputs["apiVersion"] = "cilium.io/v2";
83
- resourceInputs["items"] = args?.items;
84
- resourceInputs["kind"] = "CiliumEgressGatewayPolicyList";
85
- resourceInputs["metadata"] = args?.metadata;
86
- }
87
- else {
88
- resourceInputs["apiVersion"] = undefined /*out*/;
89
- resourceInputs["items"] = undefined /*out*/;
90
- resourceInputs["kind"] = undefined /*out*/;
91
- resourceInputs["metadata"] = undefined /*out*/;
92
- }
93
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
94
- const aliasOpts = { aliases: [{ type: "kubernetes:cilium.io/v2:CiliumEgressGatewayPolicyList" }] };
95
- opts = pulumi.mergeOptions(opts, aliasOpts);
96
- super(CiliumEgressGatewayPolicyList.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
97
- }
98
- }
99
- exports.CiliumEgressGatewayPolicyList = CiliumEgressGatewayPolicyList;
@@ -1,69 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "../../types/input";
3
- import * as outputs from "../../types/output";
4
- import * as pulumiKubernetes from "@pulumi/kubernetes";
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
- */
13
- export declare class CiliumEgressGatewayPolicyPatch extends pulumi.CustomResource {
14
- /**
15
- * Get an existing CiliumEgressGatewayPolicyPatch 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: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumEgressGatewayPolicyPatch;
23
- /** @internal */
24
- static readonly __pulumiType = "pulumi-k8s-crds:cilium.io/v2:CiliumEgressGatewayPolicyPatch";
25
- /**
26
- * Returns true if the given object is an instance of CiliumEgressGatewayPolicyPatch. 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: any): obj is CiliumEgressGatewayPolicyPatch;
30
- /**
31
- * 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
32
- */
33
- readonly apiVersion: pulumi.Output<"cilium.io/v2">;
34
- /**
35
- * 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
36
- */
37
- readonly kind: pulumi.Output<"CiliumEgressGatewayPolicy">;
38
- /**
39
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
40
- */
41
- readonly metadata: pulumi.Output<pulumiKubernetes.types.output.meta.v1.ObjectMetaPatch>;
42
- readonly spec: pulumi.Output<outputs.cilium.v2.CiliumEgressGatewayPolicySpecPatch>;
43
- /**
44
- * Create a CiliumEgressGatewayPolicyPatch 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?: CiliumEgressGatewayPolicyPatchArgs, opts?: pulumi.CustomResourceOptions);
51
- }
52
- /**
53
- * The set of arguments for constructing a CiliumEgressGatewayPolicyPatch resource.
54
- */
55
- export interface CiliumEgressGatewayPolicyPatchArgs {
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" | undefined>;
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<"CiliumEgressGatewayPolicy" | undefined>;
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<pulumiKubernetes.types.input.meta.v1.ObjectMetaPatch | undefined>;
68
- spec?: pulumi.Input<inputs.cilium.v2.CiliumEgressGatewayPolicySpecPatch | undefined>;
69
- }
@@ -1,99 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- var desc = Object.getOwnPropertyDescriptor(m, k);
7
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
- desc = { enumerable: true, get: function() { return m[k]; } };
9
- }
10
- Object.defineProperty(o, k2, desc);
11
- }) : (function(o, m, k, k2) {
12
- if (k2 === undefined) k2 = k;
13
- o[k2] = m[k];
14
- }));
15
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
- Object.defineProperty(o, "default", { enumerable: true, value: v });
17
- }) : function(o, v) {
18
- o["default"] = v;
19
- });
20
- var __importStar = (this && this.__importStar) || (function () {
21
- var ownKeys = function(o) {
22
- ownKeys = Object.getOwnPropertyNames || function (o) {
23
- var ar = [];
24
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
- return ar;
26
- };
27
- return ownKeys(o);
28
- };
29
- return function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- })();
37
- Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.CiliumEgressGatewayPolicyPatch = void 0;
39
- const pulumi = __importStar(require("@pulumi/pulumi"));
40
- const utilities = __importStar(require("../../utilities"));
41
- /**
42
- * Patch resources are used to modify existing Kubernetes resources by using
43
- * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
44
- * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
45
- * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
46
- * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
47
- * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
48
- */
49
- class CiliumEgressGatewayPolicyPatch extends pulumi.CustomResource {
50
- /**
51
- * Get an existing CiliumEgressGatewayPolicyPatch resource's state with the given name, ID, and optional extra
52
- * properties used to qualify the lookup.
53
- *
54
- * @param name The _unique_ name of the resulting resource.
55
- * @param id The _unique_ provider ID of the resource to lookup.
56
- * @param opts Optional settings to control the behavior of the CustomResource.
57
- */
58
- static get(name, id, opts) {
59
- return new CiliumEgressGatewayPolicyPatch(name, undefined, { ...opts, id: id });
60
- }
61
- /** @internal */
62
- static __pulumiType = 'pulumi-k8s-crds:cilium.io/v2:CiliumEgressGatewayPolicyPatch';
63
- /**
64
- * Returns true if the given object is an instance of CiliumEgressGatewayPolicyPatch. This is designed to work even
65
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
66
- */
67
- static isInstance(obj) {
68
- if (obj === undefined || obj === null) {
69
- return false;
70
- }
71
- return obj['__pulumiType'] === CiliumEgressGatewayPolicyPatch.__pulumiType;
72
- }
73
- /**
74
- * Create a CiliumEgressGatewayPolicyPatch resource with the given unique name, arguments, and options.
75
- *
76
- * @param name The _unique_ name of the resource.
77
- * @param args The arguments to use to populate this resource's properties.
78
- * @param opts A bag of options that control this resource's behavior.
79
- */
80
- constructor(name, args, opts) {
81
- let resourceInputs = {};
82
- opts = opts || {};
83
- if (!opts.id) {
84
- resourceInputs["apiVersion"] = "cilium.io/v2";
85
- resourceInputs["kind"] = "CiliumEgressGatewayPolicy";
86
- resourceInputs["metadata"] = args?.metadata;
87
- resourceInputs["spec"] = args?.spec;
88
- }
89
- else {
90
- resourceInputs["apiVersion"] = undefined /*out*/;
91
- resourceInputs["kind"] = undefined /*out*/;
92
- resourceInputs["metadata"] = undefined /*out*/;
93
- resourceInputs["spec"] = undefined /*out*/;
94
- }
95
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
96
- super(CiliumEgressGatewayPolicyPatch.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
97
- }
98
- }
99
- exports.CiliumEgressGatewayPolicyPatch = CiliumEgressGatewayPolicyPatch;
@@ -1,61 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "../../types/input";
3
- import * as outputs from "../../types/output";
4
- import * as pulumiKubernetes from "@pulumi/kubernetes";
5
- export declare class CiliumEnvoyConfig extends pulumi.CustomResource {
6
- /**
7
- * Get an existing CiliumEnvoyConfig resource's state with the given name, ID, and optional extra
8
- * properties used to qualify the lookup.
9
- *
10
- * @param name The _unique_ name of the resulting resource.
11
- * @param id The _unique_ provider ID of the resource to lookup.
12
- * @param opts Optional settings to control the behavior of the CustomResource.
13
- */
14
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumEnvoyConfig;
15
- /** @internal */
16
- static readonly __pulumiType = "pulumi-k8s-crds:cilium.io/v2:CiliumEnvoyConfig";
17
- /**
18
- * Returns true if the given object is an instance of CiliumEnvoyConfig. 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 CiliumEnvoyConfig;
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
- * 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
28
- */
29
- readonly kind: pulumi.Output<"CiliumEnvoyConfig">;
30
- /**
31
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
32
- */
33
- readonly metadata: pulumi.Output<pulumiKubernetes.types.output.meta.v1.ObjectMeta>;
34
- readonly spec: pulumi.Output<outputs.cilium.v2.CiliumEnvoyConfigSpec>;
35
- /**
36
- * Create a CiliumEnvoyConfig 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: string, args?: CiliumEnvoyConfigArgs, opts?: pulumi.CustomResourceOptions);
43
- }
44
- /**
45
- * The set of arguments for constructing a CiliumEnvoyConfig resource.
46
- */
47
- export interface CiliumEnvoyConfigArgs {
48
- /**
49
- * 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
50
- */
51
- apiVersion?: pulumi.Input<"cilium.io/v2" | undefined>;
52
- /**
53
- * 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
54
- */
55
- kind?: pulumi.Input<"CiliumEnvoyConfig" | undefined>;
56
- /**
57
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
58
- */
59
- metadata: pulumi.Input<pulumiKubernetes.types.input.meta.v1.ObjectMeta>;
60
- spec?: pulumi.Input<inputs.cilium.v2.CiliumEnvoyConfigSpec | undefined>;
61
- }
@@ -1,96 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- var desc = Object.getOwnPropertyDescriptor(m, k);
7
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
- desc = { enumerable: true, get: function() { return m[k]; } };
9
- }
10
- Object.defineProperty(o, k2, desc);
11
- }) : (function(o, m, k, k2) {
12
- if (k2 === undefined) k2 = k;
13
- o[k2] = m[k];
14
- }));
15
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
- Object.defineProperty(o, "default", { enumerable: true, value: v });
17
- }) : function(o, v) {
18
- o["default"] = v;
19
- });
20
- var __importStar = (this && this.__importStar) || (function () {
21
- var ownKeys = function(o) {
22
- ownKeys = Object.getOwnPropertyNames || function (o) {
23
- var ar = [];
24
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
- return ar;
26
- };
27
- return ownKeys(o);
28
- };
29
- return function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- })();
37
- Object.defineProperty(exports, "__esModule", { value: true });
38
- exports.CiliumEnvoyConfig = void 0;
39
- const pulumi = __importStar(require("@pulumi/pulumi"));
40
- const utilities = __importStar(require("../../utilities"));
41
- class CiliumEnvoyConfig extends pulumi.CustomResource {
42
- /**
43
- * Get an existing CiliumEnvoyConfig resource's state with the given name, ID, and optional extra
44
- * properties used to qualify the lookup.
45
- *
46
- * @param name The _unique_ name of the resulting resource.
47
- * @param id The _unique_ provider ID of the resource to lookup.
48
- * @param opts Optional settings to control the behavior of the CustomResource.
49
- */
50
- static get(name, id, opts) {
51
- return new CiliumEnvoyConfig(name, undefined, { ...opts, id: id });
52
- }
53
- /** @internal */
54
- static __pulumiType = 'pulumi-k8s-crds:cilium.io/v2:CiliumEnvoyConfig';
55
- /**
56
- * Returns true if the given object is an instance of CiliumEnvoyConfig. This is designed to work even
57
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
- */
59
- static isInstance(obj) {
60
- if (obj === undefined || obj === null) {
61
- return false;
62
- }
63
- return obj['__pulumiType'] === CiliumEnvoyConfig.__pulumiType;
64
- }
65
- /**
66
- * Create a CiliumEnvoyConfig resource with the given unique name, arguments, and options.
67
- *
68
- * @param name The _unique_ name of the resource.
69
- * @param args The arguments to use to populate this resource's properties.
70
- * @param opts A bag of options that control this resource's behavior.
71
- */
72
- constructor(name, args, opts) {
73
- let resourceInputs = {};
74
- opts = opts || {};
75
- if (!opts.id) {
76
- if (args?.metadata === undefined && !opts.urn) {
77
- throw new Error("Missing required property 'metadata'");
78
- }
79
- resourceInputs["apiVersion"] = "cilium.io/v2";
80
- resourceInputs["kind"] = "CiliumEnvoyConfig";
81
- resourceInputs["metadata"] = args?.metadata;
82
- resourceInputs["spec"] = args?.spec;
83
- }
84
- else {
85
- resourceInputs["apiVersion"] = undefined /*out*/;
86
- resourceInputs["kind"] = undefined /*out*/;
87
- resourceInputs["metadata"] = undefined /*out*/;
88
- resourceInputs["spec"] = undefined /*out*/;
89
- }
90
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
91
- const aliasOpts = { aliases: [{ type: "kubernetes:cilium.io/v2:CiliumEnvoyConfig" }] };
92
- opts = pulumi.mergeOptions(opts, aliasOpts);
93
- super(CiliumEnvoyConfig.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
94
- }
95
- }
96
- exports.CiliumEnvoyConfig = CiliumEnvoyConfig;