@pulumi/kubernetes
Version:
[](https://github.com/pulumi/pulumi-kubernetes/actions) [](https://slack.pulumi.com) [;
exports.EndpointSlicePatch = exports.EndpointSliceList = exports.EndpointSlice = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
exports.EndpointSlice = null;
utilities.lazyLoad(exports, ["EndpointSlice"], () => require("./endpointSlice"));
exports.EndpointSliceList = null;
utilities.lazyLoad(exports, ["EndpointSliceList"], () => require("./endpointSliceList"));
exports.EndpointSlicePatch = null;
utilities.lazyLoad(exports, ["EndpointSlicePatch"], () => require("./endpointSlicePatch"));
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "kubernetes:discovery.k8s.io/v1:EndpointSlice":
return new exports.EndpointSlice(name, undefined, { urn });
case "kubernetes:discovery.k8s.io/v1:EndpointSliceList":
return new exports.EndpointSliceList(name, undefined, { urn });
case "kubernetes:discovery.k8s.io/v1:EndpointSlicePatch":
return new exports.EndpointSlicePatch(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("kubernetes", "discovery.k8s.io/v1", _module);
//# sourceMappingURL=index.js.map