@kilic.dev/pulumi-k8s-crds 2.1.1 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist/cilium/v2/ciliumLoadBalancerIPPool.d.ts +1 -1
- package/dist/cilium/v2/ciliumLoadBalancerIPPool.js +1 -1
- package/dist/cilium/v2/ciliumLoadBalancerIPPoolPatch.d.ts +1 -1
- package/dist/cilium/v2/ciliumLoadBalancerIPPoolPatch.js +1 -1
- package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPool.d.ts +1 -1
- package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPool.js +1 -1
- package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPoolPatch.d.ts +1 -1
- package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPoolPatch.js +1 -1
- package/dist/gateway/v1/gateway.d.ts +2 -0
- package/dist/gateway/v1/gateway.js +2 -0
- package/dist/gateway/v1/gatewayClass.d.ts +3 -0
- package/dist/gateway/v1/gatewayClass.js +3 -0
- package/dist/gateway/v1/gatewayClassPatch.d.ts +3 -0
- package/dist/gateway/v1/gatewayClassPatch.js +3 -0
- package/dist/gateway/v1/gatewayPatch.d.ts +2 -0
- package/dist/gateway/v1/gatewayPatch.js +2 -0
- package/dist/gateway/v1/index.d.ts +18 -0
- package/dist/gateway/v1/index.js +25 -1
- package/dist/gateway/v1/tcproute.d.ts +66 -0
- package/dist/gateway/v1/tcproute.js +100 -0
- package/dist/gateway/v1/tcprouteList.d.ts +69 -0
- package/dist/gateway/v1/tcprouteList.js +97 -0
- package/dist/gateway/v1/tcproutePatch.d.ts +72 -0
- package/dist/gateway/v1/tcproutePatch.js +106 -0
- package/dist/gateway/v1/udproute.d.ts +66 -0
- package/dist/gateway/v1/udproute.js +100 -0
- package/dist/gateway/v1/udprouteList.d.ts +69 -0
- package/dist/gateway/v1/udprouteList.js +97 -0
- package/dist/gateway/v1/udproutePatch.d.ts +72 -0
- package/dist/gateway/v1/udproutePatch.js +106 -0
- package/dist/gateway/v1alpha2/tcproute.js +2 -0
- package/dist/gateway/v1alpha2/tcproutePatch.js +2 -0
- package/dist/gateway/v1alpha2/udproute.js +2 -0
- package/dist/gateway/v1alpha2/udproutePatch.js +2 -0
- package/dist/types/input.d.ts +10401 -2343
- package/dist/types/output.d.ts +11008 -2389
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1 +1,15 @@
|
|
|
1
1
|
# @kilic.dev/pulumi-k8s-crds
|
|
2
|
+
|
|
3
|
+
Pulumi resource types generated from upstream CRD manifests by [crd2pulumi](https://github.com/pulumi/crd2pulumi).
|
|
4
|
+
|
|
5
|
+
## Generation
|
|
6
|
+
|
|
7
|
+
`./generate.sh` pins one version variable per upstream project and fetches the CRD YAML at that tag. Renovate updates the pins; the CI `generate` job runs the script and passes `src/` to `build` as an artifact.
|
|
8
|
+
|
|
9
|
+
`src/` is **not committed** — it is regenerated on every build. Run `pnpm run generate:src` locally (needs `crd2pulumi` on `PATH`) before anything that typechecks against these types.
|
|
10
|
+
|
|
11
|
+
Adding a CRD means adding its manifest URL to `generate.sh`. **Every apiVersion the manifest serves is emitted**, so a CRD that serves both `v1` and `v1alpha2` produces both without listing either — but a project that ships one file per version directory (cilium) needs the URL for the version you want.
|
|
12
|
+
|
|
13
|
+
## Searching this package
|
|
14
|
+
|
|
15
|
+
`.rgignore` excludes the generated tree, so **ripgrep silently returns nothing here**. A negative result from `rg` is meaningless — use `git grep`, `find`, or a directory listing before concluding a type is absent.
|
|
@@ -3,7 +3,7 @@ import * as inputs from "../../types/input";
|
|
|
3
3
|
import * as outputs from "../../types/output";
|
|
4
4
|
/**
|
|
5
5
|
* CiliumLoadBalancerIPPool is a Kubernetes third-party resource which
|
|
6
|
-
* is used to defined pools of IPs which the operator can use to
|
|
6
|
+
* is used to defined pools of IPs which the operator can use to allocate
|
|
7
7
|
* and advertise IPs for Services of type LoadBalancer.
|
|
8
8
|
*/
|
|
9
9
|
export declare class CiliumLoadBalancerIPPool extends pulumi.CustomResource {
|
|
@@ -40,7 +40,7 @@ const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
|
40
40
|
const utilities = __importStar(require("../../utilities"));
|
|
41
41
|
/**
|
|
42
42
|
* CiliumLoadBalancerIPPool is a Kubernetes third-party resource which
|
|
43
|
-
* is used to defined pools of IPs which the operator can use to
|
|
43
|
+
* is used to defined pools of IPs which the operator can use to allocate
|
|
44
44
|
* and advertise IPs for Services of type LoadBalancer.
|
|
45
45
|
*/
|
|
46
46
|
class CiliumLoadBalancerIPPool extends pulumi.CustomResource {
|
|
@@ -9,7 +9,7 @@ import * as outputs from "../../types/output";
|
|
|
9
9
|
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
10
10
|
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
11
11
|
* CiliumLoadBalancerIPPool is a Kubernetes third-party resource which
|
|
12
|
-
* is used to defined pools of IPs which the operator can use to
|
|
12
|
+
* is used to defined pools of IPs which the operator can use to allocate
|
|
13
13
|
* and advertise IPs for Services of type LoadBalancer.
|
|
14
14
|
*/
|
|
15
15
|
export declare class CiliumLoadBalancerIPPoolPatch extends pulumi.CustomResource {
|
|
@@ -46,7 +46,7 @@ const utilities = __importStar(require("../../utilities"));
|
|
|
46
46
|
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
47
47
|
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
48
48
|
* CiliumLoadBalancerIPPool is a Kubernetes third-party resource which
|
|
49
|
-
* is used to defined pools of IPs which the operator can use to
|
|
49
|
+
* is used to defined pools of IPs which the operator can use to allocate
|
|
50
50
|
* and advertise IPs for Services of type LoadBalancer.
|
|
51
51
|
*/
|
|
52
52
|
class CiliumLoadBalancerIPPoolPatch extends pulumi.CustomResource {
|
|
@@ -3,7 +3,7 @@ import * as inputs from "../../types/input";
|
|
|
3
3
|
import * as outputs from "../../types/output";
|
|
4
4
|
/**
|
|
5
5
|
* CiliumLoadBalancerIPPool is a Kubernetes third-party resource which
|
|
6
|
-
* is used to defined pools of IPs which the operator can use to
|
|
6
|
+
* is used to defined pools of IPs which the operator can use to allocate
|
|
7
7
|
* and advertise IPs for Services of type LoadBalancer.
|
|
8
8
|
*/
|
|
9
9
|
export declare class CiliumLoadBalancerIPPool extends pulumi.CustomResource {
|
|
@@ -40,7 +40,7 @@ const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
|
40
40
|
const utilities = __importStar(require("../../utilities"));
|
|
41
41
|
/**
|
|
42
42
|
* CiliumLoadBalancerIPPool is a Kubernetes third-party resource which
|
|
43
|
-
* is used to defined pools of IPs which the operator can use to
|
|
43
|
+
* is used to defined pools of IPs which the operator can use to allocate
|
|
44
44
|
* and advertise IPs for Services of type LoadBalancer.
|
|
45
45
|
*/
|
|
46
46
|
class CiliumLoadBalancerIPPool extends pulumi.CustomResource {
|
|
@@ -9,7 +9,7 @@ import * as outputs from "../../types/output";
|
|
|
9
9
|
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
10
10
|
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
11
11
|
* CiliumLoadBalancerIPPool is a Kubernetes third-party resource which
|
|
12
|
-
* is used to defined pools of IPs which the operator can use to
|
|
12
|
+
* is used to defined pools of IPs which the operator can use to allocate
|
|
13
13
|
* and advertise IPs for Services of type LoadBalancer.
|
|
14
14
|
*/
|
|
15
15
|
export declare class CiliumLoadBalancerIPPoolPatch extends pulumi.CustomResource {
|
|
@@ -46,7 +46,7 @@ const utilities = __importStar(require("../../utilities"));
|
|
|
46
46
|
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
47
47
|
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
48
48
|
* CiliumLoadBalancerIPPool is a Kubernetes third-party resource which
|
|
49
|
-
* is used to defined pools of IPs which the operator can use to
|
|
49
|
+
* is used to defined pools of IPs which the operator can use to allocate
|
|
50
50
|
* and advertise IPs for Services of type LoadBalancer.
|
|
51
51
|
*/
|
|
52
52
|
class CiliumLoadBalancerIPPoolPatch extends pulumi.CustomResource {
|
|
@@ -4,6 +4,8 @@ import * as outputs from "../../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Gateway represents an instance of a service-traffic handling infrastructure
|
|
6
6
|
* by binding Listeners to a set of IP addresses.
|
|
7
|
+
* A Gateway name SHOULD be compliant with RFC 1035, consisting of a maximum of 63 lower case alphanumeric
|
|
8
|
+
* characters or hyphens ('-'), and MUST start and end with an alphanumeric character.
|
|
7
9
|
*/
|
|
8
10
|
export declare class Gateway extends pulumi.CustomResource {
|
|
9
11
|
/**
|
|
@@ -41,6 +41,8 @@ const utilities = __importStar(require("../../utilities"));
|
|
|
41
41
|
/**
|
|
42
42
|
* Gateway represents an instance of a service-traffic handling infrastructure
|
|
43
43
|
* by binding Listeners to a set of IP addresses.
|
|
44
|
+
* A Gateway name SHOULD be compliant with RFC 1035, consisting of a maximum of 63 lower case alphanumeric
|
|
45
|
+
* characters or hyphens ('-'), and MUST start and end with an alphanumeric character.
|
|
44
46
|
*/
|
|
45
47
|
class Gateway extends pulumi.CustomResource {
|
|
46
48
|
/**
|
|
@@ -19,6 +19,9 @@ import * as outputs from "../../types/output";
|
|
|
19
19
|
* Gateway is not deleted while in use.
|
|
20
20
|
*
|
|
21
21
|
* GatewayClass is a Cluster level resource.
|
|
22
|
+
*
|
|
23
|
+
* A GatewayClass name SHOULD be compliant with RFC 1035, consisting of a maximum of 63 lower case alphanumeric
|
|
24
|
+
* characters or hyphens ('-'), and MUST start and end with an alphanumeric character.
|
|
22
25
|
*/
|
|
23
26
|
export declare class GatewayClass extends pulumi.CustomResource {
|
|
24
27
|
/**
|
|
@@ -56,6 +56,9 @@ const utilities = __importStar(require("../../utilities"));
|
|
|
56
56
|
* Gateway is not deleted while in use.
|
|
57
57
|
*
|
|
58
58
|
* GatewayClass is a Cluster level resource.
|
|
59
|
+
*
|
|
60
|
+
* A GatewayClass name SHOULD be compliant with RFC 1035, consisting of a maximum of 63 lower case alphanumeric
|
|
61
|
+
* characters or hyphens ('-'), and MUST start and end with an alphanumeric character.
|
|
59
62
|
*/
|
|
60
63
|
class GatewayClass extends pulumi.CustomResource {
|
|
61
64
|
/**
|
|
@@ -25,6 +25,9 @@ import * as outputs from "../../types/output";
|
|
|
25
25
|
* Gateway is not deleted while in use.
|
|
26
26
|
*
|
|
27
27
|
* GatewayClass is a Cluster level resource.
|
|
28
|
+
*
|
|
29
|
+
* A GatewayClass name SHOULD be compliant with RFC 1035, consisting of a maximum of 63 lower case alphanumeric
|
|
30
|
+
* characters or hyphens ('-'), and MUST start and end with an alphanumeric character.
|
|
28
31
|
*/
|
|
29
32
|
export declare class GatewayClassPatch extends pulumi.CustomResource {
|
|
30
33
|
/**
|
|
@@ -62,6 +62,9 @@ const utilities = __importStar(require("../../utilities"));
|
|
|
62
62
|
* Gateway is not deleted while in use.
|
|
63
63
|
*
|
|
64
64
|
* GatewayClass is a Cluster level resource.
|
|
65
|
+
*
|
|
66
|
+
* A GatewayClass name SHOULD be compliant with RFC 1035, consisting of a maximum of 63 lower case alphanumeric
|
|
67
|
+
* characters or hyphens ('-'), and MUST start and end with an alphanumeric character.
|
|
65
68
|
*/
|
|
66
69
|
class GatewayClassPatch extends pulumi.CustomResource {
|
|
67
70
|
/**
|
|
@@ -10,6 +10,8 @@ import * as outputs from "../../types/output";
|
|
|
10
10
|
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
11
11
|
* Gateway represents an instance of a service-traffic handling infrastructure
|
|
12
12
|
* by binding Listeners to a set of IP addresses.
|
|
13
|
+
* A Gateway name SHOULD be compliant with RFC 1035, consisting of a maximum of 63 lower case alphanumeric
|
|
14
|
+
* characters or hyphens ('-'), and MUST start and end with an alphanumeric character.
|
|
13
15
|
*/
|
|
14
16
|
export declare class GatewayPatch extends pulumi.CustomResource {
|
|
15
17
|
/**
|
|
@@ -47,6 +47,8 @@ const utilities = __importStar(require("../../utilities"));
|
|
|
47
47
|
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
48
48
|
* Gateway represents an instance of a service-traffic handling infrastructure
|
|
49
49
|
* by binding Listeners to a set of IP addresses.
|
|
50
|
+
* A Gateway name SHOULD be compliant with RFC 1035, consisting of a maximum of 63 lower case alphanumeric
|
|
51
|
+
* characters or hyphens ('-'), and MUST start and end with an alphanumeric character.
|
|
50
52
|
*/
|
|
51
53
|
class GatewayPatch extends pulumi.CustomResource {
|
|
52
54
|
/**
|
|
@@ -61,6 +61,15 @@ export declare const ReferenceGrantList: typeof import("./referenceGrantList").R
|
|
|
61
61
|
export { ReferenceGrantPatchArgs } from "./referenceGrantPatch";
|
|
62
62
|
export type ReferenceGrantPatch = import("./referenceGrantPatch").ReferenceGrantPatch;
|
|
63
63
|
export declare const ReferenceGrantPatch: typeof import("./referenceGrantPatch").ReferenceGrantPatch;
|
|
64
|
+
export { TCPRouteArgs } from "./tcproute";
|
|
65
|
+
export type TCPRoute = import("./tcproute").TCPRoute;
|
|
66
|
+
export declare const TCPRoute: typeof import("./tcproute").TCPRoute;
|
|
67
|
+
export { TCPRouteListArgs } from "./tcprouteList";
|
|
68
|
+
export type TCPRouteList = import("./tcprouteList").TCPRouteList;
|
|
69
|
+
export declare const TCPRouteList: typeof import("./tcprouteList").TCPRouteList;
|
|
70
|
+
export { TCPRoutePatchArgs } from "./tcproutePatch";
|
|
71
|
+
export type TCPRoutePatch = import("./tcproutePatch").TCPRoutePatch;
|
|
72
|
+
export declare const TCPRoutePatch: typeof import("./tcproutePatch").TCPRoutePatch;
|
|
64
73
|
export { TLSRouteArgs } from "./tlsroute";
|
|
65
74
|
export type TLSRoute = import("./tlsroute").TLSRoute;
|
|
66
75
|
export declare const TLSRoute: typeof import("./tlsroute").TLSRoute;
|
|
@@ -70,3 +79,12 @@ export declare const TLSRouteList: typeof import("./tlsrouteList").TLSRouteList;
|
|
|
70
79
|
export { TLSRoutePatchArgs } from "./tlsroutePatch";
|
|
71
80
|
export type TLSRoutePatch = import("./tlsroutePatch").TLSRoutePatch;
|
|
72
81
|
export declare const TLSRoutePatch: typeof import("./tlsroutePatch").TLSRoutePatch;
|
|
82
|
+
export { UDPRouteArgs } from "./udproute";
|
|
83
|
+
export type UDPRoute = import("./udproute").UDPRoute;
|
|
84
|
+
export declare const UDPRoute: typeof import("./udproute").UDPRoute;
|
|
85
|
+
export { UDPRouteListArgs } from "./udprouteList";
|
|
86
|
+
export type UDPRouteList = import("./udprouteList").UDPRouteList;
|
|
87
|
+
export declare const UDPRouteList: typeof import("./udprouteList").UDPRouteList;
|
|
88
|
+
export { UDPRoutePatchArgs } from "./udproutePatch";
|
|
89
|
+
export type UDPRoutePatch = import("./udproutePatch").UDPRoutePatch;
|
|
90
|
+
export declare const UDPRoutePatch: typeof import("./udproutePatch").UDPRoutePatch;
|
package/dist/gateway/v1/index.js
CHANGED
|
@@ -35,7 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
};
|
|
36
36
|
})();
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.TLSRoutePatch = exports.TLSRouteList = exports.TLSRoute = exports.ReferenceGrantPatch = exports.ReferenceGrantList = exports.ReferenceGrant = exports.ListenerSetPatch = exports.ListenerSetList = exports.ListenerSet = exports.HTTPRoutePatch = exports.HTTPRouteList = exports.HTTPRoute = exports.GRPCRoutePatch = exports.GRPCRouteList = exports.GRPCRoute = exports.GatewayPatch = exports.GatewayList = exports.GatewayClassPatch = exports.GatewayClassList = exports.GatewayClass = exports.Gateway = exports.BackendTLSPolicyPatch = exports.BackendTLSPolicyList = exports.BackendTLSPolicy = void 0;
|
|
38
|
+
exports.UDPRoutePatch = exports.UDPRouteList = exports.UDPRoute = exports.TLSRoutePatch = exports.TLSRouteList = exports.TLSRoute = exports.TCPRoutePatch = exports.TCPRouteList = exports.TCPRoute = exports.ReferenceGrantPatch = exports.ReferenceGrantList = exports.ReferenceGrant = exports.ListenerSetPatch = exports.ListenerSetList = exports.ListenerSet = exports.HTTPRoutePatch = exports.HTTPRouteList = exports.HTTPRoute = exports.GRPCRoutePatch = exports.GRPCRouteList = exports.GRPCRoute = exports.GatewayPatch = exports.GatewayList = exports.GatewayClassPatch = exports.GatewayClassList = exports.GatewayClass = exports.Gateway = exports.BackendTLSPolicyPatch = exports.BackendTLSPolicyList = exports.BackendTLSPolicy = void 0;
|
|
39
39
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
40
|
const utilities = __importStar(require("../../utilities"));
|
|
41
41
|
exports.BackendTLSPolicy = null;
|
|
@@ -80,12 +80,24 @@ exports.ReferenceGrantList = null;
|
|
|
80
80
|
utilities.lazyLoad(exports, ["ReferenceGrantList"], () => require("./referenceGrantList"));
|
|
81
81
|
exports.ReferenceGrantPatch = null;
|
|
82
82
|
utilities.lazyLoad(exports, ["ReferenceGrantPatch"], () => require("./referenceGrantPatch"));
|
|
83
|
+
exports.TCPRoute = null;
|
|
84
|
+
utilities.lazyLoad(exports, ["TCPRoute"], () => require("./tcproute"));
|
|
85
|
+
exports.TCPRouteList = null;
|
|
86
|
+
utilities.lazyLoad(exports, ["TCPRouteList"], () => require("./tcprouteList"));
|
|
87
|
+
exports.TCPRoutePatch = null;
|
|
88
|
+
utilities.lazyLoad(exports, ["TCPRoutePatch"], () => require("./tcproutePatch"));
|
|
83
89
|
exports.TLSRoute = null;
|
|
84
90
|
utilities.lazyLoad(exports, ["TLSRoute"], () => require("./tlsroute"));
|
|
85
91
|
exports.TLSRouteList = null;
|
|
86
92
|
utilities.lazyLoad(exports, ["TLSRouteList"], () => require("./tlsrouteList"));
|
|
87
93
|
exports.TLSRoutePatch = null;
|
|
88
94
|
utilities.lazyLoad(exports, ["TLSRoutePatch"], () => require("./tlsroutePatch"));
|
|
95
|
+
exports.UDPRoute = null;
|
|
96
|
+
utilities.lazyLoad(exports, ["UDPRoute"], () => require("./udproute"));
|
|
97
|
+
exports.UDPRouteList = null;
|
|
98
|
+
utilities.lazyLoad(exports, ["UDPRouteList"], () => require("./udprouteList"));
|
|
99
|
+
exports.UDPRoutePatch = null;
|
|
100
|
+
utilities.lazyLoad(exports, ["UDPRoutePatch"], () => require("./udproutePatch"));
|
|
89
101
|
const _module = {
|
|
90
102
|
version: utilities.getVersion(),
|
|
91
103
|
construct: (name, type, urn) => {
|
|
@@ -132,12 +144,24 @@ const _module = {
|
|
|
132
144
|
return new exports.ReferenceGrantList(name, undefined, { urn });
|
|
133
145
|
case "kubernetes:gateway.networking.k8s.io/v1:ReferenceGrantPatch":
|
|
134
146
|
return new exports.ReferenceGrantPatch(name, undefined, { urn });
|
|
147
|
+
case "kubernetes:gateway.networking.k8s.io/v1:TCPRoute":
|
|
148
|
+
return new exports.TCPRoute(name, undefined, { urn });
|
|
149
|
+
case "kubernetes:gateway.networking.k8s.io/v1:TCPRouteList":
|
|
150
|
+
return new exports.TCPRouteList(name, undefined, { urn });
|
|
151
|
+
case "kubernetes:gateway.networking.k8s.io/v1:TCPRoutePatch":
|
|
152
|
+
return new exports.TCPRoutePatch(name, undefined, { urn });
|
|
135
153
|
case "kubernetes:gateway.networking.k8s.io/v1:TLSRoute":
|
|
136
154
|
return new exports.TLSRoute(name, undefined, { urn });
|
|
137
155
|
case "kubernetes:gateway.networking.k8s.io/v1:TLSRouteList":
|
|
138
156
|
return new exports.TLSRouteList(name, undefined, { urn });
|
|
139
157
|
case "kubernetes:gateway.networking.k8s.io/v1:TLSRoutePatch":
|
|
140
158
|
return new exports.TLSRoutePatch(name, undefined, { urn });
|
|
159
|
+
case "kubernetes:gateway.networking.k8s.io/v1:UDPRoute":
|
|
160
|
+
return new exports.UDPRoute(name, undefined, { urn });
|
|
161
|
+
case "kubernetes:gateway.networking.k8s.io/v1:UDPRouteList":
|
|
162
|
+
return new exports.UDPRouteList(name, undefined, { urn });
|
|
163
|
+
case "kubernetes:gateway.networking.k8s.io/v1:UDPRoutePatch":
|
|
164
|
+
return new exports.UDPRoutePatch(name, undefined, { urn });
|
|
141
165
|
default:
|
|
142
166
|
throw new Error(`unknown resource type ${type}`);
|
|
143
167
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* TCPRoute provides a way to route TCP requests. When combined with a Gateway
|
|
6
|
+
* listener, it can be used to forward connections on the port specified by the
|
|
7
|
+
* listener to a set of backends specified by the TCPRoute.
|
|
8
|
+
*/
|
|
9
|
+
export declare class TCPRoute extends pulumi.CustomResource {
|
|
10
|
+
/**
|
|
11
|
+
* Get an existing TCPRoute resource's state with the given name, ID, and optional extra
|
|
12
|
+
* properties used to qualify the lookup.
|
|
13
|
+
*
|
|
14
|
+
* @param name The _unique_ name of the resulting resource.
|
|
15
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TCPRoute;
|
|
19
|
+
/** @internal */
|
|
20
|
+
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:TCPRoute";
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of TCPRoute. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj: any): obj is TCPRoute;
|
|
26
|
+
/**
|
|
27
|
+
* 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
|
|
28
|
+
*/
|
|
29
|
+
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
|
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<"TCPRoute">;
|
|
34
|
+
/**
|
|
35
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
36
|
+
*/
|
|
37
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
|
38
|
+
readonly spec: pulumi.Output<outputs.gateway.v1.TCPRouteSpec>;
|
|
39
|
+
readonly status: pulumi.Output<outputs.gateway.v1.TCPRouteStatus>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a TCPRoute 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: string, args?: TCPRouteArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The set of arguments for constructing a TCPRoute resource.
|
|
51
|
+
*/
|
|
52
|
+
export interface TCPRouteArgs {
|
|
53
|
+
/**
|
|
54
|
+
* 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
|
|
55
|
+
*/
|
|
56
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1" | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* 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
|
|
59
|
+
*/
|
|
60
|
+
kind?: pulumi.Input<"TCPRoute" | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
63
|
+
*/
|
|
64
|
+
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta | undefined>;
|
|
65
|
+
spec?: pulumi.Input<inputs.gateway.v1.TCPRouteSpec | undefined>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.TCPRoute = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* TCPRoute provides a way to route TCP requests. When combined with a Gateway
|
|
43
|
+
* listener, it can be used to forward connections on the port specified by the
|
|
44
|
+
* listener to a set of backends specified by the TCPRoute.
|
|
45
|
+
*/
|
|
46
|
+
class TCPRoute extends pulumi.CustomResource {
|
|
47
|
+
/**
|
|
48
|
+
* Get an existing TCPRoute resource's state with the given name, ID, and optional extra
|
|
49
|
+
* properties used to qualify the lookup.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resulting resource.
|
|
52
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name, id, opts) {
|
|
56
|
+
return new TCPRoute(name, undefined, { ...opts, id: id });
|
|
57
|
+
}
|
|
58
|
+
/** @internal */
|
|
59
|
+
static __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:TCPRoute';
|
|
60
|
+
/**
|
|
61
|
+
* Returns true if the given object is an instance of TCPRoute. This is designed to work even
|
|
62
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
|
+
*/
|
|
64
|
+
static isInstance(obj) {
|
|
65
|
+
if (obj === undefined || obj === null) {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
return obj['__pulumiType'] === TCPRoute.__pulumiType;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Create a TCPRoute resource with the given unique name, arguments, and options.
|
|
72
|
+
*
|
|
73
|
+
* @param name The _unique_ name of the resource.
|
|
74
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
75
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
76
|
+
*/
|
|
77
|
+
constructor(name, args, opts) {
|
|
78
|
+
let resourceInputs = {};
|
|
79
|
+
opts = opts || {};
|
|
80
|
+
if (!opts.id) {
|
|
81
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
|
82
|
+
resourceInputs["kind"] = "TCPRoute";
|
|
83
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
84
|
+
resourceInputs["spec"] = args?.spec;
|
|
85
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
93
|
+
}
|
|
94
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
95
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoute" }] };
|
|
96
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
97
|
+
super(TCPRoute.__pulumiType, name, resourceInputs, opts);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.TCPRoute = TCPRoute;
|
|
@@ -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
|
+
* TCPRouteList is a list of TCPRoute
|
|
6
|
+
*/
|
|
7
|
+
export declare class TCPRouteList extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing TCPRouteList resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TCPRouteList;
|
|
17
|
+
/** @internal */
|
|
18
|
+
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:TCPRouteList";
|
|
19
|
+
/**
|
|
20
|
+
* Returns true if the given object is an instance of TCPRouteList. This is designed to work even
|
|
21
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
22
|
+
*/
|
|
23
|
+
static isInstance(obj: any): obj is TCPRouteList;
|
|
24
|
+
/**
|
|
25
|
+
* 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
|
|
26
|
+
*/
|
|
27
|
+
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
|
28
|
+
/**
|
|
29
|
+
* List of tcproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
30
|
+
*/
|
|
31
|
+
readonly items: pulumi.Output<outputs.gateway.v1.TCPRoute[]>;
|
|
32
|
+
/**
|
|
33
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
34
|
+
*/
|
|
35
|
+
readonly kind: pulumi.Output<"TCPRouteList">;
|
|
36
|
+
/**
|
|
37
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
38
|
+
*/
|
|
39
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a TCPRouteList 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: string, args?: TCPRouteListArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The set of arguments for constructing a TCPRouteList resource.
|
|
51
|
+
*/
|
|
52
|
+
export interface TCPRouteListArgs {
|
|
53
|
+
/**
|
|
54
|
+
* 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
|
|
55
|
+
*/
|
|
56
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1" | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* List of tcproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
59
|
+
*/
|
|
60
|
+
items: pulumi.Input<pulumi.Input<inputs.gateway.v1.TCPRoute>[]>;
|
|
61
|
+
/**
|
|
62
|
+
* 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
|
|
63
|
+
*/
|
|
64
|
+
kind?: pulumi.Input<"TCPRouteList" | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
67
|
+
*/
|
|
68
|
+
metadata?: pulumi.Input<inputs.meta.v1.ListMeta | undefined>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.TCPRouteList = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* TCPRouteList is a list of TCPRoute
|
|
43
|
+
*/
|
|
44
|
+
class TCPRouteList extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing TCPRouteList resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name, id, opts) {
|
|
54
|
+
return new TCPRouteList(name, undefined, { ...opts, id: id });
|
|
55
|
+
}
|
|
56
|
+
/** @internal */
|
|
57
|
+
static __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:TCPRouteList';
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of TCPRouteList. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === TCPRouteList.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Create a TCPRouteList resource with the given unique name, arguments, and options.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resource.
|
|
72
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
73
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
74
|
+
*/
|
|
75
|
+
constructor(name, args, opts) {
|
|
76
|
+
let resourceInputs = {};
|
|
77
|
+
opts = opts || {};
|
|
78
|
+
if (!opts.id) {
|
|
79
|
+
if (args?.items === undefined && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'items'");
|
|
81
|
+
}
|
|
82
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
|
83
|
+
resourceInputs["items"] = args?.items;
|
|
84
|
+
resourceInputs["kind"] = "TCPRouteList";
|
|
85
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["items"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
92
|
+
}
|
|
93
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
|
+
super(TCPRouteList.__pulumiType, name, resourceInputs, opts);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.TCPRouteList = TCPRouteList;
|