UNPKG

kubernetes-models

Version:
24 lines (23 loc) 800 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IoK8sApiAppsV1beta2Scale = exports.Scale = void 0; const base_1 = require("@kubernetes-models/base"); const IoK8sApiAppsV1beta2Scale_1 = require("../../_schemas/IoK8sApiAppsV1beta2Scale.js"); /** * Scale represents a scaling request for a resource. */ class Scale extends base_1.Model { constructor(data) { super({ apiVersion: Scale.apiVersion, kind: Scale.kind, ...data }); } } exports.Scale = Scale; exports.IoK8sApiAppsV1beta2Scale = Scale; Scale.apiVersion = "apps/v1beta2"; Scale.kind = "Scale"; Scale.is = (0, base_1.createTypeMetaGuard)(Scale); (0, base_1.setSchema)(Scale, "io.k8s.api.apps.v1beta2.Scale", IoK8sApiAppsV1beta2Scale_1.addSchema);