UNPKG

kubernetes-models

Version:
1 lines 799 B
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),function(target,all){for(var name in all)Object.defineProperty(target,name,{enumerable:!0,get:all[name]})}(exports,{FlowSchema:function(){return FlowSchema},IoK8sApiFlowcontrolV1FlowSchema:function(){return FlowSchema}});let _base=require("@kubernetes-models/base"),_IoK8sApiFlowcontrolV1FlowSchema=require("../../_schemas/IoK8sApiFlowcontrolV1FlowSchema.js");class FlowSchema extends _base.Model{constructor(data){super(),this.setDefinedProps({apiVersion:FlowSchema.apiVersion,kind:FlowSchema.kind,...data})}}FlowSchema.apiVersion="flowcontrol.apiserver.k8s.io/v1",FlowSchema.kind="FlowSchema",FlowSchema.is=(0,_base.createTypeMetaGuard)(FlowSchema),(0,_base.setValidateFunc)(FlowSchema,_IoK8sApiFlowcontrolV1FlowSchema.validate);