@kilic.dev/pulumi-k8s-crds 1.2.2 → 1.2.4

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.
@@ -0,0 +1,33 @@
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.v1beta1 = exports.v1alpha1 = void 0;
29
+ // Export sub-modules:
30
+ const v1alpha1 = __importStar(require("./v1alpha1"));
31
+ exports.v1alpha1 = v1alpha1;
32
+ const v1beta1 = __importStar(require("./v1beta1"));
33
+ exports.v1beta1 = v1beta1;
@@ -0,0 +1,9 @@
1
+ export { PolicyBindingArgs } from "./policyBinding";
2
+ export type PolicyBinding = import("./policyBinding").PolicyBinding;
3
+ export declare const PolicyBinding: typeof import("./policyBinding").PolicyBinding;
4
+ export { PolicyBindingListArgs } from "./policyBindingList";
5
+ export type PolicyBindingList = import("./policyBindingList").PolicyBindingList;
6
+ export declare const PolicyBindingList: typeof import("./policyBindingList").PolicyBindingList;
7
+ export { PolicyBindingPatchArgs } from "./policyBindingPatch";
8
+ export type PolicyBindingPatch = import("./policyBindingPatch").PolicyBindingPatch;
9
+ export declare const PolicyBindingPatch: typeof import("./policyBindingPatch").PolicyBindingPatch;
@@ -0,0 +1,52 @@
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.PolicyBindingPatch = exports.PolicyBindingList = exports.PolicyBinding = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../../utilities"));
31
+ exports.PolicyBinding = null;
32
+ utilities.lazyLoad(exports, ["PolicyBinding"], () => require("./policyBinding"));
33
+ exports.PolicyBindingList = null;
34
+ utilities.lazyLoad(exports, ["PolicyBindingList"], () => require("./policyBindingList"));
35
+ exports.PolicyBindingPatch = null;
36
+ utilities.lazyLoad(exports, ["PolicyBindingPatch"], () => require("./policyBindingPatch"));
37
+ const _module = {
38
+ version: utilities.getVersion(),
39
+ construct: (name, type, urn) => {
40
+ switch (type) {
41
+ case "kubernetes:sts.min.io/v1alpha1:PolicyBinding":
42
+ return new exports.PolicyBinding(name, undefined, { urn });
43
+ case "kubernetes:sts.min.io/v1alpha1:PolicyBindingList":
44
+ return new exports.PolicyBindingList(name, undefined, { urn });
45
+ case "kubernetes:sts.min.io/v1alpha1:PolicyBindingPatch":
46
+ return new exports.PolicyBindingPatch(name, undefined, { urn });
47
+ default:
48
+ throw new Error(`unknown resource type ${type}`);
49
+ }
50
+ },
51
+ };
52
+ pulumi.runtime.registerResourceModule("pulumi-k8s-crds", "sts.min.io/v1alpha1", _module);
@@ -0,0 +1,62 @@
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
+ export declare class PolicyBinding extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing PolicyBinding resource's state with the given name, ID, and optional extra
8
+ * properties used to qualify the lookup.
9
+ *
10
+ * @param name The _unique_ name of the resulting resource.
11
+ * @param id The _unique_ provider ID of the resource to lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PolicyBinding;
15
+ /** @internal */
16
+ static readonly __pulumiType = "kubernetes:sts.min.io/v1alpha1:PolicyBinding";
17
+ /**
18
+ * Returns true if the given object is an instance of PolicyBinding. 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 PolicyBinding;
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<"sts.min.io/v1alpha1">;
26
+ /**
27
+ * 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
28
+ */
29
+ readonly kind: pulumi.Output<"PolicyBinding">;
30
+ /**
31
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
32
+ */
33
+ readonly metadata: pulumi.Output<ObjectMeta>;
34
+ readonly spec: pulumi.Output<outputs.sts.v1alpha1.PolicyBindingSpec>;
35
+ readonly status: pulumi.Output<outputs.sts.v1alpha1.PolicyBindingStatus>;
36
+ /**
37
+ * Create a PolicyBinding resource with the given unique name, arguments, and options.
38
+ *
39
+ * @param name The _unique_ name of the resource.
40
+ * @param args The arguments to use to populate this resource's properties.
41
+ * @param opts A bag of options that control this resource's behavior.
42
+ */
43
+ constructor(name: string, args?: PolicyBindingArgs, opts?: pulumi.CustomResourceOptions);
44
+ }
45
+ /**
46
+ * The set of arguments for constructing a PolicyBinding resource.
47
+ */
48
+ export interface PolicyBindingArgs {
49
+ /**
50
+ * 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
51
+ */
52
+ apiVersion?: pulumi.Input<"sts.min.io/v1alpha1">;
53
+ /**
54
+ * 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
55
+ */
56
+ kind?: pulumi.Input<"PolicyBinding">;
57
+ /**
58
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
59
+ */
60
+ metadata?: pulumi.Input<ObjectMeta>;
61
+ spec?: pulumi.Input<inputs.sts.v1alpha1.PolicyBindingSpec>;
62
+ }
@@ -0,0 +1,99 @@
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.PolicyBinding = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../../utilities"));
31
+ class PolicyBinding extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing PolicyBinding resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name, id, opts) {
41
+ return new PolicyBinding(name, undefined, { ...opts, id: id });
42
+ }
43
+ /** @internal */
44
+ static __pulumiType = 'kubernetes:sts.min.io/v1alpha1:PolicyBinding';
45
+ /**
46
+ * Returns true if the given object is an instance of PolicyBinding. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj) {
50
+ if (obj === undefined || obj === null) {
51
+ return false;
52
+ }
53
+ return obj['__pulumiType'] === PolicyBinding.__pulumiType;
54
+ }
55
+ /**
56
+ * 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
57
+ */
58
+ apiVersion;
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;
63
+ /**
64
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
65
+ */
66
+ metadata;
67
+ spec;
68
+ status;
69
+ /**
70
+ * Create a PolicyBinding 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
+ resourceInputs["apiVersion"] = "sts.min.io/v1alpha1";
81
+ resourceInputs["kind"] = "PolicyBinding";
82
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
83
+ resourceInputs["spec"] = args ? args.spec : undefined;
84
+ resourceInputs["status"] = undefined /*out*/;
85
+ }
86
+ else {
87
+ resourceInputs["apiVersion"] = undefined /*out*/;
88
+ resourceInputs["kind"] = undefined /*out*/;
89
+ resourceInputs["metadata"] = undefined /*out*/;
90
+ resourceInputs["spec"] = undefined /*out*/;
91
+ resourceInputs["status"] = undefined /*out*/;
92
+ }
93
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
94
+ const aliasOpts = { aliases: [{ type: "kubernetes:sts.min.io/v1beta1:PolicyBinding" }] };
95
+ opts = pulumi.mergeOptions(opts, aliasOpts);
96
+ super(PolicyBinding.__pulumiType, name, resourceInputs, opts);
97
+ }
98
+ }
99
+ exports.PolicyBinding = PolicyBinding;
@@ -0,0 +1,69 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * PolicyBindingList is a list of PolicyBinding
6
+ */
7
+ export declare class PolicyBindingList extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing PolicyBindingList 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): PolicyBindingList;
17
+ /** @internal */
18
+ static readonly __pulumiType = "kubernetes:sts.min.io/v1alpha1:PolicyBindingList";
19
+ /**
20
+ * Returns true if the given object is an instance of PolicyBindingList. 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 PolicyBindingList;
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<"sts.min.io/v1alpha1">;
28
+ /**
29
+ * List of policybindings. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
30
+ */
31
+ readonly items: pulumi.Output<outputs.sts.v1alpha1.PolicyBinding[]>;
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<"PolicyBindingList">;
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 PolicyBindingList 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?: PolicyBindingListArgs, opts?: pulumi.CustomResourceOptions);
48
+ }
49
+ /**
50
+ * The set of arguments for constructing a PolicyBindingList resource.
51
+ */
52
+ export interface PolicyBindingListArgs {
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<"sts.min.io/v1alpha1">;
57
+ /**
58
+ * List of policybindings. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
59
+ */
60
+ items: pulumi.Input<pulumi.Input<inputs.sts.v1alpha1.PolicyBinding>[]>;
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<"PolicyBindingList">;
65
+ /**
66
+ * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
67
+ */
68
+ metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
69
+ }
@@ -0,0 +1,103 @@
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.PolicyBindingList = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../../utilities"));
31
+ /**
32
+ * PolicyBindingList is a list of PolicyBinding
33
+ */
34
+ class PolicyBindingList extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing PolicyBindingList 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 PolicyBindingList(name, undefined, { ...opts, id: id });
45
+ }
46
+ /** @internal */
47
+ static __pulumiType = 'kubernetes:sts.min.io/v1alpha1:PolicyBindingList';
48
+ /**
49
+ * Returns true if the given object is an instance of PolicyBindingList. 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'] === PolicyBindingList.__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 policybindings. 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 PolicyBindingList 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"] = "sts.min.io/v1alpha1";
89
+ resourceInputs["items"] = args ? args.items : undefined;
90
+ resourceInputs["kind"] = "PolicyBindingList";
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(PolicyBindingList.__pulumiType, name, resourceInputs, opts);
101
+ }
102
+ }
103
+ exports.PolicyBindingList = PolicyBindingList;
@@ -0,0 +1,70 @@
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
+ */
13
+ export declare class PolicyBindingPatch extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing PolicyBindingPatch 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): PolicyBindingPatch;
23
+ /** @internal */
24
+ static readonly __pulumiType = "kubernetes:sts.min.io/v1alpha1:PolicyBindingPatch";
25
+ /**
26
+ * Returns true if the given object is an instance of PolicyBindingPatch. 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 PolicyBindingPatch;
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<"sts.min.io/v1alpha1">;
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<"PolicyBinding">;
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.sts.v1alpha1.PolicyBindingSpecPatch>;
43
+ readonly status: pulumi.Output<outputs.sts.v1alpha1.PolicyBindingStatusPatch>;
44
+ /**
45
+ * Create a PolicyBindingPatch 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?: PolicyBindingPatchArgs, opts?: pulumi.CustomResourceOptions);
52
+ }
53
+ /**
54
+ * The set of arguments for constructing a PolicyBindingPatch resource.
55
+ */
56
+ export interface PolicyBindingPatchArgs {
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<"sts.min.io/v1alpha1">;
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<"PolicyBinding">;
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.sts.v1alpha1.PolicyBindingSpecPatch>;
70
+ }
@@ -0,0 +1,107 @@
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.PolicyBindingPatch = 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
+ */
39
+ class PolicyBindingPatch extends pulumi.CustomResource {
40
+ /**
41
+ * Get an existing PolicyBindingPatch resource's state with the given name, ID, and optional extra
42
+ * properties used to qualify the lookup.
43
+ *
44
+ * @param name The _unique_ name of the resulting resource.
45
+ * @param id The _unique_ provider ID of the resource to lookup.
46
+ * @param opts Optional settings to control the behavior of the CustomResource.
47
+ */
48
+ static get(name, id, opts) {
49
+ return new PolicyBindingPatch(name, undefined, { ...opts, id: id });
50
+ }
51
+ /** @internal */
52
+ static __pulumiType = 'kubernetes:sts.min.io/v1alpha1:PolicyBindingPatch';
53
+ /**
54
+ * Returns true if the given object is an instance of PolicyBindingPatch. This is designed to work even
55
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
56
+ */
57
+ static isInstance(obj) {
58
+ if (obj === undefined || obj === null) {
59
+ return false;
60
+ }
61
+ return obj['__pulumiType'] === PolicyBindingPatch.__pulumiType;
62
+ }
63
+ /**
64
+ * 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
65
+ */
66
+ apiVersion;
67
+ /**
68
+ * 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
69
+ */
70
+ kind;
71
+ /**
72
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
73
+ */
74
+ metadata;
75
+ spec;
76
+ status;
77
+ /**
78
+ * Create a PolicyBindingPatch resource with the given unique name, arguments, and options.
79
+ *
80
+ * @param name The _unique_ name of the resource.
81
+ * @param args The arguments to use to populate this resource's properties.
82
+ * @param opts A bag of options that control this resource's behavior.
83
+ */
84
+ constructor(name, args, opts) {
85
+ let resourceInputs = {};
86
+ opts = opts || {};
87
+ if (!opts.id) {
88
+ resourceInputs["apiVersion"] = "sts.min.io/v1alpha1";
89
+ resourceInputs["kind"] = "PolicyBinding";
90
+ resourceInputs["metadata"] = args ? args.metadata : undefined;
91
+ resourceInputs["spec"] = args ? args.spec : undefined;
92
+ resourceInputs["status"] = undefined /*out*/;
93
+ }
94
+ else {
95
+ resourceInputs["apiVersion"] = undefined /*out*/;
96
+ resourceInputs["kind"] = undefined /*out*/;
97
+ resourceInputs["metadata"] = undefined /*out*/;
98
+ resourceInputs["spec"] = undefined /*out*/;
99
+ resourceInputs["status"] = undefined /*out*/;
100
+ }
101
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
102
+ const aliasOpts = { aliases: [{ type: "kubernetes:sts.min.io/v1beta1:PolicyBindingPatch" }] };
103
+ opts = pulumi.mergeOptions(opts, aliasOpts);
104
+ super(PolicyBindingPatch.__pulumiType, name, resourceInputs, opts);
105
+ }
106
+ }
107
+ exports.PolicyBindingPatch = PolicyBindingPatch;
@@ -0,0 +1,9 @@
1
+ export { PolicyBindingArgs } from "./policyBinding";
2
+ export type PolicyBinding = import("./policyBinding").PolicyBinding;
3
+ export declare const PolicyBinding: typeof import("./policyBinding").PolicyBinding;
4
+ export { PolicyBindingListArgs } from "./policyBindingList";
5
+ export type PolicyBindingList = import("./policyBindingList").PolicyBindingList;
6
+ export declare const PolicyBindingList: typeof import("./policyBindingList").PolicyBindingList;
7
+ export { PolicyBindingPatchArgs } from "./policyBindingPatch";
8
+ export type PolicyBindingPatch = import("./policyBindingPatch").PolicyBindingPatch;
9
+ export declare const PolicyBindingPatch: typeof import("./policyBindingPatch").PolicyBindingPatch;