@kilic.dev/pulumi-k8s-crds 4.0.0 → 4.0.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.
Files changed (31) hide show
  1. package/dist/cilium/v2/index.d.ts +0 -36
  2. package/dist/cilium/v2/index.js +1 -49
  3. package/dist/package.json +1 -1
  4. package/dist/types/input.d.ts +83 -1663
  5. package/dist/types/output.d.ts +79 -1666
  6. package/dist/utilities.js +1 -1
  7. package/package.json +1 -1
  8. package/dist/cilium/v2/ciliumClusterwideEnvoyConfig.d.ts +0 -61
  9. package/dist/cilium/v2/ciliumClusterwideEnvoyConfig.js +0 -96
  10. package/dist/cilium/v2/ciliumClusterwideEnvoyConfigList.d.ts +0 -70
  11. package/dist/cilium/v2/ciliumClusterwideEnvoyConfigList.js +0 -99
  12. package/dist/cilium/v2/ciliumClusterwideEnvoyConfigPatch.d.ts +0 -69
  13. package/dist/cilium/v2/ciliumClusterwideEnvoyConfigPatch.js +0 -99
  14. package/dist/cilium/v2/ciliumEgressGatewayPolicy.d.ts +0 -61
  15. package/dist/cilium/v2/ciliumEgressGatewayPolicy.js +0 -96
  16. package/dist/cilium/v2/ciliumEgressGatewayPolicyList.d.ts +0 -70
  17. package/dist/cilium/v2/ciliumEgressGatewayPolicyList.js +0 -99
  18. package/dist/cilium/v2/ciliumEgressGatewayPolicyPatch.d.ts +0 -69
  19. package/dist/cilium/v2/ciliumEgressGatewayPolicyPatch.js +0 -99
  20. package/dist/cilium/v2/ciliumEnvoyConfig.d.ts +0 -61
  21. package/dist/cilium/v2/ciliumEnvoyConfig.js +0 -96
  22. package/dist/cilium/v2/ciliumEnvoyConfigList.d.ts +0 -70
  23. package/dist/cilium/v2/ciliumEnvoyConfigList.js +0 -99
  24. package/dist/cilium/v2/ciliumEnvoyConfigPatch.d.ts +0 -69
  25. package/dist/cilium/v2/ciliumEnvoyConfigPatch.js +0 -99
  26. package/dist/cilium/v2/ciliumLocalRedirectPolicy.d.ts +0 -66
  27. package/dist/cilium/v2/ciliumLocalRedirectPolicy.js +0 -102
  28. package/dist/cilium/v2/ciliumLocalRedirectPolicyList.d.ts +0 -70
  29. package/dist/cilium/v2/ciliumLocalRedirectPolicyList.js +0 -99
  30. package/dist/cilium/v2/ciliumLocalRedirectPolicyPatch.d.ts +0 -72
  31. package/dist/cilium/v2/ciliumLocalRedirectPolicyPatch.js +0 -103
