@kilic.dev/pulumi-k8s-crds 1.1.9 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (248) hide show
  1. package/dist/acme/v1/challenge.d.ts +22 -5
  2. package/dist/acme/v1/challenge.js +10 -1
  3. package/dist/acme/v1/challengeList.d.ts +69 -0
  4. package/dist/acme/v1/challengeList.js +103 -0
  5. package/dist/acme/v1/challengePatch.d.ts +71 -0
  6. package/dist/acme/v1/challengePatch.js +106 -0
  7. package/dist/acme/v1/index.d.ts +12 -0
  8. package/dist/acme/v1/index.js +17 -1
  9. package/dist/acme/v1/order.d.ts +22 -5
  10. package/dist/acme/v1/order.js +10 -1
  11. package/dist/acme/v1/orderList.d.ts +69 -0
  12. package/dist/acme/v1/orderList.js +103 -0
  13. package/dist/acme/v1/orderPatch.d.ts +71 -0
  14. package/dist/acme/v1/orderPatch.js +106 -0
  15. package/dist/argoproj/v1alpha1/appProject.d.ts +18 -13
  16. package/dist/argoproj/v1alpha1/appProject.js +9 -6
  17. package/dist/argoproj/v1alpha1/appProjectList.d.ts +69 -0
  18. package/dist/argoproj/v1alpha1/appProjectList.js +103 -0
  19. package/dist/argoproj/v1alpha1/appProjectPatch.d.ts +76 -0
  20. package/dist/argoproj/v1alpha1/appProjectPatch.js +111 -0
  21. package/dist/argoproj/v1alpha1/application.d.ts +17 -18
  22. package/dist/argoproj/v1alpha1/application.js +9 -9
  23. package/dist/argoproj/v1alpha1/applicationList.d.ts +69 -0
  24. package/dist/argoproj/v1alpha1/applicationList.js +103 -0
  25. package/dist/argoproj/v1alpha1/applicationPatch.d.ts +73 -0
  26. package/dist/argoproj/v1alpha1/applicationPatch.js +109 -0
  27. package/dist/argoproj/v1alpha1/applicationSet.d.ts +22 -5
  28. package/dist/argoproj/v1alpha1/applicationSet.js +10 -1
  29. package/dist/argoproj/v1alpha1/applicationSetList.d.ts +69 -0
  30. package/dist/argoproj/v1alpha1/applicationSetList.js +103 -0
  31. package/dist/argoproj/v1alpha1/applicationSetPatch.d.ts +70 -0
  32. package/dist/argoproj/v1alpha1/applicationSetPatch.js +105 -0
  33. package/dist/argoproj/v1alpha1/index.d.ts +18 -0
  34. package/dist/argoproj/v1alpha1/index.js +25 -1
  35. package/dist/{certmanager → cert_manager}/v1/certificate.d.ts +18 -21
  36. package/dist/{certmanager → cert_manager}/v1/certificate.js +9 -10
  37. package/dist/cert_manager/v1/certificateList.d.ts +69 -0
  38. package/dist/cert_manager/v1/certificateList.js +103 -0
  39. package/dist/cert_manager/v1/certificatePatch.d.ts +74 -0
  40. package/dist/cert_manager/v1/certificatePatch.js +109 -0
  41. package/dist/{certmanager → cert_manager}/v1/certificateRequest.d.ts +18 -21
  42. package/dist/{certmanager → cert_manager}/v1/certificateRequest.js +9 -10
  43. package/dist/cert_manager/v1/certificateRequestList.d.ts +69 -0
  44. package/dist/cert_manager/v1/certificateRequestList.js +103 -0
  45. package/dist/cert_manager/v1/certificateRequestPatch.d.ts +79 -0
  46. package/dist/cert_manager/v1/certificateRequestPatch.js +114 -0
  47. package/dist/{certmanager → cert_manager}/v1/clusterIssuer.d.ts +18 -13
  48. package/dist/{certmanager → cert_manager}/v1/clusterIssuer.js +9 -6
  49. package/dist/cert_manager/v1/clusterIssuerList.d.ts +69 -0
  50. package/dist/cert_manager/v1/clusterIssuerList.js +103 -0
  51. package/dist/cert_manager/v1/clusterIssuerPatch.d.ts +75 -0
  52. package/dist/cert_manager/v1/clusterIssuerPatch.js +110 -0
  53. package/dist/cert_manager/v1/index.d.ts +36 -0
  54. package/dist/{certmanager → cert_manager}/v1/index.js +33 -1
  55. package/dist/{certmanager → cert_manager}/v1/issuer.d.ts +18 -13
  56. package/dist/{certmanager → cert_manager}/v1/issuer.js +9 -6
  57. package/dist/cert_manager/v1/issuerList.d.ts +69 -0
  58. package/dist/cert_manager/v1/issuerList.js +103 -0
  59. package/dist/cert_manager/v1/issuerPatch.d.ts +74 -0
  60. package/dist/cert_manager/v1/issuerPatch.js +109 -0
  61. package/dist/cilium/index.d.ts +2 -0
  62. package/dist/cilium/index.js +31 -0
  63. package/dist/cilium/v2alpha1/ciliumBGPAdvertisement.d.ts +64 -0
  64. package/dist/cilium/v2alpha1/ciliumBGPAdvertisement.js +97 -0
  65. package/dist/cilium/v2alpha1/ciliumBGPAdvertisementList.d.ts +69 -0
  66. package/dist/cilium/v2alpha1/ciliumBGPAdvertisementList.js +103 -0
  67. package/dist/cilium/v2alpha1/ciliumBGPAdvertisementPatch.d.ts +70 -0
  68. package/dist/cilium/v2alpha1/ciliumBGPAdvertisementPatch.js +103 -0
  69. package/dist/cilium/v2alpha1/ciliumBGPClusterConfig.d.ts +65 -0
  70. package/dist/cilium/v2alpha1/ciliumBGPClusterConfig.js +100 -0
  71. package/dist/cilium/v2alpha1/ciliumBGPClusterConfigList.d.ts +69 -0
  72. package/dist/cilium/v2alpha1/ciliumBGPClusterConfigList.js +103 -0
  73. package/dist/cilium/v2alpha1/ciliumBGPClusterConfigPatch.d.ts +71 -0
  74. package/dist/cilium/v2alpha1/ciliumBGPClusterConfigPatch.js +106 -0
  75. package/dist/cilium/v2alpha1/ciliumBGPNodeConfig.d.ts +66 -0
  76. package/dist/cilium/v2alpha1/ciliumBGPNodeConfig.js +101 -0
  77. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigList.d.ts +69 -0
  78. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigList.js +103 -0
  79. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverride.d.ts +67 -0
  80. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverride.js +100 -0
  81. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverrideList.d.ts +69 -0
  82. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverrideList.js +103 -0
  83. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverridePatch.d.ts +73 -0
  84. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverridePatch.js +106 -0
  85. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigPatch.d.ts +72 -0
  86. package/dist/cilium/v2alpha1/ciliumBGPNodeConfigPatch.js +107 -0
  87. package/dist/cilium/v2alpha1/ciliumBGPPeerConfig.d.ts +62 -0
  88. package/dist/cilium/v2alpha1/ciliumBGPPeerConfig.js +97 -0
  89. package/dist/cilium/v2alpha1/ciliumBGPPeerConfigList.d.ts +69 -0
  90. package/dist/cilium/v2alpha1/ciliumBGPPeerConfigList.js +103 -0
  91. package/dist/cilium/v2alpha1/ciliumBGPPeerConfigPatch.d.ts +70 -0
  92. package/dist/cilium/v2alpha1/ciliumBGPPeerConfigPatch.js +105 -0
  93. package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicy.d.ts +65 -0
  94. package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicy.js +98 -0
  95. package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyList.d.ts +69 -0
  96. package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyList.js +103 -0
  97. package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyPatch.d.ts +71 -0
  98. package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyPatch.js +104 -0
  99. package/dist/cilium/v2alpha1/ciliumCIDRGroup.d.ts +66 -0
  100. package/dist/cilium/v2alpha1/ciliumCIDRGroup.js +99 -0
  101. package/dist/cilium/v2alpha1/ciliumCIDRGroupList.d.ts +69 -0
  102. package/dist/cilium/v2alpha1/ciliumCIDRGroupList.js +103 -0
  103. package/dist/cilium/v2alpha1/ciliumCIDRGroupPatch.d.ts +72 -0
  104. package/dist/cilium/v2alpha1/ciliumCIDRGroupPatch.js +105 -0
  105. package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicy.d.ts +67 -0
  106. package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicy.js +102 -0
  107. package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyList.d.ts +69 -0
  108. package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyList.js +103 -0
  109. package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyPatch.d.ts +73 -0
  110. package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyPatch.js +108 -0
  111. package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPool.d.ts +67 -0
  112. package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPool.js +102 -0
  113. package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPoolList.d.ts +69 -0
  114. package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPoolList.js +103 -0
  115. package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPoolPatch.d.ts +73 -0
  116. package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPoolPatch.js +108 -0
  117. package/dist/cilium/v2alpha1/ciliumPodIPPool.d.ts +65 -0
  118. package/dist/cilium/v2alpha1/ciliumPodIPPool.js +98 -0
  119. package/dist/cilium/v2alpha1/ciliumPodIPPoolList.d.ts +69 -0
  120. package/dist/cilium/v2alpha1/ciliumPodIPPoolList.js +103 -0
  121. package/dist/cilium/v2alpha1/ciliumPodIPPoolPatch.d.ts +71 -0
  122. package/dist/cilium/v2alpha1/ciliumPodIPPoolPatch.js +104 -0
  123. package/dist/cilium/v2alpha1/index.d.ts +90 -0
  124. package/dist/cilium/v2alpha1/index.js +160 -0
  125. package/dist/gateway/index.d.ts +4 -0
  126. package/dist/gateway/index.js +35 -0
  127. package/dist/gateway/v1/gateway.d.ts +66 -0
  128. package/dist/gateway/v1/gateway.js +103 -0
  129. package/dist/gateway/v1/gatewayClass.d.ts +81 -0
  130. package/dist/gateway/v1/gatewayClass.js +118 -0
  131. package/dist/gateway/v1/gatewayClassList.d.ts +69 -0
  132. package/dist/gateway/v1/gatewayClassList.js +103 -0
  133. package/dist/gateway/v1/gatewayClassPatch.d.ts +87 -0
  134. package/dist/gateway/v1/gatewayClassPatch.js +124 -0
  135. package/dist/gateway/v1/gatewayList.d.ts +69 -0
  136. package/dist/gateway/v1/gatewayList.js +103 -0
  137. package/dist/gateway/v1/gatewayPatch.d.ts +72 -0
  138. package/dist/gateway/v1/gatewayPatch.js +109 -0
  139. package/dist/gateway/v1/grpcroute.d.ts +91 -0
  140. package/dist/gateway/v1/grpcroute.js +126 -0
  141. package/dist/gateway/v1/grpcrouteList.d.ts +69 -0
  142. package/dist/gateway/v1/grpcrouteList.js +103 -0
  143. package/dist/gateway/v1/grpcroutePatch.d.ts +97 -0
  144. package/dist/gateway/v1/grpcroutePatch.js +132 -0
  145. package/dist/gateway/v1/httproute.d.ts +68 -0
  146. package/dist/gateway/v1/httproute.js +105 -0
  147. package/dist/gateway/v1/httprouteList.d.ts +69 -0
  148. package/dist/gateway/v1/httprouteList.js +103 -0
  149. package/dist/gateway/v1/httproutePatch.d.ts +74 -0
  150. package/dist/gateway/v1/httproutePatch.js +111 -0
  151. package/dist/gateway/v1/index.d.ts +36 -0
  152. package/dist/gateway/v1/index.js +88 -0
  153. package/dist/gateway/v1alpha2/index.d.ts +27 -0
  154. package/dist/gateway/v1alpha2/index.js +76 -0
  155. package/dist/gateway/v1alpha2/tcproute.d.ts +67 -0
  156. package/dist/gateway/v1alpha2/tcproute.js +102 -0
  157. package/dist/gateway/v1alpha2/tcprouteList.d.ts +69 -0
  158. package/dist/gateway/v1alpha2/tcprouteList.js +103 -0
  159. package/dist/gateway/v1alpha2/tcproutePatch.d.ts +73 -0
  160. package/dist/gateway/v1alpha2/tcproutePatch.js +108 -0
  161. package/dist/gateway/v1alpha2/tlsroute.d.ts +70 -0
  162. package/dist/gateway/v1alpha2/tlsroute.js +105 -0
  163. package/dist/gateway/v1alpha2/tlsrouteList.d.ts +69 -0
  164. package/dist/gateway/v1alpha2/tlsrouteList.js +103 -0
  165. package/dist/gateway/v1alpha2/tlsroutePatch.d.ts +76 -0
  166. package/dist/gateway/v1alpha2/tlsroutePatch.js +111 -0
  167. package/dist/gateway/v1alpha2/udproute.d.ts +67 -0
  168. package/dist/gateway/v1alpha2/udproute.js +102 -0
  169. package/dist/gateway/v1alpha2/udprouteList.d.ts +69 -0
  170. package/dist/gateway/v1alpha2/udprouteList.js +103 -0
  171. package/dist/gateway/v1alpha2/udproutePatch.d.ts +73 -0
  172. package/dist/gateway/v1alpha2/udproutePatch.js +108 -0
  173. package/dist/gateway/v1beta1/gateway.d.ts +66 -0
  174. package/dist/gateway/v1beta1/gateway.js +103 -0
  175. package/dist/gateway/v1beta1/gatewayClass.d.ts +81 -0
  176. package/dist/gateway/v1beta1/gatewayClass.js +118 -0
  177. package/dist/gateway/v1beta1/gatewayClassList.d.ts +69 -0
  178. package/dist/gateway/v1beta1/gatewayClassList.js +103 -0
  179. package/dist/gateway/v1beta1/gatewayClassPatch.d.ts +87 -0
  180. package/dist/gateway/v1beta1/gatewayClassPatch.js +124 -0
  181. package/dist/gateway/v1beta1/gatewayList.d.ts +69 -0
  182. package/dist/gateway/v1beta1/gatewayList.js +103 -0
  183. package/dist/gateway/v1beta1/gatewayPatch.d.ts +72 -0
  184. package/dist/gateway/v1beta1/gatewayPatch.js +109 -0
  185. package/dist/gateway/v1beta1/httproute.d.ts +68 -0
  186. package/dist/gateway/v1beta1/httproute.js +105 -0
  187. package/dist/gateway/v1beta1/httprouteList.d.ts +69 -0
  188. package/dist/gateway/v1beta1/httprouteList.js +103 -0
  189. package/dist/gateway/v1beta1/httproutePatch.d.ts +74 -0
  190. package/dist/gateway/v1beta1/httproutePatch.js +111 -0
  191. package/dist/gateway/v1beta1/index.d.ts +36 -0
  192. package/dist/gateway/v1beta1/index.js +88 -0
  193. package/dist/gateway/v1beta1/referenceGrant.d.ts +79 -0
  194. package/dist/gateway/v1beta1/referenceGrant.js +112 -0
  195. package/dist/gateway/v1beta1/referenceGrantList.d.ts +69 -0
  196. package/dist/gateway/v1beta1/referenceGrantList.js +103 -0
  197. package/dist/gateway/v1beta1/referenceGrantPatch.d.ts +85 -0
  198. package/dist/gateway/v1beta1/referenceGrantPatch.js +118 -0
  199. package/dist/index.d.ts +4 -2
  200. package/dist/index.js +8 -4
  201. package/dist/meta/v1.d.ts +1 -0
  202. package/dist/postgresql/v1/backup.d.ts +18 -19
  203. package/dist/postgresql/v1/backup.js +10 -11
  204. package/dist/postgresql/v1/backupList.d.ts +69 -0
  205. package/dist/postgresql/v1/backupList.js +103 -0
  206. package/dist/postgresql/v1/backupPatch.d.ts +71 -0
  207. package/dist/postgresql/v1/backupPatch.js +106 -0
  208. package/dist/postgresql/v1/cluster.d.ts +18 -19
  209. package/dist/postgresql/v1/cluster.js +10 -11
  210. package/dist/postgresql/v1/clusterImageCatalog.d.ts +19 -9
  211. package/dist/postgresql/v1/clusterImageCatalog.js +8 -3
  212. package/dist/postgresql/v1/clusterImageCatalogList.d.ts +69 -0
  213. package/dist/postgresql/v1/clusterImageCatalogList.js +103 -0
  214. package/dist/postgresql/v1/clusterImageCatalogPatch.d.ts +70 -0
  215. package/dist/postgresql/v1/clusterImageCatalogPatch.js +103 -0
  216. package/dist/postgresql/v1/clusterList.d.ts +69 -0
  217. package/dist/postgresql/v1/clusterList.js +103 -0
  218. package/dist/postgresql/v1/clusterPatch.d.ts +71 -0
  219. package/dist/postgresql/v1/clusterPatch.js +106 -0
  220. package/dist/postgresql/v1/imageCatalog.d.ts +19 -9
  221. package/dist/postgresql/v1/imageCatalog.js +8 -3
  222. package/dist/postgresql/v1/imageCatalogList.d.ts +69 -0
  223. package/dist/postgresql/v1/imageCatalogList.js +103 -0
  224. package/dist/postgresql/v1/imageCatalogPatch.d.ts +70 -0
  225. package/dist/postgresql/v1/imageCatalogPatch.js +103 -0
  226. package/dist/postgresql/v1/index.d.ts +36 -0
  227. package/dist/postgresql/v1/index.js +49 -1
  228. package/dist/postgresql/v1/pooler.d.ts +18 -19
  229. package/dist/postgresql/v1/pooler.js +10 -11
  230. package/dist/postgresql/v1/poolerList.d.ts +69 -0
  231. package/dist/postgresql/v1/poolerList.js +103 -0
  232. package/dist/postgresql/v1/poolerPatch.d.ts +71 -0
  233. package/dist/postgresql/v1/poolerPatch.js +106 -0
  234. package/dist/postgresql/v1/scheduledBackup.d.ts +18 -19
  235. package/dist/postgresql/v1/scheduledBackup.js +10 -11
  236. package/dist/postgresql/v1/scheduledBackupList.d.ts +69 -0
  237. package/dist/postgresql/v1/scheduledBackupList.js +103 -0
  238. package/dist/postgresql/v1/scheduledBackupPatch.d.ts +71 -0
  239. package/dist/postgresql/v1/scheduledBackupPatch.js +106 -0
  240. package/dist/types/input.d.ts +73905 -21150
  241. package/dist/types/input.js +0 -1108
  242. package/dist/types/output.d.ts +83120 -23860
  243. package/dist/types/output.js +0 -1107
  244. package/dist/utilities.js +1 -1
  245. package/package.json +2 -2
  246. package/dist/certmanager/v1/index.d.ts +0 -12
  247. /package/dist/{certmanager → cert_manager}/index.d.ts +0 -0
  248. /package/dist/{certmanager → cert_manager}/index.js +0 -0
