UNPKG

kubernetes-models

Version:
20 lines (19 loc) 714 B
import { createTypeMetaGuard, Model, setSchema } from "@kubernetes-models/base"; import { addSchema } from "../../_schemas/IoK8sApiAppsV1beta2DeploymentList.mjs"; /** * DeploymentList is a list of Deployments. */ export class DeploymentList extends Model { constructor(data) { super({ apiVersion: DeploymentList.apiVersion, kind: DeploymentList.kind, ...data }); } } DeploymentList.apiVersion = "apps/v1beta2"; DeploymentList.kind = "DeploymentList"; DeploymentList.is = createTypeMetaGuard(DeploymentList); setSchema(DeploymentList, "io.k8s.api.apps.v1beta2.DeploymentList", addSchema); export { DeploymentList as IoK8sApiAppsV1beta2DeploymentList };