pulumi-extra-crds 1.0.0 → 1.0.13

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 (248) hide show
  1. package/.crd2pulumi-checksum +1 -0
  2. package/.github/workflows/generate.yml +31 -28
  3. package/CHANGELOG.md +100 -0
  4. package/LICENSE +201 -0
  5. package/README.md +325 -0
  6. package/crd2pulumi.tar.gz +0 -0
  7. package/generated/crds/README.md +14 -0
  8. package/generated/crds/acme/index.d.ts +2 -0
  9. package/generated/crds/acme/index.js +8 -0
  10. package/generated/crds/acme/index.ts +11 -0
  11. package/generated/crds/acme/v1/challenge.d.ts +64 -0
  12. package/generated/crds/acme/v1/challenge.js +63 -0
  13. package/generated/crds/acme/v1/challenge.ts +99 -0
  14. package/generated/crds/acme/v1/challengeList.d.ts +69 -0
  15. package/generated/crds/acme/v1/challengeList.js +64 -0
  16. package/generated/crds/acme/v1/challengeList.ts +105 -0
  17. package/generated/crds/acme/v1/challengePatch.d.ts +70 -0
  18. package/generated/crds/acme/v1/challengePatch.js +69 -0
  19. package/generated/crds/acme/v1/challengePatch.ts +105 -0
  20. package/generated/crds/acme/v1/index.d.ts +18 -0
  21. package/generated/crds/acme/v1/index.js +41 -0
  22. package/generated/crds/acme/v1/index.ts +60 -0
  23. package/generated/crds/acme/v1/order.d.ts +64 -0
  24. package/generated/crds/acme/v1/order.js +63 -0
  25. package/generated/crds/acme/v1/order.ts +99 -0
  26. package/generated/crds/acme/v1/orderList.d.ts +69 -0
  27. package/generated/crds/acme/v1/orderList.js +64 -0
  28. package/generated/crds/acme/v1/orderList.ts +105 -0
  29. package/generated/crds/acme/v1/orderPatch.d.ts +70 -0
  30. package/generated/crds/acme/v1/orderPatch.js +69 -0
  31. package/generated/crds/acme/v1/orderPatch.ts +105 -0
  32. package/generated/crds/cert_manager/index.d.ts +2 -0
  33. package/generated/crds/cert_manager/index.js +8 -0
  34. package/generated/crds/cert_manager/index.ts +11 -0
  35. package/generated/crds/cert_manager/v1/certificate.d.ts +67 -0
  36. package/generated/crds/cert_manager/v1/certificate.js +66 -0
  37. package/generated/crds/cert_manager/v1/certificate.ts +102 -0
  38. package/generated/crds/cert_manager/v1/certificateList.d.ts +69 -0
  39. package/generated/crds/cert_manager/v1/certificateList.js +64 -0
  40. package/generated/crds/cert_manager/v1/certificateList.ts +105 -0
  41. package/generated/crds/cert_manager/v1/certificatePatch.d.ts +73 -0
  42. package/generated/crds/cert_manager/v1/certificatePatch.js +72 -0
  43. package/generated/crds/cert_manager/v1/certificatePatch.ts +108 -0
  44. package/generated/crds/cert_manager/v1/certificateRequest.d.ts +72 -0
  45. package/generated/crds/cert_manager/v1/certificateRequest.js +71 -0
  46. package/generated/crds/cert_manager/v1/certificateRequest.ts +107 -0
  47. package/generated/crds/cert_manager/v1/certificateRequestList.d.ts +69 -0
  48. package/generated/crds/cert_manager/v1/certificateRequestList.js +64 -0
  49. package/generated/crds/cert_manager/v1/certificateRequestList.ts +105 -0
  50. package/generated/crds/cert_manager/v1/certificateRequestPatch.d.ts +78 -0
  51. package/generated/crds/cert_manager/v1/certificateRequestPatch.js +77 -0
  52. package/generated/crds/cert_manager/v1/certificateRequestPatch.ts +113 -0
  53. package/generated/crds/cert_manager/v1/clusterIssuer.d.ts +68 -0
  54. package/generated/crds/cert_manager/v1/clusterIssuer.js +67 -0
  55. package/generated/crds/cert_manager/v1/clusterIssuer.ts +103 -0
  56. package/generated/crds/cert_manager/v1/clusterIssuerList.d.ts +69 -0
  57. package/generated/crds/cert_manager/v1/clusterIssuerList.js +64 -0
  58. package/generated/crds/cert_manager/v1/clusterIssuerList.ts +105 -0
  59. package/generated/crds/cert_manager/v1/clusterIssuerPatch.d.ts +74 -0
  60. package/generated/crds/cert_manager/v1/clusterIssuerPatch.js +73 -0
  61. package/generated/crds/cert_manager/v1/clusterIssuerPatch.ts +109 -0
  62. package/generated/crds/cert_manager/v1/index.d.ts +36 -0
  63. package/generated/crds/cert_manager/v1/index.js +65 -0
  64. package/generated/crds/cert_manager/v1/index.ts +102 -0
  65. package/generated/crds/cert_manager/v1/issuer.d.ts +67 -0
  66. package/generated/crds/cert_manager/v1/issuer.js +66 -0
  67. package/generated/crds/cert_manager/v1/issuer.ts +102 -0
  68. package/generated/crds/cert_manager/v1/issuerList.d.ts +69 -0
  69. package/generated/crds/cert_manager/v1/issuerList.js +64 -0
  70. package/generated/crds/cert_manager/v1/issuerList.ts +105 -0
  71. package/generated/crds/cert_manager/v1/issuerPatch.d.ts +73 -0
  72. package/generated/crds/cert_manager/v1/issuerPatch.js +72 -0
  73. package/generated/crds/cert_manager/v1/issuerPatch.ts +108 -0
  74. package/generated/crds/gateway/index.d.ts +5 -0
  75. package/generated/crds/gateway/index.js +14 -0
  76. package/generated/crds/gateway/index.ts +17 -0
  77. package/generated/crds/gateway/v1/gateway.d.ts +65 -0
  78. package/generated/crds/gateway/v1/gateway.js +66 -0
  79. package/generated/crds/gateway/v1/gateway.ts +102 -0
  80. package/generated/crds/gateway/v1/gatewayClass.d.ts +80 -0
  81. package/generated/crds/gateway/v1/gatewayClass.js +81 -0
  82. package/generated/crds/gateway/v1/gatewayClass.ts +117 -0
  83. package/generated/crds/gateway/v1/gatewayClassList.d.ts +69 -0
  84. package/generated/crds/gateway/v1/gatewayClassList.js +64 -0
  85. package/generated/crds/gateway/v1/gatewayClassList.ts +105 -0
  86. package/generated/crds/gateway/v1/gatewayClassPatch.d.ts +86 -0
  87. package/generated/crds/gateway/v1/gatewayClassPatch.js +87 -0
  88. package/generated/crds/gateway/v1/gatewayClassPatch.ts +123 -0
  89. package/generated/crds/gateway/v1/gatewayList.d.ts +69 -0
  90. package/generated/crds/gateway/v1/gatewayList.js +64 -0
  91. package/generated/crds/gateway/v1/gatewayList.ts +105 -0
  92. package/generated/crds/gateway/v1/gatewayPatch.d.ts +71 -0
  93. package/generated/crds/gateway/v1/gatewayPatch.js +72 -0
  94. package/generated/crds/gateway/v1/gatewayPatch.ts +108 -0
  95. package/generated/crds/gateway/v1/grpcroute.d.ts +90 -0
  96. package/generated/crds/gateway/v1/grpcroute.js +91 -0
  97. package/generated/crds/gateway/v1/grpcroute.ts +127 -0
  98. package/generated/crds/gateway/v1/grpcrouteList.d.ts +69 -0
  99. package/generated/crds/gateway/v1/grpcrouteList.js +64 -0
  100. package/generated/crds/gateway/v1/grpcrouteList.ts +105 -0
  101. package/generated/crds/gateway/v1/grpcroutePatch.d.ts +96 -0
  102. package/generated/crds/gateway/v1/grpcroutePatch.js +97 -0
  103. package/generated/crds/gateway/v1/grpcroutePatch.ts +133 -0
  104. package/generated/crds/gateway/v1/httproute.d.ts +67 -0
  105. package/generated/crds/gateway/v1/httproute.js +68 -0
  106. package/generated/crds/gateway/v1/httproute.ts +104 -0
  107. package/generated/crds/gateway/v1/httprouteList.d.ts +69 -0
  108. package/generated/crds/gateway/v1/httprouteList.js +64 -0
  109. package/generated/crds/gateway/v1/httprouteList.ts +105 -0
  110. package/generated/crds/gateway/v1/httproutePatch.d.ts +73 -0
  111. package/generated/crds/gateway/v1/httproutePatch.js +74 -0
  112. package/generated/crds/gateway/v1/httproutePatch.ts +110 -0
  113. package/generated/crds/gateway/v1/index.d.ts +36 -0
  114. package/generated/crds/gateway/v1/index.js +65 -0
  115. package/generated/crds/gateway/v1/index.ts +102 -0
  116. package/generated/crds/gateway/v1alpha2/backendLBPolicy.d.ts +65 -0
  117. package/generated/crds/gateway/v1alpha2/backendLBPolicy.js +64 -0
  118. package/generated/crds/gateway/v1alpha2/backendLBPolicy.ts +100 -0
  119. package/generated/crds/gateway/v1alpha2/backendLBPolicyList.d.ts +69 -0
  120. package/generated/crds/gateway/v1alpha2/backendLBPolicyList.js +64 -0
  121. package/generated/crds/gateway/v1alpha2/backendLBPolicyList.ts +105 -0
  122. package/generated/crds/gateway/v1alpha2/backendLBPolicyPatch.d.ts +71 -0
  123. package/generated/crds/gateway/v1alpha2/backendLBPolicyPatch.js +70 -0
  124. package/generated/crds/gateway/v1alpha2/backendLBPolicyPatch.ts +106 -0
  125. package/generated/crds/gateway/v1alpha2/grpcroute.d.ts +90 -0
  126. package/generated/crds/gateway/v1alpha2/grpcroute.js +91 -0
  127. package/generated/crds/gateway/v1alpha2/grpcroute.ts +127 -0
  128. package/generated/crds/gateway/v1alpha2/grpcrouteList.d.ts +69 -0
  129. package/generated/crds/gateway/v1alpha2/grpcrouteList.js +64 -0
  130. package/generated/crds/gateway/v1alpha2/grpcrouteList.ts +105 -0
  131. package/generated/crds/gateway/v1alpha2/grpcroutePatch.d.ts +96 -0
  132. package/generated/crds/gateway/v1alpha2/grpcroutePatch.js +97 -0
  133. package/generated/crds/gateway/v1alpha2/grpcroutePatch.ts +133 -0
  134. package/generated/crds/gateway/v1alpha2/index.d.ts +54 -0
  135. package/generated/crds/gateway/v1alpha2/index.js +89 -0
  136. package/generated/crds/gateway/v1alpha2/index.ts +144 -0
  137. package/generated/crds/gateway/v1alpha2/referenceGrant.d.ts +82 -0
  138. package/generated/crds/gateway/v1alpha2/referenceGrant.js +82 -0
  139. package/generated/crds/gateway/v1alpha2/referenceGrant.ts +117 -0
  140. package/generated/crds/gateway/v1alpha2/referenceGrantList.d.ts +69 -0
  141. package/generated/crds/gateway/v1alpha2/referenceGrantList.js +64 -0
  142. package/generated/crds/gateway/v1alpha2/referenceGrantList.ts +105 -0
  143. package/generated/crds/gateway/v1alpha2/referenceGrantPatch.d.ts +88 -0
  144. package/generated/crds/gateway/v1alpha2/referenceGrantPatch.js +88 -0
  145. package/generated/crds/gateway/v1alpha2/referenceGrantPatch.ts +123 -0
  146. package/generated/crds/gateway/v1alpha2/tcproute.d.ts +66 -0
  147. package/generated/crds/gateway/v1alpha2/tcproute.js +65 -0
  148. package/generated/crds/gateway/v1alpha2/tcproute.ts +101 -0
  149. package/generated/crds/gateway/v1alpha2/tcprouteList.d.ts +69 -0
  150. package/generated/crds/gateway/v1alpha2/tcprouteList.js +64 -0
  151. package/generated/crds/gateway/v1alpha2/tcprouteList.ts +105 -0
  152. package/generated/crds/gateway/v1alpha2/tcproutePatch.d.ts +72 -0
  153. package/generated/crds/gateway/v1alpha2/tcproutePatch.js +71 -0
  154. package/generated/crds/gateway/v1alpha2/tcproutePatch.ts +107 -0
  155. package/generated/crds/gateway/v1alpha2/tlsroute.d.ts +69 -0
  156. package/generated/crds/gateway/v1alpha2/tlsroute.js +68 -0
  157. package/generated/crds/gateway/v1alpha2/tlsroute.ts +104 -0
  158. package/generated/crds/gateway/v1alpha2/tlsrouteList.d.ts +69 -0
  159. package/generated/crds/gateway/v1alpha2/tlsrouteList.js +64 -0
  160. package/generated/crds/gateway/v1alpha2/tlsrouteList.ts +105 -0
  161. package/generated/crds/gateway/v1alpha2/tlsroutePatch.d.ts +75 -0
  162. package/generated/crds/gateway/v1alpha2/tlsroutePatch.js +74 -0
  163. package/generated/crds/gateway/v1alpha2/tlsroutePatch.ts +110 -0
  164. package/generated/crds/gateway/v1alpha2/udproute.d.ts +66 -0
  165. package/generated/crds/gateway/v1alpha2/udproute.js +65 -0
  166. package/generated/crds/gateway/v1alpha2/udproute.ts +101 -0
  167. package/generated/crds/gateway/v1alpha2/udprouteList.d.ts +69 -0
  168. package/generated/crds/gateway/v1alpha2/udprouteList.js +64 -0
  169. package/generated/crds/gateway/v1alpha2/udprouteList.ts +105 -0
  170. package/generated/crds/gateway/v1alpha2/udproutePatch.d.ts +72 -0
  171. package/generated/crds/gateway/v1alpha2/udproutePatch.js +71 -0
  172. package/generated/crds/gateway/v1alpha2/udproutePatch.ts +107 -0
  173. package/generated/crds/gateway/v1alpha3/backendTLSPolicy.d.ts +65 -0
  174. package/generated/crds/gateway/v1alpha3/backendTLSPolicy.js +64 -0
  175. package/generated/crds/gateway/v1alpha3/backendTLSPolicy.ts +100 -0
  176. package/generated/crds/gateway/v1alpha3/backendTLSPolicyList.d.ts +69 -0
  177. package/generated/crds/gateway/v1alpha3/backendTLSPolicyList.js +64 -0
  178. package/generated/crds/gateway/v1alpha3/backendTLSPolicyList.ts +105 -0
  179. package/generated/crds/gateway/v1alpha3/backendTLSPolicyPatch.d.ts +71 -0
  180. package/generated/crds/gateway/v1alpha3/backendTLSPolicyPatch.js +70 -0
  181. package/generated/crds/gateway/v1alpha3/backendTLSPolicyPatch.ts +106 -0
  182. package/generated/crds/gateway/v1alpha3/index.d.ts +9 -0
  183. package/generated/crds/gateway/v1alpha3/index.js +29 -0
  184. package/generated/crds/gateway/v1alpha3/index.ts +39 -0
  185. package/generated/crds/gateway/v1beta1/gateway.d.ts +65 -0
  186. package/generated/crds/gateway/v1beta1/gateway.js +66 -0
  187. package/generated/crds/gateway/v1beta1/gateway.ts +102 -0
  188. package/generated/crds/gateway/v1beta1/gatewayClass.d.ts +80 -0
  189. package/generated/crds/gateway/v1beta1/gatewayClass.js +81 -0
  190. package/generated/crds/gateway/v1beta1/gatewayClass.ts +117 -0
  191. package/generated/crds/gateway/v1beta1/gatewayClassList.d.ts +69 -0
  192. package/generated/crds/gateway/v1beta1/gatewayClassList.js +64 -0
  193. package/generated/crds/gateway/v1beta1/gatewayClassList.ts +105 -0
  194. package/generated/crds/gateway/v1beta1/gatewayClassPatch.d.ts +86 -0
  195. package/generated/crds/gateway/v1beta1/gatewayClassPatch.js +87 -0
  196. package/generated/crds/gateway/v1beta1/gatewayClassPatch.ts +123 -0
  197. package/generated/crds/gateway/v1beta1/gatewayList.d.ts +69 -0
  198. package/generated/crds/gateway/v1beta1/gatewayList.js +64 -0
  199. package/generated/crds/gateway/v1beta1/gatewayList.ts +105 -0
  200. package/generated/crds/gateway/v1beta1/gatewayPatch.d.ts +71 -0
  201. package/generated/crds/gateway/v1beta1/gatewayPatch.js +72 -0
  202. package/generated/crds/gateway/v1beta1/gatewayPatch.ts +108 -0
  203. package/generated/crds/gateway/v1beta1/httproute.d.ts +67 -0
  204. package/generated/crds/gateway/v1beta1/httproute.js +68 -0
  205. package/generated/crds/gateway/v1beta1/httproute.ts +104 -0
  206. package/generated/crds/gateway/v1beta1/httprouteList.d.ts +69 -0
  207. package/generated/crds/gateway/v1beta1/httprouteList.js +64 -0
  208. package/generated/crds/gateway/v1beta1/httprouteList.ts +105 -0
  209. package/generated/crds/gateway/v1beta1/httproutePatch.d.ts +73 -0
  210. package/generated/crds/gateway/v1beta1/httproutePatch.js +74 -0
  211. package/generated/crds/gateway/v1beta1/httproutePatch.ts +110 -0
  212. package/generated/crds/gateway/v1beta1/index.d.ts +36 -0
  213. package/generated/crds/gateway/v1beta1/index.js +65 -0
  214. package/generated/crds/gateway/v1beta1/index.ts +102 -0
  215. package/generated/crds/gateway/v1beta1/referenceGrant.d.ts +78 -0
  216. package/generated/crds/gateway/v1beta1/referenceGrant.js +78 -0
  217. package/generated/crds/gateway/v1beta1/referenceGrant.ts +113 -0
  218. package/generated/crds/gateway/v1beta1/referenceGrantList.d.ts +69 -0
  219. package/generated/crds/gateway/v1beta1/referenceGrantList.js +64 -0
  220. package/generated/crds/gateway/v1beta1/referenceGrantList.ts +105 -0
  221. package/generated/crds/gateway/v1beta1/referenceGrantPatch.d.ts +84 -0
  222. package/generated/crds/gateway/v1beta1/referenceGrantPatch.js +84 -0
  223. package/generated/crds/gateway/v1beta1/referenceGrantPatch.ts +119 -0
  224. package/generated/crds/index.d.ts +8 -0
  225. package/generated/crds/index.js +27 -0
  226. package/generated/crds/index.ts +34 -0
  227. package/generated/crds/meta/v1.d.ts +3 -0
  228. package/generated/crds/meta/v1.js +2 -0
  229. package/generated/crds/meta/v1.ts +4 -0
  230. package/generated/crds/package.json +32 -0
  231. package/generated/crds/provider.d.ts +23 -0
  232. package/generated/crds/provider.js +37 -0
  233. package/generated/crds/provider.ts +44 -0
  234. package/generated/crds/scripts/postinstall.js +13 -0
  235. package/generated/crds/tsconfig.json +15 -0
  236. package/generated/crds/types/index.d.ts +3 -0
  237. package/generated/crds/types/index.js +10 -0
  238. package/generated/crds/types/index.ts +13 -0
  239. package/generated/crds/types/input.d.ts +38601 -0
  240. package/generated/crds/types/input.js +4 -0
  241. package/generated/crds/types/input.ts +39421 -0
  242. package/generated/crds/types/output.d.ts +42150 -0
  243. package/generated/crds/types/output.js +4 -0
  244. package/generated/crds/types/output.ts +43038 -0
  245. package/generated/crds/utilities.d.ts +13 -0
  246. package/generated/crds/utilities.js +91 -0
  247. package/generated/crds/utilities.ts +98 -0
  248. package/package.json +9 -4
