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,90 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* GRPCRoute provides a way to route gRPC requests. This includes the capability
|
|
6
|
+
* to match requests by hostname, gRPC service, gRPC method, or HTTP/2 header.
|
|
7
|
+
* Filters can be used to specify additional processing steps. Backends specify
|
|
8
|
+
* where matching requests will be routed.
|
|
9
|
+
*
|
|
10
|
+
* GRPCRoute falls under extended support within the Gateway API. Within the
|
|
11
|
+
* following specification, the word "MUST" indicates that an implementation
|
|
12
|
+
* supporting GRPCRoute must conform to the indicated requirement, but an
|
|
13
|
+
* implementation not supporting this route type need not follow the requirement
|
|
14
|
+
* unless explicitly indicated.
|
|
15
|
+
*
|
|
16
|
+
* Implementations supporting `GRPCRoute` with the `HTTPS` `ProtocolType` MUST
|
|
17
|
+
* accept HTTP/2 connections without an initial upgrade from HTTP/1.1, i.e. via
|
|
18
|
+
* ALPN. If the implementation does not support this, then it MUST set the
|
|
19
|
+
* "Accepted" condition to "False" for the affected listener with a reason of
|
|
20
|
+
* "UnsupportedProtocol". Implementations MAY also accept HTTP/2 connections
|
|
21
|
+
* with an upgrade from HTTP/1.
|
|
22
|
+
*
|
|
23
|
+
* Implementations supporting `GRPCRoute` with the `HTTP` `ProtocolType` MUST
|
|
24
|
+
* support HTTP/2 over cleartext TCP (h2c,
|
|
25
|
+
* https://www.rfc-editor.org/rfc/rfc7540#section-3.1) without an initial
|
|
26
|
+
* upgrade from HTTP/1.1, i.e. with prior knowledge
|
|
27
|
+
* (https://www.rfc-editor.org/rfc/rfc7540#section-3.4). If the implementation
|
|
28
|
+
* does not support this, then it MUST set the "Accepted" condition to "False"
|
|
29
|
+
* for the affected listener with a reason of "UnsupportedProtocol".
|
|
30
|
+
* Implementations MAY also accept HTTP/2 connections with an upgrade from
|
|
31
|
+
* HTTP/1, i.e. without prior knowledge.
|
|
32
|
+
*/
|
|
33
|
+
export declare class GRPCRoute extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing GRPCRoute resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GRPCRoute;
|
|
43
|
+
/** @internal */
|
|
44
|
+
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1alpha2:GRPCRoute";
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of GRPCRoute. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj: any): obj is GRPCRoute;
|
|
50
|
+
/**
|
|
51
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
52
|
+
*/
|
|
53
|
+
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
|
|
54
|
+
/**
|
|
55
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
56
|
+
*/
|
|
57
|
+
readonly kind: pulumi.Output<"GRPCRoute">;
|
|
58
|
+
/**
|
|
59
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
60
|
+
*/
|
|
61
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
|
62
|
+
readonly spec: pulumi.Output<outputs.gateway.v1alpha2.GRPCRouteSpec>;
|
|
63
|
+
readonly status: pulumi.Output<outputs.gateway.v1alpha2.GRPCRouteStatus>;
|
|
64
|
+
/**
|
|
65
|
+
* Create a GRPCRoute resource with the given unique name, arguments, and options.
|
|
66
|
+
*
|
|
67
|
+
* @param name The _unique_ name of the resource.
|
|
68
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
69
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
70
|
+
*/
|
|
71
|
+
constructor(name: string, args?: GRPCRouteArgs, opts?: pulumi.CustomResourceOptions);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* The set of arguments for constructing a GRPCRoute resource.
|
|
75
|
+
*/
|
|
76
|
+
export interface GRPCRouteArgs {
|
|
77
|
+
/**
|
|
78
|
+
* 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
|
|
79
|
+
*/
|
|
80
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
|
|
81
|
+
/**
|
|
82
|
+
* 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
|
|
83
|
+
*/
|
|
84
|
+
kind?: pulumi.Input<"GRPCRoute">;
|
|
85
|
+
/**
|
|
86
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
87
|
+
*/
|
|
88
|
+
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
|
89
|
+
spec?: pulumi.Input<inputs.gateway.v1alpha2.GRPCRouteSpec>;
|
|
90
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
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.GRPCRoute = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* GRPCRoute provides a way to route gRPC requests. This includes the capability
|
|
10
|
+
* to match requests by hostname, gRPC service, gRPC method, or HTTP/2 header.
|
|
11
|
+
* Filters can be used to specify additional processing steps. Backends specify
|
|
12
|
+
* where matching requests will be routed.
|
|
13
|
+
*
|
|
14
|
+
* GRPCRoute falls under extended support within the Gateway API. Within the
|
|
15
|
+
* following specification, the word "MUST" indicates that an implementation
|
|
16
|
+
* supporting GRPCRoute must conform to the indicated requirement, but an
|
|
17
|
+
* implementation not supporting this route type need not follow the requirement
|
|
18
|
+
* unless explicitly indicated.
|
|
19
|
+
*
|
|
20
|
+
* Implementations supporting `GRPCRoute` with the `HTTPS` `ProtocolType` MUST
|
|
21
|
+
* accept HTTP/2 connections without an initial upgrade from HTTP/1.1, i.e. via
|
|
22
|
+
* ALPN. If the implementation does not support this, then it MUST set the
|
|
23
|
+
* "Accepted" condition to "False" for the affected listener with a reason of
|
|
24
|
+
* "UnsupportedProtocol". Implementations MAY also accept HTTP/2 connections
|
|
25
|
+
* with an upgrade from HTTP/1.
|
|
26
|
+
*
|
|
27
|
+
* Implementations supporting `GRPCRoute` with the `HTTP` `ProtocolType` MUST
|
|
28
|
+
* support HTTP/2 over cleartext TCP (h2c,
|
|
29
|
+
* https://www.rfc-editor.org/rfc/rfc7540#section-3.1) without an initial
|
|
30
|
+
* upgrade from HTTP/1.1, i.e. with prior knowledge
|
|
31
|
+
* (https://www.rfc-editor.org/rfc/rfc7540#section-3.4). If the implementation
|
|
32
|
+
* does not support this, then it MUST set the "Accepted" condition to "False"
|
|
33
|
+
* for the affected listener with a reason of "UnsupportedProtocol".
|
|
34
|
+
* Implementations MAY also accept HTTP/2 connections with an upgrade from
|
|
35
|
+
* HTTP/1, i.e. without prior knowledge.
|
|
36
|
+
*/
|
|
37
|
+
class GRPCRoute extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing GRPCRoute resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, opts) {
|
|
47
|
+
return new GRPCRoute(name, undefined, { ...opts, id: id });
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of GRPCRoute. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === GRPCRoute.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Create a GRPCRoute resource with the given unique name, arguments, and options.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resource.
|
|
63
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
64
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
65
|
+
*/
|
|
66
|
+
constructor(name, args, opts) {
|
|
67
|
+
let resourceInputs = {};
|
|
68
|
+
opts = opts || {};
|
|
69
|
+
if (!opts.id) {
|
|
70
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
|
|
71
|
+
resourceInputs["kind"] = "GRPCRoute";
|
|
72
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
73
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
74
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
82
|
+
}
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
84
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1:GRPCRoute" }] };
|
|
85
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
86
|
+
super(GRPCRoute.__pulumiType, name, resourceInputs, opts);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.GRPCRoute = GRPCRoute;
|
|
90
|
+
/** @internal */
|
|
91
|
+
GRPCRoute.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:GRPCRoute';
|
|
@@ -0,0 +1,127 @@
|
|
|
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
|
+
* GRPCRoute provides a way to route gRPC requests. This includes the capability
|
|
11
|
+
* to match requests by hostname, gRPC service, gRPC method, or HTTP/2 header.
|
|
12
|
+
* Filters can be used to specify additional processing steps. Backends specify
|
|
13
|
+
* where matching requests will be routed.
|
|
14
|
+
*
|
|
15
|
+
* GRPCRoute falls under extended support within the Gateway API. Within the
|
|
16
|
+
* following specification, the word "MUST" indicates that an implementation
|
|
17
|
+
* supporting GRPCRoute must conform to the indicated requirement, but an
|
|
18
|
+
* implementation not supporting this route type need not follow the requirement
|
|
19
|
+
* unless explicitly indicated.
|
|
20
|
+
*
|
|
21
|
+
* Implementations supporting `GRPCRoute` with the `HTTPS` `ProtocolType` MUST
|
|
22
|
+
* accept HTTP/2 connections without an initial upgrade from HTTP/1.1, i.e. via
|
|
23
|
+
* ALPN. If the implementation does not support this, then it MUST set the
|
|
24
|
+
* "Accepted" condition to "False" for the affected listener with a reason of
|
|
25
|
+
* "UnsupportedProtocol". Implementations MAY also accept HTTP/2 connections
|
|
26
|
+
* with an upgrade from HTTP/1.
|
|
27
|
+
*
|
|
28
|
+
* Implementations supporting `GRPCRoute` with the `HTTP` `ProtocolType` MUST
|
|
29
|
+
* support HTTP/2 over cleartext TCP (h2c,
|
|
30
|
+
* https://www.rfc-editor.org/rfc/rfc7540#section-3.1) without an initial
|
|
31
|
+
* upgrade from HTTP/1.1, i.e. with prior knowledge
|
|
32
|
+
* (https://www.rfc-editor.org/rfc/rfc7540#section-3.4). If the implementation
|
|
33
|
+
* does not support this, then it MUST set the "Accepted" condition to "False"
|
|
34
|
+
* for the affected listener with a reason of "UnsupportedProtocol".
|
|
35
|
+
* Implementations MAY also accept HTTP/2 connections with an upgrade from
|
|
36
|
+
* HTTP/1, i.e. without prior knowledge.
|
|
37
|
+
*/
|
|
38
|
+
export class GRPCRoute extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing GRPCRoute resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GRPCRoute {
|
|
48
|
+
return new GRPCRoute(name, undefined as any, { ...opts, id: id });
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:GRPCRoute';
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of GRPCRoute. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
public static isInstance(obj: any): obj is GRPCRoute {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === GRPCRoute.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* 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
|
|
67
|
+
*/
|
|
68
|
+
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
|
|
69
|
+
/**
|
|
70
|
+
* 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
|
|
71
|
+
*/
|
|
72
|
+
public readonly kind!: pulumi.Output<"GRPCRoute">;
|
|
73
|
+
/**
|
|
74
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
75
|
+
*/
|
|
76
|
+
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
|
77
|
+
public readonly spec!: pulumi.Output<outputs.gateway.v1alpha2.GRPCRouteSpec>;
|
|
78
|
+
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha2.GRPCRouteStatus>;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Create a GRPCRoute resource with the given unique name, arguments, and options.
|
|
82
|
+
*
|
|
83
|
+
* @param name The _unique_ name of the resource.
|
|
84
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
85
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
86
|
+
*/
|
|
87
|
+
constructor(name: string, args?: GRPCRouteArgs, opts?: pulumi.CustomResourceOptions) {
|
|
88
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
89
|
+
opts = opts || {};
|
|
90
|
+
if (!opts.id) {
|
|
91
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
|
|
92
|
+
resourceInputs["kind"] = "GRPCRoute";
|
|
93
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
94
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
95
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
96
|
+
} else {
|
|
97
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
102
|
+
}
|
|
103
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
104
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1:GRPCRoute" }] };
|
|
105
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
106
|
+
super(GRPCRoute.__pulumiType, name, resourceInputs, opts);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* The set of arguments for constructing a GRPCRoute resource.
|
|
112
|
+
*/
|
|
113
|
+
export interface GRPCRouteArgs {
|
|
114
|
+
/**
|
|
115
|
+
* 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
|
|
116
|
+
*/
|
|
117
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
|
|
118
|
+
/**
|
|
119
|
+
* 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
|
|
120
|
+
*/
|
|
121
|
+
kind?: pulumi.Input<"GRPCRoute">;
|
|
122
|
+
/**
|
|
123
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
124
|
+
*/
|
|
125
|
+
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
|
126
|
+
spec?: pulumi.Input<inputs.gateway.v1alpha2.GRPCRouteSpec>;
|
|
127
|
+
}
|
|
@@ -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
|
+
* GRPCRouteList is a list of GRPCRoute
|
|
6
|
+
*/
|
|
7
|
+
export declare class GRPCRouteList extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing GRPCRouteList 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): GRPCRouteList;
|
|
17
|
+
/** @internal */
|
|
18
|
+
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1alpha2:GRPCRouteList";
|
|
19
|
+
/**
|
|
20
|
+
* Returns true if the given object is an instance of GRPCRouteList. 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 GRPCRouteList;
|
|
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/v1alpha2">;
|
|
28
|
+
/**
|
|
29
|
+
* List of grpcroutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
30
|
+
*/
|
|
31
|
+
readonly items: pulumi.Output<outputs.gateway.v1alpha2.GRPCRoute[]>;
|
|
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<"GRPCRouteList">;
|
|
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 GRPCRouteList 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?: GRPCRouteListArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The set of arguments for constructing a GRPCRouteList resource.
|
|
51
|
+
*/
|
|
52
|
+
export interface GRPCRouteListArgs {
|
|
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/v1alpha2">;
|
|
57
|
+
/**
|
|
58
|
+
* List of grpcroutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
59
|
+
*/
|
|
60
|
+
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha2.GRPCRoute>[]>;
|
|
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<"GRPCRouteList">;
|
|
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>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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.GRPCRouteList = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* GRPCRouteList is a list of GRPCRoute
|
|
10
|
+
*/
|
|
11
|
+
class GRPCRouteList extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing GRPCRouteList resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new GRPCRouteList(name, undefined, { ...opts, id: id });
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of GRPCRouteList. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === GRPCRouteList.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a GRPCRouteList resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if ((!args || args.items === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'items'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
|
|
48
|
+
resourceInputs["items"] = args ? args.items : undefined;
|
|
49
|
+
resourceInputs["kind"] = "GRPCRouteList";
|
|
50
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["items"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
57
|
+
}
|
|
58
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
59
|
+
super(GRPCRouteList.__pulumiType, name, resourceInputs, opts);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.GRPCRouteList = GRPCRouteList;
|
|
63
|
+
/** @internal */
|
|
64
|
+
GRPCRouteList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:GRPCRouteList';
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as inputs from "../../types/input";
|
|
6
|
+
import * as outputs from "../../types/output";
|
|
7
|
+
import * as utilities from "../../utilities";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* GRPCRouteList is a list of GRPCRoute
|
|
11
|
+
*/
|
|
12
|
+
export class GRPCRouteList extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing GRPCRouteList resource's state with the given name, ID, and optional extra
|
|
15
|
+
* properties used to qualify the lookup.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resulting resource.
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GRPCRouteList {
|
|
22
|
+
return new GRPCRouteList(name, undefined as any, { ...opts, id: id });
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:GRPCRouteList';
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Returns true if the given object is an instance of GRPCRouteList. This is designed to work even
|
|
30
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
31
|
+
*/
|
|
32
|
+
public static isInstance(obj: any): obj is GRPCRouteList {
|
|
33
|
+
if (obj === undefined || obj === null) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
return obj['__pulumiType'] === GRPCRouteList.__pulumiType;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
41
|
+
*/
|
|
42
|
+
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
|
|
43
|
+
/**
|
|
44
|
+
* List of grpcroutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
45
|
+
*/
|
|
46
|
+
public readonly items!: pulumi.Output<outputs.gateway.v1alpha2.GRPCRoute[]>;
|
|
47
|
+
/**
|
|
48
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
49
|
+
*/
|
|
50
|
+
public readonly kind!: pulumi.Output<"GRPCRouteList">;
|
|
51
|
+
/**
|
|
52
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
53
|
+
*/
|
|
54
|
+
public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Create a GRPCRouteList 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?: GRPCRouteListArgs, opts?: pulumi.CustomResourceOptions) {
|
|
64
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
if (!opts.id) {
|
|
67
|
+
if ((!args || args.items === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'items'");
|
|
69
|
+
}
|
|
70
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
|
|
71
|
+
resourceInputs["items"] = args ? args.items : undefined;
|
|
72
|
+
resourceInputs["kind"] = "GRPCRouteList";
|
|
73
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
74
|
+
} else {
|
|
75
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["items"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(GRPCRouteList.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* The set of arguments for constructing a GRPCRouteList resource.
|
|
87
|
+
*/
|
|
88
|
+
export interface GRPCRouteListArgs {
|
|
89
|
+
/**
|
|
90
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
91
|
+
*/
|
|
92
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
|
|
93
|
+
/**
|
|
94
|
+
* List of grpcroutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
95
|
+
*/
|
|
96
|
+
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha2.GRPCRoute>[]>;
|
|
97
|
+
/**
|
|
98
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
99
|
+
*/
|
|
100
|
+
kind?: pulumi.Input<"GRPCRouteList">;
|
|
101
|
+
/**
|
|
102
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
103
|
+
*/
|
|
104
|
+
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
|
105
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
6
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
7
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
8
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
9
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
10
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
11
|
+
* GRPCRoute provides a way to route gRPC requests. This includes the capability
|
|
12
|
+
* to match requests by hostname, gRPC service, gRPC method, or HTTP/2 header.
|
|
13
|
+
* Filters can be used to specify additional processing steps. Backends specify
|
|
14
|
+
* where matching requests will be routed.
|
|
15
|
+
*
|
|
16
|
+
* GRPCRoute falls under extended support within the Gateway API. Within the
|
|
17
|
+
* following specification, the word "MUST" indicates that an implementation
|
|
18
|
+
* supporting GRPCRoute must conform to the indicated requirement, but an
|
|
19
|
+
* implementation not supporting this route type need not follow the requirement
|
|
20
|
+
* unless explicitly indicated.
|
|
21
|
+
*
|
|
22
|
+
* Implementations supporting `GRPCRoute` with the `HTTPS` `ProtocolType` MUST
|
|
23
|
+
* accept HTTP/2 connections without an initial upgrade from HTTP/1.1, i.e. via
|
|
24
|
+
* ALPN. If the implementation does not support this, then it MUST set the
|
|
25
|
+
* "Accepted" condition to "False" for the affected listener with a reason of
|
|
26
|
+
* "UnsupportedProtocol". Implementations MAY also accept HTTP/2 connections
|
|
27
|
+
* with an upgrade from HTTP/1.
|
|
28
|
+
*
|
|
29
|
+
* Implementations supporting `GRPCRoute` with the `HTTP` `ProtocolType` MUST
|
|
30
|
+
* support HTTP/2 over cleartext TCP (h2c,
|
|
31
|
+
* https://www.rfc-editor.org/rfc/rfc7540#section-3.1) without an initial
|
|
32
|
+
* upgrade from HTTP/1.1, i.e. with prior knowledge
|
|
33
|
+
* (https://www.rfc-editor.org/rfc/rfc7540#section-3.4). If the implementation
|
|
34
|
+
* does not support this, then it MUST set the "Accepted" condition to "False"
|
|
35
|
+
* for the affected listener with a reason of "UnsupportedProtocol".
|
|
36
|
+
* Implementations MAY also accept HTTP/2 connections with an upgrade from
|
|
37
|
+
* HTTP/1, i.e. without prior knowledge.
|
|
38
|
+
*/
|
|
39
|
+
export declare class GRPCRoutePatch extends pulumi.CustomResource {
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing GRPCRoutePatch resource's state with the given name, ID, and optional extra
|
|
42
|
+
* properties used to qualify the lookup.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resulting resource.
|
|
45
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GRPCRoutePatch;
|
|
49
|
+
/** @internal */
|
|
50
|
+
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1alpha2:GRPCRoutePatch";
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of GRPCRoutePatch. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj: any): obj is GRPCRoutePatch;
|
|
56
|
+
/**
|
|
57
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
58
|
+
*/
|
|
59
|
+
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
|
|
60
|
+
/**
|
|
61
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
62
|
+
*/
|
|
63
|
+
readonly kind: pulumi.Output<"GRPCRoute">;
|
|
64
|
+
/**
|
|
65
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
66
|
+
*/
|
|
67
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
|
68
|
+
readonly spec: pulumi.Output<outputs.gateway.v1alpha2.GRPCRouteSpecPatch>;
|
|
69
|
+
readonly status: pulumi.Output<outputs.gateway.v1alpha2.GRPCRouteStatusPatch>;
|
|
70
|
+
/**
|
|
71
|
+
* Create a GRPCRoutePatch 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: string, args?: GRPCRoutePatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* The set of arguments for constructing a GRPCRoutePatch resource.
|
|
81
|
+
*/
|
|
82
|
+
export interface GRPCRoutePatchArgs {
|
|
83
|
+
/**
|
|
84
|
+
* 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
|
|
85
|
+
*/
|
|
86
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
|
|
87
|
+
/**
|
|
88
|
+
* 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
|
|
89
|
+
*/
|
|
90
|
+
kind?: pulumi.Input<"GRPCRoute">;
|
|
91
|
+
/**
|
|
92
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
93
|
+
*/
|
|
94
|
+
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
|
95
|
+
spec?: pulumi.Input<inputs.gateway.v1alpha2.GRPCRouteSpecPatch>;
|
|
96
|
+
}
|