/**
 * CODE GENERATED BY 'typgen' BINARY.
 *
 * DO NOT EDIT.
 */ import { KubernetesObject } from 'kpt-functions' ; import * as apiCoreV1 from './io.k8s.api.core.v1' ; import * as pkgApiResource from './io.k8s.apimachinery.pkg.api.resource' ; import * as apisMetaV1 from './io.k8s.apimachinery.pkg.apis.meta.v1' ; export class Overhead { public podFixed ? : { [ key ] : pkgApiResource . Quantity ; } ; } export class RuntimeClass implements KubernetesObject { public apiVersion : string ; public handler : string ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; public overhead ? : Overhead ; public scheduling ? : Scheduling ; constructor ( desc ) { this . apiVersion = RuntimeClass . apiVersion ; this . handler = desc . handler ; this . kind = RuntimeClass . kind ; this . metadata = desc . metadata ; this . overhead = desc . overhead ; this . scheduling = desc . scheduling ; } } export function isRuntimeClass ( o ) { return o && o . apiVersion === RuntimeClass . apiVersion && o . kind === RuntimeClass . kind ; } export namespace RuntimeClass { export const apiVersion = "node.k8s.io/v1beta1" ; export const group = "node.k8s.io" ; export const version = "v1beta1" ; export const kind = "RuntimeClass" ; export interface Interface { handler : string ; metadata : apisMetaV1 . ObjectMeta ; overhead ? : Overhead ; scheduling ? : Scheduling ; } } export class RuntimeClassList { public apiVersion : string ; public items : RuntimeClass [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = RuntimeClassList . apiVersion ; this . items = desc . items . map ( ( i ) => new RuntimeClass ( i ) ) ; this . kind = RuntimeClassList . kind ; this . metadata = desc . metadata ; } } export function isRuntimeClassList ( o ) { return o && o . apiVersion === RuntimeClassList . apiVersion && o . kind === RuntimeClassList . kind ; } export namespace RuntimeClassList { export const apiVersion = "node.k8s.io/v1beta1" ; export const group = "node.k8s.io" ; export const version = "v1beta1" ; export const kind = "RuntimeClassList" ; export interface Interface { items : RuntimeClass [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class Scheduling { public nodeSelector ? : { [ key ] : string ; } ; public tolerations ? : apiCoreV1 . Toleration [ ] ; }