@@ -0,0 +1,117 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ /**
10
+ * GatewayClass describes a class of Gateways available to the user for creating
11
+ * Gateway resources.
12
+ *
13
+ * It is recommended that this resource be used as a template for Gateways. This
14
+ * means that a Gateway is based on the state of the GatewayClass at the time it
15
+ * was created and changes to the GatewayClass or associated parameters are not
16
+ * propagated down to existing Gateways. This recommendation is intended to
17
+ * limit the blast radius of changes to GatewayClass or associated parameters.
18
+ * If implementations choose to propagate GatewayClass changes to existing
19
+ * Gateways, that MUST be clearly documented by the implementation.
20
+ *
21
+ * Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
22
+ * add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
23
+ * associated GatewayClass. This ensures that a GatewayClass associated with a
24
+ * Gateway is not deleted while in use.
25
+ *
26
+ * GatewayClass is a Cluster level resource.
27
+ */
28
+ export class GatewayClass extends pulumi.CustomResource {
29
+ /**
30
+ * Get an existing GatewayClass resource's state with the given name, ID, and optional extra
31
+ * properties used to qualify the lookup.
32
+ *
33
+ * @param name The _unique_ name of the resulting resource.
34
+ * @param id The _unique_ provider ID of the resource to lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClass {
38
+ return new GatewayClass(name, undefined as any, { ...opts, id: id });
39
+ }
40
+
41
+ /** @internal */
42
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClass';
43
+
44
+ /**
45
+ * Returns true if the given object is an instance of GatewayClass. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ public static isInstance(obj: any): obj is GatewayClass {
49
+ if (obj === undefined || obj === null) {
50
+ return false;
51
+ }
52
+ return obj['__pulumiType'] === GatewayClass.__pulumiType;
53
+ }
54
+
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
+ public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
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
+ public readonly kind!: pulumi.Output<"GatewayClass">;
63
+ /**
64
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
65
+ */
66
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
67
+ public readonly spec!: pulumi.Output<outputs.gateway.v1.GatewayClassSpec>;
68
+ public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.GatewayClassStatus>;
69
+
70
+ /**
71
+ * Create a GatewayClass resource with the given unique name, arguments, and options.
72
+ *
73
+ * @param name The _unique_ name of the resource.
74
+ * @param args The arguments to use to populate this resource's properties.
75
+ * @param opts A bag of options that control this resource's behavior.
76
+ */
77
+ constructor(name: string, args?: GatewayClassArgs, opts?: pulumi.CustomResourceOptions) {
78
+ let resourceInputs: pulumi.Inputs = {};
79
+ opts = opts || {};
80
+ if (!opts.id) {
81
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
82
+ resourceInputs["kind"] = "GatewayClass";
83
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
84
+ resourceInputs["spec"] = args ? args.spec : undefined;
85
+ resourceInputs["status"] = undefined /*out*/;
86
+ } else {
87
+ resourceInputs["apiVersion"] = undefined /*out*/;
88
+ resourceInputs["kind"] = undefined /*out*/;
89
+ resourceInputs["metadata"] = undefined /*out*/;
90
+ resourceInputs["spec"] = undefined /*out*/;
91
+ resourceInputs["status"] = undefined /*out*/;
92
+ }
93
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
94
+ const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClass" }] };
95
+ opts = pulumi.mergeOptions(opts, aliasOpts);
96
+ super(GatewayClass.__pulumiType, name, resourceInputs, opts);
97
+ }
98
+ }
99
+
100
+ /**
101
+ * The set of arguments for constructing a GatewayClass resource.
102
+ */
103
+ export interface GatewayClassArgs {
104
+ /**
105
+ * 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
106
+ */
107
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
108
+ /**
109
+ * 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
110
+ */
111
+ kind?: pulumi.Input<"GatewayClass">;
112
+ /**
113
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
114
+ */
115
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
116
+ spec?: pulumi.Input<inputs.gateway.v1.GatewayClassSpec>;
117
+ }
@@ -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
+ * GatewayClassList is a list of GatewayClass
6
+ */
7
+ export declare class GatewayClassList extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing GatewayClassList 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): GatewayClassList;
17
+ /** @internal */
18
+ static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:GatewayClassList";
19
+ /**
20
+ * Returns true if the given object is an instance of GatewayClassList. 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 GatewayClassList;
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.networking.k8s.io/v1">;
28
+ /**
29
+ * List of gatewayclasses. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
30
+ */
31
+ readonly items: pulumi.Output<outputs.gateway.v1.GatewayClass[]>;
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<"GatewayClassList">;
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 GatewayClassList 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?: GatewayClassListArgs, opts?: pulumi.CustomResourceOptions);
48
+ }
49
+ /**
50
+ * The set of arguments for constructing a GatewayClassList resource.
51
+ */
52
+ export interface GatewayClassListArgs {
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.networking.k8s.io/v1">;
57
+ /**
58
+ * List of gatewayclasses. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
59
+ */
60
+ items: pulumi.Input<pulumi.Input<inputs.gateway.v1.GatewayClass>[]>;
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<"GatewayClassList">;
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,64 @@
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.GatewayClassList = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * GatewayClassList is a list of GatewayClass
10
+ */
11
+ class GatewayClassList extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing GatewayClassList 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 GatewayClassList(name, undefined, { ...opts, id: id });
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of GatewayClassList. 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'] === GatewayClassList.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a GatewayClassList 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"] = "gateway.networking.k8s.io/v1";
48
+ resourceInputs["items"] = args ? args.items : undefined;
49
+ resourceInputs["kind"] = "GatewayClassList";
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(GatewayClassList.__pulumiType, name, resourceInputs, opts);
60
+ }
61
+ }
62
+ exports.GatewayClassList = GatewayClassList;
63
+ /** @internal */
64
+ GatewayClassList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClassList';
@@ -0,0 +1,105 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ /**
10
+ * GatewayClassList is a list of GatewayClass
11
+ */
12
+ export class GatewayClassList extends pulumi.CustomResource {
13
+ /**
14
+ * Get an existing GatewayClassList 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
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClassList {
22
+ return new GatewayClassList(name, undefined as any, { ...opts, id: id });
23
+ }
24
+
25
+ /** @internal */
26
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClassList';
27
+
28
+ /**
29
+ * Returns true if the given object is an instance of GatewayClassList. This is designed to work even
30
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
+ */
32
+ public static isInstance(obj: any): obj is GatewayClassList {
33
+ if (obj === undefined || obj === null) {
34
+ return false;
35
+ }
36
+ return obj['__pulumiType'] === GatewayClassList.__pulumiType;
37
+ }
38
+
39
+ /**
40
+ * 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
41
+ */
42
+ public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
43
+ /**
44
+ * List of gatewayclasses. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
45
+ */
46
+ public readonly items!: pulumi.Output<outputs.gateway.v1.GatewayClass[]>;
47
+ /**
48
+ * 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
49
+ */
50
+ public readonly kind!: pulumi.Output<"GatewayClassList">;
51
+ /**
52
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
53
+ */
54
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
55
+
56
+ /**
57
+ * Create a GatewayClassList resource with the given unique name, arguments, and options.
58
+ *
59
+ * @param name The _unique_ name of the resource.
60
+ * @param args The arguments to use to populate this resource's properties.
61
+ * @param opts A bag of options that control this resource's behavior.
62
+ */
63
+ constructor(name: string, args?: GatewayClassListArgs, opts?: pulumi.CustomResourceOptions) {
64
+ let resourceInputs: pulumi.Inputs = {};
65
+ opts = opts || {};
66
+ if (!opts.id) {
67
+ if ((!args || args.items === undefined) && !opts.urn) {
68
+ throw new Error("Missing required property 'items'");
69
+ }
70
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
71
+ resourceInputs["items"] = args ? args.items : undefined;
72
+ resourceInputs["kind"] = "GatewayClassList";
73
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
74
+ } else {
75
+ resourceInputs["apiVersion"] = undefined /*out*/;
76
+ resourceInputs["items"] = undefined /*out*/;
77
+ resourceInputs["kind"] = undefined /*out*/;
78
+ resourceInputs["metadata"] = undefined /*out*/;
79
+ }
80
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
81
+ super(GatewayClassList.__pulumiType, name, resourceInputs, opts);
82
+ }
83
+ }
84
+
85
+ /**
86
+ * The set of arguments for constructing a GatewayClassList resource.
87
+ */
88
+ export interface GatewayClassListArgs {
89
+ /**
90
+ * 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
91
+ */
92
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
93
+ /**
94
+ * List of gatewayclasses. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
95
+ */
96
+ items: pulumi.Input<pulumi.Input<inputs.gateway.v1.GatewayClass>[]>;
97
+ /**
98
+ * 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
99
+ */
100
+ kind?: pulumi.Input<"GatewayClassList">;
101
+ /**
102
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
103
+ */
104
+ metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
105
+ }
@@ -0,0 +1,86 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * Patch resources are used to modify existing Kubernetes resources by using
6
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
7
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
8
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
9
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
10
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
11
+ * GatewayClass describes a class of Gateways available to the user for creating
12
+ * Gateway resources.
13
+ *
14
+ * It is recommended that this resource be used as a template for Gateways. This
15
+ * means that a Gateway is based on the state of the GatewayClass at the time it
16
+ * was created and changes to the GatewayClass or associated parameters are not
17
+ * propagated down to existing Gateways. This recommendation is intended to
18
+ * limit the blast radius of changes to GatewayClass or associated parameters.
19
+ * If implementations choose to propagate GatewayClass changes to existing
20
+ * Gateways, that MUST be clearly documented by the implementation.
21
+ *
22
+ * Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
23
+ * add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
24
+ * associated GatewayClass. This ensures that a GatewayClass associated with a
25
+ * Gateway is not deleted while in use.
26
+ *
27
+ * GatewayClass is a Cluster level resource.
28
+ */
29
+ export declare class GatewayClassPatch extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing GatewayClassPatch resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param opts Optional settings to control the behavior of the CustomResource.
37
+ */
38
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClassPatch;
39
+ /** @internal */
40
+ static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:GatewayClassPatch";
41
+ /**
42
+ * Returns true if the given object is an instance of GatewayClassPatch. This is designed to work even
43
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
44
+ */
45
+ static isInstance(obj: any): obj is GatewayClassPatch;
46
+ /**
47
+ * 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
48
+ */
49
+ readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
50
+ /**
51
+ * 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
52
+ */
53
+ readonly kind: pulumi.Output<"GatewayClass">;
54
+ /**
55
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
56
+ */
57
+ readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
58
+ readonly spec: pulumi.Output<outputs.gateway.v1.GatewayClassSpecPatch>;
59
+ readonly status: pulumi.Output<outputs.gateway.v1.GatewayClassStatusPatch>;
60
+ /**
61
+ * Create a GatewayClassPatch resource with the given unique name, arguments, and options.
62
+ *
63
+ * @param name The _unique_ name of the resource.
64
+ * @param args The arguments to use to populate this resource's properties.
65
+ * @param opts A bag of options that control this resource's behavior.
66
+ */
67
+ constructor(name: string, args?: GatewayClassPatchArgs, opts?: pulumi.CustomResourceOptions);
68
+ }
69
+ /**
70
+ * The set of arguments for constructing a GatewayClassPatch resource.
71
+ */
72
+ export interface GatewayClassPatchArgs {
73
+ /**
74
+ * 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
75
+ */
76
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
77
+ /**
78
+ * 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
79
+ */
80
+ kind?: pulumi.Input<"GatewayClass">;
81
+ /**
82
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
83
+ */
84
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
85
+ spec?: pulumi.Input<inputs.gateway.v1.GatewayClassSpecPatch>;
86
+ }
@@ -0,0 +1,87 @@
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.GatewayClassPatch = 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
+ * GatewayClass describes a class of Gateways available to the user for creating
16
+ * Gateway resources.
17
+ *
18
+ * It is recommended that this resource be used as a template for Gateways. This
19
+ * means that a Gateway is based on the state of the GatewayClass at the time it
20
+ * was created and changes to the GatewayClass or associated parameters are not
21
+ * propagated down to existing Gateways. This recommendation is intended to
22
+ * limit the blast radius of changes to GatewayClass or associated parameters.
23
+ * If implementations choose to propagate GatewayClass changes to existing
24
+ * Gateways, that MUST be clearly documented by the implementation.
25
+ *
26
+ * Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
27
+ * add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
28
+ * associated GatewayClass. This ensures that a GatewayClass associated with a
29
+ * Gateway is not deleted while in use.
30
+ *
31
+ * GatewayClass is a Cluster level resource.
32
+ */
33
+ class GatewayClassPatch extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing GatewayClassPatch resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param opts Optional settings to control the behavior of the CustomResource.
41
+ */
42
+ static get(name, id, opts) {
43
+ return new GatewayClassPatch(name, undefined, { ...opts, id: id });
44
+ }
45
+ /**
46
+ * Returns true if the given object is an instance of GatewayClassPatch. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj) {
50
+ if (obj === undefined || obj === null) {
51
+ return false;
52
+ }
53
+ return obj['__pulumiType'] === GatewayClassPatch.__pulumiType;
54
+ }
55
+ /**
56
+ * Create a GatewayClassPatch resource with the given unique name, arguments, and options.
57
+ *
58
+ * @param name The _unique_ name of the resource.
59
+ * @param args The arguments to use to populate this resource's properties.
60
+ * @param opts A bag of options that control this resource's behavior.
61
+ */
62
+ constructor(name, args, opts) {
63
+ let resourceInputs = {};
64
+ opts = opts || {};
65
+ if (!opts.id) {
66
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
67
+ resourceInputs["kind"] = "GatewayClass";
68
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
69
+ resourceInputs["spec"] = args ? args.spec : undefined;
70
+ resourceInputs["status"] = undefined /*out*/;
71
+ }
72
+ else {
73
+ resourceInputs["apiVersion"] = undefined /*out*/;
74
+ resourceInputs["kind"] = undefined /*out*/;
75
+ resourceInputs["metadata"] = undefined /*out*/;
76
+ resourceInputs["spec"] = undefined /*out*/;
77
+ resourceInputs["status"] = undefined /*out*/;
78
+ }
79
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
80
+ const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClassPatch" }] };
81
+ opts = pulumi.mergeOptions(opts, aliasOpts);
82
+ super(GatewayClassPatch.__pulumiType, name, resourceInputs, opts);
83
+ }
84
+ }
85
+ exports.GatewayClassPatch = GatewayClassPatch;
86
+ /** @internal */
87
+ GatewayClassPatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClassPatch';
@@ -0,0 +1,123 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ /**
10
+ * Patch resources are used to modify existing Kubernetes resources by using
11
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
12
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
13
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
14
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
15
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
16
+ * GatewayClass describes a class of Gateways available to the user for creating
17
+ * Gateway resources.
18
+ *
19
+ * It is recommended that this resource be used as a template for Gateways. This
20
+ * means that a Gateway is based on the state of the GatewayClass at the time it
21
+ * was created and changes to the GatewayClass or associated parameters are not
22
+ * propagated down to existing Gateways. This recommendation is intended to
23
+ * limit the blast radius of changes to GatewayClass or associated parameters.
24
+ * If implementations choose to propagate GatewayClass changes to existing
25
+ * Gateways, that MUST be clearly documented by the implementation.
26
+ *
27
+ * Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
28
+ * add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
29
+ * associated GatewayClass. This ensures that a GatewayClass associated with a
30
+ * Gateway is not deleted while in use.
31
+ *
32
+ * GatewayClass is a Cluster level resource.
33
+ */
34
+ export class GatewayClassPatch extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing GatewayClassPatch resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClassPatch {
44
+ return new GatewayClassPatch(name, undefined as any, { ...opts, id: id });
45
+ }
46
+
47
+ /** @internal */
48
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClassPatch';
49
+
50
+ /**
51
+ * Returns true if the given object is an instance of GatewayClassPatch. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ public static isInstance(obj: any): obj is GatewayClassPatch {
55
+ if (obj === undefined || obj === null) {
56
+ return false;
57
+ }
58
+ return obj['__pulumiType'] === GatewayClassPatch.__pulumiType;
59
+ }
60
+
61
+ /**
62
+ * 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
63
+ */
64
+ public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
65
+ /**
66
+ * 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
67
+ */
68
+ public readonly kind!: pulumi.Output<"GatewayClass">;
69
+ /**
70
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
71
+ */
72
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
73
+ public readonly spec!: pulumi.Output<outputs.gateway.v1.GatewayClassSpecPatch>;
74
+ public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.GatewayClassStatusPatch>;
75
+
76
+ /**
77
+ * Create a GatewayClassPatch resource with the given unique name, arguments, and options.
78
+ *
79
+ * @param name The _unique_ name of the resource.
80
+ * @param args The arguments to use to populate this resource's properties.
81
+ * @param opts A bag of options that control this resource's behavior.
82
+ */
83
+ constructor(name: string, args?: GatewayClassPatchArgs, opts?: pulumi.CustomResourceOptions) {
84
+ let resourceInputs: pulumi.Inputs = {};
85
+ opts = opts || {};
86
+ if (!opts.id) {
87
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
88
+ resourceInputs["kind"] = "GatewayClass";
89
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
90
+ resourceInputs["spec"] = args ? args.spec : undefined;
91
+ resourceInputs["status"] = undefined /*out*/;
92
+ } else {
93
+ resourceInputs["apiVersion"] = undefined /*out*/;
94
+ resourceInputs["kind"] = undefined /*out*/;
95
+ resourceInputs["metadata"] = undefined /*out*/;
96
+ resourceInputs["spec"] = undefined /*out*/;
97
+ resourceInputs["status"] = undefined /*out*/;
98
+ }
99
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
+ const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClassPatch" }] };
101
+ opts = pulumi.mergeOptions(opts, aliasOpts);
102
+ super(GatewayClassPatch.__pulumiType, name, resourceInputs, opts);
103
+ }
104
+ }
105
+
106
+ /**
107
+ * The set of arguments for constructing a GatewayClassPatch resource.
108
+ */
109
+ export interface GatewayClassPatchArgs {
110
+ /**
111
+ * 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
112
+ */
113
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
114
+ /**
115
+ * 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
116
+ */
117
+ kind?: pulumi.Input<"GatewayClass">;
118
+ /**
119
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
120
+ */
121
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
122
+ spec?: pulumi.Input<inputs.gateway.v1.GatewayClassSpecPatch>;
123
+ }