@highstate/gateway-api 0.9.30 → 0.9.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/CHANGELOG.md +2 -14
  2. package/bin/gateway/index.d.ts +4 -1
  3. package/bin/gateway/index.js +7 -1
  4. package/bin/gateway/index.js.map +1 -1
  5. package/bin/gateway/v1alpha1/index.d.ts +18 -0
  6. package/bin/gateway/v1alpha1/index.js +42 -0
  7. package/bin/gateway/v1alpha1/index.js.map +1 -0
  8. package/bin/gateway/v1alpha1/xbackendTrafficPolicy.d.ts +63 -0
  9. package/bin/gateway/v1alpha1/xbackendTrafficPolicy.js +65 -0
  10. package/bin/gateway/v1alpha1/xbackendTrafficPolicy.js.map +1 -0
  11. package/bin/gateway/v1alpha1/xbackendTrafficPolicyList.d.ts +67 -0
  12. package/bin/gateway/v1alpha1/xbackendTrafficPolicyList.js +65 -0
  13. package/bin/gateway/v1alpha1/xbackendTrafficPolicyList.js.map +1 -0
  14. package/bin/gateway/v1alpha1/xbackendTrafficPolicyPatch.d.ts +69 -0
  15. package/bin/gateway/v1alpha1/xbackendTrafficPolicyPatch.js +71 -0
  16. package/bin/gateway/v1alpha1/xbackendTrafficPolicyPatch.js.map +1 -0
  17. package/bin/gateway/v1alpha1/xlistenerSet.d.ts +63 -0
  18. package/bin/gateway/v1alpha1/xlistenerSet.js +65 -0
  19. package/bin/gateway/v1alpha1/xlistenerSet.js.map +1 -0
  20. package/bin/gateway/v1alpha1/xlistenerSetList.d.ts +67 -0
  21. package/bin/gateway/v1alpha1/xlistenerSetList.js +65 -0
  22. package/bin/gateway/v1alpha1/xlistenerSetList.js.map +1 -0
  23. package/bin/gateway/v1alpha1/xlistenerSetPatch.d.ts +69 -0
  24. package/bin/gateway/v1alpha1/xlistenerSetPatch.js +71 -0
  25. package/bin/gateway/v1alpha1/xlistenerSetPatch.js.map +1 -0
  26. package/bin/gateway/v1alpha2/index.d.ts +27 -0
  27. package/bin/gateway/v1alpha2/index.js +54 -0
  28. package/bin/gateway/v1alpha2/index.js.map +1 -0
  29. package/bin/gateway/v1alpha2/tcproute.d.ts +64 -0
  30. package/bin/gateway/v1alpha2/tcproute.js +66 -0
  31. package/bin/gateway/v1alpha2/tcproute.js.map +1 -0
  32. package/bin/gateway/v1alpha2/tcprouteList.d.ts +67 -0
  33. package/bin/gateway/v1alpha2/tcprouteList.js +65 -0
  34. package/bin/gateway/v1alpha2/tcprouteList.js.map +1 -0
  35. package/bin/gateway/v1alpha2/tcproutePatch.d.ts +70 -0
  36. package/bin/gateway/v1alpha2/tcproutePatch.js +72 -0
  37. package/bin/gateway/v1alpha2/tcproutePatch.js.map +1 -0
  38. package/bin/gateway/v1alpha2/tlsroute.d.ts +67 -0
  39. package/bin/gateway/v1alpha2/tlsroute.js +69 -0
  40. package/bin/gateway/v1alpha2/tlsroute.js.map +1 -0
  41. package/bin/gateway/v1alpha2/tlsrouteList.d.ts +67 -0
  42. package/bin/gateway/v1alpha2/tlsrouteList.js +65 -0
  43. package/bin/gateway/v1alpha2/tlsrouteList.js.map +1 -0
  44. package/bin/gateway/v1alpha2/tlsroutePatch.d.ts +73 -0
  45. package/bin/gateway/v1alpha2/tlsroutePatch.js +75 -0
  46. package/bin/gateway/v1alpha2/tlsroutePatch.js.map +1 -0
  47. package/bin/gateway/v1alpha2/udproute.d.ts +64 -0
  48. package/bin/gateway/v1alpha2/udproute.js +66 -0
  49. package/bin/gateway/v1alpha2/udproute.js.map +1 -0
  50. package/bin/gateway/v1alpha2/udprouteList.d.ts +67 -0
  51. package/bin/gateway/v1alpha2/udprouteList.js +65 -0
  52. package/bin/gateway/v1alpha2/udprouteList.js.map +1 -0
  53. package/bin/gateway/v1alpha2/udproutePatch.d.ts +70 -0
  54. package/bin/gateway/v1alpha2/udproutePatch.js +72 -0
  55. package/bin/gateway/v1alpha2/udproutePatch.js.map +1 -0
  56. package/bin/gateway/v1alpha3/backendTLSPolicy.d.ts +63 -0
  57. package/bin/gateway/v1alpha3/backendTLSPolicy.js +65 -0
  58. package/bin/gateway/v1alpha3/backendTLSPolicy.js.map +1 -0
  59. package/bin/gateway/v1alpha3/backendTLSPolicyList.d.ts +67 -0
  60. package/bin/gateway/v1alpha3/backendTLSPolicyList.js +65 -0
  61. package/bin/gateway/v1alpha3/backendTLSPolicyList.js.map +1 -0
  62. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.d.ts +69 -0
  63. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js +71 -0
  64. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js.map +1 -0
  65. package/bin/gateway/v1alpha3/index.d.ts +9 -0
  66. package/bin/gateway/v1alpha3/index.js +30 -0
  67. package/bin/gateway/v1alpha3/index.js.map +1 -0
  68. package/bin/package.json +2 -2
  69. package/bin/types/input.d.ts +9778 -800
  70. package/bin/types/output.d.ts +11204 -846
  71. package/gateway/index.ts +6 -0
  72. package/gateway/v1alpha1/index.ts +60 -0
  73. package/gateway/v1alpha1/xbackendTrafficPolicy.ts +100 -0
  74. package/gateway/v1alpha1/xbackendTrafficPolicyList.ts +105 -0
  75. package/gateway/v1alpha1/xbackendTrafficPolicyPatch.ts +106 -0
  76. package/gateway/v1alpha1/xlistenerSet.ts +100 -0
  77. package/gateway/v1alpha1/xlistenerSetList.ts +105 -0
  78. package/gateway/v1alpha1/xlistenerSetPatch.ts +106 -0
  79. package/gateway/v1alpha2/index.ts +81 -0
  80. package/gateway/v1alpha2/tcproute.ts +101 -0
  81. package/gateway/v1alpha2/tcprouteList.ts +105 -0
  82. package/gateway/v1alpha2/tcproutePatch.ts +107 -0
  83. package/gateway/v1alpha2/tlsroute.ts +104 -0
  84. package/gateway/v1alpha2/tlsrouteList.ts +105 -0
  85. package/gateway/v1alpha2/tlsroutePatch.ts +110 -0
  86. package/gateway/v1alpha2/udproute.ts +101 -0
  87. package/gateway/v1alpha2/udprouteList.ts +105 -0
  88. package/gateway/v1alpha2/udproutePatch.ts +107 -0
  89. package/gateway/v1alpha3/backendTLSPolicy.ts +100 -0
  90. package/gateway/v1alpha3/backendTLSPolicyList.ts +105 -0
  91. package/gateway/v1alpha3/backendTLSPolicyPatch.ts +106 -0
  92. package/gateway/v1alpha3/index.ts +39 -0
  93. package/package.json +3 -3
  94. package/tsconfig.json +21 -0
  95. package/types/input.ts +10078 -944
  96. package/types/output.ts +11514 -973
