@kilic.dev/pulumi-k8s-crds 1.3.0 → 1.4.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.
Files changed (63) hide show
  1. package/dist/gateway/index.d.ts +3 -1
  2. package/dist/gateway/index.js +5 -1
  3. package/dist/gateway/v1alpha1/backend.d.ts +66 -0
  4. package/dist/gateway/v1alpha1/backend.js +111 -0
  5. package/dist/gateway/v1alpha1/backendList.d.ts +69 -0
  6. package/dist/gateway/v1alpha1/backendList.js +113 -0
  7. package/dist/gateway/v1alpha1/backendPatch.d.ts +72 -0
  8. package/dist/gateway/v1alpha1/backendPatch.js +117 -0
  9. package/dist/gateway/v1alpha1/backendTrafficPolicy.d.ts +66 -0
  10. package/dist/gateway/v1alpha1/backendTrafficPolicy.js +111 -0
  11. package/dist/gateway/v1alpha1/backendTrafficPolicyList.d.ts +69 -0
  12. package/dist/gateway/v1alpha1/backendTrafficPolicyList.js +113 -0
  13. package/dist/gateway/v1alpha1/backendTrafficPolicyPatch.d.ts +72 -0
  14. package/dist/gateway/v1alpha1/backendTrafficPolicyPatch.js +117 -0
  15. package/dist/gateway/v1alpha1/clientTrafficPolicy.d.ts +66 -0
  16. package/dist/gateway/v1alpha1/clientTrafficPolicy.js +111 -0
  17. package/dist/gateway/v1alpha1/clientTrafficPolicyList.d.ts +69 -0
  18. package/dist/gateway/v1alpha1/clientTrafficPolicyList.js +113 -0
  19. package/dist/gateway/v1alpha1/clientTrafficPolicyPatch.d.ts +72 -0
  20. package/dist/gateway/v1alpha1/clientTrafficPolicyPatch.js +117 -0
  21. package/dist/gateway/v1alpha1/envoyExtensionPolicy.d.ts +65 -0
  22. package/dist/gateway/v1alpha1/envoyExtensionPolicy.js +110 -0
  23. package/dist/gateway/v1alpha1/envoyExtensionPolicyList.d.ts +69 -0
  24. package/dist/gateway/v1alpha1/envoyExtensionPolicyList.js +113 -0
  25. package/dist/gateway/v1alpha1/envoyExtensionPolicyPatch.d.ts +71 -0
  26. package/dist/gateway/v1alpha1/envoyExtensionPolicyPatch.js +116 -0
  27. package/dist/gateway/v1alpha1/envoyPatchPolicy.d.ts +66 -0
  28. package/dist/gateway/v1alpha1/envoyPatchPolicy.js +111 -0
  29. package/dist/gateway/v1alpha1/envoyPatchPolicyList.d.ts +69 -0
  30. package/dist/gateway/v1alpha1/envoyPatchPolicyList.js +113 -0
  31. package/dist/gateway/v1alpha1/envoyPatchPolicyPatch.d.ts +72 -0
  32. package/dist/gateway/v1alpha1/envoyPatchPolicyPatch.js +117 -0
  33. package/dist/gateway/v1alpha1/envoyProxy.d.ts +70 -0
  34. package/dist/gateway/v1alpha1/envoyProxy.js +113 -0
  35. package/dist/gateway/v1alpha1/envoyProxyList.d.ts +69 -0
  36. package/dist/gateway/v1alpha1/envoyProxyList.js +113 -0
  37. package/dist/gateway/v1alpha1/envoyProxyPatch.d.ts +76 -0
  38. package/dist/gateway/v1alpha1/envoyProxyPatch.js +119 -0
  39. package/dist/gateway/v1alpha1/httprouteFilter.d.ts +65 -0
  40. package/dist/gateway/v1alpha1/httprouteFilter.js +108 -0
  41. package/dist/gateway/v1alpha1/httprouteFilterList.d.ts +69 -0
  42. package/dist/gateway/v1alpha1/httprouteFilterList.js +113 -0
  43. package/dist/gateway/v1alpha1/httprouteFilterPatch.d.ts +71 -0
  44. package/dist/gateway/v1alpha1/httprouteFilterPatch.js +114 -0
  45. package/dist/gateway/v1alpha1/index.d.ts +72 -0
  46. package/dist/gateway/v1alpha1/index.js +146 -0
  47. package/dist/gateway/v1alpha1/securityPolicy.d.ts +66 -0
  48. package/dist/gateway/v1alpha1/securityPolicy.js +111 -0
  49. package/dist/gateway/v1alpha1/securityPolicyList.d.ts +69 -0
  50. package/dist/gateway/v1alpha1/securityPolicyList.js +113 -0
  51. package/dist/gateway/v1alpha1/securityPolicyPatch.d.ts +72 -0
  52. package/dist/gateway/v1alpha1/securityPolicyPatch.js +117 -0
  53. package/dist/gateway/v1alpha3/backendTLSPolicy.d.ts +66 -0
  54. package/dist/gateway/v1alpha3/backendTLSPolicy.js +111 -0
  55. package/dist/gateway/v1alpha3/backendTLSPolicyList.d.ts +69 -0
  56. package/dist/gateway/v1alpha3/backendTLSPolicyList.js +113 -0
  57. package/dist/gateway/v1alpha3/backendTLSPolicyPatch.d.ts +72 -0
  58. package/dist/gateway/v1alpha3/backendTLSPolicyPatch.js +117 -0
  59. package/dist/gateway/v1alpha3/index.d.ts +9 -0
  60. package/dist/gateway/v1alpha3/index.js +62 -0
  61. package/dist/types/input.d.ts +28385 -0
  62. package/dist/types/output.d.ts +31087 -1030
  63. package/package.json +1 -1
