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,73 @@
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
+ * HTTPRoute provides a way to route HTTP requests. This includes the capability
12
+ * to match requests by hostname, path, header, or query param. Filters can be
13
+ * used to specify additional processing steps. Backends specify where matching
14
+ * requests should be routed.
15
+ */
16
+ export declare class HTTPRoutePatch extends pulumi.CustomResource {
17
+ /**
18
+ * Get an existing HTTPRoutePatch resource's state with the given name, ID, and optional extra
19
+ * properties used to qualify the lookup.
20
+ *
21
+ * @param name The _unique_ name of the resulting resource.
22
+ * @param id The _unique_ provider ID of the resource to lookup.
23
+ * @param opts Optional settings to control the behavior of the CustomResource.
24
+ */
25
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): HTTPRoutePatch;
26
+ /** @internal */
27
+ static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:HTTPRoutePatch";
28
+ /**
29
+ * Returns true if the given object is an instance of HTTPRoutePatch. This is designed to work even
30
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
+ */
32
+ static isInstance(obj: any): obj is HTTPRoutePatch;
33
+ /**
34
+ * 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
35
+ */
36
+ readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
37
+ /**
38
+ * 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
39
+ */
40
+ readonly kind: pulumi.Output<"HTTPRoute">;
41
+ /**
42
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
43
+ */
44
+ readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
45
+ readonly spec: pulumi.Output<outputs.gateway.v1.HTTPRouteSpecPatch>;
46
+ readonly status: pulumi.Output<outputs.gateway.v1.HTTPRouteStatusPatch>;
47
+ /**
48
+ * Create a HTTPRoutePatch resource with the given unique name, arguments, and options.
49
+ *
50
+ * @param name The _unique_ name of the resource.
51
+ * @param args The arguments to use to populate this resource's properties.
52
+ * @param opts A bag of options that control this resource's behavior.
53
+ */
54
+ constructor(name: string, args?: HTTPRoutePatchArgs, opts?: pulumi.CustomResourceOptions);
55
+ }
56
+ /**
57
+ * The set of arguments for constructing a HTTPRoutePatch resource.
58
+ */
59
+ export interface HTTPRoutePatchArgs {
60
+ /**
61
+ * 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
62
+ */
63
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
64
+ /**
65
+ * 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
66
+ */
67
+ kind?: pulumi.Input<"HTTPRoute">;
68
+ /**
69
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
70
+ */
71
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
72
+ spec?: pulumi.Input<inputs.gateway.v1.HTTPRouteSpecPatch>;
73
+ }
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.HTTPRoutePatch = 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
+ * HTTPRoute provides a way to route HTTP requests. This includes the capability
16
+ * to match requests by hostname, path, header, or query param. Filters can be
17
+ * used to specify additional processing steps. Backends specify where matching
18
+ * requests should be routed.
19
+ */
20
+ class HTTPRoutePatch extends pulumi.CustomResource {
21
+ /**
22
+ * Get an existing HTTPRoutePatch resource's state with the given name, ID, and optional extra
23
+ * properties used to qualify the lookup.
24
+ *
25
+ * @param name The _unique_ name of the resulting resource.
26
+ * @param id The _unique_ provider ID of the resource to lookup.
27
+ * @param opts Optional settings to control the behavior of the CustomResource.
28
+ */
29
+ static get(name, id, opts) {
30
+ return new HTTPRoutePatch(name, undefined, { ...opts, id: id });
31
+ }
32
+ /**
33
+ * Returns true if the given object is an instance of HTTPRoutePatch. This is designed to work even
34
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
35
+ */
36
+ static isInstance(obj) {
37
+ if (obj === undefined || obj === null) {
38
+ return false;
39
+ }
40
+ return obj['__pulumiType'] === HTTPRoutePatch.__pulumiType;
41
+ }
42
+ /**
43
+ * Create a HTTPRoutePatch resource with the given unique name, arguments, and options.
44
+ *
45
+ * @param name The _unique_ name of the resource.
46
+ * @param args The arguments to use to populate this resource's properties.
47
+ * @param opts A bag of options that control this resource's behavior.
48
+ */
49
+ constructor(name, args, opts) {
50
+ let resourceInputs = {};
51
+ opts = opts || {};
52
+ if (!opts.id) {
53
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
54
+ resourceInputs["kind"] = "HTTPRoute";
55
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
56
+ resourceInputs["spec"] = args ? args.spec : undefined;
57
+ resourceInputs["status"] = undefined /*out*/;
58
+ }
59
+ else {
60
+ resourceInputs["apiVersion"] = undefined /*out*/;
61
+ resourceInputs["kind"] = undefined /*out*/;
62
+ resourceInputs["metadata"] = undefined /*out*/;
63
+ resourceInputs["spec"] = undefined /*out*/;
64
+ resourceInputs["status"] = undefined /*out*/;
65
+ }
66
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
67
+ const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:HTTPRoutePatch" }] };
68
+ opts = pulumi.mergeOptions(opts, aliasOpts);
69
+ super(HTTPRoutePatch.__pulumiType, name, resourceInputs, opts);
70
+ }
71
+ }
72
+ exports.HTTPRoutePatch = HTTPRoutePatch;
73
+ /** @internal */
74
+ HTTPRoutePatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:HTTPRoutePatch';
@@ -0,0 +1,110 @@
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
+ * HTTPRoute provides a way to route HTTP requests. This includes the capability
17
+ * to match requests by hostname, path, header, or query param. Filters can be
18
+ * used to specify additional processing steps. Backends specify where matching
19
+ * requests should be routed.
20
+ */
21
+ export class HTTPRoutePatch extends pulumi.CustomResource {
22
+ /**
23
+ * Get an existing HTTPRoutePatch resource's state with the given name, ID, and optional extra
24
+ * properties used to qualify the lookup.
25
+ *
26
+ * @param name The _unique_ name of the resulting resource.
27
+ * @param id The _unique_ provider ID of the resource to lookup.
28
+ * @param opts Optional settings to control the behavior of the CustomResource.
29
+ */
30
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): HTTPRoutePatch {
31
+ return new HTTPRoutePatch(name, undefined as any, { ...opts, id: id });
32
+ }
33
+
34
+ /** @internal */
35
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:HTTPRoutePatch';
36
+
37
+ /**
38
+ * Returns true if the given object is an instance of HTTPRoutePatch. This is designed to work even
39
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
40
+ */
41
+ public static isInstance(obj: any): obj is HTTPRoutePatch {
42
+ if (obj === undefined || obj === null) {
43
+ return false;
44
+ }
45
+ return obj['__pulumiType'] === HTTPRoutePatch.__pulumiType;
46
+ }
47
+
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
+ public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
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
+ public readonly kind!: pulumi.Output<"HTTPRoute">;
56
+ /**
57
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
58
+ */
59
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
60
+ public readonly spec!: pulumi.Output<outputs.gateway.v1.HTTPRouteSpecPatch>;
61
+ public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.HTTPRouteStatusPatch>;
62
+
63
+ /**
64
+ * Create a HTTPRoutePatch resource with the given unique name, arguments, and options.
65
+ *
66
+ * @param name The _unique_ name of the resource.
67
+ * @param args The arguments to use to populate this resource's properties.
68
+ * @param opts A bag of options that control this resource's behavior.
69
+ */
70
+ constructor(name: string, args?: HTTPRoutePatchArgs, opts?: pulumi.CustomResourceOptions) {
71
+ let resourceInputs: pulumi.Inputs = {};
72
+ opts = opts || {};
73
+ if (!opts.id) {
74
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
75
+ resourceInputs["kind"] = "HTTPRoute";
76
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
77
+ resourceInputs["spec"] = args ? args.spec : undefined;
78
+ resourceInputs["status"] = undefined /*out*/;
79
+ } else {
80
+ resourceInputs["apiVersion"] = undefined /*out*/;
81
+ resourceInputs["kind"] = undefined /*out*/;
82
+ resourceInputs["metadata"] = undefined /*out*/;
83
+ resourceInputs["spec"] = undefined /*out*/;
84
+ resourceInputs["status"] = undefined /*out*/;
85
+ }
86
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
87
+ const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:HTTPRoutePatch" }] };
88
+ opts = pulumi.mergeOptions(opts, aliasOpts);
89
+ super(HTTPRoutePatch.__pulumiType, name, resourceInputs, opts);
90
+ }
91
+ }
92
+
93
+ /**
94
+ * The set of arguments for constructing a HTTPRoutePatch resource.
95
+ */
96
+ export interface HTTPRoutePatchArgs {
97
+ /**
98
+ * 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
99
+ */
100
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
101
+ /**
102
+ * 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
103
+ */
104
+ kind?: pulumi.Input<"HTTPRoute">;
105
+ /**
106
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
107
+ */
108
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
109
+ spec?: pulumi.Input<inputs.gateway.v1.HTTPRouteSpecPatch>;
110
+ }
@@ -0,0 +1,36 @@
1
+ export { GatewayArgs } from "./gateway";
2
+ export type Gateway = import("./gateway").Gateway;
3
+ export declare const Gateway: typeof import("./gateway").Gateway;
4
+ export { GatewayClassArgs } from "./gatewayClass";
5
+ export type GatewayClass = import("./gatewayClass").GatewayClass;
6
+ export declare const GatewayClass: typeof import("./gatewayClass").GatewayClass;
7
+ export { GatewayClassListArgs } from "./gatewayClassList";
8
+ export type GatewayClassList = import("./gatewayClassList").GatewayClassList;
9
+ export declare const GatewayClassList: typeof import("./gatewayClassList").GatewayClassList;
10
+ export { GatewayClassPatchArgs } from "./gatewayClassPatch";
11
+ export type GatewayClassPatch = import("./gatewayClassPatch").GatewayClassPatch;
12
+ export declare const GatewayClassPatch: typeof import("./gatewayClassPatch").GatewayClassPatch;
13
+ export { GatewayListArgs } from "./gatewayList";
14
+ export type GatewayList = import("./gatewayList").GatewayList;
15
+ export declare const GatewayList: typeof import("./gatewayList").GatewayList;
16
+ export { GatewayPatchArgs } from "./gatewayPatch";
17
+ export type GatewayPatch = import("./gatewayPatch").GatewayPatch;
18
+ export declare const GatewayPatch: typeof import("./gatewayPatch").GatewayPatch;
19
+ export { GRPCRouteArgs } from "./grpcroute";
20
+ export type GRPCRoute = import("./grpcroute").GRPCRoute;
21
+ export declare const GRPCRoute: typeof import("./grpcroute").GRPCRoute;
22
+ export { GRPCRouteListArgs } from "./grpcrouteList";
23
+ export type GRPCRouteList = import("./grpcrouteList").GRPCRouteList;
24
+ export declare const GRPCRouteList: typeof import("./grpcrouteList").GRPCRouteList;
25
+ export { GRPCRoutePatchArgs } from "./grpcroutePatch";
26
+ export type GRPCRoutePatch = import("./grpcroutePatch").GRPCRoutePatch;
27
+ export declare const GRPCRoutePatch: typeof import("./grpcroutePatch").GRPCRoutePatch;
28
+ export { HTTPRouteArgs } from "./httproute";
29
+ export type HTTPRoute = import("./httproute").HTTPRoute;
30
+ export declare const HTTPRoute: typeof import("./httproute").HTTPRoute;
31
+ export { HTTPRouteListArgs } from "./httprouteList";
32
+ export type HTTPRouteList = import("./httprouteList").HTTPRouteList;
33
+ export declare const HTTPRouteList: typeof import("./httprouteList").HTTPRouteList;
34
+ export { HTTPRoutePatchArgs } from "./httproutePatch";
35
+ export type HTTPRoutePatch = import("./httproutePatch").HTTPRoutePatch;
36
+ export declare const HTTPRoutePatch: typeof import("./httproutePatch").HTTPRoutePatch;
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.HTTPRoutePatch = exports.HTTPRouteList = exports.HTTPRoute = exports.GRPCRoutePatch = exports.GRPCRouteList = exports.GRPCRoute = exports.GatewayPatch = exports.GatewayList = exports.GatewayClassPatch = exports.GatewayClassList = exports.GatewayClass = exports.Gateway = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ exports.Gateway = null;
9
+ utilities.lazyLoad(exports, ["Gateway"], () => require("./gateway"));
10
+ exports.GatewayClass = null;
11
+ utilities.lazyLoad(exports, ["GatewayClass"], () => require("./gatewayClass"));
12
+ exports.GatewayClassList = null;
13
+ utilities.lazyLoad(exports, ["GatewayClassList"], () => require("./gatewayClassList"));
14
+ exports.GatewayClassPatch = null;
15
+ utilities.lazyLoad(exports, ["GatewayClassPatch"], () => require("./gatewayClassPatch"));
16
+ exports.GatewayList = null;
17
+ utilities.lazyLoad(exports, ["GatewayList"], () => require("./gatewayList"));
18
+ exports.GatewayPatch = null;
19
+ utilities.lazyLoad(exports, ["GatewayPatch"], () => require("./gatewayPatch"));
20
+ exports.GRPCRoute = null;
21
+ utilities.lazyLoad(exports, ["GRPCRoute"], () => require("./grpcroute"));
22
+ exports.GRPCRouteList = null;
23
+ utilities.lazyLoad(exports, ["GRPCRouteList"], () => require("./grpcrouteList"));
24
+ exports.GRPCRoutePatch = null;
25
+ utilities.lazyLoad(exports, ["GRPCRoutePatch"], () => require("./grpcroutePatch"));
26
+ exports.HTTPRoute = null;
27
+ utilities.lazyLoad(exports, ["HTTPRoute"], () => require("./httproute"));
28
+ exports.HTTPRouteList = null;
29
+ utilities.lazyLoad(exports, ["HTTPRouteList"], () => require("./httprouteList"));
30
+ exports.HTTPRoutePatch = null;
31
+ utilities.lazyLoad(exports, ["HTTPRoutePatch"], () => require("./httproutePatch"));
32
+ const _module = {
33
+ version: utilities.getVersion(),
34
+ construct: (name, type, urn) => {
35
+ switch (type) {
36
+ case "kubernetes:gateway.networking.k8s.io/v1:GRPCRoute":
37
+ return new exports.GRPCRoute(name, undefined, { urn });
38
+ case "kubernetes:gateway.networking.k8s.io/v1:GRPCRouteList":
39
+ return new exports.GRPCRouteList(name, undefined, { urn });
40
+ case "kubernetes:gateway.networking.k8s.io/v1:GRPCRoutePatch":
41
+ return new exports.GRPCRoutePatch(name, undefined, { urn });
42
+ case "kubernetes:gateway.networking.k8s.io/v1:Gateway":
43
+ return new exports.Gateway(name, undefined, { urn });
44
+ case "kubernetes:gateway.networking.k8s.io/v1:GatewayClass":
45
+ return new exports.GatewayClass(name, undefined, { urn });
46
+ case "kubernetes:gateway.networking.k8s.io/v1:GatewayClassList":
47
+ return new exports.GatewayClassList(name, undefined, { urn });
48
+ case "kubernetes:gateway.networking.k8s.io/v1:GatewayClassPatch":
49
+ return new exports.GatewayClassPatch(name, undefined, { urn });
50
+ case "kubernetes:gateway.networking.k8s.io/v1:GatewayList":
51
+ return new exports.GatewayList(name, undefined, { urn });
52
+ case "kubernetes:gateway.networking.k8s.io/v1:GatewayPatch":
53
+ return new exports.GatewayPatch(name, undefined, { urn });
54
+ case "kubernetes:gateway.networking.k8s.io/v1:HTTPRoute":
55
+ return new exports.HTTPRoute(name, undefined, { urn });
56
+ case "kubernetes:gateway.networking.k8s.io/v1:HTTPRouteList":
57
+ return new exports.HTTPRouteList(name, undefined, { urn });
58
+ case "kubernetes:gateway.networking.k8s.io/v1:HTTPRoutePatch":
59
+ return new exports.HTTPRoutePatch(name, undefined, { urn });
60
+ default:
61
+ throw new Error(`unknown resource type ${type}`);
62
+ }
63
+ },
64
+ };
65
+ pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1", _module);
@@ -0,0 +1,102 @@
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 utilities from "../../utilities";
6
+
7
+ // Export members:
8
+ export { GatewayArgs } from "./gateway";
9
+ export type Gateway = import("./gateway").Gateway;
10
+ export const Gateway: typeof import("./gateway").Gateway = null as any;
11
+ utilities.lazyLoad(exports, ["Gateway"], () => require("./gateway"));
12
+
13
+ export { GatewayClassArgs } from "./gatewayClass";
14
+ export type GatewayClass = import("./gatewayClass").GatewayClass;
15
+ export const GatewayClass: typeof import("./gatewayClass").GatewayClass = null as any;
16
+ utilities.lazyLoad(exports, ["GatewayClass"], () => require("./gatewayClass"));
17
+
18
+ export { GatewayClassListArgs } from "./gatewayClassList";
19
+ export type GatewayClassList = import("./gatewayClassList").GatewayClassList;
20
+ export const GatewayClassList: typeof import("./gatewayClassList").GatewayClassList = null as any;
21
+ utilities.lazyLoad(exports, ["GatewayClassList"], () => require("./gatewayClassList"));
22
+
23
+ export { GatewayClassPatchArgs } from "./gatewayClassPatch";
24
+ export type GatewayClassPatch = import("./gatewayClassPatch").GatewayClassPatch;
25
+ export const GatewayClassPatch: typeof import("./gatewayClassPatch").GatewayClassPatch = null as any;
26
+ utilities.lazyLoad(exports, ["GatewayClassPatch"], () => require("./gatewayClassPatch"));
27
+
28
+ export { GatewayListArgs } from "./gatewayList";
29
+ export type GatewayList = import("./gatewayList").GatewayList;
30
+ export const GatewayList: typeof import("./gatewayList").GatewayList = null as any;
31
+ utilities.lazyLoad(exports, ["GatewayList"], () => require("./gatewayList"));
32
+
33
+ export { GatewayPatchArgs } from "./gatewayPatch";
34
+ export type GatewayPatch = import("./gatewayPatch").GatewayPatch;
35
+ export const GatewayPatch: typeof import("./gatewayPatch").GatewayPatch = null as any;
36
+ utilities.lazyLoad(exports, ["GatewayPatch"], () => require("./gatewayPatch"));
37
+
38
+ export { GRPCRouteArgs } from "./grpcroute";
39
+ export type GRPCRoute = import("./grpcroute").GRPCRoute;
40
+ export const GRPCRoute: typeof import("./grpcroute").GRPCRoute = null as any;
41
+ utilities.lazyLoad(exports, ["GRPCRoute"], () => require("./grpcroute"));
42
+
43
+ export { GRPCRouteListArgs } from "./grpcrouteList";
44
+ export type GRPCRouteList = import("./grpcrouteList").GRPCRouteList;
45
+ export const GRPCRouteList: typeof import("./grpcrouteList").GRPCRouteList = null as any;
46
+ utilities.lazyLoad(exports, ["GRPCRouteList"], () => require("./grpcrouteList"));
47
+
48
+ export { GRPCRoutePatchArgs } from "./grpcroutePatch";
49
+ export type GRPCRoutePatch = import("./grpcroutePatch").GRPCRoutePatch;
50
+ export const GRPCRoutePatch: typeof import("./grpcroutePatch").GRPCRoutePatch = null as any;
51
+ utilities.lazyLoad(exports, ["GRPCRoutePatch"], () => require("./grpcroutePatch"));
52
+
53
+ export { HTTPRouteArgs } from "./httproute";
54
+ export type HTTPRoute = import("./httproute").HTTPRoute;
55
+ export const HTTPRoute: typeof import("./httproute").HTTPRoute = null as any;
56
+ utilities.lazyLoad(exports, ["HTTPRoute"], () => require("./httproute"));
57
+
58
+ export { HTTPRouteListArgs } from "./httprouteList";
59
+ export type HTTPRouteList = import("./httprouteList").HTTPRouteList;
60
+ export const HTTPRouteList: typeof import("./httprouteList").HTTPRouteList = null as any;
61
+ utilities.lazyLoad(exports, ["HTTPRouteList"], () => require("./httprouteList"));
62
+
63
+ export { HTTPRoutePatchArgs } from "./httproutePatch";
64
+ export type HTTPRoutePatch = import("./httproutePatch").HTTPRoutePatch;
65
+ export const HTTPRoutePatch: typeof import("./httproutePatch").HTTPRoutePatch = null as any;
66
+ utilities.lazyLoad(exports, ["HTTPRoutePatch"], () => require("./httproutePatch"));
67
+
68
+
69
+ const _module = {
70
+ version: utilities.getVersion(),
71
+ construct: (name: string, type: string, urn: string): pulumi.Resource => {
72
+ switch (type) {
73
+ case "kubernetes:gateway.networking.k8s.io/v1:GRPCRoute":
74
+ return new GRPCRoute(name, <any>undefined, { urn })
75
+ case "kubernetes:gateway.networking.k8s.io/v1:GRPCRouteList":
76
+ return new GRPCRouteList(name, <any>undefined, { urn })
77
+ case "kubernetes:gateway.networking.k8s.io/v1:GRPCRoutePatch":
78
+ return new GRPCRoutePatch(name, <any>undefined, { urn })
79
+ case "kubernetes:gateway.networking.k8s.io/v1:Gateway":
80
+ return new Gateway(name, <any>undefined, { urn })
81
+ case "kubernetes:gateway.networking.k8s.io/v1:GatewayClass":
82
+ return new GatewayClass(name, <any>undefined, { urn })
83
+ case "kubernetes:gateway.networking.k8s.io/v1:GatewayClassList":
84
+ return new GatewayClassList(name, <any>undefined, { urn })
85
+ case "kubernetes:gateway.networking.k8s.io/v1:GatewayClassPatch":
86
+ return new GatewayClassPatch(name, <any>undefined, { urn })
87
+ case "kubernetes:gateway.networking.k8s.io/v1:GatewayList":
88
+ return new GatewayList(name, <any>undefined, { urn })
89
+ case "kubernetes:gateway.networking.k8s.io/v1:GatewayPatch":
90
+ return new GatewayPatch(name, <any>undefined, { urn })
91
+ case "kubernetes:gateway.networking.k8s.io/v1:HTTPRoute":
92
+ return new HTTPRoute(name, <any>undefined, { urn })
93
+ case "kubernetes:gateway.networking.k8s.io/v1:HTTPRouteList":
94
+ return new HTTPRouteList(name, <any>undefined, { urn })
95
+ case "kubernetes:gateway.networking.k8s.io/v1:HTTPRoutePatch":
96
+ return new HTTPRoutePatch(name, <any>undefined, { urn })
97
+ default:
98
+ throw new Error(`unknown resource type ${type}`);
99
+ }
100
+ },
101
+ };
102
+ pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1", _module)
@@ -0,0 +1,65 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * BackendLBPolicy provides a way to define load balancing rules
6
+ * for a backend.
7
+ */
8
+ export declare class BackendLBPolicy extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing BackendLBPolicy 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): BackendLBPolicy;
18
+ /** @internal */
19
+ static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicy";
20
+ /**
21
+ * Returns true if the given object is an instance of BackendLBPolicy. 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 BackendLBPolicy;
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.networking.k8s.io/v1alpha2">;
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<"BackendLBPolicy">;
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<outputs.meta.v1.ObjectMeta>;
37
+ readonly spec: pulumi.Output<outputs.gateway.v1alpha2.BackendLBPolicySpec>;
38
+ readonly status: pulumi.Output<outputs.gateway.v1alpha2.BackendLBPolicyStatus>;
39
+ /**
40
+ * Create a BackendLBPolicy resource with the given unique name, arguments, and options.
41
+ *
42
+ * @param name The _unique_ name of the resource.
43
+ * @param args The arguments to use to populate this resource's properties.
44
+ * @param opts A bag of options that control this resource's behavior.
45
+ */
46
+ constructor(name: string, args?: BackendLBPolicyArgs, opts?: pulumi.CustomResourceOptions);
47
+ }
48
+ /**
49
+ * The set of arguments for constructing a BackendLBPolicy resource.
50
+ */
51
+ export interface BackendLBPolicyArgs {
52
+ /**
53
+ * 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
54
+ */
55
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
56
+ /**
57
+ * 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
58
+ */
59
+ kind?: pulumi.Input<"BackendLBPolicy">;
60
+ /**
61
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
62
+ */
63
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
64
+ spec?: pulumi.Input<inputs.gateway.v1alpha2.BackendLBPolicySpec>;
65
+ }
@@ -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.BackendLBPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * BackendLBPolicy provides a way to define load balancing rules
10
+ * for a backend.
11
+ */
12
+ class BackendLBPolicy extends pulumi.CustomResource {
13
+ /**
14
+ * Get an existing BackendLBPolicy resource's state with the given name, ID, and optional extra
15
+ * properties used to qualify the lookup.
16
+ *
17
+ * @param name The _unique_ name of the resulting resource.
18
+ * @param id The _unique_ provider ID of the resource to lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ static get(name, id, opts) {
22
+ return new BackendLBPolicy(name, undefined, { ...opts, id: id });
23
+ }
24
+ /**
25
+ * Returns true if the given object is an instance of BackendLBPolicy. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj) {
29
+ if (obj === undefined || obj === null) {
30
+ return false;
31
+ }
32
+ return obj['__pulumiType'] === BackendLBPolicy.__pulumiType;
33
+ }
34
+ /**
35
+ * Create a BackendLBPolicy resource with the given unique name, arguments, and options.
36
+ *
37
+ * @param name The _unique_ name of the resource.
38
+ * @param args The arguments to use to populate this resource's properties.
39
+ * @param opts A bag of options that control this resource's behavior.
40
+ */
41
+ constructor(name, args, opts) {
42
+ let resourceInputs = {};
43
+ opts = opts || {};
44
+ if (!opts.id) {
45
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
46
+ resourceInputs["kind"] = "BackendLBPolicy";
47
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
48
+ resourceInputs["spec"] = args ? args.spec : undefined;
49
+ resourceInputs["status"] = undefined /*out*/;
50
+ }
51
+ else {
52
+ resourceInputs["apiVersion"] = undefined /*out*/;
53
+ resourceInputs["kind"] = undefined /*out*/;
54
+ resourceInputs["metadata"] = undefined /*out*/;
55
+ resourceInputs["spec"] = undefined /*out*/;
56
+ resourceInputs["status"] = undefined /*out*/;
57
+ }
58
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
59
+ super(BackendLBPolicy.__pulumiType, name, resourceInputs, opts);
60
+ }
61
+ }
62
+ exports.BackendLBPolicy = BackendLBPolicy;
63
+ /** @internal */
64
+ BackendLBPolicy.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicy';