@komminarlabs/cratedb
Version:
A Pulumi package for creating and managing CrateDB resources.
60 lines • 3.08 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.types = exports.config = exports.Provider = exports.Project = exports.Organization = exports.getProjectOutput = exports.getProject = exports.getOrganizationsOutput = exports.getOrganizations = exports.getOrganizationOutput = exports.getOrganization = exports.getClusterOutput = exports.getCluster = exports.Cluster = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
exports.Cluster = null;
utilities.lazyLoad(exports, ["Cluster"], () => require("./cluster"));
exports.getCluster = null;
exports.getClusterOutput = null;
utilities.lazyLoad(exports, ["getCluster", "getClusterOutput"], () => require("./getCluster"));
exports.getOrganization = null;
exports.getOrganizationOutput = null;
utilities.lazyLoad(exports, ["getOrganization", "getOrganizationOutput"], () => require("./getOrganization"));
exports.getOrganizations = null;
exports.getOrganizationsOutput = null;
utilities.lazyLoad(exports, ["getOrganizations", "getOrganizationsOutput"], () => require("./getOrganizations"));
exports.getProject = null;
exports.getProjectOutput = null;
utilities.lazyLoad(exports, ["getProject", "getProjectOutput"], () => require("./getProject"));
exports.Organization = null;
utilities.lazyLoad(exports, ["Organization"], () => require("./organization"));
exports.Project = null;
utilities.lazyLoad(exports, ["Project"], () => require("./project"));
exports.Provider = null;
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
// Export sub-modules:
const config = require("./config");
exports.config = config;
const types = require("./types");
exports.types = types;
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "cratedb:index/cluster:Cluster":
return new exports.Cluster(name, undefined, { urn });
case "cratedb:index/organization:Organization":
return new exports.Organization(name, undefined, { urn });
case "cratedb:index/project:Project":
return new exports.Project(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("cratedb", "index/cluster", _module);
pulumi.runtime.registerResourceModule("cratedb", "index/organization", _module);
pulumi.runtime.registerResourceModule("cratedb", "index/project", _module);
pulumi.runtime.registerResourcePackage("cratedb", {
version: utilities.getVersion(),
constructProvider: (name, type, urn) => {
if (type !== "pulumi:providers:cratedb") {
throw new Error(`unknown provider type ${type}`);
}
return new exports.Provider(name, undefined, { urn });
},
});
//# sourceMappingURL=index.js.map