@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,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
|
+
* BackendTLSPolicyList is a list of BackendTLSPolicy
|
|
13
|
+
*/
|
|
14
|
+
export class BackendTLSPolicyList extends pulumi.CustomResource {
|
|
15
|
+
/**
|
|
16
|
+
* Get an existing BackendTLSPolicyList 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): BackendTLSPolicyList {
|
|
24
|
+
return new BackendTLSPolicyList(name, undefined as any, { ...opts, id: id });
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicyList';
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of BackendTLSPolicyList. 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 BackendTLSPolicyList {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === BackendTLSPolicyList.__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/v1alpha3">;
|
|
45
|
+
/**
|
|
46
|
+
* List of backendtlspolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
47
|
+
*/
|
|
48
|
+
public readonly items!: pulumi.Output<outputs.gateway.v1alpha3.BackendTLSPolicy[]>;
|
|
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<"BackendTLSPolicyList">;
|
|
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 BackendTLSPolicyList 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?: BackendTLSPolicyListArgs, 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/v1alpha3";
|
|
73
|
+
resourceInputs["items"] = args ? args.items : undefined;
|
|
74
|
+
resourceInputs["kind"] = "BackendTLSPolicyList";
|
|
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(BackendTLSPolicyList.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* The set of arguments for constructing a BackendTLSPolicyList resource.
|
|
89
|
+
*/
|
|
90
|
+
export interface BackendTLSPolicyListArgs {
|
|
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/v1alpha3">;
|
|
95
|
+
/**
|
|
96
|
+
* List of backendtlspolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
97
|
+
*/
|
|
98
|
+
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha3.BackendTLSPolicy>[]>;
|
|
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<"BackendTLSPolicyList">;
|
|
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,108 @@
|
|
|
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
|
+
* BackendTLSPolicy provides a way to configure how a Gateway
|
|
19
|
+
* connects to a Backend via TLS.
|
|
20
|
+
*/
|
|
21
|
+
export class BackendTLSPolicyPatch extends pulumi.CustomResource {
|
|
22
|
+
/**
|
|
23
|
+
* Get an existing BackendTLSPolicyPatch resource's state with the given name, ID, and optional extra
|
|
24
|
+
* properties used to qualify the lookup.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resulting resource.
|
|
27
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
29
|
+
*/
|
|
30
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendTLSPolicyPatch {
|
|
31
|
+
return new BackendTLSPolicyPatch(name, undefined as any, { ...opts, id: id });
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicyPatch';
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of BackendTLSPolicyPatch. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
public static isInstance(obj: any): obj is BackendTLSPolicyPatch {
|
|
42
|
+
if (obj === undefined || obj === null) {
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
return obj['__pulumiType'] === BackendTLSPolicyPatch.__pulumiType;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* 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
|
|
50
|
+
*/
|
|
51
|
+
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha3">;
|
|
52
|
+
/**
|
|
53
|
+
* 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
|
|
54
|
+
*/
|
|
55
|
+
public readonly kind!: pulumi.Output<"BackendTLSPolicy">;
|
|
56
|
+
/**
|
|
57
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
58
|
+
*/
|
|
59
|
+
public readonly metadata!: pulumi.Output<ObjectMetaPatch>;
|
|
60
|
+
public readonly spec!: pulumi.Output<outputs.gateway.v1alpha3.BackendTLSPolicySpecPatch>;
|
|
61
|
+
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha3.BackendTLSPolicyStatusPatch>;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Create a BackendTLSPolicyPatch resource with the given unique name, arguments, and options.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resource.
|
|
67
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
68
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
69
|
+
*/
|
|
70
|
+
constructor(name: string, args?: BackendTLSPolicyPatchArgs, opts?: pulumi.CustomResourceOptions) {
|
|
71
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
72
|
+
opts = opts || {};
|
|
73
|
+
if (!opts.id) {
|
|
74
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha3";
|
|
75
|
+
resourceInputs["kind"] = "BackendTLSPolicy";
|
|
76
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
77
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
78
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
79
|
+
} else {
|
|
80
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
82
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
85
|
+
}
|
|
86
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
+
super(BackendTLSPolicyPatch.__pulumiType, name, resourceInputs, opts);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* The set of arguments for constructing a BackendTLSPolicyPatch resource.
|
|
93
|
+
*/
|
|
94
|
+
export interface BackendTLSPolicyPatchArgs {
|
|
95
|
+
/**
|
|
96
|
+
* 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
|
|
97
|
+
*/
|
|
98
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha3">;
|
|
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<"BackendTLSPolicy">;
|
|
103
|
+
/**
|
|
104
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
105
|
+
*/
|
|
106
|
+
metadata?: pulumi.Input<ObjectMetaPatch>;
|
|
107
|
+
spec?: pulumi.Input<inputs.gateway.v1alpha3.BackendTLSPolicySpecPatch>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { BackendTLSPolicyArgs } from "./backendTLSPolicy";
|
|
9
|
+
export type BackendTLSPolicy = import("./backendTLSPolicy").BackendTLSPolicy;
|
|
10
|
+
export const BackendTLSPolicy: typeof import("./backendTLSPolicy").BackendTLSPolicy = null as any;
|
|
11
|
+
utilities.lazyLoad(exports, ["BackendTLSPolicy"], () => require("./backendTLSPolicy"));
|
|
12
|
+
|
|
13
|
+
export { BackendTLSPolicyListArgs } from "./backendTLSPolicyList";
|
|
14
|
+
export type BackendTLSPolicyList = import("./backendTLSPolicyList").BackendTLSPolicyList;
|
|
15
|
+
export const BackendTLSPolicyList: typeof import("./backendTLSPolicyList").BackendTLSPolicyList = null as any;
|
|
16
|
+
utilities.lazyLoad(exports, ["BackendTLSPolicyList"], () => require("./backendTLSPolicyList"));
|
|
17
|
+
|
|
18
|
+
export { BackendTLSPolicyPatchArgs } from "./backendTLSPolicyPatch";
|
|
19
|
+
export type BackendTLSPolicyPatch = import("./backendTLSPolicyPatch").BackendTLSPolicyPatch;
|
|
20
|
+
export const BackendTLSPolicyPatch: typeof import("./backendTLSPolicyPatch").BackendTLSPolicyPatch = null as any;
|
|
21
|
+
utilities.lazyLoad(exports, ["BackendTLSPolicyPatch"], () => require("./backendTLSPolicyPatch"));
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
const _module = {
|
|
25
|
+
version: utilities.getVersion(),
|
|
26
|
+
construct: (name: string, type: string, urn: string): pulumi.Resource => {
|
|
27
|
+
switch (type) {
|
|
28
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicy":
|
|
29
|
+
return new BackendTLSPolicy(name, <any>undefined, { urn })
|
|
30
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicyList":
|
|
31
|
+
return new BackendTLSPolicyList(name, <any>undefined, { urn })
|
|
32
|
+
case "kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicyPatch":
|
|
33
|
+
return new BackendTLSPolicyPatch(name, <any>undefined, { urn })
|
|
34
|
+
default:
|
|
35
|
+
throw new Error(`unknown resource type ${type}`);
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1alpha3", _module)
|
|
@@ -0,0 +1,104 @@
|
|
|
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
|
+
* Gateway represents an instance of a service-traffic handling infrastructure
|
|
13
|
+
* by binding Listeners to a set of IP addresses.
|
|
14
|
+
*/
|
|
15
|
+
export class Gateway extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing Gateway 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): Gateway {
|
|
25
|
+
return new Gateway(name, undefined as any, { ...opts, id: id });
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1beta1:Gateway';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Returns true if the given object is an instance of Gateway. 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 Gateway {
|
|
36
|
+
if (obj === undefined || obj === null) {
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
return obj['__pulumiType'] === Gateway.__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/v1beta1">;
|
|
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<"Gateway">;
|
|
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.v1beta1.GatewaySpec>;
|
|
55
|
+
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1beta1.GatewayStatus>;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Create a Gateway 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?: GatewayArgs, opts?: pulumi.CustomResourceOptions) {
|
|
65
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
66
|
+
opts = opts || {};
|
|
67
|
+
if (!opts.id) {
|
|
68
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1beta1";
|
|
69
|
+
resourceInputs["kind"] = "Gateway";
|
|
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
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1:Gateway" }] };
|
|
82
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
83
|
+
super(Gateway.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* The set of arguments for constructing a Gateway resource.
|
|
89
|
+
*/
|
|
90
|
+
export interface GatewayArgs {
|
|
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/v1beta1">;
|
|
95
|
+
/**
|
|
96
|
+
* 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
|
|
97
|
+
*/
|
|
98
|
+
kind?: pulumi.Input<"Gateway">;
|
|
99
|
+
/**
|
|
100
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
101
|
+
*/
|
|
102
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
|
103
|
+
spec?: pulumi.Input<inputs.gateway.v1beta1.GatewaySpec>;
|
|
104
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
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
|
+
* GatewayClass describes a class of Gateways available to the user for creating
|
|
13
|
+
* Gateway resources.
|
|
14
|
+
*
|
|
15
|
+
* It is recommended that this resource be used as a template for Gateways. This
|
|
16
|
+
* means that a Gateway is based on the state of the GatewayClass at the time it
|
|
17
|
+
* was created and changes to the GatewayClass or associated parameters are not
|
|
18
|
+
* propagated down to existing Gateways. This recommendation is intended to
|
|
19
|
+
* limit the blast radius of changes to GatewayClass or associated parameters.
|
|
20
|
+
* If implementations choose to propagate GatewayClass changes to existing
|
|
21
|
+
* Gateways, that MUST be clearly documented by the implementation.
|
|
22
|
+
*
|
|
23
|
+
* Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
|
|
24
|
+
* add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
|
|
25
|
+
* associated GatewayClass. This ensures that a GatewayClass associated with a
|
|
26
|
+
* Gateway is not deleted while in use.
|
|
27
|
+
*
|
|
28
|
+
* GatewayClass is a Cluster level resource.
|
|
29
|
+
*/
|
|
30
|
+
export class GatewayClass extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing GatewayClass resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClass {
|
|
40
|
+
return new GatewayClass(name, undefined as any, { ...opts, id: id });
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/** @internal */
|
|
44
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClass';
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of GatewayClass. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
public static isInstance(obj: any): obj is GatewayClass {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === GatewayClass.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
|
|
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
|
+
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1beta1">;
|
|
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
|
+
public readonly kind!: pulumi.Output<"GatewayClass">;
|
|
65
|
+
/**
|
|
66
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
67
|
+
*/
|
|
68
|
+
public readonly metadata!: pulumi.Output<ObjectMeta>;
|
|
69
|
+
public readonly spec!: pulumi.Output<outputs.gateway.v1beta1.GatewayClassSpec>;
|
|
70
|
+
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1beta1.GatewayClassStatus>;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Create a GatewayClass resource with the given unique name, arguments, and options.
|
|
74
|
+
*
|
|
75
|
+
* @param name The _unique_ name of the resource.
|
|
76
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
77
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
78
|
+
*/
|
|
79
|
+
constructor(name: string, args?: GatewayClassArgs, opts?: pulumi.CustomResourceOptions) {
|
|
80
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
81
|
+
opts = opts || {};
|
|
82
|
+
if (!opts.id) {
|
|
83
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1beta1";
|
|
84
|
+
resourceInputs["kind"] = "GatewayClass";
|
|
85
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
86
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
87
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
88
|
+
} else {
|
|
89
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
94
|
+
}
|
|
95
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
96
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1:GatewayClass" }] };
|
|
97
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
98
|
+
super(GatewayClass.__pulumiType, name, resourceInputs, opts);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* The set of arguments for constructing a GatewayClass resource.
|
|
104
|
+
*/
|
|
105
|
+
export interface GatewayClassArgs {
|
|
106
|
+
/**
|
|
107
|
+
* 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
|
|
108
|
+
*/
|
|
109
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1beta1">;
|
|
110
|
+
/**
|
|
111
|
+
* 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
|
|
112
|
+
*/
|
|
113
|
+
kind?: pulumi.Input<"GatewayClass">;
|
|
114
|
+
/**
|
|
115
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
116
|
+
*/
|
|
117
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
|
118
|
+
spec?: pulumi.Input<inputs.gateway.v1beta1.GatewayClassSpec>;
|
|
119
|
+
}
|
|
@@ -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
|
+
* GatewayClassList is a list of GatewayClass
|
|
13
|
+
*/
|
|
14
|
+
export class GatewayClassList extends pulumi.CustomResource {
|
|
15
|
+
/**
|
|
16
|
+
* Get an existing GatewayClassList 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): GatewayClassList {
|
|
24
|
+
return new GatewayClassList(name, undefined as any, { ...opts, id: id });
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClassList';
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of GatewayClassList. 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 GatewayClassList {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === GatewayClassList.__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/v1beta1">;
|
|
45
|
+
/**
|
|
46
|
+
* List of gatewayclasses. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
47
|
+
*/
|
|
48
|
+
public readonly items!: pulumi.Output<outputs.gateway.v1beta1.GatewayClass[]>;
|
|
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<"GatewayClassList">;
|
|
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 GatewayClassList 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?: GatewayClassListArgs, 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/v1beta1";
|
|
73
|
+
resourceInputs["items"] = args ? args.items : undefined;
|
|
74
|
+
resourceInputs["kind"] = "GatewayClassList";
|
|
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(GatewayClassList.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* The set of arguments for constructing a GatewayClassList resource.
|
|
89
|
+
*/
|
|
90
|
+
export interface GatewayClassListArgs {
|
|
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/v1beta1">;
|
|
95
|
+
/**
|
|
96
|
+
* List of gatewayclasses. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
97
|
+
*/
|
|
98
|
+
items: pulumi.Input<pulumi.Input<inputs.gateway.v1beta1.GatewayClass>[]>;
|
|
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<"GatewayClassList">;
|
|
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
|
+
}
|