@mcpg-dev/pulumi-crds 0.1.0-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/.gitattributes +1 -0
  2. package/BUILD.bazel +24 -0
  3. package/README.md +63 -0
  4. package/bin/index.d.ts +7 -0
  5. package/bin/index.d.ts.map +1 -0
  6. package/bin/index.js +47 -0
  7. package/bin/index.js.map +1 -0
  8. package/bin/mcpg/index.d.ts +3 -0
  9. package/bin/mcpg/index.d.ts.map +1 -0
  10. package/bin/mcpg/index.js +32 -0
  11. package/bin/mcpg/index.js.map +1 -0
  12. package/bin/mcpg/v1alpha1/index.d.ts +73 -0
  13. package/bin/mcpg/v1alpha1/index.d.ts.map +1 -0
  14. package/bin/mcpg/v1alpha1/index.js +137 -0
  15. package/bin/mcpg/v1alpha1/index.js.map +1 -0
  16. package/bin/mcpg/v1alpha1/mcpgcluster.d.ts +63 -0
  17. package/bin/mcpg/v1alpha1/mcpgcluster.d.ts.map +1 -0
  18. package/bin/mcpg/v1alpha1/mcpgcluster.js +87 -0
  19. package/bin/mcpg/v1alpha1/mcpgcluster.js.map +1 -0
  20. package/bin/mcpg/v1alpha1/mcpgclusterList.d.ts +68 -0
  21. package/bin/mcpg/v1alpha1/mcpgclusterList.d.ts.map +1 -0
  22. package/bin/mcpg/v1alpha1/mcpgclusterList.js +88 -0
  23. package/bin/mcpg/v1alpha1/mcpgclusterList.js.map +1 -0
  24. package/bin/mcpg/v1alpha1/mcpgclusterPatch.d.ts +69 -0
  25. package/bin/mcpg/v1alpha1/mcpgclusterPatch.d.ts.map +1 -0
  26. package/bin/mcpg/v1alpha1/mcpgclusterPatch.js +93 -0
  27. package/bin/mcpg/v1alpha1/mcpgclusterPatch.js.map +1 -0
  28. package/bin/mcpg/v1alpha1/mcpggateway.d.ts +63 -0
  29. package/bin/mcpg/v1alpha1/mcpggateway.d.ts.map +1 -0
  30. package/bin/mcpg/v1alpha1/mcpggateway.js +87 -0
  31. package/bin/mcpg/v1alpha1/mcpggateway.js.map +1 -0
  32. package/bin/mcpg/v1alpha1/mcpggatewayList.d.ts +68 -0
  33. package/bin/mcpg/v1alpha1/mcpggatewayList.d.ts.map +1 -0
  34. package/bin/mcpg/v1alpha1/mcpggatewayList.js +88 -0
  35. package/bin/mcpg/v1alpha1/mcpggatewayList.js.map +1 -0
  36. package/bin/mcpg/v1alpha1/mcpggatewayPatch.d.ts +69 -0
  37. package/bin/mcpg/v1alpha1/mcpggatewayPatch.d.ts.map +1 -0
  38. package/bin/mcpg/v1alpha1/mcpggatewayPatch.js +93 -0
  39. package/bin/mcpg/v1alpha1/mcpggatewayPatch.js.map +1 -0
  40. package/bin/mcpg/v1alpha1/mcpgplugin.d.ts +63 -0
  41. package/bin/mcpg/v1alpha1/mcpgplugin.d.ts.map +1 -0
  42. package/bin/mcpg/v1alpha1/mcpgplugin.js +87 -0
  43. package/bin/mcpg/v1alpha1/mcpgplugin.js.map +1 -0
  44. package/bin/mcpg/v1alpha1/mcpgpluginList.d.ts +68 -0
  45. package/bin/mcpg/v1alpha1/mcpgpluginList.d.ts.map +1 -0
  46. package/bin/mcpg/v1alpha1/mcpgpluginList.js +88 -0
  47. package/bin/mcpg/v1alpha1/mcpgpluginList.js.map +1 -0
  48. package/bin/mcpg/v1alpha1/mcpgpluginMirror.d.ts +63 -0
  49. package/bin/mcpg/v1alpha1/mcpgpluginMirror.d.ts.map +1 -0
  50. package/bin/mcpg/v1alpha1/mcpgpluginMirror.js +87 -0
  51. package/bin/mcpg/v1alpha1/mcpgpluginMirror.js.map +1 -0
  52. package/bin/mcpg/v1alpha1/mcpgpluginMirrorList.d.ts +68 -0
  53. package/bin/mcpg/v1alpha1/mcpgpluginMirrorList.d.ts.map +1 -0
  54. package/bin/mcpg/v1alpha1/mcpgpluginMirrorList.js +88 -0
  55. package/bin/mcpg/v1alpha1/mcpgpluginMirrorList.js.map +1 -0
  56. package/bin/mcpg/v1alpha1/mcpgpluginMirrorPatch.d.ts +69 -0
  57. package/bin/mcpg/v1alpha1/mcpgpluginMirrorPatch.d.ts.map +1 -0
  58. package/bin/mcpg/v1alpha1/mcpgpluginMirrorPatch.js +93 -0
  59. package/bin/mcpg/v1alpha1/mcpgpluginMirrorPatch.js.map +1 -0
  60. package/bin/mcpg/v1alpha1/mcpgpluginPatch.d.ts +69 -0
  61. package/bin/mcpg/v1alpha1/mcpgpluginPatch.d.ts.map +1 -0
  62. package/bin/mcpg/v1alpha1/mcpgpluginPatch.js +93 -0
  63. package/bin/mcpg/v1alpha1/mcpgpluginPatch.js.map +1 -0
  64. package/bin/mcpg/v1alpha1/mcpgpluginSet.d.ts +63 -0
  65. package/bin/mcpg/v1alpha1/mcpgpluginSet.d.ts.map +1 -0
  66. package/bin/mcpg/v1alpha1/mcpgpluginSet.js +87 -0
  67. package/bin/mcpg/v1alpha1/mcpgpluginSet.js.map +1 -0
  68. package/bin/mcpg/v1alpha1/mcpgpluginSetList.d.ts +68 -0
  69. package/bin/mcpg/v1alpha1/mcpgpluginSetList.d.ts.map +1 -0
  70. package/bin/mcpg/v1alpha1/mcpgpluginSetList.js +88 -0
  71. package/bin/mcpg/v1alpha1/mcpgpluginSetList.js.map +1 -0
  72. package/bin/mcpg/v1alpha1/mcpgpluginSetPatch.d.ts +69 -0
  73. package/bin/mcpg/v1alpha1/mcpgpluginSetPatch.d.ts.map +1 -0
  74. package/bin/mcpg/v1alpha1/mcpgpluginSetPatch.js +93 -0
  75. package/bin/mcpg/v1alpha1/mcpgpluginSetPatch.js.map +1 -0
  76. package/bin/mcpg/v1alpha1/mcpgrevocationList.d.ts +63 -0
  77. package/bin/mcpg/v1alpha1/mcpgrevocationList.d.ts.map +1 -0
  78. package/bin/mcpg/v1alpha1/mcpgrevocationList.js +87 -0
  79. package/bin/mcpg/v1alpha1/mcpgrevocationList.js.map +1 -0
  80. package/bin/mcpg/v1alpha1/mcpgrevocationListList.d.ts +68 -0
  81. package/bin/mcpg/v1alpha1/mcpgrevocationListList.d.ts.map +1 -0
  82. package/bin/mcpg/v1alpha1/mcpgrevocationListList.js +88 -0
  83. package/bin/mcpg/v1alpha1/mcpgrevocationListList.js.map +1 -0
  84. package/bin/mcpg/v1alpha1/mcpgrevocationListPatch.d.ts +69 -0
  85. package/bin/mcpg/v1alpha1/mcpgrevocationListPatch.d.ts.map +1 -0
  86. package/bin/mcpg/v1alpha1/mcpgrevocationListPatch.js +93 -0
  87. package/bin/mcpg/v1alpha1/mcpgrevocationListPatch.js.map +1 -0
  88. package/bin/mcpg/v1alpha1/mcpgroute.d.ts +63 -0
  89. package/bin/mcpg/v1alpha1/mcpgroute.d.ts.map +1 -0
  90. package/bin/mcpg/v1alpha1/mcpgroute.js +87 -0
  91. package/bin/mcpg/v1alpha1/mcpgroute.js.map +1 -0
  92. package/bin/mcpg/v1alpha1/mcpgrouteList.d.ts +68 -0
  93. package/bin/mcpg/v1alpha1/mcpgrouteList.d.ts.map +1 -0
  94. package/bin/mcpg/v1alpha1/mcpgrouteList.js +88 -0
  95. package/bin/mcpg/v1alpha1/mcpgrouteList.js.map +1 -0
  96. package/bin/mcpg/v1alpha1/mcpgroutePatch.d.ts +69 -0
  97. package/bin/mcpg/v1alpha1/mcpgroutePatch.d.ts.map +1 -0
  98. package/bin/mcpg/v1alpha1/mcpgroutePatch.js +93 -0
  99. package/bin/mcpg/v1alpha1/mcpgroutePatch.js.map +1 -0
  100. package/bin/mcpg/v1alpha1/mcpgtenant.d.ts +63 -0
  101. package/bin/mcpg/v1alpha1/mcpgtenant.d.ts.map +1 -0
  102. package/bin/mcpg/v1alpha1/mcpgtenant.js +87 -0
  103. package/bin/mcpg/v1alpha1/mcpgtenant.js.map +1 -0
  104. package/bin/mcpg/v1alpha1/mcpgtenantList.d.ts +68 -0
  105. package/bin/mcpg/v1alpha1/mcpgtenantList.d.ts.map +1 -0
  106. package/bin/mcpg/v1alpha1/mcpgtenantList.js +88 -0
  107. package/bin/mcpg/v1alpha1/mcpgtenantList.js.map +1 -0
  108. package/bin/mcpg/v1alpha1/mcpgtenantPatch.d.ts +69 -0
  109. package/bin/mcpg/v1alpha1/mcpgtenantPatch.d.ts.map +1 -0
  110. package/bin/mcpg/v1alpha1/mcpgtenantPatch.js +93 -0
  111. package/bin/mcpg/v1alpha1/mcpgtenantPatch.js.map +1 -0
  112. package/bin/package.json +36 -0
  113. package/bin/provider.d.ts +22 -0
  114. package/bin/provider.d.ts.map +1 -0
  115. package/bin/provider.js +61 -0
  116. package/bin/provider.js.map +1 -0
  117. package/bin/types/index.d.ts +4 -0
  118. package/bin/types/index.d.ts.map +1 -0
  119. package/bin/types/index.js +34 -0
  120. package/bin/types/index.js.map +1 -0
  121. package/bin/types/input.d.ts +2965 -0
  122. package/bin/types/input.d.ts.map +1 -0
  123. package/bin/types/input.js +5 -0
  124. package/bin/types/input.js.map +1 -0
  125. package/bin/types/output.d.ts +3538 -0
  126. package/bin/types/output.d.ts.map +1 -0
  127. package/bin/types/output.js +5 -0
  128. package/bin/types/output.js.map +1 -0
  129. package/bin/utilities.d.ts +5 -0
  130. package/bin/utilities.d.ts.map +1 -0
  131. package/bin/utilities.js +115 -0
  132. package/bin/utilities.js.map +1 -0
  133. package/copy.bara.sky +98 -0
  134. package/index.ts +30 -0
  135. package/mcpg/index.ts +11 -0
  136. package/mcpg/v1alpha1/index.ts +186 -0
  137. package/mcpg/v1alpha1/mcpgcluster.ts +99 -0
  138. package/mcpg/v1alpha1/mcpgclusterList.ts +105 -0
  139. package/mcpg/v1alpha1/mcpgclusterPatch.ts +105 -0
  140. package/mcpg/v1alpha1/mcpggateway.ts +99 -0
  141. package/mcpg/v1alpha1/mcpggatewayList.ts +105 -0
  142. package/mcpg/v1alpha1/mcpggatewayPatch.ts +105 -0
  143. package/mcpg/v1alpha1/mcpgplugin.ts +99 -0
  144. package/mcpg/v1alpha1/mcpgpluginList.ts +105 -0
  145. package/mcpg/v1alpha1/mcpgpluginMirror.ts +99 -0
  146. package/mcpg/v1alpha1/mcpgpluginMirrorList.ts +105 -0
  147. package/mcpg/v1alpha1/mcpgpluginMirrorPatch.ts +105 -0
  148. package/mcpg/v1alpha1/mcpgpluginPatch.ts +105 -0
  149. package/mcpg/v1alpha1/mcpgpluginSet.ts +99 -0
  150. package/mcpg/v1alpha1/mcpgpluginSetList.ts +105 -0
  151. package/mcpg/v1alpha1/mcpgpluginSetPatch.ts +105 -0
  152. package/mcpg/v1alpha1/mcpgrevocationList.ts +99 -0
  153. package/mcpg/v1alpha1/mcpgrevocationListList.ts +105 -0
  154. package/mcpg/v1alpha1/mcpgrevocationListPatch.ts +105 -0
  155. package/mcpg/v1alpha1/mcpgroute.ts +99 -0
  156. package/mcpg/v1alpha1/mcpgrouteList.ts +105 -0
  157. package/mcpg/v1alpha1/mcpgroutePatch.ts +105 -0
  158. package/mcpg/v1alpha1/mcpgtenant.ts +99 -0
  159. package/mcpg/v1alpha1/mcpgtenantList.ts +105 -0
  160. package/mcpg/v1alpha1/mcpgtenantPatch.ts +105 -0
  161. package/meta/v1.ts +4 -0
  162. package/package.json +36 -0
  163. package/provider.ts +44 -0
  164. package/scripts/postinstall.js +20 -0
  165. package/tsconfig.json +55 -0
  166. package/types/index.ts +13 -0
  167. package/types/input.ts +3030 -0
  168. package/types/output.ts +3622 -0
  169. package/utilities.ts +98 -0
