@rugal/pulumi-istio
Version:
41 lines • 2.1 kB
JavaScript
;
// *** WARNING: this file was generated by crd2pulumi. ***
// *** 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;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (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 });
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
// Export members:
__exportStar(require("./authorizationPolicy"), exports);
__exportStar(require("./peerAuthentication"), exports);
__exportStar(require("./requestAuthentication"), exports);
// Import resources to register:
const authorizationPolicy_1 = require("./authorizationPolicy");
const peerAuthentication_1 = require("./peerAuthentication");
const requestAuthentication_1 = require("./requestAuthentication");
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "kubernetes:security.istio.io/v1beta1:AuthorizationPolicy":
return new authorizationPolicy_1.AuthorizationPolicy(name, undefined, { urn });
case "kubernetes:security.istio.io/v1beta1:PeerAuthentication":
return new peerAuthentication_1.PeerAuthentication(name, undefined, { urn });
case "kubernetes:security.istio.io/v1beta1:RequestAuthentication":
return new requestAuthentication_1.RequestAuthentication(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("crds", "security.istio.io/v1beta1", _module);
//# sourceMappingURL=index.js.map