@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.
Files changed (80) hide show
  1. package/CHANGELOG.md +3 -4
  2. package/bin/gateway/index.d.ts +1 -3
  3. package/bin/gateway/index.js +1 -5
  4. package/bin/gateway/index.js.map +1 -1
  5. package/bin/package.json +2 -2
  6. package/bin/types/input.d.ts +89 -5676
  7. package/bin/types/output.d.ts +191 -6999
  8. package/gateway/index.ts +0 -4
  9. package/package.json +3 -3
  10. package/tsconfig.json +0 -17
  11. package/types/input.ts +181 -5879
  12. package/types/output.ts +181 -7122
  13. package/bin/gateway/v1alpha2/backendLBPolicy.d.ts +0 -64
  14. package/bin/gateway/v1alpha2/backendLBPolicy.js +0 -65
  15. package/bin/gateway/v1alpha2/backendLBPolicy.js.map +0 -1
  16. package/bin/gateway/v1alpha2/backendLBPolicyList.d.ts +0 -67
  17. package/bin/gateway/v1alpha2/backendLBPolicyList.js +0 -65
  18. package/bin/gateway/v1alpha2/backendLBPolicyList.js.map +0 -1
  19. package/bin/gateway/v1alpha2/backendLBPolicyPatch.d.ts +0 -70
  20. package/bin/gateway/v1alpha2/backendLBPolicyPatch.js +0 -71
  21. package/bin/gateway/v1alpha2/backendLBPolicyPatch.js.map +0 -1
  22. package/bin/gateway/v1alpha2/index.d.ts +0 -36
  23. package/bin/gateway/v1alpha2/index.js +0 -66
  24. package/bin/gateway/v1alpha2/index.js.map +0 -1
  25. package/bin/gateway/v1alpha2/tcproute.d.ts +0 -65
  26. package/bin/gateway/v1alpha2/tcproute.js +0 -66
  27. package/bin/gateway/v1alpha2/tcproute.js.map +0 -1
  28. package/bin/gateway/v1alpha2/tcprouteList.d.ts +0 -67
  29. package/bin/gateway/v1alpha2/tcprouteList.js +0 -65
  30. package/bin/gateway/v1alpha2/tcprouteList.js.map +0 -1
  31. package/bin/gateway/v1alpha2/tcproutePatch.d.ts +0 -71
  32. package/bin/gateway/v1alpha2/tcproutePatch.js +0 -72
  33. package/bin/gateway/v1alpha2/tcproutePatch.js.map +0 -1
  34. package/bin/gateway/v1alpha2/tlsroute.d.ts +0 -68
  35. package/bin/gateway/v1alpha2/tlsroute.js +0 -69
  36. package/bin/gateway/v1alpha2/tlsroute.js.map +0 -1
  37. package/bin/gateway/v1alpha2/tlsrouteList.d.ts +0 -67
  38. package/bin/gateway/v1alpha2/tlsrouteList.js +0 -65
  39. package/bin/gateway/v1alpha2/tlsrouteList.js.map +0 -1
  40. package/bin/gateway/v1alpha2/tlsroutePatch.d.ts +0 -74
  41. package/bin/gateway/v1alpha2/tlsroutePatch.js +0 -75
  42. package/bin/gateway/v1alpha2/tlsroutePatch.js.map +0 -1
  43. package/bin/gateway/v1alpha2/udproute.d.ts +0 -65
  44. package/bin/gateway/v1alpha2/udproute.js +0 -66
  45. package/bin/gateway/v1alpha2/udproute.js.map +0 -1
  46. package/bin/gateway/v1alpha2/udprouteList.d.ts +0 -67
  47. package/bin/gateway/v1alpha2/udprouteList.js +0 -65
  48. package/bin/gateway/v1alpha2/udprouteList.js.map +0 -1
  49. package/bin/gateway/v1alpha2/udproutePatch.d.ts +0 -71
  50. package/bin/gateway/v1alpha2/udproutePatch.js +0 -72
  51. package/bin/gateway/v1alpha2/udproutePatch.js.map +0 -1
  52. package/bin/gateway/v1alpha3/backendTLSPolicy.d.ts +0 -64
  53. package/bin/gateway/v1alpha3/backendTLSPolicy.js +0 -65
  54. package/bin/gateway/v1alpha3/backendTLSPolicy.js.map +0 -1
  55. package/bin/gateway/v1alpha3/backendTLSPolicyList.d.ts +0 -67
  56. package/bin/gateway/v1alpha3/backendTLSPolicyList.js +0 -65
  57. package/bin/gateway/v1alpha3/backendTLSPolicyList.js.map +0 -1
  58. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.d.ts +0 -70
  59. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js +0 -71
  60. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js.map +0 -1
  61. package/bin/gateway/v1alpha3/index.d.ts +0 -9
  62. package/bin/gateway/v1alpha3/index.js +0 -30
  63. package/bin/gateway/v1alpha3/index.js.map +0 -1
  64. package/gateway/v1alpha2/backendLBPolicy.ts +0 -102
  65. package/gateway/v1alpha2/backendLBPolicyList.ts +0 -107
  66. package/gateway/v1alpha2/backendLBPolicyPatch.ts +0 -108
  67. package/gateway/v1alpha2/index.ts +0 -102
  68. package/gateway/v1alpha2/tcproute.ts +0 -103
  69. package/gateway/v1alpha2/tcprouteList.ts +0 -107
  70. package/gateway/v1alpha2/tcproutePatch.ts +0 -109
  71. package/gateway/v1alpha2/tlsroute.ts +0 -106
  72. package/gateway/v1alpha2/tlsrouteList.ts +0 -107
  73. package/gateway/v1alpha2/tlsroutePatch.ts +0 -112
  74. package/gateway/v1alpha2/udproute.ts +0 -103
  75. package/gateway/v1alpha2/udprouteList.ts +0 -107
  76. package/gateway/v1alpha2/udproutePatch.ts +0 -109
  77. package/gateway/v1alpha3/backendTLSPolicy.ts +0 -102
  78. package/gateway/v1alpha3/backendTLSPolicyList.ts +0 -107
  79. package/gateway/v1alpha3/backendTLSPolicyPatch.ts +0 -108
  80. package/gateway/v1alpha3/index.ts +0 -39
