@pinecone-database/pulumi
Version:
<img src="img/pinecone.svg" width="50%">
64 lines • 3.14 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.types = exports.config = exports.Provider = exports.PineconeIndex = exports.PineconeCollection = exports.lookupPineconeIndexOutput = exports.lookupPineconeIndex = exports.lookupPineconeCollectionOutput = exports.lookupPineconeCollection = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
exports.lookupPineconeCollection = null;
exports.lookupPineconeCollectionOutput = null;
utilities.lazyLoad(exports, ["lookupPineconeCollection", "lookupPineconeCollectionOutput"], () => require("./lookupPineconeCollection"));
exports.lookupPineconeIndex = null;
exports.lookupPineconeIndexOutput = null;
utilities.lazyLoad(exports, ["lookupPineconeIndex", "lookupPineconeIndexOutput"], () => require("./lookupPineconeIndex"));
exports.PineconeCollection = null;
utilities.lazyLoad(exports, ["PineconeCollection"], () => require("./pineconeCollection"));
exports.PineconeIndex = null;
utilities.lazyLoad(exports, ["PineconeIndex"], () => require("./pineconeIndex"));
exports.Provider = null;
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
// Export enums:
__exportStar(require("./types/enums"), exports);
// 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 "pinecone:index:PineconeCollection":
return new exports.PineconeCollection(name, undefined, { urn });
case "pinecone:index:PineconeIndex":
return new exports.PineconeIndex(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("pinecone", "index", _module);
pulumi.runtime.registerResourcePackage("pinecone", {
version: utilities.getVersion(),
constructProvider: (name, type, urn) => {
if (type !== "pulumi:providers:pinecone") {
throw new Error(`unknown provider type ${type}`);
}
return new exports.Provider(name, undefined, { urn });
},
});
//# sourceMappingURL=index.js.map