@kilic.dev/pulumi-k8s-crds 1.2.0 → 1.2.2
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/cilium/index.d.ts +2 -1
- package/dist/cilium/index.js +3 -1
- package/dist/cilium/{v2alpha1/ciliumBGPAdvertisement.d.ts → v2/ciliumClusterwideEnvoyConfig.d.ts} +16 -19
- package/dist/cilium/{v2alpha1/ciliumBGPAdvertisement.js → v2/ciliumClusterwideEnvoyConfig.js} +12 -15
- package/dist/cilium/v2/ciliumClusterwideEnvoyConfigList.d.ts +69 -0
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigOverrideList.js → v2/ciliumClusterwideEnvoyConfigList.js} +14 -14
- package/dist/cilium/{v2alpha1/ciliumBGPAdvertisementPatch.d.ts → v2/ciliumClusterwideEnvoyConfigPatch.d.ts} +16 -17
- package/dist/cilium/{v2alpha1/ciliumBGPAdvertisementPatch.js → v2/ciliumClusterwideEnvoyConfigPatch.js} +12 -13
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigOverride.d.ts → v2/ciliumClusterwideNetworkPolicy.d.ts} +28 -20
- package/dist/cilium/{v2alpha1/ciliumL2AnnouncementPolicy.js → v2/ciliumClusterwideNetworkPolicy.js} +21 -15
- package/dist/cilium/{v2alpha1/ciliumBGPPeeringPolicyList.d.ts → v2/ciliumClusterwideNetworkPolicyList.d.ts} +19 -19
- package/dist/cilium/v2/ciliumClusterwideNetworkPolicyList.js +103 -0
- package/dist/cilium/{v2alpha1/ciliumBGPClusterConfigPatch.d.ts → v2/ciliumClusterwideNetworkPolicyPatch.d.ts} +28 -18
- package/dist/cilium/{v2alpha1/ciliumL2AnnouncementPolicyPatch.js → v2/ciliumClusterwideNetworkPolicyPatch.js} +21 -15
- package/dist/cilium/{v2alpha1/ciliumBGPPeerConfig.d.ts → v2/ciliumEgressGatewayPolicy.d.ts} +16 -17
- package/dist/cilium/{v2alpha1/ciliumBGPPeerConfig.js → v2/ciliumEgressGatewayPolicy.js} +12 -15
- package/dist/cilium/{v2alpha1/ciliumBGPClusterConfigList.d.ts → v2/ciliumEgressGatewayPolicyList.d.ts} +19 -19
- package/dist/cilium/{v2alpha1/ciliumBGPClusterConfigList.js → v2/ciliumEgressGatewayPolicyList.js} +14 -14
- package/dist/cilium/{v2alpha1/ciliumBGPPeerConfigPatch.d.ts → v2/ciliumEgressGatewayPolicyPatch.d.ts} +16 -17
- package/dist/cilium/{v2alpha1/ciliumBGPPeeringPolicyPatch.js → v2/ciliumEgressGatewayPolicyPatch.js} +12 -14
- package/dist/cilium/{v2alpha1/ciliumBGPPeeringPolicy.d.ts → v2/ciliumEnvoyConfig.d.ts} +16 -20
- package/dist/cilium/{v2alpha1/ciliumBGPPeeringPolicy.js → v2/ciliumEnvoyConfig.js} +12 -16
- package/dist/cilium/{v2alpha1/ciliumBGPPeerConfigList.d.ts → v2/ciliumEnvoyConfigList.d.ts} +19 -19
- package/dist/cilium/{v2alpha1/ciliumBGPPeerConfigList.js → v2/ciliumEnvoyConfigList.js} +14 -14
- package/dist/cilium/{v2alpha1/ciliumBGPPeeringPolicyPatch.d.ts → v2/ciliumEnvoyConfigPatch.d.ts} +16 -18
- package/dist/cilium/{v2alpha1/ciliumBGPClusterConfigPatch.js → v2/ciliumEnvoyConfigPatch.js} +12 -16
- package/dist/cilium/{v2alpha1/ciliumBGPClusterConfig.d.ts → v2/ciliumLocalRedirectPolicy.d.ts} +19 -18
- package/dist/cilium/{v2alpha1/ciliumBGPClusterConfig.js → v2/ciliumLocalRedirectPolicy.js} +14 -13
- package/dist/cilium/{v2alpha1/ciliumBGPAdvertisementList.d.ts → v2/ciliumLocalRedirectPolicyList.d.ts} +19 -19
- package/dist/cilium/{v2alpha1/ciliumBGPAdvertisementList.js → v2/ciliumLocalRedirectPolicyList.js} +14 -14
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigPatch.d.ts → v2/ciliumLocalRedirectPolicyPatch.d.ts} +19 -19
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigPatch.js → v2/ciliumLocalRedirectPolicyPatch.js} +14 -14
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfig.d.ts → v2/ciliumNetworkPolicy.d.ts} +27 -19
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfig.js → v2/ciliumNetworkPolicy.js} +20 -14
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigList.d.ts → v2/ciliumNetworkPolicyList.d.ts} +19 -19
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigList.js → v2/ciliumNetworkPolicyList.js} +14 -14
- package/dist/cilium/{v2alpha1/ciliumBGPNodeConfigOverridePatch.d.ts → v2/ciliumNetworkPolicyPatch.d.ts} +27 -20
- package/dist/cilium/{v2alpha1/ciliumBGPPeerConfigPatch.js → v2/ciliumNetworkPolicyPatch.js} +20 -12
- package/dist/cilium/v2/index.d.ts +54 -0
- package/dist/cilium/v2/index.js +112 -0
- package/dist/cilium/v2alpha1/index.d.ts +0 -63
- package/dist/cilium/v2alpha1/index.js +1 -85
- package/dist/types/input.d.ts +20402 -1298
- package/dist/types/output.d.ts +20349 -1383
- package/package.json +3 -3
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverride.js +0 -100
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverrideList.d.ts +0 -69
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverridePatch.js +0 -106
- package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyList.js +0 -103
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicy.d.ts +0 -67
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyList.d.ts +0 -69
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyList.js +0 -103
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyPatch.d.ts +0 -73
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"resource": true,
|
|
5
5
|
"name": "pulumi-k8s-crds"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.2.
|
|
7
|
+
"version": "1.2.2",
|
|
8
8
|
"description": "CRD definitions for k8s.",
|
|
9
9
|
"repository": "https://gitlab.kilic.dev/devops/pulumi/pulumi-libs",
|
|
10
10
|
"author": {
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"build": "tsc -p tsconfig.build.json",
|
|
34
34
|
"format": "true",
|
|
35
35
|
"lint": "true",
|
|
36
|
-
"generate": "./generate.sh"
|
|
36
|
+
"generate": "./generate.sh && pnpm run build"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@pulumi/kubernetes": "^4.18.3",
|
|
41
|
-
"@pulumi/pulumi": "^3.
|
|
41
|
+
"@pulumi/pulumi": "^3.139.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@pulumi/pulumi": ">= 3",
|
|
@@ -1,100 +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
|
-
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 (mod) {
|
|
21
|
-
if (mod && mod.__esModule) return mod;
|
|
22
|
-
var result = {};
|
|
23
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
-
__setModuleDefault(result, mod);
|
|
25
|
-
return result;
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.CiliumBGPNodeConfigOverride = void 0;
|
|
29
|
-
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
-
const utilities = __importStar(require("../../utilities"));
|
|
31
|
-
/**
|
|
32
|
-
* CiliumBGPNodeConfigOverride specifies configuration overrides for a CiliumBGPNodeConfig.
|
|
33
|
-
* It allows fine-tuning of BGP behavior on a per-node basis. For the override to be effective,
|
|
34
|
-
* the names in CiliumBGPNodeConfigOverride and CiliumBGPNodeConfig must match exactly. This
|
|
35
|
-
* matching ensures that specific node configurations are applied correctly and only where intended.
|
|
36
|
-
*/
|
|
37
|
-
class CiliumBGPNodeConfigOverride extends pulumi.CustomResource {
|
|
38
|
-
/**
|
|
39
|
-
* Get an existing CiliumBGPNodeConfigOverride resource's state with the given name, ID, and optional extra
|
|
40
|
-
* properties used to qualify the lookup.
|
|
41
|
-
*
|
|
42
|
-
* @param name The _unique_ name of the resulting resource.
|
|
43
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
-
*/
|
|
46
|
-
static get(name, id, opts) {
|
|
47
|
-
return new CiliumBGPNodeConfigOverride(name, undefined, { ...opts, id: id });
|
|
48
|
-
}
|
|
49
|
-
/** @internal */
|
|
50
|
-
static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPNodeConfigOverride';
|
|
51
|
-
/**
|
|
52
|
-
* Returns true if the given object is an instance of CiliumBGPNodeConfigOverride. This is designed to work even
|
|
53
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
-
*/
|
|
55
|
-
static isInstance(obj) {
|
|
56
|
-
if (obj === undefined || obj === null) {
|
|
57
|
-
return false;
|
|
58
|
-
}
|
|
59
|
-
return obj['__pulumiType'] === CiliumBGPNodeConfigOverride.__pulumiType;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* 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
|
|
63
|
-
*/
|
|
64
|
-
apiVersion;
|
|
65
|
-
/**
|
|
66
|
-
* 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
|
|
67
|
-
*/
|
|
68
|
-
kind;
|
|
69
|
-
/**
|
|
70
|
-
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
71
|
-
*/
|
|
72
|
-
metadata;
|
|
73
|
-
spec;
|
|
74
|
-
/**
|
|
75
|
-
* Create a CiliumBGPNodeConfigOverride resource with the given unique name, arguments, and options.
|
|
76
|
-
*
|
|
77
|
-
* @param name The _unique_ name of the resource.
|
|
78
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
-
*/
|
|
81
|
-
constructor(name, args, opts) {
|
|
82
|
-
let resourceInputs = {};
|
|
83
|
-
opts = opts || {};
|
|
84
|
-
if (!opts.id) {
|
|
85
|
-
resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
|
|
86
|
-
resourceInputs["kind"] = "CiliumBGPNodeConfigOverride";
|
|
87
|
-
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
88
|
-
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
89
|
-
}
|
|
90
|
-
else {
|
|
91
|
-
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
92
|
-
resourceInputs["kind"] = undefined /*out*/;
|
|
93
|
-
resourceInputs["metadata"] = undefined /*out*/;
|
|
94
|
-
resourceInputs["spec"] = undefined /*out*/;
|
|
95
|
-
}
|
|
96
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
97
|
-
super(CiliumBGPNodeConfigOverride.__pulumiType, name, resourceInputs, opts);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
exports.CiliumBGPNodeConfigOverride = CiliumBGPNodeConfigOverride;
|
|
@@ -1,69 +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
|
-
* CiliumBGPNodeConfigOverrideList is a list of CiliumBGPNodeConfigOverride
|
|
6
|
-
*/
|
|
7
|
-
export declare class CiliumBGPNodeConfigOverrideList extends pulumi.CustomResource {
|
|
8
|
-
/**
|
|
9
|
-
* Get an existing CiliumBGPNodeConfigOverrideList 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): CiliumBGPNodeConfigOverrideList;
|
|
17
|
-
/** @internal */
|
|
18
|
-
static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumBGPNodeConfigOverrideList";
|
|
19
|
-
/**
|
|
20
|
-
* Returns true if the given object is an instance of CiliumBGPNodeConfigOverrideList. 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 CiliumBGPNodeConfigOverrideList;
|
|
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<"cilium.io/v2alpha1">;
|
|
28
|
-
/**
|
|
29
|
-
* List of ciliumbgpnodeconfigoverrides. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
30
|
-
*/
|
|
31
|
-
readonly items: pulumi.Output<outputs.cilium.v2alpha1.CiliumBGPNodeConfigOverride[]>;
|
|
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<"CiliumBGPNodeConfigOverrideList">;
|
|
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 CiliumBGPNodeConfigOverrideList 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?: CiliumBGPNodeConfigOverrideListArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* The set of arguments for constructing a CiliumBGPNodeConfigOverrideList resource.
|
|
51
|
-
*/
|
|
52
|
-
export interface CiliumBGPNodeConfigOverrideListArgs {
|
|
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<"cilium.io/v2alpha1">;
|
|
57
|
-
/**
|
|
58
|
-
* List of ciliumbgpnodeconfigoverrides. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
59
|
-
*/
|
|
60
|
-
items: pulumi.Input<pulumi.Input<inputs.cilium.v2alpha1.CiliumBGPNodeConfigOverride>[]>;
|
|
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<"CiliumBGPNodeConfigOverrideList">;
|
|
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
|
-
}
|
|
@@ -1,106 +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
|
-
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 (mod) {
|
|
21
|
-
if (mod && mod.__esModule) return mod;
|
|
22
|
-
var result = {};
|
|
23
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
-
__setModuleDefault(result, mod);
|
|
25
|
-
return result;
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.CiliumBGPNodeConfigOverridePatch = void 0;
|
|
29
|
-
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
-
const utilities = __importStar(require("../../utilities"));
|
|
31
|
-
/**
|
|
32
|
-
* Patch resources are used to modify existing Kubernetes resources by using
|
|
33
|
-
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
34
|
-
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
35
|
-
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
36
|
-
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
37
|
-
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
38
|
-
* CiliumBGPNodeConfigOverride specifies configuration overrides for a CiliumBGPNodeConfig.
|
|
39
|
-
* It allows fine-tuning of BGP behavior on a per-node basis. For the override to be effective,
|
|
40
|
-
* the names in CiliumBGPNodeConfigOverride and CiliumBGPNodeConfig must match exactly. This
|
|
41
|
-
* matching ensures that specific node configurations are applied correctly and only where intended.
|
|
42
|
-
*/
|
|
43
|
-
class CiliumBGPNodeConfigOverridePatch extends pulumi.CustomResource {
|
|
44
|
-
/**
|
|
45
|
-
* Get an existing CiliumBGPNodeConfigOverridePatch resource's state with the given name, ID, and optional extra
|
|
46
|
-
* properties used to qualify the lookup.
|
|
47
|
-
*
|
|
48
|
-
* @param name The _unique_ name of the resulting resource.
|
|
49
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
-
*/
|
|
52
|
-
static get(name, id, opts) {
|
|
53
|
-
return new CiliumBGPNodeConfigOverridePatch(name, undefined, { ...opts, id: id });
|
|
54
|
-
}
|
|
55
|
-
/** @internal */
|
|
56
|
-
static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPNodeConfigOverridePatch';
|
|
57
|
-
/**
|
|
58
|
-
* Returns true if the given object is an instance of CiliumBGPNodeConfigOverridePatch. This is designed to work even
|
|
59
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
-
*/
|
|
61
|
-
static isInstance(obj) {
|
|
62
|
-
if (obj === undefined || obj === null) {
|
|
63
|
-
return false;
|
|
64
|
-
}
|
|
65
|
-
return obj['__pulumiType'] === CiliumBGPNodeConfigOverridePatch.__pulumiType;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* 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
|
|
69
|
-
*/
|
|
70
|
-
apiVersion;
|
|
71
|
-
/**
|
|
72
|
-
* 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
|
|
73
|
-
*/
|
|
74
|
-
kind;
|
|
75
|
-
/**
|
|
76
|
-
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
77
|
-
*/
|
|
78
|
-
metadata;
|
|
79
|
-
spec;
|
|
80
|
-
/**
|
|
81
|
-
* Create a CiliumBGPNodeConfigOverridePatch resource with the given unique name, arguments, and options.
|
|
82
|
-
*
|
|
83
|
-
* @param name The _unique_ name of the resource.
|
|
84
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
85
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
86
|
-
*/
|
|
87
|
-
constructor(name, args, opts) {
|
|
88
|
-
let resourceInputs = {};
|
|
89
|
-
opts = opts || {};
|
|
90
|
-
if (!opts.id) {
|
|
91
|
-
resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
|
|
92
|
-
resourceInputs["kind"] = "CiliumBGPNodeConfigOverride";
|
|
93
|
-
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
94
|
-
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
97
|
-
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
98
|
-
resourceInputs["kind"] = undefined /*out*/;
|
|
99
|
-
resourceInputs["metadata"] = undefined /*out*/;
|
|
100
|
-
resourceInputs["spec"] = undefined /*out*/;
|
|
101
|
-
}
|
|
102
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
103
|
-
super(CiliumBGPNodeConfigOverridePatch.__pulumiType, name, resourceInputs, opts);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
exports.CiliumBGPNodeConfigOverridePatch = CiliumBGPNodeConfigOverridePatch;
|
|
@@ -1,103 +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
|
-
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 (mod) {
|
|
21
|
-
if (mod && mod.__esModule) return mod;
|
|
22
|
-
var result = {};
|
|
23
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
-
__setModuleDefault(result, mod);
|
|
25
|
-
return result;
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.CiliumBGPPeeringPolicyList = void 0;
|
|
29
|
-
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
-
const utilities = __importStar(require("../../utilities"));
|
|
31
|
-
/**
|
|
32
|
-
* CiliumBGPPeeringPolicyList is a list of CiliumBGPPeeringPolicy
|
|
33
|
-
*/
|
|
34
|
-
class CiliumBGPPeeringPolicyList extends pulumi.CustomResource {
|
|
35
|
-
/**
|
|
36
|
-
* Get an existing CiliumBGPPeeringPolicyList resource's state with the given name, ID, and optional extra
|
|
37
|
-
* properties used to qualify the lookup.
|
|
38
|
-
*
|
|
39
|
-
* @param name The _unique_ name of the resulting resource.
|
|
40
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
-
*/
|
|
43
|
-
static get(name, id, opts) {
|
|
44
|
-
return new CiliumBGPPeeringPolicyList(name, undefined, { ...opts, id: id });
|
|
45
|
-
}
|
|
46
|
-
/** @internal */
|
|
47
|
-
static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumBGPPeeringPolicyList';
|
|
48
|
-
/**
|
|
49
|
-
* Returns true if the given object is an instance of CiliumBGPPeeringPolicyList. This is designed to work even
|
|
50
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
-
*/
|
|
52
|
-
static isInstance(obj) {
|
|
53
|
-
if (obj === undefined || obj === null) {
|
|
54
|
-
return false;
|
|
55
|
-
}
|
|
56
|
-
return obj['__pulumiType'] === CiliumBGPPeeringPolicyList.__pulumiType;
|
|
57
|
-
}
|
|
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;
|
|
62
|
-
/**
|
|
63
|
-
* List of ciliumbgppeeringpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
64
|
-
*/
|
|
65
|
-
items;
|
|
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
|
-
kind;
|
|
70
|
-
/**
|
|
71
|
-
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
72
|
-
*/
|
|
73
|
-
metadata;
|
|
74
|
-
/**
|
|
75
|
-
* Create a CiliumBGPPeeringPolicyList resource with the given unique name, arguments, and options.
|
|
76
|
-
*
|
|
77
|
-
* @param name The _unique_ name of the resource.
|
|
78
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
-
*/
|
|
81
|
-
constructor(name, args, opts) {
|
|
82
|
-
let resourceInputs = {};
|
|
83
|
-
opts = opts || {};
|
|
84
|
-
if (!opts.id) {
|
|
85
|
-
if ((!args || args.items === undefined) && !opts.urn) {
|
|
86
|
-
throw new Error("Missing required property 'items'");
|
|
87
|
-
}
|
|
88
|
-
resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
|
|
89
|
-
resourceInputs["items"] = args ? args.items : undefined;
|
|
90
|
-
resourceInputs["kind"] = "CiliumBGPPeeringPolicyList";
|
|
91
|
-
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
95
|
-
resourceInputs["items"] = undefined /*out*/;
|
|
96
|
-
resourceInputs["kind"] = undefined /*out*/;
|
|
97
|
-
resourceInputs["metadata"] = undefined /*out*/;
|
|
98
|
-
}
|
|
99
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
|
-
super(CiliumBGPPeeringPolicyList.__pulumiType, name, resourceInputs, opts);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
exports.CiliumBGPPeeringPolicyList = CiliumBGPPeeringPolicyList;
|
|
@@ -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
|
-
import { ObjectMeta } from "../../meta/v1";
|
|
5
|
-
/**
|
|
6
|
-
* CiliumL2AnnouncementPolicy is a Kubernetes third-party resource which
|
|
7
|
-
* is used to defined which nodes should announce what services on the
|
|
8
|
-
* L2 network.
|
|
9
|
-
*/
|
|
10
|
-
export declare class CiliumL2AnnouncementPolicy extends pulumi.CustomResource {
|
|
11
|
-
/**
|
|
12
|
-
* Get an existing CiliumL2AnnouncementPolicy resource's state with the given name, ID, and optional extra
|
|
13
|
-
* properties used to qualify the lookup.
|
|
14
|
-
*
|
|
15
|
-
* @param name The _unique_ name of the resulting resource.
|
|
16
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
17
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
18
|
-
*/
|
|
19
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumL2AnnouncementPolicy;
|
|
20
|
-
/** @internal */
|
|
21
|
-
static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumL2AnnouncementPolicy";
|
|
22
|
-
/**
|
|
23
|
-
* Returns true if the given object is an instance of CiliumL2AnnouncementPolicy. This is designed to work even
|
|
24
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
25
|
-
*/
|
|
26
|
-
static isInstance(obj: any): obj is CiliumL2AnnouncementPolicy;
|
|
27
|
-
/**
|
|
28
|
-
* 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
|
|
29
|
-
*/
|
|
30
|
-
readonly apiVersion: pulumi.Output<"cilium.io/v2alpha1">;
|
|
31
|
-
/**
|
|
32
|
-
* 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
|
|
33
|
-
*/
|
|
34
|
-
readonly kind: pulumi.Output<"CiliumL2AnnouncementPolicy">;
|
|
35
|
-
/**
|
|
36
|
-
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
37
|
-
*/
|
|
38
|
-
readonly metadata: pulumi.Output<ObjectMeta>;
|
|
39
|
-
readonly spec: pulumi.Output<outputs.cilium.v2alpha1.CiliumL2AnnouncementPolicySpec>;
|
|
40
|
-
readonly status: pulumi.Output<outputs.cilium.v2alpha1.CiliumL2AnnouncementPolicyStatus>;
|
|
41
|
-
/**
|
|
42
|
-
* Create a CiliumL2AnnouncementPolicy resource with the given unique name, arguments, and options.
|
|
43
|
-
*
|
|
44
|
-
* @param name The _unique_ name of the resource.
|
|
45
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
46
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
47
|
-
*/
|
|
48
|
-
constructor(name: string, args?: CiliumL2AnnouncementPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* The set of arguments for constructing a CiliumL2AnnouncementPolicy resource.
|
|
52
|
-
*/
|
|
53
|
-
export interface CiliumL2AnnouncementPolicyArgs {
|
|
54
|
-
/**
|
|
55
|
-
* 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
|
|
56
|
-
*/
|
|
57
|
-
apiVersion?: pulumi.Input<"cilium.io/v2alpha1">;
|
|
58
|
-
/**
|
|
59
|
-
* 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
|
|
60
|
-
*/
|
|
61
|
-
kind?: pulumi.Input<"CiliumL2AnnouncementPolicy">;
|
|
62
|
-
/**
|
|
63
|
-
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
64
|
-
*/
|
|
65
|
-
metadata?: pulumi.Input<ObjectMeta>;
|
|
66
|
-
spec?: pulumi.Input<inputs.cilium.v2alpha1.CiliumL2AnnouncementPolicySpec>;
|
|
67
|
-
}
|
|
@@ -1,69 +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
|
-
* CiliumL2AnnouncementPolicyList is a list of CiliumL2AnnouncementPolicy
|
|
6
|
-
*/
|
|
7
|
-
export declare class CiliumL2AnnouncementPolicyList extends pulumi.CustomResource {
|
|
8
|
-
/**
|
|
9
|
-
* Get an existing CiliumL2AnnouncementPolicyList 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): CiliumL2AnnouncementPolicyList;
|
|
17
|
-
/** @internal */
|
|
18
|
-
static readonly __pulumiType = "kubernetes:cilium.io/v2alpha1:CiliumL2AnnouncementPolicyList";
|
|
19
|
-
/**
|
|
20
|
-
* Returns true if the given object is an instance of CiliumL2AnnouncementPolicyList. 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 CiliumL2AnnouncementPolicyList;
|
|
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<"cilium.io/v2alpha1">;
|
|
28
|
-
/**
|
|
29
|
-
* List of ciliuml2announcementpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
30
|
-
*/
|
|
31
|
-
readonly items: pulumi.Output<outputs.cilium.v2alpha1.CiliumL2AnnouncementPolicy[]>;
|
|
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<"CiliumL2AnnouncementPolicyList">;
|
|
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 CiliumL2AnnouncementPolicyList 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?: CiliumL2AnnouncementPolicyListArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* The set of arguments for constructing a CiliumL2AnnouncementPolicyList resource.
|
|
51
|
-
*/
|
|
52
|
-
export interface CiliumL2AnnouncementPolicyListArgs {
|
|
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<"cilium.io/v2alpha1">;
|
|
57
|
-
/**
|
|
58
|
-
* List of ciliuml2announcementpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
59
|
-
*/
|
|
60
|
-
items: pulumi.Input<pulumi.Input<inputs.cilium.v2alpha1.CiliumL2AnnouncementPolicy>[]>;
|
|
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<"CiliumL2AnnouncementPolicyList">;
|
|
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
|
-
}
|
|
@@ -1,103 +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
|
-
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 (mod) {
|
|
21
|
-
if (mod && mod.__esModule) return mod;
|
|
22
|
-
var result = {};
|
|
23
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
-
__setModuleDefault(result, mod);
|
|
25
|
-
return result;
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.CiliumL2AnnouncementPolicyList = void 0;
|
|
29
|
-
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
-
const utilities = __importStar(require("../../utilities"));
|
|
31
|
-
/**
|
|
32
|
-
* CiliumL2AnnouncementPolicyList is a list of CiliumL2AnnouncementPolicy
|
|
33
|
-
*/
|
|
34
|
-
class CiliumL2AnnouncementPolicyList extends pulumi.CustomResource {
|
|
35
|
-
/**
|
|
36
|
-
* Get an existing CiliumL2AnnouncementPolicyList resource's state with the given name, ID, and optional extra
|
|
37
|
-
* properties used to qualify the lookup.
|
|
38
|
-
*
|
|
39
|
-
* @param name The _unique_ name of the resulting resource.
|
|
40
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
-
*/
|
|
43
|
-
static get(name, id, opts) {
|
|
44
|
-
return new CiliumL2AnnouncementPolicyList(name, undefined, { ...opts, id: id });
|
|
45
|
-
}
|
|
46
|
-
/** @internal */
|
|
47
|
-
static __pulumiType = 'kubernetes:cilium.io/v2alpha1:CiliumL2AnnouncementPolicyList';
|
|
48
|
-
/**
|
|
49
|
-
* Returns true if the given object is an instance of CiliumL2AnnouncementPolicyList. This is designed to work even
|
|
50
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
-
*/
|
|
52
|
-
static isInstance(obj) {
|
|
53
|
-
if (obj === undefined || obj === null) {
|
|
54
|
-
return false;
|
|
55
|
-
}
|
|
56
|
-
return obj['__pulumiType'] === CiliumL2AnnouncementPolicyList.__pulumiType;
|
|
57
|
-
}
|
|
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;
|
|
62
|
-
/**
|
|
63
|
-
* List of ciliuml2announcementpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
64
|
-
*/
|
|
65
|
-
items;
|
|
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
|
-
kind;
|
|
70
|
-
/**
|
|
71
|
-
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
72
|
-
*/
|
|
73
|
-
metadata;
|
|
74
|
-
/**
|
|
75
|
-
* Create a CiliumL2AnnouncementPolicyList resource with the given unique name, arguments, and options.
|
|
76
|
-
*
|
|
77
|
-
* @param name The _unique_ name of the resource.
|
|
78
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
-
*/
|
|
81
|
-
constructor(name, args, opts) {
|
|
82
|
-
let resourceInputs = {};
|
|
83
|
-
opts = opts || {};
|
|
84
|
-
if (!opts.id) {
|
|
85
|
-
if ((!args || args.items === undefined) && !opts.urn) {
|
|
86
|
-
throw new Error("Missing required property 'items'");
|
|
87
|
-
}
|
|
88
|
-
resourceInputs["apiVersion"] = "cilium.io/v2alpha1";
|
|
89
|
-
resourceInputs["items"] = args ? args.items : undefined;
|
|
90
|
-
resourceInputs["kind"] = "CiliumL2AnnouncementPolicyList";
|
|
91
|
-
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
95
|
-
resourceInputs["items"] = undefined /*out*/;
|
|
96
|
-
resourceInputs["kind"] = undefined /*out*/;
|
|
97
|
-
resourceInputs["metadata"] = undefined /*out*/;
|
|
98
|
-
}
|
|
99
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
|
-
super(CiliumL2AnnouncementPolicyList.__pulumiType, name, resourceInputs, opts);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
exports.CiliumL2AnnouncementPolicyList = CiliumL2AnnouncementPolicyList;
|