@kilic.dev/pulumi-k8s-crds 1.3.1 → 1.4.0
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/dist/gateway/index.d.ts +3 -1
- package/dist/gateway/index.js +5 -1
- package/dist/gateway/v1alpha1/backend.d.ts +66 -0
- package/dist/gateway/v1alpha1/backend.js +111 -0
- package/dist/gateway/v1alpha1/backendList.d.ts +69 -0
- package/dist/gateway/v1alpha1/backendList.js +113 -0
- package/dist/gateway/v1alpha1/backendPatch.d.ts +72 -0
- package/dist/gateway/v1alpha1/backendPatch.js +117 -0
- package/dist/gateway/v1alpha1/backendTrafficPolicy.d.ts +66 -0
- package/dist/gateway/v1alpha1/backendTrafficPolicy.js +111 -0
- package/dist/gateway/v1alpha1/backendTrafficPolicyList.d.ts +69 -0
- package/dist/gateway/v1alpha1/backendTrafficPolicyList.js +113 -0
- package/dist/gateway/v1alpha1/backendTrafficPolicyPatch.d.ts +72 -0
- package/dist/gateway/v1alpha1/backendTrafficPolicyPatch.js +117 -0
- package/dist/gateway/v1alpha1/clientTrafficPolicy.d.ts +66 -0
- package/dist/gateway/v1alpha1/clientTrafficPolicy.js +111 -0
- package/dist/gateway/v1alpha1/clientTrafficPolicyList.d.ts +69 -0
- package/dist/gateway/v1alpha1/clientTrafficPolicyList.js +113 -0
- package/dist/gateway/v1alpha1/clientTrafficPolicyPatch.d.ts +72 -0
- package/dist/gateway/v1alpha1/clientTrafficPolicyPatch.js +117 -0
- package/dist/gateway/v1alpha1/envoyExtensionPolicy.d.ts +65 -0
- package/dist/gateway/v1alpha1/envoyExtensionPolicy.js +110 -0
- package/dist/gateway/v1alpha1/envoyExtensionPolicyList.d.ts +69 -0
- package/dist/gateway/v1alpha1/envoyExtensionPolicyList.js +113 -0
- package/dist/gateway/v1alpha1/envoyExtensionPolicyPatch.d.ts +71 -0
- package/dist/gateway/v1alpha1/envoyExtensionPolicyPatch.js +116 -0
- package/dist/gateway/v1alpha1/envoyPatchPolicy.d.ts +66 -0
- package/dist/gateway/v1alpha1/envoyPatchPolicy.js +111 -0
- package/dist/gateway/v1alpha1/envoyPatchPolicyList.d.ts +69 -0
- package/dist/gateway/v1alpha1/envoyPatchPolicyList.js +113 -0
- package/dist/gateway/v1alpha1/envoyPatchPolicyPatch.d.ts +72 -0
- package/dist/gateway/v1alpha1/envoyPatchPolicyPatch.js +117 -0
- package/dist/gateway/v1alpha1/envoyProxy.d.ts +70 -0
- package/dist/gateway/v1alpha1/envoyProxy.js +113 -0
- package/dist/gateway/v1alpha1/envoyProxyList.d.ts +69 -0
- package/dist/gateway/v1alpha1/envoyProxyList.js +113 -0
- package/dist/gateway/v1alpha1/envoyProxyPatch.d.ts +76 -0
- package/dist/gateway/v1alpha1/envoyProxyPatch.js +119 -0
- package/dist/gateway/v1alpha1/httprouteFilter.d.ts +65 -0
- package/dist/gateway/v1alpha1/httprouteFilter.js +108 -0
- package/dist/gateway/v1alpha1/httprouteFilterList.d.ts +69 -0
- package/dist/gateway/v1alpha1/httprouteFilterList.js +113 -0
- package/dist/gateway/v1alpha1/httprouteFilterPatch.d.ts +71 -0
- package/dist/gateway/v1alpha1/httprouteFilterPatch.js +114 -0
- package/dist/gateway/v1alpha1/index.d.ts +72 -0
- package/dist/gateway/v1alpha1/index.js +146 -0
- package/dist/gateway/v1alpha1/securityPolicy.d.ts +66 -0
- package/dist/gateway/v1alpha1/securityPolicy.js +111 -0
- package/dist/gateway/v1alpha1/securityPolicyList.d.ts +69 -0
- package/dist/gateway/v1alpha1/securityPolicyList.js +113 -0
- package/dist/gateway/v1alpha1/securityPolicyPatch.d.ts +72 -0
- package/dist/gateway/v1alpha1/securityPolicyPatch.js +117 -0
- package/dist/gateway/v1alpha3/backendTLSPolicy.d.ts +66 -0
- package/dist/gateway/v1alpha3/backendTLSPolicy.js +111 -0
- package/dist/gateway/v1alpha3/backendTLSPolicyList.d.ts +69 -0
- package/dist/gateway/v1alpha3/backendTLSPolicyList.js +113 -0
- package/dist/gateway/v1alpha3/backendTLSPolicyPatch.d.ts +72 -0
- package/dist/gateway/v1alpha3/backendTLSPolicyPatch.js +117 -0
- package/dist/gateway/v1alpha3/index.d.ts +9 -0
- package/dist/gateway/v1alpha3/index.js +62 -0
- package/dist/types/input.d.ts +28385 -0
- package/dist/types/output.d.ts +31087 -1030
- package/package.json +1 -1
|
@@ -0,0 +1,119 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.EnvoyProxyPatch = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
43
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
44
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
45
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
46
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
47
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
48
|
+
* EnvoyProxy is the schema for the envoyproxies API.
|
|
49
|
+
*/
|
|
50
|
+
class EnvoyProxyPatch extends pulumi.CustomResource {
|
|
51
|
+
/**
|
|
52
|
+
* Get an existing EnvoyProxyPatch resource's state with the given name, ID, and optional extra
|
|
53
|
+
* properties used to qualify the lookup.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resulting resource.
|
|
56
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
57
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
+
*/
|
|
59
|
+
static get(name, id, opts) {
|
|
60
|
+
return new EnvoyProxyPatch(name, undefined, { ...opts, id: id });
|
|
61
|
+
}
|
|
62
|
+
/** @internal */
|
|
63
|
+
static __pulumiType = 'kubernetes:gateway.envoyproxy.io/v1alpha1:EnvoyProxyPatch';
|
|
64
|
+
/**
|
|
65
|
+
* Returns true if the given object is an instance of EnvoyProxyPatch. This is designed to work even
|
|
66
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
|
+
*/
|
|
68
|
+
static isInstance(obj) {
|
|
69
|
+
if (obj === undefined || obj === null) {
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
return obj['__pulumiType'] === EnvoyProxyPatch.__pulumiType;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* 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
|
|
76
|
+
*/
|
|
77
|
+
apiVersion;
|
|
78
|
+
/**
|
|
79
|
+
* 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
|
|
80
|
+
*/
|
|
81
|
+
kind;
|
|
82
|
+
/**
|
|
83
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
84
|
+
*/
|
|
85
|
+
metadata;
|
|
86
|
+
spec;
|
|
87
|
+
/**
|
|
88
|
+
* EnvoyProxyStatus defines the actual state of EnvoyProxy.
|
|
89
|
+
*/
|
|
90
|
+
status;
|
|
91
|
+
/**
|
|
92
|
+
* Create a EnvoyProxyPatch resource with the given unique name, arguments, and options.
|
|
93
|
+
*
|
|
94
|
+
* @param name The _unique_ name of the resource.
|
|
95
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
96
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
97
|
+
*/
|
|
98
|
+
constructor(name, args, opts) {
|
|
99
|
+
let resourceInputs = {};
|
|
100
|
+
opts = opts || {};
|
|
101
|
+
if (!opts.id) {
|
|
102
|
+
resourceInputs["apiVersion"] = "gateway.envoyproxy.io/v1alpha1";
|
|
103
|
+
resourceInputs["kind"] = "EnvoyProxy";
|
|
104
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
105
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
106
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
112
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
113
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
114
|
+
}
|
|
115
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
116
|
+
super(EnvoyProxyPatch.__pulumiType, name, resourceInputs, opts);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.EnvoyProxyPatch = EnvoyProxyPatch;
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
* HTTPRouteFilter is a custom Envoy Gateway HTTPRouteFilter which provides extended
|
|
7
|
+
* traffic processing options such as path regex rewrite, direct response and more.
|
|
8
|
+
*/
|
|
9
|
+
export declare class HTTPRouteFilter extends pulumi.CustomResource {
|
|
10
|
+
/**
|
|
11
|
+
* Get an existing HTTPRouteFilter 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): HTTPRouteFilter;
|
|
19
|
+
/** @internal */
|
|
20
|
+
static readonly __pulumiType = "kubernetes:gateway.envoyproxy.io/v1alpha1:HTTPRouteFilter";
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of HTTPRouteFilter. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj: any): obj is HTTPRouteFilter;
|
|
26
|
+
/**
|
|
27
|
+
* 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
|
|
28
|
+
*/
|
|
29
|
+
readonly apiVersion: pulumi.Output<"gateway.envoyproxy.io/v1alpha1">;
|
|
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<"HTTPRouteFilter">;
|
|
34
|
+
/**
|
|
35
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
36
|
+
*/
|
|
37
|
+
readonly metadata: pulumi.Output<ObjectMeta>;
|
|
38
|
+
readonly spec: pulumi.Output<outputs.gateway.v1alpha1.HTTPRouteFilterSpec>;
|
|
39
|
+
/**
|
|
40
|
+
* Create a HTTPRouteFilter resource with the given unique name, arguments, and options.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resource.
|
|
43
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
44
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
45
|
+
*/
|
|
46
|
+
constructor(name: string, args?: HTTPRouteFilterArgs, opts?: pulumi.CustomResourceOptions);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The set of arguments for constructing a HTTPRouteFilter resource.
|
|
50
|
+
*/
|
|
51
|
+
export interface HTTPRouteFilterArgs {
|
|
52
|
+
/**
|
|
53
|
+
* 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
|
|
54
|
+
*/
|
|
55
|
+
apiVersion?: pulumi.Input<"gateway.envoyproxy.io/v1alpha1">;
|
|
56
|
+
/**
|
|
57
|
+
* 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
|
|
58
|
+
*/
|
|
59
|
+
kind?: pulumi.Input<"HTTPRouteFilter">;
|
|
60
|
+
/**
|
|
61
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
62
|
+
*/
|
|
63
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
|
64
|
+
spec?: pulumi.Input<inputs.gateway.v1alpha1.HTTPRouteFilterSpec>;
|
|
65
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.HTTPRouteFilter = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* HTTPRouteFilter is a custom Envoy Gateway HTTPRouteFilter which provides extended
|
|
43
|
+
* traffic processing options such as path regex rewrite, direct response and more.
|
|
44
|
+
*/
|
|
45
|
+
class HTTPRouteFilter extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing HTTPRouteFilter resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
+
*/
|
|
54
|
+
static get(name, id, opts) {
|
|
55
|
+
return new HTTPRouteFilter(name, undefined, { ...opts, id: id });
|
|
56
|
+
}
|
|
57
|
+
/** @internal */
|
|
58
|
+
static __pulumiType = 'kubernetes:gateway.envoyproxy.io/v1alpha1:HTTPRouteFilter';
|
|
59
|
+
/**
|
|
60
|
+
* Returns true if the given object is an instance of HTTPRouteFilter. This is designed to work even
|
|
61
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
62
|
+
*/
|
|
63
|
+
static isInstance(obj) {
|
|
64
|
+
if (obj === undefined || obj === null) {
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
return obj['__pulumiType'] === HTTPRouteFilter.__pulumiType;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* 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
|
|
71
|
+
*/
|
|
72
|
+
apiVersion;
|
|
73
|
+
/**
|
|
74
|
+
* 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
|
|
75
|
+
*/
|
|
76
|
+
kind;
|
|
77
|
+
/**
|
|
78
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
79
|
+
*/
|
|
80
|
+
metadata;
|
|
81
|
+
spec;
|
|
82
|
+
/**
|
|
83
|
+
* Create a HTTPRouteFilter resource with the given unique name, arguments, and options.
|
|
84
|
+
*
|
|
85
|
+
* @param name The _unique_ name of the resource.
|
|
86
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
87
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
88
|
+
*/
|
|
89
|
+
constructor(name, args, opts) {
|
|
90
|
+
let resourceInputs = {};
|
|
91
|
+
opts = opts || {};
|
|
92
|
+
if (!opts.id) {
|
|
93
|
+
resourceInputs["apiVersion"] = "gateway.envoyproxy.io/v1alpha1";
|
|
94
|
+
resourceInputs["kind"] = "HTTPRouteFilter";
|
|
95
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
96
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
103
|
+
}
|
|
104
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
105
|
+
super(HTTPRouteFilter.__pulumiType, name, resourceInputs, opts);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.HTTPRouteFilter = HTTPRouteFilter;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* HTTPRouteFilterList is a list of HTTPRouteFilter
|
|
6
|
+
*/
|
|
7
|
+
export declare class HTTPRouteFilterList extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing HTTPRouteFilterList 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): HTTPRouteFilterList;
|
|
17
|
+
/** @internal */
|
|
18
|
+
static readonly __pulumiType = "kubernetes:gateway.envoyproxy.io/v1alpha1:HTTPRouteFilterList";
|
|
19
|
+
/**
|
|
20
|
+
* Returns true if the given object is an instance of HTTPRouteFilterList. 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 HTTPRouteFilterList;
|
|
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.envoyproxy.io/v1alpha1">;
|
|
28
|
+
/**
|
|
29
|
+
* List of httproutefilters. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
30
|
+
*/
|
|
31
|
+
readonly items: pulumi.Output<outputs.gateway.v1alpha1.HTTPRouteFilter[]>;
|
|
32
|
+
/**
|
|
33
|
+
* 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
|
|
34
|
+
*/
|
|
35
|
+
readonly kind: pulumi.Output<"HTTPRouteFilterList">;
|
|
36
|
+
/**
|
|
37
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
38
|
+
*/
|
|
39
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a HTTPRouteFilterList resource with the given unique name, arguments, and options.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resource.
|
|
44
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
46
|
+
*/
|
|
47
|
+
constructor(name: string, args?: HTTPRouteFilterListArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The set of arguments for constructing a HTTPRouteFilterList resource.
|
|
51
|
+
*/
|
|
52
|
+
export interface HTTPRouteFilterListArgs {
|
|
53
|
+
/**
|
|
54
|
+
* 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
|
|
55
|
+
*/
|
|
56
|
+
apiVersion?: pulumi.Input<"gateway.envoyproxy.io/v1alpha1">;
|
|
57
|
+
/**
|
|
58
|
+
* List of httproutefilters. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
59
|
+
*/
|
|
60
|
+
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha1.HTTPRouteFilter>[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
63
|
+
*/
|
|
64
|
+
kind?: pulumi.Input<"HTTPRouteFilterList">;
|
|
65
|
+
/**
|
|
66
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
67
|
+
*/
|
|
68
|
+
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.HTTPRouteFilterList = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* HTTPRouteFilterList is a list of HTTPRouteFilter
|
|
43
|
+
*/
|
|
44
|
+
class HTTPRouteFilterList extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing HTTPRouteFilterList resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name, id, opts) {
|
|
54
|
+
return new HTTPRouteFilterList(name, undefined, { ...opts, id: id });
|
|
55
|
+
}
|
|
56
|
+
/** @internal */
|
|
57
|
+
static __pulumiType = 'kubernetes:gateway.envoyproxy.io/v1alpha1:HTTPRouteFilterList';
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of HTTPRouteFilterList. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === HTTPRouteFilterList.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* 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
|
|
70
|
+
*/
|
|
71
|
+
apiVersion;
|
|
72
|
+
/**
|
|
73
|
+
* List of httproutefilters. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
74
|
+
*/
|
|
75
|
+
items;
|
|
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;
|
|
80
|
+
/**
|
|
81
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
82
|
+
*/
|
|
83
|
+
metadata;
|
|
84
|
+
/**
|
|
85
|
+
* Create a HTTPRouteFilterList resource with the given unique name, arguments, and options.
|
|
86
|
+
*
|
|
87
|
+
* @param name The _unique_ name of the resource.
|
|
88
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
89
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
90
|
+
*/
|
|
91
|
+
constructor(name, args, opts) {
|
|
92
|
+
let resourceInputs = {};
|
|
93
|
+
opts = opts || {};
|
|
94
|
+
if (!opts.id) {
|
|
95
|
+
if ((!args || args.items === undefined) && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'items'");
|
|
97
|
+
}
|
|
98
|
+
resourceInputs["apiVersion"] = "gateway.envoyproxy.io/v1alpha1";
|
|
99
|
+
resourceInputs["items"] = args ? args.items : undefined;
|
|
100
|
+
resourceInputs["kind"] = "HTTPRouteFilterList";
|
|
101
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
105
|
+
resourceInputs["items"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
108
|
+
}
|
|
109
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
110
|
+
super(HTTPRouteFilterList.__pulumiType, name, resourceInputs, opts);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.HTTPRouteFilterList = HTTPRouteFilterList;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import { ObjectMetaPatch } from "../../meta/v1";
|
|
5
|
+
/**
|
|
6
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
7
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
8
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
9
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
10
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
11
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
12
|
+
* HTTPRouteFilter is a custom Envoy Gateway HTTPRouteFilter which provides extended
|
|
13
|
+
* traffic processing options such as path regex rewrite, direct response and more.
|
|
14
|
+
*/
|
|
15
|
+
export declare class HTTPRouteFilterPatch extends pulumi.CustomResource {
|
|
16
|
+
/**
|
|
17
|
+
* Get an existing HTTPRouteFilterPatch resource's state with the given name, ID, and optional extra
|
|
18
|
+
* properties used to qualify the lookup.
|
|
19
|
+
*
|
|
20
|
+
* @param name The _unique_ name of the resulting resource.
|
|
21
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
22
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
23
|
+
*/
|
|
24
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): HTTPRouteFilterPatch;
|
|
25
|
+
/** @internal */
|
|
26
|
+
static readonly __pulumiType = "kubernetes:gateway.envoyproxy.io/v1alpha1:HTTPRouteFilterPatch";
|
|
27
|
+
/**
|
|
28
|
+
* Returns true if the given object is an instance of HTTPRouteFilterPatch. This is designed to work even
|
|
29
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
30
|
+
*/
|
|
31
|
+
static isInstance(obj: any): obj is HTTPRouteFilterPatch;
|
|
32
|
+
/**
|
|
33
|
+
* 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
|
|
34
|
+
*/
|
|
35
|
+
readonly apiVersion: pulumi.Output<"gateway.envoyproxy.io/v1alpha1">;
|
|
36
|
+
/**
|
|
37
|
+
* 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
|
|
38
|
+
*/
|
|
39
|
+
readonly kind: pulumi.Output<"HTTPRouteFilter">;
|
|
40
|
+
/**
|
|
41
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
42
|
+
*/
|
|
43
|
+
readonly metadata: pulumi.Output<ObjectMetaPatch>;
|
|
44
|
+
readonly spec: pulumi.Output<outputs.gateway.v1alpha1.HTTPRouteFilterSpecPatch>;
|
|
45
|
+
/**
|
|
46
|
+
* Create a HTTPRouteFilterPatch resource with the given unique name, arguments, and options.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resource.
|
|
49
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
50
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
51
|
+
*/
|
|
52
|
+
constructor(name: string, args?: HTTPRouteFilterPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The set of arguments for constructing a HTTPRouteFilterPatch resource.
|
|
56
|
+
*/
|
|
57
|
+
export interface HTTPRouteFilterPatchArgs {
|
|
58
|
+
/**
|
|
59
|
+
* 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
|
|
60
|
+
*/
|
|
61
|
+
apiVersion?: pulumi.Input<"gateway.envoyproxy.io/v1alpha1">;
|
|
62
|
+
/**
|
|
63
|
+
* 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
|
|
64
|
+
*/
|
|
65
|
+
kind?: pulumi.Input<"HTTPRouteFilter">;
|
|
66
|
+
/**
|
|
67
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
68
|
+
*/
|
|
69
|
+
metadata?: pulumi.Input<ObjectMetaPatch>;
|
|
70
|
+
spec?: pulumi.Input<inputs.gateway.v1alpha1.HTTPRouteFilterSpecPatch>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.HTTPRouteFilterPatch = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
43
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
44
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
45
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
46
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
47
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
48
|
+
* HTTPRouteFilter is a custom Envoy Gateway HTTPRouteFilter which provides extended
|
|
49
|
+
* traffic processing options such as path regex rewrite, direct response and more.
|
|
50
|
+
*/
|
|
51
|
+
class HTTPRouteFilterPatch extends pulumi.CustomResource {
|
|
52
|
+
/**
|
|
53
|
+
* Get an existing HTTPRouteFilterPatch resource's state with the given name, ID, and optional extra
|
|
54
|
+
* properties used to qualify the lookup.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resulting resource.
|
|
57
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
58
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
59
|
+
*/
|
|
60
|
+
static get(name, id, opts) {
|
|
61
|
+
return new HTTPRouteFilterPatch(name, undefined, { ...opts, id: id });
|
|
62
|
+
}
|
|
63
|
+
/** @internal */
|
|
64
|
+
static __pulumiType = 'kubernetes:gateway.envoyproxy.io/v1alpha1:HTTPRouteFilterPatch';
|
|
65
|
+
/**
|
|
66
|
+
* Returns true if the given object is an instance of HTTPRouteFilterPatch. This is designed to work even
|
|
67
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
68
|
+
*/
|
|
69
|
+
static isInstance(obj) {
|
|
70
|
+
if (obj === undefined || obj === null) {
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
return obj['__pulumiType'] === HTTPRouteFilterPatch.__pulumiType;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* 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
|
|
77
|
+
*/
|
|
78
|
+
apiVersion;
|
|
79
|
+
/**
|
|
80
|
+
* 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
|
|
81
|
+
*/
|
|
82
|
+
kind;
|
|
83
|
+
/**
|
|
84
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
85
|
+
*/
|
|
86
|
+
metadata;
|
|
87
|
+
spec;
|
|
88
|
+
/**
|
|
89
|
+
* Create a HTTPRouteFilterPatch resource with the given unique name, arguments, and options.
|
|
90
|
+
*
|
|
91
|
+
* @param name The _unique_ name of the resource.
|
|
92
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
93
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
94
|
+
*/
|
|
95
|
+
constructor(name, args, opts) {
|
|
96
|
+
let resourceInputs = {};
|
|
97
|
+
opts = opts || {};
|
|
98
|
+
if (!opts.id) {
|
|
99
|
+
resourceInputs["apiVersion"] = "gateway.envoyproxy.io/v1alpha1";
|
|
100
|
+
resourceInputs["kind"] = "HTTPRouteFilter";
|
|
101
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
102
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
106
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
107
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
109
|
+
}
|
|
110
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
111
|
+
super(HTTPRouteFilterPatch.__pulumiType, name, resourceInputs, opts);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.HTTPRouteFilterPatch = HTTPRouteFilterPatch;
|