UNPKG

kubernetes-models

Version:
25 lines (24 loc) 1.24 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IoK8sApiExtensionsV1beta1Ingress = exports.Ingress = void 0; const base_1 = require("@kubernetes-models/base"); const IoK8sApiExtensionsV1beta1Ingress_1 = require("../../_schemas/IoK8sApiExtensionsV1beta1Ingress.js"); /** * Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc. DEPRECATED - This group version of Ingress is deprecated by networking.k8s.io/v1beta1 Ingress. See the release notes for more information. * @deprecated */ class Ingress extends base_1.Model { constructor(data) { super({ apiVersion: Ingress.apiVersion, kind: Ingress.kind, ...data }); } } exports.Ingress = Ingress; exports.IoK8sApiExtensionsV1beta1Ingress = Ingress; Ingress.apiVersion = "extensions/v1beta1"; Ingress.kind = "Ingress"; Ingress.is = (0, base_1.createTypeMetaGuard)(Ingress); (0, base_1.setSchema)(Ingress, "io.k8s.api.extensions.v1beta1.Ingress", IoK8sApiExtensionsV1beta1Ingress_1.addSchema);