@@ -0,0 +1,103 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.GatewayList = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../../utilities"));
31
+ /**
32
+ * GatewayList is a list of Gateway
33
+ */
34
+ class GatewayList extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing GatewayList 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
+ static get(name, id, opts) {
44
+ return new GatewayList(name, undefined, { ...opts, id: id });
45
+ }
46
+ /** @internal */
47
+ static __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1beta1:GatewayList';
48
+ /**
49
+ * Returns true if the given object is an instance of GatewayList. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === GatewayList.__pulumiType;
57
+ }
58
+ /**
59
+ * 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
60
+ */
61
+ apiVersion;
62
+ /**
63
+ * List of gateways. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
64
+ */
65
+ items;
66
+ /**
67
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
68
+ */
69
+ kind;
70
+ /**
71
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
72
+ */
73
+ metadata;
74
+ /**
75
+ * Create a GatewayList resource with the given unique name, arguments, and options.
76
+ *
77
+ * @param name The _unique_ name of the resource.
78
+ * @param args The arguments to use to populate this resource's properties.
79
+ * @param opts A bag of options that control this resource's behavior.
80
+ */
81
+ constructor(name, args, opts) {
82
+ let resourceInputs = {};
83
+ opts = opts || {};
84
+ if (!opts.id) {
85
+ if ((!args || args.items === undefined) && !opts.urn) {
86
+ throw new Error("Missing required property 'items'");
87
+ }
88
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1beta1";
89
+ resourceInputs["items"] = args ? args.items : undefined;
90
+ resourceInputs["kind"] = "GatewayList";
91
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
92
+ }
93
+ else {
94
+ resourceInputs["apiVersion"] = undefined /*out*/;
95
+ resourceInputs["items"] = undefined /*out*/;
96
+ resourceInputs["kind"] = undefined /*out*/;
97
+ resourceInputs["metadata"] = undefined /*out*/;
98
+ }
99
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
+ super(GatewayList.__pulumiType, name, resourceInputs, opts);
101
+ }
102
+ }
103
+ exports.GatewayList = GatewayList;
@@ -0,0 +1,72 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ import { ObjectMetaPatch } from "../../meta/v1";
5
+ /**
6
+ * Patch resources are used to modify existing Kubernetes resources by using
7
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
8
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
9
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
10
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
11
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
12
+ * Gateway represents an instance of a service-traffic handling infrastructure
13
+ * by binding Listeners to a set of IP addresses.
14
+ */
15
+ export declare class GatewayPatch extends pulumi.CustomResource {
16
+ /**
17
+ * Get an existing GatewayPatch resource's state with the given name, ID, and optional extra
18
+ * properties used to qualify the lookup.
19
+ *
20
+ * @param name The _unique_ name of the resulting resource.
21
+ * @param id The _unique_ provider ID of the resource to lookup.
22
+ * @param opts Optional settings to control the behavior of the CustomResource.
23
+ */
24
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayPatch;
25
+ /** @internal */
26
+ static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayPatch";
27
+ /**
28
+ * Returns true if the given object is an instance of GatewayPatch. This is designed to work even
29
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
30
+ */
31
+ static isInstance(obj: any): obj is GatewayPatch;
32
+ /**
33
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
34
+ */
35
+ readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1beta1">;
36
+ /**
37
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
38
+ */
39
+ readonly kind: pulumi.Output<"Gateway">;
40
+ /**
41
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
42
+ */
43
+ readonly metadata: pulumi.Output<ObjectMetaPatch>;
44
+ readonly spec: pulumi.Output<outputs.gateway.v1beta1.GatewaySpecPatch>;
45
+ readonly status: pulumi.Output<outputs.gateway.v1beta1.GatewayStatusPatch>;
46
+ /**
47
+ * Create a GatewayPatch resource with the given unique name, arguments, and options.
48
+ *
49
+ * @param name The _unique_ name of the resource.
50
+ * @param args The arguments to use to populate this resource's properties.
51
+ * @param opts A bag of options that control this resource's behavior.
52
+ */
53
+ constructor(name: string, args?: GatewayPatchArgs, opts?: pulumi.CustomResourceOptions);
54
+ }
55
+ /**
56
+ * The set of arguments for constructing a GatewayPatch resource.
57
+ */
58
+ export interface GatewayPatchArgs {
59
+ /**
60
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
61
+ */
62
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1beta1">;
63
+ /**
64
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
65
+ */
66
+ kind?: pulumi.Input<"Gateway">;
67
+ /**
68
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
69
+ */
70
+ metadata?: pulumi.Input<ObjectMetaPatch>;
71
+ spec?: pulumi.Input<inputs.gateway.v1beta1.GatewaySpecPatch>;
72
+ }
@@ -0,0 +1,109 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.GatewayPatch = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../../utilities"));
31
+ /**
32
+ * Patch resources are used to modify existing Kubernetes resources by using
33
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
34
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
35
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
36
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
37
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
38
+ * Gateway represents an instance of a service-traffic handling infrastructure
39
+ * by binding Listeners to a set of IP addresses.
40
+ */
41
+ class GatewayPatch extends pulumi.CustomResource {
42
+ /**
43
+ * Get an existing GatewayPatch resource's state with the given name, ID, and optional extra
44
+ * properties used to qualify the lookup.
45
+ *
46
+ * @param name The _unique_ name of the resulting resource.
47
+ * @param id The _unique_ provider ID of the resource to lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name, id, opts) {
51
+ return new GatewayPatch(name, undefined, { ...opts, id: id });
52
+ }
53
+ /** @internal */
54
+ static __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1beta1:GatewayPatch';
55
+ /**
56
+ * Returns true if the given object is an instance of GatewayPatch. This is designed to work even
57
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
+ */
59
+ static isInstance(obj) {
60
+ if (obj === undefined || obj === null) {
61
+ return false;
62
+ }
63
+ return obj['__pulumiType'] === GatewayPatch.__pulumiType;
64
+ }
65
+ /**
66
+ * 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
67
+ */
68
+ apiVersion;
69
+ /**
70
+ * 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
71
+ */
72
+ kind;
73
+ /**
74
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
75
+ */
76
+ metadata;
77
+ spec;
78
+ status;
79
+ /**
80
+ * Create a GatewayPatch resource with the given unique name, arguments, and options.
81
+ *
82
+ * @param name The _unique_ name of the resource.
83
+ * @param args The arguments to use to populate this resource's properties.
84
+ * @param opts A bag of options that control this resource's behavior.
85
+ */
86
+ constructor(name, args, opts) {
87
+ let resourceInputs = {};
88
+ opts = opts || {};
89
+ if (!opts.id) {
90
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1beta1";
91
+ resourceInputs["kind"] = "Gateway";
92
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
93
+ resourceInputs["spec"] = args ? args.spec : undefined;
94
+ resourceInputs["status"] = undefined /*out*/;
95
+ }
96
+ else {
97
+ resourceInputs["apiVersion"] = undefined /*out*/;
98
+ resourceInputs["kind"] = undefined /*out*/;
99
+ resourceInputs["metadata"] = undefined /*out*/;
100
+ resourceInputs["spec"] = undefined /*out*/;
101
+ resourceInputs["status"] = undefined /*out*/;
102
+ }
103
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
104
+ const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1:GatewayPatch" }] };
105
+ opts = pulumi.mergeOptions(opts, aliasOpts);
106
+ super(GatewayPatch.__pulumiType, name, resourceInputs, opts);
107
+ }
108
+ }
109
+ exports.GatewayPatch = GatewayPatch;
@@ -0,0 +1,68 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ import { ObjectMeta } from "../../meta/v1";
5
+ /**
6
+ * HTTPRoute provides a way to route HTTP requests. This includes the capability
7
+ * to match requests by hostname, path, header, or query param. Filters can be
8
+ * used to specify additional processing steps. Backends specify where matching
9
+ * requests should be routed.
10
+ */
11
+ export declare class HTTPRoute extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing HTTPRoute 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: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): HTTPRoute;
21
+ /** @internal */
22
+ static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1beta1:HTTPRoute";
23
+ /**
24
+ * Returns true if the given object is an instance of HTTPRoute. 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: any): obj is HTTPRoute;
28
+ /**
29
+ * 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
30
+ */
31
+ readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1beta1">;
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<"HTTPRoute">;
36
+ /**
37
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
38
+ */
39
+ readonly metadata: pulumi.Output<ObjectMeta>;
40
+ readonly spec: pulumi.Output<outputs.gateway.v1beta1.HTTPRouteSpec>;
41
+ readonly status: pulumi.Output<outputs.gateway.v1beta1.HTTPRouteStatus>;
42
+ /**
43
+ * Create a HTTPRoute resource with the given unique name, arguments, and options.
44
+ *
45
+ * @param name The _unique_ name of the resource.
46
+ * @param args The arguments to use to populate this resource's properties.
47
+ * @param opts A bag of options that control this resource's behavior.
48
+ */
49
+ constructor(name: string, args?: HTTPRouteArgs, opts?: pulumi.CustomResourceOptions);
50
+ }
51
+ /**
52
+ * The set of arguments for constructing a HTTPRoute resource.
53
+ */
54
+ export interface HTTPRouteArgs {
55
+ /**
56
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
57
+ */
58
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1beta1">;
59
+ /**
60
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
61
+ */
62
+ kind?: pulumi.Input<"HTTPRoute">;
63
+ /**
64
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
65
+ */
66
+ metadata?: pulumi.Input<ObjectMeta>;
67
+ spec?: pulumi.Input<inputs.gateway.v1beta1.HTTPRouteSpec>;
68
+ }
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.HTTPRoute = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../../utilities"));
31
+ /**
32
+ * HTTPRoute provides a way to route HTTP requests. This includes the capability
33
+ * to match requests by hostname, path, header, or query param. Filters can be
34
+ * used to specify additional processing steps. Backends specify where matching
35
+ * requests should be routed.
36
+ */
37
+ class HTTPRoute extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing HTTPRoute resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name, id, opts) {
47
+ return new HTTPRoute(name, undefined, { ...opts, id: id });
48
+ }
49
+ /** @internal */
50
+ static __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1beta1:HTTPRoute';
51
+ /**
52
+ * Returns true if the given object is an instance of HTTPRoute. This is designed to work even
53
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
54
+ */
55
+ static isInstance(obj) {
56
+ if (obj === undefined || obj === null) {
57
+ return false;
58
+ }
59
+ return obj['__pulumiType'] === HTTPRoute.__pulumiType;
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
+ apiVersion;
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
+ kind;
69
+ /**
70
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
71
+ */
72
+ metadata;
73
+ spec;
74
+ status;
75
+ /**
76
+ * Create a HTTPRoute resource with the given unique name, arguments, and options.
77
+ *
78
+ * @param name The _unique_ name of the resource.
79
+ * @param args The arguments to use to populate this resource's properties.
80
+ * @param opts A bag of options that control this resource's behavior.
81
+ */
82
+ constructor(name, args, opts) {
83
+ let resourceInputs = {};
84
+ opts = opts || {};
85
+ if (!opts.id) {
86
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1beta1";
87
+ resourceInputs["kind"] = "HTTPRoute";
88
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
89
+ resourceInputs["spec"] = args ? args.spec : undefined;
90
+ resourceInputs["status"] = undefined /*out*/;
91
+ }
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/v1:HTTPRoute" }] };
101
+ opts = pulumi.mergeOptions(opts, aliasOpts);
102
+ super(HTTPRoute.__pulumiType, name, resourceInputs, opts);
103
+ }
104
+ }
105
+ exports.HTTPRoute = HTTPRoute;
@@ -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
+ * HTTPRouteList is a list of HTTPRoute
6
+ */
7
+ export declare class HTTPRouteList extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing HTTPRouteList 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): HTTPRouteList;
17
+ /** @internal */
18
+ static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1beta1:HTTPRouteList";
19
+ /**
20
+ * Returns true if the given object is an instance of HTTPRouteList. 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 HTTPRouteList;
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/v1beta1">;
28
+ /**
29
+ * List of httproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
30
+ */
31
+ readonly items: pulumi.Output<outputs.gateway.v1beta1.HTTPRoute[]>;
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<"HTTPRouteList">;
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 HTTPRouteList 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?: HTTPRouteListArgs, opts?: pulumi.CustomResourceOptions);
48
+ }
49
+ /**
50
+ * The set of arguments for constructing a HTTPRouteList resource.
51
+ */
52
+ export interface HTTPRouteListArgs {
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/v1beta1">;
57
+ /**
58
+ * List of httproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
59
+ */
60
+ items: pulumi.Input<pulumi.Input<inputs.gateway.v1beta1.HTTPRoute>[]>;
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<"HTTPRouteList">;
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,103 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.HTTPRouteList = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../../utilities"));
31
+ /**
32
+ * HTTPRouteList is a list of HTTPRoute
33
+ */
34
+ class HTTPRouteList extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing HTTPRouteList 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
+ static get(name, id, opts) {
44
+ return new HTTPRouteList(name, undefined, { ...opts, id: id });
45
+ }
46
+ /** @internal */
47
+ static __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1beta1:HTTPRouteList';
48
+ /**
49
+ * Returns true if the given object is an instance of HTTPRouteList. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === HTTPRouteList.__pulumiType;
57
+ }
58
+ /**
59
+ * 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
60
+ */
61
+ apiVersion;
62
+ /**
63
+ * List of httproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
64
+ */
65
+ items;
66
+ /**
67
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
68
+ */
69
+ kind;
70
+ /**
71
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
72
+ */
73
+ metadata;
74
+ /**
75
+ * Create a HTTPRouteList resource with the given unique name, arguments, and options.
76
+ *
77
+ * @param name The _unique_ name of the resource.
78
+ * @param args The arguments to use to populate this resource's properties.
79
+ * @param opts A bag of options that control this resource's behavior.
80
+ */
81
+ constructor(name, args, opts) {
82
+ let resourceInputs = {};
83
+ opts = opts || {};
84
+ if (!opts.id) {
85
+ if ((!args || args.items === undefined) && !opts.urn) {
86
+ throw new Error("Missing required property 'items'");
87
+ }
88
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1beta1";
89
+ resourceInputs["items"] = args ? args.items : undefined;
90
+ resourceInputs["kind"] = "HTTPRouteList";
91
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
92
+ }
93
+ else {
94
+ resourceInputs["apiVersion"] = undefined /*out*/;
95
+ resourceInputs["items"] = undefined /*out*/;
96
+ resourceInputs["kind"] = undefined /*out*/;
97
+ resourceInputs["metadata"] = undefined /*out*/;
98
+ }
99
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
+ super(HTTPRouteList.__pulumiType, name, resourceInputs, opts);
101
+ }
102
+ }
103
+ exports.HTTPRouteList = HTTPRouteList;