@@ -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 { 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
+ * EnvoyPatchPolicy allows the user to modify the generated Envoy xDS
13
+ * resources by Envoy Gateway using this patch API
14
+ */
15
+ export declare class EnvoyPatchPolicyPatch extends pulumi.CustomResource {
16
+ /**
17
+ * Get an existing EnvoyPatchPolicyPatch resource's state with the given name, ID, and optional extra
18
+ * properties used to qualify the lookup.
19
+ *
20
+ * @param name The _unique_ name of the resulting resource.
21
+ * @param id The _unique_ provider ID of the resource to lookup.
22
+ * @param opts Optional settings to control the behavior of the CustomResource.
23
+ */
24
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): EnvoyPatchPolicyPatch;
25
+ /** @internal */
26
+ static readonly __pulumiType = "kubernetes:gateway.envoyproxy.io/v1alpha1:EnvoyPatchPolicyPatch";
27
+ /**
28
+ * Returns true if the given object is an instance of EnvoyPatchPolicyPatch. This is designed to work even
29
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
30
+ */
31
+ static isInstance(obj: any): obj is EnvoyPatchPolicyPatch;
32
+ /**
33
+ * 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
34
+ */
35
+ readonly apiVersion: pulumi.Output<"gateway.envoyproxy.io/v1alpha1">;
36
+ /**
37
+ * 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
38
+ */
39
+ readonly kind: pulumi.Output<"EnvoyPatchPolicy">;
40
+ /**
41
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
42
+ */
43
+ readonly metadata: pulumi.Output<ObjectMetaPatch>;
44
+ readonly spec: pulumi.Output<outputs.gateway.v1alpha1.EnvoyPatchPolicySpecPatch>;
45
+ readonly status: pulumi.Output<outputs.gateway.v1alpha1.EnvoyPatchPolicyStatusPatch>;
46
+ /**
47
+ * Create a EnvoyPatchPolicyPatch resource with the given unique name, arguments, and options.
48
+ *
49
+ * @param name The _unique_ name of the resource.
50
+ * @param args The arguments to use to populate this resource's properties.
51
+ * @param opts A bag of options that control this resource's behavior.
52
+ */
53
+ constructor(name: string, args?: EnvoyPatchPolicyPatchArgs, opts?: pulumi.CustomResourceOptions);
54
+ }
55
+ /**
56
+ * The set of arguments for constructing a EnvoyPatchPolicyPatch resource.
57
+ */
58
+ export interface EnvoyPatchPolicyPatchArgs {
59
+ /**
60
+ * 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
61
+ */
62
+ apiVersion?: pulumi.Input<"gateway.envoyproxy.io/v1alpha1">;
63
+ /**
64
+ * 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
65
+ */
66
+ kind?: pulumi.Input<"EnvoyPatchPolicy">;
67
+ /**
68
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
69
+ */
70
+ metadata?: pulumi.Input<ObjectMetaPatch>;
71
+ spec?: pulumi.Input<inputs.gateway.v1alpha1.EnvoyPatchPolicySpecPatch>;
72
+ }
@@ -0,0 +1,117 @@
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
+ 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.EnvoyPatchPolicyPatch = 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
+ * EnvoyPatchPolicy allows the user to modify the generated Envoy xDS
49
+ * resources by Envoy Gateway using this patch API
50
+ */
51
+ class EnvoyPatchPolicyPatch extends pulumi.CustomResource {
52
+ /**
53
+ * Get an existing EnvoyPatchPolicyPatch resource's state with the given name, ID, and optional extra
54
+ * properties used to qualify the lookup.
55
+ *
56
+ * @param name The _unique_ name of the resulting resource.
57
+ * @param id The _unique_ provider ID of the resource to lookup.
58
+ * @param opts Optional settings to control the behavior of the CustomResource.
59
+ */
60
+ static get(name, id, opts) {
61
+ return new EnvoyPatchPolicyPatch(name, undefined, { ...opts, id: id });
62
+ }
63
+ /** @internal */
64
+ static __pulumiType = 'kubernetes:gateway.envoyproxy.io/v1alpha1:EnvoyPatchPolicyPatch';
65
+ /**
66
+ * Returns true if the given object is an instance of EnvoyPatchPolicyPatch. This is designed to work even
67
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
68
+ */
69
+ static isInstance(obj) {
70
+ if (obj === undefined || obj === null) {
71
+ return false;
72
+ }
73
+ return obj['__pulumiType'] === EnvoyPatchPolicyPatch.__pulumiType;
74
+ }
75
+ /**
76
+ * 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
77
+ */
78
+ apiVersion;
79
+ /**
80
+ * 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
81
+ */
82
+ kind;
83
+ /**
84
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
85
+ */
86
+ metadata;
87
+ spec;
88
+ status;
89
+ /**
90
+ * Create a EnvoyPatchPolicyPatch resource with the given unique name, arguments, and options.
91
+ *
92
+ * @param name The _unique_ name of the resource.
93
+ * @param args The arguments to use to populate this resource's properties.
94
+ * @param opts A bag of options that control this resource's behavior.
95
+ */
96
+ constructor(name, args, opts) {
97
+ let resourceInputs = {};
98
+ opts = opts || {};
99
+ if (!opts.id) {
100
+ resourceInputs["apiVersion"] = "gateway.envoyproxy.io/v1alpha1";
101
+ resourceInputs["kind"] = "EnvoyPatchPolicy";
102
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
103
+ resourceInputs["spec"] = args ? args.spec : undefined;
104
+ resourceInputs["status"] = undefined /*out*/;
105
+ }
106
+ else {
107
+ resourceInputs["apiVersion"] = undefined /*out*/;
108
+ resourceInputs["kind"] = undefined /*out*/;
109
+ resourceInputs["metadata"] = undefined /*out*/;
110
+ resourceInputs["spec"] = undefined /*out*/;
111
+ resourceInputs["status"] = undefined /*out*/;
112
+ }
113
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
114
+ super(EnvoyPatchPolicyPatch.__pulumiType, name, resourceInputs, opts);
115
+ }
116
+ }
117
+ exports.EnvoyPatchPolicyPatch = EnvoyPatchPolicyPatch;
@@ -0,0 +1,70 @@
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
+ * EnvoyProxy is the schema for the envoyproxies API.
7
+ */
8
+ export declare class EnvoyProxy extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing EnvoyProxy 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): EnvoyProxy;
18
+ /** @internal */
19
+ static readonly __pulumiType = "kubernetes:gateway.envoyproxy.io/v1alpha1:EnvoyProxy";
20
+ /**
21
+ * Returns true if the given object is an instance of EnvoyProxy. 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 EnvoyProxy;
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<"gateway.envoyproxy.io/v1alpha1">;
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<"EnvoyProxy">;
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.gateway.v1alpha1.EnvoyProxySpec>;
38
+ /**
39
+ * EnvoyProxyStatus defines the actual state of EnvoyProxy.
40
+ */
41
+ readonly status: pulumi.Output<{
42
+ [key: string]: string;
43
+ }>;
44
+ /**
45
+ * Create a EnvoyProxy resource with the given unique name, arguments, and options.
46
+ *
47
+ * @param name The _unique_ name of the resource.
48
+ * @param args The arguments to use to populate this resource's properties.
49
+ * @param opts A bag of options that control this resource's behavior.
50
+ */
51
+ constructor(name: string, args?: EnvoyProxyArgs, opts?: pulumi.CustomResourceOptions);
52
+ }
53
+ /**
54
+ * The set of arguments for constructing a EnvoyProxy resource.
55
+ */
56
+ export interface EnvoyProxyArgs {
57
+ /**
58
+ * 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
59
+ */
60
+ apiVersion?: pulumi.Input<"gateway.envoyproxy.io/v1alpha1">;
61
+ /**
62
+ * 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
63
+ */
64
+ kind?: pulumi.Input<"EnvoyProxy">;
65
+ /**
66
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
67
+ */
68
+ metadata?: pulumi.Input<ObjectMeta>;
69
+ spec?: pulumi.Input<inputs.gateway.v1alpha1.EnvoyProxySpec>;
70
+ }
@@ -0,0 +1,113 @@
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
+ 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.EnvoyProxy = void 0;
39
+ const pulumi = __importStar(require("@pulumi/pulumi"));
40
+ const utilities = __importStar(require("../../utilities"));
41
+ /**
42
+ * EnvoyProxy is the schema for the envoyproxies API.
43
+ */
44
+ class EnvoyProxy extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing EnvoyProxy 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 EnvoyProxy(name, undefined, { ...opts, id: id });
55
+ }
56
+ /** @internal */
57
+ static __pulumiType = 'kubernetes:gateway.envoyproxy.io/v1alpha1:EnvoyProxy';
58
+ /**
59
+ * Returns true if the given object is an instance of EnvoyProxy. 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'] === EnvoyProxy.__pulumiType;
67
+ }
68
+ /**
69
+ * 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
70
+ */
71
+ apiVersion;
72
+ /**
73
+ * 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
74
+ */
75
+ kind;
76
+ /**
77
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
78
+ */
79
+ metadata;
80
+ spec;
81
+ /**
82
+ * EnvoyProxyStatus defines the actual state of EnvoyProxy.
83
+ */
84
+ status;
85
+ /**
86
+ * Create a EnvoyProxy resource with the given unique name, arguments, and options.
87
+ *
88
+ * @param name The _unique_ name of the resource.
89
+ * @param args The arguments to use to populate this resource's properties.
90
+ * @param opts A bag of options that control this resource's behavior.
91
+ */
92
+ constructor(name, args, opts) {
93
+ let resourceInputs = {};
94
+ opts = opts || {};
95
+ if (!opts.id) {
96
+ resourceInputs["apiVersion"] = "gateway.envoyproxy.io/v1alpha1";
97
+ resourceInputs["kind"] = "EnvoyProxy";
98
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
99
+ resourceInputs["spec"] = args ? args.spec : undefined;
100
+ resourceInputs["status"] = undefined /*out*/;
101
+ }
102
+ else {
103
+ resourceInputs["apiVersion"] = undefined /*out*/;
104
+ resourceInputs["kind"] = undefined /*out*/;
105
+ resourceInputs["metadata"] = undefined /*out*/;
106
+ resourceInputs["spec"] = undefined /*out*/;
107
+ resourceInputs["status"] = undefined /*out*/;
108
+ }
109
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
110
+ super(EnvoyProxy.__pulumiType, name, resourceInputs, opts);
111
+ }
112
+ }
113
+ exports.EnvoyProxy = EnvoyProxy;
@@ -0,0 +1,69 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * EnvoyProxyList is a list of EnvoyProxy
6
+ */
7
+ export declare class EnvoyProxyList extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing EnvoyProxyList 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): EnvoyProxyList;
17
+ /** @internal */
18
+ static readonly __pulumiType = "kubernetes:gateway.envoyproxy.io/v1alpha1:EnvoyProxyList";
19
+ /**
20
+ * Returns true if the given object is an instance of EnvoyProxyList. 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 EnvoyProxyList;
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<"gateway.envoyproxy.io/v1alpha1">;
28
+ /**
29
+ * List of envoyproxies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
30
+ */
31
+ readonly items: pulumi.Output<outputs.gateway.v1alpha1.EnvoyProxy[]>;
32
+ /**
33
+ * 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
34
+ */
35
+ readonly kind: pulumi.Output<"EnvoyProxyList">;
36
+ /**
37
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
38
+ */
39
+ readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
40
+ /**
41
+ * Create a EnvoyProxyList resource with the given unique name, arguments, and options.
42
+ *
43
+ * @param name The _unique_ name of the resource.
44
+ * @param args The arguments to use to populate this resource's properties.
45
+ * @param opts A bag of options that control this resource's behavior.
46
+ */
47
+ constructor(name: string, args?: EnvoyProxyListArgs, opts?: pulumi.CustomResourceOptions);
48
+ }
49
+ /**
50
+ * The set of arguments for constructing a EnvoyProxyList resource.
51
+ */
52
+ export interface EnvoyProxyListArgs {
53
+ /**
54
+ * 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
55
+ */
56
+ apiVersion?: pulumi.Input<"gateway.envoyproxy.io/v1alpha1">;
57
+ /**
58
+ * List of envoyproxies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
59
+ */
60
+ items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha1.EnvoyProxy>[]>;
61
+ /**
62
+ * 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
63
+ */
64
+ kind?: pulumi.Input<"EnvoyProxyList">;
65
+ /**
66
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
67
+ */
68
+ metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
69
+ }
@@ -0,0 +1,113 @@
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
+ 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.EnvoyProxyList = void 0;
39
+ const pulumi = __importStar(require("@pulumi/pulumi"));
40
+ const utilities = __importStar(require("../../utilities"));
41
+ /**
42
+ * EnvoyProxyList is a list of EnvoyProxy
43
+ */
44
+ class EnvoyProxyList extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing EnvoyProxyList 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 EnvoyProxyList(name, undefined, { ...opts, id: id });
55
+ }
56
+ /** @internal */
57
+ static __pulumiType = 'kubernetes:gateway.envoyproxy.io/v1alpha1:EnvoyProxyList';
58
+ /**
59
+ * Returns true if the given object is an instance of EnvoyProxyList. 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'] === EnvoyProxyList.__pulumiType;
67
+ }
68
+ /**
69
+ * 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
70
+ */
71
+ apiVersion;
72
+ /**
73
+ * List of envoyproxies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
74
+ */
75
+ items;
76
+ /**
77
+ * 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
78
+ */
79
+ kind;
80
+ /**
81
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
82
+ */
83
+ metadata;
84
+ /**
85
+ * Create a EnvoyProxyList resource with the given unique name, arguments, and options.
86
+ *
87
+ * @param name The _unique_ name of the resource.
88
+ * @param args The arguments to use to populate this resource's properties.
89
+ * @param opts A bag of options that control this resource's behavior.
90
+ */
91
+ constructor(name, args, opts) {
92
+ let resourceInputs = {};
93
+ opts = opts || {};
94
+ if (!opts.id) {
95
+ if ((!args || args.items === undefined) && !opts.urn) {
96
+ throw new Error("Missing required property 'items'");
97
+ }
98
+ resourceInputs["apiVersion"] = "gateway.envoyproxy.io/v1alpha1";
99
+ resourceInputs["items"] = args ? args.items : undefined;
100
+ resourceInputs["kind"] = "EnvoyProxyList";
101
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
102
+ }
103
+ else {
104
+ resourceInputs["apiVersion"] = undefined /*out*/;
105
+ resourceInputs["items"] = undefined /*out*/;
106
+ resourceInputs["kind"] = undefined /*out*/;
107
+ resourceInputs["metadata"] = undefined /*out*/;
108
+ }
109
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
110
+ super(EnvoyProxyList.__pulumiType, name, resourceInputs, opts);
111
+ }
112
+ }
113
+ exports.EnvoyProxyList = EnvoyProxyList;
@@ -0,0 +1,76 @@
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
+ * EnvoyProxy is the schema for the envoyproxies API.
13
+ */
14
+ export declare class EnvoyProxyPatch extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing EnvoyProxyPatch resource's state with the given name, ID, and optional extra
17
+ * properties used to qualify the lookup.
18
+ *
19
+ * @param name The _unique_ name of the resulting resource.
20
+ * @param id The _unique_ provider ID of the resource to lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): EnvoyProxyPatch;
24
+ /** @internal */
25
+ static readonly __pulumiType = "kubernetes:gateway.envoyproxy.io/v1alpha1:EnvoyProxyPatch";
26
+ /**
27
+ * Returns true if the given object is an instance of EnvoyProxyPatch. 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 EnvoyProxyPatch;
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<"gateway.envoyproxy.io/v1alpha1">;
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<"EnvoyProxy">;
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.gateway.v1alpha1.EnvoyProxySpecPatch>;
44
+ /**
45
+ * EnvoyProxyStatus defines the actual state of EnvoyProxy.
46
+ */
47
+ readonly status: pulumi.Output<{
48
+ [key: string]: string;
49
+ }>;
50
+ /**
51
+ * Create a EnvoyProxyPatch resource with the given unique name, arguments, and options.
52
+ *
53
+ * @param name The _unique_ name of the resource.
54
+ * @param args The arguments to use to populate this resource's properties.
55
+ * @param opts A bag of options that control this resource's behavior.
56
+ */
57
+ constructor(name: string, args?: EnvoyProxyPatchArgs, opts?: pulumi.CustomResourceOptions);
58
+ }
59
+ /**
60
+ * The set of arguments for constructing a EnvoyProxyPatch resource.
61
+ */
62
+ export interface EnvoyProxyPatchArgs {
63
+ /**
64
+ * 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
65
+ */
66
+ apiVersion?: pulumi.Input<"gateway.envoyproxy.io/v1alpha1">;
67
+ /**
68
+ * 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
69
+ */
70
+ kind?: pulumi.Input<"EnvoyProxy">;
71
+ /**
72
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
73
+ */
74
+ metadata?: pulumi.Input<ObjectMetaPatch>;
75
+ spec?: pulumi.Input<inputs.gateway.v1alpha1.EnvoyProxySpecPatch>;
76
+ }