@@ -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 * as pulumiKubernetes from "@pulumi/kubernetes";
5
- /**
6
- * CiliumEnvoyConfigList is a list of CiliumEnvoyConfig
7
- */
8
- export declare class CiliumEnvoyConfigList extends pulumi.CustomResource {
9
- /**
10
- * Get an existing CiliumEnvoyConfigList resource's state with the given name, ID, and optional extra
11
- * properties used to qualify the lookup.
12
- *
13
- * @param name The _unique_ name of the resulting resource.
14
- * @param id The _unique_ provider ID of the resource to lookup.
15
- * @param opts Optional settings to control the behavior of the CustomResource.
16
- */
17
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumEnvoyConfigList;
18
- /** @internal */
19
- static readonly __pulumiType = "pulumi-k8s-crds:cilium.io/v2:CiliumEnvoyConfigList";
20
- /**
21
- * Returns true if the given object is an instance of CiliumEnvoyConfigList. This is designed to work even
22
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
23
- */
24
- static isInstance(obj: any): obj is CiliumEnvoyConfigList;
25
- /**
26
- * 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
27
- */
28
- readonly apiVersion: pulumi.Output<"cilium.io/v2">;
29
- /**
30
- * List of ciliumenvoyconfigs. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
31
- */
32
- readonly items: pulumi.Output<outputs.cilium.v2.CiliumEnvoyConfig[]>;
33
- /**
34
- * 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
35
- */
36
- readonly kind: pulumi.Output<"CiliumEnvoyConfigList">;
37
- /**
38
- * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
39
- */
40
- readonly metadata: pulumi.Output<pulumiKubernetes.types.output.meta.v1.ListMeta>;
41
- /**
42
- * Create a CiliumEnvoyConfigList 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?: CiliumEnvoyConfigListArgs, opts?: pulumi.CustomResourceOptions);
49
- }
50
- /**
51
- * The set of arguments for constructing a CiliumEnvoyConfigList resource.
52
- */
53
- export interface CiliumEnvoyConfigListArgs {
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/v2" | undefined>;
58
- /**
59
- * List of ciliumenvoyconfigs. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
60
- */
61
- items: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumEnvoyConfig>[]>;
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<"CiliumEnvoyConfigList" | undefined>;
66
- /**
67
- * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
68
- */
69
- metadata?: pulumi.Input<pulumiKubernetes.types.input.meta.v1.ListMeta | undefined>;
70
- }
@@ -1,99 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.CiliumEnvoyConfigList = void 0;
39
- const pulumi = __importStar(require("@pulumi/pulumi"));
40
- const utilities = __importStar(require("../../utilities"));
41
- /**
42
- * CiliumEnvoyConfigList is a list of CiliumEnvoyConfig
43
- */
44
- class CiliumEnvoyConfigList extends pulumi.CustomResource {
45
- /**
46
- * Get an existing CiliumEnvoyConfigList 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 CiliumEnvoyConfigList(name, undefined, { ...opts, id: id });
55
- }
56
- /** @internal */
57
- static __pulumiType = 'pulumi-k8s-crds:cilium.io/v2:CiliumEnvoyConfigList';
58
- /**
59
- * Returns true if the given object is an instance of CiliumEnvoyConfigList. 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'] === CiliumEnvoyConfigList.__pulumiType;
67
- }
68
- /**
69
- * Create a CiliumEnvoyConfigList resource with the given unique name, arguments, and options.
70
- *
71
- * @param name The _unique_ name of the resource.
72
- * @param args The arguments to use to populate this resource's properties.
73
- * @param opts A bag of options that control this resource's behavior.
74
- */
75
- constructor(name, args, opts) {
76
- let resourceInputs = {};
77
- opts = opts || {};
78
- if (!opts.id) {
79
- if (args?.items === undefined && !opts.urn) {
80
- throw new Error("Missing required property 'items'");
81
- }
82
- resourceInputs["apiVersion"] = "cilium.io/v2";
83
- resourceInputs["items"] = args?.items;
84
- resourceInputs["kind"] = "CiliumEnvoyConfigList";
85
- resourceInputs["metadata"] = args?.metadata;
86
- }
87
- else {
88
- resourceInputs["apiVersion"] = undefined /*out*/;
89
- resourceInputs["items"] = undefined /*out*/;
90
- resourceInputs["kind"] = undefined /*out*/;
91
- resourceInputs["metadata"] = undefined /*out*/;
92
- }
93
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
94
- const aliasOpts = { aliases: [{ type: "kubernetes:cilium.io/v2:CiliumEnvoyConfigList" }] };
95
- opts = pulumi.mergeOptions(opts, aliasOpts);
96
- super(CiliumEnvoyConfigList.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
97
- }
98
- }
99
- exports.CiliumEnvoyConfigList = CiliumEnvoyConfigList;
@@ -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
- import * as pulumiKubernetes from "@pulumi/kubernetes";
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
- */
13
- export declare class CiliumEnvoyConfigPatch extends pulumi.CustomResource {
14
- /**
15
- * Get an existing CiliumEnvoyConfigPatch resource's state with the given name, ID, and optional extra
16
- * properties used to qualify the lookup.
17
- *
18
- * @param name The _unique_ name of the resulting resource.
19
- * @param id The _unique_ provider ID of the resource to lookup.
20
- * @param opts Optional settings to control the behavior of the CustomResource.
21
- */
22
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumEnvoyConfigPatch;
23
- /** @internal */
24
- static readonly __pulumiType = "pulumi-k8s-crds:cilium.io/v2:CiliumEnvoyConfigPatch";
25
- /**
26
- * Returns true if the given object is an instance of CiliumEnvoyConfigPatch. 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 CiliumEnvoyConfigPatch;
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<"cilium.io/v2">;
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<"CiliumEnvoyConfig">;
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<pulumiKubernetes.types.output.meta.v1.ObjectMetaPatch>;
42
- readonly spec: pulumi.Output<outputs.cilium.v2.CiliumEnvoyConfigSpecPatch>;
43
- /**
44
- * Create a CiliumEnvoyConfigPatch resource with the given unique name, arguments, and options.
45
- *
46
- * @param name The _unique_ name of the resource.
47
- * @param args The arguments to use to populate this resource's properties.
48
- * @param opts A bag of options that control this resource's behavior.
49
- */
50
- constructor(name: string, args?: CiliumEnvoyConfigPatchArgs, opts?: pulumi.CustomResourceOptions);
51
- }
52
- /**
53
- * The set of arguments for constructing a CiliumEnvoyConfigPatch resource.
54
- */
55
- export interface CiliumEnvoyConfigPatchArgs {
56
- /**
57
- * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
58
- */
59
- apiVersion?: pulumi.Input<"cilium.io/v2" | undefined>;
60
- /**
61
- * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
62
- */
63
- kind?: pulumi.Input<"CiliumEnvoyConfig" | undefined>;
64
- /**
65
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
66
- */
67
- metadata?: pulumi.Input<pulumiKubernetes.types.input.meta.v1.ObjectMetaPatch | undefined>;
68
- spec?: pulumi.Input<inputs.cilium.v2.CiliumEnvoyConfigSpecPatch | undefined>;
69
- }
@@ -1,99 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.CiliumEnvoyConfigPatch = 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
- */
49
- class CiliumEnvoyConfigPatch extends pulumi.CustomResource {
50
- /**
51
- * Get an existing CiliumEnvoyConfigPatch resource's state with the given name, ID, and optional extra
52
- * properties used to qualify the lookup.
53
- *
54
- * @param name The _unique_ name of the resulting resource.
55
- * @param id The _unique_ provider ID of the resource to lookup.
56
- * @param opts Optional settings to control the behavior of the CustomResource.
57
- */
58
- static get(name, id, opts) {
59
- return new CiliumEnvoyConfigPatch(name, undefined, { ...opts, id: id });
60
- }
61
- /** @internal */
62
- static __pulumiType = 'pulumi-k8s-crds:cilium.io/v2:CiliumEnvoyConfigPatch';
63
- /**
64
- * Returns true if the given object is an instance of CiliumEnvoyConfigPatch. This is designed to work even
65
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
66
- */
67
- static isInstance(obj) {
68
- if (obj === undefined || obj === null) {
69
- return false;
70
- }
71
- return obj['__pulumiType'] === CiliumEnvoyConfigPatch.__pulumiType;
72
- }
73
- /**
74
- * Create a CiliumEnvoyConfigPatch resource with the given unique name, arguments, and options.
75
- *
76
- * @param name The _unique_ name of the resource.
77
- * @param args The arguments to use to populate this resource's properties.
78
- * @param opts A bag of options that control this resource's behavior.
79
- */
80
- constructor(name, args, opts) {
81
- let resourceInputs = {};
82
- opts = opts || {};
83
- if (!opts.id) {
84
- resourceInputs["apiVersion"] = "cilium.io/v2";
85
- resourceInputs["kind"] = "CiliumEnvoyConfig";
86
- resourceInputs["metadata"] = args?.metadata;
87
- resourceInputs["spec"] = args?.spec;
88
- }
89
- else {
90
- resourceInputs["apiVersion"] = undefined /*out*/;
91
- resourceInputs["kind"] = undefined /*out*/;
92
- resourceInputs["metadata"] = undefined /*out*/;
93
- resourceInputs["spec"] = undefined /*out*/;
94
- }
95
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
96
- super(CiliumEnvoyConfigPatch.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
97
- }
98
- }
99
- exports.CiliumEnvoyConfigPatch = CiliumEnvoyConfigPatch;
@@ -1,66 +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 * as pulumiKubernetes from "@pulumi/kubernetes";
5
- /**
6
- * CiliumLocalRedirectPolicy is a Kubernetes Custom Resource that contains a
7
- * specification to redirect traffic locally within a node.
8
- */
9
- export declare class CiliumLocalRedirectPolicy extends pulumi.CustomResource {
10
- /**
11
- * Get an existing CiliumLocalRedirectPolicy 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): CiliumLocalRedirectPolicy;
19
- /** @internal */
20
- static readonly __pulumiType = "pulumi-k8s-crds:cilium.io/v2:CiliumLocalRedirectPolicy";
21
- /**
22
- * Returns true if the given object is an instance of CiliumLocalRedirectPolicy. 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 CiliumLocalRedirectPolicy;
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<"cilium.io/v2">;
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<"CiliumLocalRedirectPolicy">;
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<pulumiKubernetes.types.output.meta.v1.ObjectMeta>;
38
- readonly spec: pulumi.Output<outputs.cilium.v2.CiliumLocalRedirectPolicySpec>;
39
- readonly status: pulumi.Output<outputs.cilium.v2.CiliumLocalRedirectPolicyStatus>;
40
- /**
41
- * Create a CiliumLocalRedirectPolicy 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?: CiliumLocalRedirectPolicyArgs, opts?: pulumi.CustomResourceOptions);
48
- }
49
- /**
50
- * The set of arguments for constructing a CiliumLocalRedirectPolicy resource.
51
- */
52
- export interface CiliumLocalRedirectPolicyArgs {
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/v2" | undefined>;
57
- /**
58
- * 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
59
- */
60
- kind?: pulumi.Input<"CiliumLocalRedirectPolicy" | undefined>;
61
- /**
62
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
63
- */
64
- metadata: pulumi.Input<pulumiKubernetes.types.input.meta.v1.ObjectMeta>;
65
- spec?: pulumi.Input<inputs.cilium.v2.CiliumLocalRedirectPolicySpec | undefined>;
66
- }
@@ -1,102 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.CiliumLocalRedirectPolicy = void 0;
39
- const pulumi = __importStar(require("@pulumi/pulumi"));
40
- const utilities = __importStar(require("../../utilities"));
41
- /**
42
- * CiliumLocalRedirectPolicy is a Kubernetes Custom Resource that contains a
43
- * specification to redirect traffic locally within a node.
44
- */
45
- class CiliumLocalRedirectPolicy extends pulumi.CustomResource {
46
- /**
47
- * Get an existing CiliumLocalRedirectPolicy 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 CiliumLocalRedirectPolicy(name, undefined, { ...opts, id: id });
56
- }
57
- /** @internal */
58
- static __pulumiType = 'pulumi-k8s-crds:cilium.io/v2:CiliumLocalRedirectPolicy';
59
- /**
60
- * Returns true if the given object is an instance of CiliumLocalRedirectPolicy. 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'] === CiliumLocalRedirectPolicy.__pulumiType;
68
- }
69
- /**
70
- * Create a CiliumLocalRedirectPolicy resource with the given unique name, arguments, and options.
71
- *
72
- * @param name The _unique_ name of the resource.
73
- * @param args The arguments to use to populate this resource's properties.
74
- * @param opts A bag of options that control this resource's behavior.
75
- */
76
- constructor(name, args, opts) {
77
- let resourceInputs = {};
78
- opts = opts || {};
79
- if (!opts.id) {
80
- if (args?.metadata === undefined && !opts.urn) {
81
- throw new Error("Missing required property 'metadata'");
82
- }
83
- resourceInputs["apiVersion"] = "cilium.io/v2";
84
- resourceInputs["kind"] = "CiliumLocalRedirectPolicy";
85
- resourceInputs["metadata"] = args?.metadata;
86
- resourceInputs["spec"] = args?.spec;
87
- resourceInputs["status"] = undefined /*out*/;
88
- }
89
- else {
90
- resourceInputs["apiVersion"] = undefined /*out*/;
91
- resourceInputs["kind"] = undefined /*out*/;
92
- resourceInputs["metadata"] = undefined /*out*/;
93
- resourceInputs["spec"] = undefined /*out*/;
94
- resourceInputs["status"] = undefined /*out*/;
95
- }
96
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
97
- const aliasOpts = { aliases: [{ type: "kubernetes:cilium.io/v2:CiliumLocalRedirectPolicy" }] };
98
- opts = pulumi.mergeOptions(opts, aliasOpts);
99
- super(CiliumLocalRedirectPolicy.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
100
- }
101
- }
102
- exports.CiliumLocalRedirectPolicy = CiliumLocalRedirectPolicy;
@@ -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 * as pulumiKubernetes from "@pulumi/kubernetes";
5
- /**
6
- * CiliumLocalRedirectPolicyList is a list of CiliumLocalRedirectPolicy
7
- */
8
- export declare class CiliumLocalRedirectPolicyList extends pulumi.CustomResource {
9
- /**
10
- * Get an existing CiliumLocalRedirectPolicyList resource's state with the given name, ID, and optional extra
11
- * properties used to qualify the lookup.
12
- *
13
- * @param name The _unique_ name of the resulting resource.
14
- * @param id The _unique_ provider ID of the resource to lookup.
15
- * @param opts Optional settings to control the behavior of the CustomResource.
16
- */
17
- static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumLocalRedirectPolicyList;
18
- /** @internal */
19
- static readonly __pulumiType = "pulumi-k8s-crds:cilium.io/v2:CiliumLocalRedirectPolicyList";
20
- /**
21
- * Returns true if the given object is an instance of CiliumLocalRedirectPolicyList. This is designed to work even
22
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
23
- */
24
- static isInstance(obj: any): obj is CiliumLocalRedirectPolicyList;
25
- /**
26
- * 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
27
- */
28
- readonly apiVersion: pulumi.Output<"cilium.io/v2">;
29
- /**
30
- * List of ciliumlocalredirectpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
31
- */
32
- readonly items: pulumi.Output<outputs.cilium.v2.CiliumLocalRedirectPolicy[]>;
33
- /**
34
- * 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
35
- */
36
- readonly kind: pulumi.Output<"CiliumLocalRedirectPolicyList">;
37
- /**
38
- * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
39
- */
40
- readonly metadata: pulumi.Output<pulumiKubernetes.types.output.meta.v1.ListMeta>;
41
- /**
42
- * Create a CiliumLocalRedirectPolicyList 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?: CiliumLocalRedirectPolicyListArgs, opts?: pulumi.CustomResourceOptions);
49
- }
50
- /**
51
- * The set of arguments for constructing a CiliumLocalRedirectPolicyList resource.
52
- */
53
- export interface CiliumLocalRedirectPolicyListArgs {
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/v2" | undefined>;
58
- /**
59
- * List of ciliumlocalredirectpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
60
- */
61
- items: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumLocalRedirectPolicy>[]>;
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<"CiliumLocalRedirectPolicyList" | undefined>;
66
- /**
67
- * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
68
- */
69
- metadata?: pulumi.Input<pulumiKubernetes.types.input.meta.v1.ListMeta | undefined>;
70
- }