pulumi-extra-crds 1.0.0 → 1.0.13
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/.crd2pulumi-checksum +1 -0
- package/.github/workflows/generate.yml +31 -28
- package/CHANGELOG.md +100 -0
- package/LICENSE +201 -0
- package/README.md +325 -0
- package/crd2pulumi.tar.gz +0 -0
- package/generated/crds/README.md +14 -0
- package/generated/crds/acme/index.d.ts +2 -0
- package/generated/crds/acme/index.js +8 -0
- package/generated/crds/acme/index.ts +11 -0
- package/generated/crds/acme/v1/challenge.d.ts +64 -0
- package/generated/crds/acme/v1/challenge.js +63 -0
- package/generated/crds/acme/v1/challenge.ts +99 -0
- package/generated/crds/acme/v1/challengeList.d.ts +69 -0
- package/generated/crds/acme/v1/challengeList.js +64 -0
- package/generated/crds/acme/v1/challengeList.ts +105 -0
- package/generated/crds/acme/v1/challengePatch.d.ts +70 -0
- package/generated/crds/acme/v1/challengePatch.js +69 -0
- package/generated/crds/acme/v1/challengePatch.ts +105 -0
- package/generated/crds/acme/v1/index.d.ts +18 -0
- package/generated/crds/acme/v1/index.js +41 -0
- package/generated/crds/acme/v1/index.ts +60 -0
- package/generated/crds/acme/v1/order.d.ts +64 -0
- package/generated/crds/acme/v1/order.js +63 -0
- package/generated/crds/acme/v1/order.ts +99 -0
- package/generated/crds/acme/v1/orderList.d.ts +69 -0
- package/generated/crds/acme/v1/orderList.js +64 -0
- package/generated/crds/acme/v1/orderList.ts +105 -0
- package/generated/crds/acme/v1/orderPatch.d.ts +70 -0
- package/generated/crds/acme/v1/orderPatch.js +69 -0
- package/generated/crds/acme/v1/orderPatch.ts +105 -0
- package/generated/crds/cert_manager/index.d.ts +2 -0
- package/generated/crds/cert_manager/index.js +8 -0
- package/generated/crds/cert_manager/index.ts +11 -0
- package/generated/crds/cert_manager/v1/certificate.d.ts +67 -0
- package/generated/crds/cert_manager/v1/certificate.js +66 -0
- package/generated/crds/cert_manager/v1/certificate.ts +102 -0
- package/generated/crds/cert_manager/v1/certificateList.d.ts +69 -0
- package/generated/crds/cert_manager/v1/certificateList.js +64 -0
- package/generated/crds/cert_manager/v1/certificateList.ts +105 -0
- package/generated/crds/cert_manager/v1/certificatePatch.d.ts +73 -0
- package/generated/crds/cert_manager/v1/certificatePatch.js +72 -0
- package/generated/crds/cert_manager/v1/certificatePatch.ts +108 -0
- package/generated/crds/cert_manager/v1/certificateRequest.d.ts +72 -0
- package/generated/crds/cert_manager/v1/certificateRequest.js +71 -0
- package/generated/crds/cert_manager/v1/certificateRequest.ts +107 -0
- package/generated/crds/cert_manager/v1/certificateRequestList.d.ts +69 -0
- package/generated/crds/cert_manager/v1/certificateRequestList.js +64 -0
- package/generated/crds/cert_manager/v1/certificateRequestList.ts +105 -0
- package/generated/crds/cert_manager/v1/certificateRequestPatch.d.ts +78 -0
- package/generated/crds/cert_manager/v1/certificateRequestPatch.js +77 -0
- package/generated/crds/cert_manager/v1/certificateRequestPatch.ts +113 -0
- package/generated/crds/cert_manager/v1/clusterIssuer.d.ts +68 -0
- package/generated/crds/cert_manager/v1/clusterIssuer.js +67 -0
- package/generated/crds/cert_manager/v1/clusterIssuer.ts +103 -0
- package/generated/crds/cert_manager/v1/clusterIssuerList.d.ts +69 -0
- package/generated/crds/cert_manager/v1/clusterIssuerList.js +64 -0
- package/generated/crds/cert_manager/v1/clusterIssuerList.ts +105 -0
- package/generated/crds/cert_manager/v1/clusterIssuerPatch.d.ts +74 -0
- package/generated/crds/cert_manager/v1/clusterIssuerPatch.js +73 -0
- package/generated/crds/cert_manager/v1/clusterIssuerPatch.ts +109 -0
- package/generated/crds/cert_manager/v1/index.d.ts +36 -0
- package/generated/crds/cert_manager/v1/index.js +65 -0
- package/generated/crds/cert_manager/v1/index.ts +102 -0
- package/generated/crds/cert_manager/v1/issuer.d.ts +67 -0
- package/generated/crds/cert_manager/v1/issuer.js +66 -0
- package/generated/crds/cert_manager/v1/issuer.ts +102 -0
- package/generated/crds/cert_manager/v1/issuerList.d.ts +69 -0
- package/generated/crds/cert_manager/v1/issuerList.js +64 -0
- package/generated/crds/cert_manager/v1/issuerList.ts +105 -0
- package/generated/crds/cert_manager/v1/issuerPatch.d.ts +73 -0
- package/generated/crds/cert_manager/v1/issuerPatch.js +72 -0
- package/generated/crds/cert_manager/v1/issuerPatch.ts +108 -0
- package/generated/crds/gateway/index.d.ts +5 -0
- package/generated/crds/gateway/index.js +14 -0
- package/generated/crds/gateway/index.ts +17 -0
- package/generated/crds/gateway/v1/gateway.d.ts +65 -0
- package/generated/crds/gateway/v1/gateway.js +66 -0
- package/generated/crds/gateway/v1/gateway.ts +102 -0
- package/generated/crds/gateway/v1/gatewayClass.d.ts +80 -0
- package/generated/crds/gateway/v1/gatewayClass.js +81 -0
- package/generated/crds/gateway/v1/gatewayClass.ts +117 -0
- package/generated/crds/gateway/v1/gatewayClassList.d.ts +69 -0
- package/generated/crds/gateway/v1/gatewayClassList.js +64 -0
- package/generated/crds/gateway/v1/gatewayClassList.ts +105 -0
- package/generated/crds/gateway/v1/gatewayClassPatch.d.ts +86 -0
- package/generated/crds/gateway/v1/gatewayClassPatch.js +87 -0
- package/generated/crds/gateway/v1/gatewayClassPatch.ts +123 -0
- package/generated/crds/gateway/v1/gatewayList.d.ts +69 -0
- package/generated/crds/gateway/v1/gatewayList.js +64 -0
- package/generated/crds/gateway/v1/gatewayList.ts +105 -0
- package/generated/crds/gateway/v1/gatewayPatch.d.ts +71 -0
- package/generated/crds/gateway/v1/gatewayPatch.js +72 -0
- package/generated/crds/gateway/v1/gatewayPatch.ts +108 -0
- package/generated/crds/gateway/v1/grpcroute.d.ts +90 -0
- package/generated/crds/gateway/v1/grpcroute.js +91 -0
- package/generated/crds/gateway/v1/grpcroute.ts +127 -0
- package/generated/crds/gateway/v1/grpcrouteList.d.ts +69 -0
- package/generated/crds/gateway/v1/grpcrouteList.js +64 -0
- package/generated/crds/gateway/v1/grpcrouteList.ts +105 -0
- package/generated/crds/gateway/v1/grpcroutePatch.d.ts +96 -0
- package/generated/crds/gateway/v1/grpcroutePatch.js +97 -0
- package/generated/crds/gateway/v1/grpcroutePatch.ts +133 -0
- package/generated/crds/gateway/v1/httproute.d.ts +67 -0
- package/generated/crds/gateway/v1/httproute.js +68 -0
- package/generated/crds/gateway/v1/httproute.ts +104 -0
- package/generated/crds/gateway/v1/httprouteList.d.ts +69 -0
- package/generated/crds/gateway/v1/httprouteList.js +64 -0
- package/generated/crds/gateway/v1/httprouteList.ts +105 -0
- package/generated/crds/gateway/v1/httproutePatch.d.ts +73 -0
- package/generated/crds/gateway/v1/httproutePatch.js +74 -0
- package/generated/crds/gateway/v1/httproutePatch.ts +110 -0
- package/generated/crds/gateway/v1/index.d.ts +36 -0
- package/generated/crds/gateway/v1/index.js +65 -0
- package/generated/crds/gateway/v1/index.ts +102 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicy.d.ts +65 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicy.js +64 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicy.ts +100 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicyList.d.ts +69 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicyList.js +64 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicyList.ts +105 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicyPatch.d.ts +71 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicyPatch.js +70 -0
- package/generated/crds/gateway/v1alpha2/backendLBPolicyPatch.ts +106 -0
- package/generated/crds/gateway/v1alpha2/grpcroute.d.ts +90 -0
- package/generated/crds/gateway/v1alpha2/grpcroute.js +91 -0
- package/generated/crds/gateway/v1alpha2/grpcroute.ts +127 -0
- package/generated/crds/gateway/v1alpha2/grpcrouteList.d.ts +69 -0
- package/generated/crds/gateway/v1alpha2/grpcrouteList.js +64 -0
- package/generated/crds/gateway/v1alpha2/grpcrouteList.ts +105 -0
- package/generated/crds/gateway/v1alpha2/grpcroutePatch.d.ts +96 -0
- package/generated/crds/gateway/v1alpha2/grpcroutePatch.js +97 -0
- package/generated/crds/gateway/v1alpha2/grpcroutePatch.ts +133 -0
- package/generated/crds/gateway/v1alpha2/index.d.ts +54 -0
- package/generated/crds/gateway/v1alpha2/index.js +89 -0
- package/generated/crds/gateway/v1alpha2/index.ts +144 -0
- package/generated/crds/gateway/v1alpha2/referenceGrant.d.ts +82 -0
- package/generated/crds/gateway/v1alpha2/referenceGrant.js +82 -0
- package/generated/crds/gateway/v1alpha2/referenceGrant.ts +117 -0
- package/generated/crds/gateway/v1alpha2/referenceGrantList.d.ts +69 -0
- package/generated/crds/gateway/v1alpha2/referenceGrantList.js +64 -0
- package/generated/crds/gateway/v1alpha2/referenceGrantList.ts +105 -0
- package/generated/crds/gateway/v1alpha2/referenceGrantPatch.d.ts +88 -0
- package/generated/crds/gateway/v1alpha2/referenceGrantPatch.js +88 -0
- package/generated/crds/gateway/v1alpha2/referenceGrantPatch.ts +123 -0
- package/generated/crds/gateway/v1alpha2/tcproute.d.ts +66 -0
- package/generated/crds/gateway/v1alpha2/tcproute.js +65 -0
- package/generated/crds/gateway/v1alpha2/tcproute.ts +101 -0
- package/generated/crds/gateway/v1alpha2/tcprouteList.d.ts +69 -0
- package/generated/crds/gateway/v1alpha2/tcprouteList.js +64 -0
- package/generated/crds/gateway/v1alpha2/tcprouteList.ts +105 -0
- package/generated/crds/gateway/v1alpha2/tcproutePatch.d.ts +72 -0
- package/generated/crds/gateway/v1alpha2/tcproutePatch.js +71 -0
- package/generated/crds/gateway/v1alpha2/tcproutePatch.ts +107 -0
- package/generated/crds/gateway/v1alpha2/tlsroute.d.ts +69 -0
- package/generated/crds/gateway/v1alpha2/tlsroute.js +68 -0
- package/generated/crds/gateway/v1alpha2/tlsroute.ts +104 -0
- package/generated/crds/gateway/v1alpha2/tlsrouteList.d.ts +69 -0
- package/generated/crds/gateway/v1alpha2/tlsrouteList.js +64 -0
- package/generated/crds/gateway/v1alpha2/tlsrouteList.ts +105 -0
- package/generated/crds/gateway/v1alpha2/tlsroutePatch.d.ts +75 -0
- package/generated/crds/gateway/v1alpha2/tlsroutePatch.js +74 -0
- package/generated/crds/gateway/v1alpha2/tlsroutePatch.ts +110 -0
- package/generated/crds/gateway/v1alpha2/udproute.d.ts +66 -0
- package/generated/crds/gateway/v1alpha2/udproute.js +65 -0
- package/generated/crds/gateway/v1alpha2/udproute.ts +101 -0
- package/generated/crds/gateway/v1alpha2/udprouteList.d.ts +69 -0
- package/generated/crds/gateway/v1alpha2/udprouteList.js +64 -0
- package/generated/crds/gateway/v1alpha2/udprouteList.ts +105 -0
- package/generated/crds/gateway/v1alpha2/udproutePatch.d.ts +72 -0
- package/generated/crds/gateway/v1alpha2/udproutePatch.js +71 -0
- package/generated/crds/gateway/v1alpha2/udproutePatch.ts +107 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicy.d.ts +65 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicy.js +64 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicy.ts +100 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicyList.d.ts +69 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicyList.js +64 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicyList.ts +105 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicyPatch.d.ts +71 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicyPatch.js +70 -0
- package/generated/crds/gateway/v1alpha3/backendTLSPolicyPatch.ts +106 -0
- package/generated/crds/gateway/v1alpha3/index.d.ts +9 -0
- package/generated/crds/gateway/v1alpha3/index.js +29 -0
- package/generated/crds/gateway/v1alpha3/index.ts +39 -0
- package/generated/crds/gateway/v1beta1/gateway.d.ts +65 -0
- package/generated/crds/gateway/v1beta1/gateway.js +66 -0
- package/generated/crds/gateway/v1beta1/gateway.ts +102 -0
- package/generated/crds/gateway/v1beta1/gatewayClass.d.ts +80 -0
- package/generated/crds/gateway/v1beta1/gatewayClass.js +81 -0
- package/generated/crds/gateway/v1beta1/gatewayClass.ts +117 -0
- package/generated/crds/gateway/v1beta1/gatewayClassList.d.ts +69 -0
- package/generated/crds/gateway/v1beta1/gatewayClassList.js +64 -0
- package/generated/crds/gateway/v1beta1/gatewayClassList.ts +105 -0
- package/generated/crds/gateway/v1beta1/gatewayClassPatch.d.ts +86 -0
- package/generated/crds/gateway/v1beta1/gatewayClassPatch.js +87 -0
- package/generated/crds/gateway/v1beta1/gatewayClassPatch.ts +123 -0
- package/generated/crds/gateway/v1beta1/gatewayList.d.ts +69 -0
- package/generated/crds/gateway/v1beta1/gatewayList.js +64 -0
- package/generated/crds/gateway/v1beta1/gatewayList.ts +105 -0
- package/generated/crds/gateway/v1beta1/gatewayPatch.d.ts +71 -0
- package/generated/crds/gateway/v1beta1/gatewayPatch.js +72 -0
- package/generated/crds/gateway/v1beta1/gatewayPatch.ts +108 -0
- package/generated/crds/gateway/v1beta1/httproute.d.ts +67 -0
- package/generated/crds/gateway/v1beta1/httproute.js +68 -0
- package/generated/crds/gateway/v1beta1/httproute.ts +104 -0
- package/generated/crds/gateway/v1beta1/httprouteList.d.ts +69 -0
- package/generated/crds/gateway/v1beta1/httprouteList.js +64 -0
- package/generated/crds/gateway/v1beta1/httprouteList.ts +105 -0
- package/generated/crds/gateway/v1beta1/httproutePatch.d.ts +73 -0
- package/generated/crds/gateway/v1beta1/httproutePatch.js +74 -0
- package/generated/crds/gateway/v1beta1/httproutePatch.ts +110 -0
- package/generated/crds/gateway/v1beta1/index.d.ts +36 -0
- package/generated/crds/gateway/v1beta1/index.js +65 -0
- package/generated/crds/gateway/v1beta1/index.ts +102 -0
- package/generated/crds/gateway/v1beta1/referenceGrant.d.ts +78 -0
- package/generated/crds/gateway/v1beta1/referenceGrant.js +78 -0
- package/generated/crds/gateway/v1beta1/referenceGrant.ts +113 -0
- package/generated/crds/gateway/v1beta1/referenceGrantList.d.ts +69 -0
- package/generated/crds/gateway/v1beta1/referenceGrantList.js +64 -0
- package/generated/crds/gateway/v1beta1/referenceGrantList.ts +105 -0
- package/generated/crds/gateway/v1beta1/referenceGrantPatch.d.ts +84 -0
- package/generated/crds/gateway/v1beta1/referenceGrantPatch.js +84 -0
- package/generated/crds/gateway/v1beta1/referenceGrantPatch.ts +119 -0
- package/generated/crds/index.d.ts +8 -0
- package/generated/crds/index.js +27 -0
- package/generated/crds/index.ts +34 -0
- package/generated/crds/meta/v1.d.ts +3 -0
- package/generated/crds/meta/v1.js +2 -0
- package/generated/crds/meta/v1.ts +4 -0
- package/generated/crds/package.json +32 -0
- package/generated/crds/provider.d.ts +23 -0
- package/generated/crds/provider.js +37 -0
- package/generated/crds/provider.ts +44 -0
- package/generated/crds/scripts/postinstall.js +13 -0
- package/generated/crds/tsconfig.json +15 -0
- package/generated/crds/types/index.d.ts +3 -0
- package/generated/crds/types/index.js +10 -0
- package/generated/crds/types/index.ts +13 -0
- package/generated/crds/types/input.d.ts +38601 -0
- package/generated/crds/types/input.js +4 -0
- package/generated/crds/types/input.ts +39421 -0
- package/generated/crds/types/output.d.ts +42150 -0
- package/generated/crds/types/output.js +4 -0
- package/generated/crds/types/output.ts +43038 -0
- package/generated/crds/utilities.d.ts +13 -0
- package/generated/crds/utilities.js +91 -0
- package/generated/crds/utilities.ts +98 -0
- package/package.json +9 -4
|
@@ -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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.GRPCRoutePatch = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
10
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
11
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
12
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
13
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
14
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
15
|
+
* GRPCRoute provides a way to route gRPC requests. This includes the capability
|
|
16
|
+
* to match requests by hostname, gRPC service, gRPC method, or HTTP/2 header.
|
|
17
|
+
* Filters can be used to specify additional processing steps. Backends specify
|
|
18
|
+
* where matching requests will be routed.
|
|
19
|
+
*
|
|
20
|
+
* GRPCRoute falls under extended support within the Gateway API. Within the
|
|
21
|
+
* following specification, the word "MUST" indicates that an implementation
|
|
22
|
+
* supporting GRPCRoute must conform to the indicated requirement, but an
|
|
23
|
+
* implementation not supporting this route type need not follow the requirement
|
|
24
|
+
* unless explicitly indicated.
|
|
25
|
+
*
|
|
26
|
+
* Implementations supporting `GRPCRoute` with the `HTTPS` `ProtocolType` MUST
|
|
27
|
+
* accept HTTP/2 connections without an initial upgrade from HTTP/1.1, i.e. via
|
|
28
|
+
* ALPN. If the implementation does not support this, then it MUST set the
|
|
29
|
+
* "Accepted" condition to "False" for the affected listener with a reason of
|
|
30
|
+
* "UnsupportedProtocol". Implementations MAY also accept HTTP/2 connections
|
|
31
|
+
* with an upgrade from HTTP/1.
|
|
32
|
+
*
|
|
33
|
+
* Implementations supporting `GRPCRoute` with the `HTTP` `ProtocolType` MUST
|
|
34
|
+
* support HTTP/2 over cleartext TCP (h2c,
|
|
35
|
+
* https://www.rfc-editor.org/rfc/rfc7540#section-3.1) without an initial
|
|
36
|
+
* upgrade from HTTP/1.1, i.e. with prior knowledge
|
|
37
|
+
* (https://www.rfc-editor.org/rfc/rfc7540#section-3.4). If the implementation
|
|
38
|
+
* does not support this, then it MUST set the "Accepted" condition to "False"
|
|
39
|
+
* for the affected listener with a reason of "UnsupportedProtocol".
|
|
40
|
+
* Implementations MAY also accept HTTP/2 connections with an upgrade from
|
|
41
|
+
* HTTP/1, i.e. without prior knowledge.
|
|
42
|
+
*/
|
|
43
|
+
class GRPCRoutePatch extends pulumi.CustomResource {
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing GRPCRoutePatch resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name, id, opts) {
|
|
53
|
+
return new GRPCRoutePatch(name, undefined, { ...opts, id: id });
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the given object is an instance of GRPCRoutePatch. This is designed to work even
|
|
57
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
+
*/
|
|
59
|
+
static isInstance(obj) {
|
|
60
|
+
if (obj === undefined || obj === null) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
return obj['__pulumiType'] === GRPCRoutePatch.__pulumiType;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Create a GRPCRoutePatch resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name, args, opts) {
|
|
73
|
+
let resourceInputs = {};
|
|
74
|
+
opts = opts || {};
|
|
75
|
+
if (!opts.id) {
|
|
76
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
|
|
77
|
+
resourceInputs["kind"] = "GRPCRoute";
|
|
78
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
79
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
80
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
88
|
+
}
|
|
89
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
90
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1:GRPCRoutePatch" }] };
|
|
91
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
92
|
+
super(GRPCRoutePatch.__pulumiType, name, resourceInputs, opts);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.GRPCRoutePatch = GRPCRoutePatch;
|
|
96
|
+
/** @internal */
|
|
97
|
+
GRPCRoutePatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:GRPCRoutePatch';
|
|
@@ -0,0 +1,133 @@
|
|
|
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
|
+
* GRPCRoute provides a way to route gRPC requests. This includes the capability
|
|
17
|
+
* to match requests by hostname, gRPC service, gRPC method, or HTTP/2 header.
|
|
18
|
+
* Filters can be used to specify additional processing steps. Backends specify
|
|
19
|
+
* where matching requests will be routed.
|
|
20
|
+
*
|
|
21
|
+
* GRPCRoute falls under extended support within the Gateway API. Within the
|
|
22
|
+
* following specification, the word "MUST" indicates that an implementation
|
|
23
|
+
* supporting GRPCRoute must conform to the indicated requirement, but an
|
|
24
|
+
* implementation not supporting this route type need not follow the requirement
|
|
25
|
+
* unless explicitly indicated.
|
|
26
|
+
*
|
|
27
|
+
* Implementations supporting `GRPCRoute` with the `HTTPS` `ProtocolType` MUST
|
|
28
|
+
* accept HTTP/2 connections without an initial upgrade from HTTP/1.1, i.e. via
|
|
29
|
+
* ALPN. If the implementation does not support this, then it MUST set the
|
|
30
|
+
* "Accepted" condition to "False" for the affected listener with a reason of
|
|
31
|
+
* "UnsupportedProtocol". Implementations MAY also accept HTTP/2 connections
|
|
32
|
+
* with an upgrade from HTTP/1.
|
|
33
|
+
*
|
|
34
|
+
* Implementations supporting `GRPCRoute` with the `HTTP` `ProtocolType` MUST
|
|
35
|
+
* support HTTP/2 over cleartext TCP (h2c,
|
|
36
|
+
* https://www.rfc-editor.org/rfc/rfc7540#section-3.1) without an initial
|
|
37
|
+
* upgrade from HTTP/1.1, i.e. with prior knowledge
|
|
38
|
+
* (https://www.rfc-editor.org/rfc/rfc7540#section-3.4). If the implementation
|
|
39
|
+
* does not support this, then it MUST set the "Accepted" condition to "False"
|
|
40
|
+
* for the affected listener with a reason of "UnsupportedProtocol".
|
|
41
|
+
* Implementations MAY also accept HTTP/2 connections with an upgrade from
|
|
42
|
+
* HTTP/1, i.e. without prior knowledge.
|
|
43
|
+
*/
|
|
44
|
+
export class GRPCRoutePatch extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing GRPCRoutePatch 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
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GRPCRoutePatch {
|
|
54
|
+
return new GRPCRoutePatch(name, undefined as any, { ...opts, id: id });
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:GRPCRoutePatch';
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Returns true if the given object is an instance of GRPCRoutePatch. This is designed to work even
|
|
62
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
|
+
*/
|
|
64
|
+
public static isInstance(obj: any): obj is GRPCRoutePatch {
|
|
65
|
+
if (obj === undefined || obj === null) {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
return obj['__pulumiType'] === GRPCRoutePatch.__pulumiType;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* 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
|
|
73
|
+
*/
|
|
74
|
+
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
|
|
75
|
+
/**
|
|
76
|
+
* 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
|
|
77
|
+
*/
|
|
78
|
+
public readonly kind!: pulumi.Output<"GRPCRoute">;
|
|
79
|
+
/**
|
|
80
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
81
|
+
*/
|
|
82
|
+
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
|
83
|
+
public readonly spec!: pulumi.Output<outputs.gateway.v1alpha2.GRPCRouteSpecPatch>;
|
|
84
|
+
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha2.GRPCRouteStatusPatch>;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Create a GRPCRoutePatch resource with the given unique name, arguments, and options.
|
|
88
|
+
*
|
|
89
|
+
* @param name The _unique_ name of the resource.
|
|
90
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
91
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
92
|
+
*/
|
|
93
|
+
constructor(name: string, args?: GRPCRoutePatchArgs, opts?: pulumi.CustomResourceOptions) {
|
|
94
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
95
|
+
opts = opts || {};
|
|
96
|
+
if (!opts.id) {
|
|
97
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
|
|
98
|
+
resourceInputs["kind"] = "GRPCRoute";
|
|
99
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
100
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
101
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
102
|
+
} else {
|
|
103
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
104
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
108
|
+
}
|
|
109
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
110
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1:GRPCRoutePatch" }] };
|
|
111
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
112
|
+
super(GRPCRoutePatch.__pulumiType, name, resourceInputs, opts);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* The set of arguments for constructing a GRPCRoutePatch resource.
|
|
118
|
+
*/
|
|
119
|
+
export interface GRPCRoutePatchArgs {
|
|
120
|
+
/**
|
|
121
|
+
* 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
|
|
122
|
+
*/
|
|
123
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
|
|
124
|
+
/**
|
|
125
|
+
* 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
|
|
126
|
+
*/
|
|
127
|
+
kind?: pulumi.Input<"GRPCRoute">;
|
|
128
|
+
/**
|
|
129
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
130
|
+
*/
|
|
131
|
+
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
|
132
|
+
spec?: pulumi.Input<inputs.gateway.v1alpha2.GRPCRouteSpecPatch>;
|
|
133
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export { BackendLBPolicyArgs } from "./backendLBPolicy";
|
|
2
|
+
export type BackendLBPolicy = import("./backendLBPolicy").BackendLBPolicy;
|
|
3
|
+
export declare const BackendLBPolicy: typeof import("./backendLBPolicy").BackendLBPolicy;
|
|
4
|
+
export { BackendLBPolicyListArgs } from "./backendLBPolicyList";
|
|
5
|
+
export type BackendLBPolicyList = import("./backendLBPolicyList").BackendLBPolicyList;
|
|
6
|
+
export declare const BackendLBPolicyList: typeof import("./backendLBPolicyList").BackendLBPolicyList;
|
|
7
|
+
export { BackendLBPolicyPatchArgs } from "./backendLBPolicyPatch";
|
|
8
|
+
export type BackendLBPolicyPatch = import("./backendLBPolicyPatch").BackendLBPolicyPatch;
|
|
9
|
+
export declare const BackendLBPolicyPatch: typeof import("./backendLBPolicyPatch").BackendLBPolicyPatch;
|
|
10
|
+
export { GRPCRouteArgs } from "./grpcroute";
|
|
11
|
+
export type GRPCRoute = import("./grpcroute").GRPCRoute;
|
|
12
|
+
export declare const GRPCRoute: typeof import("./grpcroute").GRPCRoute;
|
|
13
|
+
export { GRPCRouteListArgs } from "./grpcrouteList";
|
|
14
|
+
export type GRPCRouteList = import("./grpcrouteList").GRPCRouteList;
|
|
15
|
+
export declare const GRPCRouteList: typeof import("./grpcrouteList").GRPCRouteList;
|
|
16
|
+
export { GRPCRoutePatchArgs } from "./grpcroutePatch";
|
|
17
|
+
export type GRPCRoutePatch = import("./grpcroutePatch").GRPCRoutePatch;
|
|
18
|
+
export declare const GRPCRoutePatch: typeof import("./grpcroutePatch").GRPCRoutePatch;
|
|
19
|
+
export { ReferenceGrantArgs } from "./referenceGrant";
|
|
20
|
+
export type ReferenceGrant = import("./referenceGrant").ReferenceGrant;
|
|
21
|
+
export declare const ReferenceGrant: typeof import("./referenceGrant").ReferenceGrant;
|
|
22
|
+
export { ReferenceGrantListArgs } from "./referenceGrantList";
|
|
23
|
+
export type ReferenceGrantList = import("./referenceGrantList").ReferenceGrantList;
|
|
24
|
+
export declare const ReferenceGrantList: typeof import("./referenceGrantList").ReferenceGrantList;
|
|
25
|
+
export { ReferenceGrantPatchArgs } from "./referenceGrantPatch";
|
|
26
|
+
export type ReferenceGrantPatch = import("./referenceGrantPatch").ReferenceGrantPatch;
|
|
27
|
+
export declare const ReferenceGrantPatch: typeof import("./referenceGrantPatch").ReferenceGrantPatch;
|
|
28
|
+
export { TCPRouteArgs } from "./tcproute";
|
|
29
|
+
export type TCPRoute = import("./tcproute").TCPRoute;
|
|
30
|
+
export declare const TCPRoute: typeof import("./tcproute").TCPRoute;
|
|
31
|
+
export { TCPRouteListArgs } from "./tcprouteList";
|
|
32
|
+
export type TCPRouteList = import("./tcprouteList").TCPRouteList;
|
|
33
|
+
export declare const TCPRouteList: typeof import("./tcprouteList").TCPRouteList;
|
|
34
|
+
export { TCPRoutePatchArgs } from "./tcproutePatch";
|
|
35
|
+
export type TCPRoutePatch = import("./tcproutePatch").TCPRoutePatch;
|
|
36
|
+
export declare const TCPRoutePatch: typeof import("./tcproutePatch").TCPRoutePatch;
|
|
37
|
+
export { TLSRouteArgs } from "./tlsroute";
|
|
38
|
+
export type TLSRoute = import("./tlsroute").TLSRoute;
|
|
39
|
+
export declare const TLSRoute: typeof import("./tlsroute").TLSRoute;
|
|
40
|
+
export { TLSRouteListArgs } from "./tlsrouteList";
|
|
41
|
+
export type TLSRouteList = import("./tlsrouteList").TLSRouteList;
|
|
42
|
+
export declare const TLSRouteList: typeof import("./tlsrouteList").TLSRouteList;
|
|
43
|
+
export { TLSRoutePatchArgs } from "./tlsroutePatch";
|
|
44
|
+
export type TLSRoutePatch = import("./tlsroutePatch").TLSRoutePatch;
|
|
45
|
+
export declare const TLSRoutePatch: typeof import("./tlsroutePatch").TLSRoutePatch;
|
|
46
|
+
export { UDPRouteArgs } from "./udproute";
|
|
47
|
+
export type UDPRoute = import("./udproute").UDPRoute;
|
|
48
|
+
export declare const UDPRoute: typeof import("./udproute").UDPRoute;
|
|
49
|
+
export { UDPRouteListArgs } from "./udprouteList";
|
|
50
|
+
export type UDPRouteList = import("./udprouteList").UDPRouteList;
|
|
51
|
+
export declare const UDPRouteList: typeof import("./udprouteList").UDPRouteList;
|
|
52
|
+
export { UDPRoutePatchArgs } from "./udproutePatch";
|
|
53
|
+
export type UDPRoutePatch = import("./udproutePatch").UDPRoutePatch;
|
|
54
|
+
export declare const UDPRoutePatch: typeof import("./udproutePatch").UDPRoutePatch;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.UDPRoutePatch = exports.UDPRouteList = exports.UDPRoute = exports.TLSRoutePatch = exports.TLSRouteList = exports.TLSRoute = exports.TCPRoutePatch = exports.TCPRouteList = exports.TCPRoute = exports.ReferenceGrantPatch = exports.ReferenceGrantList = exports.ReferenceGrant = exports.GRPCRoutePatch = exports.GRPCRouteList = exports.GRPCRoute = exports.BackendLBPolicyPatch = exports.BackendLBPolicyList = exports.BackendLBPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
exports.BackendLBPolicy = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["BackendLBPolicy"], () => require("./backendLBPolicy"));
|
|
10
|
+
exports.BackendLBPolicyList = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["BackendLBPolicyList"], () => require("./backendLBPolicyList"));
|
|
12
|
+
exports.BackendLBPolicyPatch = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["BackendLBPolicyPatch"], () => require("./backendLBPolicyPatch"));
|
|
14
|
+
exports.GRPCRoute = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["GRPCRoute"], () => require("./grpcroute"));
|
|
16
|
+
exports.GRPCRouteList = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["GRPCRouteList"], () => require("./grpcrouteList"));
|
|
18
|
+
exports.GRPCRoutePatch = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["GRPCRoutePatch"], () => require("./grpcroutePatch"));
|
|
20
|
+
exports.ReferenceGrant = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["ReferenceGrant"], () => require("./referenceGrant"));
|
|
22
|
+
exports.ReferenceGrantList = null;
|
|
23
|
+
utilities.lazyLoad(exports, ["ReferenceGrantList"], () => require("./referenceGrantList"));
|
|
24
|
+
exports.ReferenceGrantPatch = null;
|
|
25
|
+
utilities.lazyLoad(exports, ["ReferenceGrantPatch"], () => require("./referenceGrantPatch"));
|
|
26
|
+
exports.TCPRoute = null;
|
|
27
|
+
utilities.lazyLoad(exports, ["TCPRoute"], () => require("./tcproute"));
|
|
28
|
+
exports.TCPRouteList = null;
|
|
29
|
+
utilities.lazyLoad(exports, ["TCPRouteList"], () => require("./tcprouteList"));
|
|
30
|
+
exports.TCPRoutePatch = null;
|
|
31
|
+
utilities.lazyLoad(exports, ["TCPRoutePatch"], () => require("./tcproutePatch"));
|
|
32
|
+
exports.TLSRoute = null;
|
|
33
|
+
utilities.lazyLoad(exports, ["TLSRoute"], () => require("./tlsroute"));
|
|
34
|
+
exports.TLSRouteList = null;
|
|
35
|
+
utilities.lazyLoad(exports, ["TLSRouteList"], () => require("./tlsrouteList"));
|
|
36
|
+
exports.TLSRoutePatch = null;
|
|
37
|
+
utilities.lazyLoad(exports, ["TLSRoutePatch"], () => require("./tlsroutePatch"));
|
|
38
|
+
exports.UDPRoute = null;
|
|
39
|
+
utilities.lazyLoad(exports, ["UDPRoute"], () => require("./udproute"));
|
|
40
|
+
exports.UDPRouteList = null;
|
|
41
|
+
utilities.lazyLoad(exports, ["UDPRouteList"], () => require("./udprouteList"));
|
|
42
|
+
exports.UDPRoutePatch = null;
|
|
43
|
+
utilities.lazyLoad(exports, ["UDPRoutePatch"], () => require("./udproutePatch"));
|
|
44
|
+
const _module = {
|
|
45
|
+
version: utilities.getVersion(),
|
|
46
|
+
construct: (name, type, urn) => {
|
|
47
|
+
switch (type) {
|
|
48
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicy":
|
|
49
|
+
return new exports.BackendLBPolicy(name, undefined, { urn });
|
|
50
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicyList":
|
|
51
|
+
return new exports.BackendLBPolicyList(name, undefined, { urn });
|
|
52
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicyPatch":
|
|
53
|
+
return new exports.BackendLBPolicyPatch(name, undefined, { urn });
|
|
54
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:GRPCRoute":
|
|
55
|
+
return new exports.GRPCRoute(name, undefined, { urn });
|
|
56
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:GRPCRouteList":
|
|
57
|
+
return new exports.GRPCRouteList(name, undefined, { urn });
|
|
58
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:GRPCRoutePatch":
|
|
59
|
+
return new exports.GRPCRoutePatch(name, undefined, { urn });
|
|
60
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:ReferenceGrant":
|
|
61
|
+
return new exports.ReferenceGrant(name, undefined, { urn });
|
|
62
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:ReferenceGrantList":
|
|
63
|
+
return new exports.ReferenceGrantList(name, undefined, { urn });
|
|
64
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:ReferenceGrantPatch":
|
|
65
|
+
return new exports.ReferenceGrantPatch(name, undefined, { urn });
|
|
66
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoute":
|
|
67
|
+
return new exports.TCPRoute(name, undefined, { urn });
|
|
68
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRouteList":
|
|
69
|
+
return new exports.TCPRouteList(name, undefined, { urn });
|
|
70
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoutePatch":
|
|
71
|
+
return new exports.TCPRoutePatch(name, undefined, { urn });
|
|
72
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoute":
|
|
73
|
+
return new exports.TLSRoute(name, undefined, { urn });
|
|
74
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRouteList":
|
|
75
|
+
return new exports.TLSRouteList(name, undefined, { urn });
|
|
76
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoutePatch":
|
|
77
|
+
return new exports.TLSRoutePatch(name, undefined, { urn });
|
|
78
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoute":
|
|
79
|
+
return new exports.UDPRoute(name, undefined, { urn });
|
|
80
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRouteList":
|
|
81
|
+
return new exports.UDPRouteList(name, undefined, { urn });
|
|
82
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoutePatch":
|
|
83
|
+
return new exports.UDPRoutePatch(name, undefined, { urn });
|
|
84
|
+
default:
|
|
85
|
+
throw new Error(`unknown resource type ${type}`);
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
};
|
|
89
|
+
pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1alpha2", _module);
|
|
@@ -0,0 +1,144 @@
|
|
|
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 { GRPCRouteArgs } from "./grpcroute";
|
|
24
|
+
export type GRPCRoute = import("./grpcroute").GRPCRoute;
|
|
25
|
+
export const GRPCRoute: typeof import("./grpcroute").GRPCRoute = null as any;
|
|
26
|
+
utilities.lazyLoad(exports, ["GRPCRoute"], () => require("./grpcroute"));
|
|
27
|
+
|
|
28
|
+
export { GRPCRouteListArgs } from "./grpcrouteList";
|
|
29
|
+
export type GRPCRouteList = import("./grpcrouteList").GRPCRouteList;
|
|
30
|
+
export const GRPCRouteList: typeof import("./grpcrouteList").GRPCRouteList = null as any;
|
|
31
|
+
utilities.lazyLoad(exports, ["GRPCRouteList"], () => require("./grpcrouteList"));
|
|
32
|
+
|
|
33
|
+
export { GRPCRoutePatchArgs } from "./grpcroutePatch";
|
|
34
|
+
export type GRPCRoutePatch = import("./grpcroutePatch").GRPCRoutePatch;
|
|
35
|
+
export const GRPCRoutePatch: typeof import("./grpcroutePatch").GRPCRoutePatch = null as any;
|
|
36
|
+
utilities.lazyLoad(exports, ["GRPCRoutePatch"], () => require("./grpcroutePatch"));
|
|
37
|
+
|
|
38
|
+
export { ReferenceGrantArgs } from "./referenceGrant";
|
|
39
|
+
export type ReferenceGrant = import("./referenceGrant").ReferenceGrant;
|
|
40
|
+
export const ReferenceGrant: typeof import("./referenceGrant").ReferenceGrant = null as any;
|
|
41
|
+
utilities.lazyLoad(exports, ["ReferenceGrant"], () => require("./referenceGrant"));
|
|
42
|
+
|
|
43
|
+
export { ReferenceGrantListArgs } from "./referenceGrantList";
|
|
44
|
+
export type ReferenceGrantList = import("./referenceGrantList").ReferenceGrantList;
|
|
45
|
+
export const ReferenceGrantList: typeof import("./referenceGrantList").ReferenceGrantList = null as any;
|
|
46
|
+
utilities.lazyLoad(exports, ["ReferenceGrantList"], () => require("./referenceGrantList"));
|
|
47
|
+
|
|
48
|
+
export { ReferenceGrantPatchArgs } from "./referenceGrantPatch";
|
|
49
|
+
export type ReferenceGrantPatch = import("./referenceGrantPatch").ReferenceGrantPatch;
|
|
50
|
+
export const ReferenceGrantPatch: typeof import("./referenceGrantPatch").ReferenceGrantPatch = null as any;
|
|
51
|
+
utilities.lazyLoad(exports, ["ReferenceGrantPatch"], () => require("./referenceGrantPatch"));
|
|
52
|
+
|
|
53
|
+
export { TCPRouteArgs } from "./tcproute";
|
|
54
|
+
export type TCPRoute = import("./tcproute").TCPRoute;
|
|
55
|
+
export const TCPRoute: typeof import("./tcproute").TCPRoute = null as any;
|
|
56
|
+
utilities.lazyLoad(exports, ["TCPRoute"], () => require("./tcproute"));
|
|
57
|
+
|
|
58
|
+
export { TCPRouteListArgs } from "./tcprouteList";
|
|
59
|
+
export type TCPRouteList = import("./tcprouteList").TCPRouteList;
|
|
60
|
+
export const TCPRouteList: typeof import("./tcprouteList").TCPRouteList = null as any;
|
|
61
|
+
utilities.lazyLoad(exports, ["TCPRouteList"], () => require("./tcprouteList"));
|
|
62
|
+
|
|
63
|
+
export { TCPRoutePatchArgs } from "./tcproutePatch";
|
|
64
|
+
export type TCPRoutePatch = import("./tcproutePatch").TCPRoutePatch;
|
|
65
|
+
export const TCPRoutePatch: typeof import("./tcproutePatch").TCPRoutePatch = null as any;
|
|
66
|
+
utilities.lazyLoad(exports, ["TCPRoutePatch"], () => require("./tcproutePatch"));
|
|
67
|
+
|
|
68
|
+
export { TLSRouteArgs } from "./tlsroute";
|
|
69
|
+
export type TLSRoute = import("./tlsroute").TLSRoute;
|
|
70
|
+
export const TLSRoute: typeof import("./tlsroute").TLSRoute = null as any;
|
|
71
|
+
utilities.lazyLoad(exports, ["TLSRoute"], () => require("./tlsroute"));
|
|
72
|
+
|
|
73
|
+
export { TLSRouteListArgs } from "./tlsrouteList";
|
|
74
|
+
export type TLSRouteList = import("./tlsrouteList").TLSRouteList;
|
|
75
|
+
export const TLSRouteList: typeof import("./tlsrouteList").TLSRouteList = null as any;
|
|
76
|
+
utilities.lazyLoad(exports, ["TLSRouteList"], () => require("./tlsrouteList"));
|
|
77
|
+
|
|
78
|
+
export { TLSRoutePatchArgs } from "./tlsroutePatch";
|
|
79
|
+
export type TLSRoutePatch = import("./tlsroutePatch").TLSRoutePatch;
|
|
80
|
+
export const TLSRoutePatch: typeof import("./tlsroutePatch").TLSRoutePatch = null as any;
|
|
81
|
+
utilities.lazyLoad(exports, ["TLSRoutePatch"], () => require("./tlsroutePatch"));
|
|
82
|
+
|
|
83
|
+
export { UDPRouteArgs } from "./udproute";
|
|
84
|
+
export type UDPRoute = import("./udproute").UDPRoute;
|
|
85
|
+
export const UDPRoute: typeof import("./udproute").UDPRoute = null as any;
|
|
86
|
+
utilities.lazyLoad(exports, ["UDPRoute"], () => require("./udproute"));
|
|
87
|
+
|
|
88
|
+
export { UDPRouteListArgs } from "./udprouteList";
|
|
89
|
+
export type UDPRouteList = import("./udprouteList").UDPRouteList;
|
|
90
|
+
export const UDPRouteList: typeof import("./udprouteList").UDPRouteList = null as any;
|
|
91
|
+
utilities.lazyLoad(exports, ["UDPRouteList"], () => require("./udprouteList"));
|
|
92
|
+
|
|
93
|
+
export { UDPRoutePatchArgs } from "./udproutePatch";
|
|
94
|
+
export type UDPRoutePatch = import("./udproutePatch").UDPRoutePatch;
|
|
95
|
+
export const UDPRoutePatch: typeof import("./udproutePatch").UDPRoutePatch = null as any;
|
|
96
|
+
utilities.lazyLoad(exports, ["UDPRoutePatch"], () => require("./udproutePatch"));
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
const _module = {
|
|
100
|
+
version: utilities.getVersion(),
|
|
101
|
+
construct: (name: string, type: string, urn: string): pulumi.Resource => {
|
|
102
|
+
switch (type) {
|
|
103
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicy":
|
|
104
|
+
return new BackendLBPolicy(name, <any>undefined, { urn })
|
|
105
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicyList":
|
|
106
|
+
return new BackendLBPolicyList(name, <any>undefined, { urn })
|
|
107
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicyPatch":
|
|
108
|
+
return new BackendLBPolicyPatch(name, <any>undefined, { urn })
|
|
109
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:GRPCRoute":
|
|
110
|
+
return new GRPCRoute(name, <any>undefined, { urn })
|
|
111
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:GRPCRouteList":
|
|
112
|
+
return new GRPCRouteList(name, <any>undefined, { urn })
|
|
113
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:GRPCRoutePatch":
|
|
114
|
+
return new GRPCRoutePatch(name, <any>undefined, { urn })
|
|
115
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:ReferenceGrant":
|
|
116
|
+
return new ReferenceGrant(name, <any>undefined, { urn })
|
|
117
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:ReferenceGrantList":
|
|
118
|
+
return new ReferenceGrantList(name, <any>undefined, { urn })
|
|
119
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:ReferenceGrantPatch":
|
|
120
|
+
return new ReferenceGrantPatch(name, <any>undefined, { urn })
|
|
121
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoute":
|
|
122
|
+
return new TCPRoute(name, <any>undefined, { urn })
|
|
123
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRouteList":
|
|
124
|
+
return new TCPRouteList(name, <any>undefined, { urn })
|
|
125
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoutePatch":
|
|
126
|
+
return new TCPRoutePatch(name, <any>undefined, { urn })
|
|
127
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoute":
|
|
128
|
+
return new TLSRoute(name, <any>undefined, { urn })
|
|
129
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRouteList":
|
|
130
|
+
return new TLSRouteList(name, <any>undefined, { urn })
|
|
131
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoutePatch":
|
|
132
|
+
return new TLSRoutePatch(name, <any>undefined, { urn })
|
|
133
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoute":
|
|
134
|
+
return new UDPRoute(name, <any>undefined, { urn })
|
|
135
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRouteList":
|
|
136
|
+
return new UDPRouteList(name, <any>undefined, { urn })
|
|
137
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoutePatch":
|
|
138
|
+
return new UDPRoutePatch(name, <any>undefined, { urn })
|
|
139
|
+
default:
|
|
140
|
+
throw new Error(`unknown resource type ${type}`);
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
};
|
|
144
|
+
pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1alpha2", _module)
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ReferenceGrant identifies kinds of resources in other namespaces that are
|
|
6
|
+
* trusted to reference the specified kinds of resources in the same namespace
|
|
7
|
+
* as the policy.
|
|
8
|
+
*
|
|
9
|
+
* Each ReferenceGrant can be used to represent a unique trust relationship.
|
|
10
|
+
* Additional Reference Grants can be used to add to the set of trusted
|
|
11
|
+
* sources of inbound references for the namespace they are defined within.
|
|
12
|
+
*
|
|
13
|
+
* A ReferenceGrant is required for all cross-namespace references in Gateway API
|
|
14
|
+
* (with the exception of cross-namespace Route-Gateway attachment, which is
|
|
15
|
+
* governed by the AllowedRoutes configuration on the Gateway, and cross-namespace
|
|
16
|
+
* Service ParentRefs on a "consumer" mesh Route, which defines routing rules
|
|
17
|
+
* applicable only to workloads in the Route namespace). ReferenceGrants allowing
|
|
18
|
+
* a reference from a Route to a Service are only applicable to BackendRefs.
|
|
19
|
+
*
|
|
20
|
+
* ReferenceGrant is a form of runtime verification allowing users to assert
|
|
21
|
+
* which cross-namespace object references are permitted. Implementations that
|
|
22
|
+
* support ReferenceGrant MUST NOT permit cross-namespace references which have
|
|
23
|
+
* no grant, and MUST respond to the removal of a grant by revoking the access
|
|
24
|
+
* that the grant allowed.
|
|
25
|
+
*/
|
|
26
|
+
export declare class ReferenceGrant extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing ReferenceGrant resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ReferenceGrant;
|
|
36
|
+
/** @internal */
|
|
37
|
+
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1alpha2:ReferenceGrant";
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of ReferenceGrant. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is ReferenceGrant;
|
|
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
|
+
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
|
+
readonly kind: pulumi.Output<"ReferenceGrant">;
|
|
51
|
+
/**
|
|
52
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
53
|
+
*/
|
|
54
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
|
55
|
+
readonly spec: pulumi.Output<outputs.gateway.v1alpha2.ReferenceGrantSpec>;
|
|
56
|
+
/**
|
|
57
|
+
* Create a ReferenceGrant 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?: ReferenceGrantArgs, opts?: pulumi.CustomResourceOptions);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* The set of arguments for constructing a ReferenceGrant resource.
|
|
67
|
+
*/
|
|
68
|
+
export interface ReferenceGrantArgs {
|
|
69
|
+
/**
|
|
70
|
+
* 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
|
|
71
|
+
*/
|
|
72
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
|
|
73
|
+
/**
|
|
74
|
+
* 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
|
|
75
|
+
*/
|
|
76
|
+
kind?: pulumi.Input<"ReferenceGrant">;
|
|
77
|
+
/**
|
|
78
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
79
|
+
*/
|
|
80
|
+
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
|
81
|
+
spec?: pulumi.Input<inputs.gateway.v1alpha2.ReferenceGrantSpec>;
|
|
82
|
+
}
|