@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,106 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as inputs from "../../types/input";
|
|
6
|
+
import * as outputs from "../../types/output";
|
|
7
|
+
import * as utilities from "../../utilities";
|
|
8
|
+
|
|
9
|
+
import {ObjectMeta} from "../../meta/v1";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* HTTPRoute provides a way to route HTTP requests. This includes the capability
|
|
13
|
+
* to match requests by hostname, path, header, or query param. Filters can be
|
|
14
|
+
* used to specify additional processing steps. Backends specify where matching
|
|
15
|
+
* requests should be routed.
|
|
16
|
+
*/
|
|
17
|
+
export class HTTPRoute extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing HTTPRoute resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
25
|
+
*/
|
|
26
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): HTTPRoute {
|
|
27
|
+
return new HTTPRoute(name, undefined as any, { ...opts, id: id });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:HTTPRoute';
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Returns true if the given object is an instance of HTTPRoute. This is designed to work even
|
|
35
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
36
|
+
*/
|
|
37
|
+
public static isInstance(obj: any): obj is HTTPRoute {
|
|
38
|
+
if (obj === undefined || obj === null) {
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
return obj['__pulumiType'] === HTTPRoute.__pulumiType;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* 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
|
|
46
|
+
*/
|
|
47
|
+
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
|
48
|
+
/**
|
|
49
|
+
* 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
|
|
50
|
+
*/
|
|
51
|
+
public readonly kind!: pulumi.Output<"HTTPRoute">;
|
|
52
|
+
/**
|
|
53
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
54
|
+
*/
|
|
55
|
+
public readonly metadata!: pulumi.Output<ObjectMeta>;
|
|
56
|
+
public readonly spec!: pulumi.Output<outputs.gateway.v1.HTTPRouteSpec>;
|
|
57
|
+
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.HTTPRouteStatus>;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Create a HTTPRoute 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: string, args?: HTTPRouteArgs, opts?: pulumi.CustomResourceOptions) {
|
|
67
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
68
|
+
opts = opts || {};
|
|
69
|
+
if (!opts.id) {
|
|
70
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
|
71
|
+
resourceInputs["kind"] = "HTTPRoute";
|
|
72
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
73
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
74
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
75
|
+
} else {
|
|
76
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:HTTPRoute" }] };
|
|
84
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
85
|
+
super(HTTPRoute.__pulumiType, name, resourceInputs, opts);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* The set of arguments for constructing a HTTPRoute resource.
|
|
91
|
+
*/
|
|
92
|
+
export interface HTTPRouteArgs {
|
|
93
|
+
/**
|
|
94
|
+
* 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
|
|
95
|
+
*/
|
|
96
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
|
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<"HTTPRoute">;
|
|
101
|
+
/**
|
|
102
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
103
|
+
*/
|
|
104
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
|
105
|
+
spec?: pulumi.Input<inputs.gateway.v1.HTTPRouteSpec>;
|
|
106
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as inputs from "../../types/input";
|
|
6
|
+
import * as outputs from "../../types/output";
|
|
7
|
+
import * as utilities from "../../utilities";
|
|
8
|
+
|
|
9
|
+
import {ObjectMeta} from "../../meta/v1";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* HTTPRouteList is a list of HTTPRoute
|
|
13
|
+
*/
|
|
14
|
+
export class HTTPRouteList extends pulumi.CustomResource {
|
|
15
|
+
/**
|
|
16
|
+
* Get an existing HTTPRouteList resource's state with the given name, ID, and optional extra
|
|
17
|
+
* properties used to qualify the lookup.
|
|
18
|
+
*
|
|
19
|
+
* @param name The _unique_ name of the resulting resource.
|
|
20
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): HTTPRouteList {
|
|
24
|
+
return new HTTPRouteList(name, undefined as any, { ...opts, id: id });
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:HTTPRouteList';
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of HTTPRouteList. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
public static isInstance(obj: any): obj is HTTPRouteList {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === HTTPRouteList.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
43
|
+
*/
|
|
44
|
+
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
|
45
|
+
/**
|
|
46
|
+
* List of httproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
47
|
+
*/
|
|
48
|
+
public readonly items!: pulumi.Output<outputs.gateway.v1.HTTPRoute[]>;
|
|
49
|
+
/**
|
|
50
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
51
|
+
*/
|
|
52
|
+
public readonly kind!: pulumi.Output<"HTTPRouteList">;
|
|
53
|
+
/**
|
|
54
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
55
|
+
*/
|
|
56
|
+
public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Create a HTTPRouteList resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name: string, args?: HTTPRouteListArgs, opts?: pulumi.CustomResourceOptions) {
|
|
66
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (!opts.id) {
|
|
69
|
+
if ((!args || args.items === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'items'");
|
|
71
|
+
}
|
|
72
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
|
73
|
+
resourceInputs["items"] = args ? args.items : undefined;
|
|
74
|
+
resourceInputs["kind"] = "HTTPRouteList";
|
|
75
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
76
|
+
} else {
|
|
77
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["items"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(HTTPRouteList.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* The set of arguments for constructing a HTTPRouteList resource.
|
|
89
|
+
*/
|
|
90
|
+
export interface HTTPRouteListArgs {
|
|
91
|
+
/**
|
|
92
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
93
|
+
*/
|
|
94
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
|
95
|
+
/**
|
|
96
|
+
* List of httproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
97
|
+
*/
|
|
98
|
+
items: pulumi.Input<pulumi.Input<inputs.gateway.v1.HTTPRoute>[]>;
|
|
99
|
+
/**
|
|
100
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
101
|
+
*/
|
|
102
|
+
kind?: pulumi.Input<"HTTPRouteList">;
|
|
103
|
+
/**
|
|
104
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
105
|
+
*/
|
|
106
|
+
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
|
107
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as inputs from "../../types/input";
|
|
6
|
+
import * as outputs from "../../types/output";
|
|
7
|
+
import * as utilities from "../../utilities";
|
|
8
|
+
|
|
9
|
+
import {ObjectMetaPatch} from "../../meta/v1";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
13
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
14
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
15
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
16
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
17
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
18
|
+
* HTTPRoute provides a way to route HTTP requests. This includes the capability
|
|
19
|
+
* to match requests by hostname, path, header, or query param. Filters can be
|
|
20
|
+
* used to specify additional processing steps. Backends specify where matching
|
|
21
|
+
* requests should be routed.
|
|
22
|
+
*/
|
|
23
|
+
export class HTTPRoutePatch extends pulumi.CustomResource {
|
|
24
|
+
/**
|
|
25
|
+
* Get an existing HTTPRoutePatch resource's state with the given name, ID, and optional extra
|
|
26
|
+
* properties used to qualify the lookup.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resulting resource.
|
|
29
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
31
|
+
*/
|
|
32
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): HTTPRoutePatch {
|
|
33
|
+
return new HTTPRoutePatch(name, undefined as any, { ...opts, id: id });
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:HTTPRoutePatch';
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of HTTPRoutePatch. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
public static isInstance(obj: any): obj is HTTPRoutePatch {
|
|
44
|
+
if (obj === undefined || obj === null) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
return obj['__pulumiType'] === HTTPRoutePatch.__pulumiType;
|
|
48
|
+
}
|
|
49
|
+
|
|
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
|
+
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
|
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
|
+
public readonly kind!: pulumi.Output<"HTTPRoute">;
|
|
58
|
+
/**
|
|
59
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
60
|
+
*/
|
|
61
|
+
public readonly metadata!: pulumi.Output<ObjectMetaPatch>;
|
|
62
|
+
public readonly spec!: pulumi.Output<outputs.gateway.v1.HTTPRouteSpecPatch>;
|
|
63
|
+
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.HTTPRouteStatusPatch>;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Create a HTTPRoutePatch resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name: string, args?: HTTPRoutePatchArgs, opts?: pulumi.CustomResourceOptions) {
|
|
73
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
74
|
+
opts = opts || {};
|
|
75
|
+
if (!opts.id) {
|
|
76
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
|
77
|
+
resourceInputs["kind"] = "HTTPRoute";
|
|
78
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
79
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
80
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
81
|
+
} else {
|
|
82
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
87
|
+
}
|
|
88
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
89
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:HTTPRoutePatch" }] };
|
|
90
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
91
|
+
super(HTTPRoutePatch.__pulumiType, name, resourceInputs, opts);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* The set of arguments for constructing a HTTPRoutePatch resource.
|
|
97
|
+
*/
|
|
98
|
+
export interface HTTPRoutePatchArgs {
|
|
99
|
+
/**
|
|
100
|
+
* 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
|
|
101
|
+
*/
|
|
102
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
|
103
|
+
/**
|
|
104
|
+
* 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
|
|
105
|
+
*/
|
|
106
|
+
kind?: pulumi.Input<"HTTPRoute">;
|
|
107
|
+
/**
|
|
108
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
109
|
+
*/
|
|
110
|
+
metadata?: pulumi.Input<ObjectMetaPatch>;
|
|
111
|
+
spec?: pulumi.Input<inputs.gateway.v1.HTTPRouteSpecPatch>;
|
|
112
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "../../utilities";
|
|
6
|
+
|
|
7
|
+
// Export members:
|
|
8
|
+
export { GatewayArgs } from "./gateway";
|
|
9
|
+
export type Gateway = import("./gateway").Gateway;
|
|
10
|
+
export const Gateway: typeof import("./gateway").Gateway = null as any;
|
|
11
|
+
utilities.lazyLoad(exports, ["Gateway"], () => require("./gateway"));
|
|
12
|
+
|
|
13
|
+
export { GatewayClassArgs } from "./gatewayClass";
|
|
14
|
+
export type GatewayClass = import("./gatewayClass").GatewayClass;
|
|
15
|
+
export const GatewayClass: typeof import("./gatewayClass").GatewayClass = null as any;
|
|
16
|
+
utilities.lazyLoad(exports, ["GatewayClass"], () => require("./gatewayClass"));
|
|
17
|
+
|
|
18
|
+
export { GatewayClassListArgs } from "./gatewayClassList";
|
|
19
|
+
export type GatewayClassList = import("./gatewayClassList").GatewayClassList;
|
|
20
|
+
export const GatewayClassList: typeof import("./gatewayClassList").GatewayClassList = null as any;
|
|
21
|
+
utilities.lazyLoad(exports, ["GatewayClassList"], () => require("./gatewayClassList"));
|
|
22
|
+
|
|
23
|
+
export { GatewayClassPatchArgs } from "./gatewayClassPatch";
|
|
24
|
+
export type GatewayClassPatch = import("./gatewayClassPatch").GatewayClassPatch;
|
|
25
|
+
export const GatewayClassPatch: typeof import("./gatewayClassPatch").GatewayClassPatch = null as any;
|
|
26
|
+
utilities.lazyLoad(exports, ["GatewayClassPatch"], () => require("./gatewayClassPatch"));
|
|
27
|
+
|
|
28
|
+
export { GatewayListArgs } from "./gatewayList";
|
|
29
|
+
export type GatewayList = import("./gatewayList").GatewayList;
|
|
30
|
+
export const GatewayList: typeof import("./gatewayList").GatewayList = null as any;
|
|
31
|
+
utilities.lazyLoad(exports, ["GatewayList"], () => require("./gatewayList"));
|
|
32
|
+
|
|
33
|
+
export { GatewayPatchArgs } from "./gatewayPatch";
|
|
34
|
+
export type GatewayPatch = import("./gatewayPatch").GatewayPatch;
|
|
35
|
+
export const GatewayPatch: typeof import("./gatewayPatch").GatewayPatch = null as any;
|
|
36
|
+
utilities.lazyLoad(exports, ["GatewayPatch"], () => require("./gatewayPatch"));
|
|
37
|
+
|
|
38
|
+
export { GRPCRouteArgs } from "./grpcroute";
|
|
39
|
+
export type GRPCRoute = import("./grpcroute").GRPCRoute;
|
|
40
|
+
export const GRPCRoute: typeof import("./grpcroute").GRPCRoute = null as any;
|
|
41
|
+
utilities.lazyLoad(exports, ["GRPCRoute"], () => require("./grpcroute"));
|
|
42
|
+
|
|
43
|
+
export { GRPCRouteListArgs } from "./grpcrouteList";
|
|
44
|
+
export type GRPCRouteList = import("./grpcrouteList").GRPCRouteList;
|
|
45
|
+
export const GRPCRouteList: typeof import("./grpcrouteList").GRPCRouteList = null as any;
|
|
46
|
+
utilities.lazyLoad(exports, ["GRPCRouteList"], () => require("./grpcrouteList"));
|
|
47
|
+
|
|
48
|
+
export { GRPCRoutePatchArgs } from "./grpcroutePatch";
|
|
49
|
+
export type GRPCRoutePatch = import("./grpcroutePatch").GRPCRoutePatch;
|
|
50
|
+
export const GRPCRoutePatch: typeof import("./grpcroutePatch").GRPCRoutePatch = null as any;
|
|
51
|
+
utilities.lazyLoad(exports, ["GRPCRoutePatch"], () => require("./grpcroutePatch"));
|
|
52
|
+
|
|
53
|
+
export { HTTPRouteArgs } from "./httproute";
|
|
54
|
+
export type HTTPRoute = import("./httproute").HTTPRoute;
|
|
55
|
+
export const HTTPRoute: typeof import("./httproute").HTTPRoute = null as any;
|
|
56
|
+
utilities.lazyLoad(exports, ["HTTPRoute"], () => require("./httproute"));
|
|
57
|
+
|
|
58
|
+
export { HTTPRouteListArgs } from "./httprouteList";
|
|
59
|
+
export type HTTPRouteList = import("./httprouteList").HTTPRouteList;
|
|
60
|
+
export const HTTPRouteList: typeof import("./httprouteList").HTTPRouteList = null as any;
|
|
61
|
+
utilities.lazyLoad(exports, ["HTTPRouteList"], () => require("./httprouteList"));
|
|
62
|
+
|
|
63
|
+
export { HTTPRoutePatchArgs } from "./httproutePatch";
|
|
64
|
+
export type HTTPRoutePatch = import("./httproutePatch").HTTPRoutePatch;
|
|
65
|
+
export const HTTPRoutePatch: typeof import("./httproutePatch").HTTPRoutePatch = null as any;
|
|
66
|
+
utilities.lazyLoad(exports, ["HTTPRoutePatch"], () => require("./httproutePatch"));
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
const _module = {
|
|
70
|
+
version: utilities.getVersion(),
|
|
71
|
+
construct: (name: string, type: string, urn: string): pulumi.Resource => {
|
|
72
|
+
switch (type) {
|
|
73
|
+
case "kubernetes:gateway.networking.k8s.io/v1:GRPCRoute":
|
|
74
|
+
return new GRPCRoute(name, <any>undefined, { urn })
|
|
75
|
+
case "kubernetes:gateway.networking.k8s.io/v1:GRPCRouteList":
|
|
76
|
+
return new GRPCRouteList(name, <any>undefined, { urn })
|
|
77
|
+
case "kubernetes:gateway.networking.k8s.io/v1:GRPCRoutePatch":
|
|
78
|
+
return new GRPCRoutePatch(name, <any>undefined, { urn })
|
|
79
|
+
case "kubernetes:gateway.networking.k8s.io/v1:Gateway":
|
|
80
|
+
return new Gateway(name, <any>undefined, { urn })
|
|
81
|
+
case "kubernetes:gateway.networking.k8s.io/v1:GatewayClass":
|
|
82
|
+
return new GatewayClass(name, <any>undefined, { urn })
|
|
83
|
+
case "kubernetes:gateway.networking.k8s.io/v1:GatewayClassList":
|
|
84
|
+
return new GatewayClassList(name, <any>undefined, { urn })
|
|
85
|
+
case "kubernetes:gateway.networking.k8s.io/v1:GatewayClassPatch":
|
|
86
|
+
return new GatewayClassPatch(name, <any>undefined, { urn })
|
|
87
|
+
case "kubernetes:gateway.networking.k8s.io/v1:GatewayList":
|
|
88
|
+
return new GatewayList(name, <any>undefined, { urn })
|
|
89
|
+
case "kubernetes:gateway.networking.k8s.io/v1:GatewayPatch":
|
|
90
|
+
return new GatewayPatch(name, <any>undefined, { urn })
|
|
91
|
+
case "kubernetes:gateway.networking.k8s.io/v1:HTTPRoute":
|
|
92
|
+
return new HTTPRoute(name, <any>undefined, { urn })
|
|
93
|
+
case "kubernetes:gateway.networking.k8s.io/v1:HTTPRouteList":
|
|
94
|
+
return new HTTPRouteList(name, <any>undefined, { urn })
|
|
95
|
+
case "kubernetes:gateway.networking.k8s.io/v1:HTTPRoutePatch":
|
|
96
|
+
return new HTTPRoutePatch(name, <any>undefined, { urn })
|
|
97
|
+
default:
|
|
98
|
+
throw new Error(`unknown resource type ${type}`);
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1", _module)
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as inputs from "../../types/input";
|
|
6
|
+
import * as outputs from "../../types/output";
|
|
7
|
+
import * as utilities from "../../utilities";
|
|
8
|
+
|
|
9
|
+
import {ObjectMeta} from "../../meta/v1";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* BackendLBPolicy provides a way to define load balancing rules
|
|
13
|
+
* for a backend.
|
|
14
|
+
*/
|
|
15
|
+
export class BackendLBPolicy extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing BackendLBPolicy 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
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendLBPolicy {
|
|
25
|
+
return new BackendLBPolicy(name, undefined as any, { ...opts, id: id });
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicy';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Returns true if the given object is an instance of BackendLBPolicy. This is designed to work even
|
|
33
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
34
|
+
*/
|
|
35
|
+
public static isInstance(obj: any): obj is BackendLBPolicy {
|
|
36
|
+
if (obj === undefined || obj === null) {
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
return obj['__pulumiType'] === BackendLBPolicy.__pulumiType;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* 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
|
|
44
|
+
*/
|
|
45
|
+
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
|
|
46
|
+
/**
|
|
47
|
+
* 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
|
|
48
|
+
*/
|
|
49
|
+
public readonly kind!: pulumi.Output<"BackendLBPolicy">;
|
|
50
|
+
/**
|
|
51
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
52
|
+
*/
|
|
53
|
+
public readonly metadata!: pulumi.Output<ObjectMeta>;
|
|
54
|
+
public readonly spec!: pulumi.Output<outputs.gateway.v1alpha2.BackendLBPolicySpec>;
|
|
55
|
+
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha2.BackendLBPolicyStatus>;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Create a BackendLBPolicy resource with the given unique name, arguments, and options.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resource.
|
|
61
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
62
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
63
|
+
*/
|
|
64
|
+
constructor(name: string, args?: BackendLBPolicyArgs, opts?: pulumi.CustomResourceOptions) {
|
|
65
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
66
|
+
opts = opts || {};
|
|
67
|
+
if (!opts.id) {
|
|
68
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
|
|
69
|
+
resourceInputs["kind"] = "BackendLBPolicy";
|
|
70
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
71
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
72
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
73
|
+
} else {
|
|
74
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(BackendLBPolicy.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* The set of arguments for constructing a BackendLBPolicy resource.
|
|
87
|
+
*/
|
|
88
|
+
export interface BackendLBPolicyArgs {
|
|
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
|
+
* 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
|
|
95
|
+
*/
|
|
96
|
+
kind?: pulumi.Input<"BackendLBPolicy">;
|
|
97
|
+
/**
|
|
98
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
99
|
+
*/
|
|
100
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
|
101
|
+
spec?: pulumi.Input<inputs.gateway.v1alpha2.BackendLBPolicySpec>;
|
|
102
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as inputs from "../../types/input";
|
|
6
|
+
import * as outputs from "../../types/output";
|
|
7
|
+
import * as utilities from "../../utilities";
|
|
8
|
+
|
|
9
|
+
import {ObjectMeta} from "../../meta/v1";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* BackendLBPolicyList is a list of BackendLBPolicy
|
|
13
|
+
*/
|
|
14
|
+
export class BackendLBPolicyList extends pulumi.CustomResource {
|
|
15
|
+
/**
|
|
16
|
+
* Get an existing BackendLBPolicyList resource's state with the given name, ID, and optional extra
|
|
17
|
+
* properties used to qualify the lookup.
|
|
18
|
+
*
|
|
19
|
+
* @param name The _unique_ name of the resulting resource.
|
|
20
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendLBPolicyList {
|
|
24
|
+
return new BackendLBPolicyList(name, undefined as any, { ...opts, id: id });
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicyList';
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of BackendLBPolicyList. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
public static isInstance(obj: any): obj is BackendLBPolicyList {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === BackendLBPolicyList.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
43
|
+
*/
|
|
44
|
+
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
|
|
45
|
+
/**
|
|
46
|
+
* List of backendlbpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
47
|
+
*/
|
|
48
|
+
public readonly items!: pulumi.Output<outputs.gateway.v1alpha2.BackendLBPolicy[]>;
|
|
49
|
+
/**
|
|
50
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
51
|
+
*/
|
|
52
|
+
public readonly kind!: pulumi.Output<"BackendLBPolicyList">;
|
|
53
|
+
/**
|
|
54
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
55
|
+
*/
|
|
56
|
+
public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Create a BackendLBPolicyList resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name: string, args?: BackendLBPolicyListArgs, opts?: pulumi.CustomResourceOptions) {
|
|
66
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (!opts.id) {
|
|
69
|
+
if ((!args || args.items === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'items'");
|
|
71
|
+
}
|
|
72
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
|
|
73
|
+
resourceInputs["items"] = args ? args.items : undefined;
|
|
74
|
+
resourceInputs["kind"] = "BackendLBPolicyList";
|
|
75
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
76
|
+
} else {
|
|
77
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["items"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(BackendLBPolicyList.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* The set of arguments for constructing a BackendLBPolicyList resource.
|
|
89
|
+
*/
|
|
90
|
+
export interface BackendLBPolicyListArgs {
|
|
91
|
+
/**
|
|
92
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
93
|
+
*/
|
|
94
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
|
|
95
|
+
/**
|
|
96
|
+
* List of backendlbpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
97
|
+
*/
|
|
98
|
+
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha2.BackendLBPolicy>[]>;
|
|
99
|
+
/**
|
|
100
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
101
|
+
*/
|
|
102
|
+
kind?: pulumi.Input<"BackendLBPolicyList">;
|
|
103
|
+
/**
|
|
104
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
105
|
+
*/
|
|
106
|
+
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
|
107
|
+
}
|