@highstate/gateway-api 0.9.31 → 0.9.32

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 (96) hide show
  1. package/CHANGELOG.md +2 -14
  2. package/bin/gateway/index.d.ts +4 -1
  3. package/bin/gateway/index.js +7 -1
  4. package/bin/gateway/index.js.map +1 -1
  5. package/bin/gateway/v1alpha1/index.d.ts +18 -0
  6. package/bin/gateway/v1alpha1/index.js +42 -0
  7. package/bin/gateway/v1alpha1/index.js.map +1 -0
  8. package/bin/gateway/v1alpha1/xbackendTrafficPolicy.d.ts +63 -0
  9. package/bin/gateway/v1alpha1/xbackendTrafficPolicy.js +65 -0
  10. package/bin/gateway/v1alpha1/xbackendTrafficPolicy.js.map +1 -0
  11. package/bin/gateway/v1alpha1/xbackendTrafficPolicyList.d.ts +67 -0
  12. package/bin/gateway/v1alpha1/xbackendTrafficPolicyList.js +65 -0
  13. package/bin/gateway/v1alpha1/xbackendTrafficPolicyList.js.map +1 -0
  14. package/bin/gateway/v1alpha1/xbackendTrafficPolicyPatch.d.ts +69 -0
  15. package/bin/gateway/v1alpha1/xbackendTrafficPolicyPatch.js +71 -0
  16. package/bin/gateway/v1alpha1/xbackendTrafficPolicyPatch.js.map +1 -0
  17. package/bin/gateway/v1alpha1/xlistenerSet.d.ts +63 -0
  18. package/bin/gateway/v1alpha1/xlistenerSet.js +65 -0
  19. package/bin/gateway/v1alpha1/xlistenerSet.js.map +1 -0
  20. package/bin/gateway/v1alpha1/xlistenerSetList.d.ts +67 -0
  21. package/bin/gateway/v1alpha1/xlistenerSetList.js +65 -0
  22. package/bin/gateway/v1alpha1/xlistenerSetList.js.map +1 -0
  23. package/bin/gateway/v1alpha1/xlistenerSetPatch.d.ts +69 -0
  24. package/bin/gateway/v1alpha1/xlistenerSetPatch.js +71 -0
  25. package/bin/gateway/v1alpha1/xlistenerSetPatch.js.map +1 -0
  26. package/bin/gateway/v1alpha2/index.d.ts +27 -0
  27. package/bin/gateway/v1alpha2/index.js +54 -0
  28. package/bin/gateway/v1alpha2/index.js.map +1 -0
  29. package/bin/gateway/v1alpha2/tcproute.d.ts +64 -0
  30. package/bin/gateway/v1alpha2/tcproute.js +66 -0
  31. package/bin/gateway/v1alpha2/tcproute.js.map +1 -0
  32. package/bin/gateway/v1alpha2/tcprouteList.d.ts +67 -0
  33. package/bin/gateway/v1alpha2/tcprouteList.js +65 -0
  34. package/bin/gateway/v1alpha2/tcprouteList.js.map +1 -0
  35. package/bin/gateway/v1alpha2/tcproutePatch.d.ts +70 -0
  36. package/bin/gateway/v1alpha2/tcproutePatch.js +72 -0
  37. package/bin/gateway/v1alpha2/tcproutePatch.js.map +1 -0
  38. package/bin/gateway/v1alpha2/tlsroute.d.ts +67 -0
  39. package/bin/gateway/v1alpha2/tlsroute.js +69 -0
  40. package/bin/gateway/v1alpha2/tlsroute.js.map +1 -0
  41. package/bin/gateway/v1alpha2/tlsrouteList.d.ts +67 -0
  42. package/bin/gateway/v1alpha2/tlsrouteList.js +65 -0
  43. package/bin/gateway/v1alpha2/tlsrouteList.js.map +1 -0
  44. package/bin/gateway/v1alpha2/tlsroutePatch.d.ts +73 -0
  45. package/bin/gateway/v1alpha2/tlsroutePatch.js +75 -0
  46. package/bin/gateway/v1alpha2/tlsroutePatch.js.map +1 -0
  47. package/bin/gateway/v1alpha2/udproute.d.ts +64 -0
  48. package/bin/gateway/v1alpha2/udproute.js +66 -0
  49. package/bin/gateway/v1alpha2/udproute.js.map +1 -0
  50. package/bin/gateway/v1alpha2/udprouteList.d.ts +67 -0
  51. package/bin/gateway/v1alpha2/udprouteList.js +65 -0
  52. package/bin/gateway/v1alpha2/udprouteList.js.map +1 -0
  53. package/bin/gateway/v1alpha2/udproutePatch.d.ts +70 -0
  54. package/bin/gateway/v1alpha2/udproutePatch.js +72 -0
  55. package/bin/gateway/v1alpha2/udproutePatch.js.map +1 -0
  56. package/bin/gateway/v1alpha3/backendTLSPolicy.d.ts +63 -0
  57. package/bin/gateway/v1alpha3/backendTLSPolicy.js +65 -0
  58. package/bin/gateway/v1alpha3/backendTLSPolicy.js.map +1 -0
  59. package/bin/gateway/v1alpha3/backendTLSPolicyList.d.ts +67 -0
  60. package/bin/gateway/v1alpha3/backendTLSPolicyList.js +65 -0
  61. package/bin/gateway/v1alpha3/backendTLSPolicyList.js.map +1 -0
  62. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.d.ts +69 -0
  63. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js +71 -0
  64. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js.map +1 -0
  65. package/bin/gateway/v1alpha3/index.d.ts +9 -0
  66. package/bin/gateway/v1alpha3/index.js +30 -0
  67. package/bin/gateway/v1alpha3/index.js.map +1 -0
  68. package/bin/package.json +2 -2
  69. package/bin/types/input.d.ts +9778 -800
  70. package/bin/types/output.d.ts +11204 -846
  71. package/gateway/index.ts +6 -0
  72. package/gateway/v1alpha1/index.ts +60 -0
  73. package/gateway/v1alpha1/xbackendTrafficPolicy.ts +100 -0
  74. package/gateway/v1alpha1/xbackendTrafficPolicyList.ts +105 -0
  75. package/gateway/v1alpha1/xbackendTrafficPolicyPatch.ts +106 -0
  76. package/gateway/v1alpha1/xlistenerSet.ts +100 -0
  77. package/gateway/v1alpha1/xlistenerSetList.ts +105 -0
  78. package/gateway/v1alpha1/xlistenerSetPatch.ts +106 -0
  79. package/gateway/v1alpha2/index.ts +81 -0
  80. package/gateway/v1alpha2/tcproute.ts +101 -0
  81. package/gateway/v1alpha2/tcprouteList.ts +105 -0
  82. package/gateway/v1alpha2/tcproutePatch.ts +107 -0
  83. package/gateway/v1alpha2/tlsroute.ts +104 -0
  84. package/gateway/v1alpha2/tlsrouteList.ts +105 -0
  85. package/gateway/v1alpha2/tlsroutePatch.ts +110 -0
  86. package/gateway/v1alpha2/udproute.ts +101 -0
  87. package/gateway/v1alpha2/udprouteList.ts +105 -0
  88. package/gateway/v1alpha2/udproutePatch.ts +107 -0
  89. package/gateway/v1alpha3/backendTLSPolicy.ts +100 -0
  90. package/gateway/v1alpha3/backendTLSPolicyList.ts +105 -0
  91. package/gateway/v1alpha3/backendTLSPolicyPatch.ts +106 -0
  92. package/gateway/v1alpha3/index.ts +39 -0
  93. package/package.json +3 -3
  94. package/tsconfig.json +21 -0
  95. package/types/input.ts +10078 -944
  96. package/types/output.ts +11514 -973
