UNPKG

kubernetes-models

Version:
25 lines (24 loc) 1.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IoK8sApiAppsV1beta2ReplicaSet = exports.ReplicaSet = void 0; const base_1 = require("@kubernetes-models/base"); const IoK8sApiAppsV1beta2ReplicaSet_1 = require("../../_schemas/IoK8sApiAppsV1beta2ReplicaSet.js"); /** * DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time. * @deprecated */ class ReplicaSet extends base_1.Model { constructor(data) { super({ apiVersion: ReplicaSet.apiVersion, kind: ReplicaSet.kind, ...data }); } } exports.ReplicaSet = ReplicaSet; exports.IoK8sApiAppsV1beta2ReplicaSet = ReplicaSet; ReplicaSet.apiVersion = "apps/v1beta2"; ReplicaSet.kind = "ReplicaSet"; ReplicaSet.is = (0, base_1.createTypeMetaGuard)(ReplicaSet); (0, base_1.setSchema)(ReplicaSet, "io.k8s.api.apps.v1beta2.ReplicaSet", IoK8sApiAppsV1beta2ReplicaSet_1.addSchema);