@mcpg-dev/pulumi-crds 0.1.0-beta.8
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/.gitattributes +1 -0
- package/.github/ISSUE_TEMPLATE/config.yml +8 -0
- package/.github/workflows/ci.yml +29 -0
- package/.github/workflows/release.yml +18 -0
- package/CONTRIBUTING.md +24 -0
- package/README.md +63 -0
- package/bin/index.d.ts +7 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +47 -0
- package/bin/index.js.map +1 -0
- package/bin/mcpg/index.d.ts +3 -0
- package/bin/mcpg/index.d.ts.map +1 -0
- package/bin/mcpg/index.js +32 -0
- package/bin/mcpg/index.js.map +1 -0
- package/bin/mcpg/v1alpha1/index.d.ts +73 -0
- package/bin/mcpg/v1alpha1/index.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/index.js +137 -0
- package/bin/mcpg/v1alpha1/index.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgcluster.d.ts +63 -0
- package/bin/mcpg/v1alpha1/mcpgcluster.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgcluster.js +87 -0
- package/bin/mcpg/v1alpha1/mcpgcluster.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgclusterList.d.ts +68 -0
- package/bin/mcpg/v1alpha1/mcpgclusterList.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgclusterList.js +88 -0
- package/bin/mcpg/v1alpha1/mcpgclusterList.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgclusterPatch.d.ts +69 -0
- package/bin/mcpg/v1alpha1/mcpgclusterPatch.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgclusterPatch.js +93 -0
- package/bin/mcpg/v1alpha1/mcpgclusterPatch.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpggateway.d.ts +63 -0
- package/bin/mcpg/v1alpha1/mcpggateway.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpggateway.js +87 -0
- package/bin/mcpg/v1alpha1/mcpggateway.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpggatewayList.d.ts +68 -0
- package/bin/mcpg/v1alpha1/mcpggatewayList.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpggatewayList.js +88 -0
- package/bin/mcpg/v1alpha1/mcpggatewayList.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpggatewayPatch.d.ts +69 -0
- package/bin/mcpg/v1alpha1/mcpggatewayPatch.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpggatewayPatch.js +93 -0
- package/bin/mcpg/v1alpha1/mcpggatewayPatch.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgplugin.d.ts +63 -0
- package/bin/mcpg/v1alpha1/mcpgplugin.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgplugin.js +87 -0
- package/bin/mcpg/v1alpha1/mcpgplugin.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgpluginList.d.ts +68 -0
- package/bin/mcpg/v1alpha1/mcpgpluginList.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgpluginList.js +88 -0
- package/bin/mcpg/v1alpha1/mcpgpluginList.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgpluginMirror.d.ts +63 -0
- package/bin/mcpg/v1alpha1/mcpgpluginMirror.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgpluginMirror.js +87 -0
- package/bin/mcpg/v1alpha1/mcpgpluginMirror.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgpluginMirrorList.d.ts +68 -0
- package/bin/mcpg/v1alpha1/mcpgpluginMirrorList.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgpluginMirrorList.js +88 -0
- package/bin/mcpg/v1alpha1/mcpgpluginMirrorList.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgpluginMirrorPatch.d.ts +69 -0
- package/bin/mcpg/v1alpha1/mcpgpluginMirrorPatch.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgpluginMirrorPatch.js +93 -0
- package/bin/mcpg/v1alpha1/mcpgpluginMirrorPatch.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgpluginPatch.d.ts +69 -0
- package/bin/mcpg/v1alpha1/mcpgpluginPatch.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgpluginPatch.js +93 -0
- package/bin/mcpg/v1alpha1/mcpgpluginPatch.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgpluginSet.d.ts +63 -0
- package/bin/mcpg/v1alpha1/mcpgpluginSet.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgpluginSet.js +87 -0
- package/bin/mcpg/v1alpha1/mcpgpluginSet.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgpluginSetList.d.ts +68 -0
- package/bin/mcpg/v1alpha1/mcpgpluginSetList.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgpluginSetList.js +88 -0
- package/bin/mcpg/v1alpha1/mcpgpluginSetList.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgpluginSetPatch.d.ts +69 -0
- package/bin/mcpg/v1alpha1/mcpgpluginSetPatch.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgpluginSetPatch.js +93 -0
- package/bin/mcpg/v1alpha1/mcpgpluginSetPatch.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgrevocationList.d.ts +63 -0
- package/bin/mcpg/v1alpha1/mcpgrevocationList.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgrevocationList.js +87 -0
- package/bin/mcpg/v1alpha1/mcpgrevocationList.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgrevocationListList.d.ts +68 -0
- package/bin/mcpg/v1alpha1/mcpgrevocationListList.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgrevocationListList.js +88 -0
- package/bin/mcpg/v1alpha1/mcpgrevocationListList.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgrevocationListPatch.d.ts +69 -0
- package/bin/mcpg/v1alpha1/mcpgrevocationListPatch.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgrevocationListPatch.js +93 -0
- package/bin/mcpg/v1alpha1/mcpgrevocationListPatch.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgroute.d.ts +63 -0
- package/bin/mcpg/v1alpha1/mcpgroute.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgroute.js +87 -0
- package/bin/mcpg/v1alpha1/mcpgroute.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgrouteList.d.ts +68 -0
- package/bin/mcpg/v1alpha1/mcpgrouteList.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgrouteList.js +88 -0
- package/bin/mcpg/v1alpha1/mcpgrouteList.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgroutePatch.d.ts +69 -0
- package/bin/mcpg/v1alpha1/mcpgroutePatch.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgroutePatch.js +93 -0
- package/bin/mcpg/v1alpha1/mcpgroutePatch.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgtenant.d.ts +63 -0
- package/bin/mcpg/v1alpha1/mcpgtenant.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgtenant.js +87 -0
- package/bin/mcpg/v1alpha1/mcpgtenant.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgtenantList.d.ts +68 -0
- package/bin/mcpg/v1alpha1/mcpgtenantList.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgtenantList.js +88 -0
- package/bin/mcpg/v1alpha1/mcpgtenantList.js.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgtenantPatch.d.ts +69 -0
- package/bin/mcpg/v1alpha1/mcpgtenantPatch.d.ts.map +1 -0
- package/bin/mcpg/v1alpha1/mcpgtenantPatch.js +93 -0
- package/bin/mcpg/v1alpha1/mcpgtenantPatch.js.map +1 -0
- package/bin/package.json +36 -0
- package/bin/provider.d.ts +22 -0
- package/bin/provider.d.ts.map +1 -0
- package/bin/provider.js +61 -0
- package/bin/provider.js.map +1 -0
- package/bin/types/index.d.ts +4 -0
- package/bin/types/index.d.ts.map +1 -0
- package/bin/types/index.js +34 -0
- package/bin/types/index.js.map +1 -0
- package/bin/types/input.d.ts +2965 -0
- package/bin/types/input.d.ts.map +1 -0
- package/bin/types/input.js +5 -0
- package/bin/types/input.js.map +1 -0
- package/bin/types/output.d.ts +3538 -0
- package/bin/types/output.d.ts.map +1 -0
- package/bin/types/output.js +5 -0
- package/bin/types/output.js.map +1 -0
- package/bin/utilities.d.ts +5 -0
- package/bin/utilities.d.ts.map +1 -0
- package/bin/utilities.js +115 -0
- package/bin/utilities.js.map +1 -0
- package/index.ts +30 -0
- package/mcpg/index.ts +11 -0
- package/mcpg/v1alpha1/index.ts +186 -0
- package/mcpg/v1alpha1/mcpgcluster.ts +99 -0
- package/mcpg/v1alpha1/mcpgclusterList.ts +105 -0
- package/mcpg/v1alpha1/mcpgclusterPatch.ts +105 -0
- package/mcpg/v1alpha1/mcpggateway.ts +99 -0
- package/mcpg/v1alpha1/mcpggatewayList.ts +105 -0
- package/mcpg/v1alpha1/mcpggatewayPatch.ts +105 -0
- package/mcpg/v1alpha1/mcpgplugin.ts +99 -0
- package/mcpg/v1alpha1/mcpgpluginList.ts +105 -0
- package/mcpg/v1alpha1/mcpgpluginMirror.ts +99 -0
- package/mcpg/v1alpha1/mcpgpluginMirrorList.ts +105 -0
- package/mcpg/v1alpha1/mcpgpluginMirrorPatch.ts +105 -0
- package/mcpg/v1alpha1/mcpgpluginPatch.ts +105 -0
- package/mcpg/v1alpha1/mcpgpluginSet.ts +99 -0
- package/mcpg/v1alpha1/mcpgpluginSetList.ts +105 -0
- package/mcpg/v1alpha1/mcpgpluginSetPatch.ts +105 -0
- package/mcpg/v1alpha1/mcpgrevocationList.ts +99 -0
- package/mcpg/v1alpha1/mcpgrevocationListList.ts +105 -0
- package/mcpg/v1alpha1/mcpgrevocationListPatch.ts +105 -0
- package/mcpg/v1alpha1/mcpgroute.ts +99 -0
- package/mcpg/v1alpha1/mcpgrouteList.ts +105 -0
- package/mcpg/v1alpha1/mcpgroutePatch.ts +105 -0
- package/mcpg/v1alpha1/mcpgtenant.ts +99 -0
- package/mcpg/v1alpha1/mcpgtenantList.ts +105 -0
- package/mcpg/v1alpha1/mcpgtenantPatch.ts +105 -0
- package/meta/v1.ts +4 -0
- package/package.json +36 -0
- package/provider.ts +44 -0
- package/scripts/postinstall.js +20 -0
- package/tsconfig.json +55 -0
- package/types/index.ts +13 -0
- package/types/input.ts +3030 -0
- package/types/output.ts +3622 -0
- package/utilities.ts +98 -0
|
@@ -0,0 +1,87 @@
|
|
|
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.MCPGTenant = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Auto-generated derived type for MCPGTenantSpec via `CustomResource`
|
|
33
|
+
*/
|
|
34
|
+
class MCPGTenant extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing MCPGTenant 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 MCPGTenant(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'kubernetes:mcpg.dev/v1alpha1:MCPGTenant';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of MCPGTenant. 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'] === MCPGTenant.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a MCPGTenant resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (!opts.id) {
|
|
69
|
+
resourceInputs["apiVersion"] = "mcpg.dev/v1alpha1";
|
|
70
|
+
resourceInputs["kind"] = "MCPGTenant";
|
|
71
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
72
|
+
resourceInputs["spec"] = args?.spec;
|
|
73
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(MCPGTenant.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.MCPGTenant = MCPGTenant;
|
|
87
|
+
//# sourceMappingURL=mcpgtenant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcpgtenant.js","sourceRoot":"","sources":["../../../mcpg/v1alpha1/mcpgtenant.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,2DAA6C;AAE7C;;GAEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,UAAU,CAAC,IAAI,EAAE,SAAgB,EAA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QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAnEL,gCAoEC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* MCPGTenantList is a list of MCPGTenant
|
|
6
|
+
*/
|
|
7
|
+
export declare class MCPGTenantList extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing MCPGTenantList 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): MCPGTenantList;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of MCPGTenantList. 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 MCPGTenantList;
|
|
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<"mcpg.dev/v1alpha1">;
|
|
26
|
+
/**
|
|
27
|
+
* List of mcpgtenants. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
28
|
+
*/
|
|
29
|
+
readonly items: pulumi.Output<outputs.mcpg.v1alpha1.MCPGTenant[]>;
|
|
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<"MCPGTenantList">;
|
|
34
|
+
/**
|
|
35
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
36
|
+
*/
|
|
37
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a MCPGTenantList resource with the given unique name, arguments, and options.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resource.
|
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
44
|
+
*/
|
|
45
|
+
constructor(name: string, args?: MCPGTenantListArgs, opts?: pulumi.CustomResourceOptions);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The set of arguments for constructing a MCPGTenantList resource.
|
|
49
|
+
*/
|
|
50
|
+
export interface MCPGTenantListArgs {
|
|
51
|
+
/**
|
|
52
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
53
|
+
*/
|
|
54
|
+
apiVersion?: pulumi.Input<"mcpg.dev/v1alpha1" | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* List of mcpgtenants. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
57
|
+
*/
|
|
58
|
+
items: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGTenant>[]>;
|
|
59
|
+
/**
|
|
60
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
61
|
+
*/
|
|
62
|
+
kind?: pulumi.Input<"MCPGTenantList" | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
65
|
+
*/
|
|
66
|
+
metadata?: pulumi.Input<inputs.meta.v1.ListMeta | undefined>;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=mcpgtenantList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcpgtenantList.d.ts","sourceRoot":"","sources":["../../../mcpg/v1alpha1/mcpgtenantList.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAG9C;;GAEG;AACH,qBAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,cAAc;IAOjH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,cAAc;IAOzD;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC,CAAC;IACjF;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;IAC9D;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC;IAE1E;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAoB3F;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAC3D;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;IACrE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;CAChE"}
|
|
@@ -0,0 +1,88 @@
|
|
|
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.MCPGTenantList = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* MCPGTenantList is a list of MCPGTenant
|
|
33
|
+
*/
|
|
34
|
+
class MCPGTenantList extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing MCPGTenantList 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 MCPGTenantList(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'kubernetes:mcpg.dev/v1alpha1:MCPGTenantList';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of MCPGTenantList. 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'] === MCPGTenantList.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a MCPGTenantList resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (!opts.id) {
|
|
69
|
+
if (args?.items === undefined && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'items'");
|
|
71
|
+
}
|
|
72
|
+
resourceInputs["apiVersion"] = "mcpg.dev/v1alpha1";
|
|
73
|
+
resourceInputs["items"] = args?.items;
|
|
74
|
+
resourceInputs["kind"] = "MCPGTenantList";
|
|
75
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["items"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
82
|
+
}
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
84
|
+
super(MCPGTenantList.__pulumiType, name, resourceInputs, opts);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.MCPGTenantList = MCPGTenantList;
|
|
88
|
+
//# sourceMappingURL=mcpgtenantList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcpgtenantList.js","sourceRoot":"","sources":["../../../mcpg/v1alpha1/mcpgtenantList.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;;;;;;;;;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CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAtEL,wCAuEC"}
|
|
@@ -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
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
6
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
7
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
8
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
9
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
10
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
11
|
+
* Auto-generated derived type for MCPGTenantSpec via `CustomResource`
|
|
12
|
+
*/
|
|
13
|
+
export declare class MCPGTenantPatch extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing MCPGTenantPatch 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): MCPGTenantPatch;
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of MCPGTenantPatch. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj: any): obj is MCPGTenantPatch;
|
|
28
|
+
/**
|
|
29
|
+
* 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
|
|
30
|
+
*/
|
|
31
|
+
readonly apiVersion: pulumi.Output<"mcpg.dev/v1alpha1">;
|
|
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<"MCPGTenant">;
|
|
36
|
+
/**
|
|
37
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
38
|
+
*/
|
|
39
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
|
40
|
+
readonly spec: pulumi.Output<outputs.mcpg.v1alpha1.MCPGTenantSpecPatch>;
|
|
41
|
+
readonly status: pulumi.Output<outputs.mcpg.v1alpha1.MCPGTenantStatusPatch>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a MCPGTenantPatch resource with the given unique name, arguments, and options.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resource.
|
|
46
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
47
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
48
|
+
*/
|
|
49
|
+
constructor(name: string, args?: MCPGTenantPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* The set of arguments for constructing a MCPGTenantPatch resource.
|
|
53
|
+
*/
|
|
54
|
+
export interface MCPGTenantPatchArgs {
|
|
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?: pulumi.Input<"mcpg.dev/v1alpha1" | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
61
|
+
*/
|
|
62
|
+
kind?: pulumi.Input<"MCPGTenant" | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
65
|
+
*/
|
|
66
|
+
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch | undefined>;
|
|
67
|
+
spec?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGTenantSpecPatch | undefined>;
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=mcpgtenantPatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcpgtenantPatch.d.ts","sourceRoot":"","sources":["../../../mcpg/v1alpha1/mcpgtenantPatch.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAG9C;;;;;;;;GAQG;AACH,qBAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAA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C,mBAAmB,GAAG,SAAS,CAAC,CAAC;CAC7E"}
|
|
@@ -0,0 +1,93 @@
|
|
|
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.MCPGTenantPatch = 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
|
+
* Auto-generated derived type for MCPGTenantSpec via `CustomResource`
|
|
39
|
+
*/
|
|
40
|
+
class MCPGTenantPatch extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing MCPGTenantPatch resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
+
*/
|
|
49
|
+
static get(name, id, opts) {
|
|
50
|
+
return new MCPGTenantPatch(name, undefined, { ...opts, id: id });
|
|
51
|
+
}
|
|
52
|
+
/** @internal */
|
|
53
|
+
static __pulumiType = 'kubernetes:mcpg.dev/v1alpha1:MCPGTenantPatch';
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of MCPGTenantPatch. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj) {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === MCPGTenantPatch.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Create a MCPGTenantPatch resource with the given unique name, arguments, and options.
|
|
66
|
+
*
|
|
67
|
+
* @param name The _unique_ name of the resource.
|
|
68
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
69
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
70
|
+
*/
|
|
71
|
+
constructor(name, args, opts) {
|
|
72
|
+
let resourceInputs = {};
|
|
73
|
+
opts = opts || {};
|
|
74
|
+
if (!opts.id) {
|
|
75
|
+
resourceInputs["apiVersion"] = "mcpg.dev/v1alpha1";
|
|
76
|
+
resourceInputs["kind"] = "MCPGTenant";
|
|
77
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
78
|
+
resourceInputs["spec"] = args?.spec;
|
|
79
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
84
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
87
|
+
}
|
|
88
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
89
|
+
super(MCPGTenantPatch.__pulumiType, name, resourceInputs, opts);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.MCPGTenantPatch = MCPGTenantPatch;
|
|
93
|
+
//# sourceMappingURL=mcpgtenantPatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcpgtenantPatch.js","sourceRoot":"","sources":["../../../mcpg/v1alpha1/mcpgtenantPatch.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,2DAA6C;AAE7C;;;;;;;;GAQG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE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AK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAnEL,0CAoEC"}
|
package/bin/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mcpg-dev/pulumi-crds",
|
|
3
|
+
"version": "0.1.0-beta.8",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"pulumi",
|
|
6
|
+
"kubernetes",
|
|
7
|
+
"category/cloud",
|
|
8
|
+
"kind/native"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://pulumi.com",
|
|
11
|
+
"repository": "https://github.com/mcpg-dev/pulumi-mcpg-crds",
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
|
+
"main": "bin/index.js",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "tsc",
|
|
16
|
+
"postinstall": "node ./scripts/postinstall.js"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@pulumi/kubernetes": "4.23.0",
|
|
20
|
+
"@pulumi/pulumi": "^3.142.0",
|
|
21
|
+
"@types/node": "^20",
|
|
22
|
+
"glob": "^12.0.0",
|
|
23
|
+
"shell-quote": "^1.6.1",
|
|
24
|
+
"typescript": "^4.7.0"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@types/shell-quote": "^1.6.0"
|
|
28
|
+
},
|
|
29
|
+
"pulumi": {
|
|
30
|
+
"resource": true,
|
|
31
|
+
"name": "mcpg",
|
|
32
|
+
"version": "0.0.0-dev"
|
|
33
|
+
},
|
|
34
|
+
"description": "Typed Pulumi resource classes for the mcpg.dev custom resources, generated from the MCPG CRD schemas.",
|
|
35
|
+
"types": "bin/index.d.ts"
|
|
36
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class Provider extends pulumi.ProviderResource {
|
|
3
|
+
/**
|
|
4
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
5
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
6
|
+
*/
|
|
7
|
+
static isInstance(obj: any): obj is Provider;
|
|
8
|
+
/**
|
|
9
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
10
|
+
*
|
|
11
|
+
* @param name The _unique_ name of the resource.
|
|
12
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
13
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
14
|
+
*/
|
|
15
|
+
constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The set of arguments for constructing a Provider resource.
|
|
19
|
+
*/
|
|
20
|
+
export interface ProviderArgs {
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,qBAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,QAAQ;IAQnD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,eAAe;CAQ/E;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;CAC5B"}
|
package/bin/provider.js
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
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.Provider = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class Provider extends pulumi.ProviderResource {
|
|
32
|
+
/** @internal */
|
|
33
|
+
static __pulumiType = 'mcpg';
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj) {
|
|
39
|
+
if (obj === undefined || obj === null) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Create a Provider 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, args, opts) {
|
|
52
|
+
let resourceInputs = {};
|
|
53
|
+
opts = opts || {};
|
|
54
|
+
{
|
|
55
|
+
}
|
|
56
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
57
|
+
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.Provider = Provider;
|
|
61
|
+
//# sourceMappingURL=provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IACjD,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,MAAM,CAAC;IAE7C;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAGD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;SACC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA9BL,4BA+BC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AAEnC,OAAO,EACH,KAAK,EACL,MAAM,GACT,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.output = exports.input = void 0;
|
|
29
|
+
// Export sub-modules:
|
|
30
|
+
const input = __importStar(require("./input"));
|
|
31
|
+
exports.input = input;
|
|
32
|
+
const output = __importStar(require("./output"));
|
|
33
|
+
exports.output = output;
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAIjF,sBAAsB;AACtB,+CAAiC;AAI7B,sBAAK;AAHT,iDAAmC;AAI/B,wBAAM"}
|