@@ -0,0 +1,106 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ /**
10
+ * Patch resources are used to modify existing Kubernetes resources by using
11
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
12
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
13
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
14
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
15
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
16
+ * XListenerSet defines a set of additional listeners
17
+ * to attach to an existing Gateway.
18
+ */
19
+ export class XListenerSetPatch extends pulumi.CustomResource {
20
+ /**
21
+ * Get an existing XListenerSetPatch resource's state with the given name, ID, and optional extra
22
+ * properties used to qualify the lookup.
23
+ *
24
+ * @param name The _unique_ name of the resulting resource.
25
+ * @param id The _unique_ provider ID of the resource to lookup.
26
+ * @param opts Optional settings to control the behavior of the CustomResource.
27
+ */
28
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): XListenerSetPatch {
29
+ return new XListenerSetPatch(name, undefined as any, { ...opts, id: id });
30
+ }
31
+
32
+ /** @internal */
33
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetPatch';
34
+
35
+ /**
36
+ * Returns true if the given object is an instance of XListenerSetPatch. This is designed to work even
37
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
38
+ */
39
+ public static isInstance(obj: any): obj is XListenerSetPatch {
40
+ if (obj === undefined || obj === null) {
41
+ return false;
42
+ }
43
+ return obj['__pulumiType'] === XListenerSetPatch.__pulumiType;
44
+ }
45
+
46
+ /**
47
+ * 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
48
+ */
49
+ public readonly apiVersion!: pulumi.Output<"gateway.networking.x-k8s.io/v1alpha1">;
50
+ /**
51
+ * 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
52
+ */
53
+ public readonly kind!: pulumi.Output<"XListenerSet">;
54
+ /**
55
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
56
+ */
57
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
58
+ public readonly spec!: pulumi.Output<outputs.gateway.v1alpha1.XListenerSetSpecPatch>;
59
+ public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha1.XListenerSetStatusPatch>;
60
+
61
+ /**
62
+ * Create a XListenerSetPatch resource with the given unique name, arguments, and options.
63
+ *
64
+ * @param name The _unique_ name of the resource.
65
+ * @param args The arguments to use to populate this resource's properties.
66
+ * @param opts A bag of options that control this resource's behavior.
67
+ */
68
+ constructor(name: string, args?: XListenerSetPatchArgs, opts?: pulumi.CustomResourceOptions) {
69
+ let resourceInputs: pulumi.Inputs = {};
70
+ opts = opts || {};
71
+ if (!opts.id) {
72
+ resourceInputs["apiVersion"] = "gateway.networking.x-k8s.io/v1alpha1";
73
+ resourceInputs["kind"] = "XListenerSet";
74
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
75
+ resourceInputs["spec"] = args ? args.spec : undefined;
76
+ resourceInputs["status"] = undefined /*out*/;
77
+ } else {
78
+ resourceInputs["apiVersion"] = undefined /*out*/;
79
+ resourceInputs["kind"] = undefined /*out*/;
80
+ resourceInputs["metadata"] = undefined /*out*/;
81
+ resourceInputs["spec"] = undefined /*out*/;
82
+ resourceInputs["status"] = undefined /*out*/;
83
+ }
84
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
85
+ super(XListenerSetPatch.__pulumiType, name, resourceInputs, opts);
86
+ }
87
+ }
88
+
89
+ /**
90
+ * The set of arguments for constructing a XListenerSetPatch resource.
91
+ */
92
+ export interface XListenerSetPatchArgs {
93
+ /**
94
+ * 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
95
+ */
96
+ apiVersion?: pulumi.Input<"gateway.networking.x-k8s.io/v1alpha1">;
97
+ /**
98
+ * 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
99
+ */
100
+ kind?: pulumi.Input<"XListenerSet">;
101
+ /**
102
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
103
+ */
104
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
105
+ spec?: pulumi.Input<inputs.gateway.v1alpha1.XListenerSetSpecPatch>;
106
+ }
@@ -0,0 +1,81 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as utilities from "../../utilities";
6
+
7
+ // Export members:
8
+ export { TCPRouteArgs } from "./tcproute";
9
+ export type TCPRoute = import("./tcproute").TCPRoute;
10
+ export const TCPRoute: typeof import("./tcproute").TCPRoute = null as any;
11
+ utilities.lazyLoad(exports, ["TCPRoute"], () => require("./tcproute"));
12
+
13
+ export { TCPRouteListArgs } from "./tcprouteList";
14
+ export type TCPRouteList = import("./tcprouteList").TCPRouteList;
15
+ export const TCPRouteList: typeof import("./tcprouteList").TCPRouteList = null as any;
16
+ utilities.lazyLoad(exports, ["TCPRouteList"], () => require("./tcprouteList"));
17
+
18
+ export { TCPRoutePatchArgs } from "./tcproutePatch";
19
+ export type TCPRoutePatch = import("./tcproutePatch").TCPRoutePatch;
20
+ export const TCPRoutePatch: typeof import("./tcproutePatch").TCPRoutePatch = null as any;
21
+ utilities.lazyLoad(exports, ["TCPRoutePatch"], () => require("./tcproutePatch"));
22
+
23
+ export { TLSRouteArgs } from "./tlsroute";
24
+ export type TLSRoute = import("./tlsroute").TLSRoute;
25
+ export const TLSRoute: typeof import("./tlsroute").TLSRoute = null as any;
26
+ utilities.lazyLoad(exports, ["TLSRoute"], () => require("./tlsroute"));
27
+
28
+ export { TLSRouteListArgs } from "./tlsrouteList";
29
+ export type TLSRouteList = import("./tlsrouteList").TLSRouteList;
30
+ export const TLSRouteList: typeof import("./tlsrouteList").TLSRouteList = null as any;
31
+ utilities.lazyLoad(exports, ["TLSRouteList"], () => require("./tlsrouteList"));
32
+
33
+ export { TLSRoutePatchArgs } from "./tlsroutePatch";
34
+ export type TLSRoutePatch = import("./tlsroutePatch").TLSRoutePatch;
35
+ export const TLSRoutePatch: typeof import("./tlsroutePatch").TLSRoutePatch = null as any;
36
+ utilities.lazyLoad(exports, ["TLSRoutePatch"], () => require("./tlsroutePatch"));
37
+
38
+ export { UDPRouteArgs } from "./udproute";
39
+ export type UDPRoute = import("./udproute").UDPRoute;
40
+ export const UDPRoute: typeof import("./udproute").UDPRoute = null as any;
41
+ utilities.lazyLoad(exports, ["UDPRoute"], () => require("./udproute"));
42
+
43
+ export { UDPRouteListArgs } from "./udprouteList";
44
+ export type UDPRouteList = import("./udprouteList").UDPRouteList;
45
+ export const UDPRouteList: typeof import("./udprouteList").UDPRouteList = null as any;
46
+ utilities.lazyLoad(exports, ["UDPRouteList"], () => require("./udprouteList"));
47
+
48
+ export { UDPRoutePatchArgs } from "./udproutePatch";
49
+ export type UDPRoutePatch = import("./udproutePatch").UDPRoutePatch;
50
+ export const UDPRoutePatch: typeof import("./udproutePatch").UDPRoutePatch = null as any;
51
+ utilities.lazyLoad(exports, ["UDPRoutePatch"], () => require("./udproutePatch"));
52
+
53
+
54
+ const _module = {
55
+ version: utilities.getVersion(),
56
+ construct: (name: string, type: string, urn: string): pulumi.Resource => {
57
+ switch (type) {
58
+ case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoute":
59
+ return new TCPRoute(name, <any>undefined, { urn })
60
+ case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRouteList":
61
+ return new TCPRouteList(name, <any>undefined, { urn })
62
+ case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoutePatch":
63
+ return new TCPRoutePatch(name, <any>undefined, { urn })
64
+ case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoute":
65
+ return new TLSRoute(name, <any>undefined, { urn })
66
+ case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRouteList":
67
+ return new TLSRouteList(name, <any>undefined, { urn })
68
+ case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoutePatch":
69
+ return new TLSRoutePatch(name, <any>undefined, { urn })
70
+ case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoute":
71
+ return new UDPRoute(name, <any>undefined, { urn })
72
+ case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRouteList":
73
+ return new UDPRouteList(name, <any>undefined, { urn })
74
+ case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoutePatch":
75
+ return new UDPRoutePatch(name, <any>undefined, { urn })
76
+ default:
77
+ throw new Error(`unknown resource type ${type}`);
78
+ }
79
+ },
80
+ };
81
+ pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1alpha2", _module)
@@ -0,0 +1,101 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ /**
10
+ * TCPRoute provides a way to route TCP requests. When combined with a Gateway
11
+ * listener, it can be used to forward connections on the port specified by the
12
+ * listener to a set of backends specified by the TCPRoute.
13
+ */
14
+ export class TCPRoute extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing TCPRoute 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): TCPRoute {
24
+ return new TCPRoute(name, undefined as any, { ...opts, id: id });
25
+ }
26
+
27
+ /** @internal */
28
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoute';
29
+
30
+ /**
31
+ * Returns true if the given object is an instance of TCPRoute. 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 TCPRoute {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === TCPRoute.__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/v1alpha2">;
45
+ /**
46
+ * 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
47
+ */
48
+ public readonly kind!: pulumi.Output<"TCPRoute">;
49
+ /**
50
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
51
+ */
52
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
53
+ public readonly spec!: pulumi.Output<outputs.gateway.v1alpha2.TCPRouteSpec>;
54
+ public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha2.TCPRouteStatus>;
55
+
56
+ /**
57
+ * Create a TCPRoute resource with the given unique name, arguments, and options.
58
+ *
59
+ * @param name The _unique_ name of the resource.
60
+ * @param args The arguments to use to populate this resource's properties.
61
+ * @param opts A bag of options that control this resource's behavior.
62
+ */
63
+ constructor(name: string, args?: TCPRouteArgs, opts?: pulumi.CustomResourceOptions) {
64
+ let resourceInputs: pulumi.Inputs = {};
65
+ opts = opts || {};
66
+ if (!opts.id) {
67
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
68
+ resourceInputs["kind"] = "TCPRoute";
69
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
70
+ resourceInputs["spec"] = args ? args.spec : undefined;
71
+ resourceInputs["status"] = undefined /*out*/;
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
+ super(TCPRoute.__pulumiType, name, resourceInputs, opts);
81
+ }
82
+ }
83
+
84
+ /**
85
+ * The set of arguments for constructing a TCPRoute resource.
86
+ */
87
+ export interface TCPRouteArgs {
88
+ /**
89
+ * 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
90
+ */
91
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
92
+ /**
93
+ * 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
94
+ */
95
+ kind?: pulumi.Input<"TCPRoute">;
96
+ /**
97
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
98
+ */
99
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
100
+ spec?: pulumi.Input<inputs.gateway.v1alpha2.TCPRouteSpec>;
101
+ }
@@ -0,0 +1,105 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ /**
10
+ * TCPRouteList is a list of TCPRoute
11
+ */
12
+ export class TCPRouteList extends pulumi.CustomResource {
13
+ /**
14
+ * Get an existing TCPRouteList resource's state with the given name, ID, and optional extra
15
+ * properties used to qualify the lookup.
16
+ *
17
+ * @param name The _unique_ name of the resulting resource.
18
+ * @param id The _unique_ provider ID of the resource to lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TCPRouteList {
22
+ return new TCPRouteList(name, undefined as any, { ...opts, id: id });
23
+ }
24
+
25
+ /** @internal */
26
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRouteList';
27
+
28
+ /**
29
+ * Returns true if the given object is an instance of TCPRouteList. This is designed to work even
30
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
+ */
32
+ public static isInstance(obj: any): obj is TCPRouteList {
33
+ if (obj === undefined || obj === null) {
34
+ return false;
35
+ }
36
+ return obj['__pulumiType'] === TCPRouteList.__pulumiType;
37
+ }
38
+
39
+ /**
40
+ * 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
41
+ */
42
+ public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
43
+ /**
44
+ * List of tcproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
45
+ */
46
+ public readonly items!: pulumi.Output<outputs.gateway.v1alpha2.TCPRoute[]>;
47
+ /**
48
+ * 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
49
+ */
50
+ public readonly kind!: pulumi.Output<"TCPRouteList">;
51
+ /**
52
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
53
+ */
54
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
55
+
56
+ /**
57
+ * Create a TCPRouteList resource with the given unique name, arguments, and options.
58
+ *
59
+ * @param name The _unique_ name of the resource.
60
+ * @param args The arguments to use to populate this resource's properties.
61
+ * @param opts A bag of options that control this resource's behavior.
62
+ */
63
+ constructor(name: string, args?: TCPRouteListArgs, opts?: pulumi.CustomResourceOptions) {
64
+ let resourceInputs: pulumi.Inputs = {};
65
+ opts = opts || {};
66
+ if (!opts.id) {
67
+ if ((!args || args.items === undefined) && !opts.urn) {
68
+ throw new Error("Missing required property 'items'");
69
+ }
70
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
71
+ resourceInputs["items"] = args ? args.items : undefined;
72
+ resourceInputs["kind"] = "TCPRouteList";
73
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
74
+ } else {
75
+ resourceInputs["apiVersion"] = undefined /*out*/;
76
+ resourceInputs["items"] = undefined /*out*/;
77
+ resourceInputs["kind"] = undefined /*out*/;
78
+ resourceInputs["metadata"] = undefined /*out*/;
79
+ }
80
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
81
+ super(TCPRouteList.__pulumiType, name, resourceInputs, opts);
82
+ }
83
+ }
84
+
85
+ /**
86
+ * The set of arguments for constructing a TCPRouteList resource.
87
+ */
88
+ export interface TCPRouteListArgs {
89
+ /**
90
+ * 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
91
+ */
92
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
93
+ /**
94
+ * List of tcproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
95
+ */
96
+ items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha2.TCPRoute>[]>;
97
+ /**
98
+ * 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
99
+ */
100
+ kind?: pulumi.Input<"TCPRouteList">;
101
+ /**
102
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
103
+ */
104
+ metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
105
+ }
@@ -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
+ /**
10
+ * Patch resources are used to modify existing Kubernetes resources by using
11
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
12
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
13
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
14
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
15
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
16
+ * TCPRoute provides a way to route TCP requests. When combined with a Gateway
17
+ * listener, it can be used to forward connections on the port specified by the
18
+ * listener to a set of backends specified by the TCPRoute.
19
+ */
20
+ export class TCPRoutePatch extends pulumi.CustomResource {
21
+ /**
22
+ * Get an existing TCPRoutePatch 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
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TCPRoutePatch {
30
+ return new TCPRoutePatch(name, undefined as any, { ...opts, id: id });
31
+ }
32
+
33
+ /** @internal */
34
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoutePatch';
35
+
36
+ /**
37
+ * Returns true if the given object is an instance of TCPRoutePatch. This is designed to work even
38
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
+ */
40
+ public static isInstance(obj: any): obj is TCPRoutePatch {
41
+ if (obj === undefined || obj === null) {
42
+ return false;
43
+ }
44
+ return obj['__pulumiType'] === TCPRoutePatch.__pulumiType;
45
+ }
46
+
47
+ /**
48
+ * 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
49
+ */
50
+ public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
51
+ /**
52
+ * 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
53
+ */
54
+ public readonly kind!: pulumi.Output<"TCPRoute">;
55
+ /**
56
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
57
+ */
58
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
59
+ public readonly spec!: pulumi.Output<outputs.gateway.v1alpha2.TCPRouteSpecPatch>;
60
+ public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha2.TCPRouteStatusPatch>;
61
+
62
+ /**
63
+ * Create a TCPRoutePatch resource with the given unique name, arguments, and options.
64
+ *
65
+ * @param name The _unique_ name of the resource.
66
+ * @param args The arguments to use to populate this resource's properties.
67
+ * @param opts A bag of options that control this resource's behavior.
68
+ */
69
+ constructor(name: string, args?: TCPRoutePatchArgs, opts?: pulumi.CustomResourceOptions) {
70
+ let resourceInputs: pulumi.Inputs = {};
71
+ opts = opts || {};
72
+ if (!opts.id) {
73
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
74
+ resourceInputs["kind"] = "TCPRoute";
75
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
76
+ resourceInputs["spec"] = args ? args.spec : undefined;
77
+ resourceInputs["status"] = undefined /*out*/;
78
+ } else {
79
+ resourceInputs["apiVersion"] = undefined /*out*/;
80
+ resourceInputs["kind"] = undefined /*out*/;
81
+ resourceInputs["metadata"] = undefined /*out*/;
82
+ resourceInputs["spec"] = undefined /*out*/;
83
+ resourceInputs["status"] = undefined /*out*/;
84
+ }
85
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
86
+ super(TCPRoutePatch.__pulumiType, name, resourceInputs, opts);
87
+ }
88
+ }
89
+
90
+ /**
91
+ * The set of arguments for constructing a TCPRoutePatch resource.
92
+ */
93
+ export interface TCPRoutePatchArgs {
94
+ /**
95
+ * 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
96
+ */
97
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
98
+ /**
99
+ * 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
100
+ */
101
+ kind?: pulumi.Input<"TCPRoute">;
102
+ /**
103
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
104
+ */
105
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
106
+ spec?: pulumi.Input<inputs.gateway.v1alpha2.TCPRouteSpecPatch>;
107
+ }
@@ -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
+ /**
10
+ * The TLSRoute resource is similar to TCPRoute, but can be configured
11
+ * to match against TLS-specific metadata. This allows more flexibility
12
+ * in matching streams for a given TLS listener.
13
+ *
14
+ * If you need to forward traffic to a single target for a TLS listener, you
15
+ * could choose to use a TCPRoute with a TLS listener.
16
+ */
17
+ export class TLSRoute extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing TLSRoute resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param opts Optional settings to control the behavior of the CustomResource.
25
+ */
26
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TLSRoute {
27
+ return new TLSRoute(name, undefined as any, { ...opts, id: id });
28
+ }
29
+
30
+ /** @internal */
31
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoute';
32
+
33
+ /**
34
+ * Returns true if the given object is an instance of TLSRoute. This is designed to work even
35
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
36
+ */
37
+ public static isInstance(obj: any): obj is TLSRoute {
38
+ if (obj === undefined || obj === null) {
39
+ return false;
40
+ }
41
+ return obj['__pulumiType'] === TLSRoute.__pulumiType;
42
+ }
43
+
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
+ public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
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
+ public readonly kind!: pulumi.Output<"TLSRoute">;
52
+ /**
53
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
54
+ */
55
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
56
+ public readonly spec!: pulumi.Output<outputs.gateway.v1alpha2.TLSRouteSpec>;
57
+ public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha2.TLSRouteStatus>;
58
+
59
+ /**
60
+ * Create a TLSRoute 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: string, args?: TLSRouteArgs, opts?: pulumi.CustomResourceOptions) {
67
+ let resourceInputs: pulumi.Inputs = {};
68
+ opts = opts || {};
69
+ if (!opts.id) {
70
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
71
+ resourceInputs["kind"] = "TLSRoute";
72
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
73
+ resourceInputs["spec"] = args ? args.spec : undefined;
74
+ resourceInputs["status"] = undefined /*out*/;
75
+ } else {
76
+ resourceInputs["apiVersion"] = undefined /*out*/;
77
+ resourceInputs["kind"] = undefined /*out*/;
78
+ resourceInputs["metadata"] = undefined /*out*/;
79
+ resourceInputs["spec"] = undefined /*out*/;
80
+ resourceInputs["status"] = undefined /*out*/;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ super(TLSRoute.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+
87
+ /**
88
+ * The set of arguments for constructing a TLSRoute resource.
89
+ */
90
+ export interface TLSRouteArgs {
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/v1alpha2">;
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<"TLSRoute">;
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<inputs.meta.v1.ObjectMeta>;
103
+ spec?: pulumi.Input<inputs.gateway.v1alpha2.TLSRouteSpec>;
104
+ }