@@ -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.TCPRoute = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../../utilities");
8
- /**
9
- * TCPRoute provides a way to route TCP requests. When combined with a Gateway
10
- * listener, it can be used to forward connections on the port specified by the
11
- * listener to a set of backends specified by the TCPRoute.
12
- */
13
- class TCPRoute extends pulumi.CustomResource {
14
- /**
15
- * Get an existing TCPRoute 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 TCPRoute(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
24
- }
25
- /**
26
- * Returns true if the given object is an instance of TCPRoute. 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'] === TCPRoute.__pulumiType;
34
- }
35
- /**
36
- * Create a TCPRoute 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"] = "TCPRoute";
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(TCPRoute.__pulumiType, name, resourceInputs, opts);
61
- }
62
- }
63
- exports.TCPRoute = TCPRoute;
64
- /** @internal */
65
- TCPRoute.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoute';
66
- //# sourceMappingURL=tcproute.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tcproute.js","sourceRoot":"","sources":["../../../gateway/v1alpha2/tcproute.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,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,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,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
- * TCPRouteList is a list of TCPRoute
6
- */
7
- export declare class TCPRouteList extends pulumi.CustomResource {
8
- /**
9
- * Get an existing TCPRouteList 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): TCPRouteList;
17
- /**
18
- * Returns true if the given object is an instance of TCPRouteList. 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 TCPRouteList;
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 tcproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
28
- */
29
- readonly items: pulumi.Output<outputs.gateway.v1alpha2.TCPRoute[]>;
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<"TCPRouteList">;
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 TCPRouteList 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?: TCPRouteListArgs, opts?: pulumi.CustomResourceOptions);
46
- }
47
- /**
48
- * The set of arguments for constructing a TCPRouteList resource.
49
- */
50
- export interface TCPRouteListArgs {
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 tcproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
57
- */
58
- items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha2.TCPRoute>[]>;
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<"TCPRouteList">;
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.TCPRouteList = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../../utilities");
8
- /**
9
- * TCPRouteList is a list of TCPRoute
10
- */
11
- class TCPRouteList extends pulumi.CustomResource {
12
- /**
13
- * Get an existing TCPRouteList 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 TCPRouteList(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
- }
23
- /**
24
- * Returns true if the given object is an instance of TCPRouteList. 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'] === TCPRouteList.__pulumiType;
32
- }
33
- /**
34
- * Create a TCPRouteList 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"] = "TCPRouteList";
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(TCPRouteList.__pulumiType, name, resourceInputs, opts);
60
- }
61
- }
62
- exports.TCPRouteList = TCPRouteList;
63
- /** @internal */
64
- TCPRouteList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRouteList';
65
- //# sourceMappingURL=tcprouteList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tcprouteList.js","sourceRoot":"","sources":["../../../gateway/v1alpha2/tcprouteList.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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAmBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAuB,EAAE,IAAmC;QAClF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;YACX,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;gBACnD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;YACzD,CAAC;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,oCAAoC,CAAC;YACpE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,cAAc,CAAC;YACxC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;QAClE,CAAC;aAAM,CAAC;YACJ,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACnD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,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
- * TCPRoute provides a way to route TCP requests. When combined with a Gateway
13
- * listener, it can be used to forward connections on the port specified by the
14
- * listener to a set of backends specified by the TCPRoute.
15
- */
16
- export declare class TCPRoutePatch extends pulumi.CustomResource {
17
- /**
18
- * Get an existing TCPRoutePatch 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): TCPRoutePatch;
26
- /**
27
- * Returns true if the given object is an instance of TCPRoutePatch. 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 TCPRoutePatch;
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<"TCPRoute">;
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.TCPRouteSpecPatch>;
44
- readonly status: pulumi.Output<outputs.gateway.v1alpha2.TCPRouteStatusPatch>;
45
- /**
46
- * Create a TCPRoutePatch 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?: TCPRoutePatchArgs, opts?: pulumi.CustomResourceOptions);
53
- }
54
- /**
55
- * The set of arguments for constructing a TCPRoutePatch resource.
56
- */
57
- export interface TCPRoutePatchArgs {
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<"TCPRoute">;
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.TCPRouteSpecPatch>;
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.TCPRoutePatch = 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
- * TCPRoute provides a way to route TCP requests. When combined with a Gateway
16
- * listener, it can be used to forward connections on the port specified by the
17
- * listener to a set of backends specified by the TCPRoute.
18
- */
19
- class TCPRoutePatch extends pulumi.CustomResource {
20
- /**
21
- * Get an existing TCPRoutePatch 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 TCPRoutePatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
30
- }
31
- /**
32
- * Returns true if the given object is an instance of TCPRoutePatch. 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'] === TCPRoutePatch.__pulumiType;
40
- }
41
- /**
42
- * Create a TCPRoutePatch 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"] = "TCPRoute";
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(TCPRoutePatch.__pulumiType, name, resourceInputs, opts);
67
- }
68
- }
69
- exports.TCPRoutePatch = TCPRoutePatch;
70
- /** @internal */
71
- TCPRoutePatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoutePatch';
72
- //# sourceMappingURL=tcproutePatch.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tcproutePatch.js","sourceRoot":"","sources":["../../../gateway/v1alpha2/tcproutePatch.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,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;YACX,cAAc,CAAC,YAAY,CAAC,GAAG,oCAAoC,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;aAAM,CAAC;YACJ,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,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,68 +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
- * The TLSRoute resource is similar to TCPRoute, but can be configured
7
- * to match against TLS-specific metadata. This allows more flexibility
8
- * in matching streams for a given TLS listener.
9
- *
10
- * If you need to forward traffic to a single target for a TLS listener, you
11
- * could choose to use a TCPRoute with a TLS listener.
12
- */
13
- export declare class TLSRoute extends pulumi.CustomResource {
14
- /**
15
- * Get an existing TLSRoute 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: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TLSRoute;
23
- /**
24
- * Returns true if the given object is an instance of TLSRoute. 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: any): obj is TLSRoute;
28
- /**
29
- * 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
30
- */
31
- readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
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<"TLSRoute">;
36
- /**
37
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
38
- */
39
- readonly metadata: pulumi.Output<ObjectMeta>;
40
- readonly spec: pulumi.Output<outputs.gateway.v1alpha2.TLSRouteSpec>;
41
- readonly status: pulumi.Output<outputs.gateway.v1alpha2.TLSRouteStatus>;
42
- /**
43
- * Create a TLSRoute resource with the given unique name, arguments, and options.
44
- *
45
- * @param name The _unique_ name of the resource.
46
- * @param args The arguments to use to populate this resource's properties.
47
- * @param opts A bag of options that control this resource's behavior.
48
- */
49
- constructor(name: string, args?: TLSRouteArgs, opts?: pulumi.CustomResourceOptions);
50
- }
51
- /**
52
- * The set of arguments for constructing a TLSRoute resource.
53
- */
54
- export interface TLSRouteArgs {
55
- /**
56
- * 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
57
- */
58
- apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
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<"TLSRoute">;
63
- /**
64
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
65
- */
66
- metadata?: pulumi.Input<ObjectMeta>;
67
- spec?: pulumi.Input<inputs.gateway.v1alpha2.TLSRouteSpec>;
68
- }
@@ -1,69 +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.TLSRoute = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../../utilities");
8
- /**
9
- * The TLSRoute resource is similar to TCPRoute, but can be configured
10
- * to match against TLS-specific metadata. This allows more flexibility
11
- * in matching streams for a given TLS listener.
12
- *
13
- * If you need to forward traffic to a single target for a TLS listener, you
14
- * could choose to use a TCPRoute with a TLS listener.
15
- */
16
- class TLSRoute extends pulumi.CustomResource {
17
- /**
18
- * Get an existing TLSRoute 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, id, opts) {
26
- return new TLSRoute(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
27
- }
28
- /**
29
- * Returns true if the given object is an instance of TLSRoute. This is designed to work even
30
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
- */
32
- static isInstance(obj) {
33
- if (obj === undefined || obj === null) {
34
- return false;
35
- }
36
- return obj['__pulumiType'] === TLSRoute.__pulumiType;
37
- }
38
- /**
39
- * Create a TLSRoute 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, args, opts) {
46
- let resourceInputs = {};
47
- opts = opts || {};
48
- if (!opts.id) {
49
- resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
50
- resourceInputs["kind"] = "TLSRoute";
51
- resourceInputs["metadata"] = args ? args.metadata : undefined;
52
- resourceInputs["spec"] = args ? args.spec : undefined;
53
- resourceInputs["status"] = undefined /*out*/;
54
- }
55
- else {
56
- resourceInputs["apiVersion"] = undefined /*out*/;
57
- resourceInputs["kind"] = undefined /*out*/;
58
- resourceInputs["metadata"] = undefined /*out*/;
59
- resourceInputs["spec"] = undefined /*out*/;
60
- resourceInputs["status"] = undefined /*out*/;
61
- }
62
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
63
- super(TLSRoute.__pulumiType, name, resourceInputs, opts);
64
- }
65
- }
66
- exports.TLSRoute = TLSRoute;
67
- /** @internal */
68
- TLSRoute.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoute';
69
- //# sourceMappingURL=tlsroute.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tlsroute.js","sourceRoot":"","sources":["../../../gateway/v1alpha2/tlsroute.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;;;;;GAOG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACpC,OAAO,KAAK,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O,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
- * TLSRouteList is a list of TLSRoute
6
- */
7
- export declare class TLSRouteList extends pulumi.CustomResource {
8
- /**
9
- * Get an existing TLSRouteList 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): TLSRouteList;
17
- /**
18
- * Returns true if the given object is an instance of TLSRouteList. 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 TLSRouteList;
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 tlsroutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
28
- */
29
- readonly items: pulumi.Output<outputs.gateway.v1alpha2.TLSRoute[]>;
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<"TLSRouteList">;
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 TLSRouteList 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?: TLSRouteListArgs, opts?: pulumi.CustomResourceOptions);
46
- }
47
- /**
48
- * The set of arguments for constructing a TLSRouteList resource.
49
- */
50
- export interface TLSRouteListArgs {
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 tlsroutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
57
- */
58
- items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha2.TLSRoute>[]>;
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<"TLSRouteList">;
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.TLSRouteList = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../../utilities");
8
- /**
9
- * TLSRouteList is a list of TLSRoute
10
- */
11
- class TLSRouteList extends pulumi.CustomResource {
12
- /**
13
- * Get an existing TLSRouteList 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 TLSRouteList(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
- }
23
- /**
24
- * Returns true if the given object is an instance of TLSRouteList. 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'] === TLSRouteList.__pulumiType;
32
- }
33
- /**
34
- * Create a TLSRouteList 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"] = "TLSRouteList";
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(TLSRouteList.__pulumiType, name, resourceInputs, opts);
60
- }
61
- }
62
- exports.TLSRouteList = TLSRouteList;
63
- /** @internal */
64
- TLSRouteList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRouteList';
65
- //# sourceMappingURL=tlsrouteList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tlsrouteList.js","sourceRoot":"","sources":["../../../gateway/v1alpha2/tlsrouteList.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6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