/**
 * CODE GENERATED BY 'typgen' BINARY.
 *
 * DO NOT EDIT.
 */ import * as apimachineryPkgRuntime from './io.k8s.apimachinery.pkg.runtime' ; export class APIGroup { public apiVersion : string ; public kind : string ; public name : string ; public preferredVersion ? : GroupVersionForDiscovery ; public serverAddressByClientCIDRs ? : ServerAddressByClientCIDR [ ] ; public versions : GroupVersionForDiscovery [ ] ; constructor ( desc ) { this . apiVersion = APIGroup . apiVersion ; this . kind = APIGroup . kind ; this . name = desc . name ; this . preferredVersion = desc . preferredVersion ; this . serverAddressByClientCIDRs = desc . serverAddressByClientCIDRs ; this . versions = desc . versions ; } } export function isAPIGroup ( o ) { return o && o . apiVersion === APIGroup . apiVersion && o . kind === APIGroup . kind ; } export namespace APIGroup { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "APIGroup" ; export interface Interface { name : string ; preferredVersion ? : GroupVersionForDiscovery ; serverAddressByClientCIDRs ? : ServerAddressByClientCIDR [ ] ; versions : GroupVersionForDiscovery [ ] ; } } export class APIGroupList { public apiVersion : string ; public groups : APIGroup [ ] ; public kind : string ; constructor ( desc ) { this . apiVersion = APIGroupList . apiVersion ; this . groups = desc . groups ; this . kind = APIGroupList . kind ; } } export function isAPIGroupList ( o ) { return o && o . apiVersion === APIGroupList . apiVersion && o . kind === APIGroupList . kind ; } export namespace APIGroupList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "APIGroupList" ; export interface Interface { groups : APIGroup [ ] ; } } export class APIResource { public categories ? : string [ ] ; public group ? : string ; public kind : string ; public name : string ; public namespaced : boolean ; public shortNames ? : string [ ] ; public singularName : string ; public storageVersionHash ? : string ; public verbs : string [ ] ; public version ? : string ; constructor ( desc ) { this . categories = desc . categories ; this . group = desc . group ; this . kind = desc . kind ; this . name = desc . name ; this . namespaced = desc . namespaced ; this . shortNames = desc . shortNames ; this . singularName = desc . singularName ; this . storageVersionHash = desc . storageVersionHash ; this . verbs = desc . verbs ; this . version = desc . version ; } } export class APIResourceList { public apiVersion : string ; public groupVersion : string ; public kind : string ; public resources : APIResource [ ] ; constructor ( desc ) { this . apiVersion = APIResourceList . apiVersion ; this . groupVersion = desc . groupVersion ; this . kind = APIResourceList . kind ; this . resources = desc . resources ; } } export function isAPIResourceList ( o ) { return o && o . apiVersion === APIResourceList . apiVersion && o . kind === APIResourceList . kind ; } export namespace APIResourceList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "APIResourceList" ; export interface Interface { groupVersion : string ; resources : APIResource [ ] ; } } export class APIVersions { public apiVersion : string ; public kind : string ; public serverAddressByClientCIDRs : ServerAddressByClientCIDR [ ] ; public versions : string [ ] ; constructor ( desc ) { this . apiVersion = APIVersions . apiVersion ; this . kind = APIVersions . kind ; this . serverAddressByClientCIDRs = desc . serverAddressByClientCIDRs ; this . versions = desc . versions ; } } export function isAPIVersions ( o ) { return o && o . apiVersion === APIVersions . apiVersion && o . kind === APIVersions . kind ; } export namespace APIVersions { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "APIVersions" ; export interface Interface { serverAddressByClientCIDRs : ServerAddressByClientCIDR [ ] ; versions : string [ ] ; } } export class Condition { public lastTransitionTime : 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 DeleteOptions { public apiVersion : string ; public dryRun ? : string [ ] ; public gracePeriodSeconds ? : number ; public kind : string ; public orphanDependents ? : boolean ; public preconditions ? : Preconditions ; public propagationPolicy ? : string ; constructor ( desc ) { this . apiVersion = DeleteOptions . apiVersion ; this . dryRun = desc . dryRun ; this . gracePeriodSeconds = desc . gracePeriodSeconds ; this . kind = DeleteOptions . kind ; this . orphanDependents = desc . orphanDependents ; this . preconditions = desc . preconditions ; this . propagationPolicy = desc . propagationPolicy ; } } export function isDeleteOptions ( o ) { return o && o . apiVersion === DeleteOptions . apiVersion && o . kind === DeleteOptions . kind ; } export namespace DeleteOptions { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "DeleteOptions" ; export interface Interface { dryRun ? : string [ ] ; gracePeriodSeconds ? : number ; orphanDependents ? : boolean ; preconditions ? : Preconditions ; propagationPolicy ? : string ; } } export type FieldsV1 = object ; export class GroupVersionForDiscovery { public groupVersion : string ; public version : string ; constructor ( desc ) { this . groupVersion = desc . groupVersion ; this . version = desc . version ; } } export class LabelSelector { public matchExpressions ? : LabelSelectorRequirement [ ] ; public matchLabels ? : { [ key ] : string ; } ; } export class LabelSelectorRequirement { public key : string ; public operator : string ; public values ? : string [ ] ; constructor ( desc ) { this . key = desc . key ; this . operator = desc . operator ; this . values = desc . values ; } } export class ListMeta { public continue ? : string ; public remainingItemCount ? : number ; public resourceVersion ? : string ; public selfLink ? : string ; } export class ManagedFieldsEntry { public apiVersion ? : string ; public fieldsType ? : string ; public fieldsV1 ? : FieldsV1 ; public manager ? : string ; public operation ? : string ; public time ? : Time ; } export type MicroTime = string ; export class ObjectMeta { public annotations ? : { [ key ] : string ; } ; public clusterName ? : string ; public creationTimestamp ? : Time ; public deletionGracePeriodSeconds ? : number ; public deletionTimestamp ? : Time ; public finalizers ? : string [ ] ; public generateName ? : string ; public generation ? : number ; public labels ? : { [ key ] : string ; } ; public managedFields ? : ManagedFieldsEntry [ ] ; public name : string ; public namespace ? : string ; public ownerReferences ? : OwnerReference [ ] ; public resourceVersion ? : string ; public selfLink ? : string ; public uid ? : string ; constructor ( desc ) { this . annotations = desc . annotations ; this . clusterName = desc . clusterName ; this . creationTimestamp = desc . creationTimestamp ; this . deletionGracePeriodSeconds = desc . deletionGracePeriodSeconds ; this . deletionTimestamp = desc . deletionTimestamp ; this . finalizers = desc . finalizers ; this . generateName = desc . generateName ; this . generation = desc . generation ; this . labels = desc . labels ; this . managedFields = desc . managedFields ; this . name = desc . name ; this . namespace = desc . namespace ; this . ownerReferences = desc . ownerReferences ; this . resourceVersion = desc . resourceVersion ; this . selfLink = desc . selfLink ; this . uid = desc . uid ; } } export class OwnerReference { public apiVersion : string ; public blockOwnerDeletion ? : boolean ; public controller ? : boolean ; public kind : string ; public name : string ; public uid : string ; constructor ( desc ) { this . apiVersion = desc . apiVersion ; this . blockOwnerDeletion = desc . blockOwnerDeletion ; this . controller = desc . controller ; this . kind = desc . kind ; this . name = desc . name ; this . uid = desc . uid ; } } export type Patch = object ; export class Preconditions { public resourceVersion ? : string ; public uid ? : string ; } export class ServerAddressByClientCIDR { public clientCIDR : string ; public serverAddress : string ; constructor ( desc ) { this . clientCIDR = desc . clientCIDR ; this . serverAddress = desc . serverAddress ; } } export class Status { public apiVersion : string ; public code ? : number ; public details ? : StatusDetails ; public kind : string ; public message ? : string ; public metadata ? : ListMeta ; public reason ? : string ; public status ? : string ; constructor ( desc ) { this . apiVersion = Status . apiVersion ; this . code = desc . code ; this . details = desc . details ; this . kind = Status . kind ; this . message = desc . message ; this . metadata = desc . metadata ; this . reason = desc . reason ; this . status = desc . status ; } } export function isStatus ( o ) { return o && o . apiVersion === Status . apiVersion && o . kind === Status . kind ; } export namespace Status { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "Status" ; export interface Interface { code ? : number ; details ? : StatusDetails ; message ? : string ; metadata ? : ListMeta ; reason ? : string ; status ? : string ; } } export class StatusCause { public field ? : string ; public message ? : string ; public reason ? : string ; } export class StatusDetails { public causes ? : StatusCause [ ] ; public group ? : string ; public kind ? : string ; public name ? : string ; public retryAfterSeconds ? : number ; public uid ? : string ; } export type Time = string ; export class WatchEvent { public apiVersion : string ; public kind : string ; public object : apimachineryPkgRuntime . RawExtension ; public type : string ; constructor ( desc ) { this . apiVersion = WatchEvent . apiVersion ; this . kind = WatchEvent . kind ; this . object = desc . object ; this . type = desc . type ; } } export function isWatchEvent ( o ) { return o && o . apiVersion === WatchEvent . apiVersion && o . kind === WatchEvent . kind ; } export namespace WatchEvent { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "WatchEvent" ; export interface Interface { object : apimachineryPkgRuntime . RawExtension ; type : string ; } }