@highstate/gateway-api 0.6.2 → 0.7.1
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.
- package/CHANGELOG.md +3 -4
- package/bin/gateway/index.d.ts +1 -3
- package/bin/gateway/index.js +1 -5
- package/bin/gateway/index.js.map +1 -1
- package/bin/package.json +2 -2
- package/bin/types/input.d.ts +89 -5676
- package/bin/types/output.d.ts +191 -6999
- package/gateway/index.ts +0 -4
- package/package.json +3 -3
- package/tsconfig.json +0 -17
- package/types/input.ts +181 -5879
- package/types/output.ts +181 -7122
- package/bin/gateway/v1alpha2/backendLBPolicy.d.ts +0 -64
- package/bin/gateway/v1alpha2/backendLBPolicy.js +0 -65
- package/bin/gateway/v1alpha2/backendLBPolicy.js.map +0 -1
- package/bin/gateway/v1alpha2/backendLBPolicyList.d.ts +0 -67
- package/bin/gateway/v1alpha2/backendLBPolicyList.js +0 -65
- package/bin/gateway/v1alpha2/backendLBPolicyList.js.map +0 -1
- package/bin/gateway/v1alpha2/backendLBPolicyPatch.d.ts +0 -70
- package/bin/gateway/v1alpha2/backendLBPolicyPatch.js +0 -71
- package/bin/gateway/v1alpha2/backendLBPolicyPatch.js.map +0 -1
- package/bin/gateway/v1alpha2/index.d.ts +0 -36
- package/bin/gateway/v1alpha2/index.js +0 -66
- package/bin/gateway/v1alpha2/index.js.map +0 -1
- package/bin/gateway/v1alpha2/tcproute.d.ts +0 -65
- package/bin/gateway/v1alpha2/tcproute.js +0 -66
- package/bin/gateway/v1alpha2/tcproute.js.map +0 -1
- package/bin/gateway/v1alpha2/tcprouteList.d.ts +0 -67
- package/bin/gateway/v1alpha2/tcprouteList.js +0 -65
- package/bin/gateway/v1alpha2/tcprouteList.js.map +0 -1
- package/bin/gateway/v1alpha2/tcproutePatch.d.ts +0 -71
- package/bin/gateway/v1alpha2/tcproutePatch.js +0 -72
- package/bin/gateway/v1alpha2/tcproutePatch.js.map +0 -1
- package/bin/gateway/v1alpha2/tlsroute.d.ts +0 -68
- package/bin/gateway/v1alpha2/tlsroute.js +0 -69
- package/bin/gateway/v1alpha2/tlsroute.js.map +0 -1
- package/bin/gateway/v1alpha2/tlsrouteList.d.ts +0 -67
- package/bin/gateway/v1alpha2/tlsrouteList.js +0 -65
- package/bin/gateway/v1alpha2/tlsrouteList.js.map +0 -1
- package/bin/gateway/v1alpha2/tlsroutePatch.d.ts +0 -74
- package/bin/gateway/v1alpha2/tlsroutePatch.js +0 -75
- package/bin/gateway/v1alpha2/tlsroutePatch.js.map +0 -1
- package/bin/gateway/v1alpha2/udproute.d.ts +0 -65
- package/bin/gateway/v1alpha2/udproute.js +0 -66
- package/bin/gateway/v1alpha2/udproute.js.map +0 -1
- package/bin/gateway/v1alpha2/udprouteList.d.ts +0 -67
- package/bin/gateway/v1alpha2/udprouteList.js +0 -65
- package/bin/gateway/v1alpha2/udprouteList.js.map +0 -1
- package/bin/gateway/v1alpha2/udproutePatch.d.ts +0 -71
- package/bin/gateway/v1alpha2/udproutePatch.js +0 -72
- package/bin/gateway/v1alpha2/udproutePatch.js.map +0 -1
- package/bin/gateway/v1alpha3/backendTLSPolicy.d.ts +0 -64
- package/bin/gateway/v1alpha3/backendTLSPolicy.js +0 -65
- package/bin/gateway/v1alpha3/backendTLSPolicy.js.map +0 -1
- package/bin/gateway/v1alpha3/backendTLSPolicyList.d.ts +0 -67
- package/bin/gateway/v1alpha3/backendTLSPolicyList.js +0 -65
- package/bin/gateway/v1alpha3/backendTLSPolicyList.js.map +0 -1
- package/bin/gateway/v1alpha3/backendTLSPolicyPatch.d.ts +0 -70
- package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js +0 -71
- package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js.map +0 -1
- package/bin/gateway/v1alpha3/index.d.ts +0 -9
- package/bin/gateway/v1alpha3/index.js +0 -30
- package/bin/gateway/v1alpha3/index.js.map +0 -1
- package/gateway/v1alpha2/backendLBPolicy.ts +0 -102
- package/gateway/v1alpha2/backendLBPolicyList.ts +0 -107
- package/gateway/v1alpha2/backendLBPolicyPatch.ts +0 -108
- package/gateway/v1alpha2/index.ts +0 -102
- package/gateway/v1alpha2/tcproute.ts +0 -103
- package/gateway/v1alpha2/tcprouteList.ts +0 -107
- package/gateway/v1alpha2/tcproutePatch.ts +0 -109
- package/gateway/v1alpha2/tlsroute.ts +0 -106
- package/gateway/v1alpha2/tlsrouteList.ts +0 -107
- package/gateway/v1alpha2/tlsroutePatch.ts +0 -112
- package/gateway/v1alpha2/udproute.ts +0 -103
- package/gateway/v1alpha2/udprouteList.ts +0 -107
- package/gateway/v1alpha2/udproutePatch.ts +0 -109
- package/gateway/v1alpha3/backendTLSPolicy.ts +0 -102
- package/gateway/v1alpha3/backendTLSPolicyList.ts +0 -107
- package/gateway/v1alpha3/backendTLSPolicyPatch.ts +0 -108
- package/gateway/v1alpha3/index.ts +0 -39
@@ -1,74 +0,0 @@
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
2
|
-
import * as inputs from "../../types/input";
|
3
|
-
import * as outputs from "../../types/output";
|
4
|
-
import { ObjectMetaPatch } from "../../meta/v1";
|
5
|
-
/**
|
6
|
-
* Patch resources are used to modify existing Kubernetes resources by using
|
7
|
-
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
8
|
-
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
9
|
-
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
10
|
-
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
11
|
-
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
12
|
-
* The TLSRoute resource is similar to TCPRoute, but can be configured
|
13
|
-
* to match against TLS-specific metadata. This allows more flexibility
|
14
|
-
* in matching streams for a given TLS listener.
|
15
|
-
*
|
16
|
-
* If you need to forward traffic to a single target for a TLS listener, you
|
17
|
-
* could choose to use a TCPRoute with a TLS listener.
|
18
|
-
*/
|
19
|
-
export declare class TLSRoutePatch extends pulumi.CustomResource {
|
20
|
-
/**
|
21
|
-
* Get an existing TLSRoutePatch 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
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TLSRoutePatch;
|
29
|
-
/**
|
30
|
-
* Returns true if the given object is an instance of TLSRoutePatch. This is designed to work even
|
31
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
32
|
-
*/
|
33
|
-
static isInstance(obj: any): obj is TLSRoutePatch;
|
34
|
-
/**
|
35
|
-
* 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
|
36
|
-
*/
|
37
|
-
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
|
38
|
-
/**
|
39
|
-
* 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
|
40
|
-
*/
|
41
|
-
readonly kind: pulumi.Output<"TLSRoute">;
|
42
|
-
/**
|
43
|
-
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
44
|
-
*/
|
45
|
-
readonly metadata: pulumi.Output<ObjectMetaPatch>;
|
46
|
-
readonly spec: pulumi.Output<outputs.gateway.v1alpha2.TLSRouteSpecPatch>;
|
47
|
-
readonly status: pulumi.Output<outputs.gateway.v1alpha2.TLSRouteStatusPatch>;
|
48
|
-
/**
|
49
|
-
* Create a TLSRoutePatch resource with the given unique name, arguments, and options.
|
50
|
-
*
|
51
|
-
* @param name The _unique_ name of the resource.
|
52
|
-
* @param args The arguments to use to populate this resource's properties.
|
53
|
-
* @param opts A bag of options that control this resource's behavior.
|
54
|
-
*/
|
55
|
-
constructor(name: string, args?: TLSRoutePatchArgs, opts?: pulumi.CustomResourceOptions);
|
56
|
-
}
|
57
|
-
/**
|
58
|
-
* The set of arguments for constructing a TLSRoutePatch resource.
|
59
|
-
*/
|
60
|
-
export interface TLSRoutePatchArgs {
|
61
|
-
/**
|
62
|
-
* 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
|
63
|
-
*/
|
64
|
-
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
|
65
|
-
/**
|
66
|
-
* 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
|
67
|
-
*/
|
68
|
-
kind?: pulumi.Input<"TLSRoute">;
|
69
|
-
/**
|
70
|
-
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
71
|
-
*/
|
72
|
-
metadata?: pulumi.Input<ObjectMetaPatch>;
|
73
|
-
spec?: pulumi.Input<inputs.gateway.v1alpha2.TLSRouteSpecPatch>;
|
74
|
-
}
|
@@ -1,75 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
// *** WARNING: this file was generated by crd2pulumi. ***
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
5
|
-
exports.TLSRoutePatch = void 0;
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
7
|
-
const utilities = require("../../utilities");
|
8
|
-
/**
|
9
|
-
* Patch resources are used to modify existing Kubernetes resources by using
|
10
|
-
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
11
|
-
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
12
|
-
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
13
|
-
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
14
|
-
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
15
|
-
* The TLSRoute resource is similar to TCPRoute, but can be configured
|
16
|
-
* to match against TLS-specific metadata. This allows more flexibility
|
17
|
-
* in matching streams for a given TLS listener.
|
18
|
-
*
|
19
|
-
* If you need to forward traffic to a single target for a TLS listener, you
|
20
|
-
* could choose to use a TCPRoute with a TLS listener.
|
21
|
-
*/
|
22
|
-
class TLSRoutePatch extends pulumi.CustomResource {
|
23
|
-
/**
|
24
|
-
* Get an existing TLSRoutePatch resource's state with the given name, ID, and optional extra
|
25
|
-
* properties used to qualify the lookup.
|
26
|
-
*
|
27
|
-
* @param name The _unique_ name of the resulting resource.
|
28
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
29
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
30
|
-
*/
|
31
|
-
static get(name, id, opts) {
|
32
|
-
return new TLSRoutePatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
33
|
-
}
|
34
|
-
/**
|
35
|
-
* Returns true if the given object is an instance of TLSRoutePatch. This is designed to work even
|
36
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
37
|
-
*/
|
38
|
-
static isInstance(obj) {
|
39
|
-
if (obj === undefined || obj === null) {
|
40
|
-
return false;
|
41
|
-
}
|
42
|
-
return obj['__pulumiType'] === TLSRoutePatch.__pulumiType;
|
43
|
-
}
|
44
|
-
/**
|
45
|
-
* Create a TLSRoutePatch resource with the given unique name, arguments, and options.
|
46
|
-
*
|
47
|
-
* @param name The _unique_ name of the resource.
|
48
|
-
* @param args The arguments to use to populate this resource's properties.
|
49
|
-
* @param opts A bag of options that control this resource's behavior.
|
50
|
-
*/
|
51
|
-
constructor(name, args, opts) {
|
52
|
-
let resourceInputs = {};
|
53
|
-
opts = opts || {};
|
54
|
-
if (!opts.id) {
|
55
|
-
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
|
56
|
-
resourceInputs["kind"] = "TLSRoute";
|
57
|
-
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
58
|
-
resourceInputs["spec"] = args ? args.spec : undefined;
|
59
|
-
resourceInputs["status"] = undefined /*out*/;
|
60
|
-
}
|
61
|
-
else {
|
62
|
-
resourceInputs["apiVersion"] = undefined /*out*/;
|
63
|
-
resourceInputs["kind"] = undefined /*out*/;
|
64
|
-
resourceInputs["metadata"] = undefined /*out*/;
|
65
|
-
resourceInputs["spec"] = undefined /*out*/;
|
66
|
-
resourceInputs["status"] = undefined /*out*/;
|
67
|
-
}
|
68
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
69
|
-
super(TLSRoutePatch.__pulumiType, name, resourceInputs, opts);
|
70
|
-
}
|
71
|
-
}
|
72
|
-
exports.TLSRoutePatch = TLSRoutePatch;
|
73
|
-
/** @internal */
|
74
|
-
TLSRoutePatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoutePatch';
|
75
|
-
//# sourceMappingURL=tlsroutePatch.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"tlsroutePatch.js","sourceRoot":"","sources":["../../../gateway/v1alpha2/tlsroutePatch.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;;;;;;;;;;;GAaG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,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AC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAnEL,sCAoEC;AAvDG,gBAAgB;AACO,0BAAY,GAAG,6DAA6D,CAAC"}
|
@@ -1,65 +0,0 @@
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
2
|
-
import * as inputs from "../../types/input";
|
3
|
-
import * as outputs from "../../types/output";
|
4
|
-
import { ObjectMeta } from "../../meta/v1";
|
5
|
-
/**
|
6
|
-
* UDPRoute provides a way to route UDP traffic. When combined with a Gateway
|
7
|
-
* listener, it can be used to forward traffic on the port specified by the
|
8
|
-
* listener to a set of backends specified by the UDPRoute.
|
9
|
-
*/
|
10
|
-
export declare class UDPRoute extends pulumi.CustomResource {
|
11
|
-
/**
|
12
|
-
* Get an existing UDPRoute resource's state with the given name, ID, and optional extra
|
13
|
-
* properties used to qualify the lookup.
|
14
|
-
*
|
15
|
-
* @param name The _unique_ name of the resulting resource.
|
16
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
17
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
18
|
-
*/
|
19
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): UDPRoute;
|
20
|
-
/**
|
21
|
-
* Returns true if the given object is an instance of UDPRoute. This is designed to work even
|
22
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
23
|
-
*/
|
24
|
-
static isInstance(obj: any): obj is UDPRoute;
|
25
|
-
/**
|
26
|
-
* 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
|
27
|
-
*/
|
28
|
-
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
|
29
|
-
/**
|
30
|
-
* 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
|
31
|
-
*/
|
32
|
-
readonly kind: pulumi.Output<"UDPRoute">;
|
33
|
-
/**
|
34
|
-
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
35
|
-
*/
|
36
|
-
readonly metadata: pulumi.Output<ObjectMeta>;
|
37
|
-
readonly spec: pulumi.Output<outputs.gateway.v1alpha2.UDPRouteSpec>;
|
38
|
-
readonly status: pulumi.Output<outputs.gateway.v1alpha2.UDPRouteStatus>;
|
39
|
-
/**
|
40
|
-
* Create a UDPRoute resource with the given unique name, arguments, and options.
|
41
|
-
*
|
42
|
-
* @param name The _unique_ name of the resource.
|
43
|
-
* @param args The arguments to use to populate this resource's properties.
|
44
|
-
* @param opts A bag of options that control this resource's behavior.
|
45
|
-
*/
|
46
|
-
constructor(name: string, args?: UDPRouteArgs, opts?: pulumi.CustomResourceOptions);
|
47
|
-
}
|
48
|
-
/**
|
49
|
-
* The set of arguments for constructing a UDPRoute resource.
|
50
|
-
*/
|
51
|
-
export interface UDPRouteArgs {
|
52
|
-
/**
|
53
|
-
* 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
|
54
|
-
*/
|
55
|
-
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
|
56
|
-
/**
|
57
|
-
* 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
|
58
|
-
*/
|
59
|
-
kind?: pulumi.Input<"UDPRoute">;
|
60
|
-
/**
|
61
|
-
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
62
|
-
*/
|
63
|
-
metadata?: pulumi.Input<ObjectMeta>;
|
64
|
-
spec?: pulumi.Input<inputs.gateway.v1alpha2.UDPRouteSpec>;
|
65
|
-
}
|
@@ -1,66 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
// *** WARNING: this file was generated by crd2pulumi. ***
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
5
|
-
exports.UDPRoute = void 0;
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
7
|
-
const utilities = require("../../utilities");
|
8
|
-
/**
|
9
|
-
* UDPRoute provides a way to route UDP traffic. When combined with a Gateway
|
10
|
-
* listener, it can be used to forward traffic on the port specified by the
|
11
|
-
* listener to a set of backends specified by the UDPRoute.
|
12
|
-
*/
|
13
|
-
class UDPRoute extends pulumi.CustomResource {
|
14
|
-
/**
|
15
|
-
* Get an existing UDPRoute resource's state with the given name, ID, and optional extra
|
16
|
-
* properties used to qualify the lookup.
|
17
|
-
*
|
18
|
-
* @param name The _unique_ name of the resulting resource.
|
19
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
20
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
21
|
-
*/
|
22
|
-
static get(name, id, opts) {
|
23
|
-
return new UDPRoute(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
24
|
-
}
|
25
|
-
/**
|
26
|
-
* Returns true if the given object is an instance of UDPRoute. This is designed to work even
|
27
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
28
|
-
*/
|
29
|
-
static isInstance(obj) {
|
30
|
-
if (obj === undefined || obj === null) {
|
31
|
-
return false;
|
32
|
-
}
|
33
|
-
return obj['__pulumiType'] === UDPRoute.__pulumiType;
|
34
|
-
}
|
35
|
-
/**
|
36
|
-
* Create a UDPRoute resource with the given unique name, arguments, and options.
|
37
|
-
*
|
38
|
-
* @param name The _unique_ name of the resource.
|
39
|
-
* @param args The arguments to use to populate this resource's properties.
|
40
|
-
* @param opts A bag of options that control this resource's behavior.
|
41
|
-
*/
|
42
|
-
constructor(name, args, opts) {
|
43
|
-
let resourceInputs = {};
|
44
|
-
opts = opts || {};
|
45
|
-
if (!opts.id) {
|
46
|
-
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
|
47
|
-
resourceInputs["kind"] = "UDPRoute";
|
48
|
-
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
49
|
-
resourceInputs["spec"] = args ? args.spec : undefined;
|
50
|
-
resourceInputs["status"] = undefined /*out*/;
|
51
|
-
}
|
52
|
-
else {
|
53
|
-
resourceInputs["apiVersion"] = undefined /*out*/;
|
54
|
-
resourceInputs["kind"] = undefined /*out*/;
|
55
|
-
resourceInputs["metadata"] = undefined /*out*/;
|
56
|
-
resourceInputs["spec"] = undefined /*out*/;
|
57
|
-
resourceInputs["status"] = undefined /*out*/;
|
58
|
-
}
|
59
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
60
|
-
super(UDPRoute.__pulumiType, name, resourceInputs, opts);
|
61
|
-
}
|
62
|
-
}
|
63
|
-
exports.UDPRoute = UDPRoute;
|
64
|
-
/** @internal */
|
65
|
-
UDPRoute.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoute';
|
66
|
-
//# sourceMappingURL=udproute.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"udproute.js","sourceRoot":"","sources":["../../../gateway/v1alpha2/udproute.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;;GAIG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,QAAQ,CA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IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAnEL,4BAoEC;AAvDG,gBAAgB;AACO,qBAAY,GAAG,wDAAwD,CAAC"}
|
@@ -1,67 +0,0 @@
|
|
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
|
-
/**
|
18
|
-
* Returns true if the given object is an instance of UDPRouteList. This is designed to work even
|
19
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
20
|
-
*/
|
21
|
-
static isInstance(obj: any): obj is UDPRouteList;
|
22
|
-
/**
|
23
|
-
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
24
|
-
*/
|
25
|
-
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
|
26
|
-
/**
|
27
|
-
* List of udproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
28
|
-
*/
|
29
|
-
readonly items: pulumi.Output<outputs.gateway.v1alpha2.UDPRoute[]>;
|
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<"UDPRouteList">;
|
34
|
-
/**
|
35
|
-
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
36
|
-
*/
|
37
|
-
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
38
|
-
/**
|
39
|
-
* Create a UDPRouteList resource with the given unique name, arguments, and options.
|
40
|
-
*
|
41
|
-
* @param name The _unique_ name of the resource.
|
42
|
-
* @param args The arguments to use to populate this resource's properties.
|
43
|
-
* @param opts A bag of options that control this resource's behavior.
|
44
|
-
*/
|
45
|
-
constructor(name: string, args?: UDPRouteListArgs, opts?: pulumi.CustomResourceOptions);
|
46
|
-
}
|
47
|
-
/**
|
48
|
-
* The set of arguments for constructing a UDPRouteList resource.
|
49
|
-
*/
|
50
|
-
export interface UDPRouteListArgs {
|
51
|
-
/**
|
52
|
-
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
53
|
-
*/
|
54
|
-
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
|
55
|
-
/**
|
56
|
-
* List of udproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
57
|
-
*/
|
58
|
-
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha2.UDPRoute>[]>;
|
59
|
-
/**
|
60
|
-
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
61
|
-
*/
|
62
|
-
kind?: pulumi.Input<"UDPRouteList">;
|
63
|
-
/**
|
64
|
-
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
65
|
-
*/
|
66
|
-
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
67
|
-
}
|
@@ -1,65 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
// *** WARNING: this file was generated by crd2pulumi. ***
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
5
|
-
exports.UDPRouteList = void 0;
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
7
|
-
const utilities = require("../../utilities");
|
8
|
-
/**
|
9
|
-
* UDPRouteList is a list of UDPRoute
|
10
|
-
*/
|
11
|
-
class UDPRouteList extends pulumi.CustomResource {
|
12
|
-
/**
|
13
|
-
* Get an existing UDPRouteList resource's state with the given name, ID, and optional extra
|
14
|
-
* properties used to qualify the lookup.
|
15
|
-
*
|
16
|
-
* @param name The _unique_ name of the resulting resource.
|
17
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
18
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
19
|
-
*/
|
20
|
-
static get(name, id, opts) {
|
21
|
-
return new UDPRouteList(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
22
|
-
}
|
23
|
-
/**
|
24
|
-
* Returns true if the given object is an instance of UDPRouteList. This is designed to work even
|
25
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
26
|
-
*/
|
27
|
-
static isInstance(obj) {
|
28
|
-
if (obj === undefined || obj === null) {
|
29
|
-
return false;
|
30
|
-
}
|
31
|
-
return obj['__pulumiType'] === UDPRouteList.__pulumiType;
|
32
|
-
}
|
33
|
-
/**
|
34
|
-
* Create a UDPRouteList resource with the given unique name, arguments, and options.
|
35
|
-
*
|
36
|
-
* @param name The _unique_ name of the resource.
|
37
|
-
* @param args The arguments to use to populate this resource's properties.
|
38
|
-
* @param opts A bag of options that control this resource's behavior.
|
39
|
-
*/
|
40
|
-
constructor(name, args, opts) {
|
41
|
-
let resourceInputs = {};
|
42
|
-
opts = opts || {};
|
43
|
-
if (!opts.id) {
|
44
|
-
if ((!args || args.items === undefined) && !opts.urn) {
|
45
|
-
throw new Error("Missing required property 'items'");
|
46
|
-
}
|
47
|
-
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
|
48
|
-
resourceInputs["items"] = args ? args.items : undefined;
|
49
|
-
resourceInputs["kind"] = "UDPRouteList";
|
50
|
-
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
51
|
-
}
|
52
|
-
else {
|
53
|
-
resourceInputs["apiVersion"] = undefined /*out*/;
|
54
|
-
resourceInputs["items"] = undefined /*out*/;
|
55
|
-
resourceInputs["kind"] = undefined /*out*/;
|
56
|
-
resourceInputs["metadata"] = undefined /*out*/;
|
57
|
-
}
|
58
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
59
|
-
super(UDPRouteList.__pulumiType, name, resourceInputs, opts);
|
60
|
-
}
|
61
|
-
}
|
62
|
-
exports.UDPRouteList = UDPRouteList;
|
63
|
-
/** @internal */
|
64
|
-
UDPRouteList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRouteList';
|
65
|
-
//# sourceMappingURL=udprouteList.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"udprouteList.js","sourceRoot":"","sources":["../../../gateway/v1alpha2/udprouteList.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;GAEG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,YAAY,CAAC,IAAI,EAAE,SAAgB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OAAO,CAAC;QACnD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAtEL,oCAuEC;AA1DG,gBAAgB;AACO,yBAAY,GAAG,4DAA4D,CAAC"}
|
@@ -1,71 +0,0 @@
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
2
|
-
import * as inputs from "../../types/input";
|
3
|
-
import * as outputs from "../../types/output";
|
4
|
-
import { ObjectMetaPatch } from "../../meta/v1";
|
5
|
-
/**
|
6
|
-
* Patch resources are used to modify existing Kubernetes resources by using
|
7
|
-
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
8
|
-
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
9
|
-
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
10
|
-
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
11
|
-
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
12
|
-
* UDPRoute provides a way to route UDP traffic. When combined with a Gateway
|
13
|
-
* listener, it can be used to forward traffic on the port specified by the
|
14
|
-
* listener to a set of backends specified by the UDPRoute.
|
15
|
-
*/
|
16
|
-
export declare class UDPRoutePatch extends pulumi.CustomResource {
|
17
|
-
/**
|
18
|
-
* Get an existing UDPRoutePatch resource's state with the given name, ID, and optional extra
|
19
|
-
* properties used to qualify the lookup.
|
20
|
-
*
|
21
|
-
* @param name The _unique_ name of the resulting resource.
|
22
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
23
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
24
|
-
*/
|
25
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): UDPRoutePatch;
|
26
|
-
/**
|
27
|
-
* Returns true if the given object is an instance of UDPRoutePatch. This is designed to work even
|
28
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
29
|
-
*/
|
30
|
-
static isInstance(obj: any): obj is UDPRoutePatch;
|
31
|
-
/**
|
32
|
-
* 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
|
33
|
-
*/
|
34
|
-
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
|
35
|
-
/**
|
36
|
-
* 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
|
37
|
-
*/
|
38
|
-
readonly kind: pulumi.Output<"UDPRoute">;
|
39
|
-
/**
|
40
|
-
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
41
|
-
*/
|
42
|
-
readonly metadata: pulumi.Output<ObjectMetaPatch>;
|
43
|
-
readonly spec: pulumi.Output<outputs.gateway.v1alpha2.UDPRouteSpecPatch>;
|
44
|
-
readonly status: pulumi.Output<outputs.gateway.v1alpha2.UDPRouteStatusPatch>;
|
45
|
-
/**
|
46
|
-
* Create a UDPRoutePatch resource with the given unique name, arguments, and options.
|
47
|
-
*
|
48
|
-
* @param name The _unique_ name of the resource.
|
49
|
-
* @param args The arguments to use to populate this resource's properties.
|
50
|
-
* @param opts A bag of options that control this resource's behavior.
|
51
|
-
*/
|
52
|
-
constructor(name: string, args?: UDPRoutePatchArgs, opts?: pulumi.CustomResourceOptions);
|
53
|
-
}
|
54
|
-
/**
|
55
|
-
* The set of arguments for constructing a UDPRoutePatch resource.
|
56
|
-
*/
|
57
|
-
export interface UDPRoutePatchArgs {
|
58
|
-
/**
|
59
|
-
* 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
|
60
|
-
*/
|
61
|
-
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
|
62
|
-
/**
|
63
|
-
* 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
|
64
|
-
*/
|
65
|
-
kind?: pulumi.Input<"UDPRoute">;
|
66
|
-
/**
|
67
|
-
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
68
|
-
*/
|
69
|
-
metadata?: pulumi.Input<ObjectMetaPatch>;
|
70
|
-
spec?: pulumi.Input<inputs.gateway.v1alpha2.UDPRouteSpecPatch>;
|
71
|
-
}
|
@@ -1,72 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
// *** WARNING: this file was generated by crd2pulumi. ***
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
5
|
-
exports.UDPRoutePatch = void 0;
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
7
|
-
const utilities = require("../../utilities");
|
8
|
-
/**
|
9
|
-
* Patch resources are used to modify existing Kubernetes resources by using
|
10
|
-
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
11
|
-
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
12
|
-
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
13
|
-
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
14
|
-
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
15
|
-
* UDPRoute provides a way to route UDP traffic. When combined with a Gateway
|
16
|
-
* listener, it can be used to forward traffic on the port specified by the
|
17
|
-
* listener to a set of backends specified by the UDPRoute.
|
18
|
-
*/
|
19
|
-
class UDPRoutePatch extends pulumi.CustomResource {
|
20
|
-
/**
|
21
|
-
* Get an existing UDPRoutePatch 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
|
-
static get(name, id, opts) {
|
29
|
-
return new UDPRoutePatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
30
|
-
}
|
31
|
-
/**
|
32
|
-
* Returns true if the given object is an instance of UDPRoutePatch. This is designed to work even
|
33
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
34
|
-
*/
|
35
|
-
static isInstance(obj) {
|
36
|
-
if (obj === undefined || obj === null) {
|
37
|
-
return false;
|
38
|
-
}
|
39
|
-
return obj['__pulumiType'] === UDPRoutePatch.__pulumiType;
|
40
|
-
}
|
41
|
-
/**
|
42
|
-
* Create a UDPRoutePatch resource with the given unique name, arguments, and options.
|
43
|
-
*
|
44
|
-
* @param name The _unique_ name of the resource.
|
45
|
-
* @param args The arguments to use to populate this resource's properties.
|
46
|
-
* @param opts A bag of options that control this resource's behavior.
|
47
|
-
*/
|
48
|
-
constructor(name, args, opts) {
|
49
|
-
let resourceInputs = {};
|
50
|
-
opts = opts || {};
|
51
|
-
if (!opts.id) {
|
52
|
-
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
|
53
|
-
resourceInputs["kind"] = "UDPRoute";
|
54
|
-
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
55
|
-
resourceInputs["spec"] = args ? args.spec : undefined;
|
56
|
-
resourceInputs["status"] = undefined /*out*/;
|
57
|
-
}
|
58
|
-
else {
|
59
|
-
resourceInputs["apiVersion"] = undefined /*out*/;
|
60
|
-
resourceInputs["kind"] = undefined /*out*/;
|
61
|
-
resourceInputs["metadata"] = undefined /*out*/;
|
62
|
-
resourceInputs["spec"] = undefined /*out*/;
|
63
|
-
resourceInputs["status"] = undefined /*out*/;
|
64
|
-
}
|
65
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
66
|
-
super(UDPRoutePatch.__pulumiType, name, resourceInputs, opts);
|
67
|
-
}
|
68
|
-
}
|
69
|
-
exports.UDPRoutePatch = UDPRoutePatch;
|
70
|
-
/** @internal */
|
71
|
-
UDPRoutePatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoutePatch';
|
72
|
-
//# sourceMappingURL=udproutePatch.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"udproutePatch.js","sourceRoot":"","sources":["../../../gateway/v1alpha2/udproutePatch.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;;;;;;;;GAUG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,aAAa,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACpC,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAiBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAwB,EAAE,IAAmC;QACnF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,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