@highstate/gateway-api 0.6.2 → 0.7.1
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 +3 -4
- package/bin/gateway/index.d.ts +1 -3
- package/bin/gateway/index.js +1 -5
- package/bin/gateway/index.js.map +1 -1
- package/bin/package.json +2 -2
- package/bin/types/input.d.ts +89 -5676
- package/bin/types/output.d.ts +191 -6999
- package/gateway/index.ts +0 -4
- package/package.json +3 -3
- package/tsconfig.json +0 -17
- package/types/input.ts +181 -5879
- package/types/output.ts +181 -7122
- package/bin/gateway/v1alpha2/backendLBPolicy.d.ts +0 -64
- package/bin/gateway/v1alpha2/backendLBPolicy.js +0 -65
- package/bin/gateway/v1alpha2/backendLBPolicy.js.map +0 -1
- package/bin/gateway/v1alpha2/backendLBPolicyList.d.ts +0 -67
- package/bin/gateway/v1alpha2/backendLBPolicyList.js +0 -65
- package/bin/gateway/v1alpha2/backendLBPolicyList.js.map +0 -1
- package/bin/gateway/v1alpha2/backendLBPolicyPatch.d.ts +0 -70
- package/bin/gateway/v1alpha2/backendLBPolicyPatch.js +0 -71
- package/bin/gateway/v1alpha2/backendLBPolicyPatch.js.map +0 -1
- package/bin/gateway/v1alpha2/index.d.ts +0 -36
- package/bin/gateway/v1alpha2/index.js +0 -66
- package/bin/gateway/v1alpha2/index.js.map +0 -1
- package/bin/gateway/v1alpha2/tcproute.d.ts +0 -65
- package/bin/gateway/v1alpha2/tcproute.js +0 -66
- package/bin/gateway/v1alpha2/tcproute.js.map +0 -1
- package/bin/gateway/v1alpha2/tcprouteList.d.ts +0 -67
- package/bin/gateway/v1alpha2/tcprouteList.js +0 -65
- package/bin/gateway/v1alpha2/tcprouteList.js.map +0 -1
- package/bin/gateway/v1alpha2/tcproutePatch.d.ts +0 -71
- package/bin/gateway/v1alpha2/tcproutePatch.js +0 -72
- package/bin/gateway/v1alpha2/tcproutePatch.js.map +0 -1
- package/bin/gateway/v1alpha2/tlsroute.d.ts +0 -68
- package/bin/gateway/v1alpha2/tlsroute.js +0 -69
- package/bin/gateway/v1alpha2/tlsroute.js.map +0 -1
- package/bin/gateway/v1alpha2/tlsrouteList.d.ts +0 -67
- package/bin/gateway/v1alpha2/tlsrouteList.js +0 -65
- package/bin/gateway/v1alpha2/tlsrouteList.js.map +0 -1
- package/bin/gateway/v1alpha2/tlsroutePatch.d.ts +0 -74
- package/bin/gateway/v1alpha2/tlsroutePatch.js +0 -75
- package/bin/gateway/v1alpha2/tlsroutePatch.js.map +0 -1
- package/bin/gateway/v1alpha2/udproute.d.ts +0 -65
- package/bin/gateway/v1alpha2/udproute.js +0 -66
- package/bin/gateway/v1alpha2/udproute.js.map +0 -1
- package/bin/gateway/v1alpha2/udprouteList.d.ts +0 -67
- package/bin/gateway/v1alpha2/udprouteList.js +0 -65
- package/bin/gateway/v1alpha2/udprouteList.js.map +0 -1
- package/bin/gateway/v1alpha2/udproutePatch.d.ts +0 -71
- package/bin/gateway/v1alpha2/udproutePatch.js +0 -72
- package/bin/gateway/v1alpha2/udproutePatch.js.map +0 -1
- package/bin/gateway/v1alpha3/backendTLSPolicy.d.ts +0 -64
- package/bin/gateway/v1alpha3/backendTLSPolicy.js +0 -65
- package/bin/gateway/v1alpha3/backendTLSPolicy.js.map +0 -1
- package/bin/gateway/v1alpha3/backendTLSPolicyList.d.ts +0 -67
- package/bin/gateway/v1alpha3/backendTLSPolicyList.js +0 -65
- package/bin/gateway/v1alpha3/backendTLSPolicyList.js.map +0 -1
- package/bin/gateway/v1alpha3/backendTLSPolicyPatch.d.ts +0 -70
- package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js +0 -71
- package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js.map +0 -1
- package/bin/gateway/v1alpha3/index.d.ts +0 -9
- package/bin/gateway/v1alpha3/index.js +0 -30
- package/bin/gateway/v1alpha3/index.js.map +0 -1
- package/gateway/v1alpha2/backendLBPolicy.ts +0 -102
- package/gateway/v1alpha2/backendLBPolicyList.ts +0 -107
- package/gateway/v1alpha2/backendLBPolicyPatch.ts +0 -108
- package/gateway/v1alpha2/index.ts +0 -102
- package/gateway/v1alpha2/tcproute.ts +0 -103
- package/gateway/v1alpha2/tcprouteList.ts +0 -107
- package/gateway/v1alpha2/tcproutePatch.ts +0 -109
- package/gateway/v1alpha2/tlsroute.ts +0 -106
- package/gateway/v1alpha2/tlsrouteList.ts +0 -107
- package/gateway/v1alpha2/tlsroutePatch.ts +0 -112
- package/gateway/v1alpha2/udproute.ts +0 -103
- package/gateway/v1alpha2/udprouteList.ts +0 -107
- package/gateway/v1alpha2/udproutePatch.ts +0 -109
- package/gateway/v1alpha3/backendTLSPolicy.ts +0 -102
- package/gateway/v1alpha3/backendTLSPolicyList.ts +0 -107
- package/gateway/v1alpha3/backendTLSPolicyPatch.ts +0 -108
- package/gateway/v1alpha3/index.ts +0 -39
@@ -1,64 +0,0 @@
|
|
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
|
-
* BackendTLSPolicy provides a way to configure how a Gateway
|
7
|
-
* connects to a Backend via TLS.
|
8
|
-
*/
|
9
|
-
export declare class BackendTLSPolicy extends pulumi.CustomResource {
|
10
|
-
/**
|
11
|
-
* Get an existing BackendTLSPolicy 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): BackendTLSPolicy;
|
19
|
-
/**
|
20
|
-
* Returns true if the given object is an instance of BackendTLSPolicy. 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 BackendTLSPolicy;
|
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/v1alpha3">;
|
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<"BackendTLSPolicy">;
|
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.v1alpha3.BackendTLSPolicySpec>;
|
37
|
-
readonly status: pulumi.Output<outputs.gateway.v1alpha3.BackendTLSPolicyStatus>;
|
38
|
-
/**
|
39
|
-
* Create a BackendTLSPolicy 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?: BackendTLSPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
46
|
-
}
|
47
|
-
/**
|
48
|
-
* The set of arguments for constructing a BackendTLSPolicy resource.
|
49
|
-
*/
|
50
|
-
export interface BackendTLSPolicyArgs {
|
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/v1alpha3">;
|
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<"BackendTLSPolicy">;
|
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.v1alpha3.BackendTLSPolicySpec>;
|
64
|
-
}
|
@@ -1,65 +0,0 @@
|
|
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.BackendTLSPolicy = void 0;
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
7
|
-
const utilities = require("../../utilities");
|
8
|
-
/**
|
9
|
-
* BackendTLSPolicy provides a way to configure how a Gateway
|
10
|
-
* connects to a Backend via TLS.
|
11
|
-
*/
|
12
|
-
class BackendTLSPolicy extends pulumi.CustomResource {
|
13
|
-
/**
|
14
|
-
* Get an existing BackendTLSPolicy 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 BackendTLSPolicy(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
23
|
-
}
|
24
|
-
/**
|
25
|
-
* Returns true if the given object is an instance of BackendTLSPolicy. 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'] === BackendTLSPolicy.__pulumiType;
|
33
|
-
}
|
34
|
-
/**
|
35
|
-
* Create a BackendTLSPolicy 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/v1alpha3";
|
46
|
-
resourceInputs["kind"] = "BackendTLSPolicy";
|
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
|
-
super(BackendTLSPolicy.__pulumiType, name, resourceInputs, opts);
|
60
|
-
}
|
61
|
-
}
|
62
|
-
exports.BackendTLSPolicy = BackendTLSPolicy;
|
63
|
-
/** @internal */
|
64
|
-
BackendTLSPolicy.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicy';
|
65
|
-
//# sourceMappingURL=backendTLSPolicy.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"backendTLSPolicy.js","sourceRoot":"","sources":["../../../gateway/v1alpha3/backendTLSPolicy.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;GAGG;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;IAiBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA2B,EAAE,IAAmC;QACtF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;YACX,cAAc,CAAC,YAAY,CAAC,GAAG,oCAAoC,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,kBAAkB,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;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,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAnEL,4CAoEC;AAvDG,gBAAgB;AACO,6BAAY,GAAG,gEAAgE,CAAC"}
|
@@ -1,67 +0,0 @@
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
2
|
-
import * as inputs from "../../types/input";
|
3
|
-
import * as outputs from "../../types/output";
|
4
|
-
/**
|
5
|
-
* BackendTLSPolicyList is a list of BackendTLSPolicy
|
6
|
-
*/
|
7
|
-
export declare class BackendTLSPolicyList extends pulumi.CustomResource {
|
8
|
-
/**
|
9
|
-
* Get an existing BackendTLSPolicyList 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): BackendTLSPolicyList;
|
17
|
-
/**
|
18
|
-
* Returns true if the given object is an instance of BackendTLSPolicyList. 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 BackendTLSPolicyList;
|
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/v1alpha3">;
|
26
|
-
/**
|
27
|
-
* List of backendtlspolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
28
|
-
*/
|
29
|
-
readonly items: pulumi.Output<outputs.gateway.v1alpha3.BackendTLSPolicy[]>;
|
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<"BackendTLSPolicyList">;
|
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 BackendTLSPolicyList 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?: BackendTLSPolicyListArgs, opts?: pulumi.CustomResourceOptions);
|
46
|
-
}
|
47
|
-
/**
|
48
|
-
* The set of arguments for constructing a BackendTLSPolicyList resource.
|
49
|
-
*/
|
50
|
-
export interface BackendTLSPolicyListArgs {
|
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/v1alpha3">;
|
55
|
-
/**
|
56
|
-
* List of backendtlspolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
57
|
-
*/
|
58
|
-
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha3.BackendTLSPolicy>[]>;
|
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<"BackendTLSPolicyList">;
|
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
|
-
}
|
@@ -1,65 +0,0 @@
|
|
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.BackendTLSPolicyList = void 0;
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
7
|
-
const utilities = require("../../utilities");
|
8
|
-
/**
|
9
|
-
* BackendTLSPolicyList is a list of BackendTLSPolicy
|
10
|
-
*/
|
11
|
-
class BackendTLSPolicyList extends pulumi.CustomResource {
|
12
|
-
/**
|
13
|
-
* Get an existing BackendTLSPolicyList 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 BackendTLSPolicyList(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
22
|
-
}
|
23
|
-
/**
|
24
|
-
* Returns true if the given object is an instance of BackendTLSPolicyList. 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'] === BackendTLSPolicyList.__pulumiType;
|
32
|
-
}
|
33
|
-
/**
|
34
|
-
* Create a BackendTLSPolicyList 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/v1alpha3";
|
48
|
-
resourceInputs["items"] = args ? args.items : undefined;
|
49
|
-
resourceInputs["kind"] = "BackendTLSPolicyList";
|
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(BackendTLSPolicyList.__pulumiType, name, resourceInputs, opts);
|
60
|
-
}
|
61
|
-
}
|
62
|
-
exports.BackendTLSPolicyList = BackendTLSPolicyList;
|
63
|
-
/** @internal */
|
64
|
-
BackendTLSPolicyList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicyList';
|
65
|
-
//# sourceMappingURL=backendTLSPolicyList.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"backendTLSPolicyList.js","sourceRoot":"","sources":["../../../gateway/v1alpha3/backendTLSPolicyList.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;GAEG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjF,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IAmBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA+B,EAAE,IAAmC;QAC1F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;YACX,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;gBACnD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;YACzD,CAAC;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,oCAAoC,CAAC;YACpE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,sBAAsB,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;QAClE,CAAC;aAAM,CAAC;YACJ,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACnD,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAtEL,oDAuEC;AA1DG,gBAAgB;AACO,iCAAY,GAAG,oEAAoE,CAAC"}
|
@@ -1,70 +0,0 @@
|
|
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
|
-
* BackendTLSPolicy provides a way to configure how a Gateway
|
13
|
-
* connects to a Backend via TLS.
|
14
|
-
*/
|
15
|
-
export declare class BackendTLSPolicyPatch extends pulumi.CustomResource {
|
16
|
-
/**
|
17
|
-
* Get an existing BackendTLSPolicyPatch 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): BackendTLSPolicyPatch;
|
25
|
-
/**
|
26
|
-
* Returns true if the given object is an instance of BackendTLSPolicyPatch. This is designed to work even
|
27
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
28
|
-
*/
|
29
|
-
static isInstance(obj: any): obj is BackendTLSPolicyPatch;
|
30
|
-
/**
|
31
|
-
* 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
|
32
|
-
*/
|
33
|
-
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1alpha3">;
|
34
|
-
/**
|
35
|
-
* 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
|
36
|
-
*/
|
37
|
-
readonly kind: pulumi.Output<"BackendTLSPolicy">;
|
38
|
-
/**
|
39
|
-
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
40
|
-
*/
|
41
|
-
readonly metadata: pulumi.Output<ObjectMetaPatch>;
|
42
|
-
readonly spec: pulumi.Output<outputs.gateway.v1alpha3.BackendTLSPolicySpecPatch>;
|
43
|
-
readonly status: pulumi.Output<outputs.gateway.v1alpha3.BackendTLSPolicyStatusPatch>;
|
44
|
-
/**
|
45
|
-
* Create a BackendTLSPolicyPatch resource with the given unique name, arguments, and options.
|
46
|
-
*
|
47
|
-
* @param name The _unique_ name of the resource.
|
48
|
-
* @param args The arguments to use to populate this resource's properties.
|
49
|
-
* @param opts A bag of options that control this resource's behavior.
|
50
|
-
*/
|
51
|
-
constructor(name: string, args?: BackendTLSPolicyPatchArgs, opts?: pulumi.CustomResourceOptions);
|
52
|
-
}
|
53
|
-
/**
|
54
|
-
* The set of arguments for constructing a BackendTLSPolicyPatch resource.
|
55
|
-
*/
|
56
|
-
export interface BackendTLSPolicyPatchArgs {
|
57
|
-
/**
|
58
|
-
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
59
|
-
*/
|
60
|
-
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha3">;
|
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<"BackendTLSPolicy">;
|
65
|
-
/**
|
66
|
-
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
67
|
-
*/
|
68
|
-
metadata?: pulumi.Input<ObjectMetaPatch>;
|
69
|
-
spec?: pulumi.Input<inputs.gateway.v1alpha3.BackendTLSPolicySpecPatch>;
|
70
|
-
}
|
@@ -1,71 +0,0 @@
|
|
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.BackendTLSPolicyPatch = void 0;
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
7
|
-
const utilities = require("../../utilities");
|
8
|
-
/**
|
9
|
-
* Patch resources are used to modify existing Kubernetes resources by using
|
10
|
-
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
11
|
-
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
12
|
-
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
13
|
-
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
14
|
-
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
15
|
-
* BackendTLSPolicy provides a way to configure how a Gateway
|
16
|
-
* connects to a Backend via TLS.
|
17
|
-
*/
|
18
|
-
class BackendTLSPolicyPatch extends pulumi.CustomResource {
|
19
|
-
/**
|
20
|
-
* Get an existing BackendTLSPolicyPatch resource's state with the given name, ID, and optional extra
|
21
|
-
* properties used to qualify the lookup.
|
22
|
-
*
|
23
|
-
* @param name The _unique_ name of the resulting resource.
|
24
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
25
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
26
|
-
*/
|
27
|
-
static get(name, id, opts) {
|
28
|
-
return new BackendTLSPolicyPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
29
|
-
}
|
30
|
-
/**
|
31
|
-
* Returns true if the given object is an instance of BackendTLSPolicyPatch. This is designed to work even
|
32
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
33
|
-
*/
|
34
|
-
static isInstance(obj) {
|
35
|
-
if (obj === undefined || obj === null) {
|
36
|
-
return false;
|
37
|
-
}
|
38
|
-
return obj['__pulumiType'] === BackendTLSPolicyPatch.__pulumiType;
|
39
|
-
}
|
40
|
-
/**
|
41
|
-
* Create a BackendTLSPolicyPatch 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, args, opts) {
|
48
|
-
let resourceInputs = {};
|
49
|
-
opts = opts || {};
|
50
|
-
if (!opts.id) {
|
51
|
-
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha3";
|
52
|
-
resourceInputs["kind"] = "BackendTLSPolicy";
|
53
|
-
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
54
|
-
resourceInputs["spec"] = args ? args.spec : undefined;
|
55
|
-
resourceInputs["status"] = undefined /*out*/;
|
56
|
-
}
|
57
|
-
else {
|
58
|
-
resourceInputs["apiVersion"] = undefined /*out*/;
|
59
|
-
resourceInputs["kind"] = undefined /*out*/;
|
60
|
-
resourceInputs["metadata"] = undefined /*out*/;
|
61
|
-
resourceInputs["spec"] = undefined /*out*/;
|
62
|
-
resourceInputs["status"] = undefined /*out*/;
|
63
|
-
}
|
64
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
65
|
-
super(BackendTLSPolicyPatch.__pulumiType, name, resourceInputs, opts);
|
66
|
-
}
|
67
|
-
}
|
68
|
-
exports.BackendTLSPolicyPatch = BackendTLSPolicyPatch;
|
69
|
-
/** @internal */
|
70
|
-
BackendTLSPolicyPatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicyPatch';
|
71
|
-
//# sourceMappingURL=backendTLSPolicyPatch.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"backendTLSPolicyPatch.js","sourceRoot":"","sources":["../../../gateway/v1alpha3/backendTLSPolicyPatch.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;;;;;;;GASG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClF,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IAiBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAgC,EAAE,IAAmC;QAC3F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;YACX,cAAc,CAAC,YAAY,CAAC,GAAG,oCAAoC,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,kBAAkB,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QACjD,CAAC;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,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAnEL,sDAoEC;AAvDG,gBAAgB;AACO,kCAAY,GAAG,qEAAqE,CAAC"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export { BackendTLSPolicyArgs } from "./backendTLSPolicy";
|
2
|
-
export type BackendTLSPolicy = import("./backendTLSPolicy").BackendTLSPolicy;
|
3
|
-
export declare const BackendTLSPolicy: typeof import("./backendTLSPolicy").BackendTLSPolicy;
|
4
|
-
export { BackendTLSPolicyListArgs } from "./backendTLSPolicyList";
|
5
|
-
export type BackendTLSPolicyList = import("./backendTLSPolicyList").BackendTLSPolicyList;
|
6
|
-
export declare const BackendTLSPolicyList: typeof import("./backendTLSPolicyList").BackendTLSPolicyList;
|
7
|
-
export { BackendTLSPolicyPatchArgs } from "./backendTLSPolicyPatch";
|
8
|
-
export type BackendTLSPolicyPatch = import("./backendTLSPolicyPatch").BackendTLSPolicyPatch;
|
9
|
-
export declare const BackendTLSPolicyPatch: typeof import("./backendTLSPolicyPatch").BackendTLSPolicyPatch;
|
@@ -1,30 +0,0 @@
|
|
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.BackendTLSPolicyPatch = exports.BackendTLSPolicyList = exports.BackendTLSPolicy = void 0;
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
7
|
-
const utilities = require("../../utilities");
|
8
|
-
exports.BackendTLSPolicy = null;
|
9
|
-
utilities.lazyLoad(exports, ["BackendTLSPolicy"], () => require("./backendTLSPolicy"));
|
10
|
-
exports.BackendTLSPolicyList = null;
|
11
|
-
utilities.lazyLoad(exports, ["BackendTLSPolicyList"], () => require("./backendTLSPolicyList"));
|
12
|
-
exports.BackendTLSPolicyPatch = null;
|
13
|
-
utilities.lazyLoad(exports, ["BackendTLSPolicyPatch"], () => require("./backendTLSPolicyPatch"));
|
14
|
-
const _module = {
|
15
|
-
version: utilities.getVersion(),
|
16
|
-
construct: (name, type, urn) => {
|
17
|
-
switch (type) {
|
18
|
-
case "kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicy":
|
19
|
-
return new exports.BackendTLSPolicy(name, undefined, { urn });
|
20
|
-
case "kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicyList":
|
21
|
-
return new exports.BackendTLSPolicyList(name, undefined, { urn });
|
22
|
-
case "kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicyPatch":
|
23
|
-
return new exports.BackendTLSPolicyPatch(name, undefined, { urn });
|
24
|
-
default:
|
25
|
-
throw new Error(`unknown resource type ${type}`);
|
26
|
-
}
|
27
|
-
},
|
28
|
-
};
|
29
|
-
pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1alpha3", _module);
|
30
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../gateway/v1alpha3/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AACzC,6CAA6C;AAKhC,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAI1E,QAAA,oBAAoB,GAAiE,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC;AAIlF,QAAA,qBAAqB,GAAmE,IAAW,CAAC;AACjH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAGjG,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE,CAAC;YACX,KAAK,gEAAgE;gBACjE,OAAO,IAAI,wBAAgB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC9D,KAAK,oEAAoE;gBACrE,OAAO,IAAI,4BAAoB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClE,KAAK,qEAAqE;gBACtE,OAAO,IAAI,6BAAqB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;QACzD,CAAC;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,MAAM,EAAE,oCAAoC,EAAE,OAAO,CAAC,CAAA"}
|
@@ -1,102 +0,0 @@
|
|
1
|
-
// *** WARNING: this file was generated by crd2pulumi. ***
|
2
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
3
|
-
|
4
|
-
import * as pulumi from "@pulumi/pulumi";
|
5
|
-
import * as inputs from "../../types/input";
|
6
|
-
import * as outputs from "../../types/output";
|
7
|
-
import * as utilities from "../../utilities";
|
8
|
-
|
9
|
-
import {ObjectMeta} from "../../meta/v1";
|
10
|
-
|
11
|
-
/**
|
12
|
-
* BackendLBPolicy provides a way to define load balancing rules
|
13
|
-
* for a backend.
|
14
|
-
*/
|
15
|
-
export class BackendLBPolicy extends pulumi.CustomResource {
|
16
|
-
/**
|
17
|
-
* Get an existing BackendLBPolicy resource's state with the given name, ID, and optional extra
|
18
|
-
* properties used to qualify the lookup.
|
19
|
-
*
|
20
|
-
* @param name The _unique_ name of the resulting resource.
|
21
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
22
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
23
|
-
*/
|
24
|
-
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendLBPolicy {
|
25
|
-
return new BackendLBPolicy(name, undefined as any, { ...opts, id: id });
|
26
|
-
}
|
27
|
-
|
28
|
-
/** @internal */
|
29
|
-
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:BackendLBPolicy';
|
30
|
-
|
31
|
-
/**
|
32
|
-
* Returns true if the given object is an instance of BackendLBPolicy. This is designed to work even
|
33
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
34
|
-
*/
|
35
|
-
public static isInstance(obj: any): obj is BackendLBPolicy {
|
36
|
-
if (obj === undefined || obj === null) {
|
37
|
-
return false;
|
38
|
-
}
|
39
|
-
return obj['__pulumiType'] === BackendLBPolicy.__pulumiType;
|
40
|
-
}
|
41
|
-
|
42
|
-
/**
|
43
|
-
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
44
|
-
*/
|
45
|
-
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha2">;
|
46
|
-
/**
|
47
|
-
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
48
|
-
*/
|
49
|
-
public readonly kind!: pulumi.Output<"BackendLBPolicy">;
|
50
|
-
/**
|
51
|
-
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
52
|
-
*/
|
53
|
-
public readonly metadata!: pulumi.Output<ObjectMeta>;
|
54
|
-
public readonly spec!: pulumi.Output<outputs.gateway.v1alpha2.BackendLBPolicySpec>;
|
55
|
-
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha2.BackendLBPolicyStatus>;
|
56
|
-
|
57
|
-
/**
|
58
|
-
* Create a BackendLBPolicy resource with the given unique name, arguments, and options.
|
59
|
-
*
|
60
|
-
* @param name The _unique_ name of the resource.
|
61
|
-
* @param args The arguments to use to populate this resource's properties.
|
62
|
-
* @param opts A bag of options that control this resource's behavior.
|
63
|
-
*/
|
64
|
-
constructor(name: string, args?: BackendLBPolicyArgs, opts?: pulumi.CustomResourceOptions) {
|
65
|
-
let resourceInputs: pulumi.Inputs = {};
|
66
|
-
opts = opts || {};
|
67
|
-
if (!opts.id) {
|
68
|
-
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
|
69
|
-
resourceInputs["kind"] = "BackendLBPolicy";
|
70
|
-
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
71
|
-
resourceInputs["spec"] = args ? args.spec : undefined;
|
72
|
-
resourceInputs["status"] = undefined /*out*/;
|
73
|
-
} else {
|
74
|
-
resourceInputs["apiVersion"] = undefined /*out*/;
|
75
|
-
resourceInputs["kind"] = undefined /*out*/;
|
76
|
-
resourceInputs["metadata"] = undefined /*out*/;
|
77
|
-
resourceInputs["spec"] = undefined /*out*/;
|
78
|
-
resourceInputs["status"] = undefined /*out*/;
|
79
|
-
}
|
80
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
81
|
-
super(BackendLBPolicy.__pulumiType, name, resourceInputs, opts);
|
82
|
-
}
|
83
|
-
}
|
84
|
-
|
85
|
-
/**
|
86
|
-
* The set of arguments for constructing a BackendLBPolicy resource.
|
87
|
-
*/
|
88
|
-
export interface BackendLBPolicyArgs {
|
89
|
-
/**
|
90
|
-
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
91
|
-
*/
|
92
|
-
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha2">;
|
93
|
-
/**
|
94
|
-
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
95
|
-
*/
|
96
|
-
kind?: pulumi.Input<"BackendLBPolicy">;
|
97
|
-
/**
|
98
|
-
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
99
|
-
*/
|
100
|
-
metadata?: pulumi.Input<ObjectMeta>;
|
101
|
-
spec?: pulumi.Input<inputs.gateway.v1alpha2.BackendLBPolicySpec>;
|
102
|
-
}
|