@kilic.dev/pulumi-k8s-crds 1.1.9 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/acme/v1/challenge.d.ts +22 -5
- package/dist/acme/v1/challenge.js +10 -1
- package/dist/acme/v1/challengeList.d.ts +69 -0
- package/dist/acme/v1/challengeList.js +103 -0
- package/dist/acme/v1/challengePatch.d.ts +71 -0
- package/dist/acme/v1/challengePatch.js +106 -0
- package/dist/acme/v1/index.d.ts +12 -0
- package/dist/acme/v1/index.js +17 -1
- package/dist/acme/v1/order.d.ts +22 -5
- package/dist/acme/v1/order.js +10 -1
- package/dist/acme/v1/orderList.d.ts +69 -0
- package/dist/acme/v1/orderList.js +103 -0
- package/dist/acme/v1/orderPatch.d.ts +71 -0
- package/dist/acme/v1/orderPatch.js +106 -0
- package/dist/argoproj/v1alpha1/appProject.d.ts +18 -13
- package/dist/argoproj/v1alpha1/appProject.js +9 -6
- package/dist/argoproj/v1alpha1/appProjectList.d.ts +69 -0
- package/dist/argoproj/v1alpha1/appProjectList.js +103 -0
- package/dist/argoproj/v1alpha1/appProjectPatch.d.ts +76 -0
- package/dist/argoproj/v1alpha1/appProjectPatch.js +111 -0
- package/dist/argoproj/v1alpha1/application.d.ts +17 -18
- package/dist/argoproj/v1alpha1/application.js +9 -9
- package/dist/argoproj/v1alpha1/applicationList.d.ts +69 -0
- package/dist/argoproj/v1alpha1/applicationList.js +103 -0
- package/dist/argoproj/v1alpha1/applicationPatch.d.ts +73 -0
- package/dist/argoproj/v1alpha1/applicationPatch.js +109 -0
- package/dist/argoproj/v1alpha1/applicationSet.d.ts +22 -5
- package/dist/argoproj/v1alpha1/applicationSet.js +10 -1
- package/dist/argoproj/v1alpha1/applicationSetList.d.ts +69 -0
- package/dist/argoproj/v1alpha1/applicationSetList.js +103 -0
- package/dist/argoproj/v1alpha1/applicationSetPatch.d.ts +70 -0
- package/dist/argoproj/v1alpha1/applicationSetPatch.js +105 -0
- package/dist/argoproj/v1alpha1/index.d.ts +18 -0
- package/dist/argoproj/v1alpha1/index.js +25 -1
- package/dist/{certmanager → cert_manager}/v1/certificate.d.ts +18 -21
- package/dist/{certmanager → cert_manager}/v1/certificate.js +9 -10
- package/dist/cert_manager/v1/certificateList.d.ts +69 -0
- package/dist/cert_manager/v1/certificateList.js +103 -0
- package/dist/cert_manager/v1/certificatePatch.d.ts +74 -0
- package/dist/cert_manager/v1/certificatePatch.js +109 -0
- package/dist/{certmanager → cert_manager}/v1/certificateRequest.d.ts +18 -21
- package/dist/{certmanager → cert_manager}/v1/certificateRequest.js +9 -10
- package/dist/cert_manager/v1/certificateRequestList.d.ts +69 -0
- package/dist/cert_manager/v1/certificateRequestList.js +103 -0
- package/dist/cert_manager/v1/certificateRequestPatch.d.ts +79 -0
- package/dist/cert_manager/v1/certificateRequestPatch.js +114 -0
- package/dist/{certmanager → cert_manager}/v1/clusterIssuer.d.ts +18 -13
- package/dist/{certmanager → cert_manager}/v1/clusterIssuer.js +9 -6
- package/dist/cert_manager/v1/clusterIssuerList.d.ts +69 -0
- package/dist/cert_manager/v1/clusterIssuerList.js +103 -0
- package/dist/cert_manager/v1/clusterIssuerPatch.d.ts +75 -0
- package/dist/cert_manager/v1/clusterIssuerPatch.js +110 -0
- package/dist/cert_manager/v1/index.d.ts +36 -0
- package/dist/{certmanager → cert_manager}/v1/index.js +33 -1
- package/dist/{certmanager → cert_manager}/v1/issuer.d.ts +18 -13
- package/dist/{certmanager → cert_manager}/v1/issuer.js +9 -6
- package/dist/cert_manager/v1/issuerList.d.ts +69 -0
- package/dist/cert_manager/v1/issuerList.js +103 -0
- package/dist/cert_manager/v1/issuerPatch.d.ts +74 -0
- package/dist/cert_manager/v1/issuerPatch.js +109 -0
- package/dist/cilium/index.d.ts +2 -0
- package/dist/cilium/index.js +31 -0
- package/dist/cilium/v2alpha1/ciliumBGPAdvertisement.d.ts +64 -0
- package/dist/cilium/v2alpha1/ciliumBGPAdvertisement.js +97 -0
- package/dist/cilium/v2alpha1/ciliumBGPAdvertisementList.d.ts +69 -0
- package/dist/cilium/v2alpha1/ciliumBGPAdvertisementList.js +103 -0
- package/dist/cilium/v2alpha1/ciliumBGPAdvertisementPatch.d.ts +70 -0
- package/dist/cilium/v2alpha1/ciliumBGPAdvertisementPatch.js +103 -0
- package/dist/cilium/v2alpha1/ciliumBGPClusterConfig.d.ts +65 -0
- package/dist/cilium/v2alpha1/ciliumBGPClusterConfig.js +100 -0
- package/dist/cilium/v2alpha1/ciliumBGPClusterConfigList.d.ts +69 -0
- package/dist/cilium/v2alpha1/ciliumBGPClusterConfigList.js +103 -0
- package/dist/cilium/v2alpha1/ciliumBGPClusterConfigPatch.d.ts +71 -0
- package/dist/cilium/v2alpha1/ciliumBGPClusterConfigPatch.js +106 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfig.d.ts +66 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfig.js +101 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigList.d.ts +69 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigList.js +103 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverride.d.ts +67 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverride.js +100 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverrideList.d.ts +69 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverrideList.js +103 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverridePatch.d.ts +73 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigOverridePatch.js +106 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigPatch.d.ts +72 -0
- package/dist/cilium/v2alpha1/ciliumBGPNodeConfigPatch.js +107 -0
- package/dist/cilium/v2alpha1/ciliumBGPPeerConfig.d.ts +62 -0
- package/dist/cilium/v2alpha1/ciliumBGPPeerConfig.js +97 -0
- package/dist/cilium/v2alpha1/ciliumBGPPeerConfigList.d.ts +69 -0
- package/dist/cilium/v2alpha1/ciliumBGPPeerConfigList.js +103 -0
- package/dist/cilium/v2alpha1/ciliumBGPPeerConfigPatch.d.ts +70 -0
- package/dist/cilium/v2alpha1/ciliumBGPPeerConfigPatch.js +105 -0
- package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicy.d.ts +65 -0
- package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicy.js +98 -0
- package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyList.d.ts +69 -0
- package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyList.js +103 -0
- package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyPatch.d.ts +71 -0
- package/dist/cilium/v2alpha1/ciliumBGPPeeringPolicyPatch.js +104 -0
- package/dist/cilium/v2alpha1/ciliumCIDRGroup.d.ts +66 -0
- package/dist/cilium/v2alpha1/ciliumCIDRGroup.js +99 -0
- package/dist/cilium/v2alpha1/ciliumCIDRGroupList.d.ts +69 -0
- package/dist/cilium/v2alpha1/ciliumCIDRGroupList.js +103 -0
- package/dist/cilium/v2alpha1/ciliumCIDRGroupPatch.d.ts +72 -0
- package/dist/cilium/v2alpha1/ciliumCIDRGroupPatch.js +105 -0
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicy.d.ts +67 -0
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicy.js +102 -0
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyList.d.ts +69 -0
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyList.js +103 -0
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyPatch.d.ts +73 -0
- package/dist/cilium/v2alpha1/ciliumL2AnnouncementPolicyPatch.js +108 -0
- package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPool.d.ts +67 -0
- package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPool.js +102 -0
- package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPoolList.d.ts +69 -0
- package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPoolList.js +103 -0
- package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPoolPatch.d.ts +73 -0
- package/dist/cilium/v2alpha1/ciliumLoadBalancerIPPoolPatch.js +108 -0
- package/dist/cilium/v2alpha1/ciliumPodIPPool.d.ts +65 -0
- package/dist/cilium/v2alpha1/ciliumPodIPPool.js +98 -0
- package/dist/cilium/v2alpha1/ciliumPodIPPoolList.d.ts +69 -0
- package/dist/cilium/v2alpha1/ciliumPodIPPoolList.js +103 -0
- package/dist/cilium/v2alpha1/ciliumPodIPPoolPatch.d.ts +71 -0
- package/dist/cilium/v2alpha1/ciliumPodIPPoolPatch.js +104 -0
- package/dist/cilium/v2alpha1/index.d.ts +90 -0
- package/dist/cilium/v2alpha1/index.js +160 -0
- package/dist/gateway/index.d.ts +4 -0
- package/dist/gateway/index.js +35 -0
- package/dist/gateway/v1/gateway.d.ts +66 -0
- package/dist/gateway/v1/gateway.js +103 -0
- package/dist/gateway/v1/gatewayClass.d.ts +81 -0
- package/dist/gateway/v1/gatewayClass.js +118 -0
- package/dist/gateway/v1/gatewayClassList.d.ts +69 -0
- package/dist/gateway/v1/gatewayClassList.js +103 -0
- package/dist/gateway/v1/gatewayClassPatch.d.ts +87 -0
- package/dist/gateway/v1/gatewayClassPatch.js +124 -0
- package/dist/gateway/v1/gatewayList.d.ts +69 -0
- package/dist/gateway/v1/gatewayList.js +103 -0
- package/dist/gateway/v1/gatewayPatch.d.ts +72 -0
- package/dist/gateway/v1/gatewayPatch.js +109 -0
- package/dist/gateway/v1/grpcroute.d.ts +91 -0
- package/dist/gateway/v1/grpcroute.js +126 -0
- package/dist/gateway/v1/grpcrouteList.d.ts +69 -0
- package/dist/gateway/v1/grpcrouteList.js +103 -0
- package/dist/gateway/v1/grpcroutePatch.d.ts +97 -0
- package/dist/gateway/v1/grpcroutePatch.js +132 -0
- package/dist/gateway/v1/httproute.d.ts +68 -0
- package/dist/gateway/v1/httproute.js +105 -0
- package/dist/gateway/v1/httprouteList.d.ts +69 -0
- package/dist/gateway/v1/httprouteList.js +103 -0
- package/dist/gateway/v1/httproutePatch.d.ts +74 -0
- package/dist/gateway/v1/httproutePatch.js +111 -0
- package/dist/gateway/v1/index.d.ts +36 -0
- package/dist/gateway/v1/index.js +88 -0
- package/dist/gateway/v1alpha2/index.d.ts +27 -0
- package/dist/gateway/v1alpha2/index.js +76 -0
- package/dist/gateway/v1alpha2/tcproute.d.ts +67 -0
- package/dist/gateway/v1alpha2/tcproute.js +102 -0
- package/dist/gateway/v1alpha2/tcprouteList.d.ts +69 -0
- package/dist/gateway/v1alpha2/tcprouteList.js +103 -0
- package/dist/gateway/v1alpha2/tcproutePatch.d.ts +73 -0
- package/dist/gateway/v1alpha2/tcproutePatch.js +108 -0
- package/dist/gateway/v1alpha2/tlsroute.d.ts +70 -0
- package/dist/gateway/v1alpha2/tlsroute.js +105 -0
- package/dist/gateway/v1alpha2/tlsrouteList.d.ts +69 -0
- package/dist/gateway/v1alpha2/tlsrouteList.js +103 -0
- package/dist/gateway/v1alpha2/tlsroutePatch.d.ts +76 -0
- package/dist/gateway/v1alpha2/tlsroutePatch.js +111 -0
- package/dist/gateway/v1alpha2/udproute.d.ts +67 -0
- package/dist/gateway/v1alpha2/udproute.js +102 -0
- package/dist/gateway/v1alpha2/udprouteList.d.ts +69 -0
- package/dist/gateway/v1alpha2/udprouteList.js +103 -0
- package/dist/gateway/v1alpha2/udproutePatch.d.ts +73 -0
- package/dist/gateway/v1alpha2/udproutePatch.js +108 -0
- package/dist/gateway/v1beta1/gateway.d.ts +66 -0
- package/dist/gateway/v1beta1/gateway.js +103 -0
- package/dist/gateway/v1beta1/gatewayClass.d.ts +81 -0
- package/dist/gateway/v1beta1/gatewayClass.js +118 -0
- package/dist/gateway/v1beta1/gatewayClassList.d.ts +69 -0
- package/dist/gateway/v1beta1/gatewayClassList.js +103 -0
- package/dist/gateway/v1beta1/gatewayClassPatch.d.ts +87 -0
- package/dist/gateway/v1beta1/gatewayClassPatch.js +124 -0
- package/dist/gateway/v1beta1/gatewayList.d.ts +69 -0
- package/dist/gateway/v1beta1/gatewayList.js +103 -0
- package/dist/gateway/v1beta1/gatewayPatch.d.ts +72 -0
- package/dist/gateway/v1beta1/gatewayPatch.js +109 -0
- package/dist/gateway/v1beta1/httproute.d.ts +68 -0
- package/dist/gateway/v1beta1/httproute.js +105 -0
- package/dist/gateway/v1beta1/httprouteList.d.ts +69 -0
- package/dist/gateway/v1beta1/httprouteList.js +103 -0
- package/dist/gateway/v1beta1/httproutePatch.d.ts +74 -0
- package/dist/gateway/v1beta1/httproutePatch.js +111 -0
- package/dist/gateway/v1beta1/index.d.ts +36 -0
- package/dist/gateway/v1beta1/index.js +88 -0
- package/dist/gateway/v1beta1/referenceGrant.d.ts +79 -0
- package/dist/gateway/v1beta1/referenceGrant.js +112 -0
- package/dist/gateway/v1beta1/referenceGrantList.d.ts +69 -0
- package/dist/gateway/v1beta1/referenceGrantList.js +103 -0
- package/dist/gateway/v1beta1/referenceGrantPatch.d.ts +85 -0
- package/dist/gateway/v1beta1/referenceGrantPatch.js +118 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +8 -4
- package/dist/meta/v1.d.ts +1 -0
- package/dist/postgresql/v1/backup.d.ts +18 -19
- package/dist/postgresql/v1/backup.js +10 -11
- package/dist/postgresql/v1/backupList.d.ts +69 -0
- package/dist/postgresql/v1/backupList.js +103 -0
- package/dist/postgresql/v1/backupPatch.d.ts +71 -0
- package/dist/postgresql/v1/backupPatch.js +106 -0
- package/dist/postgresql/v1/cluster.d.ts +18 -19
- package/dist/postgresql/v1/cluster.js +10 -11
- package/dist/postgresql/v1/clusterImageCatalog.d.ts +19 -9
- package/dist/postgresql/v1/clusterImageCatalog.js +8 -3
- package/dist/postgresql/v1/clusterImageCatalogList.d.ts +69 -0
- package/dist/postgresql/v1/clusterImageCatalogList.js +103 -0
- package/dist/postgresql/v1/clusterImageCatalogPatch.d.ts +70 -0
- package/dist/postgresql/v1/clusterImageCatalogPatch.js +103 -0
- package/dist/postgresql/v1/clusterList.d.ts +69 -0
- package/dist/postgresql/v1/clusterList.js +103 -0
- package/dist/postgresql/v1/clusterPatch.d.ts +71 -0
- package/dist/postgresql/v1/clusterPatch.js +106 -0
- package/dist/postgresql/v1/imageCatalog.d.ts +19 -9
- package/dist/postgresql/v1/imageCatalog.js +8 -3
- package/dist/postgresql/v1/imageCatalogList.d.ts +69 -0
- package/dist/postgresql/v1/imageCatalogList.js +103 -0
- package/dist/postgresql/v1/imageCatalogPatch.d.ts +70 -0
- package/dist/postgresql/v1/imageCatalogPatch.js +103 -0
- package/dist/postgresql/v1/index.d.ts +36 -0
- package/dist/postgresql/v1/index.js +49 -1
- package/dist/postgresql/v1/pooler.d.ts +18 -19
- package/dist/postgresql/v1/pooler.js +10 -11
- package/dist/postgresql/v1/poolerList.d.ts +69 -0
- package/dist/postgresql/v1/poolerList.js +103 -0
- package/dist/postgresql/v1/poolerPatch.d.ts +71 -0
- package/dist/postgresql/v1/poolerPatch.js +106 -0
- package/dist/postgresql/v1/scheduledBackup.d.ts +18 -19
- package/dist/postgresql/v1/scheduledBackup.js +10 -11
- package/dist/postgresql/v1/scheduledBackupList.d.ts +69 -0
- package/dist/postgresql/v1/scheduledBackupList.js +103 -0
- package/dist/postgresql/v1/scheduledBackupPatch.d.ts +71 -0
- package/dist/postgresql/v1/scheduledBackupPatch.js +106 -0
- package/dist/types/input.d.ts +73905 -21150
- package/dist/types/input.js +0 -1108
- package/dist/types/output.d.ts +83120 -23860
- package/dist/types/output.js +0 -1107
- package/dist/utilities.js +1 -1
- package/package.json +2 -2
- package/dist/certmanager/v1/index.d.ts +0 -12
- /package/dist/{certmanager → cert_manager}/index.d.ts +0 -0
- /package/dist/{certmanager → cert_manager}/index.js +0 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ClusterImageCatalogPatch = 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
|
+
* ClusterImageCatalog is the Schema for the clusterimagecatalogs API
|
|
39
|
+
*/
|
|
40
|
+
class ClusterImageCatalogPatch extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing ClusterImageCatalogPatch 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 ClusterImageCatalogPatch(name, undefined, { ...opts, id: id });
|
|
51
|
+
}
|
|
52
|
+
/** @internal */
|
|
53
|
+
static __pulumiType = 'kubernetes:postgresql.cnpg.io/v1:ClusterImageCatalogPatch';
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of ClusterImageCatalogPatch. 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'] === ClusterImageCatalogPatch.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* 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
|
|
66
|
+
*/
|
|
67
|
+
apiVersion;
|
|
68
|
+
/**
|
|
69
|
+
* 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
|
|
70
|
+
*/
|
|
71
|
+
kind;
|
|
72
|
+
/**
|
|
73
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
74
|
+
*/
|
|
75
|
+
metadata;
|
|
76
|
+
spec;
|
|
77
|
+
/**
|
|
78
|
+
* Create a ClusterImageCatalogPatch resource with the given unique name, arguments, and options.
|
|
79
|
+
*
|
|
80
|
+
* @param name The _unique_ name of the resource.
|
|
81
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
82
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
83
|
+
*/
|
|
84
|
+
constructor(name, args, opts) {
|
|
85
|
+
let resourceInputs = {};
|
|
86
|
+
opts = opts || {};
|
|
87
|
+
if (!opts.id) {
|
|
88
|
+
resourceInputs["apiVersion"] = "postgresql.cnpg.io/v1";
|
|
89
|
+
resourceInputs["kind"] = "ClusterImageCatalog";
|
|
90
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
91
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
98
|
+
}
|
|
99
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
|
+
super(ClusterImageCatalogPatch.__pulumiType, name, resourceInputs, opts);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.ClusterImageCatalogPatch = ClusterImageCatalogPatch;
|
|
@@ -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
|
+
* ClusterList is a list of Cluster
|
|
6
|
+
*/
|
|
7
|
+
export declare class ClusterList extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing ClusterList 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): ClusterList;
|
|
17
|
+
/** @internal */
|
|
18
|
+
static readonly __pulumiType = "kubernetes:postgresql.cnpg.io/v1:ClusterList";
|
|
19
|
+
/**
|
|
20
|
+
* Returns true if the given object is an instance of ClusterList. This is designed to work even
|
|
21
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
22
|
+
*/
|
|
23
|
+
static isInstance(obj: any): obj is ClusterList;
|
|
24
|
+
/**
|
|
25
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
26
|
+
*/
|
|
27
|
+
readonly apiVersion: pulumi.Output<"postgresql.cnpg.io/v1">;
|
|
28
|
+
/**
|
|
29
|
+
* List of clusters. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
30
|
+
*/
|
|
31
|
+
readonly items: pulumi.Output<outputs.postgresql.v1.Cluster[]>;
|
|
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<"ClusterList">;
|
|
36
|
+
/**
|
|
37
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
38
|
+
*/
|
|
39
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a ClusterList resource with the given unique name, arguments, and options.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resource.
|
|
44
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
46
|
+
*/
|
|
47
|
+
constructor(name: string, args?: ClusterListArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The set of arguments for constructing a ClusterList resource.
|
|
51
|
+
*/
|
|
52
|
+
export interface ClusterListArgs {
|
|
53
|
+
/**
|
|
54
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
55
|
+
*/
|
|
56
|
+
apiVersion?: pulumi.Input<"postgresql.cnpg.io/v1">;
|
|
57
|
+
/**
|
|
58
|
+
* List of clusters. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
59
|
+
*/
|
|
60
|
+
items: pulumi.Input<pulumi.Input<inputs.postgresql.v1.Cluster>[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
63
|
+
*/
|
|
64
|
+
kind?: pulumi.Input<"ClusterList">;
|
|
65
|
+
/**
|
|
66
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
67
|
+
*/
|
|
68
|
+
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ClusterList = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* ClusterList is a list of Cluster
|
|
33
|
+
*/
|
|
34
|
+
class ClusterList extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing ClusterList 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 ClusterList(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'kubernetes:postgresql.cnpg.io/v1:ClusterList';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of ClusterList. 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'] === ClusterList.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
60
|
+
*/
|
|
61
|
+
apiVersion;
|
|
62
|
+
/**
|
|
63
|
+
* List of clusters. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
64
|
+
*/
|
|
65
|
+
items;
|
|
66
|
+
/**
|
|
67
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
68
|
+
*/
|
|
69
|
+
kind;
|
|
70
|
+
/**
|
|
71
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
72
|
+
*/
|
|
73
|
+
metadata;
|
|
74
|
+
/**
|
|
75
|
+
* Create a ClusterList resource with the given unique name, arguments, and options.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resource.
|
|
78
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
+
*/
|
|
81
|
+
constructor(name, args, opts) {
|
|
82
|
+
let resourceInputs = {};
|
|
83
|
+
opts = opts || {};
|
|
84
|
+
if (!opts.id) {
|
|
85
|
+
if ((!args || args.items === undefined) && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'items'");
|
|
87
|
+
}
|
|
88
|
+
resourceInputs["apiVersion"] = "postgresql.cnpg.io/v1";
|
|
89
|
+
resourceInputs["items"] = args ? args.items : undefined;
|
|
90
|
+
resourceInputs["kind"] = "ClusterList";
|
|
91
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["items"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
98
|
+
}
|
|
99
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
|
+
super(ClusterList.__pulumiType, name, resourceInputs, opts);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.ClusterList = ClusterList;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import { ObjectMetaPatch } from "../../meta/v1";
|
|
5
|
+
/**
|
|
6
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
7
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
8
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
9
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
10
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
11
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
12
|
+
* Cluster is the Schema for the PostgreSQL API
|
|
13
|
+
*/
|
|
14
|
+
export declare class ClusterPatch extends pulumi.CustomResource {
|
|
15
|
+
/**
|
|
16
|
+
* Get an existing ClusterPatch resource's state with the given name, ID, and optional extra
|
|
17
|
+
* properties used to qualify the lookup.
|
|
18
|
+
*
|
|
19
|
+
* @param name The _unique_ name of the resulting resource.
|
|
20
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterPatch;
|
|
24
|
+
/** @internal */
|
|
25
|
+
static readonly __pulumiType = "kubernetes:postgresql.cnpg.io/v1:ClusterPatch";
|
|
26
|
+
/**
|
|
27
|
+
* Returns true if the given object is an instance of ClusterPatch. This is designed to work even
|
|
28
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
|
+
*/
|
|
30
|
+
static isInstance(obj: any): obj is ClusterPatch;
|
|
31
|
+
/**
|
|
32
|
+
* 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
|
|
33
|
+
*/
|
|
34
|
+
readonly apiVersion: pulumi.Output<"postgresql.cnpg.io/v1">;
|
|
35
|
+
/**
|
|
36
|
+
* 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
|
|
37
|
+
*/
|
|
38
|
+
readonly kind: pulumi.Output<"Cluster">;
|
|
39
|
+
/**
|
|
40
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
41
|
+
*/
|
|
42
|
+
readonly metadata: pulumi.Output<ObjectMetaPatch>;
|
|
43
|
+
readonly spec: pulumi.Output<outputs.postgresql.v1.ClusterSpecPatch>;
|
|
44
|
+
readonly status: pulumi.Output<outputs.postgresql.v1.ClusterStatusPatch>;
|
|
45
|
+
/**
|
|
46
|
+
* Create a ClusterPatch resource with the given unique name, arguments, and options.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resource.
|
|
49
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
50
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
51
|
+
*/
|
|
52
|
+
constructor(name: string, args?: ClusterPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The set of arguments for constructing a ClusterPatch resource.
|
|
56
|
+
*/
|
|
57
|
+
export interface ClusterPatchArgs {
|
|
58
|
+
/**
|
|
59
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
60
|
+
*/
|
|
61
|
+
apiVersion?: pulumi.Input<"postgresql.cnpg.io/v1">;
|
|
62
|
+
/**
|
|
63
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
64
|
+
*/
|
|
65
|
+
kind?: pulumi.Input<"Cluster">;
|
|
66
|
+
/**
|
|
67
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
68
|
+
*/
|
|
69
|
+
metadata?: pulumi.Input<ObjectMetaPatch>;
|
|
70
|
+
spec?: pulumi.Input<inputs.postgresql.v1.ClusterSpecPatch>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
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.ClusterPatch = 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
|
+
* Cluster is the Schema for the PostgreSQL API
|
|
39
|
+
*/
|
|
40
|
+
class ClusterPatch extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing ClusterPatch 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 ClusterPatch(name, undefined, { ...opts, id: id });
|
|
51
|
+
}
|
|
52
|
+
/** @internal */
|
|
53
|
+
static __pulumiType = 'kubernetes:postgresql.cnpg.io/v1:ClusterPatch';
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of ClusterPatch. 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'] === ClusterPatch.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* 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
|
|
66
|
+
*/
|
|
67
|
+
apiVersion;
|
|
68
|
+
/**
|
|
69
|
+
* 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
|
|
70
|
+
*/
|
|
71
|
+
kind;
|
|
72
|
+
/**
|
|
73
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
74
|
+
*/
|
|
75
|
+
metadata;
|
|
76
|
+
spec;
|
|
77
|
+
status;
|
|
78
|
+
/**
|
|
79
|
+
* Create a ClusterPatch resource with the given unique name, arguments, and options.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resource.
|
|
82
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
83
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
84
|
+
*/
|
|
85
|
+
constructor(name, args, opts) {
|
|
86
|
+
let resourceInputs = {};
|
|
87
|
+
opts = opts || {};
|
|
88
|
+
if (!opts.id) {
|
|
89
|
+
resourceInputs["apiVersion"] = "postgresql.cnpg.io/v1";
|
|
90
|
+
resourceInputs["kind"] = "Cluster";
|
|
91
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
92
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
93
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
101
|
+
}
|
|
102
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
103
|
+
super(ClusterPatch.__pulumiType, name, resourceInputs, opts);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.ClusterPatch = ClusterPatch;
|
|
@@ -22,13 +22,18 @@ export declare class ImageCatalog extends pulumi.CustomResource {
|
|
|
22
22
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
23
|
*/
|
|
24
24
|
static isInstance(obj: any): obj is ImageCatalog;
|
|
25
|
-
readonly apiVersion: pulumi.Output<"postgresql.cnpg.io/v1" | undefined>;
|
|
26
|
-
readonly kind: pulumi.Output<"ImageCatalog" | undefined>;
|
|
27
|
-
readonly metadata: pulumi.Output<ObjectMeta>;
|
|
28
25
|
/**
|
|
29
|
-
*
|
|
30
|
-
|
|
26
|
+
* 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
|
|
27
|
+
*/
|
|
28
|
+
readonly apiVersion: pulumi.Output<"postgresql.cnpg.io/v1">;
|
|
29
|
+
/**
|
|
30
|
+
* 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
|
|
31
31
|
*/
|
|
32
|
+
readonly kind: pulumi.Output<"ImageCatalog">;
|
|
33
|
+
/**
|
|
34
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
35
|
+
*/
|
|
36
|
+
readonly metadata: pulumi.Output<ObjectMeta>;
|
|
32
37
|
readonly spec: pulumi.Output<outputs.postgresql.v1.ImageCatalogSpec>;
|
|
33
38
|
/**
|
|
34
39
|
* Create a ImageCatalog resource with the given unique name, arguments, and options.
|
|
@@ -43,12 +48,17 @@ export declare class ImageCatalog extends pulumi.CustomResource {
|
|
|
43
48
|
* The set of arguments for constructing a ImageCatalog resource.
|
|
44
49
|
*/
|
|
45
50
|
export interface ImageCatalogArgs {
|
|
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
|
+
*/
|
|
46
54
|
apiVersion?: pulumi.Input<"postgresql.cnpg.io/v1">;
|
|
55
|
+
/**
|
|
56
|
+
* 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
|
|
57
|
+
*/
|
|
47
58
|
kind?: pulumi.Input<"ImageCatalog">;
|
|
48
|
-
metadata?: pulumi.Input<ObjectMeta>;
|
|
49
59
|
/**
|
|
50
|
-
*
|
|
51
|
-
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
60
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
52
61
|
*/
|
|
53
|
-
|
|
62
|
+
metadata?: pulumi.Input<ObjectMeta>;
|
|
63
|
+
spec?: pulumi.Input<inputs.postgresql.v1.ImageCatalogSpec>;
|
|
54
64
|
}
|
|
@@ -55,13 +55,18 @@ class ImageCatalog extends pulumi.CustomResource {
|
|
|
55
55
|
}
|
|
56
56
|
return obj['__pulumiType'] === ImageCatalog.__pulumiType;
|
|
57
57
|
}
|
|
58
|
+
/**
|
|
59
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
60
|
+
*/
|
|
58
61
|
apiVersion;
|
|
62
|
+
/**
|
|
63
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
64
|
+
*/
|
|
59
65
|
kind;
|
|
60
|
-
metadata;
|
|
61
66
|
/**
|
|
62
|
-
*
|
|
63
|
-
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
67
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
64
68
|
*/
|
|
69
|
+
metadata;
|
|
65
70
|
spec;
|
|
66
71
|
/**
|
|
67
72
|
* Create a ImageCatalog resource with the given unique name, arguments, and options.
|
|
@@ -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
|
+
* ImageCatalogList is a list of ImageCatalog
|
|
6
|
+
*/
|
|
7
|
+
export declare class ImageCatalogList extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing ImageCatalogList 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): ImageCatalogList;
|
|
17
|
+
/** @internal */
|
|
18
|
+
static readonly __pulumiType = "kubernetes:postgresql.cnpg.io/v1:ImageCatalogList";
|
|
19
|
+
/**
|
|
20
|
+
* Returns true if the given object is an instance of ImageCatalogList. This is designed to work even
|
|
21
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
22
|
+
*/
|
|
23
|
+
static isInstance(obj: any): obj is ImageCatalogList;
|
|
24
|
+
/**
|
|
25
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
26
|
+
*/
|
|
27
|
+
readonly apiVersion: pulumi.Output<"postgresql.cnpg.io/v1">;
|
|
28
|
+
/**
|
|
29
|
+
* List of imagecatalogs. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
30
|
+
*/
|
|
31
|
+
readonly items: pulumi.Output<outputs.postgresql.v1.ImageCatalog[]>;
|
|
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<"ImageCatalogList">;
|
|
36
|
+
/**
|
|
37
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
38
|
+
*/
|
|
39
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
|
40
|
+
/**
|
|
41
|
+
* Create a ImageCatalogList resource with the given unique name, arguments, and options.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resource.
|
|
44
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
46
|
+
*/
|
|
47
|
+
constructor(name: string, args?: ImageCatalogListArgs, opts?: pulumi.CustomResourceOptions);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The set of arguments for constructing a ImageCatalogList resource.
|
|
51
|
+
*/
|
|
52
|
+
export interface ImageCatalogListArgs {
|
|
53
|
+
/**
|
|
54
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
55
|
+
*/
|
|
56
|
+
apiVersion?: pulumi.Input<"postgresql.cnpg.io/v1">;
|
|
57
|
+
/**
|
|
58
|
+
* List of imagecatalogs. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
59
|
+
*/
|
|
60
|
+
items: pulumi.Input<pulumi.Input<inputs.postgresql.v1.ImageCatalog>[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
63
|
+
*/
|
|
64
|
+
kind?: pulumi.Input<"ImageCatalogList">;
|
|
65
|
+
/**
|
|
66
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
67
|
+
*/
|
|
68
|
+
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
|
69
|
+
}
|