case class ReplicaSetStatus(availableReplicas: Optional[Int] = Optional.Absent, conditions: Optional[Vector[ReplicaSetCondition]] = Optional.Absent, fullyLabeledReplicas: Optional[Int] = Optional.Absent, observedGeneration: Optional[Long] = Optional.Absent, readyReplicas: Optional[Int] = Optional.Absent, replicas: Int) extends Product with Serializable
ReplicaSetStatus represents the current status of a ReplicaSet.
- availableReplicas
The number of available replicas (ready for at least minReadySeconds) for this replica set.
- conditions
Represents the latest available observations of a replica set's current state.
- fullyLabeledReplicas
The number of pods that have labels matching the labels of the pod template of the replicaset.
- observedGeneration
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
- readyReplicas
readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.
- replicas
Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
- Alphabetic
- By Inheritance
- ReplicaSetStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ReplicaSetStatus(availableReplicas: Optional[Int] = Optional.Absent, conditions: Optional[Vector[ReplicaSetCondition]] = Optional.Absent, fullyLabeledReplicas: Optional[Int] = Optional.Absent, observedGeneration: Optional[Long] = Optional.Absent, readyReplicas: Optional[Int] = Optional.Absent, replicas: Int)
- availableReplicas
The number of available replicas (ready for at least minReadySeconds) for this replica set.
- conditions
Represents the latest available observations of a replica set's current state.
- fullyLabeledReplicas
The number of pods that have labels matching the labels of the pod template of the replicaset.
- observedGeneration
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
- readyReplicas
readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.
- replicas
Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
Value Members
- val availableReplicas: Optional[Int]
- val conditions: Optional[Vector[ReplicaSetCondition]]
- val fullyLabeledReplicas: Optional[Int]
-
def
getAvailableReplicas: IO[K8sFailure, Int]
The number of available replicas (ready for at least minReadySeconds) for this replica set.
The number of available replicas (ready for at least minReadySeconds) for this replica set.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getConditions: IO[K8sFailure, Vector[ReplicaSetCondition]]
Represents the latest available observations of a replica set's current state.
Represents the latest available observations of a replica set's current state.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getFullyLabeledReplicas: IO[K8sFailure, Int]
The number of pods that have labels matching the labels of the pod template of the replicaset.
The number of pods that have labels matching the labels of the pod template of the replicaset.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getObservedGeneration: IO[K8sFailure, Long]
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getReadyReplicas: IO[K8sFailure, Int]
readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.
readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getReplicas: IO[K8sFailure, Int]
Replicas is the most recently oberved number of replicas.
Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
This effect always succeeds, it is safe to use the field replicas directly.
- val observedGeneration: Optional[Long]
- val readyReplicas: Optional[Int]
- val replicas: Int