@highstate/gateway-api 0.4.5
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/CHANGELOG.md +10 -0
- package/README.md +14 -0
- package/bin/gateway/index.d.ts +5 -0
- package/bin/gateway/index.js +15 -0
- package/bin/gateway/index.js.map +1 -0
- package/bin/gateway/v1/gateway.d.ts +64 -0
- package/bin/gateway/v1/gateway.js +67 -0
- package/bin/gateway/v1/gateway.js.map +1 -0
- package/bin/gateway/v1/gatewayClass.d.ts +79 -0
- package/bin/gateway/v1/gatewayClass.js +82 -0
- package/bin/gateway/v1/gatewayClass.js.map +1 -0
- package/bin/gateway/v1/gatewayClassList.d.ts +67 -0
- package/bin/gateway/v1/gatewayClassList.js +65 -0
- package/bin/gateway/v1/gatewayClassList.js.map +1 -0
- package/bin/gateway/v1/gatewayClassPatch.d.ts +85 -0
- package/bin/gateway/v1/gatewayClassPatch.js +88 -0
- package/bin/gateway/v1/gatewayClassPatch.js.map +1 -0
- package/bin/gateway/v1/gatewayList.d.ts +67 -0
- package/bin/gateway/v1/gatewayList.js +65 -0
- package/bin/gateway/v1/gatewayList.js.map +1 -0
- package/bin/gateway/v1/gatewayPatch.d.ts +70 -0
- package/bin/gateway/v1/gatewayPatch.js +73 -0
- package/bin/gateway/v1/gatewayPatch.js.map +1 -0
- package/bin/gateway/v1/grpcroute.d.ts +89 -0
- package/bin/gateway/v1/grpcroute.js +90 -0
- package/bin/gateway/v1/grpcroute.js.map +1 -0
- package/bin/gateway/v1/grpcrouteList.d.ts +67 -0
- package/bin/gateway/v1/grpcrouteList.js +65 -0
- package/bin/gateway/v1/grpcrouteList.js.map +1 -0
- package/bin/gateway/v1/grpcroutePatch.d.ts +95 -0
- package/bin/gateway/v1/grpcroutePatch.js +96 -0
- package/bin/gateway/v1/grpcroutePatch.js.map +1 -0
- package/bin/gateway/v1/httproute.d.ts +66 -0
- package/bin/gateway/v1/httproute.js +69 -0
- package/bin/gateway/v1/httproute.js.map +1 -0
- package/bin/gateway/v1/httprouteList.d.ts +67 -0
- package/bin/gateway/v1/httprouteList.js +65 -0
- package/bin/gateway/v1/httprouteList.js.map +1 -0
- package/bin/gateway/v1/httproutePatch.d.ts +72 -0
- package/bin/gateway/v1/httproutePatch.js +75 -0
- package/bin/gateway/v1/httproutePatch.js.map +1 -0
- package/bin/gateway/v1/index.d.ts +36 -0
- package/bin/gateway/v1/index.js +66 -0
- package/bin/gateway/v1/index.js.map +1 -0
- package/bin/gateway/v1alpha2/backendLBPolicy.d.ts +64 -0
- package/bin/gateway/v1alpha2/backendLBPolicy.js +65 -0
- package/bin/gateway/v1alpha2/backendLBPolicy.js.map +1 -0
- package/bin/gateway/v1alpha2/backendLBPolicyList.d.ts +67 -0
- package/bin/gateway/v1alpha2/backendLBPolicyList.js +65 -0
- package/bin/gateway/v1alpha2/backendLBPolicyList.js.map +1 -0
- package/bin/gateway/v1alpha2/backendLBPolicyPatch.d.ts +70 -0
- package/bin/gateway/v1alpha2/backendLBPolicyPatch.js +71 -0
- package/bin/gateway/v1alpha2/backendLBPolicyPatch.js.map +1 -0
- package/bin/gateway/v1alpha2/index.d.ts +36 -0
- package/bin/gateway/v1alpha2/index.js +66 -0
- package/bin/gateway/v1alpha2/index.js.map +1 -0
- package/bin/gateway/v1alpha2/tcproute.d.ts +65 -0
- package/bin/gateway/v1alpha2/tcproute.js +66 -0
- package/bin/gateway/v1alpha2/tcproute.js.map +1 -0
- package/bin/gateway/v1alpha2/tcprouteList.d.ts +67 -0
- package/bin/gateway/v1alpha2/tcprouteList.js +65 -0
- package/bin/gateway/v1alpha2/tcprouteList.js.map +1 -0
- package/bin/gateway/v1alpha2/tcproutePatch.d.ts +71 -0
- package/bin/gateway/v1alpha2/tcproutePatch.js +72 -0
- package/bin/gateway/v1alpha2/tcproutePatch.js.map +1 -0
- package/bin/gateway/v1alpha2/tlsroute.d.ts +68 -0
- package/bin/gateway/v1alpha2/tlsroute.js +69 -0
- package/bin/gateway/v1alpha2/tlsroute.js.map +1 -0
- package/bin/gateway/v1alpha2/tlsrouteList.d.ts +67 -0
- package/bin/gateway/v1alpha2/tlsrouteList.js +65 -0
- package/bin/gateway/v1alpha2/tlsrouteList.js.map +1 -0
- package/bin/gateway/v1alpha2/tlsroutePatch.d.ts +74 -0
- package/bin/gateway/v1alpha2/tlsroutePatch.js +75 -0
- package/bin/gateway/v1alpha2/tlsroutePatch.js.map +1 -0
- package/bin/gateway/v1alpha2/udproute.d.ts +65 -0
- package/bin/gateway/v1alpha2/udproute.js +66 -0
- package/bin/gateway/v1alpha2/udproute.js.map +1 -0
- package/bin/gateway/v1alpha2/udprouteList.d.ts +67 -0
- package/bin/gateway/v1alpha2/udprouteList.js +65 -0
- package/bin/gateway/v1alpha2/udprouteList.js.map +1 -0
- package/bin/gateway/v1alpha2/udproutePatch.d.ts +71 -0
- package/bin/gateway/v1alpha2/udproutePatch.js +72 -0
- package/bin/gateway/v1alpha2/udproutePatch.js.map +1 -0
- package/bin/gateway/v1alpha3/backendTLSPolicy.d.ts +64 -0
- package/bin/gateway/v1alpha3/backendTLSPolicy.js +65 -0
- package/bin/gateway/v1alpha3/backendTLSPolicy.js.map +1 -0
- package/bin/gateway/v1alpha3/backendTLSPolicyList.d.ts +67 -0
- package/bin/gateway/v1alpha3/backendTLSPolicyList.js +65 -0
- package/bin/gateway/v1alpha3/backendTLSPolicyList.js.map +1 -0
- package/bin/gateway/v1alpha3/backendTLSPolicyPatch.d.ts +70 -0
- package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js +71 -0
- package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js.map +1 -0
- package/bin/gateway/v1alpha3/index.d.ts +9 -0
- package/bin/gateway/v1alpha3/index.js +30 -0
- package/bin/gateway/v1alpha3/index.js.map +1 -0
- package/bin/gateway/v1beta1/gateway.d.ts +64 -0
- package/bin/gateway/v1beta1/gateway.js +67 -0
- package/bin/gateway/v1beta1/gateway.js.map +1 -0
- package/bin/gateway/v1beta1/gatewayClass.d.ts +79 -0
- package/bin/gateway/v1beta1/gatewayClass.js +82 -0
- package/bin/gateway/v1beta1/gatewayClass.js.map +1 -0
- package/bin/gateway/v1beta1/gatewayClassList.d.ts +67 -0
- package/bin/gateway/v1beta1/gatewayClassList.js +65 -0
- package/bin/gateway/v1beta1/gatewayClassList.js.map +1 -0
- package/bin/gateway/v1beta1/gatewayClassPatch.d.ts +85 -0
- package/bin/gateway/v1beta1/gatewayClassPatch.js +88 -0
- package/bin/gateway/v1beta1/gatewayClassPatch.js.map +1 -0
- package/bin/gateway/v1beta1/gatewayList.d.ts +67 -0
- package/bin/gateway/v1beta1/gatewayList.js +65 -0
- package/bin/gateway/v1beta1/gatewayList.js.map +1 -0
- package/bin/gateway/v1beta1/gatewayPatch.d.ts +70 -0
- package/bin/gateway/v1beta1/gatewayPatch.js +73 -0
- package/bin/gateway/v1beta1/gatewayPatch.js.map +1 -0
- package/bin/gateway/v1beta1/httproute.d.ts +66 -0
- package/bin/gateway/v1beta1/httproute.js +69 -0
- package/bin/gateway/v1beta1/httproute.js.map +1 -0
- package/bin/gateway/v1beta1/httprouteList.d.ts +67 -0
- package/bin/gateway/v1beta1/httprouteList.js +65 -0
- package/bin/gateway/v1beta1/httprouteList.js.map +1 -0
- package/bin/gateway/v1beta1/httproutePatch.d.ts +72 -0
- package/bin/gateway/v1beta1/httproutePatch.js +75 -0
- package/bin/gateway/v1beta1/httproutePatch.js.map +1 -0
- package/bin/gateway/v1beta1/index.d.ts +36 -0
- package/bin/gateway/v1beta1/index.js +66 -0
- package/bin/gateway/v1beta1/index.js.map +1 -0
- package/bin/gateway/v1beta1/referenceGrant.d.ts +77 -0
- package/bin/gateway/v1beta1/referenceGrant.js +77 -0
- package/bin/gateway/v1beta1/referenceGrant.js.map +1 -0
- package/bin/gateway/v1beta1/referenceGrantList.d.ts +67 -0
- package/bin/gateway/v1beta1/referenceGrantList.js +65 -0
- package/bin/gateway/v1beta1/referenceGrantList.js.map +1 -0
- package/bin/gateway/v1beta1/referenceGrantPatch.d.ts +83 -0
- package/bin/gateway/v1beta1/referenceGrantPatch.js +83 -0
- package/bin/gateway/v1beta1/referenceGrantPatch.js.map +1 -0
- package/bin/index.d.ts +6 -0
- package/bin/index.js +24 -0
- package/bin/index.js.map +1 -0
- package/bin/meta/v1.d.ts +3 -0
- package/bin/meta/v1.js +3 -0
- package/bin/meta/v1.js.map +1 -0
- package/bin/package.json +42 -0
- package/bin/provider.d.ts +21 -0
- package/bin/provider.js +38 -0
- package/bin/provider.js.map +1 -0
- package/bin/types/index.d.ts +3 -0
- package/bin/types/index.js +11 -0
- package/bin/types/index.js.map +1 -0
- package/bin/types/input.d.ts +19026 -0
- package/bin/types/input.js +5 -0
- package/bin/types/input.js.map +1 -0
- package/bin/types/output.d.ts +21341 -0
- package/bin/types/output.js +5 -0
- package/bin/types/output.js.map +1 -0
- package/bin/utilities.d.ts +8 -0
- package/bin/utilities.js +102 -0
- package/bin/utilities.js.map +1 -0
- package/gateway/index.ts +17 -0
- package/gateway/v1/gateway.ts +104 -0
- package/gateway/v1/gatewayClass.ts +119 -0
- package/gateway/v1/gatewayClassList.ts +107 -0
- package/gateway/v1/gatewayClassPatch.ts +125 -0
- package/gateway/v1/gatewayList.ts +107 -0
- package/gateway/v1/gatewayPatch.ts +110 -0
- package/gateway/v1/grpcroute.ts +127 -0
- package/gateway/v1/grpcrouteList.ts +107 -0
- package/gateway/v1/grpcroutePatch.ts +133 -0
- package/gateway/v1/httproute.ts +106 -0
- package/gateway/v1/httprouteList.ts +107 -0
- package/gateway/v1/httproutePatch.ts +112 -0
- package/gateway/v1/index.ts +102 -0
- package/gateway/v1alpha2/backendLBPolicy.ts +102 -0
- package/gateway/v1alpha2/backendLBPolicyList.ts +107 -0
- package/gateway/v1alpha2/backendLBPolicyPatch.ts +108 -0
- package/gateway/v1alpha2/index.ts +102 -0
- package/gateway/v1alpha2/tcproute.ts +103 -0
- package/gateway/v1alpha2/tcprouteList.ts +107 -0
- package/gateway/v1alpha2/tcproutePatch.ts +109 -0
- package/gateway/v1alpha2/tlsroute.ts +106 -0
- package/gateway/v1alpha2/tlsrouteList.ts +107 -0
- package/gateway/v1alpha2/tlsroutePatch.ts +112 -0
- package/gateway/v1alpha2/udproute.ts +103 -0
- package/gateway/v1alpha2/udprouteList.ts +107 -0
- package/gateway/v1alpha2/udproutePatch.ts +109 -0
- package/gateway/v1alpha3/backendTLSPolicy.ts +102 -0
- package/gateway/v1alpha3/backendTLSPolicyList.ts +107 -0
- package/gateway/v1alpha3/backendTLSPolicyPatch.ts +108 -0
- package/gateway/v1alpha3/index.ts +39 -0
- package/gateway/v1beta1/gateway.ts +104 -0
- package/gateway/v1beta1/gatewayClass.ts +119 -0
- package/gateway/v1beta1/gatewayClassList.ts +107 -0
- package/gateway/v1beta1/gatewayClassPatch.ts +125 -0
- package/gateway/v1beta1/gatewayList.ts +107 -0
- package/gateway/v1beta1/gatewayPatch.ts +110 -0
- package/gateway/v1beta1/httproute.ts +106 -0
- package/gateway/v1beta1/httprouteList.ts +107 -0
- package/gateway/v1beta1/httproutePatch.ts +112 -0
- package/gateway/v1beta1/index.ts +102 -0
- package/gateway/v1beta1/referenceGrant.ts +113 -0
- package/gateway/v1beta1/referenceGrantList.ts +107 -0
- package/gateway/v1beta1/referenceGrantPatch.ts +119 -0
- package/index.ts +30 -0
- package/meta/v1.ts +4 -0
- package/package.json +43 -0
- package/provider.ts +44 -0
- package/scripts/postinstall.js +13 -0
- package/tsconfig.json +67 -0
- package/types/index.ts +13 -0
- package/types/input.ts +19413 -0
- package/types/output.ts +21780 -0
- package/utilities.ts +97 -0
|
@@ -0,0 +1,75 @@
|
|
|
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.HTTPRoutePatch = 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
|
+
* HTTPRoute provides a way to route HTTP requests. This includes the capability
|
|
16
|
+
* to match requests by hostname, path, header, or query param. Filters can be
|
|
17
|
+
* used to specify additional processing steps. Backends specify where matching
|
|
18
|
+
* requests should be routed.
|
|
19
|
+
*/
|
|
20
|
+
class HTTPRoutePatch extends pulumi.CustomResource {
|
|
21
|
+
/**
|
|
22
|
+
* Get an existing HTTPRoutePatch resource's state with the given name, ID, and optional extra
|
|
23
|
+
* properties used to qualify the lookup.
|
|
24
|
+
*
|
|
25
|
+
* @param name The _unique_ name of the resulting resource.
|
|
26
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
27
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
28
|
+
*/
|
|
29
|
+
static get(name, id, opts) {
|
|
30
|
+
return new HTTPRoutePatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Returns true if the given object is an instance of HTTPRoutePatch. This is designed to work even
|
|
34
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
+
*/
|
|
36
|
+
static isInstance(obj) {
|
|
37
|
+
if (obj === undefined || obj === null) {
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
return obj['__pulumiType'] === HTTPRoutePatch.__pulumiType;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Create a HTTPRoutePatch resource with the given unique name, arguments, and options.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resource.
|
|
46
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
47
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
48
|
+
*/
|
|
49
|
+
constructor(name, args, opts) {
|
|
50
|
+
let resourceInputs = {};
|
|
51
|
+
opts = opts || {};
|
|
52
|
+
if (!opts.id) {
|
|
53
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
|
54
|
+
resourceInputs["kind"] = "HTTPRoute";
|
|
55
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
56
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
57
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
65
|
+
}
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:HTTPRoutePatch" }] };
|
|
68
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
69
|
+
super(HTTPRoutePatch.__pulumiType, name, resourceInputs, opts);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.HTTPRoutePatch = HTTPRoutePatch;
|
|
73
|
+
/** @internal */
|
|
74
|
+
HTTPRoutePatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:HTTPRoutePatch';
|
|
75
|
+
//# sourceMappingURL=httproutePatch.js.map
|
|
@@ -0,0 +1 @@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AAM,CAAC;YACJ,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,6DAA6D,EAAE,CAAC,EAAE,CAAC;QACzG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AArEL,wCAsEC;AAzDG,gBAAgB;AACO,2BAAY,GAAG,wDAAwD,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export { GatewayArgs } from "./gateway";
|
|
2
|
+
export type Gateway = import("./gateway").Gateway;
|
|
3
|
+
export declare const Gateway: typeof import("./gateway").Gateway;
|
|
4
|
+
export { GatewayClassArgs } from "./gatewayClass";
|
|
5
|
+
export type GatewayClass = import("./gatewayClass").GatewayClass;
|
|
6
|
+
export declare const GatewayClass: typeof import("./gatewayClass").GatewayClass;
|
|
7
|
+
export { GatewayClassListArgs } from "./gatewayClassList";
|
|
8
|
+
export type GatewayClassList = import("./gatewayClassList").GatewayClassList;
|
|
9
|
+
export declare const GatewayClassList: typeof import("./gatewayClassList").GatewayClassList;
|
|
10
|
+
export { GatewayClassPatchArgs } from "./gatewayClassPatch";
|
|
11
|
+
export type GatewayClassPatch = import("./gatewayClassPatch").GatewayClassPatch;
|
|
12
|
+
export declare const GatewayClassPatch: typeof import("./gatewayClassPatch").GatewayClassPatch;
|
|
13
|
+
export { GatewayListArgs } from "./gatewayList";
|
|
14
|
+
export type GatewayList = import("./gatewayList").GatewayList;
|
|
15
|
+
export declare const GatewayList: typeof import("./gatewayList").GatewayList;
|
|
16
|
+
export { GatewayPatchArgs } from "./gatewayPatch";
|
|
17
|
+
export type GatewayPatch = import("./gatewayPatch").GatewayPatch;
|
|
18
|
+
export declare const GatewayPatch: typeof import("./gatewayPatch").GatewayPatch;
|
|
19
|
+
export { GRPCRouteArgs } from "./grpcroute";
|
|
20
|
+
export type GRPCRoute = import("./grpcroute").GRPCRoute;
|
|
21
|
+
export declare const GRPCRoute: typeof import("./grpcroute").GRPCRoute;
|
|
22
|
+
export { GRPCRouteListArgs } from "./grpcrouteList";
|
|
23
|
+
export type GRPCRouteList = import("./grpcrouteList").GRPCRouteList;
|
|
24
|
+
export declare const GRPCRouteList: typeof import("./grpcrouteList").GRPCRouteList;
|
|
25
|
+
export { GRPCRoutePatchArgs } from "./grpcroutePatch";
|
|
26
|
+
export type GRPCRoutePatch = import("./grpcroutePatch").GRPCRoutePatch;
|
|
27
|
+
export declare const GRPCRoutePatch: typeof import("./grpcroutePatch").GRPCRoutePatch;
|
|
28
|
+
export { HTTPRouteArgs } from "./httproute";
|
|
29
|
+
export type HTTPRoute = import("./httproute").HTTPRoute;
|
|
30
|
+
export declare const HTTPRoute: typeof import("./httproute").HTTPRoute;
|
|
31
|
+
export { HTTPRouteListArgs } from "./httprouteList";
|
|
32
|
+
export type HTTPRouteList = import("./httprouteList").HTTPRouteList;
|
|
33
|
+
export declare const HTTPRouteList: typeof import("./httprouteList").HTTPRouteList;
|
|
34
|
+
export { HTTPRoutePatchArgs } from "./httproutePatch";
|
|
35
|
+
export type HTTPRoutePatch = import("./httproutePatch").HTTPRoutePatch;
|
|
36
|
+
export declare const HTTPRoutePatch: typeof import("./httproutePatch").HTTPRoutePatch;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.HTTPRoutePatch = exports.HTTPRouteList = exports.HTTPRoute = exports.GRPCRoutePatch = exports.GRPCRouteList = exports.GRPCRoute = exports.GatewayPatch = exports.GatewayList = exports.GatewayClassPatch = exports.GatewayClassList = exports.GatewayClass = exports.Gateway = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
exports.Gateway = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Gateway"], () => require("./gateway"));
|
|
10
|
+
exports.GatewayClass = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["GatewayClass"], () => require("./gatewayClass"));
|
|
12
|
+
exports.GatewayClassList = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["GatewayClassList"], () => require("./gatewayClassList"));
|
|
14
|
+
exports.GatewayClassPatch = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["GatewayClassPatch"], () => require("./gatewayClassPatch"));
|
|
16
|
+
exports.GatewayList = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["GatewayList"], () => require("./gatewayList"));
|
|
18
|
+
exports.GatewayPatch = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["GatewayPatch"], () => require("./gatewayPatch"));
|
|
20
|
+
exports.GRPCRoute = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["GRPCRoute"], () => require("./grpcroute"));
|
|
22
|
+
exports.GRPCRouteList = null;
|
|
23
|
+
utilities.lazyLoad(exports, ["GRPCRouteList"], () => require("./grpcrouteList"));
|
|
24
|
+
exports.GRPCRoutePatch = null;
|
|
25
|
+
utilities.lazyLoad(exports, ["GRPCRoutePatch"], () => require("./grpcroutePatch"));
|
|
26
|
+
exports.HTTPRoute = null;
|
|
27
|
+
utilities.lazyLoad(exports, ["HTTPRoute"], () => require("./httproute"));
|
|
28
|
+
exports.HTTPRouteList = null;
|
|
29
|
+
utilities.lazyLoad(exports, ["HTTPRouteList"], () => require("./httprouteList"));
|
|
30
|
+
exports.HTTPRoutePatch = null;
|
|
31
|
+
utilities.lazyLoad(exports, ["HTTPRoutePatch"], () => require("./httproutePatch"));
|
|
32
|
+
const _module = {
|
|
33
|
+
version: utilities.getVersion(),
|
|
34
|
+
construct: (name, type, urn) => {
|
|
35
|
+
switch (type) {
|
|
36
|
+
case "kubernetes:gateway.networking.k8s.io/v1:GRPCRoute":
|
|
37
|
+
return new exports.GRPCRoute(name, undefined, { urn });
|
|
38
|
+
case "kubernetes:gateway.networking.k8s.io/v1:GRPCRouteList":
|
|
39
|
+
return new exports.GRPCRouteList(name, undefined, { urn });
|
|
40
|
+
case "kubernetes:gateway.networking.k8s.io/v1:GRPCRoutePatch":
|
|
41
|
+
return new exports.GRPCRoutePatch(name, undefined, { urn });
|
|
42
|
+
case "kubernetes:gateway.networking.k8s.io/v1:Gateway":
|
|
43
|
+
return new exports.Gateway(name, undefined, { urn });
|
|
44
|
+
case "kubernetes:gateway.networking.k8s.io/v1:GatewayClass":
|
|
45
|
+
return new exports.GatewayClass(name, undefined, { urn });
|
|
46
|
+
case "kubernetes:gateway.networking.k8s.io/v1:GatewayClassList":
|
|
47
|
+
return new exports.GatewayClassList(name, undefined, { urn });
|
|
48
|
+
case "kubernetes:gateway.networking.k8s.io/v1:GatewayClassPatch":
|
|
49
|
+
return new exports.GatewayClassPatch(name, undefined, { urn });
|
|
50
|
+
case "kubernetes:gateway.networking.k8s.io/v1:GatewayList":
|
|
51
|
+
return new exports.GatewayList(name, undefined, { urn });
|
|
52
|
+
case "kubernetes:gateway.networking.k8s.io/v1:GatewayPatch":
|
|
53
|
+
return new exports.GatewayPatch(name, undefined, { urn });
|
|
54
|
+
case "kubernetes:gateway.networking.k8s.io/v1:HTTPRoute":
|
|
55
|
+
return new exports.HTTPRoute(name, undefined, { urn });
|
|
56
|
+
case "kubernetes:gateway.networking.k8s.io/v1:HTTPRouteList":
|
|
57
|
+
return new exports.HTTPRouteList(name, undefined, { urn });
|
|
58
|
+
case "kubernetes:gateway.networking.k8s.io/v1:HTTPRoutePatch":
|
|
59
|
+
return new exports.HTTPRoutePatch(name, undefined, { urn });
|
|
60
|
+
default:
|
|
61
|
+
throw new Error(`unknown resource type ${type}`);
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1", _module);
|
|
66
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../gateway/v1/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AACzC,6CAA6C;AAKhC,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIlE,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAI1E,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAA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AAE,CAAC,CAAA;YAC1D,KAAK,mDAAmD;gBACpD,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,uDAAuD;gBACxD,OAAO,IAAI,qBAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D,KAAK,wDAAwD;gBACzD,OAAO,IAAI,sBAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;QACzD,CAAC;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,MAAM,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import { ObjectMeta } from "../../meta/v1";
|
|
5
|
+
/**
|
|
6
|
+
* BackendLBPolicy provides a way to define load balancing rules
|
|
7
|
+
* for a backend.
|
|
8
|
+
*/
|
|
9
|
+
export declare class BackendLBPolicy extends pulumi.CustomResource {
|
|
10
|
+
/**
|
|
11
|
+
* Get an existing BackendLBPolicy resource's state with the given name, ID, and optional extra
|
|
12
|
+
* properties used to qualify the lookup.
|
|
13
|
+
*
|
|
14
|
+
* @param name The _unique_ name of the resulting resource.
|
|
15
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendLBPolicy;
|
|
19
|
+
/**
|
|
20
|
+
* Returns true if the given object is an instance of BackendLBPolicy. 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 BackendLBPolicy;
|
|
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
|
+
* 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
|
|
30
|
+
*/
|
|
31
|
+
readonly kind: pulumi.Output<"BackendLBPolicy">;
|
|
32
|
+
/**
|
|
33
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
34
|
+
*/
|
|
35
|
+
readonly metadata: pulumi.Output<ObjectMeta>;
|
|
36
|
+
readonly spec: pulumi.Output<outputs.gateway.v1alpha2.BackendLBPolicySpec>;
|
|
37
|
+
readonly status: pulumi.Output<outputs.gateway.v1alpha2.BackendLBPolicyStatus>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a BackendLBPolicy resource with the given unique name, arguments, and options.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resource.
|
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
44
|
+
*/
|
|
45
|
+
constructor(name: string, args?: BackendLBPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The set of arguments for constructing a BackendLBPolicy resource.
|
|
49
|
+
*/
|
|
50
|
+
export interface BackendLBPolicyArgs {
|
|
51
|
+
/**
|
|
52
|
+
* 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
|
|
53
|
+
*/
|
|
54
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
|
|
55
|
+
/**
|
|
56
|
+
* 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
|
|
57
|
+
*/
|
|
58
|
+
kind?: pulumi.Input<"BackendLBPolicy">;
|
|
59
|
+
/**
|
|
60
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
61
|
+
*/
|
|
62
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
|
63
|
+
spec?: pulumi.Input<inputs.gateway.v1alpha2.BackendLBPolicySpec>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.BackendLBPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* BackendLBPolicy provides a way to define load balancing rules
|
|
10
|
+
* for a backend.
|
|
11
|
+
*/
|
|
12
|
+
class BackendLBPolicy extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing BackendLBPolicy 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
|
+
static get(name, id, opts) {
|
|
22
|
+
return new BackendLBPolicy(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of BackendLBPolicy. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === BackendLBPolicy.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Create a BackendLBPolicy resource with the given unique name, arguments, and options.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resource.
|
|
38
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
39
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
40
|
+
*/
|
|
41
|
+
constructor(name, args, opts) {
|
|
42
|
+
let resourceInputs = {};
|
|
43
|
+
opts = opts || {};
|
|
44
|
+
if (!opts.id) {
|
|
45
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
|
|
46
|
+
resourceInputs["kind"] = "BackendLBPolicy";
|
|
47
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
48
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
49
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
57
|
+
}
|
|
58
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
59
|
+
super(BackendLBPolicy.__pulumiType, name, resourceInputs, opts);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.BackendLBPolicy = BackendLBPolicy;
|
|
63
|
+
/** @internal */
|
|
64
|
+
BackendLBPolicy.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicy';
|
|
65
|
+
//# sourceMappingURL=backendLBPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backendLBPolicy.js","sourceRoot":"","sources":["../../../gateway/v1alpha2/backendLBPolicy.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;GAGG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACpC,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAiBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA0B,EAAE,IAAmC;QACrF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;YACX,cAAc,CAAC,YAAY,CAAC,GAAG,oCAAoC,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,iBAAiB,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;aAAM,CAAC;YACJ,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAnEL,0CAoEC;AAvDG,gBAAgB;AACO,4BAAY,GAAG,+DAA+D,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* BackendLBPolicyList is a list of BackendLBPolicy
|
|
6
|
+
*/
|
|
7
|
+
export declare class BackendLBPolicyList extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing BackendLBPolicyList 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): BackendLBPolicyList;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of BackendLBPolicyList. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is BackendLBPolicyList;
|
|
22
|
+
/**
|
|
23
|
+
* 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
|
|
24
|
+
*/
|
|
25
|
+
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
|
|
26
|
+
/**
|
|
27
|
+
* List of backendlbpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
28
|
+
*/
|
|
29
|
+
readonly items: pulumi.Output<outputs.gateway.v1alpha2.BackendLBPolicy[]>;
|
|
30
|
+
/**
|
|
31
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
32
|
+
*/
|
|
33
|
+
readonly kind: pulumi.Output<"BackendLBPolicyList">;
|
|
34
|
+
/**
|
|
35
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
36
|
+
*/
|
|
37
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a BackendLBPolicyList resource with the given unique name, arguments, and options.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resource.
|
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
44
|
+
*/
|
|
45
|
+
constructor(name: string, args?: BackendLBPolicyListArgs, opts?: pulumi.CustomResourceOptions);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The set of arguments for constructing a BackendLBPolicyList resource.
|
|
49
|
+
*/
|
|
50
|
+
export interface BackendLBPolicyListArgs {
|
|
51
|
+
/**
|
|
52
|
+
* 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
|
|
53
|
+
*/
|
|
54
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
|
|
55
|
+
/**
|
|
56
|
+
* List of backendlbpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
57
|
+
*/
|
|
58
|
+
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha2.BackendLBPolicy>[]>;
|
|
59
|
+
/**
|
|
60
|
+
* 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
|
|
61
|
+
*/
|
|
62
|
+
kind?: pulumi.Input<"BackendLBPolicyList">;
|
|
63
|
+
/**
|
|
64
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
65
|
+
*/
|
|
66
|
+
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
|
67
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.BackendLBPolicyList = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* BackendLBPolicyList is a list of BackendLBPolicy
|
|
10
|
+
*/
|
|
11
|
+
class BackendLBPolicyList extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing BackendLBPolicyList 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 BackendLBPolicyList(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of BackendLBPolicyList. 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'] === BackendLBPolicyList.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a BackendLBPolicyList 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"] = "BackendLBPolicyList";
|
|
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(BackendLBPolicyList.__pulumiType, name, resourceInputs, opts);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.BackendLBPolicyList = BackendLBPolicyList;
|
|
63
|
+
/** @internal */
|
|
64
|
+
BackendLBPolicyList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicyList';
|
|
65
|
+
//# sourceMappingURL=backendLBPolicyList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backendLBPolicyList.js","sourceRoot":"","sources":["../../../gateway/v1alpha2/backendLBPolicyList.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;GAEG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;Y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,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAtEL,kDAuEC;AA1DG,gBAAgB;AACO,gCAAY,GAAG,mEAAmE,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import { ObjectMetaPatch } from "../../meta/v1";
|
|
5
|
+
/**
|
|
6
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
7
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
8
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
9
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
10
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
11
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
12
|
+
* BackendLBPolicy provides a way to define load balancing rules
|
|
13
|
+
* for a backend.
|
|
14
|
+
*/
|
|
15
|
+
export declare class BackendLBPolicyPatch extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing BackendLBPolicyPatch resource's state with the given name, ID, and optional extra
|
|
18
|
+
* properties used to qualify the lookup.
|
|
19
|
+
*
|
|
20
|
+
* @param name The _unique_ name of the resulting resource.
|
|
21
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
23
|
+
*/
|
|
24
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendLBPolicyPatch;
|
|
25
|
+
/**
|
|
26
|
+
* Returns true if the given object is an instance of BackendLBPolicyPatch. This is designed to work even
|
|
27
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
28
|
+
*/
|
|
29
|
+
static isInstance(obj: any): obj is BackendLBPolicyPatch;
|
|
30
|
+
/**
|
|
31
|
+
* 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
|
|
32
|
+
*/
|
|
33
|
+
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
|
|
34
|
+
/**
|
|
35
|
+
* 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
|
|
36
|
+
*/
|
|
37
|
+
readonly kind: pulumi.Output<"BackendLBPolicy">;
|
|
38
|
+
/**
|
|
39
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
40
|
+
*/
|
|
41
|
+
readonly metadata: pulumi.Output<ObjectMetaPatch>;
|
|
42
|
+
readonly spec: pulumi.Output<outputs.gateway.v1alpha2.BackendLBPolicySpecPatch>;
|
|
43
|
+
readonly status: pulumi.Output<outputs.gateway.v1alpha2.BackendLBPolicyStatusPatch>;
|
|
44
|
+
/**
|
|
45
|
+
* Create a BackendLBPolicyPatch resource with the given unique name, arguments, and options.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resource.
|
|
48
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
49
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
50
|
+
*/
|
|
51
|
+
constructor(name: string, args?: BackendLBPolicyPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The set of arguments for constructing a BackendLBPolicyPatch resource.
|
|
55
|
+
*/
|
|
56
|
+
export interface BackendLBPolicyPatchArgs {
|
|
57
|
+
/**
|
|
58
|
+
* 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
|
|
59
|
+
*/
|
|
60
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
|
|
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<"BackendLBPolicy">;
|
|
65
|
+
/**
|
|
66
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
67
|
+
*/
|
|
68
|
+
metadata?: pulumi.Input<ObjectMetaPatch>;
|
|
69
|
+
spec?: pulumi.Input<inputs.gateway.v1alpha2.BackendLBPolicySpecPatch>;
|
|
70
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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.BackendLBPolicyPatch = 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
|
+
* BackendLBPolicy provides a way to define load balancing rules
|
|
16
|
+
* for a backend.
|
|
17
|
+
*/
|
|
18
|
+
class BackendLBPolicyPatch extends pulumi.CustomResource {
|
|
19
|
+
/**
|
|
20
|
+
* Get an existing BackendLBPolicyPatch resource's state with the given name, ID, and optional extra
|
|
21
|
+
* properties used to qualify the lookup.
|
|
22
|
+
*
|
|
23
|
+
* @param name The _unique_ name of the resulting resource.
|
|
24
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, opts) {
|
|
28
|
+
return new BackendLBPolicyPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of BackendLBPolicyPatch. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === BackendLBPolicyPatch.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Create a BackendLBPolicyPatch 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, args, opts) {
|
|
48
|
+
let resourceInputs = {};
|
|
49
|
+
opts = opts || {};
|
|
50
|
+
if (!opts.id) {
|
|
51
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
|
|
52
|
+
resourceInputs["kind"] = "BackendLBPolicy";
|
|
53
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
54
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
55
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
63
|
+
}
|
|
64
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
65
|
+
super(BackendLBPolicyPatch.__pulumiType, name, resourceInputs, opts);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.BackendLBPolicyPatch = BackendLBPolicyPatch;
|
|
69
|
+
/** @internal */
|
|
70
|
+
BackendLBPolicyPatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicyPatch';
|
|
71
|
+
//# sourceMappingURL=backendLBPolicyPatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backendLBPolicyPatch.js","sourceRoot":"","sources":["../../../gateway/v1alpha2/backendLBPolicyPatch.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;;;;;;;GASG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACpC,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,CAAC,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