package/.gitattributes ADDED
@@ -0,0 +1 @@
1
+ * linguist-generated
package/BUILD.bazel ADDED
@@ -0,0 +1,24 @@
1
+ load("@aspect_rules_js//js:defs.bzl", "js_library")
2
+ load("@npm//:defs.bzl", "npm_link_all_packages")
3
+
4
+ # This package's npm dependencies, linked the way node resolves them.
5
+ npm_link_all_packages(name = "node_modules")
6
+
7
+ # Every workspace package needs a `pkg` target: npm_link_all_packages resolves
8
+ # a `workspace:*` dependency to one, and the root link covers the whole
9
+ # workspace — so a package without it breaks the graph for everyone, not just
10
+ # for itself.
11
+ js_library(
12
+ name = "pkg",
13
+ srcs = glob(
14
+ ["**/*"],
15
+ allow_empty = True,
16
+ exclude = [
17
+ "node_modules/**",
18
+ "dist/**",
19
+ ".next/**",
20
+ "BUILD.bazel",
21
+ ],
22
+ ),
23
+ visibility = ["//visibility:public"],
24
+ )
package/README.md ADDED
@@ -0,0 +1,63 @@
1
+ # @mcpg/pulumi-crds
2
+
3
+ Typed Pulumi resource classes for the `mcpg.dev` custom resources — the
4
+ Kubernetes API served by the MCPG operator. Declare an `MCPGGateway`, an
5
+ `MCPGPluginSet`, or any other MCPG resource in a Pulumi program with real
6
+ TypeScript types, completion, and diffs, instead of pushing untyped YAML through
7
+ a generic config group.
8
+
9
+ The package is generated from the MCPG CRD schemas with crd2pulumi and committed
10
+ as generated. Do not edit it by hand: change the CRDs and regenerate.
11
+
12
+ ## Quick start
13
+
14
+ ```ts
15
+ import { mcpg } from "@mcpg/pulumi-crds";
16
+
17
+ new mcpg.v1alpha1.MCPGGateway("orders", {
18
+ metadata: { namespace: "mcpg-system" },
19
+ spec: {
20
+ image: { repository: "ghcr.io/mcpg-dev/source-code/gateway", tag: "<tag>" },
21
+ config: {},
22
+ },
23
+ });
24
+ ```
25
+
26
+ ## Resources
27
+
28
+ `mcpg.v1alpha1` exports one class per MCPG kind, plus `…List` and `…Patch`
29
+ variants of each for reading collections and for server-side-apply patches.
30
+
31
+ | Class | What it declares |
32
+ |---|---|
33
+ | `MCPGGateway` | A gateway deployment and the configuration it serves. |
34
+ | `MCPGCluster` | The coordination backend a gateway cluster shares. |
35
+ | `MCPGRoute` | A tool subset bound into a shared gateway, with its chains. |
36
+ | `MCPGTenant` | A tenant boundary: namespaces, plugin allowlist, quotas. |
37
+ | `MCPGPlugin` | A plugin artifact and the trust it must satisfy. |
38
+ | `MCPGPluginSet` | An ordered plugin list and its capability grants. |
39
+ | `MCPGPluginMirror` | An in-cluster mirror for plugin artifacts. |
40
+ | `MCPGRevocationList` | Revoked plugin artifacts, by digest. |
41
+
42
+ ## Higher-level components
43
+
44
+ These classes are the raw resource surface. For components that install the
45
+ operator, own the CRD lifecycle, assemble a gateway's configuration, and set up
46
+ tenants, use `@mcpg/pulumi`, which is built on this package.
47
+
48
+ ## Licence
49
+
50
+ Apache-2.0.
51
+
52
+ ## See also
53
+
54
+ - <https://mcpg.dev/docs/reference/operator-crds> — field-by-field reference for
55
+ every resource above.
56
+ - <https://mcpg.dev/docs/self-hosting/pulumi> — deploying MCPG with Pulumi.
57
+
58
+ ## Building and testing
59
+
60
+ ```sh
61
+ npm install
62
+ npm run build
63
+ ```
package/bin/index.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ export { ProviderArgs } from "./provider";
2
+ export type Provider = import("./provider").Provider;
3
+ export declare const Provider: typeof import("./provider").Provider;
4
+ import * as mcpg from "./mcpg";
5
+ import * as types from "./types";
6
+ export { mcpg, types, };
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,MAAM,MAAM,QAAQ,GAAG,OAAO,YAAY,EAAE,QAAQ,CAAC;AACrD,eAAO,MAAM,QAAQ,EAAE,cAAc,YAAY,EAAE,QAAsB,CAAC;AAK1E,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAEjC,OAAO,EACH,IAAI,EACJ,KAAK,GACR,CAAC"}
package/bin/index.js ADDED
@@ -0,0 +1,47 @@
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.types = exports.mcpg = exports.Provider = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ exports.Provider = null;
32
+ utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
33
+ // Export sub-modules:
34
+ const mcpg = __importStar(require("./mcpg"));
35
+ exports.mcpg = mcpg;
36
+ const types = __importStar(require("./types"));
37
+ exports.types = types;
38
+ pulumi.runtime.registerResourcePackage("mcpg", {
39
+ version: utilities.getVersion(),
40
+ constructProvider: (name, type, urn) => {
41
+ if (type !== "pulumi:providers:kubernetes") {
42
+ throw new Error(`unknown provider type ${type}`);
43
+ }
44
+ return new exports.Provider(name, undefined, { urn });
45
+ },
46
+ });
47
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAK5B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,sBAAsB;AACtB,6CAA+B;AAI3B,oBAAI;AAHR,+CAAiC;AAI7B,sBAAK;AAET,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,MAAM,EAAE;IAC3C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,6BAA6B,EAAE;YACxC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import * as v1alpha1 from "./v1alpha1";
2
+ export { v1alpha1, };
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../mcpg/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AAEvC,OAAO,EACH,QAAQ,GACX,CAAC"}
@@ -0,0 +1,32 @@
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.v1alpha1 = void 0;
29
+ // Export sub-modules:
30
+ const v1alpha1 = __importStar(require("./v1alpha1"));
31
+ exports.v1alpha1 = v1alpha1;
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../mcpg/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAIjF,sBAAsB;AACtB,qDAAuC;AAGnC,4BAAQ"}
@@ -0,0 +1,73 @@
1
+ export { MCPGClusterArgs } from "./mcpgcluster";
2
+ export type MCPGCluster = import("./mcpgcluster").MCPGCluster;
3
+ export declare const MCPGCluster: typeof import("./mcpgcluster").MCPGCluster;
4
+ export { MCPGClusterListArgs } from "./mcpgclusterList";
5
+ export type MCPGClusterList = import("./mcpgclusterList").MCPGClusterList;
6
+ export declare const MCPGClusterList: typeof import("./mcpgclusterList").MCPGClusterList;
7
+ export { MCPGClusterPatchArgs } from "./mcpgclusterPatch";
8
+ export type MCPGClusterPatch = import("./mcpgclusterPatch").MCPGClusterPatch;
9
+ export declare const MCPGClusterPatch: typeof import("./mcpgclusterPatch").MCPGClusterPatch;
10
+ export { MCPGGatewayArgs } from "./mcpggateway";
11
+ export type MCPGGateway = import("./mcpggateway").MCPGGateway;
12
+ export declare const MCPGGateway: typeof import("./mcpggateway").MCPGGateway;
13
+ export { MCPGGatewayListArgs } from "./mcpggatewayList";
14
+ export type MCPGGatewayList = import("./mcpggatewayList").MCPGGatewayList;
15
+ export declare const MCPGGatewayList: typeof import("./mcpggatewayList").MCPGGatewayList;
16
+ export { MCPGGatewayPatchArgs } from "./mcpggatewayPatch";
17
+ export type MCPGGatewayPatch = import("./mcpggatewayPatch").MCPGGatewayPatch;
18
+ export declare const MCPGGatewayPatch: typeof import("./mcpggatewayPatch").MCPGGatewayPatch;
19
+ export { MCPGPluginArgs } from "./mcpgplugin";
20
+ export type MCPGPlugin = import("./mcpgplugin").MCPGPlugin;
21
+ export declare const MCPGPlugin: typeof import("./mcpgplugin").MCPGPlugin;
22
+ export { MCPGPluginListArgs } from "./mcpgpluginList";
23
+ export type MCPGPluginList = import("./mcpgpluginList").MCPGPluginList;
24
+ export declare const MCPGPluginList: typeof import("./mcpgpluginList").MCPGPluginList;
25
+ export { MCPGPluginMirrorArgs } from "./mcpgpluginMirror";
26
+ export type MCPGPluginMirror = import("./mcpgpluginMirror").MCPGPluginMirror;
27
+ export declare const MCPGPluginMirror: typeof import("./mcpgpluginMirror").MCPGPluginMirror;
28
+ export { MCPGPluginMirrorListArgs } from "./mcpgpluginMirrorList";
29
+ export type MCPGPluginMirrorList = import("./mcpgpluginMirrorList").MCPGPluginMirrorList;
30
+ export declare const MCPGPluginMirrorList: typeof import("./mcpgpluginMirrorList").MCPGPluginMirrorList;
31
+ export { MCPGPluginMirrorPatchArgs } from "./mcpgpluginMirrorPatch";
32
+ export type MCPGPluginMirrorPatch = import("./mcpgpluginMirrorPatch").MCPGPluginMirrorPatch;
33
+ export declare const MCPGPluginMirrorPatch: typeof import("./mcpgpluginMirrorPatch").MCPGPluginMirrorPatch;
34
+ export { MCPGPluginPatchArgs } from "./mcpgpluginPatch";
35
+ export type MCPGPluginPatch = import("./mcpgpluginPatch").MCPGPluginPatch;
36
+ export declare const MCPGPluginPatch: typeof import("./mcpgpluginPatch").MCPGPluginPatch;
37
+ export { MCPGPluginSetArgs } from "./mcpgpluginSet";
38
+ export type MCPGPluginSet = import("./mcpgpluginSet").MCPGPluginSet;
39
+ export declare const MCPGPluginSet: typeof import("./mcpgpluginSet").MCPGPluginSet;
40
+ export { MCPGPluginSetListArgs } from "./mcpgpluginSetList";
41
+ export type MCPGPluginSetList = import("./mcpgpluginSetList").MCPGPluginSetList;
42
+ export declare const MCPGPluginSetList: typeof import("./mcpgpluginSetList").MCPGPluginSetList;
43
+ export { MCPGPluginSetPatchArgs } from "./mcpgpluginSetPatch";
44
+ export type MCPGPluginSetPatch = import("./mcpgpluginSetPatch").MCPGPluginSetPatch;
45
+ export declare const MCPGPluginSetPatch: typeof import("./mcpgpluginSetPatch").MCPGPluginSetPatch;
46
+ export { MCPGRevocationListArgs } from "./mcpgrevocationList";
47
+ export type MCPGRevocationList = import("./mcpgrevocationList").MCPGRevocationList;
48
+ export declare const MCPGRevocationList: typeof import("./mcpgrevocationList").MCPGRevocationList;
49
+ export { MCPGRevocationListListArgs } from "./mcpgrevocationListList";
50
+ export type MCPGRevocationListList = import("./mcpgrevocationListList").MCPGRevocationListList;
51
+ export declare const MCPGRevocationListList: typeof import("./mcpgrevocationListList").MCPGRevocationListList;
52
+ export { MCPGRevocationListPatchArgs } from "./mcpgrevocationListPatch";
53
+ export type MCPGRevocationListPatch = import("./mcpgrevocationListPatch").MCPGRevocationListPatch;
54
+ export declare const MCPGRevocationListPatch: typeof import("./mcpgrevocationListPatch").MCPGRevocationListPatch;
55
+ export { MCPGRouteArgs } from "./mcpgroute";
56
+ export type MCPGRoute = import("./mcpgroute").MCPGRoute;
57
+ export declare const MCPGRoute: typeof import("./mcpgroute").MCPGRoute;
58
+ export { MCPGRouteListArgs } from "./mcpgrouteList";
59
+ export type MCPGRouteList = import("./mcpgrouteList").MCPGRouteList;
60
+ export declare const MCPGRouteList: typeof import("./mcpgrouteList").MCPGRouteList;
61
+ export { MCPGRoutePatchArgs } from "./mcpgroutePatch";
62
+ export type MCPGRoutePatch = import("./mcpgroutePatch").MCPGRoutePatch;
63
+ export declare const MCPGRoutePatch: typeof import("./mcpgroutePatch").MCPGRoutePatch;
64
+ export { MCPGTenantArgs } from "./mcpgtenant";
65
+ export type MCPGTenant = import("./mcpgtenant").MCPGTenant;
66
+ export declare const MCPGTenant: typeof import("./mcpgtenant").MCPGTenant;
67
+ export { MCPGTenantListArgs } from "./mcpgtenantList";
68
+ export type MCPGTenantList = import("./mcpgtenantList").MCPGTenantList;
69
+ export declare const MCPGTenantList: typeof import("./mcpgtenantList").MCPGTenantList;
70
+ export { MCPGTenantPatchArgs } from "./mcpgtenantPatch";
71
+ export type MCPGTenantPatch = import("./mcpgtenantPatch").MCPGTenantPatch;
72
+ export declare const MCPGTenantPatch: typeof import("./mcpgtenantPatch").MCPGTenantPatch;
73
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../mcpg/v1alpha1/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,MAAM,MAAM,WAAW,GAAG,OAAO,eAAe,EAAE,WAAW,CAAC;AAC9D,eAAO,MAAM,WAAW,EAAE,cAAc,eAAe,EAAE,WAAyB,CAAC;AAGnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,MAAM,MAAM,eAAe,GAAG,OAAO,mBAAmB,EAAE,eAAe,CAAC;AAC1E,eAAO,MAAM,eAAe,EAAE,cAAc,mBAAmB,EAAE,eAA6B,CAAC;AAG/F,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,MAAM,MAAM,gBAAgB,GAAG,OAAO,oBAAoB,EAAE,gBAAgB,CAAC;AAC7E,eAAO,MAAM,gBAAgB,EAAE,cAAc,oBAAoB,EAAE,gBAA8B,CAAC;AAGlG,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,MAAM,MAAM,WAAW,GAAG,OAAO,eAAe,EAAE,WAAW,CAAC;AAC9D,eAAO,MAAM,WAAW,EAA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,eAA6B,CAAC"}
@@ -0,0 +1,137 @@
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 = exports.MCPGTenantList = exports.MCPGTenant = exports.MCPGRoutePatch = exports.MCPGRouteList = exports.MCPGRoute = exports.MCPGRevocationListPatch = exports.MCPGRevocationListList = exports.MCPGRevocationList = exports.MCPGPluginSetPatch = exports.MCPGPluginSetList = exports.MCPGPluginSet = exports.MCPGPluginPatch = exports.MCPGPluginMirrorPatch = exports.MCPGPluginMirrorList = exports.MCPGPluginMirror = exports.MCPGPluginList = exports.MCPGPlugin = exports.MCPGGatewayPatch = exports.MCPGGatewayList = exports.MCPGGateway = exports.MCPGClusterPatch = exports.MCPGClusterList = exports.MCPGCluster = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../../utilities"));
31
+ exports.MCPGCluster = null;
32
+ utilities.lazyLoad(exports, ["MCPGCluster"], () => require("./mcpgcluster"));
33
+ exports.MCPGClusterList = null;
34
+ utilities.lazyLoad(exports, ["MCPGClusterList"], () => require("./mcpgclusterList"));
35
+ exports.MCPGClusterPatch = null;
36
+ utilities.lazyLoad(exports, ["MCPGClusterPatch"], () => require("./mcpgclusterPatch"));
37
+ exports.MCPGGateway = null;
38
+ utilities.lazyLoad(exports, ["MCPGGateway"], () => require("./mcpggateway"));
39
+ exports.MCPGGatewayList = null;
40
+ utilities.lazyLoad(exports, ["MCPGGatewayList"], () => require("./mcpggatewayList"));
41
+ exports.MCPGGatewayPatch = null;
42
+ utilities.lazyLoad(exports, ["MCPGGatewayPatch"], () => require("./mcpggatewayPatch"));
43
+ exports.MCPGPlugin = null;
44
+ utilities.lazyLoad(exports, ["MCPGPlugin"], () => require("./mcpgplugin"));
45
+ exports.MCPGPluginList = null;
46
+ utilities.lazyLoad(exports, ["MCPGPluginList"], () => require("./mcpgpluginList"));
47
+ exports.MCPGPluginMirror = null;
48
+ utilities.lazyLoad(exports, ["MCPGPluginMirror"], () => require("./mcpgpluginMirror"));
49
+ exports.MCPGPluginMirrorList = null;
50
+ utilities.lazyLoad(exports, ["MCPGPluginMirrorList"], () => require("./mcpgpluginMirrorList"));
51
+ exports.MCPGPluginMirrorPatch = null;
52
+ utilities.lazyLoad(exports, ["MCPGPluginMirrorPatch"], () => require("./mcpgpluginMirrorPatch"));
53
+ exports.MCPGPluginPatch = null;
54
+ utilities.lazyLoad(exports, ["MCPGPluginPatch"], () => require("./mcpgpluginPatch"));
55
+ exports.MCPGPluginSet = null;
56
+ utilities.lazyLoad(exports, ["MCPGPluginSet"], () => require("./mcpgpluginSet"));
57
+ exports.MCPGPluginSetList = null;
58
+ utilities.lazyLoad(exports, ["MCPGPluginSetList"], () => require("./mcpgpluginSetList"));
59
+ exports.MCPGPluginSetPatch = null;
60
+ utilities.lazyLoad(exports, ["MCPGPluginSetPatch"], () => require("./mcpgpluginSetPatch"));
61
+ exports.MCPGRevocationList = null;
62
+ utilities.lazyLoad(exports, ["MCPGRevocationList"], () => require("./mcpgrevocationList"));
63
+ exports.MCPGRevocationListList = null;
64
+ utilities.lazyLoad(exports, ["MCPGRevocationListList"], () => require("./mcpgrevocationListList"));
65
+ exports.MCPGRevocationListPatch = null;
66
+ utilities.lazyLoad(exports, ["MCPGRevocationListPatch"], () => require("./mcpgrevocationListPatch"));
67
+ exports.MCPGRoute = null;
68
+ utilities.lazyLoad(exports, ["MCPGRoute"], () => require("./mcpgroute"));
69
+ exports.MCPGRouteList = null;
70
+ utilities.lazyLoad(exports, ["MCPGRouteList"], () => require("./mcpgrouteList"));
71
+ exports.MCPGRoutePatch = null;
72
+ utilities.lazyLoad(exports, ["MCPGRoutePatch"], () => require("./mcpgroutePatch"));
73
+ exports.MCPGTenant = null;
74
+ utilities.lazyLoad(exports, ["MCPGTenant"], () => require("./mcpgtenant"));
75
+ exports.MCPGTenantList = null;
76
+ utilities.lazyLoad(exports, ["MCPGTenantList"], () => require("./mcpgtenantList"));
77
+ exports.MCPGTenantPatch = null;
78
+ utilities.lazyLoad(exports, ["MCPGTenantPatch"], () => require("./mcpgtenantPatch"));
79
+ const _module = {
80
+ version: utilities.getVersion(),
81
+ construct: (name, type, urn) => {
82
+ switch (type) {
83
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGCluster":
84
+ return new exports.MCPGCluster(name, undefined, { urn });
85
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGClusterList":
86
+ return new exports.MCPGClusterList(name, undefined, { urn });
87
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGClusterPatch":
88
+ return new exports.MCPGClusterPatch(name, undefined, { urn });
89
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGGateway":
90
+ return new exports.MCPGGateway(name, undefined, { urn });
91
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGGatewayList":
92
+ return new exports.MCPGGatewayList(name, undefined, { urn });
93
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGGatewayPatch":
94
+ return new exports.MCPGGatewayPatch(name, undefined, { urn });
95
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGPlugin":
96
+ return new exports.MCPGPlugin(name, undefined, { urn });
97
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGPluginList":
98
+ return new exports.MCPGPluginList(name, undefined, { urn });
99
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGPluginMirror":
100
+ return new exports.MCPGPluginMirror(name, undefined, { urn });
101
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGPluginMirrorList":
102
+ return new exports.MCPGPluginMirrorList(name, undefined, { urn });
103
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGPluginMirrorPatch":
104
+ return new exports.MCPGPluginMirrorPatch(name, undefined, { urn });
105
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGPluginPatch":
106
+ return new exports.MCPGPluginPatch(name, undefined, { urn });
107
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGPluginSet":
108
+ return new exports.MCPGPluginSet(name, undefined, { urn });
109
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGPluginSetList":
110
+ return new exports.MCPGPluginSetList(name, undefined, { urn });
111
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGPluginSetPatch":
112
+ return new exports.MCPGPluginSetPatch(name, undefined, { urn });
113
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGRevocationList":
114
+ return new exports.MCPGRevocationList(name, undefined, { urn });
115
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGRevocationListList":
116
+ return new exports.MCPGRevocationListList(name, undefined, { urn });
117
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGRevocationListPatch":
118
+ return new exports.MCPGRevocationListPatch(name, undefined, { urn });
119
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGRoute":
120
+ return new exports.MCPGRoute(name, undefined, { urn });
121
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGRouteList":
122
+ return new exports.MCPGRouteList(name, undefined, { urn });
123
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGRoutePatch":
124
+ return new exports.MCPGRoutePatch(name, undefined, { urn });
125
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGTenant":
126
+ return new exports.MCPGTenant(name, undefined, { urn });
127
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGTenantList":
128
+ return new exports.MCPGTenantList(name, undefined, { urn });
129
+ case "kubernetes:mcpg.dev/v1alpha1:MCPGTenantPatch":
130
+ return new exports.MCPGTenantPatch(name, undefined, { urn });
131
+ default:
132
+ throw new Error(`unknown resource type ${type}`);
133
+ }
134
+ },
135
+ };
136
+ pulumi.runtime.registerResourceModule("mcpg", "mcpg.dev/v1alpha1", _module);
137
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../mcpg/v1alpha1/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,2DAA6C;AAKhC,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAIhE,QAAA,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAIxE,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAI1E,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF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E,EAAE,GAAG,EAAE,CAAC,CAAA;YAC7D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,63 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ /**
5
+ * Auto-generated derived type for MCPGClusterSpec via `CustomResource`
6
+ */
7
+ export declare class MCPGCluster extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing MCPGCluster 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): MCPGCluster;
17
+ /**
18
+ * Returns true if the given object is an instance of MCPGCluster. 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 MCPGCluster;
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
+ * 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<"MCPGCluster">;
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<outputs.meta.v1.ObjectMeta>;
34
+ readonly spec: pulumi.Output<outputs.mcpg.v1alpha1.MCPGClusterSpec>;
35
+ readonly status: pulumi.Output<outputs.mcpg.v1alpha1.MCPGClusterStatus>;
36
+ /**
37
+ * Create a MCPGCluster 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?: MCPGClusterArgs, opts?: pulumi.CustomResourceOptions);
44
+ }
45
+ /**
46
+ * The set of arguments for constructing a MCPGCluster resource.
47
+ */
48
+ export interface MCPGClusterArgs {
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<"mcpg.dev/v1alpha1" | undefined>;
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<"MCPGCluster" | undefined>;
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<inputs.meta.v1.ObjectMeta | undefined>;
61
+ spec?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGClusterSpec | undefined>;
62
+ }
63
+ //# sourceMappingURL=mcpgcluster.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcpgcluster.d.ts","sourceRoot":"","sources":["../../../mcpg/v1alpha1/mcpgcluster.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C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,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,GAAG,SAAS,CAAC,CAAC;IAC/D,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;CACzE"}
@@ -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.MCPGCluster = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../../utilities"));
31
+ /**
32
+ * Auto-generated derived type for MCPGClusterSpec via `CustomResource`
33
+ */
34
+ class MCPGCluster extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing MCPGCluster 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 MCPGCluster(name, undefined, { ...opts, id: id });
45
+ }
46
+ /** @internal */
47
+ static __pulumiType = 'kubernetes:mcpg.dev/v1alpha1:MCPGCluster';
48
+ /**
49
+ * Returns true if the given object is an instance of MCPGCluster. 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'] === MCPGCluster.__pulumiType;
57
+ }
58
+ /**
59
+ * Create a MCPGCluster 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"] = "MCPGCluster";
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(MCPGCluster.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+ exports.MCPGCluster = MCPGCluster;
87
+ //# sourceMappingURL=mcpgcluster.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcpgcluster.js","sourceRoot":"","sources":["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