@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,5 @@
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
+ //# sourceMappingURL=output.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF"}
@@ -0,0 +1,8 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare function getEnv(...vars: string[]): string | undefined;
3
+ export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
4
+ export declare function getEnvNumber(...vars: string[]): number | undefined;
5
+ export declare const getVersion: () => string;
6
+ export declare function callAsync<T>(tok: string, props: pulumi.Inputs, res?: pulumi.Resource, opts?: {
7
+ property?: string;
8
+ }): Promise<T>;
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6
+ return new (P || (P = Promise))(function (resolve, reject) {
7
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
9
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
10
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
11
+ });
12
+ };
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.getVersion = void 0;
15
+ exports.getEnv = getEnv;
16
+ exports.getEnvBoolean = getEnvBoolean;
17
+ exports.getEnvNumber = getEnvNumber;
18
+ exports.resourceOptsDefaults = resourceOptsDefaults;
19
+ exports.lazyLoad = lazyLoad;
20
+ exports.callAsync = callAsync;
21
+ const runtime = require("@pulumi/pulumi/runtime");
22
+ function getEnv(...vars) {
23
+ for (const v of vars) {
24
+ const value = process.env[v];
25
+ if (value) {
26
+ return value;
27
+ }
28
+ }
29
+ return undefined;
30
+ }
31
+ function getEnvBoolean(...vars) {
32
+ const s = getEnv(...vars);
33
+ if (s !== undefined) {
34
+ // NOTE: these values are taken from https://golang.org/src/strconv/atob.go?s=351:391#L1, which is what
35
+ // Terraform uses internally when parsing boolean values.
36
+ if (["1", "t", "T", "true", "TRUE", "True"].find(v => v === s) !== undefined) {
37
+ return true;
38
+ }
39
+ if (["0", "f", "F", "false", "FALSE", "False"].find(v => v === s) !== undefined) {
40
+ return false;
41
+ }
42
+ }
43
+ return undefined;
44
+ }
45
+ function getEnvNumber(...vars) {
46
+ const s = getEnv(...vars);
47
+ if (s !== undefined) {
48
+ const f = parseFloat(s);
49
+ if (!isNaN(f)) {
50
+ return f;
51
+ }
52
+ }
53
+ return undefined;
54
+ }
55
+ const getVersion = () => "4.18.0";
56
+ exports.getVersion = getVersion;
57
+ function unusedGetVersion() {
58
+ let version = require('./package.json').version;
59
+ // Node allows for the version to be prefixed by a "v", while semver doesn't.
60
+ // If there is a v, strip it off.
61
+ if (version.indexOf('v') === 0) {
62
+ version = version.slice(1);
63
+ }
64
+ return version;
65
+ }
66
+ /** @internal */
67
+ function resourceOptsDefaults() {
68
+ return { version: (0, exports.getVersion)() };
69
+ }
70
+ /** @internal */
71
+ function lazyLoad(exports, props, loadModule) {
72
+ for (let property of props) {
73
+ Object.defineProperty(exports, property, {
74
+ enumerable: true,
75
+ get: function () {
76
+ return loadModule()[property];
77
+ },
78
+ });
79
+ }
80
+ }
81
+ function callAsync(tok, props, res, opts) {
82
+ return __awaiter(this, void 0, void 0, function* () {
83
+ const o = runtime.call(tok, props, res);
84
+ const value = yield o.promise(true /*withUnknowns*/);
85
+ const isKnown = yield o.isKnown;
86
+ const isSecret = yield o.isSecret;
87
+ const problem = !isKnown ? "an unknown value"
88
+ : isSecret ? "a secret value"
89
+ : undefined;
90
+ // Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
91
+ if (problem) {
92
+ throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
93
+ "This is an error in the provider, please report this to the provider developer.");
94
+ }
95
+ // Extract a single property if requested.
96
+ if (opts && opts.property) {
97
+ return value[opts.property];
98
+ }
99
+ return value;
100
+ });
101
+ }
102
+ //# sourceMappingURL=utilities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,17 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as utilities from "../utilities";
5
+
6
+ // Export sub-modules:
7
+ import * as v1 from "./v1";
8
+ import * as v1alpha2 from "./v1alpha2";
9
+ import * as v1alpha3 from "./v1alpha3";
10
+ import * as v1beta1 from "./v1beta1";
11
+
12
+ export {
13
+ v1,
14
+ v1alpha2,
15
+ v1alpha3,
16
+ v1beta1,
17
+ };
@@ -0,0 +1,104 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ import {ObjectMeta} from "../../meta/v1";
10
+
11
+ /**
12
+ * Gateway represents an instance of a service-traffic handling infrastructure
13
+ * by binding Listeners to a set of IP addresses.
14
+ */
15
+ export class Gateway extends pulumi.CustomResource {
16
+ /**
17
+ * Get an existing Gateway 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
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Gateway {
25
+ return new Gateway(name, undefined as any, { ...opts, id: id });
26
+ }
27
+
28
+ /** @internal */
29
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:Gateway';
30
+
31
+ /**
32
+ * Returns true if the given object is an instance of Gateway. This is designed to work even
33
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
34
+ */
35
+ public static isInstance(obj: any): obj is Gateway {
36
+ if (obj === undefined || obj === null) {
37
+ return false;
38
+ }
39
+ return obj['__pulumiType'] === Gateway.__pulumiType;
40
+ }
41
+
42
+ /**
43
+ * 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
44
+ */
45
+ public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
46
+ /**
47
+ * 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
48
+ */
49
+ public readonly kind!: pulumi.Output<"Gateway">;
50
+ /**
51
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
52
+ */
53
+ public readonly metadata!: pulumi.Output<ObjectMeta>;
54
+ public readonly spec!: pulumi.Output<outputs.gateway.v1.GatewaySpec>;
55
+ public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.GatewayStatus>;
56
+
57
+ /**
58
+ * Create a Gateway 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?: GatewayArgs, opts?: pulumi.CustomResourceOptions) {
65
+ let resourceInputs: pulumi.Inputs = {};
66
+ opts = opts || {};
67
+ if (!opts.id) {
68
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
69
+ resourceInputs["kind"] = "Gateway";
70
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
71
+ resourceInputs["spec"] = args ? args.spec : undefined;
72
+ resourceInputs["status"] = undefined /*out*/;
73
+ } else {
74
+ resourceInputs["apiVersion"] = undefined /*out*/;
75
+ resourceInputs["kind"] = undefined /*out*/;
76
+ resourceInputs["metadata"] = undefined /*out*/;
77
+ resourceInputs["spec"] = undefined /*out*/;
78
+ resourceInputs["status"] = undefined /*out*/;
79
+ }
80
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
81
+ const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:Gateway" }] };
82
+ opts = pulumi.mergeOptions(opts, aliasOpts);
83
+ super(Gateway.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+
87
+ /**
88
+ * The set of arguments for constructing a Gateway resource.
89
+ */
90
+ export interface GatewayArgs {
91
+ /**
92
+ * 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
93
+ */
94
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
95
+ /**
96
+ * 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
97
+ */
98
+ kind?: pulumi.Input<"Gateway">;
99
+ /**
100
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
101
+ */
102
+ metadata?: pulumi.Input<ObjectMeta>;
103
+ spec?: pulumi.Input<inputs.gateway.v1.GatewaySpec>;
104
+ }
@@ -0,0 +1,119 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ import {ObjectMeta} from "../../meta/v1";
10
+
11
+ /**
12
+ * GatewayClass describes a class of Gateways available to the user for creating
13
+ * Gateway resources.
14
+ *
15
+ * It is recommended that this resource be used as a template for Gateways. This
16
+ * means that a Gateway is based on the state of the GatewayClass at the time it
17
+ * was created and changes to the GatewayClass or associated parameters are not
18
+ * propagated down to existing Gateways. This recommendation is intended to
19
+ * limit the blast radius of changes to GatewayClass or associated parameters.
20
+ * If implementations choose to propagate GatewayClass changes to existing
21
+ * Gateways, that MUST be clearly documented by the implementation.
22
+ *
23
+ * Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
24
+ * add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
25
+ * associated GatewayClass. This ensures that a GatewayClass associated with a
26
+ * Gateway is not deleted while in use.
27
+ *
28
+ * GatewayClass is a Cluster level resource.
29
+ */
30
+ export class GatewayClass extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing GatewayClass resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClass {
40
+ return new GatewayClass(name, undefined as any, { ...opts, id: id });
41
+ }
42
+
43
+ /** @internal */
44
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClass';
45
+
46
+ /**
47
+ * Returns true if the given object is an instance of GatewayClass. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ public static isInstance(obj: any): obj is GatewayClass {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === GatewayClass.__pulumiType;
55
+ }
56
+
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
+ public readonly apiVersion!: pulumi.Output<"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
+ public readonly kind!: pulumi.Output<"GatewayClass">;
65
+ /**
66
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
67
+ */
68
+ public readonly metadata!: pulumi.Output<ObjectMeta>;
69
+ public readonly spec!: pulumi.Output<outputs.gateway.v1.GatewayClassSpec>;
70
+ public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.GatewayClassStatus>;
71
+
72
+ /**
73
+ * Create a GatewayClass resource with the given unique name, arguments, and options.
74
+ *
75
+ * @param name The _unique_ name of the resource.
76
+ * @param args The arguments to use to populate this resource's properties.
77
+ * @param opts A bag of options that control this resource's behavior.
78
+ */
79
+ constructor(name: string, args?: GatewayClassArgs, opts?: pulumi.CustomResourceOptions) {
80
+ let resourceInputs: pulumi.Inputs = {};
81
+ opts = opts || {};
82
+ if (!opts.id) {
83
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
84
+ resourceInputs["kind"] = "GatewayClass";
85
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
86
+ resourceInputs["spec"] = args ? args.spec : undefined;
87
+ resourceInputs["status"] = undefined /*out*/;
88
+ } else {
89
+ resourceInputs["apiVersion"] = undefined /*out*/;
90
+ resourceInputs["kind"] = undefined /*out*/;
91
+ resourceInputs["metadata"] = undefined /*out*/;
92
+ resourceInputs["spec"] = undefined /*out*/;
93
+ resourceInputs["status"] = undefined /*out*/;
94
+ }
95
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
96
+ const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClass" }] };
97
+ opts = pulumi.mergeOptions(opts, aliasOpts);
98
+ super(GatewayClass.__pulumiType, name, resourceInputs, opts);
99
+ }
100
+ }
101
+
102
+ /**
103
+ * The set of arguments for constructing a GatewayClass resource.
104
+ */
105
+ export interface GatewayClassArgs {
106
+ /**
107
+ * 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
108
+ */
109
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
110
+ /**
111
+ * 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
112
+ */
113
+ kind?: pulumi.Input<"GatewayClass">;
114
+ /**
115
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
116
+ */
117
+ metadata?: pulumi.Input<ObjectMeta>;
118
+ spec?: pulumi.Input<inputs.gateway.v1.GatewayClassSpec>;
119
+ }
@@ -0,0 +1,107 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ import {ObjectMeta} from "../../meta/v1";
10
+
11
+ /**
12
+ * GatewayClassList is a list of GatewayClass
13
+ */
14
+ export class GatewayClassList extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing GatewayClassList resource's state with the given name, ID, and optional extra
17
+ * properties used to qualify the lookup.
18
+ *
19
+ * @param name The _unique_ name of the resulting resource.
20
+ * @param id The _unique_ provider ID of the resource to lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClassList {
24
+ return new GatewayClassList(name, undefined as any, { ...opts, id: id });
25
+ }
26
+
27
+ /** @internal */
28
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClassList';
29
+
30
+ /**
31
+ * Returns true if the given object is an instance of GatewayClassList. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ public static isInstance(obj: any): obj is GatewayClassList {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === GatewayClassList.__pulumiType;
39
+ }
40
+
41
+ /**
42
+ * 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
43
+ */
44
+ public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
45
+ /**
46
+ * List of gatewayclasses. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
47
+ */
48
+ public readonly items!: pulumi.Output<outputs.gateway.v1.GatewayClass[]>;
49
+ /**
50
+ * 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
51
+ */
52
+ public readonly kind!: pulumi.Output<"GatewayClassList">;
53
+ /**
54
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
55
+ */
56
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
57
+
58
+ /**
59
+ * Create a GatewayClassList resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name: string, args?: GatewayClassListArgs, opts?: pulumi.CustomResourceOptions) {
66
+ let resourceInputs: pulumi.Inputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ if ((!args || args.items === undefined) && !opts.urn) {
70
+ throw new Error("Missing required property 'items'");
71
+ }
72
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
73
+ resourceInputs["items"] = args ? args.items : undefined;
74
+ resourceInputs["kind"] = "GatewayClassList";
75
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
76
+ } else {
77
+ resourceInputs["apiVersion"] = undefined /*out*/;
78
+ resourceInputs["items"] = undefined /*out*/;
79
+ resourceInputs["kind"] = undefined /*out*/;
80
+ resourceInputs["metadata"] = undefined /*out*/;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ super(GatewayClassList.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+
87
+ /**
88
+ * The set of arguments for constructing a GatewayClassList resource.
89
+ */
90
+ export interface GatewayClassListArgs {
91
+ /**
92
+ * 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
93
+ */
94
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
95
+ /**
96
+ * List of gatewayclasses. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
97
+ */
98
+ items: pulumi.Input<pulumi.Input<inputs.gateway.v1.GatewayClass>[]>;
99
+ /**
100
+ * 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
101
+ */
102
+ kind?: pulumi.Input<"GatewayClassList">;
103
+ /**
104
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
105
+ */
106
+ metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
107
+ }
@@ -0,0 +1,125 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ import {ObjectMetaPatch} from "../../meta/v1";
10
+
11
+ /**
12
+ * Patch resources are used to modify existing Kubernetes resources by using
13
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
14
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
15
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
16
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
17
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
18
+ * GatewayClass describes a class of Gateways available to the user for creating
19
+ * Gateway resources.
20
+ *
21
+ * It is recommended that this resource be used as a template for Gateways. This
22
+ * means that a Gateway is based on the state of the GatewayClass at the time it
23
+ * was created and changes to the GatewayClass or associated parameters are not
24
+ * propagated down to existing Gateways. This recommendation is intended to
25
+ * limit the blast radius of changes to GatewayClass or associated parameters.
26
+ * If implementations choose to propagate GatewayClass changes to existing
27
+ * Gateways, that MUST be clearly documented by the implementation.
28
+ *
29
+ * Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
30
+ * add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
31
+ * associated GatewayClass. This ensures that a GatewayClass associated with a
32
+ * Gateway is not deleted while in use.
33
+ *
34
+ * GatewayClass is a Cluster level resource.
35
+ */
36
+ export class GatewayClassPatch extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing GatewayClassPatch resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClassPatch {
46
+ return new GatewayClassPatch(name, undefined as any, { ...opts, id: id });
47
+ }
48
+
49
+ /** @internal */
50
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClassPatch';
51
+
52
+ /**
53
+ * Returns true if the given object is an instance of GatewayClassPatch. This is designed to work even
54
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
55
+ */
56
+ public static isInstance(obj: any): obj is GatewayClassPatch {
57
+ if (obj === undefined || obj === null) {
58
+ return false;
59
+ }
60
+ return obj['__pulumiType'] === GatewayClassPatch.__pulumiType;
61
+ }
62
+
63
+ /**
64
+ * 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
65
+ */
66
+ public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
67
+ /**
68
+ * 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
69
+ */
70
+ public readonly kind!: pulumi.Output<"GatewayClass">;
71
+ /**
72
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
73
+ */
74
+ public readonly metadata!: pulumi.Output<ObjectMetaPatch>;
75
+ public readonly spec!: pulumi.Output<outputs.gateway.v1.GatewayClassSpecPatch>;
76
+ public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.GatewayClassStatusPatch>;
77
+
78
+ /**
79
+ * Create a GatewayClassPatch resource with the given unique name, arguments, and options.
80
+ *
81
+ * @param name The _unique_ name of the resource.
82
+ * @param args The arguments to use to populate this resource's properties.
83
+ * @param opts A bag of options that control this resource's behavior.
84
+ */
85
+ constructor(name: string, args?: GatewayClassPatchArgs, opts?: pulumi.CustomResourceOptions) {
86
+ let resourceInputs: pulumi.Inputs = {};
87
+ opts = opts || {};
88
+ if (!opts.id) {
89
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
90
+ resourceInputs["kind"] = "GatewayClass";
91
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
92
+ resourceInputs["spec"] = args ? args.spec : undefined;
93
+ resourceInputs["status"] = undefined /*out*/;
94
+ } else {
95
+ resourceInputs["apiVersion"] = undefined /*out*/;
96
+ resourceInputs["kind"] = undefined /*out*/;
97
+ resourceInputs["metadata"] = undefined /*out*/;
98
+ resourceInputs["spec"] = undefined /*out*/;
99
+ resourceInputs["status"] = undefined /*out*/;
100
+ }
101
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
102
+ const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClassPatch" }] };
103
+ opts = pulumi.mergeOptions(opts, aliasOpts);
104
+ super(GatewayClassPatch.__pulumiType, name, resourceInputs, opts);
105
+ }
106
+ }
107
+
108
+ /**
109
+ * The set of arguments for constructing a GatewayClassPatch resource.
110
+ */
111
+ export interface GatewayClassPatchArgs {
112
+ /**
113
+ * 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
114
+ */
115
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
116
+ /**
117
+ * 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
118
+ */
119
+ kind?: pulumi.Input<"GatewayClass">;
120
+ /**
121
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
122
+ */
123
+ metadata?: pulumi.Input<ObjectMetaPatch>;
124
+ spec?: pulumi.Input<inputs.gateway.v1.GatewayClassSpecPatch>;
125
+ }