@codingame/kubevirt-api
Version:
kubevirt OpenAPI automation for TypeScript
83 lines (82 loc) • 3.54 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 { IoK8sApiAppsV1StatefulSetCondition } from './';
/**
* StatefulSetStatus represents the current state of a StatefulSet.
* @export
* @interface IoK8sApiAppsV1StatefulSetStatus
*/
export interface IoK8sApiAppsV1StatefulSetStatus {
/**
* Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
* @type {number}
* @memberof IoK8sApiAppsV1StatefulSetStatus
*/
availableReplicas?: number;
/**
* collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
* @type {number}
* @memberof IoK8sApiAppsV1StatefulSetStatus
*/
collisionCount?: number;
/**
* Represents the latest available observations of a statefulset's current state.
* @type {Array<IoK8sApiAppsV1StatefulSetCondition>}
* @memberof IoK8sApiAppsV1StatefulSetStatus
*/
conditions?: Array<IoK8sApiAppsV1StatefulSetCondition>;
/**
* currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
* @type {number}
* @memberof IoK8sApiAppsV1StatefulSetStatus
*/
currentReplicas?: number;
/**
* currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
* @type {string}
* @memberof IoK8sApiAppsV1StatefulSetStatus
*/
currentRevision?: string;
/**
* observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
* @type {number}
* @memberof IoK8sApiAppsV1StatefulSetStatus
*/
observedGeneration?: number;
/**
* readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
* @type {number}
* @memberof IoK8sApiAppsV1StatefulSetStatus
*/
readyReplicas?: number;
/**
* replicas is the number of Pods created by the StatefulSet controller.
* @type {number}
* @memberof IoK8sApiAppsV1StatefulSetStatus
*/
replicas: number;
/**
* updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
* @type {string}
* @memberof IoK8sApiAppsV1StatefulSetStatus
*/
updateRevision?: string;
/**
* updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
* @type {number}
* @memberof IoK8sApiAppsV1StatefulSetStatus
*/
updatedReplicas?: number;
}
export declare function IoK8sApiAppsV1StatefulSetStatusFromJSON(json: any): IoK8sApiAppsV1StatefulSetStatus;
export declare function IoK8sApiAppsV1StatefulSetStatusFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiAppsV1StatefulSetStatus;
export declare function IoK8sApiAppsV1StatefulSetStatusToJSON(value?: IoK8sApiAppsV1StatefulSetStatus | null): any;