UNPKG

kubernetes-models

Version:
14 lines (13 loc) 793 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IoK8sApiCoreV1WeightedPodAffinityTerm = exports.WeightedPodAffinityTerm = void 0; const base_1 = require("@kubernetes-models/base"); const IoK8sApiCoreV1WeightedPodAffinityTerm_1 = require("../_schemas/IoK8sApiCoreV1WeightedPodAffinityTerm.js"); /** * The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) */ class WeightedPodAffinityTerm extends base_1.Model { } exports.WeightedPodAffinityTerm = WeightedPodAffinityTerm; exports.IoK8sApiCoreV1WeightedPodAffinityTerm = WeightedPodAffinityTerm; (0, base_1.setSchema)(WeightedPodAffinityTerm, "io.k8s.api.core.v1.WeightedPodAffinityTerm", IoK8sApiCoreV1WeightedPodAffinityTerm_1.addSchema);