/
v1DeploymentStatus.ts
101 lines (95 loc) · 3.23 KB
/
v1DeploymentStatus.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: release-1.28
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { RequestFile } from './models';
import { V1DeploymentCondition } from './v1DeploymentCondition';
/**
* DeploymentStatus is the most recently observed status of the Deployment.
*/
export class V1DeploymentStatus {
/**
* Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
*/
'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.
*/
'collisionCount'?: number;
/**
* Represents the latest available observations of a deployment\'s current state.
*/
'conditions'?: Array<V1DeploymentCondition>;
/**
* The generation observed by the deployment controller.
*/
'observedGeneration'?: number;
/**
* readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.
*/
'readyReplicas'?: number;
/**
* Total number of non-terminated pods targeted by this deployment (their labels match the selector).
*/
'replicas'?: 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.
*/
'unavailableReplicas'?: number;
/**
* Total number of non-terminated pods targeted by this deployment that have the desired template spec.
*/
'updatedReplicas'?: number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "availableReplicas",
"baseName": "availableReplicas",
"type": "number"
},
{
"name": "collisionCount",
"baseName": "collisionCount",
"type": "number"
},
{
"name": "conditions",
"baseName": "conditions",
"type": "Array<V1DeploymentCondition>"
},
{
"name": "observedGeneration",
"baseName": "observedGeneration",
"type": "number"
},
{
"name": "readyReplicas",
"baseName": "readyReplicas",
"type": "number"
},
{
"name": "replicas",
"baseName": "replicas",
"type": "number"
},
{
"name": "unavailableReplicas",
"baseName": "unavailableReplicas",
"type": "number"
},
{
"name": "updatedReplicas",
"baseName": "updatedReplicas",
"type": "number"
} ];
static getAttributeTypeMap() {
return V1DeploymentStatus.attributeTypeMap;
}
}