-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathv1beta2_stateful_set_status.go
41 lines (30 loc) · 2.06 KB
/
v1beta2_stateful_set_status.go
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
/*
* Kubernetes
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: v1.10.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package client
// StatefulSetStatus represents the current state of a StatefulSet.
type V1beta2StatefulSetStatus struct {
// 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 int32 `json:"collisionCount,omitempty"`
// Represents the latest available observations of a statefulset's current state.
Conditions []V1beta2StatefulSetCondition `json:"conditions,omitempty"`
// currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
CurrentReplicas int32 `json:"currentReplicas,omitempty"`
// currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
CurrentRevision string `json:"currentRevision,omitempty"`
// 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 int64 `json:"observedGeneration,omitempty"`
// readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
ReadyReplicas int32 `json:"readyReplicas,omitempty"`
// replicas is the number of Pods created by the StatefulSet controller.
Replicas int32 `json:"replicas"`
// updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
UpdateRevision string `json:"updateRevision,omitempty"`
// updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
UpdatedReplicas int32 `json:"updatedReplicas,omitempty"`
}