/
v1StatefulSetStatus.ts
119 lines (113 loc) · 3.87 KB
/
v1StatefulSetStatus.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/**
* 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 { V1StatefulSetCondition } from './v1StatefulSetCondition';
/**
* StatefulSetStatus represents the current state of a StatefulSet.
*/
export class V1StatefulSetStatus {
/**
* Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
*/
'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.
*/
'collisionCount'?: number;
/**
* Represents the latest available observations of a statefulset\'s current state.
*/
'conditions'?: Array<V1StatefulSetCondition>;
/**
* currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
*/
'currentReplicas'?: number;
/**
* currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
*/
'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.
*/
'observedGeneration'?: number;
/**
* readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
*/
'readyReplicas'?: number;
/**
* replicas is the number of Pods created by the StatefulSet controller.
*/
'replicas': number;
/**
* updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
*/
'updateRevision'?: string;
/**
* updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
*/
'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<V1StatefulSetCondition>"
},
{
"name": "currentReplicas",
"baseName": "currentReplicas",
"type": "number"
},
{
"name": "currentRevision",
"baseName": "currentRevision",
"type": "string"
},
{
"name": "observedGeneration",
"baseName": "observedGeneration",
"type": "number"
},
{
"name": "readyReplicas",
"baseName": "readyReplicas",
"type": "number"
},
{
"name": "replicas",
"baseName": "replicas",
"type": "number"
},
{
"name": "updateRevision",
"baseName": "updateRevision",
"type": "string"
},
{
"name": "updatedReplicas",
"baseName": "updatedReplicas",
"type": "number"
} ];
static getAttributeTypeMap() {
return V1StatefulSetStatus.attributeTypeMap;
}
}