@highstate/gateway-api 0.9.31 → 0.9.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/CHANGELOG.md +2 -14
  2. package/bin/gateway/index.d.ts +4 -1
  3. package/bin/gateway/index.js +7 -1
  4. package/bin/gateway/index.js.map +1 -1
  5. package/bin/gateway/v1alpha1/index.d.ts +18 -0
  6. package/bin/gateway/v1alpha1/index.js +42 -0
  7. package/bin/gateway/v1alpha1/index.js.map +1 -0
  8. package/bin/gateway/v1alpha1/xbackendTrafficPolicy.d.ts +63 -0
  9. package/bin/gateway/v1alpha1/xbackendTrafficPolicy.js +65 -0
  10. package/bin/gateway/v1alpha1/xbackendTrafficPolicy.js.map +1 -0
  11. package/bin/gateway/v1alpha1/xbackendTrafficPolicyList.d.ts +67 -0
  12. package/bin/gateway/v1alpha1/xbackendTrafficPolicyList.js +65 -0
  13. package/bin/gateway/v1alpha1/xbackendTrafficPolicyList.js.map +1 -0
  14. package/bin/gateway/v1alpha1/xbackendTrafficPolicyPatch.d.ts +69 -0
  15. package/bin/gateway/v1alpha1/xbackendTrafficPolicyPatch.js +71 -0
  16. package/bin/gateway/v1alpha1/xbackendTrafficPolicyPatch.js.map +1 -0
  17. package/bin/gateway/v1alpha1/xlistenerSet.d.ts +63 -0
  18. package/bin/gateway/v1alpha1/xlistenerSet.js +65 -0
  19. package/bin/gateway/v1alpha1/xlistenerSet.js.map +1 -0
  20. package/bin/gateway/v1alpha1/xlistenerSetList.d.ts +67 -0
  21. package/bin/gateway/v1alpha1/xlistenerSetList.js +65 -0
  22. package/bin/gateway/v1alpha1/xlistenerSetList.js.map +1 -0
  23. package/bin/gateway/v1alpha1/xlistenerSetPatch.d.ts +69 -0
  24. package/bin/gateway/v1alpha1/xlistenerSetPatch.js +71 -0
  25. package/bin/gateway/v1alpha1/xlistenerSetPatch.js.map +1 -0
  26. package/bin/gateway/v1alpha2/index.d.ts +27 -0
  27. package/bin/gateway/v1alpha2/index.js +54 -0
  28. package/bin/gateway/v1alpha2/index.js.map +1 -0
  29. package/bin/gateway/v1alpha2/tcproute.d.ts +64 -0
  30. package/bin/gateway/v1alpha2/tcproute.js +66 -0
  31. package/bin/gateway/v1alpha2/tcproute.js.map +1 -0
  32. package/bin/gateway/v1alpha2/tcprouteList.d.ts +67 -0
  33. package/bin/gateway/v1alpha2/tcprouteList.js +65 -0
  34. package/bin/gateway/v1alpha2/tcprouteList.js.map +1 -0
  35. package/bin/gateway/v1alpha2/tcproutePatch.d.ts +70 -0
  36. package/bin/gateway/v1alpha2/tcproutePatch.js +72 -0
  37. package/bin/gateway/v1alpha2/tcproutePatch.js.map +1 -0
  38. package/bin/gateway/v1alpha2/tlsroute.d.ts +67 -0
  39. package/bin/gateway/v1alpha2/tlsroute.js +69 -0
  40. package/bin/gateway/v1alpha2/tlsroute.js.map +1 -0
  41. package/bin/gateway/v1alpha2/tlsrouteList.d.ts +67 -0
  42. package/bin/gateway/v1alpha2/tlsrouteList.js +65 -0
  43. package/bin/gateway/v1alpha2/tlsrouteList.js.map +1 -0
  44. package/bin/gateway/v1alpha2/tlsroutePatch.d.ts +73 -0
  45. package/bin/gateway/v1alpha2/tlsroutePatch.js +75 -0
  46. package/bin/gateway/v1alpha2/tlsroutePatch.js.map +1 -0
  47. package/bin/gateway/v1alpha2/udproute.d.ts +64 -0
  48. package/bin/gateway/v1alpha2/udproute.js +66 -0
  49. package/bin/gateway/v1alpha2/udproute.js.map +1 -0
  50. package/bin/gateway/v1alpha2/udprouteList.d.ts +67 -0
  51. package/bin/gateway/v1alpha2/udprouteList.js +65 -0
  52. package/bin/gateway/v1alpha2/udprouteList.js.map +1 -0
  53. package/bin/gateway/v1alpha2/udproutePatch.d.ts +70 -0
  54. package/bin/gateway/v1alpha2/udproutePatch.js +72 -0
  55. package/bin/gateway/v1alpha2/udproutePatch.js.map +1 -0
  56. package/bin/gateway/v1alpha3/backendTLSPolicy.d.ts +63 -0
  57. package/bin/gateway/v1alpha3/backendTLSPolicy.js +65 -0
  58. package/bin/gateway/v1alpha3/backendTLSPolicy.js.map +1 -0
  59. package/bin/gateway/v1alpha3/backendTLSPolicyList.d.ts +67 -0
  60. package/bin/gateway/v1alpha3/backendTLSPolicyList.js +65 -0
  61. package/bin/gateway/v1alpha3/backendTLSPolicyList.js.map +1 -0
  62. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.d.ts +69 -0
  63. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js +71 -0
  64. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js.map +1 -0
  65. package/bin/gateway/v1alpha3/index.d.ts +9 -0
  66. package/bin/gateway/v1alpha3/index.js +30 -0
  67. package/bin/gateway/v1alpha3/index.js.map +1 -0
  68. package/bin/package.json +2 -2
  69. package/bin/types/input.d.ts +9778 -800
  70. package/bin/types/output.d.ts +11204 -846
  71. package/gateway/index.ts +6 -0
  72. package/gateway/v1alpha1/index.ts +60 -0
  73. package/gateway/v1alpha1/xbackendTrafficPolicy.ts +100 -0
  74. package/gateway/v1alpha1/xbackendTrafficPolicyList.ts +105 -0
  75. package/gateway/v1alpha1/xbackendTrafficPolicyPatch.ts +106 -0
  76. package/gateway/v1alpha1/xlistenerSet.ts +100 -0
  77. package/gateway/v1alpha1/xlistenerSetList.ts +105 -0
  78. package/gateway/v1alpha1/xlistenerSetPatch.ts +106 -0
  79. package/gateway/v1alpha2/index.ts +81 -0
  80. package/gateway/v1alpha2/tcproute.ts +101 -0
  81. package/gateway/v1alpha2/tcprouteList.ts +105 -0
  82. package/gateway/v1alpha2/tcproutePatch.ts +107 -0
  83. package/gateway/v1alpha2/tlsroute.ts +104 -0
  84. package/gateway/v1alpha2/tlsrouteList.ts +105 -0
  85. package/gateway/v1alpha2/tlsroutePatch.ts +110 -0
  86. package/gateway/v1alpha2/udproute.ts +101 -0
  87. package/gateway/v1alpha2/udprouteList.ts +105 -0
  88. package/gateway/v1alpha2/udproutePatch.ts +107 -0
  89. package/gateway/v1alpha3/backendTLSPolicy.ts +100 -0
  90. package/gateway/v1alpha3/backendTLSPolicyList.ts +105 -0
  91. package/gateway/v1alpha3/backendTLSPolicyPatch.ts +106 -0
  92. package/gateway/v1alpha3/index.ts +39 -0
  93. package/package.json +3 -3
  94. package/tsconfig.json +21 -0
  95. package/types/input.ts +10078 -944
  96. package/types/output.ts +11514 -973
