@pulumi/kubernetes
Version:
[](https://travis-ci.com/pulumi/pulumi-kubernetes) [](https://slack.pulumi.com) [![NPM
30 lines • 1.41 kB
JavaScript
;
// *** WARNING: this file was generated by pulumigen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.CronJobPatch = exports.CronJobList = exports.CronJob = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
exports.CronJob = null;
utilities.lazyLoad(exports, ["CronJob"], () => require("./cronJob"));
exports.CronJobList = null;
utilities.lazyLoad(exports, ["CronJobList"], () => require("./cronJobList"));
exports.CronJobPatch = null;
utilities.lazyLoad(exports, ["CronJobPatch"], () => require("./cronJobPatch"));
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "kubernetes:batch/v2alpha1:CronJob":
return new exports.CronJob(name, undefined, { urn });
case "kubernetes:batch/v2alpha1:CronJobList":
return new exports.CronJobList(name, undefined, { urn });
case "kubernetes:batch/v2alpha1:CronJobPatch":
return new exports.CronJobPatch(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("kubernetes", "batch/v2alpha1", _module);
//# sourceMappingURL=index.js.map