"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.XMeshPatch = exports.XMeshList = exports.XMesh = exports.XListenerSetPatch = exports.XListenerSetList = exports.XListenerSet = exports.XBackendTrafficPolicyPatch = exports.XBackendTrafficPolicyList = exports.XBackendTrafficPolicy = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
exports.XBackendTrafficPolicy = null;
utilities.lazyLoad(exports, ["XBackendTrafficPolicy"], () => require("./xbackendTrafficPolicy"));
exports.XBackendTrafficPolicyList = null;
utilities.lazyLoad(exports, ["XBackendTrafficPolicyList"], () => require("./xbackendTrafficPolicyList"));
exports.XBackendTrafficPolicyPatch = null;
utilities.lazyLoad(exports, ["XBackendTrafficPolicyPatch"], () => require("./xbackendTrafficPolicyPatch"));
exports.XListenerSet = null;
utilities.lazyLoad(exports, ["XListenerSet"], () => require("./xlistenerSet"));
exports.XListenerSetList = null;
utilities.lazyLoad(exports, ["XListenerSetList"], () => require("./xlistenerSetList"));
exports.XListenerSetPatch = null;
utilities.lazyLoad(exports, ["XListenerSetPatch"], () => require("./xlistenerSetPatch"));
exports.XMesh = null;
utilities.lazyLoad(exports, ["XMesh"], () => require("./xmesh"));
exports.XMeshList = null;
utilities.lazyLoad(exports, ["XMeshList"], () => require("./xmeshList"));
exports.XMeshPatch = null;
utilities.lazyLoad(exports, ["XMeshPatch"], () => require("./xmeshPatch"));
const _module = {
    version: utilities.getVersion(),
    construct: (name, type, urn) => {
        switch (type) {
            case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicy":
                return new exports.XBackendTrafficPolicy(name, undefined, { urn });
            case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyList":
                return new exports.XBackendTrafficPolicyList(name, undefined, { urn });
            case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyPatch":
                return new exports.XBackendTrafficPolicyPatch(name, undefined, { urn });
            case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSet":
                return new exports.XListenerSet(name, undefined, { urn });
            case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetList":
                return new exports.XListenerSetList(name, undefined, { urn });
            case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetPatch":
                return new exports.XListenerSetPatch(name, undefined, { urn });
            case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMesh":
                return new exports.XMesh(name, undefined, { urn });
            case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMeshList":
                return new exports.XMeshList(name, undefined, { urn });
            case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMeshPatch":
                return new exports.XMeshPatch(name, undefined, { urn });
            default:
                throw new Error(`unknown resource type ${type}`);
        }
    },
};
pulumi.runtime.registerResourceModule("crds", "gateway.networking.x-k8s.io/v1alpha1", _module);
