/**
 * CODE GENERATED BY 'typgen' BINARY.
 *
 * DO NOT EDIT.
 */ import { KubernetesObject } from 'kpt-functions' ; import * as apisMetaV1 from './io.k8s.apimachinery.pkg.apis.meta.v1' ; export class ServerStorageVersion { public apiServerID ? : string ; public decodableVersions ? : string [ ] ; public encodingVersion ? : string ; } export class StorageVersion implements KubernetesObject { public apiVersion : string ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; public spec : StorageVersionSpec ; public status : StorageVersionStatus ; constructor ( desc ) { this . apiVersion = StorageVersion . apiVersion ; this . kind = StorageVersion . kind ; this . metadata = desc . metadata ; this . spec = desc . spec ; this . status = desc . status ; } } export function isStorageVersion ( o ) { return o && o . apiVersion === StorageVersion . apiVersion && o . kind === StorageVersion . kind ; } export namespace StorageVersion { export const apiVersion = "internal.apiserver.k8s.io/v1alpha1" ; export const group = "internal.apiserver.k8s.io" ; export const version = "v1alpha1" ; export const kind = "StorageVersion" ; export interface Interface { metadata : apisMetaV1 . ObjectMeta ; spec : StorageVersionSpec ; status : StorageVersionStatus ; } } export class StorageVersionCondition { public lastTransitionTime ? : apisMetaV1 . Time ; public message ? : string ; public observedGeneration ? : number ; public reason : string ; public status : string ; public type : string ; constructor ( desc ) { this . lastTransitionTime = desc . lastTransitionTime ; this . message = desc . message ; this . observedGeneration = desc . observedGeneration ; this . reason = desc . reason ; this . status = desc . status ; this . type = desc . type ; } } export class StorageVersionList { public apiVersion : string ; public items : StorageVersion [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = StorageVersionList . apiVersion ; this . items = desc . items . map ( ( i ) => new StorageVersion ( i ) ) ; this . kind = StorageVersionList . kind ; this . metadata = desc . metadata ; } } export function isStorageVersionList ( o ) { return o && o . apiVersion === StorageVersionList . apiVersion && o . kind === StorageVersionList . kind ; } export namespace StorageVersionList { export const apiVersion = "internal.apiserver.k8s.io/v1alpha1" ; export const group = "internal.apiserver.k8s.io" ; export const version = "v1alpha1" ; export const kind = "StorageVersionList" ; export interface Interface { items : StorageVersion [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export type StorageVersionSpec = object ; export class StorageVersionStatus { public commonEncodingVersion ? : string ; public conditions ? : StorageVersionCondition [ ] ; public storageVersions ? : ServerStorageVersion [ ] ; }