UNPKG

kubernetes-models

Version:
25 lines (24 loc) 921 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IoK8sApiCoreV1Binding = exports.Binding = void 0; const base_1 = require("@kubernetes-models/base"); const IoK8sApiCoreV1Binding_1 = require("../_schemas/IoK8sApiCoreV1Binding.js"); /** * Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead. * @deprecated */ class Binding extends base_1.Model { constructor(data) { super({ apiVersion: Binding.apiVersion, kind: Binding.kind, ...data }); } } exports.Binding = Binding; exports.IoK8sApiCoreV1Binding = Binding; Binding.apiVersion = "v1"; Binding.kind = "Binding"; Binding.is = (0, base_1.createTypeMetaGuard)(Binding); (0, base_1.setSchema)(Binding, "io.k8s.api.core.v1.Binding", IoK8sApiCoreV1Binding_1.addSchema);