/**
 * CODE GENERATED BY 'typgen' BINARY.
 *
 * DO NOT EDIT.
 */ import { KubernetesObject } from 'kpt-functions' ; import * as pkgApiResource from './io.k8s.apimachinery.pkg.api.resource' ; import * as apisMetaV1 from './io.k8s.apimachinery.pkg.apis.meta.v1' ; import * as pkgUtilIntstr from './io.k8s.apimachinery.pkg.util.intstr' ; export class AWSElasticBlockStoreVolumeSource { public fsType ? : string ; public partition ? : number ; public readOnly ? : boolean ; public volumeID : string ; constructor ( desc ) { this . fsType = desc . fsType ; this . partition = desc . partition ; this . readOnly = desc . readOnly ; this . volumeID = desc . volumeID ; } } export class Affinity { public nodeAffinity ? : NodeAffinity ; public podAffinity ? : PodAffinity ; public podAntiAffinity ? : PodAntiAffinity ; } export class AttachedVolume { public devicePath : string ; public name : string ; constructor ( desc ) { this . devicePath = desc . devicePath ; this . name = desc . name ; } } export class AzureDiskVolumeSource { public cachingMode ? : string ; public diskName : string ; public diskURI : string ; public fsType ? : string ; public kind ? : string ; public readOnly ? : boolean ; constructor ( desc ) { this . cachingMode = desc . cachingMode ; this . diskName = desc . diskName ; this . diskURI = desc . diskURI ; this . fsType = desc . fsType ; this . kind = desc . kind ; this . readOnly = desc . readOnly ; } } export class AzureFilePersistentVolumeSource { public readOnly ? : boolean ; public secretName : string ; public secretNamespace ? : string ; public shareName : string ; constructor ( desc ) { this . readOnly = desc . readOnly ; this . secretName = desc . secretName ; this . secretNamespace = desc . secretNamespace ; this . shareName = desc . shareName ; } } export class AzureFileVolumeSource { public readOnly ? : boolean ; public secretName : string ; public shareName : string ; constructor ( desc ) { this . readOnly = desc . readOnly ; this . secretName = desc . secretName ; this . shareName = desc . shareName ; } } export class Binding implements KubernetesObject { public apiVersion : string ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; public target : ObjectReference ; constructor ( desc ) { this . apiVersion = Binding . apiVersion ; this . kind = Binding . kind ; this . metadata = desc . metadata ; this . target = desc . target ; } } export function isBinding ( o ) { return o && o . apiVersion === Binding . apiVersion && o . kind === Binding . kind ; } export namespace Binding { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "Binding" ; export interface Interface { metadata : apisMetaV1 . ObjectMeta ; target : ObjectReference ; } } export class CSIPersistentVolumeSource { public controllerExpandSecretRef ? : SecretReference ; public controllerPublishSecretRef ? : SecretReference ; public driver : string ; public fsType ? : string ; public nodePublishSecretRef ? : SecretReference ; public nodeStageSecretRef ? : SecretReference ; public readOnly ? : boolean ; public volumeAttributes ? : { [ key ] : string ; } ; public volumeHandle : string ; constructor ( desc ) { this . controllerExpandSecretRef = desc . controllerExpandSecretRef ; this . controllerPublishSecretRef = desc . controllerPublishSecretRef ; this . driver = desc . driver ; this . fsType = desc . fsType ; this . nodePublishSecretRef = desc . nodePublishSecretRef ; this . nodeStageSecretRef = desc . nodeStageSecretRef ; this . readOnly = desc . readOnly ; this . volumeAttributes = desc . volumeAttributes ; this . volumeHandle = desc . volumeHandle ; } } export class CSIVolumeSource { public driver : string ; public fsType ? : string ; public nodePublishSecretRef ? : LocalObjectReference ; public readOnly ? : boolean ; public volumeAttributes ? : { [ key ] : string ; } ; constructor ( desc ) { this . driver = desc . driver ; this . fsType = desc . fsType ; this . nodePublishSecretRef = desc . nodePublishSecretRef ; this . readOnly = desc . readOnly ; this . volumeAttributes = desc . volumeAttributes ; } } export class Capabilities { public add ? : string [ ] ; public drop ? : string [ ] ; } export class CephFSPersistentVolumeSource { public monitors : string [ ] ; public path ? : string ; public readOnly ? : boolean ; public secretFile ? : string ; public secretRef ? : SecretReference ; public user ? : string ; constructor ( desc ) { this . monitors = desc . monitors ; this . path = desc . path ; this . readOnly = desc . readOnly ; this . secretFile = desc . secretFile ; this . secretRef = desc . secretRef ; this . user = desc . user ; } } export class CephFSVolumeSource { public monitors : string [ ] ; public path ? : string ; public readOnly ? : boolean ; public secretFile ? : string ; public secretRef ? : LocalObjectReference ; public user ? : string ; constructor ( desc ) { this . monitors = desc . monitors ; this . path = desc . path ; this . readOnly = desc . readOnly ; this . secretFile = desc . secretFile ; this . secretRef = desc . secretRef ; this . user = desc . user ; } } export class CinderPersistentVolumeSource { public fsType ? : string ; public readOnly ? : boolean ; public secretRef ? : SecretReference ; public volumeID : string ; constructor ( desc ) { this . fsType = desc . fsType ; this . readOnly = desc . readOnly ; this . secretRef = desc . secretRef ; this . volumeID = desc . volumeID ; } } export class CinderVolumeSource { public fsType ? : string ; public readOnly ? : boolean ; public secretRef ? : LocalObjectReference ; public volumeID : string ; constructor ( desc ) { this . fsType = desc . fsType ; this . readOnly = desc . readOnly ; this . secretRef = desc . secretRef ; this . volumeID = desc . volumeID ; } } export class ClientIPConfig { public timeoutSeconds ? : number ; } export class ComponentCondition { public error ? : string ; public message ? : string ; public status : string ; public type : string ; constructor ( desc ) { this . error = desc . error ; this . message = desc . message ; this . status = desc . status ; this . type = desc . type ; } } export class ComponentStatus implements KubernetesObject { public apiVersion : string ; public conditions ? : ComponentCondition [ ] ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; constructor ( desc ) { this . apiVersion = ComponentStatus . apiVersion ; this . conditions = desc . conditions ; this . kind = ComponentStatus . kind ; this . metadata = desc . metadata ; } } export function isComponentStatus ( o ) { return o && o . apiVersion === ComponentStatus . apiVersion && o . kind === ComponentStatus . kind ; } export namespace ComponentStatus { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "ComponentStatus" ; export function named ( name ) { return new ComponentStatus ( { metadata : { name } } ) ; } export interface Interface { conditions ? : ComponentCondition [ ] ; metadata : apisMetaV1 . ObjectMeta ; } } export class ComponentStatusList { public apiVersion : string ; public items : ComponentStatus [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = ComponentStatusList . apiVersion ; this . items = desc . items . map ( ( i ) => new ComponentStatus ( i ) ) ; this . kind = ComponentStatusList . kind ; this . metadata = desc . metadata ; } } export function isComponentStatusList ( o ) { return o && o . apiVersion === ComponentStatusList . apiVersion && o . kind === ComponentStatusList . kind ; } export namespace ComponentStatusList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "ComponentStatusList" ; export interface Interface { items : ComponentStatus [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class ConfigMap implements KubernetesObject { public apiVersion : string ; public binaryData ? : { [ key ] : string ; } ; public data ? : { [ key ] : string ; } ; public immutable ? : boolean ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; constructor ( desc ) { this . apiVersion = ConfigMap . apiVersion ; this . binaryData = desc . binaryData ; this . data = desc . data ; this . immutable = desc . immutable ; this . kind = ConfigMap . kind ; this . metadata = desc . metadata ; } } export function isConfigMap ( o ) { return o && o . apiVersion === ConfigMap . apiVersion && o . kind === ConfigMap . kind ; } export namespace ConfigMap { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "ConfigMap" ; export function named ( name ) { return new ConfigMap ( { metadata : { name } } ) ; } export interface Interface { binaryData ? : { [ key ] : string ; } ; data ? : { [ key ] : string ; } ; immutable ? : boolean ; metadata : apisMetaV1 . ObjectMeta ; } } export class ConfigMapEnvSource { public name ? : string ; public optional ? : boolean ; } export class ConfigMapKeySelector { public key : string ; public name ? : string ; public optional ? : boolean ; constructor ( desc ) { this . key = desc . key ; this . name = desc . name ; this . optional = desc . optional ; } } export class ConfigMapList { public apiVersion : string ; public items : ConfigMap [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = ConfigMapList . apiVersion ; this . items = desc . items . map ( ( i ) => new ConfigMap ( i ) ) ; this . kind = ConfigMapList . kind ; this . metadata = desc . metadata ; } } export function isConfigMapList ( o ) { return o && o . apiVersion === ConfigMapList . apiVersion && o . kind === ConfigMapList . kind ; } export namespace ConfigMapList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "ConfigMapList" ; export interface Interface { items : ConfigMap [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class ConfigMapNodeConfigSource { public kubeletConfigKey : string ; public name : string ; public namespace : string ; public resourceVersion ? : string ; public uid ? : string ; constructor ( desc ) { this . kubeletConfigKey = desc . kubeletConfigKey ; this . name = desc . name ; this . namespace = desc . namespace ; this . resourceVersion = desc . resourceVersion ; this . uid = desc . uid ; } } export class ConfigMapProjection { public items ? : KeyToPath [ ] ; public name ? : string ; public optional ? : boolean ; } export class ConfigMapVolumeSource { public defaultMode ? : number ; public items ? : KeyToPath [ ] ; public name ? : string ; public optional ? : boolean ; } export class Container { public args ? : string [ ] ; public command ? : string [ ] ; public env ? : EnvVar [ ] ; public envFrom ? : EnvFromSource [ ] ; public image ? : string ; public imagePullPolicy ? : string ; public lifecycle ? : Lifecycle ; public livenessProbe ? : Probe ; public name : string ; public ports ? : ContainerPort [ ] ; public readinessProbe ? : Probe ; public resources ? : ResourceRequirements ; public securityContext ? : SecurityContext ; public startupProbe ? : Probe ; public stdin ? : boolean ; public stdinOnce ? : boolean ; public terminationMessagePath ? : string ; public terminationMessagePolicy ? : string ; public tty ? : boolean ; public volumeDevices ? : VolumeDevice [ ] ; public volumeMounts ? : VolumeMount [ ] ; public workingDir ? : string ; constructor ( desc ) { this . args = desc . args ; this . command = desc . command ; this . env = desc . env ; this . envFrom = desc . envFrom ; this . image = desc . image ; this . imagePullPolicy = desc . imagePullPolicy ; this . lifecycle = desc . lifecycle ; this . livenessProbe = desc . livenessProbe ; this . name = desc . name ; this . ports = desc . ports ; this . readinessProbe = desc . readinessProbe ; this . resources = desc . resources ; this . securityContext = desc . securityContext ; this . startupProbe = desc . startupProbe ; this . stdin = desc . stdin ; this . stdinOnce = desc . stdinOnce ; this . terminationMessagePath = desc . terminationMessagePath ; this . terminationMessagePolicy = desc . terminationMessagePolicy ; this . tty = desc . tty ; this . volumeDevices = desc . volumeDevices ; this . volumeMounts = desc . volumeMounts ; this . workingDir = desc . workingDir ; } } export class ContainerImage { public names : string [ ] ; public sizeBytes ? : number ; constructor ( desc ) { this . names = desc . names ; this . sizeBytes = desc . sizeBytes ; } } export class ContainerPort { public containerPort : number ; public hostIP ? : string ; public hostPort ? : number ; public name ? : string ; public protocol ? : string ; constructor ( desc ) { this . containerPort = desc . containerPort ; this . hostIP = desc . hostIP ; this . hostPort = desc . hostPort ; this . name = desc . name ; this . protocol = desc . protocol ; } } export class ContainerState { public running ? : ContainerStateRunning ; public terminated ? : ContainerStateTerminated ; public waiting ? : ContainerStateWaiting ; } export class ContainerStateRunning { public startedAt ? : apisMetaV1 . Time ; } export class ContainerStateTerminated { public containerID ? : string ; public exitCode : number ; public finishedAt ? : apisMetaV1 . Time ; public message ? : string ; public reason ? : string ; public signal ? : number ; public startedAt ? : apisMetaV1 . Time ; constructor ( desc ) { this . containerID = desc . containerID ; this . exitCode = desc . exitCode ; this . finishedAt = desc . finishedAt ; this . message = desc . message ; this . reason = desc . reason ; this . signal = desc . signal ; this . startedAt = desc . startedAt ; } } export class ContainerStateWaiting { public message ? : string ; public reason ? : string ; } export class ContainerStatus { public containerID ? : string ; public image : string ; public imageID : string ; public lastState ? : ContainerState ; public name : string ; public ready : boolean ; public restartCount : number ; public started ? : boolean ; public state ? : ContainerState ; constructor ( desc ) { this . containerID = desc . containerID ; this . image = desc . image ; this . imageID = desc . imageID ; this . lastState = desc . lastState ; this . name = desc . name ; this . ready = desc . ready ; this . restartCount = desc . restartCount ; this . started = desc . started ; this . state = desc . state ; } } export class DaemonEndpoint { public Port : number ; constructor ( desc ) { this . Port = desc . Port ; } } export class DownwardAPIProjection { public items ? : DownwardAPIVolumeFile [ ] ; } export class DownwardAPIVolumeFile { public fieldRef ? : ObjectFieldSelector ; public mode ? : number ; public path : string ; public resourceFieldRef ? : ResourceFieldSelector ; constructor ( desc ) { this . fieldRef = desc . fieldRef ; this . mode = desc . mode ; this . path = desc . path ; this . resourceFieldRef = desc . resourceFieldRef ; } } export class DownwardAPIVolumeSource { public defaultMode ? : number ; public items ? : DownwardAPIVolumeFile [ ] ; } export class EmptyDirVolumeSource { public medium ? : string ; public sizeLimit ? : pkgApiResource . Quantity ; } export class EndpointAddress { public hostname ? : string ; public ip : string ; public nodeName ? : string ; public targetRef ? : ObjectReference ; constructor ( desc ) { this . hostname = desc . hostname ; this . ip = desc . ip ; this . nodeName = desc . nodeName ; this . targetRef = desc . targetRef ; } } export class EndpointPort { public appProtocol ? : string ; public name ? : string ; public port : number ; public protocol ? : string ; constructor ( desc ) { this . appProtocol = desc . appProtocol ; this . name = desc . name ; this . port = desc . port ; this . protocol = desc . protocol ; } } export class EndpointSubset { public addresses ? : EndpointAddress [ ] ; public notReadyAddresses ? : EndpointAddress [ ] ; public ports ? : EndpointPort [ ] ; } export class Endpoints implements KubernetesObject { public apiVersion : string ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; public subsets ? : EndpointSubset [ ] ; constructor ( desc ) { this . apiVersion = Endpoints . apiVersion ; this . kind = Endpoints . kind ; this . metadata = desc . metadata ; this . subsets = desc . subsets ; } } export function isEndpoints ( o ) { return o && o . apiVersion === Endpoints . apiVersion && o . kind === Endpoints . kind ; } export namespace Endpoints { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "Endpoints" ; export function named ( name ) { return new Endpoints ( { metadata : { name } } ) ; } export interface Interface { metadata : apisMetaV1 . ObjectMeta ; subsets ? : EndpointSubset [ ] ; } } export class EndpointsList { public apiVersion : string ; public items : Endpoints [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = EndpointsList . apiVersion ; this . items = desc . items . map ( ( i ) => new Endpoints ( i ) ) ; this . kind = EndpointsList . kind ; this . metadata = desc . metadata ; } } export function isEndpointsList ( o ) { return o && o . apiVersion === EndpointsList . apiVersion && o . kind === EndpointsList . kind ; } export namespace EndpointsList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "EndpointsList" ; export interface Interface { items : Endpoints [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class EnvFromSource { public configMapRef ? : ConfigMapEnvSource ; public prefix ? : string ; public secretRef ? : SecretEnvSource ; } export class EnvVar { public name : string ; public value ? : string ; public valueFrom ? : EnvVarSource ; constructor ( desc ) { this . name = desc . name ; this . value = desc . value ; this . valueFrom = desc . valueFrom ; } } export class EnvVarSource { public configMapKeyRef ? : ConfigMapKeySelector ; public fieldRef ? : ObjectFieldSelector ; public resourceFieldRef ? : ResourceFieldSelector ; public secretKeyRef ? : SecretKeySelector ; } export class EphemeralContainer { public args ? : string [ ] ; public command ? : string [ ] ; public env ? : EnvVar [ ] ; public envFrom ? : EnvFromSource [ ] ; public image ? : string ; public imagePullPolicy ? : string ; public lifecycle ? : Lifecycle ; public livenessProbe ? : Probe ; public name : string ; public ports ? : ContainerPort [ ] ; public readinessProbe ? : Probe ; public resources ? : ResourceRequirements ; public securityContext ? : SecurityContext ; public startupProbe ? : Probe ; public stdin ? : boolean ; public stdinOnce ? : boolean ; public targetContainerName ? : string ; public terminationMessagePath ? : string ; public terminationMessagePolicy ? : string ; public tty ? : boolean ; public volumeDevices ? : VolumeDevice [ ] ; public volumeMounts ? : VolumeMount [ ] ; public workingDir ? : string ; constructor ( desc ) { this . args = desc . args ; this . command = desc . command ; this . env = desc . env ; this . envFrom = desc . envFrom ; this . image = desc . image ; this . imagePullPolicy = desc . imagePullPolicy ; this . lifecycle = desc . lifecycle ; this . livenessProbe = desc . livenessProbe ; this . name = desc . name ; this . ports = desc . ports ; this . readinessProbe = desc . readinessProbe ; this . resources = desc . resources ; this . securityContext = desc . securityContext ; this . startupProbe = desc . startupProbe ; this . stdin = desc . stdin ; this . stdinOnce = desc . stdinOnce ; this . targetContainerName = desc . targetContainerName ; this . terminationMessagePath = desc . terminationMessagePath ; this . terminationMessagePolicy = desc . terminationMessagePolicy ; this . tty = desc . tty ; this . volumeDevices = desc . volumeDevices ; this . volumeMounts = desc . volumeMounts ; this . workingDir = desc . workingDir ; } } export class EphemeralContainers implements KubernetesObject { public apiVersion : string ; public ephemeralContainers : EphemeralContainer [ ] ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; constructor ( desc ) { this . apiVersion = EphemeralContainers . apiVersion ; this . ephemeralContainers = desc . ephemeralContainers ; this . kind = EphemeralContainers . kind ; this . metadata = desc . metadata ; } } export function isEphemeralContainers ( o ) { return o && o . apiVersion === EphemeralContainers . apiVersion && o . kind === EphemeralContainers . kind ; } export namespace EphemeralContainers { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "EphemeralContainers" ; export interface Interface { ephemeralContainers : EphemeralContainer [ ] ; metadata : apisMetaV1 . ObjectMeta ; } } export class EphemeralVolumeSource { public volumeClaimTemplate ? : PersistentVolumeClaimTemplate ; } export class Event implements KubernetesObject { public action ? : string ; public apiVersion : string ; public count ? : number ; public eventTime ? : apisMetaV1 . MicroTime ; public firstTimestamp ? : apisMetaV1 . Time ; public involvedObject : ObjectReference ; public kind : string ; public lastTimestamp ? : apisMetaV1 . Time ; public message ? : string ; public metadata : apisMetaV1 . ObjectMeta ; public reason ? : string ; public related ? : ObjectReference ; public reportingComponent ? : string ; public reportingInstance ? : string ; public series ? : EventSeries ; public source ? : EventSource ; public type ? : string ; constructor ( desc ) { this . action = desc . action ; this . apiVersion = Event . apiVersion ; this . count = desc . count ; this . eventTime = desc . eventTime ; this . firstTimestamp = desc . firstTimestamp ; this . involvedObject = desc . involvedObject ; this . kind = Event . kind ; this . lastTimestamp = desc . lastTimestamp ; this . message = desc . message ; this . metadata = desc . metadata ; this . reason = desc . reason ; this . related = desc . related ; this . reportingComponent = desc . reportingComponent ; this . reportingInstance = desc . reportingInstance ; this . series = desc . series ; this . source = desc . source ; this . type = desc . type ; } } export function isEvent ( o ) { return o && o . apiVersion === Event . apiVersion && o . kind === Event . kind ; } export namespace Event { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "Event" ; export interface Interface { action ? : string ; count ? : number ; eventTime ? : apisMetaV1 . MicroTime ; firstTimestamp ? : apisMetaV1 . Time ; involvedObject : ObjectReference ; lastTimestamp ? : apisMetaV1 . Time ; message ? : string ; metadata : apisMetaV1 . ObjectMeta ; reason ? : string ; related ? : ObjectReference ; reportingComponent ? : string ; reportingInstance ? : string ; series ? : EventSeries ; source ? : EventSource ; type ? : string ; } } export class EventList { public apiVersion : string ; public items : Event [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = EventList . apiVersion ; this . items = desc . items . map ( ( i ) => new Event ( i ) ) ; this . kind = EventList . kind ; this . metadata = desc . metadata ; } } export function isEventList ( o ) { return o && o . apiVersion === EventList . apiVersion && o . kind === EventList . kind ; } export namespace EventList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "EventList" ; export interface Interface { items : Event [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class EventSeries { public count ? : number ; public lastObservedTime ? : apisMetaV1 . MicroTime ; } export class EventSource { public component ? : string ; public host ? : string ; } export class ExecAction { public command ? : string [ ] ; } export class FCVolumeSource { public fsType ? : string ; public lun ? : number ; public readOnly ? : boolean ; public targetWWNs ? : string [ ] ; public wwids ? : string [ ] ; } export class FlexPersistentVolumeSource { public driver : string ; public fsType ? : string ; public options ? : { [ key ] : string ; } ; public readOnly ? : boolean ; public secretRef ? : SecretReference ; constructor ( desc ) { this . driver = desc . driver ; this . fsType = desc . fsType ; this . options = desc . options ; this . readOnly = desc . readOnly ; this . secretRef = desc . secretRef ; } } export class FlexVolumeSource { public driver : string ; public fsType ? : string ; public options ? : { [ key ] : string ; } ; public readOnly ? : boolean ; public secretRef ? : LocalObjectReference ; constructor ( desc ) { this . driver = desc . driver ; this . fsType = desc . fsType ; this . options = desc . options ; this . readOnly = desc . readOnly ; this . secretRef = desc . secretRef ; } } export class FlockerVolumeSource { public datasetName ? : string ; public datasetUUID ? : string ; } export class GCEPersistentDiskVolumeSource { public fsType ? : string ; public partition ? : number ; public pdName : string ; public readOnly ? : boolean ; constructor ( desc ) { this . fsType = desc . fsType ; this . partition = desc . partition ; this . pdName = desc . pdName ; this . readOnly = desc . readOnly ; } } export class GitRepoVolumeSource { public directory ? : string ; public repository : string ; public revision ? : string ; constructor ( desc ) { this . directory = desc . directory ; this . repository = desc . repository ; this . revision = desc . revision ; } } export class GlusterfsPersistentVolumeSource { public endpoints : string ; public endpointsNamespace ? : string ; public path : string ; public readOnly ? : boolean ; constructor ( desc ) { this . endpoints = desc . endpoints ; this . endpointsNamespace = desc . endpointsNamespace ; this . path = desc . path ; this . readOnly = desc . readOnly ; } } export class GlusterfsVolumeSource { public endpoints : string ; public path : string ; public readOnly ? : boolean ; constructor ( desc ) { this . endpoints = desc . endpoints ; this . path = desc . path ; this . readOnly = desc . readOnly ; } } export class HTTPGetAction { public host ? : string ; public httpHeaders ? : HTTPHeader [ ] ; public path ? : string ; public port : pkgUtilIntstr . IntOrString ; public scheme ? : string ; constructor ( desc ) { this . host = desc . host ; this . httpHeaders = desc . httpHeaders ; this . path = desc . path ; this . port = desc . port ; this . scheme = desc . scheme ; } } export class HTTPHeader { public name : string ; public value : string ; constructor ( desc ) { this . name = desc . name ; this . value = desc . value ; } } export class Handler { public exec ? : ExecAction ; public httpGet ? : HTTPGetAction ; public tcpSocket ? : TCPSocketAction ; } export class HostAlias { public hostnames ? : string [ ] ; public ip ? : string ; } export class HostPathVolumeSource { public path : string ; public type ? : string ; constructor ( desc ) { this . path = desc . path ; this . type = desc . type ; } } export class ISCSIPersistentVolumeSource { public chapAuthDiscovery ? : boolean ; public chapAuthSession ? : boolean ; public fsType ? : string ; public initiatorName ? : string ; public iqn : string ; public iscsiInterface ? : string ; public lun : number ; public portals ? : string [ ] ; public readOnly ? : boolean ; public secretRef ? : SecretReference ; public targetPortal : string ; constructor ( desc ) { this . chapAuthDiscovery = desc . chapAuthDiscovery ; this . chapAuthSession = desc . chapAuthSession ; this . fsType = desc . fsType ; this . initiatorName = desc . initiatorName ; this . iqn = desc . iqn ; this . iscsiInterface = desc . iscsiInterface ; this . lun = desc . lun ; this . portals = desc . portals ; this . readOnly = desc . readOnly ; this . secretRef = desc . secretRef ; this . targetPortal = desc . targetPortal ; } } export class ISCSIVolumeSource { public chapAuthDiscovery ? : boolean ; public chapAuthSession ? : boolean ; public fsType ? : string ; public initiatorName ? : string ; public iqn : string ; public iscsiInterface ? : string ; public lun : number ; public portals ? : string [ ] ; public readOnly ? : boolean ; public secretRef ? : LocalObjectReference ; public targetPortal : string ; constructor ( desc ) { this . chapAuthDiscovery = desc . chapAuthDiscovery ; this . chapAuthSession = desc . chapAuthSession ; this . fsType = desc . fsType ; this . initiatorName = desc . initiatorName ; this . iqn = desc . iqn ; this . iscsiInterface = desc . iscsiInterface ; this . lun = desc . lun ; this . portals = desc . portals ; this . readOnly = desc . readOnly ; this . secretRef = desc . secretRef ; this . targetPortal = desc . targetPortal ; } } export class KeyToPath { public key : string ; public mode ? : number ; public path : string ; constructor ( desc ) { this . key = desc . key ; this . mode = desc . mode ; this . path = desc . path ; } } export class Lifecycle { public postStart ? : Handler ; public preStop ? : Handler ; } export class LimitRange implements KubernetesObject { public apiVersion : string ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; public spec ? : LimitRangeSpec ; constructor ( desc ) { this . apiVersion = LimitRange . apiVersion ; this . kind = LimitRange . kind ; this . metadata = desc . metadata ; this . spec = desc . spec ; } } export function isLimitRange ( o ) { return o && o . apiVersion === LimitRange . apiVersion && o . kind === LimitRange . kind ; } export namespace LimitRange { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "LimitRange" ; export function named ( name ) { return new LimitRange ( { metadata : { name } } ) ; } export interface Interface { metadata : apisMetaV1 . ObjectMeta ; spec ? : LimitRangeSpec ; } } export class LimitRangeItem { public default ? : { [ key ] : pkgApiResource . Quantity ; } ; public defaultRequest ? : { [ key ] : pkgApiResource . Quantity ; } ; public max ? : { [ key ] : pkgApiResource . Quantity ; } ; public maxLimitRequestRatio ? : { [ key ] : pkgApiResource . Quantity ; } ; public min ? : { [ key ] : pkgApiResource . Quantity ; } ; public type : string ; constructor ( desc ) { this . default = desc . default ; this . defaultRequest = desc . defaultRequest ; this . max = desc . max ; this . maxLimitRequestRatio = desc . maxLimitRequestRatio ; this . min = desc . min ; this . type = desc . type ; } } export class LimitRangeList { public apiVersion : string ; public items : LimitRange [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = LimitRangeList . apiVersion ; this . items = desc . items . map ( ( i ) => new LimitRange ( i ) ) ; this . kind = LimitRangeList . kind ; this . metadata = desc . metadata ; } } export function isLimitRangeList ( o ) { return o && o . apiVersion === LimitRangeList . apiVersion && o . kind === LimitRangeList . kind ; } export namespace LimitRangeList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "LimitRangeList" ; export interface Interface { items : LimitRange [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class LimitRangeSpec { public limits : LimitRangeItem [ ] ; constructor ( desc ) { this . limits = desc . limits ; } } export class LoadBalancerIngress { public hostname ? : string ; public ip ? : string ; public ports ? : PortStatus [ ] ; } export class LoadBalancerStatus { public ingress ? : LoadBalancerIngress [ ] ; } export class LocalObjectReference { public name ? : string ; } export class LocalVolumeSource { public fsType ? : string ; public path : string ; constructor ( desc ) { this . fsType = desc . fsType ; this . path = desc . path ; } } export class NFSVolumeSource { public path : string ; public readOnly ? : boolean ; public server : string ; constructor ( desc ) { this . path = desc . path ; this . readOnly = desc . readOnly ; this . server = desc . server ; } } export class Namespace implements KubernetesObject { public apiVersion : string ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; public spec ? : NamespaceSpec ; public status ? : NamespaceStatus ; constructor ( desc ) { this . apiVersion = Namespace . apiVersion ; this . kind = Namespace . kind ; this . metadata = desc . metadata ; this . spec = desc . spec ; this . status = desc . status ; } } export function isNamespace ( o ) { return o && o . apiVersion === Namespace . apiVersion && o . kind === Namespace . kind ; } export namespace Namespace { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "Namespace" ; export function named ( name ) { return new Namespace ( { metadata : { name } } ) ; } export interface Interface { metadata : apisMetaV1 . ObjectMeta ; spec ? : NamespaceSpec ; status ? : NamespaceStatus ; } } export class NamespaceCondition { public lastTransitionTime ? : apisMetaV1 . Time ; public message ? : string ; public reason ? : string ; public status : string ; public type : string ; constructor ( desc ) { this . lastTransitionTime = desc . lastTransitionTime ; this . message = desc . message ; this . reason = desc . reason ; this . status = desc . status ; this . type = desc . type ; } } export class NamespaceList { public apiVersion : string ; public items : Namespace [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = NamespaceList . apiVersion ; this . items = desc . items . map ( ( i ) => new Namespace ( i ) ) ; this . kind = NamespaceList . kind ; this . metadata = desc . metadata ; } } export function isNamespaceList ( o ) { return o && o . apiVersion === NamespaceList . apiVersion && o . kind === NamespaceList . kind ; } export namespace NamespaceList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "NamespaceList" ; export interface Interface { items : Namespace [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class NamespaceSpec { public finalizers ? : string [ ] ; } export class NamespaceStatus { public conditions ? : NamespaceCondition [ ] ; public phase ? : string ; } export class Node implements KubernetesObject { public apiVersion : string ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; public spec ? : NodeSpec ; public status ? : NodeStatus ; constructor ( desc ) { this . apiVersion = Node . apiVersion ; this . kind = Node . kind ; this . metadata = desc . metadata ; this . spec = desc . spec ; this . status = desc . status ; } } export function isNode ( o ) { return o && o . apiVersion === Node . apiVersion && o . kind === Node . kind ; } export namespace Node { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "Node" ; export function named ( name ) { return new Node ( { metadata : { name } } ) ; } export interface Interface { metadata : apisMetaV1 . ObjectMeta ; spec ? : NodeSpec ; status ? : NodeStatus ; } } export class NodeAddress { public address : string ; public type : string ; constructor ( desc ) { this . address = desc . address ; this . type = desc . type ; } } export class NodeAffinity { public preferredDuringSchedulingIgnoredDuringExecution ? : PreferredSchedulingTerm [ ] ; public requiredDuringSchedulingIgnoredDuringExecution ? : NodeSelector ; } export class NodeCondition { public lastHeartbeatTime ? : apisMetaV1 . Time ; public lastTransitionTime ? : apisMetaV1 . Time ; public message ? : string ; public reason ? : string ; public status : string ; public type : string ; constructor ( desc ) { this . lastHeartbeatTime = desc . lastHeartbeatTime ; this . lastTransitionTime = desc . lastTransitionTime ; this . message = desc . message ; this . reason = desc . reason ; this . status = desc . status ; this . type = desc . type ; } } export class NodeConfigSource { public configMap ? : ConfigMapNodeConfigSource ; } export class NodeConfigStatus { public active ? : NodeConfigSource ; public assigned ? : NodeConfigSource ; public error ? : string ; public lastKnownGood ? : NodeConfigSource ; } export class NodeDaemonEndpoints { public kubeletEndpoint ? : DaemonEndpoint ; } export class NodeList { public apiVersion : string ; public items : Node [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = NodeList . apiVersion ; this . items = desc . items . map ( ( i ) => new Node ( i ) ) ; this . kind = NodeList . kind ; this . metadata = desc . metadata ; } } export function isNodeList ( o ) { return o && o . apiVersion === NodeList . apiVersion && o . kind === NodeList . kind ; } export namespace NodeList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "NodeList" ; export interface Interface { items : Node [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class NodeSelector { public nodeSelectorTerms : NodeSelectorTerm [ ] ; constructor ( desc ) { this . nodeSelectorTerms = desc . nodeSelectorTerms ; } } export class NodeSelectorRequirement { 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 NodeSelectorTerm { public matchExpressions ? : NodeSelectorRequirement [ ] ; public matchFields ? : NodeSelectorRequirement [ ] ; } export class NodeSpec { public configSource ? : NodeConfigSource ; public externalID ? : string ; public podCIDR ? : string ; public podCIDRs ? : string [ ] ; public providerID ? : string ; public taints ? : Taint [ ] ; public unschedulable ? : boolean ; } export class NodeStatus { public addresses ? : NodeAddress [ ] ; public allocatable ? : { [ key ] : pkgApiResource . Quantity ; } ; public capacity ? : { [ key ] : pkgApiResource . Quantity ; } ; public conditions ? : NodeCondition [ ] ; public config ? : NodeConfigStatus ; public daemonEndpoints ? : NodeDaemonEndpoints ; public images ? : ContainerImage [ ] ; public nodeInfo ? : NodeSystemInfo ; public phase ? : string ; public volumesAttached ? : AttachedVolume [ ] ; public volumesInUse ? : string [ ] ; } export class NodeSystemInfo { public architecture : string ; public bootID : string ; public containerRuntimeVersion : string ; public kernelVersion : string ; public kubeProxyVersion : string ; public kubeletVersion : string ; public machineID : string ; public operatingSystem : string ; public osImage : string ; public systemUUID : string ; constructor ( desc ) { this . architecture = desc . architecture ; this . bootID = desc . bootID ; this . containerRuntimeVersion = desc . containerRuntimeVersion ; this . kernelVersion = desc . kernelVersion ; this . kubeProxyVersion = desc . kubeProxyVersion ; this . kubeletVersion = desc . kubeletVersion ; this . machineID = desc . machineID ; this . operatingSystem = desc . operatingSystem ; this . osImage = desc . osImage ; this . systemUUID = desc . systemUUID ; } } export class ObjectFieldSelector { public apiVersion ? : string ; public fieldPath : string ; constructor ( desc ) { this . apiVersion = desc . apiVersion ; this . fieldPath = desc . fieldPath ; } } export class ObjectReference { public apiVersion ? : string ; public fieldPath ? : string ; public kind ? : string ; public name ? : string ; public namespace ? : string ; public resourceVersion ? : string ; public uid ? : string ; } export class PersistentVolume implements KubernetesObject { public apiVersion : string ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; public spec ? : PersistentVolumeSpec ; public status ? : PersistentVolumeStatus ; constructor ( desc ) { this . apiVersion = PersistentVolume . apiVersion ; this . kind = PersistentVolume . kind ; this . metadata = desc . metadata ; this . spec = desc . spec ; this . status = desc . status ; } } export function isPersistentVolume ( o ) { return o && o . apiVersion === PersistentVolume . apiVersion && o . kind === PersistentVolume . kind ; } export namespace PersistentVolume { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "PersistentVolume" ; export function named ( name ) { return new PersistentVolume ( { metadata : { name } } ) ; } export interface Interface { metadata : apisMetaV1 . ObjectMeta ; spec ? : PersistentVolumeSpec ; status ? : PersistentVolumeStatus ; } } export class PersistentVolumeClaim implements KubernetesObject { public apiVersion : string ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; public spec ? : PersistentVolumeClaimSpec ; public status ? : PersistentVolumeClaimStatus ; constructor ( desc ) { this . apiVersion = PersistentVolumeClaim . apiVersion ; this . kind = PersistentVolumeClaim . kind ; this . metadata = desc . metadata ; this . spec = desc . spec ; this . status = desc . status ; } } export function isPersistentVolumeClaim ( o ) { return o && o . apiVersion === PersistentVolumeClaim . apiVersion && o . kind === PersistentVolumeClaim . kind ; } export namespace PersistentVolumeClaim { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "PersistentVolumeClaim" ; export function named ( name ) { return new PersistentVolumeClaim ( { metadata : { name } } ) ; } export interface Interface { metadata : apisMetaV1 . ObjectMeta ; spec ? : PersistentVolumeClaimSpec ; status ? : PersistentVolumeClaimStatus ; } } export class PersistentVolumeClaimCondition { public lastProbeTime ? : apisMetaV1 . Time ; public lastTransitionTime ? : apisMetaV1 . Time ; public message ? : string ; public reason ? : string ; public status : string ; public type : string ; constructor ( desc ) { this . lastProbeTime = desc . lastProbeTime ; this . lastTransitionTime = desc . lastTransitionTime ; this . message = desc . message ; this . reason = desc . reason ; this . status = desc . status ; this . type = desc . type ; } } export class PersistentVolumeClaimList { public apiVersion : string ; public items : PersistentVolumeClaim [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = PersistentVolumeClaimList . apiVersion ; this . items = desc . items . map ( ( i ) => new PersistentVolumeClaim ( i ) ) ; this . kind = PersistentVolumeClaimList . kind ; this . metadata = desc . metadata ; } } export function isPersistentVolumeClaimList ( o ) { return o && o . apiVersion === PersistentVolumeClaimList . apiVersion && o . kind === PersistentVolumeClaimList . kind ; } export namespace PersistentVolumeClaimList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "PersistentVolumeClaimList" ; export interface Interface { items : PersistentVolumeClaim [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class PersistentVolumeClaimSpec { public accessModes ? : string [ ] ; public dataSource ? : TypedLocalObjectReference ; public resources ? : ResourceRequirements ; public selector ? : apisMetaV1 . LabelSelector ; public storageClassName ? : string ; public volumeMode ? : string ; public volumeName ? : string ; } export class PersistentVolumeClaimStatus { public accessModes ? : string [ ] ; public capacity ? : { [ key ] : pkgApiResource . Quantity ; } ; public conditions ? : PersistentVolumeClaimCondition [ ] ; public phase ? : string ; } export class PersistentVolumeClaimTemplate { public metadata ? : apisMetaV1 . ObjectMeta ; public spec : PersistentVolumeClaimSpec ; constructor ( desc ) { this . metadata = desc . metadata ; this . spec = desc . spec ; } } export class PersistentVolumeClaimVolumeSource { public claimName : string ; public readOnly ? : boolean ; constructor ( desc ) { this . claimName = desc . claimName ; this . readOnly = desc . readOnly ; } } export class PersistentVolumeList { public apiVersion : string ; public items : PersistentVolume [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = PersistentVolumeList . apiVersion ; this . items = desc . items . map ( ( i ) => new PersistentVolume ( i ) ) ; this . kind = PersistentVolumeList . kind ; this . metadata = desc . metadata ; } } export function isPersistentVolumeList ( o ) { return o && o . apiVersion === PersistentVolumeList . apiVersion && o . kind === PersistentVolumeList . kind ; } export namespace PersistentVolumeList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "PersistentVolumeList" ; export interface Interface { items : PersistentVolume [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class PersistentVolumeSpec { public accessModes ? : string [ ] ; public awsElasticBlockStore ? : AWSElasticBlockStoreVolumeSource ; public azureDisk ? : AzureDiskVolumeSource ; public azureFile ? : AzureFilePersistentVolumeSource ; public capacity ? : { [ key ] : pkgApiResource . Quantity ; } ; public cephfs ? : CephFSPersistentVolumeSource ; public cinder ? : CinderPersistentVolumeSource ; public claimRef ? : ObjectReference ; public csi ? : CSIPersistentVolumeSource ; public fc ? : FCVolumeSource ; public flexVolume ? : FlexPersistentVolumeSource ; public flocker ? : FlockerVolumeSource ; public gcePersistentDisk ? : GCEPersistentDiskVolumeSource ; public glusterfs ? : GlusterfsPersistentVolumeSource ; public hostPath ? : HostPathVolumeSource ; public iscsi ? : ISCSIPersistentVolumeSource ; public local ? : LocalVolumeSource ; public mountOptions ? : string [ ] ; public nfs ? : NFSVolumeSource ; public nodeAffinity ? : VolumeNodeAffinity ; public persistentVolumeReclaimPolicy ? : string ; public photonPersistentDisk ? : PhotonPersistentDiskVolumeSource ; public portworxVolume ? : PortworxVolumeSource ; public quobyte ? : QuobyteVolumeSource ; public rbd ? : RBDPersistentVolumeSource ; public scaleIO ? : ScaleIOPersistentVolumeSource ; public storageClassName ? : string ; public storageos ? : StorageOSPersistentVolumeSource ; public volumeMode ? : string ; public vsphereVolume ? : VsphereVirtualDiskVolumeSource ; } export class PersistentVolumeStatus { public message ? : string ; public phase ? : string ; public reason ? : string ; } export class PhotonPersistentDiskVolumeSource { public fsType ? : string ; public pdID : string ; constructor ( desc ) { this . fsType = desc . fsType ; this . pdID = desc . pdID ; } } export class Pod implements KubernetesObject { public apiVersion : string ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; public spec ? : PodSpec ; public status ? : PodStatus ; constructor ( desc ) { this . apiVersion = Pod . apiVersion ; this . kind = Pod . kind ; this . metadata = desc . metadata ; this . spec = desc . spec ; this . status = desc . status ; } } export function isPod ( o ) { return o && o . apiVersion === Pod . apiVersion && o . kind === Pod . kind ; } export namespace Pod { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "Pod" ; export function named ( name ) { return new Pod ( { metadata : { name } } ) ; } export interface Interface { metadata : apisMetaV1 . ObjectMeta ; spec ? : PodSpec ; status ? : PodStatus ; } } export class PodAffinity { public preferredDuringSchedulingIgnoredDuringExecution ? : WeightedPodAffinityTerm [ ] ; public requiredDuringSchedulingIgnoredDuringExecution ? : PodAffinityTerm [ ] ; } export class PodAffinityTerm { public labelSelector ? : apisMetaV1 . LabelSelector ; public namespaceSelector ? : apisMetaV1 . LabelSelector ; public namespaces ? : string [ ] ; public topologyKey : string ; constructor ( desc ) { this . labelSelector = desc . labelSelector ; this . namespaceSelector = desc . namespaceSelector ; this . namespaces = desc . namespaces ; this . topologyKey = desc . topologyKey ; } } export class PodAntiAffinity { public preferredDuringSchedulingIgnoredDuringExecution ? : WeightedPodAffinityTerm [ ] ; public requiredDuringSchedulingIgnoredDuringExecution ? : PodAffinityTerm [ ] ; } export class PodCondition { public lastProbeTime ? : apisMetaV1 . Time ; public lastTransitionTime ? : apisMetaV1 . Time ; public message ? : string ; public reason ? : string ; public status : string ; public type : string ; constructor ( desc ) { this . lastProbeTime = desc . lastProbeTime ; this . lastTransitionTime = desc . lastTransitionTime ; this . message = desc . message ; this . reason = desc . reason ; this . status = desc . status ; this . type = desc . type ; } } export class PodDNSConfig { public nameservers ? : string [ ] ; public options ? : PodDNSConfigOption [ ] ; public searches ? : string [ ] ; } export class PodDNSConfigOption { public name ? : string ; public value ? : string ; } export class PodIP { public ip ? : string ; } export class PodList { public apiVersion : string ; public items : Pod [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = PodList . apiVersion ; this . items = desc . items . map ( ( i ) => new Pod ( i ) ) ; this . kind = PodList . kind ; this . metadata = desc . metadata ; } } export function isPodList ( o ) { return o && o . apiVersion === PodList . apiVersion && o . kind === PodList . kind ; } export namespace PodList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "PodList" ; export interface Interface { items : Pod [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class PodReadinessGate { public conditionType : string ; constructor ( desc ) { this . conditionType = desc . conditionType ; } } export class PodSecurityContext { public fsGroup ? : number ; public fsGroupChangePolicy ? : string ; public runAsGroup ? : number ; public runAsNonRoot ? : boolean ; public runAsUser ? : number ; public seLinuxOptions ? : SELinuxOptions ; public seccompProfile ? : SeccompProfile ; public supplementalGroups ? : number [ ] ; public sysctls ? : Sysctl [ ] ; public windowsOptions ? : WindowsSecurityContextOptions ; } export class PodSpec { public activeDeadlineSeconds ? : number ; public affinity ? : Affinity ; public automountServiceAccountToken ? : boolean ; public containers : Container [ ] ; public dnsConfig ? : PodDNSConfig ; public dnsPolicy ? : string ; public enableServiceLinks ? : boolean ; public ephemeralContainers ? : EphemeralContainer [ ] ; public hostAliases ? : HostAlias [ ] ; public hostIPC ? : boolean ; public hostNetwork ? : boolean ; public hostPID ? : boolean ; public hostname ? : string ; public imagePullSecrets ? : LocalObjectReference [ ] ; public initContainers ? : Container [ ] ; public nodeName ? : string ; public nodeSelector ? : { [ key ] : string ; } ; public overhead ? : { [ key ] : pkgApiResource . Quantity ; } ; public preemptionPolicy ? : string ; public priority ? : number ; public priorityClassName ? : string ; public readinessGates ? : PodReadinessGate [ ] ; public restartPolicy ? : string ; public runtimeClassName ? : string ; public schedulerName ? : string ; public securityContext ? : PodSecurityContext ; public serviceAccount ? : string ; public serviceAccountName ? : string ; public setHostnameAsFQDN ? : boolean ; public shareProcessNamespace ? : boolean ; public subdomain ? : string ; public terminationGracePeriodSeconds ? : number ; public tolerations ? : Toleration [ ] ; public topologySpreadConstraints ? : TopologySpreadConstraint [ ] ; public volumes ? : Volume [ ] ; constructor ( desc ) { this . activeDeadlineSeconds = desc . activeDeadlineSeconds ; this . affinity = desc . affinity ; this . automountServiceAccountToken = desc . automountServiceAccountToken ; this . containers = desc . containers ; this . dnsConfig = desc . dnsConfig ; this . dnsPolicy = desc . dnsPolicy ; this . enableServiceLinks = desc . enableServiceLinks ; this . ephemeralContainers = desc . ephemeralContainers ; this . hostAliases = desc . hostAliases ; this . hostIPC = desc . hostIPC ; this . hostNetwork = desc . hostNetwork ; this . hostPID = desc . hostPID ; this . hostname = desc . hostname ; this . imagePullSecrets = desc . imagePullSecrets ; this . initContainers = desc . initContainers ; this . nodeName = desc . nodeName ; this . nodeSelector = desc . nodeSelector ; this . overhead = desc . overhead ; this . preemptionPolicy = desc . preemptionPolicy ; this . priority = desc . priority ; this . priorityClassName = desc . priorityClassName ; this . readinessGates = desc . readinessGates ; this . restartPolicy = desc . restartPolicy ; this . runtimeClassName = desc . runtimeClassName ; this . schedulerName = desc . schedulerName ; this . securityContext = desc . securityContext ; this . serviceAccount = desc . serviceAccount ; this . serviceAccountName = desc . serviceAccountName ; this . setHostnameAsFQDN = desc . setHostnameAsFQDN ; this . shareProcessNamespace = desc . shareProcessNamespace ; this . subdomain = desc . subdomain ; this . terminationGracePeriodSeconds = desc . terminationGracePeriodSeconds ; this . tolerations = desc . tolerations ; this . topologySpreadConstraints = desc . topologySpreadConstraints ; this . volumes = desc . volumes ; } } export class PodStatus { public conditions ? : PodCondition [ ] ; public containerStatuses ? : ContainerStatus [ ] ; public ephemeralContainerStatuses ? : ContainerStatus [ ] ; public hostIP ? : string ; public initContainerStatuses ? : ContainerStatus [ ] ; public message ? : string ; public nominatedNodeName ? : string ; public phase ? : string ; public podIP ? : string ; public podIPs ? : PodIP [ ] ; public qosClass ? : string ; public reason ? : string ; public startTime ? : apisMetaV1 . Time ; } export class PodTemplate implements KubernetesObject { public apiVersion : string ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; public template ? : PodTemplateSpec ; constructor ( desc ) { this . apiVersion = PodTemplate . apiVersion ; this . kind = PodTemplate . kind ; this . metadata = desc . metadata ; this . template = desc . template ; } } export function isPodTemplate ( o ) { return o && o . apiVersion === PodTemplate . apiVersion && o . kind === PodTemplate . kind ; } export namespace PodTemplate { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "PodTemplate" ; export function named ( name ) { return new PodTemplate ( { metadata : { name } } ) ; } export interface Interface { metadata : apisMetaV1 . ObjectMeta ; template ? : PodTemplateSpec ; } } export class PodTemplateList { public apiVersion : string ; public items : PodTemplate [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = PodTemplateList . apiVersion ; this . items = desc . items . map ( ( i ) => new PodTemplate ( i ) ) ; this . kind = PodTemplateList . kind ; this . metadata = desc . metadata ; } } export function isPodTemplateList ( o ) { return o && o . apiVersion === PodTemplateList . apiVersion && o . kind === PodTemplateList . kind ; } export namespace PodTemplateList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "PodTemplateList" ; export interface Interface { items : PodTemplate [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class PodTemplateSpec { public metadata ? : apisMetaV1 . ObjectMeta ; public spec ? : PodSpec ; } export class PortStatus { public error ? : string ; public port : number ; public protocol : string ; constructor ( desc ) { this . error = desc . error ; this . port = desc . port ; this . protocol = desc . protocol ; } } export class PortworxVolumeSource { public fsType ? : string ; public readOnly ? : boolean ; public volumeID : string ; constructor ( desc ) { this . fsType = desc . fsType ; this . readOnly = desc . readOnly ; this . volumeID = desc . volumeID ; } } export class PreferredSchedulingTerm { public preference : NodeSelectorTerm ; public weight : number ; constructor ( desc ) { this . preference = desc . preference ; this . weight = desc . weight ; } } export class Probe { public exec ? : ExecAction ; public failureThreshold ? : number ; public httpGet ? : HTTPGetAction ; public initialDelaySeconds ? : number ; public periodSeconds ? : number ; public successThreshold ? : number ; public tcpSocket ? : TCPSocketAction ; public terminationGracePeriodSeconds ? : number ; public timeoutSeconds ? : number ; } export class ProjectedVolumeSource { public defaultMode ? : number ; public sources ? : VolumeProjection [ ] ; } export class QuobyteVolumeSource { public group ? : string ; public readOnly ? : boolean ; public registry : string ; public tenant ? : string ; public user ? : string ; public volume : string ; constructor ( desc ) { this . group = desc . group ; this . readOnly = desc . readOnly ; this . registry = desc . registry ; this . tenant = desc . tenant ; this . user = desc . user ; this . volume = desc . volume ; } } export class RBDPersistentVolumeSource { public fsType ? : string ; public image : string ; public keyring ? : string ; public monitors : string [ ] ; public pool ? : string ; public readOnly ? : boolean ; public secretRef ? : SecretReference ; public user ? : string ; constructor ( desc ) { this . fsType = desc . fsType ; this . image = desc . image ; this . keyring = desc . keyring ; this . monitors = desc . monitors ; this . pool = desc . pool ; this . readOnly = desc . readOnly ; this . secretRef = desc . secretRef ; this . user = desc . user ; } } export class RBDVolumeSource { public fsType ? : string ; public image : string ; public keyring ? : string ; public monitors : string [ ] ; public pool ? : string ; public readOnly ? : boolean ; public secretRef ? : LocalObjectReference ; public user ? : string ; constructor ( desc ) { this . fsType = desc . fsType ; this . image = desc . image ; this . keyring = desc . keyring ; this . monitors = desc . monitors ; this . pool = desc . pool ; this . readOnly = desc . readOnly ; this . secretRef = desc . secretRef ; this . user = desc . user ; } } export class ReplicationController implements KubernetesObject { public apiVersion : string ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; public spec ? : ReplicationControllerSpec ; public status ? : ReplicationControllerStatus ; constructor ( desc ) { this . apiVersion = ReplicationController . apiVersion ; this . kind = ReplicationController . kind ; this . metadata = desc . metadata ; this . spec = desc . spec ; this . status = desc . status ; } } export function isReplicationController ( o ) { return o && o . apiVersion === ReplicationController . apiVersion && o . kind === ReplicationController . kind ; } export namespace ReplicationController { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "ReplicationController" ; export function named ( name ) { return new ReplicationController ( { metadata : { name } } ) ; } export interface Interface { metadata : apisMetaV1 . ObjectMeta ; spec ? : ReplicationControllerSpec ; status ? : ReplicationControllerStatus ; } } export class ReplicationControllerCondition { public lastTransitionTime ? : apisMetaV1 . Time ; public message ? : string ; public reason ? : string ; public status : string ; public type : string ; constructor ( desc ) { this . lastTransitionTime = desc . lastTransitionTime ; this . message = desc . message ; this . reason = desc . reason ; this . status = desc . status ; this . type = desc . type ; } } export class ReplicationControllerList { public apiVersion : string ; public items : ReplicationController [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = ReplicationControllerList . apiVersion ; this . items = desc . items . map ( ( i ) => new ReplicationController ( i ) ) ; this . kind = ReplicationControllerList . kind ; this . metadata = desc . metadata ; } } export function isReplicationControllerList ( o ) { return o && o . apiVersion === ReplicationControllerList . apiVersion && o . kind === ReplicationControllerList . kind ; } export namespace ReplicationControllerList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "ReplicationControllerList" ; export interface Interface { items : ReplicationController [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class ReplicationControllerSpec { public minReadySeconds ? : number ; public replicas ? : number ; public selector ? : { [ key ] : string ; } ; public template ? : PodTemplateSpec ; } export class ReplicationControllerStatus { public availableReplicas ? : number ; public conditions ? : ReplicationControllerCondition [ ] ; public fullyLabeledReplicas ? : number ; public observedGeneration ? : number ; public readyReplicas ? : number ; public replicas : number ; constructor ( desc ) { this . availableReplicas = desc . availableReplicas ; this . conditions = desc . conditions ; this . fullyLabeledReplicas = desc . fullyLabeledReplicas ; this . observedGeneration = desc . observedGeneration ; this . readyReplicas = desc . readyReplicas ; this . replicas = desc . replicas ; } } export class ResourceFieldSelector { public containerName ? : string ; public divisor ? : pkgApiResource . Quantity ; public resource : string ; constructor ( desc ) { this . containerName = desc . containerName ; this . divisor = desc . divisor ; this . resource = desc . resource ; } } export class ResourceQuota implements KubernetesObject { public apiVersion : string ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; public spec ? : ResourceQuotaSpec ; public status ? : ResourceQuotaStatus ; constructor ( desc ) { this . apiVersion = ResourceQuota . apiVersion ; this . kind = ResourceQuota . kind ; this . metadata = desc . metadata ; this . spec = desc . spec ; this . status = desc . status ; } } export function isResourceQuota ( o ) { return o && o . apiVersion === ResourceQuota . apiVersion && o . kind === ResourceQuota . kind ; } export namespace ResourceQuota { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "ResourceQuota" ; export function named ( name ) { return new ResourceQuota ( { metadata : { name } } ) ; } export interface Interface { metadata : apisMetaV1 . ObjectMeta ; spec ? : ResourceQuotaSpec ; status ? : ResourceQuotaStatus ; } } export class ResourceQuotaList { public apiVersion : string ; public items : ResourceQuota [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = ResourceQuotaList . apiVersion ; this . items = desc . items . map ( ( i ) => new ResourceQuota ( i ) ) ; this . kind = ResourceQuotaList . kind ; this . metadata = desc . metadata ; } } export function isResourceQuotaList ( o ) { return o && o . apiVersion === ResourceQuotaList . apiVersion && o . kind === ResourceQuotaList . kind ; } export namespace ResourceQuotaList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "ResourceQuotaList" ; export interface Interface { items : ResourceQuota [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class ResourceQuotaSpec { public hard ? : { [ key ] : pkgApiResource . Quantity ; } ; public scopeSelector ? : ScopeSelector ; public scopes ? : string [ ] ; } export class ResourceQuotaStatus { public hard ? : { [ key ] : pkgApiResource . Quantity ; } ; public used ? : { [ key ] : pkgApiResource . Quantity ; } ; } export class ResourceRequirements { public limits ? : { [ key ] : pkgApiResource . Quantity ; } ; public requests ? : { [ key ] : pkgApiResource . Quantity ; } ; } export class SELinuxOptions { public level ? : string ; public role ? : string ; public type ? : string ; public user ? : string ; } export class ScaleIOPersistentVolumeSource { public fsType ? : string ; public gateway : string ; public protectionDomain ? : string ; public readOnly ? : boolean ; public secretRef : SecretReference ; public sslEnabled ? : boolean ; public storageMode ? : string ; public storagePool ? : string ; public system : string ; public volumeName ? : string ; constructor ( desc ) { this . fsType = desc . fsType ; this . gateway = desc . gateway ; this . protectionDomain = desc . protectionDomain ; this . readOnly = desc . readOnly ; this . secretRef = desc . secretRef ; this . sslEnabled = desc . sslEnabled ; this . storageMode = desc . storageMode ; this . storagePool = desc . storagePool ; this . system = desc . system ; this . volumeName = desc . volumeName ; } } export class ScaleIOVolumeSource { public fsType ? : string ; public gateway : string ; public protectionDomain ? : string ; public readOnly ? : boolean ; public secretRef : LocalObjectReference ; public sslEnabled ? : boolean ; public storageMode ? : string ; public storagePool ? : string ; public system : string ; public volumeName ? : string ; constructor ( desc ) { this . fsType = desc . fsType ; this . gateway = desc . gateway ; this . protectionDomain = desc . protectionDomain ; this . readOnly = desc . readOnly ; this . secretRef = desc . secretRef ; this . sslEnabled = desc . sslEnabled ; this . storageMode = desc . storageMode ; this . storagePool = desc . storagePool ; this . system = desc . system ; this . volumeName = desc . volumeName ; } } export class ScopeSelector { public matchExpressions ? : ScopedResourceSelectorRequirement [ ] ; } export class ScopedResourceSelectorRequirement { public operator : string ; public scopeName : string ; public values ? : string [ ] ; constructor ( desc ) { this . operator = desc . operator ; this . scopeName = desc . scopeName ; this . values = desc . values ; } } export class SeccompProfile { public localhostProfile ? : string ; public type : string ; constructor ( desc ) { this . localhostProfile = desc . localhostProfile ; this . type = desc . type ; } } export class Secret implements KubernetesObject { public apiVersion : string ; public data ? : { [ key ] : string ; } ; public immutable ? : boolean ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; public stringData ? : { [ key ] : string ; } ; public type ? : string ; constructor ( desc ) { this . apiVersion = Secret . apiVersion ; this . data = desc . data ; this . immutable = desc . immutable ; this . kind = Secret . kind ; this . metadata = desc . metadata ; this . stringData = desc . stringData ; this . type = desc . type ; } } export function isSecret ( o ) { return o && o . apiVersion === Secret . apiVersion && o . kind === Secret . kind ; } export namespace Secret { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "Secret" ; export function named ( name ) { return new Secret ( { metadata : { name } } ) ; } export interface Interface { data ? : { [ key ] : string ; } ; immutable ? : boolean ; metadata : apisMetaV1 . ObjectMeta ; stringData ? : { [ key ] : string ; } ; type ? : string ; } } export class SecretEnvSource { public name ? : string ; public optional ? : boolean ; } export class SecretKeySelector { public key : string ; public name ? : string ; public optional ? : boolean ; constructor ( desc ) { this . key = desc . key ; this . name = desc . name ; this . optional = desc . optional ; } } export class SecretList { public apiVersion : string ; public items : Secret [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = SecretList . apiVersion ; this . items = desc . items . map ( ( i ) => new Secret ( i ) ) ; this . kind = SecretList . kind ; this . metadata = desc . metadata ; } } export function isSecretList ( o ) { return o && o . apiVersion === SecretList . apiVersion && o . kind === SecretList . kind ; } export namespace SecretList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "SecretList" ; export interface Interface { items : Secret [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class SecretProjection { public items ? : KeyToPath [ ] ; public name ? : string ; public optional ? : boolean ; } export class SecretReference { public name ? : string ; public namespace ? : string ; } export class SecretVolumeSource { public defaultMode ? : number ; public items ? : KeyToPath [ ] ; public optional ? : boolean ; public secretName ? : string ; } export class SecurityContext { public allowPrivilegeEscalation ? : boolean ; public capabilities ? : Capabilities ; public privileged ? : boolean ; public procMount ? : string ; public readOnlyRootFilesystem ? : boolean ; public runAsGroup ? : number ; public runAsNonRoot ? : boolean ; public runAsUser ? : number ; public seLinuxOptions ? : SELinuxOptions ; public seccompProfile ? : SeccompProfile ; public windowsOptions ? : WindowsSecurityContextOptions ; } export class Service implements KubernetesObject { public apiVersion : string ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; public spec ? : ServiceSpec ; public status ? : ServiceStatus ; constructor ( desc ) { this . apiVersion = Service . apiVersion ; this . kind = Service . kind ; this . metadata = desc . metadata ; this . spec = desc . spec ; this . status = desc . status ; } } export function isService ( o ) { return o && o . apiVersion === Service . apiVersion && o . kind === Service . kind ; } export namespace Service { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "Service" ; export function named ( name ) { return new Service ( { metadata : { name } } ) ; } export interface Interface { metadata : apisMetaV1 . ObjectMeta ; spec ? : ServiceSpec ; status ? : ServiceStatus ; } } export class ServiceAccount implements KubernetesObject { public apiVersion : string ; public automountServiceAccountToken ? : boolean ; public imagePullSecrets ? : LocalObjectReference [ ] ; public kind : string ; public metadata : apisMetaV1 . ObjectMeta ; public secrets ? : ObjectReference [ ] ; constructor ( desc ) { this . apiVersion = ServiceAccount . apiVersion ; this . automountServiceAccountToken = desc . automountServiceAccountToken ; this . imagePullSecrets = desc . imagePullSecrets ; this . kind = ServiceAccount . kind ; this . metadata = desc . metadata ; this . secrets = desc . secrets ; } } export function isServiceAccount ( o ) { return o && o . apiVersion === ServiceAccount . apiVersion && o . kind === ServiceAccount . kind ; } export namespace ServiceAccount { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "ServiceAccount" ; export function named ( name ) { return new ServiceAccount ( { metadata : { name } } ) ; } export interface Interface { automountServiceAccountToken ? : boolean ; imagePullSecrets ? : LocalObjectReference [ ] ; metadata : apisMetaV1 . ObjectMeta ; secrets ? : ObjectReference [ ] ; } } export class ServiceAccountList { public apiVersion : string ; public items : ServiceAccount [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = ServiceAccountList . apiVersion ; this . items = desc . items . map ( ( i ) => new ServiceAccount ( i ) ) ; this . kind = ServiceAccountList . kind ; this . metadata = desc . metadata ; } } export function isServiceAccountList ( o ) { return o && o . apiVersion === ServiceAccountList . apiVersion && o . kind === ServiceAccountList . kind ; } export namespace ServiceAccountList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "ServiceAccountList" ; export interface Interface { items : ServiceAccount [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class ServiceAccountTokenProjection { public audience ? : string ; public expirationSeconds ? : number ; public path : string ; constructor ( desc ) { this . audience = desc . audience ; this . expirationSeconds = desc . expirationSeconds ; this . path = desc . path ; } } export class ServiceList { public apiVersion : string ; public items : Service [ ] ; public kind : string ; public metadata ? : apisMetaV1 . ListMeta ; constructor ( desc ) { this . apiVersion = ServiceList . apiVersion ; this . items = desc . items . map ( ( i ) => new Service ( i ) ) ; this . kind = ServiceList . kind ; this . metadata = desc . metadata ; } } export function isServiceList ( o ) { return o && o . apiVersion === ServiceList . apiVersion && o . kind === ServiceList . kind ; } export namespace ServiceList { export const apiVersion = "v1" ; export const group = "" ; export const version = "v1" ; export const kind = "ServiceList" ; export interface Interface { items : Service [ ] ; metadata ? : apisMetaV1 . ListMeta ; } } export class ServicePort { public appProtocol ? : string ; public name ? : string ; public nodePort ? : number ; public port : number ; public protocol ? : string ; public targetPort ? : pkgUtilIntstr . IntOrString ; constructor ( desc ) { this . appProtocol = desc . appProtocol ; this . name = desc . name ; this . nodePort = desc . nodePort ; this . port = desc . port ; this . protocol = desc . protocol ; this . targetPort = desc . targetPort ; } } export class ServiceSpec { public allocateLoadBalancerNodePorts ? : boolean ; public clusterIP ? : string ; public clusterIPs ? : string [ ] ; public externalIPs ? : string [ ] ; public externalName ? : string ; public externalTrafficPolicy ? : string ; public healthCheckNodePort ? : number ; public internalTrafficPolicy ? : string ; public ipFamilies ? : string [ ] ; public ipFamilyPolicy ? : string ; public loadBalancerClass ? : string ; public loadBalancerIP ? : string ; public loadBalancerSourceRanges ? : string [ ] ; public ports ? : ServicePort [ ] ; public publishNotReadyAddresses ? : boolean ; public selector ? : { [ key ] : string ; } ; public sessionAffinity ? : string ; public sessionAffinityConfig ? : SessionAffinityConfig ; public topologyKeys ? : string [ ] ; public type ? : string ; } export class ServiceStatus { public conditions ? : apisMetaV1 . Condition [ ] ; public loadBalancer ? : LoadBalancerStatus ; } export class SessionAffinityConfig { public clientIP ? : ClientIPConfig ; } export class StorageOSPersistentVolumeSource { public fsType ? : string ; public readOnly ? : boolean ; public secretRef ? : ObjectReference ; public volumeName ? : string ; public volumeNamespace ? : string ; } export class StorageOSVolumeSource { public fsType ? : string ; public readOnly ? : boolean ; public secretRef ? : LocalObjectReference ; public volumeName ? : string ; public volumeNamespace ? : string ; } export class Sysctl { public name : string ; public value : string ; constructor ( desc ) { this . name = desc . name ; this . value = desc . value ; } } export class TCPSocketAction { public host ? : string ; public port : pkgUtilIntstr . IntOrString ; constructor ( desc ) { this . host = desc . host ; this . port = desc . port ; } } export class Taint { public effect : string ; public key : string ; public timeAdded ? : apisMetaV1 . Time ; public value ? : string ; constructor ( desc ) { this . effect = desc . effect ; this . key = desc . key ; this . timeAdded = desc . timeAdded ; this . value = desc . value ; } } export class Toleration { public effect ? : string ; public key ? : string ; public operator ? : string ; public tolerationSeconds ? : number ; public value ? : string ; } export class TopologySelectorLabelRequirement { public key : string ; public values : string [ ] ; constructor ( desc ) { this . key = desc . key ; this . values = desc . values ; } } export class TopologySelectorTerm { public matchLabelExpressions ? : TopologySelectorLabelRequirement [ ] ; } export class TopologySpreadConstraint { public labelSelector ? : apisMetaV1 . LabelSelector ; public maxSkew : number ; public topologyKey : string ; public whenUnsatisfiable : string ; constructor ( desc ) { this . labelSelector = desc . labelSelector ; this . maxSkew = desc . maxSkew ; this . topologyKey = desc . topologyKey ; this . whenUnsatisfiable = desc . whenUnsatisfiable ; } } export class TypedLocalObjectReference { public apiGroup ? : string ; public kind : string ; public name : string ; constructor ( desc ) { this . apiGroup = desc . apiGroup ; this . kind = desc . kind ; this . name = desc . name ; } } export class Volume { public awsElasticBlockStore ? : AWSElasticBlockStoreVolumeSource ; public azureDisk ? : AzureDiskVolumeSource ; public azureFile ? : AzureFileVolumeSource ; public cephfs ? : CephFSVolumeSource ; public cinder ? : CinderVolumeSource ; public configMap ? : ConfigMapVolumeSource ; public csi ? : CSIVolumeSource ; public downwardAPI ? : DownwardAPIVolumeSource ; public emptyDir ? : EmptyDirVolumeSource ; public ephemeral ? : EphemeralVolumeSource ; public fc ? : FCVolumeSource ; public flexVolume ? : FlexVolumeSource ; public flocker ? : FlockerVolumeSource ; public gcePersistentDisk ? : GCEPersistentDiskVolumeSource ; public gitRepo ? : GitRepoVolumeSource ; public glusterfs ? : GlusterfsVolumeSource ; public hostPath ? : HostPathVolumeSource ; public iscsi ? : ISCSIVolumeSource ; public name : string ; public nfs ? : NFSVolumeSource ; public persistentVolumeClaim ? : PersistentVolumeClaimVolumeSource ; public photonPersistentDisk ? : PhotonPersistentDiskVolumeSource ; public portworxVolume ? : PortworxVolumeSource ; public projected ? : ProjectedVolumeSource ; public quobyte ? : QuobyteVolumeSource ; public rbd ? : RBDVolumeSource ; public scaleIO ? : ScaleIOVolumeSource ; public secret ? : SecretVolumeSource ; public storageos ? : StorageOSVolumeSource ; public vsphereVolume ? : VsphereVirtualDiskVolumeSource ; constructor ( desc ) { this . awsElasticBlockStore = desc . awsElasticBlockStore ; this . azureDisk = desc . azureDisk ; this . azureFile = desc . azureFile ; this . cephfs = desc . cephfs ; this . cinder = desc . cinder ; this . configMap = desc . configMap ; this . csi = desc . csi ; this . downwardAPI = desc . downwardAPI ; this . emptyDir = desc . emptyDir ; this . ephemeral = desc . ephemeral ; this . fc = desc . fc ; this . flexVolume = desc . flexVolume ; this . flocker = desc . flocker ; this . gcePersistentDisk = desc . gcePersistentDisk ; this . gitRepo = desc . gitRepo ; this . glusterfs = desc . glusterfs ; this . hostPath = desc . hostPath ; this . iscsi = desc . iscsi ; this . name = desc . name ; this . nfs = desc . nfs ; this . persistentVolumeClaim = desc . persistentVolumeClaim ; this . photonPersistentDisk = desc . photonPersistentDisk ; this . portworxVolume = desc . portworxVolume ; this . projected = desc . projected ; this . quobyte = desc . quobyte ; this . rbd = desc . rbd ; this . scaleIO = desc . scaleIO ; this . secret = desc . secret ; this . storageos = desc . storageos ; this . vsphereVolume = desc . vsphereVolume ; } } export class VolumeDevice { public devicePath : string ; public name : string ; constructor ( desc ) { this . devicePath = desc . devicePath ; this . name = desc . name ; } } export class VolumeMount { public mountPath : string ; public mountPropagation ? : string ; public name : string ; public readOnly ? : boolean ; public subPath ? : string ; public subPathExpr ? : string ; constructor ( desc ) { this . mountPath = desc . mountPath ; this . mountPropagation = desc . mountPropagation ; this . name = desc . name ; this . readOnly = desc . readOnly ; this . subPath = desc . subPath ; this . subPathExpr = desc . subPathExpr ; } } export class VolumeNodeAffinity { public required ? : NodeSelector ; } export class VolumeProjection { public configMap ? : ConfigMapProjection ; public downwardAPI ? : DownwardAPIProjection ; public secret ? : SecretProjection ; public serviceAccountToken ? : ServiceAccountTokenProjection ; } export class VsphereVirtualDiskVolumeSource { public fsType ? : string ; public storagePolicyID ? : string ; public storagePolicyName ? : string ; public volumePath : string ; constructor ( desc ) { this . fsType = desc . fsType ; this . storagePolicyID = desc . storagePolicyID ; this . storagePolicyName = desc . storagePolicyName ; this . volumePath = desc . volumePath ; } } export class WeightedPodAffinityTerm { public podAffinityTerm : PodAffinityTerm ; public weight : number ; constructor ( desc ) { this . podAffinityTerm = desc . podAffinityTerm ; this . weight = desc . weight ; } } export class WindowsSecurityContextOptions { public gmsaCredentialSpec ? : string ; public gmsaCredentialSpecName ? : string ; public runAsUserName ? : string ; }