@kilic.dev/pulumi-k8s-crds 1.2.3 → 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.
- package/dist/index.d.ts +3 -1
- package/dist/index.js +5 -1
- package/dist/minio/index.d.ts +2 -0
- package/dist/minio/index.js +31 -0
- package/dist/minio/v2/index.d.ts +9 -0
- package/dist/minio/v2/index.js +52 -0
- package/dist/minio/v2/tenant.d.ts +64 -0
- package/dist/minio/v2/tenant.js +100 -0
- package/dist/minio/v2/tenantList.d.ts +69 -0
- package/dist/minio/v2/tenantList.js +103 -0
- package/dist/minio/v2/tenantPatch.d.ts +72 -0
- package/dist/minio/v2/tenantPatch.js +108 -0
- package/dist/sts/index.d.ts +3 -0
- package/dist/sts/index.js +33 -0
- package/dist/sts/v1alpha1/index.d.ts +9 -0
- package/dist/sts/v1alpha1/index.js +52 -0
- package/dist/sts/v1alpha1/policyBinding.d.ts +62 -0
- package/dist/sts/v1alpha1/policyBinding.js +99 -0
- package/dist/sts/v1alpha1/policyBindingList.d.ts +69 -0
- package/dist/sts/v1alpha1/policyBindingList.js +103 -0
- package/dist/sts/v1alpha1/policyBindingPatch.d.ts +70 -0
- package/dist/sts/v1alpha1/policyBindingPatch.js +107 -0
- package/dist/sts/v1beta1/index.d.ts +9 -0
- package/dist/sts/v1beta1/index.js +52 -0
- package/dist/sts/v1beta1/policyBinding.d.ts +62 -0
- package/dist/sts/v1beta1/policyBinding.js +99 -0
- package/dist/sts/v1beta1/policyBindingList.d.ts +69 -0
- package/dist/sts/v1beta1/policyBindingList.js +103 -0
- package/dist/sts/v1beta1/policyBindingPatch.d.ts +70 -0
- package/dist/sts/v1beta1/policyBindingPatch.js +107 -0
- package/dist/types/input.d.ts +5320 -0
- package/dist/types/output.d.ts +5399 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ import * as argoproj from "./argoproj";
|
|
|
6
6
|
import * as cert_manager from "./cert_manager";
|
|
7
7
|
import * as cilium from "./cilium";
|
|
8
8
|
import * as gateway from "./gateway";
|
|
9
|
+
import * as minio from "./minio";
|
|
9
10
|
import * as postgresql from "./postgresql";
|
|
11
|
+
import * as sts from "./sts";
|
|
10
12
|
import * as types from "./types";
|
|
11
|
-
export { acme, argoproj, cert_manager, cilium, gateway, postgresql, types, };
|
|
13
|
+
export { acme, argoproj, cert_manager, cilium, gateway, minio, postgresql, sts, types, };
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.types = exports.postgresql = exports.gateway = exports.cilium = exports.cert_manager = exports.argoproj = exports.acme = exports.Provider = void 0;
|
|
28
|
+
exports.types = exports.sts = exports.postgresql = exports.minio = exports.gateway = exports.cilium = exports.cert_manager = exports.argoproj = exports.acme = exports.Provider = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
exports.Provider = null;
|
|
@@ -41,8 +41,12 @@ const cilium = __importStar(require("./cilium"));
|
|
|
41
41
|
exports.cilium = cilium;
|
|
42
42
|
const gateway = __importStar(require("./gateway"));
|
|
43
43
|
exports.gateway = gateway;
|
|
44
|
+
const minio = __importStar(require("./minio"));
|
|
45
|
+
exports.minio = minio;
|
|
44
46
|
const postgresql = __importStar(require("./postgresql"));
|
|
45
47
|
exports.postgresql = postgresql;
|
|
48
|
+
const sts = __importStar(require("./sts"));
|
|
49
|
+
exports.sts = sts;
|
|
46
50
|
const types = __importStar(require("./types"));
|
|
47
51
|
exports.types = types;
|
|
48
52
|
pulumi.runtime.registerResourcePackage("pulumi-k8s-crds", {
|
|
@@ -0,0 +1,31 @@
|
|
|
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.v2 = void 0;
|
|
29
|
+
// Export sub-modules:
|
|
30
|
+
const v2 = __importStar(require("./v2"));
|
|
31
|
+
exports.v2 = v2;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { TenantArgs } from "./tenant";
|
|
2
|
+
export type Tenant = import("./tenant").Tenant;
|
|
3
|
+
export declare const Tenant: typeof import("./tenant").Tenant;
|
|
4
|
+
export { TenantListArgs } from "./tenantList";
|
|
5
|
+
export type TenantList = import("./tenantList").TenantList;
|
|
6
|
+
export declare const TenantList: typeof import("./tenantList").TenantList;
|
|
7
|
+
export { TenantPatchArgs } from "./tenantPatch";
|
|
8
|
+
export type TenantPatch = import("./tenantPatch").TenantPatch;
|
|
9
|
+
export declare const TenantPatch: typeof import("./tenantPatch").TenantPatch;
|
|
@@ -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.TenantPatch = exports.TenantList = exports.Tenant = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
exports.Tenant = null;
|
|
32
|
+
utilities.lazyLoad(exports, ["Tenant"], () => require("./tenant"));
|
|
33
|
+
exports.TenantList = null;
|
|
34
|
+
utilities.lazyLoad(exports, ["TenantList"], () => require("./tenantList"));
|
|
35
|
+
exports.TenantPatch = null;
|
|
36
|
+
utilities.lazyLoad(exports, ["TenantPatch"], () => require("./tenantPatch"));
|
|
37
|
+
const _module = {
|
|
38
|
+
version: utilities.getVersion(),
|
|
39
|
+
construct: (name, type, urn) => {
|
|
40
|
+
switch (type) {
|
|
41
|
+
case "kubernetes:minio.min.io/v2:Tenant":
|
|
42
|
+
return new exports.Tenant(name, undefined, { urn });
|
|
43
|
+
case "kubernetes:minio.min.io/v2:TenantList":
|
|
44
|
+
return new exports.TenantList(name, undefined, { urn });
|
|
45
|
+
case "kubernetes:minio.min.io/v2:TenantPatch":
|
|
46
|
+
return new exports.TenantPatch(name, undefined, { urn });
|
|
47
|
+
default:
|
|
48
|
+
throw new Error(`unknown resource type ${type}`);
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
pulumi.runtime.registerResourceModule("pulumi-k8s-crds", "minio.min.io/v2", _module);
|
|
@@ -0,0 +1,64 @@
|
|
|
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 Tenant extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing Tenant 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): Tenant;
|
|
15
|
+
/** @internal */
|
|
16
|
+
static readonly __pulumiType = "kubernetes:minio.min.io/v2:Tenant";
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of Tenant. 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 Tenant;
|
|
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<"minio.min.io/v2">;
|
|
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<"Tenant">;
|
|
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 scheduler: pulumi.Output<outputs.minio.v2.TenantScheduler>;
|
|
35
|
+
readonly spec: pulumi.Output<outputs.minio.v2.TenantSpec>;
|
|
36
|
+
readonly status: pulumi.Output<outputs.minio.v2.TenantStatus>;
|
|
37
|
+
/**
|
|
38
|
+
* Create a Tenant resource with the given unique name, arguments, and options.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resource.
|
|
41
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
42
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
43
|
+
*/
|
|
44
|
+
constructor(name: string, args?: TenantArgs, opts?: pulumi.CustomResourceOptions);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* The set of arguments for constructing a Tenant resource.
|
|
48
|
+
*/
|
|
49
|
+
export interface TenantArgs {
|
|
50
|
+
/**
|
|
51
|
+
* 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
|
|
52
|
+
*/
|
|
53
|
+
apiVersion?: pulumi.Input<"minio.min.io/v2">;
|
|
54
|
+
/**
|
|
55
|
+
* 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
|
|
56
|
+
*/
|
|
57
|
+
kind?: pulumi.Input<"Tenant">;
|
|
58
|
+
/**
|
|
59
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
60
|
+
*/
|
|
61
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
|
62
|
+
scheduler?: pulumi.Input<inputs.minio.v2.TenantScheduler>;
|
|
63
|
+
spec?: pulumi.Input<inputs.minio.v2.TenantSpec>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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.Tenant = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
class Tenant extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing Tenant 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 Tenant(name, undefined, { ...opts, id: id });
|
|
42
|
+
}
|
|
43
|
+
/** @internal */
|
|
44
|
+
static __pulumiType = 'kubernetes:minio.min.io/v2:Tenant';
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of Tenant. 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'] === Tenant.__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
|
+
scheduler;
|
|
68
|
+
spec;
|
|
69
|
+
status;
|
|
70
|
+
/**
|
|
71
|
+
* Create a Tenant resource with the given unique name, arguments, and options.
|
|
72
|
+
*
|
|
73
|
+
* @param name The _unique_ name of the resource.
|
|
74
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
75
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
76
|
+
*/
|
|
77
|
+
constructor(name, args, opts) {
|
|
78
|
+
let resourceInputs = {};
|
|
79
|
+
opts = opts || {};
|
|
80
|
+
if (!opts.id) {
|
|
81
|
+
resourceInputs["apiVersion"] = "minio.min.io/v2";
|
|
82
|
+
resourceInputs["kind"] = "Tenant";
|
|
83
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
84
|
+
resourceInputs["scheduler"] = args ? args.scheduler : undefined;
|
|
85
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
86
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["scheduler"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
95
|
+
}
|
|
96
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
97
|
+
super(Tenant.__pulumiType, name, resourceInputs, opts);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.Tenant = Tenant;
|
|
@@ -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
|
+
* TenantList is a list of Tenant
|
|
6
|
+
*/
|
|
7
|
+
export declare class TenantList extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing TenantList 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): TenantList;
|
|
17
|
+
/** @internal */
|
|
18
|
+
static readonly __pulumiType = "kubernetes:minio.min.io/v2:TenantList";
|
|
19
|
+
/**
|
|
20
|
+
* Returns true if the given object is an instance of TenantList. 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 TenantList;
|
|
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<"minio.min.io/v2">;
|
|
28
|
+
/**
|
|
29
|
+
* List of tenants. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
30
|
+
*/
|
|
31
|
+
readonly items: pulumi.Output<outputs.minio.v2.Tenant[]>;
|
|
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<"TenantList">;
|
|
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 TenantList 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?: TenantListArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The set of arguments for constructing a TenantList resource.
|
|
51
|
+
*/
|
|
52
|
+
export interface TenantListArgs {
|
|
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<"minio.min.io/v2">;
|
|
57
|
+
/**
|
|
58
|
+
* List of tenants. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
59
|
+
*/
|
|
60
|
+
items: pulumi.Input<pulumi.Input<inputs.minio.v2.Tenant>[]>;
|
|
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<"TenantList">;
|
|
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.TenantList = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* TenantList is a list of Tenant
|
|
33
|
+
*/
|
|
34
|
+
class TenantList extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing TenantList 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 TenantList(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'kubernetes:minio.min.io/v2:TenantList';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of TenantList. 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'] === TenantList.__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 tenants. 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 TenantList 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"] = "minio.min.io/v2";
|
|
89
|
+
resourceInputs["items"] = args ? args.items : undefined;
|
|
90
|
+
resourceInputs["kind"] = "TenantList";
|
|
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(TenantList.__pulumiType, name, resourceInputs, opts);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.TenantList = TenantList;
|
|
@@ -0,0 +1,72 @@
|
|
|
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 TenantPatch extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing TenantPatch 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): TenantPatch;
|
|
23
|
+
/** @internal */
|
|
24
|
+
static readonly __pulumiType = "kubernetes:minio.min.io/v2:TenantPatch";
|
|
25
|
+
/**
|
|
26
|
+
* Returns true if the given object is an instance of TenantPatch. 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 TenantPatch;
|
|
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<"minio.min.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<"Tenant">;
|
|
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 scheduler: pulumi.Output<outputs.minio.v2.TenantSchedulerPatch>;
|
|
43
|
+
readonly spec: pulumi.Output<outputs.minio.v2.TenantSpecPatch>;
|
|
44
|
+
readonly status: pulumi.Output<outputs.minio.v2.TenantStatusPatch>;
|
|
45
|
+
/**
|
|
46
|
+
* Create a TenantPatch resource with the given unique name, arguments, and options.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resource.
|
|
49
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
50
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
51
|
+
*/
|
|
52
|
+
constructor(name: string, args?: TenantPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The set of arguments for constructing a TenantPatch resource.
|
|
56
|
+
*/
|
|
57
|
+
export interface TenantPatchArgs {
|
|
58
|
+
/**
|
|
59
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
60
|
+
*/
|
|
61
|
+
apiVersion?: pulumi.Input<"minio.min.io/v2">;
|
|
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<"Tenant">;
|
|
66
|
+
/**
|
|
67
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
68
|
+
*/
|
|
69
|
+
metadata?: pulumi.Input<ObjectMetaPatch>;
|
|
70
|
+
scheduler?: pulumi.Input<inputs.minio.v2.TenantSchedulerPatch>;
|
|
71
|
+
spec?: pulumi.Input<inputs.minio.v2.TenantSpecPatch>;
|
|
72
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (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.TenantPatch = 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 TenantPatch extends pulumi.CustomResource {
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing TenantPatch 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 TenantPatch(name, undefined, { ...opts, id: id });
|
|
50
|
+
}
|
|
51
|
+
/** @internal */
|
|
52
|
+
static __pulumiType = 'kubernetes:minio.min.io/v2:TenantPatch';
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of TenantPatch. 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'] === TenantPatch.__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
|
+
scheduler;
|
|
76
|
+
spec;
|
|
77
|
+
status;
|
|
78
|
+
/**
|
|
79
|
+
* Create a TenantPatch resource with the given unique name, arguments, and options.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resource.
|
|
82
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
83
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
84
|
+
*/
|
|
85
|
+
constructor(name, args, opts) {
|
|
86
|
+
let resourceInputs = {};
|
|
87
|
+
opts = opts || {};
|
|
88
|
+
if (!opts.id) {
|
|
89
|
+
resourceInputs["apiVersion"] = "minio.min.io/v2";
|
|
90
|
+
resourceInputs["kind"] = "Tenant";
|
|
91
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
92
|
+
resourceInputs["scheduler"] = args ? args.scheduler : undefined;
|
|
93
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
94
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["scheduler"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
103
|
+
}
|
|
104
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
105
|
+
super(TenantPatch.__pulumiType, name, resourceInputs, opts);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.TenantPatch = TenantPatch;
|