Class DeploymentStatus
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.apps.v1beta1.DeploymentStatus
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class DeploymentStatus extends java.lang.Object implements com.marcnuri.yakc.model.Model
DeploymentStatus is the most recently observed status of the Deployment.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeploymentStatus.Builder
-
Constructor Summary
Constructors Constructor Description DeploymentStatus()
DeploymentStatus(java.lang.Number availableReplicas, java.lang.Number collisionCount, java.util.List<DeploymentCondition> conditions, java.lang.Number observedGeneration, java.lang.Number readyReplicas, java.lang.Number replicas, java.lang.Number unavailableReplicas, java.lang.Number updatedReplicas)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeploymentStatus.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Number
getAvailableReplicas()
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.java.lang.Number
getCollisionCount()
Count of hash collisions for the Deployment.java.util.List<DeploymentCondition>
getConditions()
Represents the latest available observations of a deployment's current state.java.lang.Number
getObservedGeneration()
The generation observed by the deployment controller.java.lang.Number
getReadyReplicas()
Total number of ready pods targeted by this deployment.java.lang.Number
getReplicas()
Total number of non-terminated pods targeted by this deployment (their labels match the selector).java.lang.Number
getUnavailableReplicas()
Total number of unavailable pods targeted by this deployment.java.lang.Number
getUpdatedReplicas()
Total number of non-terminated pods targeted by this deployment that have the desired template spec.int
hashCode()
void
setAvailableReplicas(java.lang.Number availableReplicas)
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.void
setCollisionCount(java.lang.Number collisionCount)
Count of hash collisions for the Deployment.void
setConditions(java.util.List<DeploymentCondition> conditions)
Represents the latest available observations of a deployment's current state.void
setObservedGeneration(java.lang.Number observedGeneration)
The generation observed by the deployment controller.void
setReadyReplicas(java.lang.Number readyReplicas)
Total number of ready pods targeted by this deployment.void
setReplicas(java.lang.Number replicas)
Total number of non-terminated pods targeted by this deployment (their labels match the selector).void
setUnavailableReplicas(java.lang.Number unavailableReplicas)
Total number of unavailable pods targeted by this deployment.void
setUpdatedReplicas(java.lang.Number updatedReplicas)
Total number of non-terminated pods targeted by this deployment that have the desired template spec.DeploymentStatus.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
DeploymentStatus
public DeploymentStatus(java.lang.Number availableReplicas, java.lang.Number collisionCount, java.util.List<DeploymentCondition> conditions, java.lang.Number observedGeneration, java.lang.Number readyReplicas, java.lang.Number replicas, java.lang.Number unavailableReplicas, java.lang.Number updatedReplicas)
-
DeploymentStatus
public DeploymentStatus()
-
-
Method Detail
-
builder
public static DeploymentStatus.Builder builder()
-
toBuilder
public DeploymentStatus.Builder toBuilder()
-
getAvailableReplicas
public java.lang.Number getAvailableReplicas()
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
-
getCollisionCount
public java.lang.Number 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.
-
getConditions
public java.util.List<DeploymentCondition> getConditions()
Represents the latest available observations of a deployment's current state.
-
getObservedGeneration
public java.lang.Number getObservedGeneration()
The generation observed by the deployment controller.
-
getReadyReplicas
public java.lang.Number getReadyReplicas()
Total number of ready pods targeted by this deployment.
-
getReplicas
public java.lang.Number getReplicas()
Total number of non-terminated pods targeted by this deployment (their labels match the selector).
-
getUnavailableReplicas
public java.lang.Number 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.
-
getUpdatedReplicas
public java.lang.Number getUpdatedReplicas()
Total number of non-terminated pods targeted by this deployment that have the desired template spec.
-
setAvailableReplicas
public void setAvailableReplicas(java.lang.Number availableReplicas)
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
-
setCollisionCount
public void setCollisionCount(java.lang.Number collisionCount)
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.
-
setConditions
public void setConditions(java.util.List<DeploymentCondition> conditions)
Represents the latest available observations of a deployment's current state.
-
setObservedGeneration
public void setObservedGeneration(java.lang.Number observedGeneration)
The generation observed by the deployment controller.
-
setReadyReplicas
public void setReadyReplicas(java.lang.Number readyReplicas)
Total number of ready pods targeted by this deployment.
-
setReplicas
public void setReplicas(java.lang.Number replicas)
Total number of non-terminated pods targeted by this deployment (their labels match the selector).
-
setUnavailableReplicas
public void setUnavailableReplicas(java.lang.Number unavailableReplicas)
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.
-
setUpdatedReplicas
public void setUpdatedReplicas(java.lang.Number updatedReplicas)
Total number of non-terminated pods targeted by this deployment that have the desired template spec.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-