"use strict";
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.UDPRoutePatch = exports.UDPRouteList = exports.UDPRoute = exports.TLSRoutePatch = exports.TLSRouteList = exports.TLSRoute = exports.TCPRoutePatch = exports.TCPRouteList = exports.TCPRoute = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
exports.TCPRoute = null;
utilities.lazyLoad(exports, ["TCPRoute"], () => require("./tcproute"));
exports.TCPRouteList = null;
utilities.lazyLoad(exports, ["TCPRouteList"], () => require("./tcprouteList"));
exports.TCPRoutePatch = null;
utilities.lazyLoad(exports, ["TCPRoutePatch"], () => require("./tcproutePatch"));
exports.TLSRoute = null;
utilities.lazyLoad(exports, ["TLSRoute"], () => require("./tlsroute"));
exports.TLSRouteList = null;
utilities.lazyLoad(exports, ["TLSRouteList"], () => require("./tlsrouteList"));
exports.TLSRoutePatch = null;
utilities.lazyLoad(exports, ["TLSRoutePatch"], () => require("./tlsroutePatch"));
exports.UDPRoute = null;
utilities.lazyLoad(exports, ["UDPRoute"], () => require("./udproute"));
exports.UDPRouteList = null;
utilities.lazyLoad(exports, ["UDPRouteList"], () => require("./udprouteList"));
exports.UDPRoutePatch = null;
utilities.lazyLoad(exports, ["UDPRoutePatch"], () => require("./udproutePatch"));
const _module = {
    version: utilities.getVersion(),
    construct: (name, type, urn) => {
        switch (type) {
            case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoute":
                return new exports.TCPRoute(name, undefined, { urn });
            case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRouteList":
                return new exports.TCPRouteList(name, undefined, { urn });
            case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoutePatch":
                return new exports.TCPRoutePatch(name, undefined, { urn });
            case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoute":
                return new exports.TLSRoute(name, undefined, { urn });
            case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRouteList":
                return new exports.TLSRouteList(name, undefined, { urn });
            case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoutePatch":
                return new exports.TLSRoutePatch(name, undefined, { urn });
            case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoute":
                return new exports.UDPRoute(name, undefined, { urn });
            case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRouteList":
                return new exports.UDPRouteList(name, undefined, { urn });
            case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoutePatch":
                return new exports.UDPRoutePatch(name, undefined, { urn });
            default:
                throw new Error(`unknown resource type ${type}`);
        }
    },
};
pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1alpha2", _module);
