Package net.stickycode.kuuty.model.v18
Class IoK8sApiAppsV1DeploymentStatus
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAppsV1DeploymentStatus
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAppsV1DeploymentStatus extends Object
DeploymentStatus is the most recently observed status of the Deployment.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AVAILABLE_REPLICASstatic StringJSON_PROPERTY_COLLISION_COUNTstatic StringJSON_PROPERTY_CONDITIONSstatic StringJSON_PROPERTY_OBSERVED_GENERATIONstatic StringJSON_PROPERTY_READY_REPLICASstatic StringJSON_PROPERTY_REPLICASstatic StringJSON_PROPERTY_UNAVAILABLE_REPLICASstatic StringJSON_PROPERTY_UPDATED_REPLICAS
-
Constructor Summary
Constructors Constructor Description IoK8sApiAppsV1DeploymentStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiAppsV1DeploymentStatusaddConditionsItem(IoK8sApiAppsV1DeploymentCondition conditionsItem)IoK8sApiAppsV1DeploymentStatusavailableReplicas(Integer availableReplicas)IoK8sApiAppsV1DeploymentStatuscollisionCount(Integer collisionCount)IoK8sApiAppsV1DeploymentStatusconditions(List<IoK8sApiAppsV1DeploymentCondition> conditions)booleanequals(Object o)IntegergetAvailableReplicas()Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.IntegergetCollisionCount()Count of hash collisions for the Deployment.List<IoK8sApiAppsV1DeploymentCondition>getConditions()Represents the latest available observations of a deployment's current state.LonggetObservedGeneration()The generation observed by the deployment controller.IntegergetReadyReplicas()Total number of ready pods targeted by this deployment.IntegergetReplicas()Total number of non-terminated pods targeted by this deployment (their labels match the selector).IntegergetUnavailableReplicas()Total number of unavailable pods targeted by this deployment.IntegergetUpdatedReplicas()Total number of non-terminated pods targeted by this deployment that have the desired template spec.inthashCode()IoK8sApiAppsV1DeploymentStatusobservedGeneration(Long observedGeneration)IoK8sApiAppsV1DeploymentStatusreadyReplicas(Integer readyReplicas)IoK8sApiAppsV1DeploymentStatusreplicas(Integer replicas)voidsetAvailableReplicas(Integer availableReplicas)voidsetCollisionCount(Integer collisionCount)voidsetConditions(List<IoK8sApiAppsV1DeploymentCondition> conditions)voidsetObservedGeneration(Long observedGeneration)voidsetReadyReplicas(Integer readyReplicas)voidsetReplicas(Integer replicas)voidsetUnavailableReplicas(Integer unavailableReplicas)voidsetUpdatedReplicas(Integer updatedReplicas)StringtoString()IoK8sApiAppsV1DeploymentStatusunavailableReplicas(Integer unavailableReplicas)IoK8sApiAppsV1DeploymentStatusupdatedReplicas(Integer updatedReplicas)
-
-
-
Field Detail
-
JSON_PROPERTY_AVAILABLE_REPLICAS
public static final String JSON_PROPERTY_AVAILABLE_REPLICAS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COLLISION_COUNT
public static final String JSON_PROPERTY_COLLISION_COUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONDITIONS
public static final String JSON_PROPERTY_CONDITIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OBSERVED_GENERATION
public static final String JSON_PROPERTY_OBSERVED_GENERATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_READY_REPLICAS
public static final String JSON_PROPERTY_READY_REPLICAS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REPLICAS
public static final String JSON_PROPERTY_REPLICAS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UNAVAILABLE_REPLICAS
public static final String JSON_PROPERTY_UNAVAILABLE_REPLICAS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UPDATED_REPLICAS
public static final String JSON_PROPERTY_UPDATED_REPLICAS
- See Also:
- Constant Field Values
-
-
Method Detail
-
availableReplicas
public IoK8sApiAppsV1DeploymentStatus availableReplicas(Integer availableReplicas)
-
getAvailableReplicas
@Nullable public Integer getAvailableReplicas()
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.- Returns:
- availableReplicas
-
setAvailableReplicas
public void setAvailableReplicas(Integer availableReplicas)
-
collisionCount
public IoK8sApiAppsV1DeploymentStatus collisionCount(Integer collisionCount)
-
getCollisionCount
@Nullable public Integer getCollisionCount()
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.- Returns:
- collisionCount
-
setCollisionCount
public void setCollisionCount(Integer collisionCount)
-
conditions
public IoK8sApiAppsV1DeploymentStatus conditions(List<IoK8sApiAppsV1DeploymentCondition> conditions)
-
addConditionsItem
public IoK8sApiAppsV1DeploymentStatus addConditionsItem(IoK8sApiAppsV1DeploymentCondition conditionsItem)
-
getConditions
@Nullable public List<IoK8sApiAppsV1DeploymentCondition> getConditions()
Represents the latest available observations of a deployment's current state.- Returns:
- conditions
-
setConditions
public void setConditions(List<IoK8sApiAppsV1DeploymentCondition> conditions)
-
observedGeneration
public IoK8sApiAppsV1DeploymentStatus observedGeneration(Long observedGeneration)
-
getObservedGeneration
@Nullable public Long getObservedGeneration()
The generation observed by the deployment controller.- Returns:
- observedGeneration
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
-
readyReplicas
public IoK8sApiAppsV1DeploymentStatus readyReplicas(Integer readyReplicas)
-
getReadyReplicas
@Nullable public Integer getReadyReplicas()
Total number of ready pods targeted by this deployment.- Returns:
- readyReplicas
-
setReadyReplicas
public void setReadyReplicas(Integer readyReplicas)
-
replicas
public IoK8sApiAppsV1DeploymentStatus replicas(Integer replicas)
-
getReplicas
@Nullable public Integer getReplicas()
Total number of non-terminated pods targeted by this deployment (their labels match the selector).- Returns:
- replicas
-
setReplicas
public void setReplicas(Integer replicas)
-
unavailableReplicas
public IoK8sApiAppsV1DeploymentStatus unavailableReplicas(Integer unavailableReplicas)
-
getUnavailableReplicas
@Nullable public Integer getUnavailableReplicas()
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.- Returns:
- unavailableReplicas
-
setUnavailableReplicas
public void setUnavailableReplicas(Integer unavailableReplicas)
-
updatedReplicas
public IoK8sApiAppsV1DeploymentStatus updatedReplicas(Integer updatedReplicas)
-
getUpdatedReplicas
@Nullable public Integer getUpdatedReplicas()
Total number of non-terminated pods targeted by this deployment that have the desired template spec.- Returns:
- updatedReplicas
-
setUpdatedReplicas
public void setUpdatedReplicas(Integer updatedReplicas)
-
-