@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
package/CHANGELOG.md
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
The Kubernetes provider package offers support for all Kubernetes resources and their properties.
|
|
2
|
+
Resources are exposed as types from modules based on Kubernetes API groups such as 'apps', 'core',
|
|
3
|
+
'rbac', and 'storage', among many others. Additionally, support for deploying Helm charts ('helm')
|
|
4
|
+
and YAML files ('yaml') is available in this package. Using this package allows you to
|
|
5
|
+
programmatically declare instances of any Kubernetes resources and any supported resource version
|
|
6
|
+
using infrastructure as code, which Pulumi then uses to drive the Kubernetes API.
|
|
7
|
+
|
|
8
|
+
If this is your first time using this package, these two resources may be helpful:
|
|
9
|
+
|
|
10
|
+
* [Kubernetes Getting Started Guide](https://www.pulumi.com/docs/quickstart/kubernetes/): Get up and running quickly.
|
|
11
|
+
* [Kubernetes Pulumi Setup Documentation](https://www.pulumi.com/docs/quickstart/kubernetes/configure/): How to configure Pulumi
|
|
12
|
+
for use with your Kubernetes cluster.
|
|
13
|
+
|
|
14
|
+
Use the navigation below to see detailed documentation for each of the supported Kubernetes resources.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.v1beta1 = exports.v1alpha3 = exports.v1alpha2 = exports.v1 = void 0;
|
|
6
|
+
// Export sub-modules:
|
|
7
|
+
const v1 = require("./v1");
|
|
8
|
+
exports.v1 = v1;
|
|
9
|
+
const v1alpha2 = require("./v1alpha2");
|
|
10
|
+
exports.v1alpha2 = v1alpha2;
|
|
11
|
+
const v1alpha3 = require("./v1alpha3");
|
|
12
|
+
exports.v1alpha3 = v1alpha3;
|
|
13
|
+
const v1beta1 = require("./v1beta1");
|
|
14
|
+
exports.v1beta1 = v1beta1;
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../gateway/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAIjF,sBAAsB;AACtB,2BAA2B;AAMvB,gBAAE;AALN,uCAAuC;AAMnC,4BAAQ;AALZ,uCAAuC;AAMnC,4BAAQ;AALZ,qCAAqC;AAMjC,0BAAO"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import { ObjectMeta } from "../../meta/v1";
|
|
5
|
+
/**
|
|
6
|
+
* Gateway represents an instance of a service-traffic handling infrastructure
|
|
7
|
+
* by binding Listeners to a set of IP addresses.
|
|
8
|
+
*/
|
|
9
|
+
export declare class Gateway extends pulumi.CustomResource {
|
|
10
|
+
/**
|
|
11
|
+
* Get an existing Gateway resource's state with the given name, ID, and optional extra
|
|
12
|
+
* properties used to qualify the lookup.
|
|
13
|
+
*
|
|
14
|
+
* @param name The _unique_ name of the resulting resource.
|
|
15
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Gateway;
|
|
19
|
+
/**
|
|
20
|
+
* Returns true if the given object is an instance of Gateway. This is designed to work even
|
|
21
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
22
|
+
*/
|
|
23
|
+
static isInstance(obj: any): obj is Gateway;
|
|
24
|
+
/**
|
|
25
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
26
|
+
*/
|
|
27
|
+
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
|
28
|
+
/**
|
|
29
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
30
|
+
*/
|
|
31
|
+
readonly kind: pulumi.Output<"Gateway">;
|
|
32
|
+
/**
|
|
33
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
34
|
+
*/
|
|
35
|
+
readonly metadata: pulumi.Output<ObjectMeta>;
|
|
36
|
+
readonly spec: pulumi.Output<outputs.gateway.v1.GatewaySpec>;
|
|
37
|
+
readonly status: pulumi.Output<outputs.gateway.v1.GatewayStatus>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a Gateway resource with the given unique name, arguments, and options.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resource.
|
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
44
|
+
*/
|
|
45
|
+
constructor(name: string, args?: GatewayArgs, opts?: pulumi.CustomResourceOptions);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The set of arguments for constructing a Gateway resource.
|
|
49
|
+
*/
|
|
50
|
+
export interface GatewayArgs {
|
|
51
|
+
/**
|
|
52
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
53
|
+
*/
|
|
54
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
|
55
|
+
/**
|
|
56
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
57
|
+
*/
|
|
58
|
+
kind?: pulumi.Input<"Gateway">;
|
|
59
|
+
/**
|
|
60
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
61
|
+
*/
|
|
62
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
|
63
|
+
spec?: pulumi.Input<inputs.gateway.v1.GatewaySpec>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Gateway = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Gateway represents an instance of a service-traffic handling infrastructure
|
|
10
|
+
* by binding Listeners to a set of IP addresses.
|
|
11
|
+
*/
|
|
12
|
+
class Gateway extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing Gateway resource's state with the given name, ID, and optional extra
|
|
15
|
+
* properties used to qualify the lookup.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resulting resource.
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, opts) {
|
|
22
|
+
return new Gateway(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Gateway. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === Gateway.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Create a Gateway resource with the given unique name, arguments, and options.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resource.
|
|
38
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
39
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
40
|
+
*/
|
|
41
|
+
constructor(name, args, opts) {
|
|
42
|
+
let resourceInputs = {};
|
|
43
|
+
opts = opts || {};
|
|
44
|
+
if (!opts.id) {
|
|
45
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
|
46
|
+
resourceInputs["kind"] = "Gateway";
|
|
47
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
48
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
49
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
57
|
+
}
|
|
58
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
59
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:Gateway" }] };
|
|
60
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
61
|
+
super(Gateway.__pulumiType, name, resourceInputs, opts);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.Gateway = Gateway;
|
|
65
|
+
/** @internal */
|
|
66
|
+
Gateway.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:Gateway';
|
|
67
|
+
//# sourceMappingURL=gateway.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gateway.js","sourceRoot":"","sources":["../../../gateway/v1/gateway.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;GAGG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI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AAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,sDAAsD,EAAE,CAAC,EAAE,CAAC;QAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AArEL,0BAsEC;AAzDG,gBAAgB;AACO,oBAAY,GAAG,iDAAiD,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import { ObjectMeta } from "../../meta/v1";
|
|
5
|
+
/**
|
|
6
|
+
* GatewayClass describes a class of Gateways available to the user for creating
|
|
7
|
+
* Gateway resources.
|
|
8
|
+
*
|
|
9
|
+
* It is recommended that this resource be used as a template for Gateways. This
|
|
10
|
+
* means that a Gateway is based on the state of the GatewayClass at the time it
|
|
11
|
+
* was created and changes to the GatewayClass or associated parameters are not
|
|
12
|
+
* propagated down to existing Gateways. This recommendation is intended to
|
|
13
|
+
* limit the blast radius of changes to GatewayClass or associated parameters.
|
|
14
|
+
* If implementations choose to propagate GatewayClass changes to existing
|
|
15
|
+
* Gateways, that MUST be clearly documented by the implementation.
|
|
16
|
+
*
|
|
17
|
+
* Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
|
|
18
|
+
* add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
|
|
19
|
+
* associated GatewayClass. This ensures that a GatewayClass associated with a
|
|
20
|
+
* Gateway is not deleted while in use.
|
|
21
|
+
*
|
|
22
|
+
* GatewayClass is a Cluster level resource.
|
|
23
|
+
*/
|
|
24
|
+
export declare class GatewayClass extends pulumi.CustomResource {
|
|
25
|
+
/**
|
|
26
|
+
* Get an existing GatewayClass resource's state with the given name, ID, and optional extra
|
|
27
|
+
* properties used to qualify the lookup.
|
|
28
|
+
*
|
|
29
|
+
* @param name The _unique_ name of the resulting resource.
|
|
30
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
31
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
|
+
*/
|
|
33
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClass;
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of GatewayClass. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj: any): obj is GatewayClass;
|
|
39
|
+
/**
|
|
40
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
41
|
+
*/
|
|
42
|
+
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
|
43
|
+
/**
|
|
44
|
+
* 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
|
|
45
|
+
*/
|
|
46
|
+
readonly kind: pulumi.Output<"GatewayClass">;
|
|
47
|
+
/**
|
|
48
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
49
|
+
*/
|
|
50
|
+
readonly metadata: pulumi.Output<ObjectMeta>;
|
|
51
|
+
readonly spec: pulumi.Output<outputs.gateway.v1.GatewayClassSpec>;
|
|
52
|
+
readonly status: pulumi.Output<outputs.gateway.v1.GatewayClassStatus>;
|
|
53
|
+
/**
|
|
54
|
+
* Create a GatewayClass resource with the given unique name, arguments, and options.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resource.
|
|
57
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
58
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
59
|
+
*/
|
|
60
|
+
constructor(name: string, args?: GatewayClassArgs, opts?: pulumi.CustomResourceOptions);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* The set of arguments for constructing a GatewayClass resource.
|
|
64
|
+
*/
|
|
65
|
+
export interface GatewayClassArgs {
|
|
66
|
+
/**
|
|
67
|
+
* 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
|
|
68
|
+
*/
|
|
69
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
|
70
|
+
/**
|
|
71
|
+
* 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
|
|
72
|
+
*/
|
|
73
|
+
kind?: pulumi.Input<"GatewayClass">;
|
|
74
|
+
/**
|
|
75
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
76
|
+
*/
|
|
77
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
|
78
|
+
spec?: pulumi.Input<inputs.gateway.v1.GatewayClassSpec>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.GatewayClass = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* GatewayClass describes a class of Gateways available to the user for creating
|
|
10
|
+
* Gateway resources.
|
|
11
|
+
*
|
|
12
|
+
* It is recommended that this resource be used as a template for Gateways. This
|
|
13
|
+
* means that a Gateway is based on the state of the GatewayClass at the time it
|
|
14
|
+
* was created and changes to the GatewayClass or associated parameters are not
|
|
15
|
+
* propagated down to existing Gateways. This recommendation is intended to
|
|
16
|
+
* limit the blast radius of changes to GatewayClass or associated parameters.
|
|
17
|
+
* If implementations choose to propagate GatewayClass changes to existing
|
|
18
|
+
* Gateways, that MUST be clearly documented by the implementation.
|
|
19
|
+
*
|
|
20
|
+
* Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
|
|
21
|
+
* add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
|
|
22
|
+
* associated GatewayClass. This ensures that a GatewayClass associated with a
|
|
23
|
+
* Gateway is not deleted while in use.
|
|
24
|
+
*
|
|
25
|
+
* GatewayClass is a Cluster level resource.
|
|
26
|
+
*/
|
|
27
|
+
class GatewayClass extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing GatewayClass resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name, id, opts) {
|
|
37
|
+
return new GatewayClass(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of GatewayClass. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj) {
|
|
44
|
+
if (obj === undefined || obj === null) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
return obj['__pulumiType'] === GatewayClass.__pulumiType;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Create a GatewayClass resource with the given unique name, arguments, and options.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resource.
|
|
53
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
54
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
55
|
+
*/
|
|
56
|
+
constructor(name, args, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (!opts.id) {
|
|
60
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
|
61
|
+
resourceInputs["kind"] = "GatewayClass";
|
|
62
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
63
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
64
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
72
|
+
}
|
|
73
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClass" }] };
|
|
75
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
76
|
+
super(GatewayClass.__pulumiType, name, resourceInputs, opts);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.GatewayClass = GatewayClass;
|
|
80
|
+
/** @internal */
|
|
81
|
+
GatewayClass.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClass';
|
|
82
|
+
//# sourceMappingURL=gatewayClass.js.map
|
|
@@ -0,0 +1 @@
|
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AC;aAAM,CAAC;YACJ,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,2DAA2D,EAAE,CAAC,EAAE,CAAC;QACvG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC5C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AArEL,oCAsEC;AAzDG,gBAAgB;AACO,yBAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* GatewayClassList is a list of GatewayClass
|
|
6
|
+
*/
|
|
7
|
+
export declare class GatewayClassList extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing GatewayClassList resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClassList;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of GatewayClassList. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is GatewayClassList;
|
|
22
|
+
/**
|
|
23
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
24
|
+
*/
|
|
25
|
+
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
|
26
|
+
/**
|
|
27
|
+
* List of gatewayclasses. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
28
|
+
*/
|
|
29
|
+
readonly items: pulumi.Output<outputs.gateway.v1.GatewayClass[]>;
|
|
30
|
+
/**
|
|
31
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
32
|
+
*/
|
|
33
|
+
readonly kind: pulumi.Output<"GatewayClassList">;
|
|
34
|
+
/**
|
|
35
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
36
|
+
*/
|
|
37
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a GatewayClassList resource with the given unique name, arguments, and options.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resource.
|
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
44
|
+
*/
|
|
45
|
+
constructor(name: string, args?: GatewayClassListArgs, opts?: pulumi.CustomResourceOptions);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The set of arguments for constructing a GatewayClassList resource.
|
|
49
|
+
*/
|
|
50
|
+
export interface GatewayClassListArgs {
|
|
51
|
+
/**
|
|
52
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
53
|
+
*/
|
|
54
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
|
55
|
+
/**
|
|
56
|
+
* List of gatewayclasses. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
57
|
+
*/
|
|
58
|
+
items: pulumi.Input<pulumi.Input<inputs.gateway.v1.GatewayClass>[]>;
|
|
59
|
+
/**
|
|
60
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
61
|
+
*/
|
|
62
|
+
kind?: pulumi.Input<"GatewayClassList">;
|
|
63
|
+
/**
|
|
64
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
65
|
+
*/
|
|
66
|
+
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
|
67
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.GatewayClassList = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* GatewayClassList is a list of GatewayClass
|
|
10
|
+
*/
|
|
11
|
+
class GatewayClassList extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing GatewayClassList resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new GatewayClassList(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of GatewayClassList. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === GatewayClassList.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a GatewayClassList resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if ((!args || args.items === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'items'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
|
48
|
+
resourceInputs["items"] = args ? args.items : undefined;
|
|
49
|
+
resourceInputs["kind"] = "GatewayClassList";
|
|
50
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["items"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
57
|
+
}
|
|
58
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
59
|
+
super(GatewayClassList.__pulumiType, name, resourceInputs, opts);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.GatewayClassList = GatewayClassList;
|
|
63
|
+
/** @internal */
|
|
64
|
+
GatewayClassList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClassList';
|
|
65
|
+
//# sourceMappingURL=gatewayClassList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gatewayClassList.js","sourceRoot":"","sources":["../../../gateway/v1/gatewayClassList.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;GAEG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACpC,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAmBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA2B,EAAE,IAAmC;QACtF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAA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|
|
4
|
+
import { ObjectMetaPatch } from "../../meta/v1";
|
|
5
|
+
/**
|
|
6
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
7
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
8
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
9
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
10
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
11
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
12
|
+
* 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 declare class GatewayClassPatch extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing GatewayClassPatch 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
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClassPatch;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of GatewayClassPatch. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is GatewayClassPatch;
|
|
45
|
+
/**
|
|
46
|
+
* 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
|
|
47
|
+
*/
|
|
48
|
+
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
|
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
|
+
readonly kind: pulumi.Output<"GatewayClass">;
|
|
53
|
+
/**
|
|
54
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
55
|
+
*/
|
|
56
|
+
readonly metadata: pulumi.Output<ObjectMetaPatch>;
|
|
57
|
+
readonly spec: pulumi.Output<outputs.gateway.v1.GatewayClassSpecPatch>;
|
|
58
|
+
readonly status: pulumi.Output<outputs.gateway.v1.GatewayClassStatusPatch>;
|
|
59
|
+
/**
|
|
60
|
+
* Create a GatewayClassPatch 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?: GatewayClassPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* The set of arguments for constructing a GatewayClassPatch resource.
|
|
70
|
+
*/
|
|
71
|
+
export interface GatewayClassPatchArgs {
|
|
72
|
+
/**
|
|
73
|
+
* 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
|
|
74
|
+
*/
|
|
75
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
|
76
|
+
/**
|
|
77
|
+
* 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
|
|
78
|
+
*/
|
|
79
|
+
kind?: pulumi.Input<"GatewayClass">;
|
|
80
|
+
/**
|
|
81
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
82
|
+
*/
|
|
83
|
+
metadata?: pulumi.Input<ObjectMetaPatch>;
|
|
84
|
+
spec?: pulumi.Input<inputs.gateway.v1.GatewayClassSpecPatch>;
|
|
85
|
+
}
|