@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,107 +0,0 @@
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
- import {ObjectMeta} from "../../meta/v1";
10
-
11
- /**
12
- * BackendLBPolicyList is a list of BackendLBPolicy
13
- */
14
- export class BackendLBPolicyList extends pulumi.CustomResource {
15
- /**
16
- * Get an existing BackendLBPolicyList 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
- public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendLBPolicyList {
24
- return new BackendLBPolicyList(name, undefined as any, { ...opts, id: id });
25
- }
26
-
27
- /** @internal */
28
- public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicyList';
29
-
30
- /**
31
- * Returns true if the given object is an instance of BackendLBPolicyList. This is designed to work even
32
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
- */
34
- public static isInstance(obj: any): obj is BackendLBPolicyList {
35
- if (obj === undefined || obj === null) {
36
- return false;
37
- }
38
- return obj['__pulumiType'] === BackendLBPolicyList.__pulumiType;
39
- }
40
-
41
- /**
42
- * 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
43
- */
44
- public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
45
- /**
46
- * List of backendlbpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
47
- */
48
- public readonly items!: pulumi.Output<outputs.gateway.v1alpha2.BackendLBPolicy[]>;
49
- /**
50
- * 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
51
- */
52
- public readonly kind!: pulumi.Output<"BackendLBPolicyList">;
53
- /**
54
- * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
55
- */
56
- public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
57
-
58
- /**
59
- * Create a BackendLBPolicyList resource with the given unique name, arguments, and options.
60
- *
61
- * @param name The _unique_ name of the resource.
62
- * @param args The arguments to use to populate this resource's properties.
63
- * @param opts A bag of options that control this resource's behavior.
64
- */
65
- constructor(name: string, args?: BackendLBPolicyListArgs, opts?: pulumi.CustomResourceOptions) {
66
- let resourceInputs: pulumi.Inputs = {};
67
- opts = opts || {};
68
- if (!opts.id) {
69
- if ((!args || args.items === undefined) && !opts.urn) {
70
- throw new Error("Missing required property 'items'");
71
- }
72
- resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
73
- resourceInputs["items"] = args ? args.items : undefined;
74
- resourceInputs["kind"] = "BackendLBPolicyList";
75
- resourceInputs["metadata"] = args ? args.metadata : undefined;
76
- } else {
77
- resourceInputs["apiVersion"] = undefined /*out*/;
78
- resourceInputs["items"] = undefined /*out*/;
79
- resourceInputs["kind"] = undefined /*out*/;
80
- resourceInputs["metadata"] = undefined /*out*/;
81
- }
82
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
- super(BackendLBPolicyList.__pulumiType, name, resourceInputs, opts);
84
- }
85
- }
86
-
87
- /**
88
- * The set of arguments for constructing a BackendLBPolicyList resource.
89
- */
90
- export interface BackendLBPolicyListArgs {
91
- /**
92
- * 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
93
- */
94
- apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
95
- /**
96
- * List of backendlbpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
97
- */
98
- items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha2.BackendLBPolicy>[]>;
99
- /**
100
- * 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
101
- */
102
- kind?: pulumi.Input<"BackendLBPolicyList">;
103
- /**
104
- * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
105
- */
106
- metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
107
- }
@@ -1,108 +0,0 @@
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
- import {ObjectMetaPatch} from "../../meta/v1";
10
-
11
- /**
12
- * Patch resources are used to modify existing Kubernetes resources by using
13
- * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
14
- * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
15
- * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
16
- * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
17
- * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
18
- * BackendLBPolicy provides a way to define load balancing rules
19
- * for a backend.
20
- */
21
- export class BackendLBPolicyPatch extends pulumi.CustomResource {
22
- /**
23
- * Get an existing BackendLBPolicyPatch resource's state with the given name, ID, and optional extra
24
- * properties used to qualify the lookup.
25
- *
26
- * @param name The _unique_ name of the resulting resource.
27
- * @param id The _unique_ provider ID of the resource to lookup.
28
- * @param opts Optional settings to control the behavior of the CustomResource.
29
- */
30
- public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendLBPolicyPatch {
31
- return new BackendLBPolicyPatch(name, undefined as any, { ...opts, id: id });
32
- }
33
-
34
- /** @internal */
35
- public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicyPatch';
36
-
37
- /**
38
- * Returns true if the given object is an instance of BackendLBPolicyPatch. This is designed to work even
39
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
40
- */
41
- public static isInstance(obj: any): obj is BackendLBPolicyPatch {
42
- if (obj === undefined || obj === null) {
43
- return false;
44
- }
45
- return obj['__pulumiType'] === BackendLBPolicyPatch.__pulumiType;
46
- }
47
-
48
- /**
49
- * 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
50
- */
51
- public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
52
- /**
53
- * 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
54
- */
55
- public readonly kind!: pulumi.Output<"BackendLBPolicy">;
56
- /**
57
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
58
- */
59
- public readonly metadata!: pulumi.Output<ObjectMetaPatch>;
60
- public readonly spec!: pulumi.Output<outputs.gateway.v1alpha2.BackendLBPolicySpecPatch>;
61
- public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha2.BackendLBPolicyStatusPatch>;
62
-
63
- /**
64
- * Create a BackendLBPolicyPatch resource with the given unique name, arguments, and options.
65
- *
66
- * @param name The _unique_ name of the resource.
67
- * @param args The arguments to use to populate this resource's properties.
68
- * @param opts A bag of options that control this resource's behavior.
69
- */
70
- constructor(name: string, args?: BackendLBPolicyPatchArgs, opts?: pulumi.CustomResourceOptions) {
71
- let resourceInputs: pulumi.Inputs = {};
72
- opts = opts || {};
73
- if (!opts.id) {
74
- resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
75
- resourceInputs["kind"] = "BackendLBPolicy";
76
- resourceInputs["metadata"] = args ? args.metadata : undefined;
77
- resourceInputs["spec"] = args ? args.spec : undefined;
78
- resourceInputs["status"] = undefined /*out*/;
79
- } else {
80
- resourceInputs["apiVersion"] = undefined /*out*/;
81
- resourceInputs["kind"] = undefined /*out*/;
82
- resourceInputs["metadata"] = undefined /*out*/;
83
- resourceInputs["spec"] = undefined /*out*/;
84
- resourceInputs["status"] = undefined /*out*/;
85
- }
86
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
87
- super(BackendLBPolicyPatch.__pulumiType, name, resourceInputs, opts);
88
- }
89
- }
90
-
91
- /**
92
- * The set of arguments for constructing a BackendLBPolicyPatch resource.
93
- */
94
- export interface BackendLBPolicyPatchArgs {
95
- /**
96
- * 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
97
- */
98
- apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
99
- /**
100
- * 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
101
- */
102
- kind?: pulumi.Input<"BackendLBPolicy">;
103
- /**
104
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
105
- */
106
- metadata?: pulumi.Input<ObjectMetaPatch>;
107
- spec?: pulumi.Input<inputs.gateway.v1alpha2.BackendLBPolicySpecPatch>;
108
- }
@@ -1,102 +0,0 @@
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 { BackendLBPolicyArgs } from "./backendLBPolicy";
9
- export type BackendLBPolicy = import("./backendLBPolicy").BackendLBPolicy;
10
- export const BackendLBPolicy: typeof import("./backendLBPolicy").BackendLBPolicy = null as any;
11
- utilities.lazyLoad(exports, ["BackendLBPolicy"], () => require("./backendLBPolicy"));
12
-
13
- export { BackendLBPolicyListArgs } from "./backendLBPolicyList";
14
- export type BackendLBPolicyList = import("./backendLBPolicyList").BackendLBPolicyList;
15
- export const BackendLBPolicyList: typeof import("./backendLBPolicyList").BackendLBPolicyList = null as any;
16
- utilities.lazyLoad(exports, ["BackendLBPolicyList"], () => require("./backendLBPolicyList"));
17
-
18
- export { BackendLBPolicyPatchArgs } from "./backendLBPolicyPatch";
19
- export type BackendLBPolicyPatch = import("./backendLBPolicyPatch").BackendLBPolicyPatch;
20
- export const BackendLBPolicyPatch: typeof import("./backendLBPolicyPatch").BackendLBPolicyPatch = null as any;
21
- utilities.lazyLoad(exports, ["BackendLBPolicyPatch"], () => require("./backendLBPolicyPatch"));
22
-
23
- export { TCPRouteArgs } from "./tcproute";
24
- export type TCPRoute = import("./tcproute").TCPRoute;
25
- export const TCPRoute: typeof import("./tcproute").TCPRoute = null as any;
26
- utilities.lazyLoad(exports, ["TCPRoute"], () => require("./tcproute"));
27
-
28
- export { TCPRouteListArgs } from "./tcprouteList";
29
- export type TCPRouteList = import("./tcprouteList").TCPRouteList;
30
- export const TCPRouteList: typeof import("./tcprouteList").TCPRouteList = null as any;
31
- utilities.lazyLoad(exports, ["TCPRouteList"], () => require("./tcprouteList"));
32
-
33
- export { TCPRoutePatchArgs } from "./tcproutePatch";
34
- export type TCPRoutePatch = import("./tcproutePatch").TCPRoutePatch;
35
- export const TCPRoutePatch: typeof import("./tcproutePatch").TCPRoutePatch = null as any;
36
- utilities.lazyLoad(exports, ["TCPRoutePatch"], () => require("./tcproutePatch"));
37
-
38
- export { TLSRouteArgs } from "./tlsroute";
39
- export type TLSRoute = import("./tlsroute").TLSRoute;
40
- export const TLSRoute: typeof import("./tlsroute").TLSRoute = null as any;
41
- utilities.lazyLoad(exports, ["TLSRoute"], () => require("./tlsroute"));
42
-
43
- export { TLSRouteListArgs } from "./tlsrouteList";
44
- export type TLSRouteList = import("./tlsrouteList").TLSRouteList;
45
- export const TLSRouteList: typeof import("./tlsrouteList").TLSRouteList = null as any;
46
- utilities.lazyLoad(exports, ["TLSRouteList"], () => require("./tlsrouteList"));
47
-
48
- export { TLSRoutePatchArgs } from "./tlsroutePatch";
49
- export type TLSRoutePatch = import("./tlsroutePatch").TLSRoutePatch;
50
- export const TLSRoutePatch: typeof import("./tlsroutePatch").TLSRoutePatch = null as any;
51
- utilities.lazyLoad(exports, ["TLSRoutePatch"], () => require("./tlsroutePatch"));
52
-
53
- export { UDPRouteArgs } from "./udproute";
54
- export type UDPRoute = import("./udproute").UDPRoute;
55
- export const UDPRoute: typeof import("./udproute").UDPRoute = null as any;
56
- utilities.lazyLoad(exports, ["UDPRoute"], () => require("./udproute"));
57
-
58
- export { UDPRouteListArgs } from "./udprouteList";
59
- export type UDPRouteList = import("./udprouteList").UDPRouteList;
60
- export const UDPRouteList: typeof import("./udprouteList").UDPRouteList = null as any;
61
- utilities.lazyLoad(exports, ["UDPRouteList"], () => require("./udprouteList"));
62
-
63
- export { UDPRoutePatchArgs } from "./udproutePatch";
64
- export type UDPRoutePatch = import("./udproutePatch").UDPRoutePatch;
65
- export const UDPRoutePatch: typeof import("./udproutePatch").UDPRoutePatch = null as any;
66
- utilities.lazyLoad(exports, ["UDPRoutePatch"], () => require("./udproutePatch"));
67
-
68
-
69
- const _module = {
70
- version: utilities.getVersion(),
71
- construct: (name: string, type: string, urn: string): pulumi.Resource => {
72
- switch (type) {
73
- case "kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicy":
74
- return new BackendLBPolicy(name, <any>undefined, { urn })
75
- case "kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicyList":
76
- return new BackendLBPolicyList(name, <any>undefined, { urn })
77
- case "kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicyPatch":
78
- return new BackendLBPolicyPatch(name, <any>undefined, { urn })
79
- case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoute":
80
- return new TCPRoute(name, <any>undefined, { urn })
81
- case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRouteList":
82
- return new TCPRouteList(name, <any>undefined, { urn })
83
- case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoutePatch":
84
- return new TCPRoutePatch(name, <any>undefined, { urn })
85
- case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoute":
86
- return new TLSRoute(name, <any>undefined, { urn })
87
- case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRouteList":
88
- return new TLSRouteList(name, <any>undefined, { urn })
89
- case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoutePatch":
90
- return new TLSRoutePatch(name, <any>undefined, { urn })
91
- case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoute":
92
- return new UDPRoute(name, <any>undefined, { urn })
93
- case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRouteList":
94
- return new UDPRouteList(name, <any>undefined, { urn })
95
- case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoutePatch":
96
- return new UDPRoutePatch(name, <any>undefined, { urn })
97
- default:
98
- throw new Error(`unknown resource type ${type}`);
99
- }
100
- },
101
- };
102
- pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1alpha2", _module)
@@ -1,103 +0,0 @@
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
- import {ObjectMeta} from "../../meta/v1";
10
-
11
- /**
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 class TCPRoute extends pulumi.CustomResource {
17
- /**
18
- * Get an existing TCPRoute 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
- public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TCPRoute {
26
- return new TCPRoute(name, undefined as any, { ...opts, id: id });
27
- }
28
-
29
- /** @internal */
30
- public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoute';
31
-
32
- /**
33
- * Returns true if the given object is an instance of TCPRoute. This is designed to work even
34
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
35
- */
36
- public static isInstance(obj: any): obj is TCPRoute {
37
- if (obj === undefined || obj === null) {
38
- return false;
39
- }
40
- return obj['__pulumiType'] === TCPRoute.__pulumiType;
41
- }
42
-
43
- /**
44
- * 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
45
- */
46
- public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
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<"TCPRoute">;
51
- /**
52
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
53
- */
54
- public readonly metadata!: pulumi.Output<ObjectMeta>;
55
- public readonly spec!: pulumi.Output<outputs.gateway.v1alpha2.TCPRouteSpec>;
56
- public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha2.TCPRouteStatus>;
57
-
58
- /**
59
- * Create a TCPRoute resource with the given unique name, arguments, and options.
60
- *
61
- * @param name The _unique_ name of the resource.
62
- * @param args The arguments to use to populate this resource's properties.
63
- * @param opts A bag of options that control this resource's behavior.
64
- */
65
- constructor(name: string, args?: TCPRouteArgs, opts?: pulumi.CustomResourceOptions) {
66
- let resourceInputs: pulumi.Inputs = {};
67
- opts = opts || {};
68
- if (!opts.id) {
69
- resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
70
- resourceInputs["kind"] = "TCPRoute";
71
- resourceInputs["metadata"] = args ? args.metadata : undefined;
72
- resourceInputs["spec"] = args ? args.spec : undefined;
73
- resourceInputs["status"] = undefined /*out*/;
74
- } else {
75
- resourceInputs["apiVersion"] = undefined /*out*/;
76
- resourceInputs["kind"] = undefined /*out*/;
77
- resourceInputs["metadata"] = undefined /*out*/;
78
- resourceInputs["spec"] = undefined /*out*/;
79
- resourceInputs["status"] = undefined /*out*/;
80
- }
81
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
82
- super(TCPRoute.__pulumiType, name, resourceInputs, opts);
83
- }
84
- }
85
-
86
- /**
87
- * The set of arguments for constructing a TCPRoute resource.
88
- */
89
- export interface TCPRouteArgs {
90
- /**
91
- * 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
92
- */
93
- apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
94
- /**
95
- * 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
96
- */
97
- kind?: pulumi.Input<"TCPRoute">;
98
- /**
99
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
100
- */
101
- metadata?: pulumi.Input<ObjectMeta>;
102
- spec?: pulumi.Input<inputs.gateway.v1alpha2.TCPRouteSpec>;
103
- }
@@ -1,107 +0,0 @@
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
- import {ObjectMeta} from "../../meta/v1";
10
-
11
- /**
12
- * TCPRouteList is a list of TCPRoute
13
- */
14
- export class TCPRouteList extends pulumi.CustomResource {
15
- /**
16
- * Get an existing TCPRouteList 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
- public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TCPRouteList {
24
- return new TCPRouteList(name, undefined as any, { ...opts, id: id });
25
- }
26
-
27
- /** @internal */
28
- public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRouteList';
29
-
30
- /**
31
- * Returns true if the given object is an instance of TCPRouteList. This is designed to work even
32
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
- */
34
- public static isInstance(obj: any): obj is TCPRouteList {
35
- if (obj === undefined || obj === null) {
36
- return false;
37
- }
38
- return obj['__pulumiType'] === TCPRouteList.__pulumiType;
39
- }
40
-
41
- /**
42
- * 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
43
- */
44
- public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
45
- /**
46
- * List of tcproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
47
- */
48
- public readonly items!: pulumi.Output<outputs.gateway.v1alpha2.TCPRoute[]>;
49
- /**
50
- * 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
51
- */
52
- public readonly kind!: pulumi.Output<"TCPRouteList">;
53
- /**
54
- * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
55
- */
56
- public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
57
-
58
- /**
59
- * Create a TCPRouteList resource with the given unique name, arguments, and options.
60
- *
61
- * @param name The _unique_ name of the resource.
62
- * @param args The arguments to use to populate this resource's properties.
63
- * @param opts A bag of options that control this resource's behavior.
64
- */
65
- constructor(name: string, args?: TCPRouteListArgs, opts?: pulumi.CustomResourceOptions) {
66
- let resourceInputs: pulumi.Inputs = {};
67
- opts = opts || {};
68
- if (!opts.id) {
69
- if ((!args || args.items === undefined) && !opts.urn) {
70
- throw new Error("Missing required property 'items'");
71
- }
72
- resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
73
- resourceInputs["items"] = args ? args.items : undefined;
74
- resourceInputs["kind"] = "TCPRouteList";
75
- resourceInputs["metadata"] = args ? args.metadata : undefined;
76
- } else {
77
- resourceInputs["apiVersion"] = undefined /*out*/;
78
- resourceInputs["items"] = undefined /*out*/;
79
- resourceInputs["kind"] = undefined /*out*/;
80
- resourceInputs["metadata"] = undefined /*out*/;
81
- }
82
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
- super(TCPRouteList.__pulumiType, name, resourceInputs, opts);
84
- }
85
- }
86
-
87
- /**
88
- * The set of arguments for constructing a TCPRouteList resource.
89
- */
90
- export interface TCPRouteListArgs {
91
- /**
92
- * 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
93
- */
94
- apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
95
- /**
96
- * List of tcproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
97
- */
98
- items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha2.TCPRoute>[]>;
99
- /**
100
- * 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
101
- */
102
- kind?: pulumi.Input<"TCPRouteList">;
103
- /**
104
- * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
105
- */
106
- metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
107
- }
@@ -1,109 +0,0 @@
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
- import {ObjectMetaPatch} from "../../meta/v1";
10
-
11
- /**
12
- * Patch resources are used to modify existing Kubernetes resources by using
13
- * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
14
- * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
15
- * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
16
- * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
17
- * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
18
- * TCPRoute provides a way to route TCP requests. When combined with a Gateway
19
- * listener, it can be used to forward connections on the port specified by the
20
- * listener to a set of backends specified by the TCPRoute.
21
- */
22
- export class TCPRoutePatch extends pulumi.CustomResource {
23
- /**
24
- * Get an existing TCPRoutePatch resource's state with the given name, ID, and optional extra
25
- * properties used to qualify the lookup.
26
- *
27
- * @param name The _unique_ name of the resulting resource.
28
- * @param id The _unique_ provider ID of the resource to lookup.
29
- * @param opts Optional settings to control the behavior of the CustomResource.
30
- */
31
- public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TCPRoutePatch {
32
- return new TCPRoutePatch(name, undefined as any, { ...opts, id: id });
33
- }
34
-
35
- /** @internal */
36
- public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoutePatch';
37
-
38
- /**
39
- * Returns true if the given object is an instance of TCPRoutePatch. This is designed to work even
40
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
- */
42
- public static isInstance(obj: any): obj is TCPRoutePatch {
43
- if (obj === undefined || obj === null) {
44
- return false;
45
- }
46
- return obj['__pulumiType'] === TCPRoutePatch.__pulumiType;
47
- }
48
-
49
- /**
50
- * 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
51
- */
52
- public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
53
- /**
54
- * 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
55
- */
56
- public readonly kind!: pulumi.Output<"TCPRoute">;
57
- /**
58
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
59
- */
60
- public readonly metadata!: pulumi.Output<ObjectMetaPatch>;
61
- public readonly spec!: pulumi.Output<outputs.gateway.v1alpha2.TCPRouteSpecPatch>;
62
- public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha2.TCPRouteStatusPatch>;
63
-
64
- /**
65
- * Create a TCPRoutePatch resource with the given unique name, arguments, and options.
66
- *
67
- * @param name The _unique_ name of the resource.
68
- * @param args The arguments to use to populate this resource's properties.
69
- * @param opts A bag of options that control this resource's behavior.
70
- */
71
- constructor(name: string, args?: TCPRoutePatchArgs, opts?: pulumi.CustomResourceOptions) {
72
- let resourceInputs: pulumi.Inputs = {};
73
- opts = opts || {};
74
- if (!opts.id) {
75
- resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
76
- resourceInputs["kind"] = "TCPRoute";
77
- resourceInputs["metadata"] = args ? args.metadata : undefined;
78
- resourceInputs["spec"] = args ? args.spec : undefined;
79
- resourceInputs["status"] = undefined /*out*/;
80
- } else {
81
- resourceInputs["apiVersion"] = undefined /*out*/;
82
- resourceInputs["kind"] = undefined /*out*/;
83
- resourceInputs["metadata"] = undefined /*out*/;
84
- resourceInputs["spec"] = undefined /*out*/;
85
- resourceInputs["status"] = undefined /*out*/;
86
- }
87
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
88
- super(TCPRoutePatch.__pulumiType, name, resourceInputs, opts);
89
- }
90
- }
91
-
92
- /**
93
- * The set of arguments for constructing a TCPRoutePatch resource.
94
- */
95
- export interface TCPRoutePatchArgs {
96
- /**
97
- * 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
98
- */
99
- apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
100
- /**
101
- * 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
102
- */
103
- kind?: pulumi.Input<"TCPRoute">;
104
- /**
105
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
106
- */
107
- metadata?: pulumi.Input<ObjectMetaPatch>;
108
- spec?: pulumi.Input<inputs.gateway.v1alpha2.TCPRouteSpecPatch>;
109
- }