@kilic.dev/pulumi-k8s-crds 2.1.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +14 -0
  2. package/dist/cilium/v2/ciliumLoadBalancerIPPool.d.ts +1 -1
  3. package/dist/cilium/v2/ciliumLoadBalancerIPPool.js +1 -1
  4. package/dist/cilium/v2/ciliumLoadBalancerIPPoolPatch.d.ts +1 -1
  5. package/dist/cilium/v2/ciliumLoadBalancerIPPoolPatch.js +1 -1
  6. package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPool.d.ts +1 -1
  7. package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPool.js +1 -1
  8. package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPoolPatch.d.ts +1 -1
  9. package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPoolPatch.js +1 -1
  10. package/dist/gateway/v1/gateway.d.ts +2 -0
  11. package/dist/gateway/v1/gateway.js +2 -0
  12. package/dist/gateway/v1/gatewayClass.d.ts +3 -0
  13. package/dist/gateway/v1/gatewayClass.js +3 -0
  14. package/dist/gateway/v1/gatewayClassPatch.d.ts +3 -0
  15. package/dist/gateway/v1/gatewayClassPatch.js +3 -0
  16. package/dist/gateway/v1/gatewayPatch.d.ts +2 -0
  17. package/dist/gateway/v1/gatewayPatch.js +2 -0
  18. package/dist/gateway/v1/index.d.ts +18 -0
  19. package/dist/gateway/v1/index.js +25 -1
  20. package/dist/gateway/v1/tcproute.d.ts +66 -0
  21. package/dist/gateway/v1/tcproute.js +100 -0
  22. package/dist/gateway/v1/tcprouteList.d.ts +69 -0
  23. package/dist/gateway/v1/tcprouteList.js +97 -0
  24. package/dist/gateway/v1/tcproutePatch.d.ts +72 -0
  25. package/dist/gateway/v1/tcproutePatch.js +106 -0
  26. package/dist/gateway/v1/udproute.d.ts +66 -0
  27. package/dist/gateway/v1/udproute.js +100 -0
  28. package/dist/gateway/v1/udprouteList.d.ts +69 -0
  29. package/dist/gateway/v1/udprouteList.js +97 -0
  30. package/dist/gateway/v1/udproutePatch.d.ts +72 -0
  31. package/dist/gateway/v1/udproutePatch.js +106 -0
  32. package/dist/gateway/v1alpha2/tcproute.js +2 -0
  33. package/dist/gateway/v1alpha2/tcproutePatch.js +2 -0
  34. package/dist/gateway/v1alpha2/udproute.js +2 -0
  35. package/dist/gateway/v1alpha2/udproutePatch.js +2 -0
  36. package/dist/types/input.d.ts +10401 -2343
  37. package/dist/types/output.d.ts +11008 -2389
  38. package/package.json +3 -3
