@highstate/gateway-api 0.4.5

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 (210) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +14 -0
  3. package/bin/gateway/index.d.ts +5 -0
  4. package/bin/gateway/index.js +15 -0
  5. package/bin/gateway/index.js.map +1 -0
  6. package/bin/gateway/v1/gateway.d.ts +64 -0
  7. package/bin/gateway/v1/gateway.js +67 -0
  8. package/bin/gateway/v1/gateway.js.map +1 -0
  9. package/bin/gateway/v1/gatewayClass.d.ts +79 -0
  10. package/bin/gateway/v1/gatewayClass.js +82 -0
  11. package/bin/gateway/v1/gatewayClass.js.map +1 -0
  12. package/bin/gateway/v1/gatewayClassList.d.ts +67 -0
  13. package/bin/gateway/v1/gatewayClassList.js +65 -0
  14. package/bin/gateway/v1/gatewayClassList.js.map +1 -0
  15. package/bin/gateway/v1/gatewayClassPatch.d.ts +85 -0
  16. package/bin/gateway/v1/gatewayClassPatch.js +88 -0
  17. package/bin/gateway/v1/gatewayClassPatch.js.map +1 -0
  18. package/bin/gateway/v1/gatewayList.d.ts +67 -0
  19. package/bin/gateway/v1/gatewayList.js +65 -0
  20. package/bin/gateway/v1/gatewayList.js.map +1 -0
  21. package/bin/gateway/v1/gatewayPatch.d.ts +70 -0
  22. package/bin/gateway/v1/gatewayPatch.js +73 -0
  23. package/bin/gateway/v1/gatewayPatch.js.map +1 -0
  24. package/bin/gateway/v1/grpcroute.d.ts +89 -0
  25. package/bin/gateway/v1/grpcroute.js +90 -0
  26. package/bin/gateway/v1/grpcroute.js.map +1 -0
  27. package/bin/gateway/v1/grpcrouteList.d.ts +67 -0
  28. package/bin/gateway/v1/grpcrouteList.js +65 -0
  29. package/bin/gateway/v1/grpcrouteList.js.map +1 -0
  30. package/bin/gateway/v1/grpcroutePatch.d.ts +95 -0
  31. package/bin/gateway/v1/grpcroutePatch.js +96 -0
  32. package/bin/gateway/v1/grpcroutePatch.js.map +1 -0
  33. package/bin/gateway/v1/httproute.d.ts +66 -0
  34. package/bin/gateway/v1/httproute.js +69 -0
  35. package/bin/gateway/v1/httproute.js.map +1 -0
  36. package/bin/gateway/v1/httprouteList.d.ts +67 -0
  37. package/bin/gateway/v1/httprouteList.js +65 -0
  38. package/bin/gateway/v1/httprouteList.js.map +1 -0
  39. package/bin/gateway/v1/httproutePatch.d.ts +72 -0
  40. package/bin/gateway/v1/httproutePatch.js +75 -0
  41. package/bin/gateway/v1/httproutePatch.js.map +1 -0
  42. package/bin/gateway/v1/index.d.ts +36 -0
  43. package/bin/gateway/v1/index.js +66 -0
  44. package/bin/gateway/v1/index.js.map +1 -0
  45. package/bin/gateway/v1alpha2/backendLBPolicy.d.ts +64 -0
  46. package/bin/gateway/v1alpha2/backendLBPolicy.js +65 -0
  47. package/bin/gateway/v1alpha2/backendLBPolicy.js.map +1 -0
  48. package/bin/gateway/v1alpha2/backendLBPolicyList.d.ts +67 -0
  49. package/bin/gateway/v1alpha2/backendLBPolicyList.js +65 -0
  50. package/bin/gateway/v1alpha2/backendLBPolicyList.js.map +1 -0
  51. package/bin/gateway/v1alpha2/backendLBPolicyPatch.d.ts +70 -0
  52. package/bin/gateway/v1alpha2/backendLBPolicyPatch.js +71 -0
  53. package/bin/gateway/v1alpha2/backendLBPolicyPatch.js.map +1 -0
  54. package/bin/gateway/v1alpha2/index.d.ts +36 -0
  55. package/bin/gateway/v1alpha2/index.js +66 -0
  56. package/bin/gateway/v1alpha2/index.js.map +1 -0
  57. package/bin/gateway/v1alpha2/tcproute.d.ts +65 -0
  58. package/bin/gateway/v1alpha2/tcproute.js +66 -0
  59. package/bin/gateway/v1alpha2/tcproute.js.map +1 -0
  60. package/bin/gateway/v1alpha2/tcprouteList.d.ts +67 -0
  61. package/bin/gateway/v1alpha2/tcprouteList.js +65 -0
  62. package/bin/gateway/v1alpha2/tcprouteList.js.map +1 -0
  63. package/bin/gateway/v1alpha2/tcproutePatch.d.ts +71 -0
  64. package/bin/gateway/v1alpha2/tcproutePatch.js +72 -0
  65. package/bin/gateway/v1alpha2/tcproutePatch.js.map +1 -0
  66. package/bin/gateway/v1alpha2/tlsroute.d.ts +68 -0
  67. package/bin/gateway/v1alpha2/tlsroute.js +69 -0
  68. package/bin/gateway/v1alpha2/tlsroute.js.map +1 -0
  69. package/bin/gateway/v1alpha2/tlsrouteList.d.ts +67 -0
  70. package/bin/gateway/v1alpha2/tlsrouteList.js +65 -0
  71. package/bin/gateway/v1alpha2/tlsrouteList.js.map +1 -0
  72. package/bin/gateway/v1alpha2/tlsroutePatch.d.ts +74 -0
  73. package/bin/gateway/v1alpha2/tlsroutePatch.js +75 -0
  74. package/bin/gateway/v1alpha2/tlsroutePatch.js.map +1 -0
  75. package/bin/gateway/v1alpha2/udproute.d.ts +65 -0
  76. package/bin/gateway/v1alpha2/udproute.js +66 -0
  77. package/bin/gateway/v1alpha2/udproute.js.map +1 -0
  78. package/bin/gateway/v1alpha2/udprouteList.d.ts +67 -0
  79. package/bin/gateway/v1alpha2/udprouteList.js +65 -0
  80. package/bin/gateway/v1alpha2/udprouteList.js.map +1 -0
  81. package/bin/gateway/v1alpha2/udproutePatch.d.ts +71 -0
  82. package/bin/gateway/v1alpha2/udproutePatch.js +72 -0
  83. package/bin/gateway/v1alpha2/udproutePatch.js.map +1 -0
  84. package/bin/gateway/v1alpha3/backendTLSPolicy.d.ts +64 -0
  85. package/bin/gateway/v1alpha3/backendTLSPolicy.js +65 -0
  86. package/bin/gateway/v1alpha3/backendTLSPolicy.js.map +1 -0
  87. package/bin/gateway/v1alpha3/backendTLSPolicyList.d.ts +67 -0
  88. package/bin/gateway/v1alpha3/backendTLSPolicyList.js +65 -0
  89. package/bin/gateway/v1alpha3/backendTLSPolicyList.js.map +1 -0
  90. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.d.ts +70 -0
  91. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js +71 -0
  92. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js.map +1 -0
  93. package/bin/gateway/v1alpha3/index.d.ts +9 -0
  94. package/bin/gateway/v1alpha3/index.js +30 -0
  95. package/bin/gateway/v1alpha3/index.js.map +1 -0
  96. package/bin/gateway/v1beta1/gateway.d.ts +64 -0
  97. package/bin/gateway/v1beta1/gateway.js +67 -0
  98. package/bin/gateway/v1beta1/gateway.js.map +1 -0
  99. package/bin/gateway/v1beta1/gatewayClass.d.ts +79 -0
  100. package/bin/gateway/v1beta1/gatewayClass.js +82 -0
  101. package/bin/gateway/v1beta1/gatewayClass.js.map +1 -0
  102. package/bin/gateway/v1beta1/gatewayClassList.d.ts +67 -0
  103. package/bin/gateway/v1beta1/gatewayClassList.js +65 -0
  104. package/bin/gateway/v1beta1/gatewayClassList.js.map +1 -0
  105. package/bin/gateway/v1beta1/gatewayClassPatch.d.ts +85 -0
  106. package/bin/gateway/v1beta1/gatewayClassPatch.js +88 -0
  107. package/bin/gateway/v1beta1/gatewayClassPatch.js.map +1 -0
  108. package/bin/gateway/v1beta1/gatewayList.d.ts +67 -0
  109. package/bin/gateway/v1beta1/gatewayList.js +65 -0
  110. package/bin/gateway/v1beta1/gatewayList.js.map +1 -0
  111. package/bin/gateway/v1beta1/gatewayPatch.d.ts +70 -0
  112. package/bin/gateway/v1beta1/gatewayPatch.js +73 -0
  113. package/bin/gateway/v1beta1/gatewayPatch.js.map +1 -0
  114. package/bin/gateway/v1beta1/httproute.d.ts +66 -0
  115. package/bin/gateway/v1beta1/httproute.js +69 -0
  116. package/bin/gateway/v1beta1/httproute.js.map +1 -0
  117. package/bin/gateway/v1beta1/httprouteList.d.ts +67 -0
  118. package/bin/gateway/v1beta1/httprouteList.js +65 -0
  119. package/bin/gateway/v1beta1/httprouteList.js.map +1 -0
  120. package/bin/gateway/v1beta1/httproutePatch.d.ts +72 -0
  121. package/bin/gateway/v1beta1/httproutePatch.js +75 -0
  122. package/bin/gateway/v1beta1/httproutePatch.js.map +1 -0
  123. package/bin/gateway/v1beta1/index.d.ts +36 -0
  124. package/bin/gateway/v1beta1/index.js +66 -0
  125. package/bin/gateway/v1beta1/index.js.map +1 -0
  126. package/bin/gateway/v1beta1/referenceGrant.d.ts +77 -0
  127. package/bin/gateway/v1beta1/referenceGrant.js +77 -0
  128. package/bin/gateway/v1beta1/referenceGrant.js.map +1 -0
  129. package/bin/gateway/v1beta1/referenceGrantList.d.ts +67 -0
  130. package/bin/gateway/v1beta1/referenceGrantList.js +65 -0
  131. package/bin/gateway/v1beta1/referenceGrantList.js.map +1 -0
  132. package/bin/gateway/v1beta1/referenceGrantPatch.d.ts +83 -0
  133. package/bin/gateway/v1beta1/referenceGrantPatch.js +83 -0
  134. package/bin/gateway/v1beta1/referenceGrantPatch.js.map +1 -0
  135. package/bin/index.d.ts +6 -0
  136. package/bin/index.js +24 -0
  137. package/bin/index.js.map +1 -0
  138. package/bin/meta/v1.d.ts +3 -0
  139. package/bin/meta/v1.js +3 -0
  140. package/bin/meta/v1.js.map +1 -0
  141. package/bin/package.json +42 -0
  142. package/bin/provider.d.ts +21 -0
  143. package/bin/provider.js +38 -0
  144. package/bin/provider.js.map +1 -0
  145. package/bin/types/index.d.ts +3 -0
  146. package/bin/types/index.js +11 -0
  147. package/bin/types/index.js.map +1 -0
  148. package/bin/types/input.d.ts +19026 -0
  149. package/bin/types/input.js +5 -0
  150. package/bin/types/input.js.map +1 -0
  151. package/bin/types/output.d.ts +21341 -0
  152. package/bin/types/output.js +5 -0
  153. package/bin/types/output.js.map +1 -0
  154. package/bin/utilities.d.ts +8 -0
  155. package/bin/utilities.js +102 -0
  156. package/bin/utilities.js.map +1 -0
  157. package/gateway/index.ts +17 -0
  158. package/gateway/v1/gateway.ts +104 -0
  159. package/gateway/v1/gatewayClass.ts +119 -0
  160. package/gateway/v1/gatewayClassList.ts +107 -0
  161. package/gateway/v1/gatewayClassPatch.ts +125 -0
  162. package/gateway/v1/gatewayList.ts +107 -0
  163. package/gateway/v1/gatewayPatch.ts +110 -0
  164. package/gateway/v1/grpcroute.ts +127 -0
  165. package/gateway/v1/grpcrouteList.ts +107 -0
  166. package/gateway/v1/grpcroutePatch.ts +133 -0
  167. package/gateway/v1/httproute.ts +106 -0
  168. package/gateway/v1/httprouteList.ts +107 -0
  169. package/gateway/v1/httproutePatch.ts +112 -0
  170. package/gateway/v1/index.ts +102 -0
  171. package/gateway/v1alpha2/backendLBPolicy.ts +102 -0
  172. package/gateway/v1alpha2/backendLBPolicyList.ts +107 -0
  173. package/gateway/v1alpha2/backendLBPolicyPatch.ts +108 -0
  174. package/gateway/v1alpha2/index.ts +102 -0
  175. package/gateway/v1alpha2/tcproute.ts +103 -0
  176. package/gateway/v1alpha2/tcprouteList.ts +107 -0
  177. package/gateway/v1alpha2/tcproutePatch.ts +109 -0
  178. package/gateway/v1alpha2/tlsroute.ts +106 -0
  179. package/gateway/v1alpha2/tlsrouteList.ts +107 -0
  180. package/gateway/v1alpha2/tlsroutePatch.ts +112 -0
  181. package/gateway/v1alpha2/udproute.ts +103 -0
  182. package/gateway/v1alpha2/udprouteList.ts +107 -0
  183. package/gateway/v1alpha2/udproutePatch.ts +109 -0
  184. package/gateway/v1alpha3/backendTLSPolicy.ts +102 -0
  185. package/gateway/v1alpha3/backendTLSPolicyList.ts +107 -0
  186. package/gateway/v1alpha3/backendTLSPolicyPatch.ts +108 -0
  187. package/gateway/v1alpha3/index.ts +39 -0
  188. package/gateway/v1beta1/gateway.ts +104 -0
  189. package/gateway/v1beta1/gatewayClass.ts +119 -0
  190. package/gateway/v1beta1/gatewayClassList.ts +107 -0
  191. package/gateway/v1beta1/gatewayClassPatch.ts +125 -0
  192. package/gateway/v1beta1/gatewayList.ts +107 -0
  193. package/gateway/v1beta1/gatewayPatch.ts +110 -0
  194. package/gateway/v1beta1/httproute.ts +106 -0
  195. package/gateway/v1beta1/httprouteList.ts +107 -0
  196. package/gateway/v1beta1/httproutePatch.ts +112 -0
  197. package/gateway/v1beta1/index.ts +102 -0
  198. package/gateway/v1beta1/referenceGrant.ts +113 -0
  199. package/gateway/v1beta1/referenceGrantList.ts +107 -0
  200. package/gateway/v1beta1/referenceGrantPatch.ts +119 -0
  201. package/index.ts +30 -0
  202. package/meta/v1.ts +4 -0
  203. package/package.json +43 -0
  204. package/provider.ts +44 -0
  205. package/scripts/postinstall.js +13 -0
  206. package/tsconfig.json +67 -0
  207. package/types/index.ts +13 -0
  208. package/types/input.ts +19413 -0
  209. package/types/output.ts +21780 -0
  210. package/utilities.ts +97 -0
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.GatewayClassPatch = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Patch resources are used to modify existing Kubernetes resources by using
10
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
11
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
12
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
13
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
14
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
15
+ * GatewayClass describes a class of Gateways available to the user for creating
16
+ * Gateway resources.
17
+ *
18
+ * It is recommended that this resource be used as a template for Gateways. This
19
+ * means that a Gateway is based on the state of the GatewayClass at the time it
20
+ * was created and changes to the GatewayClass or associated parameters are not
21
+ * propagated down to existing Gateways. This recommendation is intended to
22
+ * limit the blast radius of changes to GatewayClass or associated parameters.
23
+ * If implementations choose to propagate GatewayClass changes to existing
24
+ * Gateways, that MUST be clearly documented by the implementation.
25
+ *
26
+ * Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
27
+ * add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
28
+ * associated GatewayClass. This ensures that a GatewayClass associated with a
29
+ * Gateway is not deleted while in use.
30
+ *
31
+ * GatewayClass is a Cluster level resource.
32
+ */
33
+ class GatewayClassPatch extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing GatewayClassPatch resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param opts Optional settings to control the behavior of the CustomResource.
41
+ */
42
+ static get(name, id, opts) {
43
+ return new GatewayClassPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
44
+ }
45
+ /**
46
+ * Returns true if the given object is an instance of GatewayClassPatch. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj) {
50
+ if (obj === undefined || obj === null) {
51
+ return false;
52
+ }
53
+ return obj['__pulumiType'] === GatewayClassPatch.__pulumiType;
54
+ }
55
+ /**
56
+ * Create a GatewayClassPatch resource with the given unique name, arguments, and options.
57
+ *
58
+ * @param name The _unique_ name of the resource.
59
+ * @param args The arguments to use to populate this resource's properties.
60
+ * @param opts A bag of options that control this resource's behavior.
61
+ */
62
+ constructor(name, args, opts) {
63
+ let resourceInputs = {};
64
+ opts = opts || {};
65
+ if (!opts.id) {
66
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
67
+ resourceInputs["kind"] = "GatewayClass";
68
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
69
+ resourceInputs["spec"] = args ? args.spec : undefined;
70
+ resourceInputs["status"] = undefined /*out*/;
71
+ }
72
+ else {
73
+ resourceInputs["apiVersion"] = undefined /*out*/;
74
+ resourceInputs["kind"] = undefined /*out*/;
75
+ resourceInputs["metadata"] = undefined /*out*/;
76
+ resourceInputs["spec"] = undefined /*out*/;
77
+ resourceInputs["status"] = undefined /*out*/;
78
+ }
79
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
80
+ const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClassPatch" }] };
81
+ opts = pulumi.mergeOptions(opts, aliasOpts);
82
+ super(GatewayClassPatch.__pulumiType, name, resourceInputs, opts);
83
+ }
84
+ }
85
+ exports.GatewayClassPatch = GatewayClassPatch;
86
+ /** @internal */
87
+ GatewayClassPatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClassPatch';
88
+ //# sourceMappingURL=gatewayClassPatch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gatewayClassPatch.js","sourceRoot":"","sources":["../../../gateway/v1/gatewayClassPatch.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACpC,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAiBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA4B,EAAE,IAAmC;QACvF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;YACX,cAAc,CAAC,YAAY,CAAC,GAAG,8BAA8B,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,cAAc,CAAC;YACxC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;aAAM,CAAC;YACJ,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,gEAAgE,EAAE,CAAC,EAAE,CAAC;QAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AArEL,8CAsEC;AAzDG,gBAAgB;AACO,8BAAY,GAAG,2DAA2D,CAAC"}
@@ -0,0 +1,67 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * GatewayList is a list of Gateway
6
+ */
7
+ export declare class GatewayList extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing GatewayList 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): GatewayList;
17
+ /**
18
+ * Returns true if the given object is an instance of GatewayList. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is GatewayList;
22
+ /**
23
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
24
+ */
25
+ readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
26
+ /**
27
+ * List of gateways. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
28
+ */
29
+ readonly items: pulumi.Output<outputs.gateway.v1.Gateway[]>;
30
+ /**
31
+ * 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
32
+ */
33
+ readonly kind: pulumi.Output<"GatewayList">;
34
+ /**
35
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36
+ */
37
+ readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
38
+ /**
39
+ * Create a GatewayList resource with the given unique name, arguments, and options.
40
+ *
41
+ * @param name The _unique_ name of the resource.
42
+ * @param args The arguments to use to populate this resource's properties.
43
+ * @param opts A bag of options that control this resource's behavior.
44
+ */
45
+ constructor(name: string, args?: GatewayListArgs, opts?: pulumi.CustomResourceOptions);
46
+ }
47
+ /**
48
+ * The set of arguments for constructing a GatewayList resource.
49
+ */
50
+ export interface GatewayListArgs {
51
+ /**
52
+ * 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
53
+ */
54
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
55
+ /**
56
+ * List of gateways. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
57
+ */
58
+ items: pulumi.Input<pulumi.Input<inputs.gateway.v1.Gateway>[]>;
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<"GatewayList">;
63
+ /**
64
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
65
+ */
66
+ metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
67
+ }
@@ -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.GatewayList = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * GatewayList is a list of Gateway
10
+ */
11
+ class GatewayList extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing GatewayList resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new GatewayList(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of GatewayList. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === GatewayList.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a GatewayList resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ if ((!args || args.items === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'items'");
46
+ }
47
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
48
+ resourceInputs["items"] = args ? args.items : undefined;
49
+ resourceInputs["kind"] = "GatewayList";
50
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
51
+ }
52
+ else {
53
+ resourceInputs["apiVersion"] = undefined /*out*/;
54
+ resourceInputs["items"] = undefined /*out*/;
55
+ resourceInputs["kind"] = undefined /*out*/;
56
+ resourceInputs["metadata"] = undefined /*out*/;
57
+ }
58
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
59
+ super(GatewayList.__pulumiType, name, resourceInputs, opts);
60
+ }
61
+ }
62
+ exports.GatewayList = GatewayList;
63
+ /** @internal */
64
+ GatewayList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayList';
65
+ //# sourceMappingURL=gatewayList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gatewayList.js","sourceRoot":"","sources":["../../../gateway/v1/gatewayList.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;GAEG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,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O,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACnD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAtEL,kCAuEC;AA1DG,gBAAgB;AACO,wBAAY,GAAG,qDAAqD,CAAC"}
@@ -0,0 +1,70 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ import { 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
+ /**
26
+ * Returns true if the given object is an instance of GatewayPatch. This is designed to work even
27
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
28
+ */
29
+ static isInstance(obj: any): obj is GatewayPatch;
30
+ /**
31
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
32
+ */
33
+ readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
34
+ /**
35
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36
+ */
37
+ readonly kind: pulumi.Output<"Gateway">;
38
+ /**
39
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
40
+ */
41
+ readonly metadata: pulumi.Output<ObjectMetaPatch>;
42
+ readonly spec: pulumi.Output<outputs.gateway.v1.GatewaySpecPatch>;
43
+ readonly status: pulumi.Output<outputs.gateway.v1.GatewayStatusPatch>;
44
+ /**
45
+ * Create a GatewayPatch resource with the given unique name, arguments, and options.
46
+ *
47
+ * @param name The _unique_ name of the resource.
48
+ * @param args The arguments to use to populate this resource's properties.
49
+ * @param opts A bag of options that control this resource's behavior.
50
+ */
51
+ constructor(name: string, args?: GatewayPatchArgs, opts?: pulumi.CustomResourceOptions);
52
+ }
53
+ /**
54
+ * The set of arguments for constructing a GatewayPatch resource.
55
+ */
56
+ export interface GatewayPatchArgs {
57
+ /**
58
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
59
+ */
60
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
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<"Gateway">;
65
+ /**
66
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
67
+ */
68
+ metadata?: pulumi.Input<ObjectMetaPatch>;
69
+ spec?: pulumi.Input<inputs.gateway.v1.GatewaySpecPatch>;
70
+ }
@@ -0,0 +1,73 @@
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.GatewayPatch = 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
+ * Gateway represents an instance of a service-traffic handling infrastructure
16
+ * by binding Listeners to a set of IP addresses.
17
+ */
18
+ class GatewayPatch extends pulumi.CustomResource {
19
+ /**
20
+ * Get an existing GatewayPatch resource's state with the given name, ID, and optional extra
21
+ * properties used to qualify the lookup.
22
+ *
23
+ * @param name The _unique_ name of the resulting resource.
24
+ * @param id The _unique_ provider ID of the resource to lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name, id, opts) {
28
+ return new GatewayPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
29
+ }
30
+ /**
31
+ * Returns true if the given object is an instance of GatewayPatch. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ static isInstance(obj) {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === GatewayPatch.__pulumiType;
39
+ }
40
+ /**
41
+ * Create a GatewayPatch 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, args, opts) {
48
+ let resourceInputs = {};
49
+ opts = opts || {};
50
+ if (!opts.id) {
51
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
52
+ resourceInputs["kind"] = "Gateway";
53
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
54
+ resourceInputs["spec"] = args ? args.spec : undefined;
55
+ resourceInputs["status"] = undefined /*out*/;
56
+ }
57
+ else {
58
+ resourceInputs["apiVersion"] = undefined /*out*/;
59
+ resourceInputs["kind"] = undefined /*out*/;
60
+ resourceInputs["metadata"] = undefined /*out*/;
61
+ resourceInputs["spec"] = undefined /*out*/;
62
+ resourceInputs["status"] = undefined /*out*/;
63
+ }
64
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
65
+ const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayPatch" }] };
66
+ opts = pulumi.mergeOptions(opts, aliasOpts);
67
+ super(GatewayPatch.__pulumiType, name, resourceInputs, opts);
68
+ }
69
+ }
70
+ exports.GatewayPatch = GatewayPatch;
71
+ /** @internal */
72
+ GatewayPatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayPatch';
73
+ //# sourceMappingURL=gatewayPatch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gatewayPatch.js","sourceRoot":"","sources":["../../../gateway/v1/gatewayPatch.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;;;;;;;GASG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC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,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,2DAA2D,EAAE,CAAC,EAAE,CAAC;QACvG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AArEL,oCAsEC;AAzDG,gBAAgB;AACO,yBAAY,GAAG,sDAAsD,CAAC"}
@@ -0,0 +1,89 @@
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
+ * GRPCRoute provides a way to route gRPC requests. This includes the capability
7
+ * to match requests by hostname, gRPC service, gRPC method, or HTTP/2 header.
8
+ * Filters can be used to specify additional processing steps. Backends specify
9
+ * where matching requests will be routed.
10
+ *
11
+ * GRPCRoute falls under extended support within the Gateway API. Within the
12
+ * following specification, the word "MUST" indicates that an implementation
13
+ * supporting GRPCRoute must conform to the indicated requirement, but an
14
+ * implementation not supporting this route type need not follow the requirement
15
+ * unless explicitly indicated.
16
+ *
17
+ * Implementations supporting `GRPCRoute` with the `HTTPS` `ProtocolType` MUST
18
+ * accept HTTP/2 connections without an initial upgrade from HTTP/1.1, i.e. via
19
+ * ALPN. If the implementation does not support this, then it MUST set the
20
+ * "Accepted" condition to "False" for the affected listener with a reason of
21
+ * "UnsupportedProtocol". Implementations MAY also accept HTTP/2 connections
22
+ * with an upgrade from HTTP/1.
23
+ *
24
+ * Implementations supporting `GRPCRoute` with the `HTTP` `ProtocolType` MUST
25
+ * support HTTP/2 over cleartext TCP (h2c,
26
+ * https://www.rfc-editor.org/rfc/rfc7540#section-3.1) without an initial
27
+ * upgrade from HTTP/1.1, i.e. with prior knowledge
28
+ * (https://www.rfc-editor.org/rfc/rfc7540#section-3.4). If the implementation
29
+ * does not support this, then it MUST set the "Accepted" condition to "False"
30
+ * for the affected listener with a reason of "UnsupportedProtocol".
31
+ * Implementations MAY also accept HTTP/2 connections with an upgrade from
32
+ * HTTP/1, i.e. without prior knowledge.
33
+ */
34
+ export declare class GRPCRoute extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing GRPCRoute 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: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GRPCRoute;
44
+ /**
45
+ * Returns true if the given object is an instance of GRPCRoute. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj: any): obj is GRPCRoute;
49
+ /**
50
+ * 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
51
+ */
52
+ readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
53
+ /**
54
+ * 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
55
+ */
56
+ readonly kind: pulumi.Output<"GRPCRoute">;
57
+ /**
58
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
59
+ */
60
+ readonly metadata: pulumi.Output<ObjectMeta>;
61
+ readonly spec: pulumi.Output<outputs.gateway.v1.GRPCRouteSpec>;
62
+ readonly status: pulumi.Output<outputs.gateway.v1.GRPCRouteStatus>;
63
+ /**
64
+ * Create a GRPCRoute 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?: GRPCRouteArgs, opts?: pulumi.CustomResourceOptions);
71
+ }
72
+ /**
73
+ * The set of arguments for constructing a GRPCRoute resource.
74
+ */
75
+ export interface GRPCRouteArgs {
76
+ /**
77
+ * 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
78
+ */
79
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
80
+ /**
81
+ * 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
82
+ */
83
+ kind?: pulumi.Input<"GRPCRoute">;
84
+ /**
85
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
86
+ */
87
+ metadata?: pulumi.Input<ObjectMeta>;
88
+ spec?: pulumi.Input<inputs.gateway.v1.GRPCRouteSpec>;
89
+ }
@@ -0,0 +1,90 @@
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.GRPCRoute = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * GRPCRoute provides a way to route gRPC requests. This includes the capability
10
+ * to match requests by hostname, gRPC service, gRPC method, or HTTP/2 header.
11
+ * Filters can be used to specify additional processing steps. Backends specify
12
+ * where matching requests will be routed.
13
+ *
14
+ * GRPCRoute falls under extended support within the Gateway API. Within the
15
+ * following specification, the word "MUST" indicates that an implementation
16
+ * supporting GRPCRoute must conform to the indicated requirement, but an
17
+ * implementation not supporting this route type need not follow the requirement
18
+ * unless explicitly indicated.
19
+ *
20
+ * Implementations supporting `GRPCRoute` with the `HTTPS` `ProtocolType` MUST
21
+ * accept HTTP/2 connections without an initial upgrade from HTTP/1.1, i.e. via
22
+ * ALPN. If the implementation does not support this, then it MUST set the
23
+ * "Accepted" condition to "False" for the affected listener with a reason of
24
+ * "UnsupportedProtocol". Implementations MAY also accept HTTP/2 connections
25
+ * with an upgrade from HTTP/1.
26
+ *
27
+ * Implementations supporting `GRPCRoute` with the `HTTP` `ProtocolType` MUST
28
+ * support HTTP/2 over cleartext TCP (h2c,
29
+ * https://www.rfc-editor.org/rfc/rfc7540#section-3.1) without an initial
30
+ * upgrade from HTTP/1.1, i.e. with prior knowledge
31
+ * (https://www.rfc-editor.org/rfc/rfc7540#section-3.4). If the implementation
32
+ * does not support this, then it MUST set the "Accepted" condition to "False"
33
+ * for the affected listener with a reason of "UnsupportedProtocol".
34
+ * Implementations MAY also accept HTTP/2 connections with an upgrade from
35
+ * HTTP/1, i.e. without prior knowledge.
36
+ */
37
+ class GRPCRoute extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing GRPCRoute 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 GRPCRoute(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
48
+ }
49
+ /**
50
+ * Returns true if the given object is an instance of GRPCRoute. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj) {
54
+ if (obj === undefined || obj === null) {
55
+ return false;
56
+ }
57
+ return obj['__pulumiType'] === GRPCRoute.__pulumiType;
58
+ }
59
+ /**
60
+ * Create a GRPCRoute resource with the given unique name, arguments, and options.
61
+ *
62
+ * @param name The _unique_ name of the resource.
63
+ * @param args The arguments to use to populate this resource's properties.
64
+ * @param opts A bag of options that control this resource's behavior.
65
+ */
66
+ constructor(name, args, opts) {
67
+ let resourceInputs = {};
68
+ opts = opts || {};
69
+ if (!opts.id) {
70
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
71
+ resourceInputs["kind"] = "GRPCRoute";
72
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
73
+ resourceInputs["spec"] = args ? args.spec : undefined;
74
+ resourceInputs["status"] = undefined /*out*/;
75
+ }
76
+ else {
77
+ resourceInputs["apiVersion"] = undefined /*out*/;
78
+ resourceInputs["kind"] = undefined /*out*/;
79
+ resourceInputs["metadata"] = undefined /*out*/;
80
+ resourceInputs["spec"] = undefined /*out*/;
81
+ resourceInputs["status"] = undefined /*out*/;
82
+ }
83
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
84
+ super(GRPCRoute.__pulumiType, name, resourceInputs, opts);
85
+ }
86
+ }
87
+ exports.GRPCRoute = GRPCRoute;
88
+ /** @internal */
89
+ GRPCRoute.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GRPCRoute';
90
+ //# sourceMappingURL=grpcroute.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grpcroute.js","sourceRoot":"","sources":["../../../gateway/v1/grpcroute.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,SAAS,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EA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,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAnEL,8BAoEC;AAvDG,gBAAgB;AACO,sBAAY,GAAG,mDAAmD,CAAC"}
@@ -0,0 +1,67 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * GRPCRouteList is a list of GRPCRoute
6
+ */
7
+ export declare class GRPCRouteList extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing GRPCRouteList 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): GRPCRouteList;
17
+ /**
18
+ * Returns true if the given object is an instance of GRPCRouteList. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is GRPCRouteList;
22
+ /**
23
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
24
+ */
25
+ readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
26
+ /**
27
+ * List of grpcroutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
28
+ */
29
+ readonly items: pulumi.Output<outputs.gateway.v1.GRPCRoute[]>;
30
+ /**
31
+ * 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
32
+ */
33
+ readonly kind: pulumi.Output<"GRPCRouteList">;
34
+ /**
35
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36
+ */
37
+ readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
38
+ /**
39
+ * Create a GRPCRouteList resource with the given unique name, arguments, and options.
40
+ *
41
+ * @param name The _unique_ name of the resource.
42
+ * @param args The arguments to use to populate this resource's properties.
43
+ * @param opts A bag of options that control this resource's behavior.
44
+ */
45
+ constructor(name: string, args?: GRPCRouteListArgs, opts?: pulumi.CustomResourceOptions);
46
+ }
47
+ /**
48
+ * The set of arguments for constructing a GRPCRouteList resource.
49
+ */
50
+ export interface GRPCRouteListArgs {
51
+ /**
52
+ * 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
53
+ */
54
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
55
+ /**
56
+ * List of grpcroutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
57
+ */
58
+ items: pulumi.Input<pulumi.Input<inputs.gateway.v1.GRPCRoute>[]>;
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<"GRPCRouteList">;
63
+ /**
64
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
65
+ */
66
+ metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
67
+ }