package/gateway/index.ts CHANGED
@@ -5,9 +5,15 @@ import * as utilities from "../utilities";
5
5
 
6
6
  // Export sub-modules:
7
7
  import * as v1 from "./v1";
8
+ import * as v1alpha1 from "./v1alpha1";
9
+ import * as v1alpha2 from "./v1alpha2";
10
+ import * as v1alpha3 from "./v1alpha3";
8
11
  import * as v1beta1 from "./v1beta1";
9
12
 
10
13
  export {
11
14
  v1,
15
+ v1alpha1,
16
+ v1alpha2,
17
+ v1alpha3,
12
18
  v1beta1,
13
19
  };
@@ -0,0 +1,60 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as utilities from "../../utilities";
6
+
7
+ // Export members:
8
+ export { XBackendTrafficPolicyArgs } from "./xbackendTrafficPolicy";
9
+ export type XBackendTrafficPolicy = import("./xbackendTrafficPolicy").XBackendTrafficPolicy;
10
+ export const XBackendTrafficPolicy: typeof import("./xbackendTrafficPolicy").XBackendTrafficPolicy = null as any;
11
+ utilities.lazyLoad(exports, ["XBackendTrafficPolicy"], () => require("./xbackendTrafficPolicy"));
12
+
13
+ export { XBackendTrafficPolicyListArgs } from "./xbackendTrafficPolicyList";
14
+ export type XBackendTrafficPolicyList = import("./xbackendTrafficPolicyList").XBackendTrafficPolicyList;
15
+ export const XBackendTrafficPolicyList: typeof import("./xbackendTrafficPolicyList").XBackendTrafficPolicyList = null as any;
16
+ utilities.lazyLoad(exports, ["XBackendTrafficPolicyList"], () => require("./xbackendTrafficPolicyList"));
17
+
18
+ export { XBackendTrafficPolicyPatchArgs } from "./xbackendTrafficPolicyPatch";
19
+ export type XBackendTrafficPolicyPatch = import("./xbackendTrafficPolicyPatch").XBackendTrafficPolicyPatch;
20
+ export const XBackendTrafficPolicyPatch: typeof import("./xbackendTrafficPolicyPatch").XBackendTrafficPolicyPatch = null as any;
21
+ utilities.lazyLoad(exports, ["XBackendTrafficPolicyPatch"], () => require("./xbackendTrafficPolicyPatch"));
22
+
23
+ export { XListenerSetArgs } from "./xlistenerSet";
24
+ export type XListenerSet = import("./xlistenerSet").XListenerSet;
25
+ export const XListenerSet: typeof import("./xlistenerSet").XListenerSet = null as any;
26
+ utilities.lazyLoad(exports, ["XListenerSet"], () => require("./xlistenerSet"));
27
+
28
+ export { XListenerSetListArgs } from "./xlistenerSetList";
29
+ export type XListenerSetList = import("./xlistenerSetList").XListenerSetList;
30
+ export const XListenerSetList: typeof import("./xlistenerSetList").XListenerSetList = null as any;
31
+ utilities.lazyLoad(exports, ["XListenerSetList"], () => require("./xlistenerSetList"));
32
+
33
+ export { XListenerSetPatchArgs } from "./xlistenerSetPatch";
34
+ export type XListenerSetPatch = import("./xlistenerSetPatch").XListenerSetPatch;
35
+ export const XListenerSetPatch: typeof import("./xlistenerSetPatch").XListenerSetPatch = null as any;
36
+ utilities.lazyLoad(exports, ["XListenerSetPatch"], () => require("./xlistenerSetPatch"));
37
+
38
+
39
+ const _module = {
40
+ version: utilities.getVersion(),
41
+ construct: (name: string, type: string, urn: string): pulumi.Resource => {
42
+ switch (type) {
43
+ case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicy":
44
+ return new XBackendTrafficPolicy(name, <any>undefined, { urn })
45
+ case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyList":
46
+ return new XBackendTrafficPolicyList(name, <any>undefined, { urn })
47
+ case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyPatch":
48
+ return new XBackendTrafficPolicyPatch(name, <any>undefined, { urn })
49
+ case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSet":
50
+ return new XListenerSet(name, <any>undefined, { urn })
51
+ case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetList":
52
+ return new XListenerSetList(name, <any>undefined, { urn })
53
+ case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetPatch":
54
+ return new XListenerSetPatch(name, <any>undefined, { urn })
55
+ default:
56
+ throw new Error(`unknown resource type ${type}`);
57
+ }
58
+ },
59
+ };
60
+ pulumi.runtime.registerResourceModule("crds", "gateway.networking.x-k8s.io/v1alpha1", _module)
@@ -0,0 +1,100 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ /**
10
+ * XBackendTrafficPolicy defines the configuration for how traffic to a
11
+ * target backend should be handled.
12
+ */
13
+ export class XBackendTrafficPolicy extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing XBackendTrafficPolicy 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
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): XBackendTrafficPolicy {
23
+ return new XBackendTrafficPolicy(name, undefined as any, { ...opts, id: id });
24
+ }
25
+
26
+ /** @internal */
27
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicy';
28
+
29
+ /**
30
+ * Returns true if the given object is an instance of XBackendTrafficPolicy. This is designed to work even
31
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
32
+ */
33
+ public static isInstance(obj: any): obj is XBackendTrafficPolicy {
34
+ if (obj === undefined || obj === null) {
35
+ return false;
36
+ }
37
+ return obj['__pulumiType'] === XBackendTrafficPolicy.__pulumiType;
38
+ }
39
+
40
+ /**
41
+ * 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
42
+ */
43
+ public readonly apiVersion!: pulumi.Output<"gateway.networking.x-k8s.io/v1alpha1">;
44
+ /**
45
+ * 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
46
+ */
47
+ public readonly kind!: pulumi.Output<"XBackendTrafficPolicy">;
48
+ /**
49
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
50
+ */
51
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
52
+ public readonly spec!: pulumi.Output<outputs.gateway.v1alpha1.XBackendTrafficPolicySpec>;
53
+ public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha1.XBackendTrafficPolicyStatus>;
54
+
55
+ /**
56
+ * Create a XBackendTrafficPolicy resource with the given unique name, arguments, and options.
57
+ *
58
+ * @param name The _unique_ name of the resource.
59
+ * @param args The arguments to use to populate this resource's properties.
60
+ * @param opts A bag of options that control this resource's behavior.
61
+ */
62
+ constructor(name: string, args?: XBackendTrafficPolicyArgs, opts?: pulumi.CustomResourceOptions) {
63
+ let resourceInputs: pulumi.Inputs = {};
64
+ opts = opts || {};
65
+ if (!opts.id) {
66
+ resourceInputs["apiVersion"] = "gateway.networking.x-k8s.io/v1alpha1";
67
+ resourceInputs["kind"] = "XBackendTrafficPolicy";
68
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
69
+ resourceInputs["spec"] = args ? args.spec : undefined;
70
+ resourceInputs["status"] = undefined /*out*/;
71
+ } else {
72
+ resourceInputs["apiVersion"] = undefined /*out*/;
73
+ resourceInputs["kind"] = undefined /*out*/;
74
+ resourceInputs["metadata"] = undefined /*out*/;
75
+ resourceInputs["spec"] = undefined /*out*/;
76
+ resourceInputs["status"] = undefined /*out*/;
77
+ }
78
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
79
+ super(XBackendTrafficPolicy.__pulumiType, name, resourceInputs, opts);
80
+ }
81
+ }
82
+
83
+ /**
84
+ * The set of arguments for constructing a XBackendTrafficPolicy resource.
85
+ */
86
+ export interface XBackendTrafficPolicyArgs {
87
+ /**
88
+ * 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
89
+ */
90
+ apiVersion?: pulumi.Input<"gateway.networking.x-k8s.io/v1alpha1">;
91
+ /**
92
+ * 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
93
+ */
94
+ kind?: pulumi.Input<"XBackendTrafficPolicy">;
95
+ /**
96
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
97
+ */
98
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
99
+ spec?: pulumi.Input<inputs.gateway.v1alpha1.XBackendTrafficPolicySpec>;
100
+ }
@@ -0,0 +1,105 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ /**
10
+ * XBackendTrafficPolicyList is a list of XBackendTrafficPolicy
11
+ */
12
+ export class XBackendTrafficPolicyList extends pulumi.CustomResource {
13
+ /**
14
+ * Get an existing XBackendTrafficPolicyList resource's state with the given name, ID, and optional extra
15
+ * properties used to qualify the lookup.
16
+ *
17
+ * @param name The _unique_ name of the resulting resource.
18
+ * @param id The _unique_ provider ID of the resource to lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): XBackendTrafficPolicyList {
22
+ return new XBackendTrafficPolicyList(name, undefined as any, { ...opts, id: id });
23
+ }
24
+
25
+ /** @internal */
26
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyList';
27
+
28
+ /**
29
+ * Returns true if the given object is an instance of XBackendTrafficPolicyList. This is designed to work even
30
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
+ */
32
+ public static isInstance(obj: any): obj is XBackendTrafficPolicyList {
33
+ if (obj === undefined || obj === null) {
34
+ return false;
35
+ }
36
+ return obj['__pulumiType'] === XBackendTrafficPolicyList.__pulumiType;
37
+ }
38
+
39
+ /**
40
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
41
+ */
42
+ public readonly apiVersion!: pulumi.Output<"gateway.networking.x-k8s.io/v1alpha1">;
43
+ /**
44
+ * List of xbackendtrafficpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
45
+ */
46
+ public readonly items!: pulumi.Output<outputs.gateway.v1alpha1.XBackendTrafficPolicy[]>;
47
+ /**
48
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
49
+ */
50
+ public readonly kind!: pulumi.Output<"XBackendTrafficPolicyList">;
51
+ /**
52
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
53
+ */
54
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
55
+
56
+ /**
57
+ * Create a XBackendTrafficPolicyList resource with the given unique name, arguments, and options.
58
+ *
59
+ * @param name The _unique_ name of the resource.
60
+ * @param args The arguments to use to populate this resource's properties.
61
+ * @param opts A bag of options that control this resource's behavior.
62
+ */
63
+ constructor(name: string, args?: XBackendTrafficPolicyListArgs, opts?: pulumi.CustomResourceOptions) {
64
+ let resourceInputs: pulumi.Inputs = {};
65
+ opts = opts || {};
66
+ if (!opts.id) {
67
+ if ((!args || args.items === undefined) && !opts.urn) {
68
+ throw new Error("Missing required property 'items'");
69
+ }
70
+ resourceInputs["apiVersion"] = "gateway.networking.x-k8s.io/v1alpha1";
71
+ resourceInputs["items"] = args ? args.items : undefined;
72
+ resourceInputs["kind"] = "XBackendTrafficPolicyList";
73
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
74
+ } else {
75
+ resourceInputs["apiVersion"] = undefined /*out*/;
76
+ resourceInputs["items"] = undefined /*out*/;
77
+ resourceInputs["kind"] = undefined /*out*/;
78
+ resourceInputs["metadata"] = undefined /*out*/;
79
+ }
80
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
81
+ super(XBackendTrafficPolicyList.__pulumiType, name, resourceInputs, opts);
82
+ }
83
+ }
84
+
85
+ /**
86
+ * The set of arguments for constructing a XBackendTrafficPolicyList resource.
87
+ */
88
+ export interface XBackendTrafficPolicyListArgs {
89
+ /**
90
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
91
+ */
92
+ apiVersion?: pulumi.Input<"gateway.networking.x-k8s.io/v1alpha1">;
93
+ /**
94
+ * List of xbackendtrafficpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
95
+ */
96
+ items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha1.XBackendTrafficPolicy>[]>;
97
+ /**
98
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
99
+ */
100
+ kind?: pulumi.Input<"XBackendTrafficPolicyList">;
101
+ /**
102
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
103
+ */
104
+ metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
105
+ }
@@ -0,0 +1,106 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ /**
10
+ * Patch resources are used to modify existing Kubernetes resources by using
11
+ * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
12
+ * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
13
+ * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
14
+ * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
15
+ * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
16
+ * XBackendTrafficPolicy defines the configuration for how traffic to a
17
+ * target backend should be handled.
18
+ */
19
+ export class XBackendTrafficPolicyPatch extends pulumi.CustomResource {
20
+ /**
21
+ * Get an existing XBackendTrafficPolicyPatch resource's state with the given name, ID, and optional extra
22
+ * properties used to qualify the lookup.
23
+ *
24
+ * @param name The _unique_ name of the resulting resource.
25
+ * @param id The _unique_ provider ID of the resource to lookup.
26
+ * @param opts Optional settings to control the behavior of the CustomResource.
27
+ */
28
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): XBackendTrafficPolicyPatch {
29
+ return new XBackendTrafficPolicyPatch(name, undefined as any, { ...opts, id: id });
30
+ }
31
+
32
+ /** @internal */
33
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyPatch';
34
+
35
+ /**
36
+ * Returns true if the given object is an instance of XBackendTrafficPolicyPatch. This is designed to work even
37
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
38
+ */
39
+ public static isInstance(obj: any): obj is XBackendTrafficPolicyPatch {
40
+ if (obj === undefined || obj === null) {
41
+ return false;
42
+ }
43
+ return obj['__pulumiType'] === XBackendTrafficPolicyPatch.__pulumiType;
44
+ }
45
+
46
+ /**
47
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
48
+ */
49
+ public readonly apiVersion!: pulumi.Output<"gateway.networking.x-k8s.io/v1alpha1">;
50
+ /**
51
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
52
+ */
53
+ public readonly kind!: pulumi.Output<"XBackendTrafficPolicy">;
54
+ /**
55
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
56
+ */
57
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
58
+ public readonly spec!: pulumi.Output<outputs.gateway.v1alpha1.XBackendTrafficPolicySpecPatch>;
59
+ public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha1.XBackendTrafficPolicyStatusPatch>;
60
+
61
+ /**
62
+ * Create a XBackendTrafficPolicyPatch resource with the given unique name, arguments, and options.
63
+ *
64
+ * @param name The _unique_ name of the resource.
65
+ * @param args The arguments to use to populate this resource's properties.
66
+ * @param opts A bag of options that control this resource's behavior.
67
+ */
68
+ constructor(name: string, args?: XBackendTrafficPolicyPatchArgs, opts?: pulumi.CustomResourceOptions) {
69
+ let resourceInputs: pulumi.Inputs = {};
70
+ opts = opts || {};
71
+ if (!opts.id) {
72
+ resourceInputs["apiVersion"] = "gateway.networking.x-k8s.io/v1alpha1";
73
+ resourceInputs["kind"] = "XBackendTrafficPolicy";
74
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
75
+ resourceInputs["spec"] = args ? args.spec : undefined;
76
+ resourceInputs["status"] = undefined /*out*/;
77
+ } else {
78
+ resourceInputs["apiVersion"] = undefined /*out*/;
79
+ resourceInputs["kind"] = undefined /*out*/;
80
+ resourceInputs["metadata"] = undefined /*out*/;
81
+ resourceInputs["spec"] = undefined /*out*/;
82
+ resourceInputs["status"] = undefined /*out*/;
83
+ }
84
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
85
+ super(XBackendTrafficPolicyPatch.__pulumiType, name, resourceInputs, opts);
86
+ }
87
+ }
88
+
89
+ /**
90
+ * The set of arguments for constructing a XBackendTrafficPolicyPatch resource.
91
+ */
92
+ export interface XBackendTrafficPolicyPatchArgs {
93
+ /**
94
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
95
+ */
96
+ apiVersion?: pulumi.Input<"gateway.networking.x-k8s.io/v1alpha1">;
97
+ /**
98
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
99
+ */
100
+ kind?: pulumi.Input<"XBackendTrafficPolicy">;
101
+ /**
102
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
103
+ */
104
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
105
+ spec?: pulumi.Input<inputs.gateway.v1alpha1.XBackendTrafficPolicySpecPatch>;
106
+ }
@@ -0,0 +1,100 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ /**
10
+ * XListenerSet defines a set of additional listeners
11
+ * to attach to an existing Gateway.
12
+ */
13
+ export class XListenerSet extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing XListenerSet 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
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): XListenerSet {
23
+ return new XListenerSet(name, undefined as any, { ...opts, id: id });
24
+ }
25
+
26
+ /** @internal */
27
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSet';
28
+
29
+ /**
30
+ * Returns true if the given object is an instance of XListenerSet. This is designed to work even
31
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
32
+ */
33
+ public static isInstance(obj: any): obj is XListenerSet {
34
+ if (obj === undefined || obj === null) {
35
+ return false;
36
+ }
37
+ return obj['__pulumiType'] === XListenerSet.__pulumiType;
38
+ }
39
+
40
+ /**
41
+ * 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
42
+ */
43
+ public readonly apiVersion!: pulumi.Output<"gateway.networking.x-k8s.io/v1alpha1">;
44
+ /**
45
+ * 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
46
+ */
47
+ public readonly kind!: pulumi.Output<"XListenerSet">;
48
+ /**
49
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
50
+ */
51
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
52
+ public readonly spec!: pulumi.Output<outputs.gateway.v1alpha1.XListenerSetSpec>;
53
+ public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha1.XListenerSetStatus>;
54
+
55
+ /**
56
+ * Create a XListenerSet resource with the given unique name, arguments, and options.
57
+ *
58
+ * @param name The _unique_ name of the resource.
59
+ * @param args The arguments to use to populate this resource's properties.
60
+ * @param opts A bag of options that control this resource's behavior.
61
+ */
62
+ constructor(name: string, args?: XListenerSetArgs, opts?: pulumi.CustomResourceOptions) {
63
+ let resourceInputs: pulumi.Inputs = {};
64
+ opts = opts || {};
65
+ if (!opts.id) {
66
+ resourceInputs["apiVersion"] = "gateway.networking.x-k8s.io/v1alpha1";
67
+ resourceInputs["kind"] = "XListenerSet";
68
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
69
+ resourceInputs["spec"] = args ? args.spec : undefined;
70
+ resourceInputs["status"] = undefined /*out*/;
71
+ } else {
72
+ resourceInputs["apiVersion"] = undefined /*out*/;
73
+ resourceInputs["kind"] = undefined /*out*/;
74
+ resourceInputs["metadata"] = undefined /*out*/;
75
+ resourceInputs["spec"] = undefined /*out*/;
76
+ resourceInputs["status"] = undefined /*out*/;
77
+ }
78
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
79
+ super(XListenerSet.__pulumiType, name, resourceInputs, opts);
80
+ }
81
+ }
82
+
83
+ /**
84
+ * The set of arguments for constructing a XListenerSet resource.
85
+ */
86
+ export interface XListenerSetArgs {
87
+ /**
88
+ * 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
89
+ */
90
+ apiVersion?: pulumi.Input<"gateway.networking.x-k8s.io/v1alpha1">;
91
+ /**
92
+ * 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
93
+ */
94
+ kind?: pulumi.Input<"XListenerSet">;
95
+ /**
96
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
97
+ */
98
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
99
+ spec?: pulumi.Input<inputs.gateway.v1alpha1.XListenerSetSpec>;
100
+ }
@@ -0,0 +1,105 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../../types/input";
6
+ import * as outputs from "../../types/output";
7
+ import * as utilities from "../../utilities";
8
+
9
+ /**
10
+ * XListenerSetList is a list of XListenerSet
11
+ */
12
+ export class XListenerSetList extends pulumi.CustomResource {
13
+ /**
14
+ * Get an existing XListenerSetList resource's state with the given name, ID, and optional extra
15
+ * properties used to qualify the lookup.
16
+ *
17
+ * @param name The _unique_ name of the resulting resource.
18
+ * @param id The _unique_ provider ID of the resource to lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): XListenerSetList {
22
+ return new XListenerSetList(name, undefined as any, { ...opts, id: id });
23
+ }
24
+
25
+ /** @internal */
26
+ public static readonly __pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetList';
27
+
28
+ /**
29
+ * Returns true if the given object is an instance of XListenerSetList. This is designed to work even
30
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
+ */
32
+ public static isInstance(obj: any): obj is XListenerSetList {
33
+ if (obj === undefined || obj === null) {
34
+ return false;
35
+ }
36
+ return obj['__pulumiType'] === XListenerSetList.__pulumiType;
37
+ }
38
+
39
+ /**
40
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
41
+ */
42
+ public readonly apiVersion!: pulumi.Output<"gateway.networking.x-k8s.io/v1alpha1">;
43
+ /**
44
+ * List of xlistenersets. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
45
+ */
46
+ public readonly items!: pulumi.Output<outputs.gateway.v1alpha1.XListenerSet[]>;
47
+ /**
48
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
49
+ */
50
+ public readonly kind!: pulumi.Output<"XListenerSetList">;
51
+ /**
52
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
53
+ */
54
+ public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
55
+
56
+ /**
57
+ * Create a XListenerSetList resource with the given unique name, arguments, and options.
58
+ *
59
+ * @param name The _unique_ name of the resource.
60
+ * @param args The arguments to use to populate this resource's properties.
61
+ * @param opts A bag of options that control this resource's behavior.
62
+ */
63
+ constructor(name: string, args?: XListenerSetListArgs, opts?: pulumi.CustomResourceOptions) {
64
+ let resourceInputs: pulumi.Inputs = {};
65
+ opts = opts || {};
66
+ if (!opts.id) {
67
+ if ((!args || args.items === undefined) && !opts.urn) {
68
+ throw new Error("Missing required property 'items'");
69
+ }
70
+ resourceInputs["apiVersion"] = "gateway.networking.x-k8s.io/v1alpha1";
71
+ resourceInputs["items"] = args ? args.items : undefined;
72
+ resourceInputs["kind"] = "XListenerSetList";
73
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
74
+ } else {
75
+ resourceInputs["apiVersion"] = undefined /*out*/;
76
+ resourceInputs["items"] = undefined /*out*/;
77
+ resourceInputs["kind"] = undefined /*out*/;
78
+ resourceInputs["metadata"] = undefined /*out*/;
79
+ }
80
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
81
+ super(XListenerSetList.__pulumiType, name, resourceInputs, opts);
82
+ }
83
+ }
84
+
85
+ /**
86
+ * The set of arguments for constructing a XListenerSetList resource.
87
+ */
88
+ export interface XListenerSetListArgs {
89
+ /**
90
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
91
+ */
92
+ apiVersion?: pulumi.Input<"gateway.networking.x-k8s.io/v1alpha1">;
93
+ /**
94
+ * List of xlistenersets. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
95
+ */
96
+ items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha1.XListenerSet>[]>;
97
+ /**
98
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
99
+ */
100
+ kind?: pulumi.Input<"XListenerSetList">;
101
+ /**
102
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
103
+ */
104
+ metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
105
+ }