@@ -0,0 +1,72 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * Patch resources are used to modify existing Kubernetes resources by using
6
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
7
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
8
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
9
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
10
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
11
+ * TCPRoute provides a way to route TCP requests. When combined with a Gateway
12
+ * listener, it can be used to forward connections on the port specified by the
13
+ * listener to a set of backends specified by the TCPRoute.
14
+ */
15
+ export declare class TCPRoutePatch extends pulumi.CustomResource {
16
+ /**
17
+ * Get an existing TCPRoutePatch resource's state with the given name, ID, and optional extra
18
+ * properties used to qualify the lookup.
19
+ *
20
+ * @param name The _unique_ name of the resulting resource.
21
+ * @param id The _unique_ provider ID of the resource to lookup.
22
+ * @param opts Optional settings to control the behavior of the CustomResource.
23
+ */
24
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TCPRoutePatch;
25
+ /** @internal */
26
+ static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:TCPRoutePatch";
27
+ /**
28
+ * Returns true if the given object is an instance of TCPRoutePatch. This is designed to work even
29
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
30
+ */
31
+ static isInstance(obj: any): obj is TCPRoutePatch;
32
+ /**
33
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
34
+ */
35
+ readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
36
+ /**
37
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
38
+ */
39
+ readonly kind: pulumi.Output<"TCPRoute">;
40
+ /**
41
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
42
+ */
43
+ readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
44
+ readonly spec: pulumi.Output<outputs.gateway.v1.TCPRouteSpecPatch>;
45
+ readonly status: pulumi.Output<outputs.gateway.v1.TCPRouteStatusPatch>;
46
+ /**
47
+ * Create a TCPRoutePatch resource with the given unique name, arguments, and options.
48
+ *
49
+ * @param name The _unique_ name of the resource.
50
+ * @param args The arguments to use to populate this resource's properties.
51
+ * @param opts A bag of options that control this resource's behavior.
52
+ */
53
+ constructor(name: string, args?: TCPRoutePatchArgs, opts?: pulumi.CustomResourceOptions);
54
+ }
55
+ /**
56
+ * The set of arguments for constructing a TCPRoutePatch resource.
57
+ */
58
+ export interface TCPRoutePatchArgs {
59
+ /**
60
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
61
+ */
62
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1" | undefined>;
63
+ /**
64
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
65
+ */
66
+ kind?: pulumi.Input<"TCPRoute" | undefined>;
67
+ /**
68
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
69
+ */
70
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch | undefined>;
71
+ spec?: pulumi.Input<inputs.gateway.v1.TCPRouteSpecPatch | undefined>;
72
+ }
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || (function () {
21
+ var ownKeys = function(o) {
22
+ ownKeys = Object.getOwnPropertyNames || function (o) {
23
+ var ar = [];
24
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
+ return ar;
26
+ };
27
+ return ownKeys(o);
28
+ };
29
+ return function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ })();
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.TCPRoutePatch = void 0;
39
+ const pulumi = __importStar(require("@pulumi/pulumi"));
40
+ const utilities = __importStar(require("../../utilities"));
41
+ /**
42
+ * Patch resources are used to modify existing Kubernetes resources by using
43
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
44
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
45
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
46
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
47
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
48
+ * TCPRoute provides a way to route TCP requests. When combined with a Gateway
49
+ * listener, it can be used to forward connections on the port specified by the
50
+ * listener to a set of backends specified by the TCPRoute.
51
+ */
52
+ class TCPRoutePatch extends pulumi.CustomResource {
53
+ /**
54
+ * Get an existing TCPRoutePatch resource's state with the given name, ID, and optional extra
55
+ * properties used to qualify the lookup.
56
+ *
57
+ * @param name The _unique_ name of the resulting resource.
58
+ * @param id The _unique_ provider ID of the resource to lookup.
59
+ * @param opts Optional settings to control the behavior of the CustomResource.
60
+ */
61
+ static get(name, id, opts) {
62
+ return new TCPRoutePatch(name, undefined, { ...opts, id: id });
63
+ }
64
+ /** @internal */
65
+ static __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:TCPRoutePatch';
66
+ /**
67
+ * Returns true if the given object is an instance of TCPRoutePatch. This is designed to work even
68
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
69
+ */
70
+ static isInstance(obj) {
71
+ if (obj === undefined || obj === null) {
72
+ return false;
73
+ }
74
+ return obj['__pulumiType'] === TCPRoutePatch.__pulumiType;
75
+ }
76
+ /**
77
+ * Create a TCPRoutePatch resource with the given unique name, arguments, and options.
78
+ *
79
+ * @param name The _unique_ name of the resource.
80
+ * @param args The arguments to use to populate this resource's properties.
81
+ * @param opts A bag of options that control this resource's behavior.
82
+ */
83
+ constructor(name, args, opts) {
84
+ let resourceInputs = {};
85
+ opts = opts || {};
86
+ if (!opts.id) {
87
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
88
+ resourceInputs["kind"] = "TCPRoute";
89
+ resourceInputs["metadata"] = args?.metadata;
90
+ resourceInputs["spec"] = args?.spec;
91
+ resourceInputs["status"] = undefined /*out*/;
92
+ }
93
+ else {
94
+ resourceInputs["apiVersion"] = undefined /*out*/;
95
+ resourceInputs["kind"] = undefined /*out*/;
96
+ resourceInputs["metadata"] = undefined /*out*/;
97
+ resourceInputs["spec"] = undefined /*out*/;
98
+ resourceInputs["status"] = undefined /*out*/;
99
+ }
100
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
101
+ const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoutePatch" }] };
102
+ opts = pulumi.mergeOptions(opts, aliasOpts);
103
+ super(TCPRoutePatch.__pulumiType, name, resourceInputs, opts);
104
+ }
105
+ }
106
+ exports.TCPRoutePatch = TCPRoutePatch;
@@ -0,0 +1,66 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * UDPRoute provides a way to route UDP traffic. When combined with a Gateway
6
+ * listener, it can be used to forward traffic on the port specified by the
7
+ * listener to a set of backends specified by the UDPRoute.
8
+ */
9
+ export declare class UDPRoute extends pulumi.CustomResource {
10
+ /**
11
+ * Get an existing UDPRoute resource's state with the given name, ID, and optional extra
12
+ * properties used to qualify the lookup.
13
+ *
14
+ * @param name The _unique_ name of the resulting resource.
15
+ * @param id The _unique_ provider ID of the resource to lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): UDPRoute;
19
+ /** @internal */
20
+ static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:UDPRoute";
21
+ /**
22
+ * Returns true if the given object is an instance of UDPRoute. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj: any): obj is UDPRoute;
26
+ /**
27
+ * 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
28
+ */
29
+ readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
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<"UDPRoute">;
34
+ /**
35
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
36
+ */
37
+ readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
38
+ readonly spec: pulumi.Output<outputs.gateway.v1.UDPRouteSpec>;
39
+ readonly status: pulumi.Output<outputs.gateway.v1.UDPRouteStatus>;
40
+ /**
41
+ * Create a UDPRoute resource with the given unique name, arguments, and options.
42
+ *
43
+ * @param name The _unique_ name of the resource.
44
+ * @param args The arguments to use to populate this resource's properties.
45
+ * @param opts A bag of options that control this resource's behavior.
46
+ */
47
+ constructor(name: string, args?: UDPRouteArgs, opts?: pulumi.CustomResourceOptions);
48
+ }
49
+ /**
50
+ * The set of arguments for constructing a UDPRoute resource.
51
+ */
52
+ export interface UDPRouteArgs {
53
+ /**
54
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
55
+ */
56
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1" | undefined>;
57
+ /**
58
+ * 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
59
+ */
60
+ kind?: pulumi.Input<"UDPRoute" | undefined>;
61
+ /**
62
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
63
+ */
64
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta | undefined>;
65
+ spec?: pulumi.Input<inputs.gateway.v1.UDPRouteSpec | undefined>;
66
+ }
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || (function () {
21
+ var ownKeys = function(o) {
22
+ ownKeys = Object.getOwnPropertyNames || function (o) {
23
+ var ar = [];
24
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
+ return ar;
26
+ };
27
+ return ownKeys(o);
28
+ };
29
+ return function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ })();
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.UDPRoute = void 0;
39
+ const pulumi = __importStar(require("@pulumi/pulumi"));
40
+ const utilities = __importStar(require("../../utilities"));
41
+ /**
42
+ * UDPRoute provides a way to route UDP traffic. When combined with a Gateway
43
+ * listener, it can be used to forward traffic on the port specified by the
44
+ * listener to a set of backends specified by the UDPRoute.
45
+ */
46
+ class UDPRoute extends pulumi.CustomResource {
47
+ /**
48
+ * Get an existing UDPRoute resource's state with the given name, ID, and optional extra
49
+ * properties used to qualify the lookup.
50
+ *
51
+ * @param name The _unique_ name of the resulting resource.
52
+ * @param id The _unique_ provider ID of the resource to lookup.
53
+ * @param opts Optional settings to control the behavior of the CustomResource.
54
+ */
55
+ static get(name, id, opts) {
56
+ return new UDPRoute(name, undefined, { ...opts, id: id });
57
+ }
58
+ /** @internal */
59
+ static __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:UDPRoute';
60
+ /**
61
+ * Returns true if the given object is an instance of UDPRoute. This is designed to work even
62
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
63
+ */
64
+ static isInstance(obj) {
65
+ if (obj === undefined || obj === null) {
66
+ return false;
67
+ }
68
+ return obj['__pulumiType'] === UDPRoute.__pulumiType;
69
+ }
70
+ /**
71
+ * Create a UDPRoute resource with the given unique name, arguments, and options.
72
+ *
73
+ * @param name The _unique_ name of the resource.
74
+ * @param args The arguments to use to populate this resource's properties.
75
+ * @param opts A bag of options that control this resource's behavior.
76
+ */
77
+ constructor(name, args, opts) {
78
+ let resourceInputs = {};
79
+ opts = opts || {};
80
+ if (!opts.id) {
81
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
82
+ resourceInputs["kind"] = "UDPRoute";
83
+ resourceInputs["metadata"] = args?.metadata;
84
+ resourceInputs["spec"] = args?.spec;
85
+ resourceInputs["status"] = undefined /*out*/;
86
+ }
87
+ else {
88
+ resourceInputs["apiVersion"] = undefined /*out*/;
89
+ resourceInputs["kind"] = undefined /*out*/;
90
+ resourceInputs["metadata"] = undefined /*out*/;
91
+ resourceInputs["spec"] = undefined /*out*/;
92
+ resourceInputs["status"] = undefined /*out*/;
93
+ }
94
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
95
+ const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoute" }] };
96
+ opts = pulumi.mergeOptions(opts, aliasOpts);
97
+ super(UDPRoute.__pulumiType, name, resourceInputs, opts);
98
+ }
99
+ }
100
+ exports.UDPRoute = UDPRoute;
@@ -0,0 +1,69 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * UDPRouteList is a list of UDPRoute
6
+ */
7
+ export declare class UDPRouteList extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing UDPRouteList 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): UDPRouteList;
17
+ /** @internal */
18
+ static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:UDPRouteList";
19
+ /**
20
+ * Returns true if the given object is an instance of UDPRouteList. This is designed to work even
21
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
22
+ */
23
+ static isInstance(obj: any): obj is UDPRouteList;
24
+ /**
25
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
26
+ */
27
+ readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
28
+ /**
29
+ * List of udproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
30
+ */
31
+ readonly items: pulumi.Output<outputs.gateway.v1.UDPRoute[]>;
32
+ /**
33
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
34
+ */
35
+ readonly kind: pulumi.Output<"UDPRouteList">;
36
+ /**
37
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
38
+ */
39
+ readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
40
+ /**
41
+ * Create a UDPRouteList resource with the given unique name, arguments, and options.
42
+ *
43
+ * @param name The _unique_ name of the resource.
44
+ * @param args The arguments to use to populate this resource's properties.
45
+ * @param opts A bag of options that control this resource's behavior.
46
+ */
47
+ constructor(name: string, args?: UDPRouteListArgs, opts?: pulumi.CustomResourceOptions);
48
+ }
49
+ /**
50
+ * The set of arguments for constructing a UDPRouteList resource.
51
+ */
52
+ export interface UDPRouteListArgs {
53
+ /**
54
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
55
+ */
56
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1" | undefined>;
57
+ /**
58
+ * List of udproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
59
+ */
60
+ items: pulumi.Input<pulumi.Input<inputs.gateway.v1.UDPRoute>[]>;
61
+ /**
62
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
63
+ */
64
+ kind?: pulumi.Input<"UDPRouteList" | undefined>;
65
+ /**
66
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
67
+ */
68
+ metadata?: pulumi.Input<inputs.meta.v1.ListMeta | undefined>;
69
+ }
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by crd2pulumi. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || (function () {
21
+ var ownKeys = function(o) {
22
+ ownKeys = Object.getOwnPropertyNames || function (o) {
23
+ var ar = [];
24
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
25
+ return ar;
26
+ };
27
+ return ownKeys(o);
28
+ };
29
+ return function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ })();
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.UDPRouteList = void 0;
39
+ const pulumi = __importStar(require("@pulumi/pulumi"));
40
+ const utilities = __importStar(require("../../utilities"));
41
+ /**
42
+ * UDPRouteList is a list of UDPRoute
43
+ */
44
+ class UDPRouteList extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing UDPRouteList resource's state with the given name, ID, and optional extra
47
+ * properties used to qualify the lookup.
48
+ *
49
+ * @param name The _unique_ name of the resulting resource.
50
+ * @param id The _unique_ provider ID of the resource to lookup.
51
+ * @param opts Optional settings to control the behavior of the CustomResource.
52
+ */
53
+ static get(name, id, opts) {
54
+ return new UDPRouteList(name, undefined, { ...opts, id: id });
55
+ }
56
+ /** @internal */
57
+ static __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:UDPRouteList';
58
+ /**
59
+ * Returns true if the given object is an instance of UDPRouteList. This is designed to work even
60
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
61
+ */
62
+ static isInstance(obj) {
63
+ if (obj === undefined || obj === null) {
64
+ return false;
65
+ }
66
+ return obj['__pulumiType'] === UDPRouteList.__pulumiType;
67
+ }
68
+ /**
69
+ * Create a UDPRouteList resource with the given unique name, arguments, and options.
70
+ *
71
+ * @param name The _unique_ name of the resource.
72
+ * @param args The arguments to use to populate this resource's properties.
73
+ * @param opts A bag of options that control this resource's behavior.
74
+ */
75
+ constructor(name, args, opts) {
76
+ let resourceInputs = {};
77
+ opts = opts || {};
78
+ if (!opts.id) {
79
+ if (args?.items === undefined && !opts.urn) {
80
+ throw new Error("Missing required property 'items'");
81
+ }
82
+ resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
83
+ resourceInputs["items"] = args?.items;
84
+ resourceInputs["kind"] = "UDPRouteList";
85
+ resourceInputs["metadata"] = args?.metadata;
86
+ }
87
+ else {
88
+ resourceInputs["apiVersion"] = undefined /*out*/;
89
+ resourceInputs["items"] = undefined /*out*/;
90
+ resourceInputs["kind"] = undefined /*out*/;
91
+ resourceInputs["metadata"] = undefined /*out*/;
92
+ }
93
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
94
+ super(UDPRouteList.__pulumiType, name, resourceInputs, opts);
95
+ }
96
+ }
97
+ exports.UDPRouteList = UDPRouteList;
@@ -0,0 +1,72 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * Patch resources are used to modify existing Kubernetes resources by using
6
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
7
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
8
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
9
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
10
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
11
+ * UDPRoute provides a way to route UDP traffic. When combined with a Gateway
12
+ * listener, it can be used to forward traffic on the port specified by the
13
+ * listener to a set of backends specified by the UDPRoute.
14
+ */
15
+ export declare class UDPRoutePatch extends pulumi.CustomResource {
16
+ /**
17
+ * Get an existing UDPRoutePatch resource's state with the given name, ID, and optional extra
18
+ * properties used to qualify the lookup.
19
+ *
20
+ * @param name The _unique_ name of the resulting resource.
21
+ * @param id The _unique_ provider ID of the resource to lookup.
22
+ * @param opts Optional settings to control the behavior of the CustomResource.
23
+ */
24
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): UDPRoutePatch;
25
+ /** @internal */
26
+ static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:UDPRoutePatch";
27
+ /**
28
+ * Returns true if the given object is an instance of UDPRoutePatch. This is designed to work even
29
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
30
+ */
31
+ static isInstance(obj: any): obj is UDPRoutePatch;
32
+ /**
33
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
34
+ */
35
+ readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
36
+ /**
37
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
38
+ */
39
+ readonly kind: pulumi.Output<"UDPRoute">;
40
+ /**
41
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
42
+ */
43
+ readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
44
+ readonly spec: pulumi.Output<outputs.gateway.v1.UDPRouteSpecPatch>;
45
+ readonly status: pulumi.Output<outputs.gateway.v1.UDPRouteStatusPatch>;
46
+ /**
47
+ * Create a UDPRoutePatch resource with the given unique name, arguments, and options.
48
+ *
49
+ * @param name The _unique_ name of the resource.
50
+ * @param args The arguments to use to populate this resource's properties.
51
+ * @param opts A bag of options that control this resource's behavior.
52
+ */
53
+ constructor(name: string, args?: UDPRoutePatchArgs, opts?: pulumi.CustomResourceOptions);
54
+ }
55
+ /**
56
+ * The set of arguments for constructing a UDPRoutePatch resource.
57
+ */
58
+ export interface UDPRoutePatchArgs {
59
+ /**
60
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
61
+ */
62
+ apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1" | undefined>;
63
+ /**
64
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
65
+ */
66
+ kind?: pulumi.Input<"UDPRoute" | undefined>;
67
+ /**
68
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
69
+ */
70
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch | undefined>;
71
+ spec?: pulumi.Input<inputs.gateway.v1.UDPRouteSpecPatch | undefined>;
72
+ }