@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,75 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.HTTPRoutePatch = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * Patch resources are used to modify existing Kubernetes resources by using
10
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
11
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
12
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
13
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
14
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
15
+ * HTTPRoute provides a way to route HTTP requests. This includes the capability
16
+ * to match requests by hostname, path, header, or query param. Filters can be
17
+ * used to specify additional processing steps. Backends specify where matching
18
+ * requests should be routed.
19
+ */
20
+ class HTTPRoutePatch extends pulumi.CustomResource {
21
+ /**
22
+ * Get an existing HTTPRoutePatch resource's state with the given name, ID, and optional extra
23
+ * properties used to qualify the lookup.
24
+ *
25
+ * @param name The _unique_ name of the resulting resource.
26
+ * @param id The _unique_ provider ID of the resource to lookup.
27
+ * @param opts Optional settings to control the behavior of the CustomResource.
28
+ */
29
+ static get(name, id, opts) {
30
+ return new HTTPRoutePatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
31
+ }
32
+ /**
33
+ * Returns true if the given object is an instance of HTTPRoutePatch. This is designed to work even
34
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
35
+ */
36
+ static isInstance(obj) {
37
+ if (obj === undefined || obj === null) {
38
+ return false;
39
+ }
40
+ return obj['__pulumiType'] === HTTPRoutePatch.__pulumiType;
41
+ }
42
+ /**
43
+ * Create a HTTPRoutePatch resource with the given unique name, arguments, and options.
44
+ *
45
+ * @param name The _unique_ name of the resource.
46
+ * @param args The arguments to use to populate this resource's properties.
47
+ * @param opts A bag of options that control this resource's behavior.
48
+ */
49
+ constructor(name, args, opts) {
50
+ let resourceInputs = {};
51
+ opts = opts || {};
52
+ if (!opts.id) {
53
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1beta1";
54
+ resourceInputs["kind"] = "HTTPRoute";
55
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
56
+ resourceInputs["spec"] = args ? args.spec : undefined;
57
+ resourceInputs["status"] = undefined /*out*/;
58
+ }
59
+ else {
60
+ resourceInputs["apiVersion"] = undefined /*out*/;
61
+ resourceInputs["kind"] = undefined /*out*/;
62
+ resourceInputs["metadata"] = undefined /*out*/;
63
+ resourceInputs["spec"] = undefined /*out*/;
64
+ resourceInputs["status"] = undefined /*out*/;
65
+ }
66
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
67
+ const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1:HTTPRoutePatch" }] };
68
+ opts = pulumi.mergeOptions(opts, aliasOpts);
69
+ super(HTTPRoutePatch.__pulumiType, name, resourceInputs, opts);
70
+ }
71
+ }
72
+ exports.HTTPRoutePatch = HTTPRoutePatch;
73
+ /** @internal */
74
+ HTTPRoutePatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1beta1:HTTPRoutePatch';
75
+ //# sourceMappingURL=httproutePatch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"httproutePatch.js","sourceR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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,wDAAwD,EAAE,CAAC,EAAE,CAAC;QACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AArEL,wCAsEC;AAzDG,gBAAgB;AACO,2BAAY,GAAG,6DAA6D,CAAC"}
@@ -0,0 +1,36 @@
1
+ export { GatewayArgs } from "./gateway";
2
+ export type Gateway = import("./gateway").Gateway;
3
+ export declare const Gateway: typeof import("./gateway").Gateway;
4
+ export { GatewayClassArgs } from "./gatewayClass";
5
+ export type GatewayClass = import("./gatewayClass").GatewayClass;
6
+ export declare const GatewayClass: typeof import("./gatewayClass").GatewayClass;
7
+ export { GatewayClassListArgs } from "./gatewayClassList";
8
+ export type GatewayClassList = import("./gatewayClassList").GatewayClassList;
9
+ export declare const GatewayClassList: typeof import("./gatewayClassList").GatewayClassList;
10
+ export { GatewayClassPatchArgs } from "./gatewayClassPatch";
11
+ export type GatewayClassPatch = import("./gatewayClassPatch").GatewayClassPatch;
12
+ export declare const GatewayClassPatch: typeof import("./gatewayClassPatch").GatewayClassPatch;
13
+ export { GatewayListArgs } from "./gatewayList";
14
+ export type GatewayList = import("./gatewayList").GatewayList;
15
+ export declare const GatewayList: typeof import("./gatewayList").GatewayList;
16
+ export { GatewayPatchArgs } from "./gatewayPatch";
17
+ export type GatewayPatch = import("./gatewayPatch").GatewayPatch;
18
+ export declare const GatewayPatch: typeof import("./gatewayPatch").GatewayPatch;
19
+ export { HTTPRouteArgs } from "./httproute";
20
+ export type HTTPRoute = import("./httproute").HTTPRoute;
21
+ export declare const HTTPRoute: typeof import("./httproute").HTTPRoute;
22
+ export { HTTPRouteListArgs } from "./httprouteList";
23
+ export type HTTPRouteList = import("./httprouteList").HTTPRouteList;
24
+ export declare const HTTPRouteList: typeof import("./httprouteList").HTTPRouteList;
25
+ export { HTTPRoutePatchArgs } from "./httproutePatch";
26
+ export type HTTPRoutePatch = import("./httproutePatch").HTTPRoutePatch;
27
+ export declare const HTTPRoutePatch: typeof import("./httproutePatch").HTTPRoutePatch;
28
+ export { ReferenceGrantArgs } from "./referenceGrant";
29
+ export type ReferenceGrant = import("./referenceGrant").ReferenceGrant;
30
+ export declare const ReferenceGrant: typeof import("./referenceGrant").ReferenceGrant;
31
+ export { ReferenceGrantListArgs } from "./referenceGrantList";
32
+ export type ReferenceGrantList = import("./referenceGrantList").ReferenceGrantList;
33
+ export declare const ReferenceGrantList: typeof import("./referenceGrantList").ReferenceGrantList;
34
+ export { ReferenceGrantPatchArgs } from "./referenceGrantPatch";
35
+ export type ReferenceGrantPatch = import("./referenceGrantPatch").ReferenceGrantPatch;
36
+ export declare const ReferenceGrantPatch: typeof import("./referenceGrantPatch").ReferenceGrantPatch;
@@ -0,0 +1,66 @@
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.ReferenceGrantPatch = exports.ReferenceGrantList = exports.ReferenceGrant = exports.HTTPRoutePatch = exports.HTTPRouteList = exports.HTTPRoute = exports.GatewayPatch = exports.GatewayList = exports.GatewayClassPatch = exports.GatewayClassList = exports.GatewayClass = exports.Gateway = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ exports.Gateway = null;
9
+ utilities.lazyLoad(exports, ["Gateway"], () => require("./gateway"));
10
+ exports.GatewayClass = null;
11
+ utilities.lazyLoad(exports, ["GatewayClass"], () => require("./gatewayClass"));
12
+ exports.GatewayClassList = null;
13
+ utilities.lazyLoad(exports, ["GatewayClassList"], () => require("./gatewayClassList"));
14
+ exports.GatewayClassPatch = null;
15
+ utilities.lazyLoad(exports, ["GatewayClassPatch"], () => require("./gatewayClassPatch"));
16
+ exports.GatewayList = null;
17
+ utilities.lazyLoad(exports, ["GatewayList"], () => require("./gatewayList"));
18
+ exports.GatewayPatch = null;
19
+ utilities.lazyLoad(exports, ["GatewayPatch"], () => require("./gatewayPatch"));
20
+ exports.HTTPRoute = null;
21
+ utilities.lazyLoad(exports, ["HTTPRoute"], () => require("./httproute"));
22
+ exports.HTTPRouteList = null;
23
+ utilities.lazyLoad(exports, ["HTTPRouteList"], () => require("./httprouteList"));
24
+ exports.HTTPRoutePatch = null;
25
+ utilities.lazyLoad(exports, ["HTTPRoutePatch"], () => require("./httproutePatch"));
26
+ exports.ReferenceGrant = null;
27
+ utilities.lazyLoad(exports, ["ReferenceGrant"], () => require("./referenceGrant"));
28
+ exports.ReferenceGrantList = null;
29
+ utilities.lazyLoad(exports, ["ReferenceGrantList"], () => require("./referenceGrantList"));
30
+ exports.ReferenceGrantPatch = null;
31
+ utilities.lazyLoad(exports, ["ReferenceGrantPatch"], () => require("./referenceGrantPatch"));
32
+ const _module = {
33
+ version: utilities.getVersion(),
34
+ construct: (name, type, urn) => {
35
+ switch (type) {
36
+ case "kubernetes:gateway.networking.k8s.io/v1beta1:Gateway":
37
+ return new exports.Gateway(name, undefined, { urn });
38
+ case "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClass":
39
+ return new exports.GatewayClass(name, undefined, { urn });
40
+ case "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClassList":
41
+ return new exports.GatewayClassList(name, undefined, { urn });
42
+ case "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClassPatch":
43
+ return new exports.GatewayClassPatch(name, undefined, { urn });
44
+ case "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayList":
45
+ return new exports.GatewayList(name, undefined, { urn });
46
+ case "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayPatch":
47
+ return new exports.GatewayPatch(name, undefined, { urn });
48
+ case "kubernetes:gateway.networking.k8s.io/v1beta1:HTTPRoute":
49
+ return new exports.HTTPRoute(name, undefined, { urn });
50
+ case "kubernetes:gateway.networking.k8s.io/v1beta1:HTTPRouteList":
51
+ return new exports.HTTPRouteList(name, undefined, { urn });
52
+ case "kubernetes:gateway.networking.k8s.io/v1beta1:HTTPRoutePatch":
53
+ return new exports.HTTPRoutePatch(name, undefined, { urn });
54
+ case "kubernetes:gateway.networking.k8s.io/v1beta1:ReferenceGrant":
55
+ return new exports.ReferenceGrant(name, undefined, { urn });
56
+ case "kubernetes:gateway.networking.k8s.io/v1beta1:ReferenceGrantList":
57
+ return new exports.ReferenceGrantList(name, undefined, { urn });
58
+ case "kubernetes:gateway.networking.k8s.io/v1beta1:ReferenceGrantPatch":
59
+ return new exports.ReferenceGrantPatch(name, undefined, { urn });
60
+ default:
61
+ throw new Error(`unknown resource type ${type}`);
62
+ }
63
+ },
64
+ };
65
+ pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1beta1", _module);
66
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../gateway/v1beta1/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AACzC,6CAA6C;AAKhC,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,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AC,CAAA;YAC/D,KAAK,0DAA0D;gBAC3D,OAAO,IAAI,mBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD,KAAK,2DAA2D;gBAC5D,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,wDAAwD;gBACzD,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,4DAA4D;gBAC7D,OAAO,IAAI,qBAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D,KAAK,6DAA6D;gBAC9D,OAAO,IAAI,sBAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D,KAAK,6DAA6D;gBAC9D,OAAO,IAAI,sBAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D,KAAK,iEAAiE;gBAClE,OAAO,IAAI,0BAAkB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAChE,KAAK,kEAAkE;gBACnE,OAAO,IAAI,2BAAmB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;QACzD,CAAC;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,MAAM,EAAE,mCAAmC,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,77 @@
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
+ * ReferenceGrant identifies kinds of resources in other namespaces that are
7
+ * trusted to reference the specified kinds of resources in the same namespace
8
+ * as the policy.
9
+ *
10
+ * Each ReferenceGrant can be used to represent a unique trust relationship.
11
+ * Additional Reference Grants can be used to add to the set of trusted
12
+ * sources of inbound references for the namespace they are defined within.
13
+ *
14
+ * All cross-namespace references in Gateway API (with the exception of cross-namespace
15
+ * Gateway-route attachment) require a ReferenceGrant.
16
+ *
17
+ * ReferenceGrant is a form of runtime verification allowing users to assert
18
+ * which cross-namespace object references are permitted. Implementations that
19
+ * support ReferenceGrant MUST NOT permit cross-namespace references which have
20
+ * no grant, and MUST respond to the removal of a grant by revoking the access
21
+ * that the grant allowed.
22
+ */
23
+ export declare class ReferenceGrant extends pulumi.CustomResource {
24
+ /**
25
+ * Get an existing ReferenceGrant resource's state with the given name, ID, and optional extra
26
+ * properties used to qualify the lookup.
27
+ *
28
+ * @param name The _unique_ name of the resulting resource.
29
+ * @param id The _unique_ provider ID of the resource to lookup.
30
+ * @param opts Optional settings to control the behavior of the CustomResource.
31
+ */
32
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ReferenceGrant;
33
+ /**
34
+ * Returns true if the given object is an instance of ReferenceGrant. This is designed to work even
35
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
36
+ */
37
+ static isInstance(obj: any): obj is ReferenceGrant;
38
+ /**
39
+ * 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
40
+ */
41
+ readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1beta1">;
42
+ /**
43
+ * 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
44
+ */
45
+ readonly kind: pulumi.Output<"ReferenceGrant">;
46
+ /**
47
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
48
+ */
49
+ readonly metadata: pulumi.Output<ObjectMeta>;
50
+ readonly spec: pulumi.Output<outputs.gateway.v1beta1.ReferenceGrantSpec>;
51
+ /**
52
+ * Create a ReferenceGrant resource with the given unique name, arguments, and options.
53
+ *
54
+ * @param name The _unique_ name of the resource.
55
+ * @param args The arguments to use to populate this resource's properties.
56
+ * @param opts A bag of options that control this resource's behavior.
57
+ */
58
+ constructor(name: string, args?: ReferenceGrantArgs, opts?: pulumi.CustomResourceOptions);
59
+ }
60
+ /**
61
+ * The set of arguments for constructing a ReferenceGrant resource.
62
+ */
63
+ export interface ReferenceGrantArgs {
64
+ /**
65
+ * 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
66
+ */
67
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1beta1">;
68
+ /**
69
+ * 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
70
+ */
71
+ kind?: pulumi.Input<"ReferenceGrant">;
72
+ /**
73
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
74
+ */
75
+ metadata?: pulumi.Input<ObjectMeta>;
76
+ spec?: pulumi.Input<inputs.gateway.v1beta1.ReferenceGrantSpec>;
77
+ }
@@ -0,0 +1,77 @@
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.ReferenceGrant = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * ReferenceGrant identifies kinds of resources in other namespaces that are
10
+ * trusted to reference the specified kinds of resources in the same namespace
11
+ * as the policy.
12
+ *
13
+ * Each ReferenceGrant can be used to represent a unique trust relationship.
14
+ * Additional Reference Grants can be used to add to the set of trusted
15
+ * sources of inbound references for the namespace they are defined within.
16
+ *
17
+ * All cross-namespace references in Gateway API (with the exception of cross-namespace
18
+ * Gateway-route attachment) require a ReferenceGrant.
19
+ *
20
+ * ReferenceGrant is a form of runtime verification allowing users to assert
21
+ * which cross-namespace object references are permitted. Implementations that
22
+ * support ReferenceGrant MUST NOT permit cross-namespace references which have
23
+ * no grant, and MUST respond to the removal of a grant by revoking the access
24
+ * that the grant allowed.
25
+ */
26
+ class ReferenceGrant extends pulumi.CustomResource {
27
+ /**
28
+ * Get an existing ReferenceGrant resource's state with the given name, ID, and optional extra
29
+ * properties used to qualify the lookup.
30
+ *
31
+ * @param name The _unique_ name of the resulting resource.
32
+ * @param id The _unique_ provider ID of the resource to lookup.
33
+ * @param opts Optional settings to control the behavior of the CustomResource.
34
+ */
35
+ static get(name, id, opts) {
36
+ return new ReferenceGrant(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
37
+ }
38
+ /**
39
+ * Returns true if the given object is an instance of ReferenceGrant. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj) {
43
+ if (obj === undefined || obj === null) {
44
+ return false;
45
+ }
46
+ return obj['__pulumiType'] === ReferenceGrant.__pulumiType;
47
+ }
48
+ /**
49
+ * Create a ReferenceGrant resource with the given unique name, arguments, and options.
50
+ *
51
+ * @param name The _unique_ name of the resource.
52
+ * @param args The arguments to use to populate this resource's properties.
53
+ * @param opts A bag of options that control this resource's behavior.
54
+ */
55
+ constructor(name, args, opts) {
56
+ let resourceInputs = {};
57
+ opts = opts || {};
58
+ if (!opts.id) {
59
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1beta1";
60
+ resourceInputs["kind"] = "ReferenceGrant";
61
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
62
+ resourceInputs["spec"] = args ? args.spec : undefined;
63
+ }
64
+ else {
65
+ resourceInputs["apiVersion"] = undefined /*out*/;
66
+ resourceInputs["kind"] = undefined /*out*/;
67
+ resourceInputs["metadata"] = undefined /*out*/;
68
+ resourceInputs["spec"] = undefined /*out*/;
69
+ }
70
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
71
+ super(ReferenceGrant.__pulumiType, name, resourceInputs, opts);
72
+ }
73
+ }
74
+ exports.ReferenceGrant = ReferenceGrant;
75
+ /** @internal */
76
+ ReferenceGrant.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1beta1:ReferenceGrant';
77
+ //# sourceMappingURL=referenceGrant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"referenceGrant.js","sourceRoot":"","sources":["../../../gateway/v1beta1/referenceGrant.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,cAAc,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAgBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAyB,EAAE,IAAmC;QACpF,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,mCAAmC,CAAC;YACnE,cAAc,CAAC,MAAM,CAAC,GAAG,gBAAgB,CAAC;YAC1C,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;QAC1D,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;QAC/C,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAhEL,wCAiEC;AApDG,gBAAgB;AACO,2BAAY,GAAG,6DAA6D,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
+ * ReferenceGrantList is a list of ReferenceGrant
6
+ */
7
+ export declare class ReferenceGrantList extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing ReferenceGrantList 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): ReferenceGrantList;
17
+ /**
18
+ * Returns true if the given object is an instance of ReferenceGrantList. 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 ReferenceGrantList;
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/v1beta1">;
26
+ /**
27
+ * List of referencegrants. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
28
+ */
29
+ readonly items: pulumi.Output<outputs.gateway.v1beta1.ReferenceGrant[]>;
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<"ReferenceGrantList">;
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 ReferenceGrantList 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?: ReferenceGrantListArgs, opts?: pulumi.CustomResourceOptions);
46
+ }
47
+ /**
48
+ * The set of arguments for constructing a ReferenceGrantList resource.
49
+ */
50
+ export interface ReferenceGrantListArgs {
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/v1beta1">;
55
+ /**
56
+ * List of referencegrants. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
57
+ */
58
+ items: pulumi.Input<pulumi.Input<inputs.gateway.v1beta1.ReferenceGrant>[]>;
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<"ReferenceGrantList">;
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.ReferenceGrantList = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * ReferenceGrantList is a list of ReferenceGrant
10
+ */
11
+ class ReferenceGrantList extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing ReferenceGrantList 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 ReferenceGrantList(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of ReferenceGrantList. 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'] === ReferenceGrantList.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a ReferenceGrantList 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/v1beta1";
48
+ resourceInputs["items"] = args ? args.items : undefined;
49
+ resourceInputs["kind"] = "ReferenceGrantList";
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(ReferenceGrantList.__pulumiType, name, resourceInputs, opts);
60
+ }
61
+ }
62
+ exports.ReferenceGrantList = ReferenceGrantList;
63
+ /** @internal */
64
+ ReferenceGrantList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1beta1:ReferenceGrantList';
65
+ //# sourceMappingURL=referenceGrantList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"referenceGrantList.js","sourceRoot":"","sources":["../../../gateway/v1beta1/referenceGrantList.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;GAEG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAA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OAAO,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,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAtEL,gDAuEC;AA1DG,gBAAgB;AACO,+BAAY,GAAG,iEAAiE,CAAC"}
@@ -0,0 +1,83 @@
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
+ * ReferenceGrant identifies kinds of resources in other namespaces that are
13
+ * trusted to reference the specified kinds of resources in the same namespace
14
+ * as the policy.
15
+ *
16
+ * Each ReferenceGrant can be used to represent a unique trust relationship.
17
+ * Additional Reference Grants can be used to add to the set of trusted
18
+ * sources of inbound references for the namespace they are defined within.
19
+ *
20
+ * All cross-namespace references in Gateway API (with the exception of cross-namespace
21
+ * Gateway-route attachment) require a ReferenceGrant.
22
+ *
23
+ * ReferenceGrant is a form of runtime verification allowing users to assert
24
+ * which cross-namespace object references are permitted. Implementations that
25
+ * support ReferenceGrant MUST NOT permit cross-namespace references which have
26
+ * no grant, and MUST respond to the removal of a grant by revoking the access
27
+ * that the grant allowed.
28
+ */
29
+ export declare class ReferenceGrantPatch extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing ReferenceGrantPatch resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param opts Optional settings to control the behavior of the CustomResource.
37
+ */
38
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ReferenceGrantPatch;
39
+ /**
40
+ * Returns true if the given object is an instance of ReferenceGrantPatch. This is designed to work even
41
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
42
+ */
43
+ static isInstance(obj: any): obj is ReferenceGrantPatch;
44
+ /**
45
+ * 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
46
+ */
47
+ readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1beta1">;
48
+ /**
49
+ * 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
50
+ */
51
+ readonly kind: pulumi.Output<"ReferenceGrant">;
52
+ /**
53
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
54
+ */
55
+ readonly metadata: pulumi.Output<ObjectMetaPatch>;
56
+ readonly spec: pulumi.Output<outputs.gateway.v1beta1.ReferenceGrantSpecPatch>;
57
+ /**
58
+ * Create a ReferenceGrantPatch resource with the given unique name, arguments, and options.
59
+ *
60
+ * @param name The _unique_ name of the resource.
61
+ * @param args The arguments to use to populate this resource's properties.
62
+ * @param opts A bag of options that control this resource's behavior.
63
+ */
64
+ constructor(name: string, args?: ReferenceGrantPatchArgs, opts?: pulumi.CustomResourceOptions);
65
+ }
66
+ /**
67
+ * The set of arguments for constructing a ReferenceGrantPatch resource.
68
+ */
69
+ export interface ReferenceGrantPatchArgs {
70
+ /**
71
+ * 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
72
+ */
73
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1beta1">;
74
+ /**
75
+ * 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
76
+ */
77
+ kind?: pulumi.Input<"ReferenceGrant">;
78
+ /**
79
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
80
+ */
81
+ metadata?: pulumi.Input<ObjectMetaPatch>;
82
+ spec?: pulumi.Input<inputs.gateway.v1beta1.ReferenceGrantSpecPatch>;
83
+ }