@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,105 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as inputs from "../../types/input";
|
|
6
|
+
import * as outputs from "../../types/output";
|
|
7
|
+
import * as utilities from "../../utilities";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* MCPGPluginList is a list of MCPGPlugin
|
|
11
|
+
*/
|
|
12
|
+
export class MCPGPluginList extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing MCPGPluginList resource's state with the given name, ID, and optional extra
|
|
15
|
+
* properties used to qualify the lookup.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resulting resource.
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): MCPGPluginList {
|
|
22
|
+
return new MCPGPluginList(name, undefined as any, { ...opts, id: id });
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
public static readonly __pulumiType = 'kubernetes:mcpg.dev/v1alpha1:MCPGPluginList';
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Returns true if the given object is an instance of MCPGPluginList. This is designed to work even
|
|
30
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
31
|
+
*/
|
|
32
|
+
public static isInstance(obj: any): obj is MCPGPluginList {
|
|
33
|
+
if (obj === undefined || obj === null) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
return obj['__pulumiType'] === MCPGPluginList.__pulumiType;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* 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
|
|
41
|
+
*/
|
|
42
|
+
declare public readonly apiVersion: pulumi.Output<"mcpg.dev/v1alpha1">;
|
|
43
|
+
/**
|
|
44
|
+
* List of mcpgplugins. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
45
|
+
*/
|
|
46
|
+
declare public readonly items: pulumi.Output<outputs.mcpg.v1alpha1.MCPGPlugin[]>;
|
|
47
|
+
/**
|
|
48
|
+
* 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
|
|
49
|
+
*/
|
|
50
|
+
declare public readonly kind: pulumi.Output<"MCPGPluginList">;
|
|
51
|
+
/**
|
|
52
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
53
|
+
*/
|
|
54
|
+
declare public readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Create a MCPGPluginList resource with the given unique name, arguments, and options.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resource.
|
|
60
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
61
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
62
|
+
*/
|
|
63
|
+
constructor(name: string, args?: MCPGPluginListArgs, opts?: pulumi.CustomResourceOptions) {
|
|
64
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
if (!opts.id) {
|
|
67
|
+
if (args?.items === undefined && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'items'");
|
|
69
|
+
}
|
|
70
|
+
resourceInputs["apiVersion"] = "mcpg.dev/v1alpha1";
|
|
71
|
+
resourceInputs["items"] = args?.items;
|
|
72
|
+
resourceInputs["kind"] = "MCPGPluginList";
|
|
73
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
74
|
+
} else {
|
|
75
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["items"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(MCPGPluginList.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* The set of arguments for constructing a MCPGPluginList resource.
|
|
87
|
+
*/
|
|
88
|
+
export interface MCPGPluginListArgs {
|
|
89
|
+
/**
|
|
90
|
+
* 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
|
|
91
|
+
*/
|
|
92
|
+
apiVersion?: pulumi.Input<"mcpg.dev/v1alpha1" | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* List of mcpgplugins. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
95
|
+
*/
|
|
96
|
+
items: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGPlugin>[]>;
|
|
97
|
+
/**
|
|
98
|
+
* 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
|
|
99
|
+
*/
|
|
100
|
+
kind?: pulumi.Input<"MCPGPluginList" | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
103
|
+
*/
|
|
104
|
+
metadata?: pulumi.Input<inputs.meta.v1.ListMeta | undefined>;
|
|
105
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as inputs from "../../types/input";
|
|
6
|
+
import * as outputs from "../../types/output";
|
|
7
|
+
import * as utilities from "../../utilities";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Auto-generated derived type for MCPGPluginMirrorSpec via `CustomResource`
|
|
11
|
+
*/
|
|
12
|
+
export class MCPGPluginMirror extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing MCPGPluginMirror resource's state with the given name, ID, and optional extra
|
|
15
|
+
* properties used to qualify the lookup.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resulting resource.
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): MCPGPluginMirror {
|
|
22
|
+
return new MCPGPluginMirror(name, undefined as any, { ...opts, id: id });
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
public static readonly __pulumiType = 'kubernetes:mcpg.dev/v1alpha1:MCPGPluginMirror';
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Returns true if the given object is an instance of MCPGPluginMirror. This is designed to work even
|
|
30
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
31
|
+
*/
|
|
32
|
+
public static isInstance(obj: any): obj is MCPGPluginMirror {
|
|
33
|
+
if (obj === undefined || obj === null) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
return obj['__pulumiType'] === MCPGPluginMirror.__pulumiType;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* 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
|
|
41
|
+
*/
|
|
42
|
+
declare public readonly apiVersion: pulumi.Output<"mcpg.dev/v1alpha1">;
|
|
43
|
+
/**
|
|
44
|
+
* 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
|
|
45
|
+
*/
|
|
46
|
+
declare public readonly kind: pulumi.Output<"MCPGPluginMirror">;
|
|
47
|
+
/**
|
|
48
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
49
|
+
*/
|
|
50
|
+
declare public readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
|
51
|
+
declare public readonly spec: pulumi.Output<outputs.mcpg.v1alpha1.MCPGPluginMirrorSpec>;
|
|
52
|
+
declare public /*out*/ readonly status: pulumi.Output<outputs.mcpg.v1alpha1.MCPGPluginMirrorStatus>;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Create a MCPGPluginMirror resource with the given unique name, arguments, and options.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resource.
|
|
58
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
59
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
60
|
+
*/
|
|
61
|
+
constructor(name: string, args?: MCPGPluginMirrorArgs, opts?: pulumi.CustomResourceOptions) {
|
|
62
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
if (!opts.id) {
|
|
65
|
+
resourceInputs["apiVersion"] = "mcpg.dev/v1alpha1";
|
|
66
|
+
resourceInputs["kind"] = "MCPGPluginMirror";
|
|
67
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
68
|
+
resourceInputs["spec"] = args?.spec;
|
|
69
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
70
|
+
} else {
|
|
71
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
74
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
76
|
+
}
|
|
77
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
|
+
super(MCPGPluginMirror.__pulumiType, name, resourceInputs, opts);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* The set of arguments for constructing a MCPGPluginMirror resource.
|
|
84
|
+
*/
|
|
85
|
+
export interface MCPGPluginMirrorArgs {
|
|
86
|
+
/**
|
|
87
|
+
* 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
|
|
88
|
+
*/
|
|
89
|
+
apiVersion?: pulumi.Input<"mcpg.dev/v1alpha1" | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* 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
|
|
92
|
+
*/
|
|
93
|
+
kind?: pulumi.Input<"MCPGPluginMirror" | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
96
|
+
*/
|
|
97
|
+
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta | undefined>;
|
|
98
|
+
spec?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginMirrorSpec | undefined>;
|
|
99
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as inputs from "../../types/input";
|
|
6
|
+
import * as outputs from "../../types/output";
|
|
7
|
+
import * as utilities from "../../utilities";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* MCPGPluginMirrorList is a list of MCPGPluginMirror
|
|
11
|
+
*/
|
|
12
|
+
export class MCPGPluginMirrorList extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing MCPGPluginMirrorList resource's state with the given name, ID, and optional extra
|
|
15
|
+
* properties used to qualify the lookup.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resulting resource.
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): MCPGPluginMirrorList {
|
|
22
|
+
return new MCPGPluginMirrorList(name, undefined as any, { ...opts, id: id });
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
public static readonly __pulumiType = 'kubernetes:mcpg.dev/v1alpha1:MCPGPluginMirrorList';
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Returns true if the given object is an instance of MCPGPluginMirrorList. This is designed to work even
|
|
30
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
31
|
+
*/
|
|
32
|
+
public static isInstance(obj: any): obj is MCPGPluginMirrorList {
|
|
33
|
+
if (obj === undefined || obj === null) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
return obj['__pulumiType'] === MCPGPluginMirrorList.__pulumiType;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* 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
|
|
41
|
+
*/
|
|
42
|
+
declare public readonly apiVersion: pulumi.Output<"mcpg.dev/v1alpha1">;
|
|
43
|
+
/**
|
|
44
|
+
* List of mcpgpluginmirrors. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
45
|
+
*/
|
|
46
|
+
declare public readonly items: pulumi.Output<outputs.mcpg.v1alpha1.MCPGPluginMirror[]>;
|
|
47
|
+
/**
|
|
48
|
+
* 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
|
|
49
|
+
*/
|
|
50
|
+
declare public readonly kind: pulumi.Output<"MCPGPluginMirrorList">;
|
|
51
|
+
/**
|
|
52
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
53
|
+
*/
|
|
54
|
+
declare public readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Create a MCPGPluginMirrorList resource with the given unique name, arguments, and options.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resource.
|
|
60
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
61
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
62
|
+
*/
|
|
63
|
+
constructor(name: string, args?: MCPGPluginMirrorListArgs, opts?: pulumi.CustomResourceOptions) {
|
|
64
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
if (!opts.id) {
|
|
67
|
+
if (args?.items === undefined && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'items'");
|
|
69
|
+
}
|
|
70
|
+
resourceInputs["apiVersion"] = "mcpg.dev/v1alpha1";
|
|
71
|
+
resourceInputs["items"] = args?.items;
|
|
72
|
+
resourceInputs["kind"] = "MCPGPluginMirrorList";
|
|
73
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
74
|
+
} else {
|
|
75
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["items"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
super(MCPGPluginMirrorList.__pulumiType, name, resourceInputs, opts);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* The set of arguments for constructing a MCPGPluginMirrorList resource.
|
|
87
|
+
*/
|
|
88
|
+
export interface MCPGPluginMirrorListArgs {
|
|
89
|
+
/**
|
|
90
|
+
* 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
|
|
91
|
+
*/
|
|
92
|
+
apiVersion?: pulumi.Input<"mcpg.dev/v1alpha1" | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* List of mcpgpluginmirrors. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
95
|
+
*/
|
|
96
|
+
items: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginMirror>[]>;
|
|
97
|
+
/**
|
|
98
|
+
* 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
|
|
99
|
+
*/
|
|
100
|
+
kind?: pulumi.Input<"MCPGPluginMirrorList" | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
103
|
+
*/
|
|
104
|
+
metadata?: pulumi.Input<inputs.meta.v1.ListMeta | undefined>;
|
|
105
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as inputs from "../../types/input";
|
|
6
|
+
import * as outputs from "../../types/output";
|
|
7
|
+
import * as utilities from "../../utilities";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
11
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
12
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
13
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
14
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
15
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
16
|
+
* Auto-generated derived type for MCPGPluginMirrorSpec via `CustomResource`
|
|
17
|
+
*/
|
|
18
|
+
export class MCPGPluginMirrorPatch extends pulumi.CustomResource {
|
|
19
|
+
/**
|
|
20
|
+
* Get an existing MCPGPluginMirrorPatch resource's state with the given name, ID, and optional extra
|
|
21
|
+
* properties used to qualify the lookup.
|
|
22
|
+
*
|
|
23
|
+
* @param name The _unique_ name of the resulting resource.
|
|
24
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): MCPGPluginMirrorPatch {
|
|
28
|
+
return new MCPGPluginMirrorPatch(name, undefined as any, { ...opts, id: id });
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
public static readonly __pulumiType = 'kubernetes:mcpg.dev/v1alpha1:MCPGPluginMirrorPatch';
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of MCPGPluginMirrorPatch. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
public static isInstance(obj: any): obj is MCPGPluginMirrorPatch {
|
|
39
|
+
if (obj === undefined || obj === null) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
return obj['__pulumiType'] === MCPGPluginMirrorPatch.__pulumiType;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* 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
|
|
47
|
+
*/
|
|
48
|
+
declare public readonly apiVersion: pulumi.Output<"mcpg.dev/v1alpha1">;
|
|
49
|
+
/**
|
|
50
|
+
* 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
|
|
51
|
+
*/
|
|
52
|
+
declare public readonly kind: pulumi.Output<"MCPGPluginMirror">;
|
|
53
|
+
/**
|
|
54
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
55
|
+
*/
|
|
56
|
+
declare public readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
|
57
|
+
declare public readonly spec: pulumi.Output<outputs.mcpg.v1alpha1.MCPGPluginMirrorSpecPatch>;
|
|
58
|
+
declare public /*out*/ readonly status: pulumi.Output<outputs.mcpg.v1alpha1.MCPGPluginMirrorStatusPatch>;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Create a MCPGPluginMirrorPatch resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args?: MCPGPluginMirrorPatchArgs, opts?: pulumi.CustomResourceOptions) {
|
|
68
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
69
|
+
opts = opts || {};
|
|
70
|
+
if (!opts.id) {
|
|
71
|
+
resourceInputs["apiVersion"] = "mcpg.dev/v1alpha1";
|
|
72
|
+
resourceInputs["kind"] = "MCPGPluginMirror";
|
|
73
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
74
|
+
resourceInputs["spec"] = args?.spec;
|
|
75
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
76
|
+
} else {
|
|
77
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
82
|
+
}
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
84
|
+
super(MCPGPluginMirrorPatch.__pulumiType, name, resourceInputs, opts);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* The set of arguments for constructing a MCPGPluginMirrorPatch resource.
|
|
90
|
+
*/
|
|
91
|
+
export interface MCPGPluginMirrorPatchArgs {
|
|
92
|
+
/**
|
|
93
|
+
* 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
|
|
94
|
+
*/
|
|
95
|
+
apiVersion?: pulumi.Input<"mcpg.dev/v1alpha1" | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* 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
|
|
98
|
+
*/
|
|
99
|
+
kind?: pulumi.Input<"MCPGPluginMirror" | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
102
|
+
*/
|
|
103
|
+
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch | undefined>;
|
|
104
|
+
spec?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginMirrorSpecPatch | undefined>;
|
|
105
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as inputs from "../../types/input";
|
|
6
|
+
import * as outputs from "../../types/output";
|
|
7
|
+
import * as utilities from "../../utilities";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
11
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
12
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
13
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
14
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
15
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
16
|
+
* Auto-generated derived type for MCPGPluginSpec via `CustomResource`
|
|
17
|
+
*/
|
|
18
|
+
export class MCPGPluginPatch extends pulumi.CustomResource {
|
|
19
|
+
/**
|
|
20
|
+
* Get an existing MCPGPluginPatch resource's state with the given name, ID, and optional extra
|
|
21
|
+
* properties used to qualify the lookup.
|
|
22
|
+
*
|
|
23
|
+
* @param name The _unique_ name of the resulting resource.
|
|
24
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): MCPGPluginPatch {
|
|
28
|
+
return new MCPGPluginPatch(name, undefined as any, { ...opts, id: id });
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
public static readonly __pulumiType = 'kubernetes:mcpg.dev/v1alpha1:MCPGPluginPatch';
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of MCPGPluginPatch. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
public static isInstance(obj: any): obj is MCPGPluginPatch {
|
|
39
|
+
if (obj === undefined || obj === null) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
return obj['__pulumiType'] === MCPGPluginPatch.__pulumiType;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* 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
|
|
47
|
+
*/
|
|
48
|
+
declare public readonly apiVersion: pulumi.Output<"mcpg.dev/v1alpha1">;
|
|
49
|
+
/**
|
|
50
|
+
* 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
|
|
51
|
+
*/
|
|
52
|
+
declare public readonly kind: pulumi.Output<"MCPGPlugin">;
|
|
53
|
+
/**
|
|
54
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
55
|
+
*/
|
|
56
|
+
declare public readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
|
57
|
+
declare public readonly spec: pulumi.Output<outputs.mcpg.v1alpha1.MCPGPluginSpecPatch>;
|
|
58
|
+
declare public /*out*/ readonly status: pulumi.Output<outputs.mcpg.v1alpha1.MCPGPluginStatusPatch>;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Create a MCPGPluginPatch resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args?: MCPGPluginPatchArgs, opts?: pulumi.CustomResourceOptions) {
|
|
68
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
69
|
+
opts = opts || {};
|
|
70
|
+
if (!opts.id) {
|
|
71
|
+
resourceInputs["apiVersion"] = "mcpg.dev/v1alpha1";
|
|
72
|
+
resourceInputs["kind"] = "MCPGPlugin";
|
|
73
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
74
|
+
resourceInputs["spec"] = args?.spec;
|
|
75
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
76
|
+
} else {
|
|
77
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
82
|
+
}
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
84
|
+
super(MCPGPluginPatch.__pulumiType, name, resourceInputs, opts);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* The set of arguments for constructing a MCPGPluginPatch resource.
|
|
90
|
+
*/
|
|
91
|
+
export interface MCPGPluginPatchArgs {
|
|
92
|
+
/**
|
|
93
|
+
* 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
|
|
94
|
+
*/
|
|
95
|
+
apiVersion?: pulumi.Input<"mcpg.dev/v1alpha1" | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* 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
|
|
98
|
+
*/
|
|
99
|
+
kind?: pulumi.Input<"MCPGPlugin" | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
102
|
+
*/
|
|
103
|
+
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch | undefined>;
|
|
104
|
+
spec?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSpecPatch | undefined>;
|
|
105
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as inputs from "../../types/input";
|
|
6
|
+
import * as outputs from "../../types/output";
|
|
7
|
+
import * as utilities from "../../utilities";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Auto-generated derived type for MCPGPluginSetSpec via `CustomResource`
|
|
11
|
+
*/
|
|
12
|
+
export class MCPGPluginSet extends pulumi.CustomResource {
|
|
13
|
+
/**
|
|
14
|
+
* Get an existing MCPGPluginSet resource's state with the given name, ID, and optional extra
|
|
15
|
+
* properties used to qualify the lookup.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resulting resource.
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): MCPGPluginSet {
|
|
22
|
+
return new MCPGPluginSet(name, undefined as any, { ...opts, id: id });
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
public static readonly __pulumiType = 'kubernetes:mcpg.dev/v1alpha1:MCPGPluginSet';
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Returns true if the given object is an instance of MCPGPluginSet. This is designed to work even
|
|
30
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
31
|
+
*/
|
|
32
|
+
public static isInstance(obj: any): obj is MCPGPluginSet {
|
|
33
|
+
if (obj === undefined || obj === null) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
return obj['__pulumiType'] === MCPGPluginSet.__pulumiType;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* 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
|
|
41
|
+
*/
|
|
42
|
+
declare public readonly apiVersion: pulumi.Output<"mcpg.dev/v1alpha1">;
|
|
43
|
+
/**
|
|
44
|
+
* 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
|
|
45
|
+
*/
|
|
46
|
+
declare public readonly kind: pulumi.Output<"MCPGPluginSet">;
|
|
47
|
+
/**
|
|
48
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
49
|
+
*/
|
|
50
|
+
declare public readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
|
51
|
+
declare public readonly spec: pulumi.Output<outputs.mcpg.v1alpha1.MCPGPluginSetSpec>;
|
|
52
|
+
declare public /*out*/ readonly status: pulumi.Output<outputs.mcpg.v1alpha1.MCPGPluginSetStatus>;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Create a MCPGPluginSet resource with the given unique name, arguments, and options.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resource.
|
|
58
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
59
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
60
|
+
*/
|
|
61
|
+
constructor(name: string, args?: MCPGPluginSetArgs, opts?: pulumi.CustomResourceOptions) {
|
|
62
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
if (!opts.id) {
|
|
65
|
+
resourceInputs["apiVersion"] = "mcpg.dev/v1alpha1";
|
|
66
|
+
resourceInputs["kind"] = "MCPGPluginSet";
|
|
67
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
68
|
+
resourceInputs["spec"] = args?.spec;
|
|
69
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
70
|
+
} else {
|
|
71
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
74
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
76
|
+
}
|
|
77
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
|
+
super(MCPGPluginSet.__pulumiType, name, resourceInputs, opts);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* The set of arguments for constructing a MCPGPluginSet resource.
|
|
84
|
+
*/
|
|
85
|
+
export interface MCPGPluginSetArgs {
|
|
86
|
+
/**
|
|
87
|
+
* 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
|
|
88
|
+
*/
|
|
89
|
+
apiVersion?: pulumi.Input<"mcpg.dev/v1alpha1" | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* 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
|
|
92
|
+
*/
|
|
93
|
+
kind?: pulumi.Input<"MCPGPluginSet" | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
96
|
+
*/
|
|
97
|
+
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta | undefined>;
|
|
98
|
+
spec?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSetSpec | undefined>;
|
|
99
|
+
}
|