package/CHANGELOG.md CHANGED
@@ -1,20 +1,8 @@
1
- # v0.9.24 (Sun Sep 21 2025)
1
+ # v0.9.32 (Mon Oct 06 2025)
2
2
 
3
3
  #### ⚠️ Pushed to `main`
4
4
 
5
- - update pulumi ([@Exeteres](https://github.com/Exeteres))
6
-
7
- #### Authors: 1
8
-
9
- - Fedor Chubukov ([@Exeteres](https://github.com/Exeteres))
10
-
11
- ---
12
-
13
- # v0.9.20 (Sun Sep 21 2025)
14
-
15
- #### ⚠️ Pushed to `main`
16
-
17
- - fixes ([@Exeteres](https://github.com/Exeteres))
5
+ - Как они по-русски любят говорить... 'Ой, я должна была предположить, что кто-то сможет убежать через вентиляцию, используя выброшенные зеркала как ступеньки.' ([@Exeteres](https://github.com/Exeteres))
18
6
 
19
7
  #### Authors: 1
20
8
 
@@ -1,3 +1,6 @@
1
1
  import * as v1 from "./v1";
2
+ import * as v1alpha1 from "./v1alpha1";
3
+ import * as v1alpha2 from "./v1alpha2";
4
+ import * as v1alpha3 from "./v1alpha3";
2
5
  import * as v1beta1 from "./v1beta1";
3
- export { v1, v1beta1, };
6
+ export { v1, v1alpha1, v1alpha2, v1alpha3, v1beta1, };
@@ -2,10 +2,16 @@
2
2
  // *** WARNING: this file was generated by crd2pulumi. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.v1beta1 = exports.v1 = void 0;
5
+ exports.v1beta1 = exports.v1alpha3 = exports.v1alpha2 = exports.v1alpha1 = exports.v1 = void 0;
6
6
  // Export sub-modules:
7
7
  const v1 = require("./v1");
8
8
  exports.v1 = v1;
9
+ const v1alpha1 = require("./v1alpha1");
10
+ exports.v1alpha1 = v1alpha1;
11
+ const v1alpha2 = require("./v1alpha2");
12
+ exports.v1alpha2 = v1alpha2;
13
+ const v1alpha3 = require("./v1alpha3");
14
+ exports.v1alpha3 = v1alpha3;
9
15
  const v1beta1 = require("./v1beta1");
10
16
  exports.v1beta1 = v1beta1;
11
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../gateway/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAIjF,sBAAsB;AACtB,2BAA2B;AAIvB,gBAAE;AAHN,qCAAqC;AAIjC,0BAAO"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../gateway/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAIjF,sBAAsB;AACtB,2BAA2B;AAOvB,gBAAE;AANN,uCAAuC;AAOnC,4BAAQ;AANZ,uCAAuC;AAOnC,4BAAQ;AANZ,uCAAuC;AAOnC,4BAAQ;AANZ,qCAAqC;AAOjC,0BAAO"}
@@ -0,0 +1,18 @@
1
+ export { XBackendTrafficPolicyArgs } from "./xbackendTrafficPolicy";
2
+ export type XBackendTrafficPolicy = import("./xbackendTrafficPolicy").XBackendTrafficPolicy;
3
+ export declare const XBackendTrafficPolicy: typeof import("./xbackendTrafficPolicy").XBackendTrafficPolicy;
4
+ export { XBackendTrafficPolicyListArgs } from "./xbackendTrafficPolicyList";
5
+ export type XBackendTrafficPolicyList = import("./xbackendTrafficPolicyList").XBackendTrafficPolicyList;
6
+ export declare const XBackendTrafficPolicyList: typeof import("./xbackendTrafficPolicyList").XBackendTrafficPolicyList;
7
+ export { XBackendTrafficPolicyPatchArgs } from "./xbackendTrafficPolicyPatch";
8
+ export type XBackendTrafficPolicyPatch = import("./xbackendTrafficPolicyPatch").XBackendTrafficPolicyPatch;
9
+ export declare const XBackendTrafficPolicyPatch: typeof import("./xbackendTrafficPolicyPatch").XBackendTrafficPolicyPatch;
10
+ export { XListenerSetArgs } from "./xlistenerSet";
11
+ export type XListenerSet = import("./xlistenerSet").XListenerSet;
12
+ export declare const XListenerSet: typeof import("./xlistenerSet").XListenerSet;
13
+ export { XListenerSetListArgs } from "./xlistenerSetList";
14
+ export type XListenerSetList = import("./xlistenerSetList").XListenerSetList;
15
+ export declare const XListenerSetList: typeof import("./xlistenerSetList").XListenerSetList;
16
+ export { XListenerSetPatchArgs } from "./xlistenerSetPatch";
17
+ export type XListenerSetPatch = import("./xlistenerSetPatch").XListenerSetPatch;
18
+ export declare const XListenerSetPatch: typeof import("./xlistenerSetPatch").XListenerSetPatch;
@@ -0,0 +1,42 @@
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.XListenerSetPatch = exports.XListenerSetList = exports.XListenerSet = exports.XBackendTrafficPolicyPatch = exports.XBackendTrafficPolicyList = exports.XBackendTrafficPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ exports.XBackendTrafficPolicy = null;
9
+ utilities.lazyLoad(exports, ["XBackendTrafficPolicy"], () => require("./xbackendTrafficPolicy"));
10
+ exports.XBackendTrafficPolicyList = null;
11
+ utilities.lazyLoad(exports, ["XBackendTrafficPolicyList"], () => require("./xbackendTrafficPolicyList"));
12
+ exports.XBackendTrafficPolicyPatch = null;
13
+ utilities.lazyLoad(exports, ["XBackendTrafficPolicyPatch"], () => require("./xbackendTrafficPolicyPatch"));
14
+ exports.XListenerSet = null;
15
+ utilities.lazyLoad(exports, ["XListenerSet"], () => require("./xlistenerSet"));
16
+ exports.XListenerSetList = null;
17
+ utilities.lazyLoad(exports, ["XListenerSetList"], () => require("./xlistenerSetList"));
18
+ exports.XListenerSetPatch = null;
19
+ utilities.lazyLoad(exports, ["XListenerSetPatch"], () => require("./xlistenerSetPatch"));
20
+ const _module = {
21
+ version: utilities.getVersion(),
22
+ construct: (name, type, urn) => {
23
+ switch (type) {
24
+ case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicy":
25
+ return new exports.XBackendTrafficPolicy(name, undefined, { urn });
26
+ case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyList":
27
+ return new exports.XBackendTrafficPolicyList(name, undefined, { urn });
28
+ case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyPatch":
29
+ return new exports.XBackendTrafficPolicyPatch(name, undefined, { urn });
30
+ case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSet":
31
+ return new exports.XListenerSet(name, undefined, { urn });
32
+ case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetList":
33
+ return new exports.XListenerSetList(name, undefined, { urn });
34
+ case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetPatch":
35
+ return new exports.XListenerSetPatch(name, undefined, { urn });
36
+ default:
37
+ throw new Error(`unknown resource type ${type}`);
38
+ }
39
+ },
40
+ };
41
+ pulumi.runtime.registerResourceModule("crds", "gateway.networking.x-k8s.io/v1alpha1", _module);
42
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../gateway/v1alpha1/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AACzC,6CAA6C;AAKhC,QAAA,qBAAqB,GAAmE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAIpF,QAAA,yBAAyB,GAA2E,IAAW,CAAC;AAC7H,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,2BAA2B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,6BAA6B,CAAC,CAAC,CAAC;AAI5F,QAAA,0BAA0B,GAA6E,IAAW,CAAC;AAChI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,4BAA4B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,8BAA8B,CAAC,CAAC,CAAC;AAI9F,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIlE,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAI1E,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAGzF,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE,CAAC;YACX,KAAK,uEAAuE;gBACxE,OAAO,IAAI,6BAAqB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnE,KAAK,2EAA2E;gBAC5E,OAAO,IAAI,iCAAyB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvE,KAAK,4EAA4E;gBAC7E,OAAO,IAAI,kCAA0B,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxE,KAAK,8DAA8D;gBAC/D,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,kEAAkE;gBACnE,OAAO,IAAI,wBAAgB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC9D,KAAK,mEAAmE;gBACpE,OAAO,IAAI,yBAAiB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC/D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;QACzD,CAAC;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,MAAM,EAAE,sCAAsC,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,63 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * XBackendTrafficPolicy defines the configuration for how traffic to a
6
+ * target backend should be handled.
7
+ */
8
+ export declare class XBackendTrafficPolicy extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing XBackendTrafficPolicy resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): XBackendTrafficPolicy;
18
+ /**
19
+ * Returns true if the given object is an instance of XBackendTrafficPolicy. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is XBackendTrafficPolicy;
23
+ /**
24
+ * 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
25
+ */
26
+ readonly apiVersion: pulumi.Output<"gateway.networking.x-k8s.io/v1alpha1">;
27
+ /**
28
+ * 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
29
+ */
30
+ readonly kind: pulumi.Output<"XBackendTrafficPolicy">;
31
+ /**
32
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
33
+ */
34
+ readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
35
+ readonly spec: pulumi.Output<outputs.gateway.v1alpha1.XBackendTrafficPolicySpec>;
36
+ readonly status: pulumi.Output<outputs.gateway.v1alpha1.XBackendTrafficPolicyStatus>;
37
+ /**
38
+ * Create a XBackendTrafficPolicy resource with the given unique name, arguments, and options.
39
+ *
40
+ * @param name The _unique_ name of the resource.
41
+ * @param args The arguments to use to populate this resource's properties.
42
+ * @param opts A bag of options that control this resource's behavior.
43
+ */
44
+ constructor(name: string, args?: XBackendTrafficPolicyArgs, opts?: pulumi.CustomResourceOptions);
45
+ }
46
+ /**
47
+ * The set of arguments for constructing a XBackendTrafficPolicy resource.
48
+ */
49
+ export interface XBackendTrafficPolicyArgs {
50
+ /**
51
+ * 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
52
+ */
53
+ apiVersion?: pulumi.Input<"gateway.networking.x-k8s.io/v1alpha1">;
54
+ /**
55
+ * 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
56
+ */
57
+ kind?: pulumi.Input<"XBackendTrafficPolicy">;
58
+ /**
59
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
60
+ */
61
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
62
+ spec?: pulumi.Input<inputs.gateway.v1alpha1.XBackendTrafficPolicySpec>;
63
+ }
@@ -0,0 +1,65 @@
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.XBackendTrafficPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * XBackendTrafficPolicy defines the configuration for how traffic to a
10
+ * target backend should be handled.
11
+ */
12
+ class XBackendTrafficPolicy extends pulumi.CustomResource {
13
+ /**
14
+ * Get an existing XBackendTrafficPolicy resource's state with the given name, ID, and optional extra
15
+ * properties used to qualify the lookup.
16
+ *
17
+ * @param name The _unique_ name of the resulting resource.
18
+ * @param id The _unique_ provider ID of the resource to lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ static get(name, id, opts) {
22
+ return new XBackendTrafficPolicy(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
23
+ }
24
+ /**
25
+ * Returns true if the given object is an instance of XBackendTrafficPolicy. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj) {
29
+ if (obj === undefined || obj === null) {
30
+ return false;
31
+ }
32
+ return obj['__pulumiType'] === XBackendTrafficPolicy.__pulumiType;
33
+ }
34
+ /**
35
+ * Create a XBackendTrafficPolicy resource with the given unique name, arguments, and options.
36
+ *
37
+ * @param name The _unique_ name of the resource.
38
+ * @param args The arguments to use to populate this resource's properties.
39
+ * @param opts A bag of options that control this resource's behavior.
40
+ */
41
+ constructor(name, args, opts) {
42
+ let resourceInputs = {};
43
+ opts = opts || {};
44
+ if (!opts.id) {
45
+ resourceInputs["apiVersion"] = "gateway.networking.x-k8s.io/v1alpha1";
46
+ resourceInputs["kind"] = "XBackendTrafficPolicy";
47
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
48
+ resourceInputs["spec"] = args ? args.spec : undefined;
49
+ resourceInputs["status"] = undefined /*out*/;
50
+ }
51
+ else {
52
+ resourceInputs["apiVersion"] = undefined /*out*/;
53
+ resourceInputs["kind"] = undefined /*out*/;
54
+ resourceInputs["metadata"] = undefined /*out*/;
55
+ resourceInputs["spec"] = undefined /*out*/;
56
+ resourceInputs["status"] = undefined /*out*/;
57
+ }
58
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
59
+ super(XBackendTrafficPolicy.__pulumiType, name, resourceInputs, opts);
60
+ }
61
+ }
62
+ exports.XBackendTrafficPolicy = XBackendTrafficPolicy;
63
+ /** @internal */
64
+ XBackendTrafficPolicy.__pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicy';
65
+ //# sourceMappingURL=xbackendTrafficPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xbackendTrafficPolicy.js","sourceRoot":"","sources":["../../../gateway/v1alpha1/xbackendTrafficPolicy.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAE7C;;;GAGG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClF,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IAiBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAgC,EAAE,IAAmC;QAC3F,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,sCAAsC,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,uBAAuB,CAAC;YACjD,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,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAnEL,sDAoEC;AAvDG,gBAAgB;AACO,kCAAY,GAAG,uEAAuE,CAAC"}
@@ -0,0 +1,67 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * XBackendTrafficPolicyList is a list of XBackendTrafficPolicy
6
+ */
7
+ export declare class XBackendTrafficPolicyList extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing XBackendTrafficPolicyList 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): XBackendTrafficPolicyList;
17
+ /**
18
+ * Returns true if the given object is an instance of XBackendTrafficPolicyList. 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 XBackendTrafficPolicyList;
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.x-k8s.io/v1alpha1">;
26
+ /**
27
+ * List of xbackendtrafficpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
28
+ */
29
+ readonly items: pulumi.Output<outputs.gateway.v1alpha1.XBackendTrafficPolicy[]>;
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<"XBackendTrafficPolicyList">;
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 XBackendTrafficPolicyList 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?: XBackendTrafficPolicyListArgs, opts?: pulumi.CustomResourceOptions);
46
+ }
47
+ /**
48
+ * The set of arguments for constructing a XBackendTrafficPolicyList resource.
49
+ */
50
+ export interface XBackendTrafficPolicyListArgs {
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.x-k8s.io/v1alpha1">;
55
+ /**
56
+ * List of xbackendtrafficpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
57
+ */
58
+ items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha1.XBackendTrafficPolicy>[]>;
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<"XBackendTrafficPolicyList">;
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
+ }
@@ -0,0 +1,65 @@
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.XBackendTrafficPolicyList = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../../utilities");
8
+ /**
9
+ * XBackendTrafficPolicyList is a list of XBackendTrafficPolicy
10
+ */
11
+ class XBackendTrafficPolicyList extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing XBackendTrafficPolicyList 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 XBackendTrafficPolicyList(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of XBackendTrafficPolicyList. 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'] === XBackendTrafficPolicyList.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a XBackendTrafficPolicyList 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.x-k8s.io/v1alpha1";
48
+ resourceInputs["items"] = args ? args.items : undefined;
49
+ resourceInputs["kind"] = "XBackendTrafficPolicyList";
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(XBackendTrafficPolicyList.__pulumiType, name, resourceInputs, opts);
60
+ }
61
+ }
62
+ exports.XBackendTrafficPolicyList = XBackendTrafficPolicyList;
63
+ /** @internal */
64
+ XBackendTrafficPolicyList.__pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyList';
65
+ //# sourceMappingURL=xbackendTrafficPolicyList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xbackendTrafficPolicyList.js","sourceRoot":"","sources":["../../../gateway/v1alpha1/xbackendTrafficPolicyList.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAE7C;;GAEG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IAmBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAoC,EAAE,IAAmC;QAC/F,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,sCAAsC,CAAC;YACtE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,2BAA2B,CAAC;YACrD,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,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAtEL,8DAuEC;AA1DG,gBAAgB;AACO,sCAAY,GAAG,2EAA2E,CAAC"}
@@ -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
+ * 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
+ * XBackendTrafficPolicy defines the configuration for how traffic to a
12
+ * target backend should be handled.
13
+ */
14
+ export declare class XBackendTrafficPolicyPatch extends pulumi.CustomResource {
15
+ /**
16
+ * Get an existing XBackendTrafficPolicyPatch resource's state with the given name, ID, and optional extra
17
+ * properties used to qualify the lookup.
18
+ *
19
+ * @param name The _unique_ name of the resulting resource.
20
+ * @param id The _unique_ provider ID of the resource to lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): XBackendTrafficPolicyPatch;
24
+ /**
25
+ * Returns true if the given object is an instance of XBackendTrafficPolicyPatch. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj: any): obj is XBackendTrafficPolicyPatch;
29
+ /**
30
+ * 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
31
+ */
32
+ readonly apiVersion: pulumi.Output<"gateway.networking.x-k8s.io/v1alpha1">;
33
+ /**
34
+ * 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
35
+ */
36
+ readonly kind: pulumi.Output<"XBackendTrafficPolicy">;
37
+ /**
38
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
39
+ */
40
+ readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
41
+ readonly spec: pulumi.Output<outputs.gateway.v1alpha1.XBackendTrafficPolicySpecPatch>;
42
+ readonly status: pulumi.Output<outputs.gateway.v1alpha1.XBackendTrafficPolicyStatusPatch>;
43
+ /**
44
+ * Create a XBackendTrafficPolicyPatch resource with the given unique name, arguments, and options.
45
+ *
46
+ * @param name The _unique_ name of the resource.
47
+ * @param args The arguments to use to populate this resource's properties.
48
+ * @param opts A bag of options that control this resource's behavior.
49
+ */
50
+ constructor(name: string, args?: XBackendTrafficPolicyPatchArgs, opts?: pulumi.CustomResourceOptions);
51
+ }
52
+ /**
53
+ * The set of arguments for constructing a XBackendTrafficPolicyPatch resource.
54
+ */
55
+ export interface XBackendTrafficPolicyPatchArgs {
56
+ /**
57
+ * 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
58
+ */
59
+ apiVersion?: pulumi.Input<"gateway.networking.x-k8s.io/v1alpha1">;
60
+ /**
61
+ * 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
62
+ */
63
+ kind?: pulumi.Input<"XBackendTrafficPolicy">;
64
+ /**
65
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
66
+ */
67
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
68
+ spec?: pulumi.Input<inputs.gateway.v1alpha1.XBackendTrafficPolicySpecPatch>;
69
+ }
@@ -0,0 +1,71 @@
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.XBackendTrafficPolicyPatch = 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
+ * XBackendTrafficPolicy defines the configuration for how traffic to a
16
+ * target backend should be handled.
17
+ */
18
+ class XBackendTrafficPolicyPatch extends pulumi.CustomResource {
19
+ /**
20
+ * Get an existing XBackendTrafficPolicyPatch resource's state with the given name, ID, and optional extra
21
+ * properties used to qualify the lookup.
22
+ *
23
+ * @param name The _unique_ name of the resulting resource.
24
+ * @param id The _unique_ provider ID of the resource to lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name, id, opts) {
28
+ return new XBackendTrafficPolicyPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
29
+ }
30
+ /**
31
+ * Returns true if the given object is an instance of XBackendTrafficPolicyPatch. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ static isInstance(obj) {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === XBackendTrafficPolicyPatch.__pulumiType;
39
+ }
40
+ /**
41
+ * Create a XBackendTrafficPolicyPatch 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, args, opts) {
48
+ let resourceInputs = {};
49
+ opts = opts || {};
50
+ if (!opts.id) {
51
+ resourceInputs["apiVersion"] = "gateway.networking.x-k8s.io/v1alpha1";
52
+ resourceInputs["kind"] = "XBackendTrafficPolicy";
53
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
54
+ resourceInputs["spec"] = args ? args.spec : undefined;
55
+ resourceInputs["status"] = undefined /*out*/;
56
+ }
57
+ else {
58
+ resourceInputs["apiVersion"] = undefined /*out*/;
59
+ resourceInputs["kind"] = undefined /*out*/;
60
+ resourceInputs["metadata"] = undefined /*out*/;
61
+ resourceInputs["spec"] = undefined /*out*/;
62
+ resourceInputs["status"] = undefined /*out*/;
63
+ }
64
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
65
+ super(XBackendTrafficPolicyPatch.__pulumiType, name, resourceInputs, opts);
66
+ }
67
+ }
68
+ exports.XBackendTrafficPolicyPatch = XBackendTrafficPolicyPatch;
69
+ /** @internal */
70
+ XBackendTrafficPolicyPatch.__pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyPatch';
71
+ //# sourceMappingURL=xbackendTrafficPolicyPatch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xbackendTrafficPolicyPatch.js","sourceRoot":"","sources":["../../../gateway/v1alpha1/xbackendTrafficPolicyPatch.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAE7C;;;;;;;;;GASG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvF,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,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;IAiBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAqC,EAAE,IAAmC;QAChG,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,sCAAsC,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,uBAAuB,CAAC;YACjD,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,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAnEL,gEAoEC;AAvDG,gBAAgB;AACO,uCAAY,GAAG,4EAA4E,CAAC"}
@@ -0,0 +1,63 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * XListenerSet defines a set of additional listeners
6
+ * to attach to an existing Gateway.
7
+ */
8
+ export declare class XListenerSet extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing XListenerSet resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): XListenerSet;
18
+ /**
19
+ * Returns true if the given object is an instance of XListenerSet. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is XListenerSet;
23
+ /**
24
+ * 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
25
+ */
26
+ readonly apiVersion: pulumi.Output<"gateway.networking.x-k8s.io/v1alpha1">;
27
+ /**
28
+ * 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
29
+ */
30
+ readonly kind: pulumi.Output<"XListenerSet">;
31
+ /**
32
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
33
+ */
34
+ readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
35
+ readonly spec: pulumi.Output<outputs.gateway.v1alpha1.XListenerSetSpec>;
36
+ readonly status: pulumi.Output<outputs.gateway.v1alpha1.XListenerSetStatus>;
37
+ /**
38
+ * Create a XListenerSet resource with the given unique name, arguments, and options.
39
+ *
40
+ * @param name The _unique_ name of the resource.
41
+ * @param args The arguments to use to populate this resource's properties.
42
+ * @param opts A bag of options that control this resource's behavior.
43
+ */
44
+ constructor(name: string, args?: XListenerSetArgs, opts?: pulumi.CustomResourceOptions);
45
+ }
46
+ /**
47
+ * The set of arguments for constructing a XListenerSet resource.
48
+ */
49
+ export interface XListenerSetArgs {
50
+ /**
51
+ * 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
52
+ */
53
+ apiVersion?: pulumi.Input<"gateway.networking.x-k8s.io/v1alpha1">;
54
+ /**
55
+ * 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
56
+ */
57
+ kind?: pulumi.Input<"XListenerSet">;
58
+ /**
59
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
60
+ */
61
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
62
+ spec?: pulumi.Input<inputs.gateway.v1alpha1.XListenerSetSpec>;
63
+ }