@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,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/v1beta1: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/v1beta1">;
|
|
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.v1beta1.HTTPRouteSpecPatch>;
|
|
63
|
+
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1beta1.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/v1beta1";
|
|
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/v1: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/v1beta1">;
|
|
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.v1beta1.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 { HTTPRouteArgs } from "./httproute";
|
|
39
|
+
export type HTTPRoute = import("./httproute").HTTPRoute;
|
|
40
|
+
export const HTTPRoute: typeof import("./httproute").HTTPRoute = null as any;
|
|
41
|
+
utilities.lazyLoad(exports, ["HTTPRoute"], () => require("./httproute"));
|
|
42
|
+
|
|
43
|
+
export { HTTPRouteListArgs } from "./httprouteList";
|
|
44
|
+
export type HTTPRouteList = import("./httprouteList").HTTPRouteList;
|
|
45
|
+
export const HTTPRouteList: typeof import("./httprouteList").HTTPRouteList = null as any;
|
|
46
|
+
utilities.lazyLoad(exports, ["HTTPRouteList"], () => require("./httprouteList"));
|
|
47
|
+
|
|
48
|
+
export { HTTPRoutePatchArgs } from "./httproutePatch";
|
|
49
|
+
export type HTTPRoutePatch = import("./httproutePatch").HTTPRoutePatch;
|
|
50
|
+
export const HTTPRoutePatch: typeof import("./httproutePatch").HTTPRoutePatch = null as any;
|
|
51
|
+
utilities.lazyLoad(exports, ["HTTPRoutePatch"], () => require("./httproutePatch"));
|
|
52
|
+
|
|
53
|
+
export { ReferenceGrantArgs } from "./referenceGrant";
|
|
54
|
+
export type ReferenceGrant = import("./referenceGrant").ReferenceGrant;
|
|
55
|
+
export const ReferenceGrant: typeof import("./referenceGrant").ReferenceGrant = null as any;
|
|
56
|
+
utilities.lazyLoad(exports, ["ReferenceGrant"], () => require("./referenceGrant"));
|
|
57
|
+
|
|
58
|
+
export { ReferenceGrantListArgs } from "./referenceGrantList";
|
|
59
|
+
export type ReferenceGrantList = import("./referenceGrantList").ReferenceGrantList;
|
|
60
|
+
export const ReferenceGrantList: typeof import("./referenceGrantList").ReferenceGrantList = null as any;
|
|
61
|
+
utilities.lazyLoad(exports, ["ReferenceGrantList"], () => require("./referenceGrantList"));
|
|
62
|
+
|
|
63
|
+
export { ReferenceGrantPatchArgs } from "./referenceGrantPatch";
|
|
64
|
+
export type ReferenceGrantPatch = import("./referenceGrantPatch").ReferenceGrantPatch;
|
|
65
|
+
export const ReferenceGrantPatch: typeof import("./referenceGrantPatch").ReferenceGrantPatch = null as any;
|
|
66
|
+
utilities.lazyLoad(exports, ["ReferenceGrantPatch"], () => require("./referenceGrantPatch"));
|
|
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/v1beta1:Gateway":
|
|
74
|
+
return new Gateway(name, <any>undefined, { urn })
|
|
75
|
+
case "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClass":
|
|
76
|
+
return new GatewayClass(name, <any>undefined, { urn })
|
|
77
|
+
case "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClassList":
|
|
78
|
+
return new GatewayClassList(name, <any>undefined, { urn })
|
|
79
|
+
case "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClassPatch":
|
|
80
|
+
return new GatewayClassPatch(name, <any>undefined, { urn })
|
|
81
|
+
case "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayList":
|
|
82
|
+
return new GatewayList(name, <any>undefined, { urn })
|
|
83
|
+
case "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayPatch":
|
|
84
|
+
return new GatewayPatch(name, <any>undefined, { urn })
|
|
85
|
+
case "kubernetes:gateway.networking.k8s.io/v1beta1:HTTPRoute":
|
|
86
|
+
return new HTTPRoute(name, <any>undefined, { urn })
|
|
87
|
+
case "kubernetes:gateway.networking.k8s.io/v1beta1:HTTPRouteList":
|
|
88
|
+
return new HTTPRouteList(name, <any>undefined, { urn })
|
|
89
|
+
case "kubernetes:gateway.networking.k8s.io/v1beta1:HTTPRoutePatch":
|
|
90
|
+
return new HTTPRoutePatch(name, <any>undefined, { urn })
|
|
91
|
+
case "kubernetes:gateway.networking.k8s.io/v1beta1:ReferenceGrant":
|
|
92
|
+
return new ReferenceGrant(name, <any>undefined, { urn })
|
|
93
|
+
case "kubernetes:gateway.networking.k8s.io/v1beta1:ReferenceGrantList":
|
|
94
|
+
return new ReferenceGrantList(name, <any>undefined, { urn })
|
|
95
|
+
case "kubernetes:gateway.networking.k8s.io/v1beta1:ReferenceGrantPatch":
|
|
96
|
+
return new ReferenceGrantPatch(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/v1beta1", _module)
|
|
@@ -0,0 +1,113 @@
|
|
|
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
|
+
* ReferenceGrant identifies kinds of resources in other namespaces that are
|
|
13
|
+
* trusted to reference the specified kinds of resources in the same namespace
|
|
14
|
+
* as the policy.
|
|
15
|
+
*
|
|
16
|
+
* Each ReferenceGrant can be used to represent a unique trust relationship.
|
|
17
|
+
* Additional Reference Grants can be used to add to the set of trusted
|
|
18
|
+
* sources of inbound references for the namespace they are defined within.
|
|
19
|
+
*
|
|
20
|
+
* All cross-namespace references in Gateway API (with the exception of cross-namespace
|
|
21
|
+
* Gateway-route attachment) require a ReferenceGrant.
|
|
22
|
+
*
|
|
23
|
+
* ReferenceGrant is a form of runtime verification allowing users to assert
|
|
24
|
+
* which cross-namespace object references are permitted. Implementations that
|
|
25
|
+
* support ReferenceGrant MUST NOT permit cross-namespace references which have
|
|
26
|
+
* no grant, and MUST respond to the removal of a grant by revoking the access
|
|
27
|
+
* that the grant allowed.
|
|
28
|
+
*/
|
|
29
|
+
export class ReferenceGrant extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing ReferenceGrant resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ReferenceGrant {
|
|
39
|
+
return new ReferenceGrant(name, undefined as any, { ...opts, id: id });
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1beta1:ReferenceGrant';
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of ReferenceGrant. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
public static isInstance(obj: any): obj is ReferenceGrant {
|
|
50
|
+
if (obj === undefined || obj === null) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
return obj['__pulumiType'] === ReferenceGrant.__pulumiType;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
58
|
+
*/
|
|
59
|
+
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1beta1">;
|
|
60
|
+
/**
|
|
61
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
62
|
+
*/
|
|
63
|
+
public readonly kind!: pulumi.Output<"ReferenceGrant">;
|
|
64
|
+
/**
|
|
65
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
66
|
+
*/
|
|
67
|
+
public readonly metadata!: pulumi.Output<ObjectMeta>;
|
|
68
|
+
public readonly spec!: pulumi.Output<outputs.gateway.v1beta1.ReferenceGrantSpec>;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Create a ReferenceGrant resource with the given unique name, arguments, and options.
|
|
72
|
+
*
|
|
73
|
+
* @param name The _unique_ name of the resource.
|
|
74
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
75
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
76
|
+
*/
|
|
77
|
+
constructor(name: string, args?: ReferenceGrantArgs, opts?: pulumi.CustomResourceOptions) {
|
|
78
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
79
|
+
opts = opts || {};
|
|
80
|
+
if (!opts.id) {
|
|
81
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1beta1";
|
|
82
|
+
resourceInputs["kind"] = "ReferenceGrant";
|
|
83
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
84
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
85
|
+
} else {
|
|
86
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
90
|
+
}
|
|
91
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
92
|
+
super(ReferenceGrant.__pulumiType, name, resourceInputs, opts);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The set of arguments for constructing a ReferenceGrant resource.
|
|
98
|
+
*/
|
|
99
|
+
export interface ReferenceGrantArgs {
|
|
100
|
+
/**
|
|
101
|
+
* 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
|
|
102
|
+
*/
|
|
103
|
+
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1beta1">;
|
|
104
|
+
/**
|
|
105
|
+
* 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
|
|
106
|
+
*/
|
|
107
|
+
kind?: pulumi.Input<"ReferenceGrant">;
|
|
108
|
+
/**
|
|
109
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
110
|
+
*/
|
|
111
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
|
112
|
+
spec?: pulumi.Input<inputs.gateway.v1beta1.ReferenceGrantSpec>;
|
|
113
|
+
}
|
|
@@ -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
|
+
* ReferenceGrantList is a list of ReferenceGrant
|
|
13
|
+
*/
|
|
14
|
+
export class ReferenceGrantList extends pulumi.CustomResource {
|
|
15
|
+
/**
|
|
16
|
+
* Get an existing ReferenceGrantList 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): ReferenceGrantList {
|
|
24
|
+
return new ReferenceGrantList(name, undefined as any, { ...opts, id: id });
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1beta1:ReferenceGrantList';
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of ReferenceGrantList. 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 ReferenceGrantList {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === ReferenceGrantList.__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 referencegrants. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
47
|
+
*/
|
|
48
|
+
public readonly items!: pulumi.Output<outputs.gateway.v1beta1.ReferenceGrant[]>;
|
|
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<"ReferenceGrantList">;
|
|
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 ReferenceGrantList 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?: ReferenceGrantListArgs, 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"] = "ReferenceGrantList";
|
|
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(ReferenceGrantList.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* The set of arguments for constructing a ReferenceGrantList resource.
|
|
89
|
+
*/
|
|
90
|
+
export interface ReferenceGrantListArgs {
|
|
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 referencegrants. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
97
|
+
*/
|
|
98
|
+
items: pulumi.Input<pulumi.Input<inputs.gateway.v1beta1.ReferenceGrant>[]>;
|
|
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<"ReferenceGrantList">;
|
|
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,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 {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
|
+
* ReferenceGrant identifies kinds of resources in other namespaces that are
|
|
19
|
+
* trusted to reference the specified kinds of resources in the same namespace
|
|
20
|
+
* as the policy.
|
|
21
|
+
*
|
|
22
|
+
* Each ReferenceGrant can be used to represent a unique trust relationship.
|
|
23
|
+
* Additional Reference Grants can be used to add to the set of trusted
|
|
24
|
+
* sources of inbound references for the namespace they are defined within.
|
|
25
|
+
*
|
|
26
|
+
* All cross-namespace references in Gateway API (with the exception of cross-namespace
|
|
27
|
+
* Gateway-route attachment) require a ReferenceGrant.
|
|
28
|
+
*
|
|
29
|
+
* ReferenceGrant is a form of runtime verification allowing users to assert
|
|
30
|
+
* which cross-namespace object references are permitted. Implementations that
|
|
31
|
+
* support ReferenceGrant MUST NOT permit cross-namespace references which have
|
|
32
|
+
* no grant, and MUST respond to the removal of a grant by revoking the access
|
|
33
|
+
* that the grant allowed.
|
|
34
|
+
*/
|
|
35
|
+
export class ReferenceGrantPatch extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing ReferenceGrantPatch resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ReferenceGrantPatch {
|
|
45
|
+
return new ReferenceGrantPatch(name, undefined as any, { ...opts, id: id });
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1beta1:ReferenceGrantPatch';
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of ReferenceGrantPatch. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
public static isInstance(obj: any): obj is ReferenceGrantPatch {
|
|
56
|
+
if (obj === undefined || obj === null) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return obj['__pulumiType'] === ReferenceGrantPatch.__pulumiType;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* 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
|
|
64
|
+
*/
|
|
65
|
+
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1beta1">;
|
|
66
|
+
/**
|
|
67
|
+
* 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
|
|
68
|
+
*/
|
|
69
|
+
public readonly kind!: pulumi.Output<"ReferenceGrant">;
|
|
70
|
+
/**
|
|
71
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
72
|
+
*/
|
|
73
|
+
public readonly metadata!: pulumi.Output<ObjectMetaPatch>;
|
|
74
|
+
public readonly spec!: pulumi.Output<outputs.gateway.v1beta1.ReferenceGrantSpecPatch>;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Create a ReferenceGrantPatch resource with the given unique name, arguments, and options.
|
|
78
|
+
*
|
|
79
|
+
* @param name The _unique_ name of the resource.
|
|
80
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
81
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
82
|
+
*/
|
|
83
|
+
constructor(name: string, args?: ReferenceGrantPatchArgs, opts?: pulumi.CustomResourceOptions) {
|
|
84
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
85
|
+
opts = opts || {};
|
|
86
|
+
if (!opts.id) {
|
|
87
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1beta1";
|
|
88
|
+
resourceInputs["kind"] = "ReferenceGrant";
|
|
89
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
90
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
91
|
+
} else {
|
|
92
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
96
|
+
}
|
|
97
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
98
|
+
super(ReferenceGrantPatch.__pulumiType, name, resourceInputs, opts);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* The set of arguments for constructing a ReferenceGrantPatch resource.
|
|
104
|
+
*/
|
|
105
|
+
export interface ReferenceGrantPatchArgs {
|
|
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<"ReferenceGrant">;
|
|
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<ObjectMetaPatch>;
|
|
118
|
+
spec?: pulumi.Input<inputs.gateway.v1beta1.ReferenceGrantSpecPatch>;
|
|
119
|
+
}
|
package/index.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
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 { ProviderArgs } from "./provider";
|
|
9
|
+
export type Provider = import("./provider").Provider;
|
|
10
|
+
export const Provider: typeof import("./provider").Provider = null as any;
|
|
11
|
+
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
// Export sub-modules:
|
|
15
|
+
import * as gateway from "./gateway";
|
|
16
|
+
import * as types from "./types";
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
gateway,
|
|
20
|
+
types,
|
|
21
|
+
};
|
|
22
|
+
pulumi.runtime.registerResourcePackage("crds", {
|
|
23
|
+
version: utilities.getVersion(),
|
|
24
|
+
constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => {
|
|
25
|
+
if (type !== "pulumi:providers:kubernetes") {
|
|
26
|
+
throw new Error(`unknown provider type ${type}`);
|
|
27
|
+
}
|
|
28
|
+
return new Provider(name, <any>undefined, { urn });
|
|
29
|
+
},
|
|
30
|
+
});
|
package/meta/v1.ts
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@highstate/gateway-api",
|
|
3
|
+
"version": "0.4.5",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"pulumi",
|
|
6
|
+
"kubernetes",
|
|
7
|
+
"category/cloud",
|
|
8
|
+
"kind/native"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://pulumi.com",
|
|
11
|
+
"repository": "https://github.com/pulumi/pulumi-kubernetes",
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
|
+
"main": "bin/index.js",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc --noCheck && cp package.json bin/package.json"
|
|
16
|
+
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@pulumi/kubernetes": "4.18.0",
|
|
22
|
+
"@pulumi/pulumi": "^3.25.0",
|
|
23
|
+
"@types/node-fetch": "^2.1.4",
|
|
24
|
+
"@types/tmp": "^0.0.33",
|
|
25
|
+
"glob": "^10.3.10",
|
|
26
|
+
"node-fetch": "^2.3.0",
|
|
27
|
+
"shell-quote": "^1.6.1",
|
|
28
|
+
"tmp": "^0.0.33"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@types/mocha": "^5.2.5",
|
|
32
|
+
"@types/node": "^14",
|
|
33
|
+
"@types/shell-quote": "^1.6.0",
|
|
34
|
+
"mocha": "^5.2.0",
|
|
35
|
+
"typescript": "^5.7.2"
|
|
36
|
+
},
|
|
37
|
+
"pulumi": {
|
|
38
|
+
"resource": true,
|
|
39
|
+
"name": "@highstate/gateway-api",
|
|
40
|
+
"version": "0.4.4"
|
|
41
|
+
},
|
|
42
|
+
"gitHead": "afd601fdade1bcf31af58072eea3c08ee26349b8"
|
|
43
|
+
}
|