@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
79 lines (78 loc) • 3.44 kB
TypeScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: unversioned
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { IoK8sApiAppsV1DeploymentCondition } from './';
/**
* DeploymentStatus is the most recently observed status of the Deployment.
* @export
* @interface IoK8sApiAppsV1DeploymentStatus
*/
export interface IoK8sApiAppsV1DeploymentStatus {
/**
* Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
* @type {number}
* @memberof IoK8sApiAppsV1DeploymentStatus
*/
availableReplicas?: number;
/**
* Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
* @type {number}
* @memberof IoK8sApiAppsV1DeploymentStatus
*/
collisionCount?: number;
/**
* Represents the latest available observations of a deployment's current state.
* @type {Array<IoK8sApiAppsV1DeploymentCondition>}
* @memberof IoK8sApiAppsV1DeploymentStatus
*/
conditions?: Array<IoK8sApiAppsV1DeploymentCondition>;
/**
* The generation observed by the deployment controller.
* @type {number}
* @memberof IoK8sApiAppsV1DeploymentStatus
*/
observedGeneration?: number;
/**
* Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
* @type {number}
* @memberof IoK8sApiAppsV1DeploymentStatus
*/
readyReplicas?: number;
/**
* Total number of non-terminating pods targeted by this deployment (their labels match the selector).
* @type {number}
* @memberof IoK8sApiAppsV1DeploymentStatus
*/
replicas?: number;
/**
* Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
*
* This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
* @type {number}
* @memberof IoK8sApiAppsV1DeploymentStatus
*/
terminatingReplicas?: number;
/**
* Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
* @type {number}
* @memberof IoK8sApiAppsV1DeploymentStatus
*/
unavailableReplicas?: number;
/**
* Total number of non-terminating pods targeted by this deployment that have the desired template spec.
* @type {number}
* @memberof IoK8sApiAppsV1DeploymentStatus
*/
updatedReplicas?: number;
}
export declare function IoK8sApiAppsV1DeploymentStatusFromJSON(json: any): IoK8sApiAppsV1DeploymentStatus;
export declare function IoK8sApiAppsV1DeploymentStatusFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAppsV1DeploymentStatus;
export declare function IoK8sApiAppsV1DeploymentStatusToJSON(value?: IoK8sApiAppsV1DeploymentStatus | null): any;