com.coralogix.zio.k8s.model.core.v1
ReplicationControllerStatus
Companion object ReplicationControllerStatus
case class ReplicationControllerStatus(availableReplicas: Optional[Int] = Optional.Absent, conditions: Optional[Vector[ReplicationControllerCondition]] = Optional.Absent, fullyLabeledReplicas: Optional[Int] = Optional.Absent, observedGeneration: Optional[Long] = Optional.Absent, readyReplicas: Optional[Int] = Optional.Absent, replicas: Int) extends Product with Serializable
ReplicationControllerStatus represents the current status of a replication controller.
- availableReplicas
The number of available replicas (ready for at least minReadySeconds) for this replication controller.
- conditions
Represents the latest available observations of a replication controller's current state.
- fullyLabeledReplicas
The number of pods that have labels matching the labels of the pod template of the replication controller.
- observedGeneration
ObservedGeneration reflects the generation of the most recently observed replication controller.
- readyReplicas
The number of ready replicas for this replication controller.
- 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
- ReplicationControllerStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ReplicationControllerStatus(availableReplicas: Optional[Int] = Optional.Absent, conditions: Optional[Vector[ReplicationControllerCondition]] = 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 replication controller.
- conditions
Represents the latest available observations of a replication controller's current state.
- fullyLabeledReplicas
The number of pods that have labels matching the labels of the pod template of the replication controller.
- observedGeneration
ObservedGeneration reflects the generation of the most recently observed replication controller.
- readyReplicas
The number of ready replicas for this replication controller.
- 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[ReplicationControllerCondition]]
- val fullyLabeledReplicas: Optional[Int]
-
def
getAvailableReplicas: IO[K8sFailure, Int]
The number of available replicas (ready for at least minReadySeconds) for this replication controller.
The number of available replicas (ready for at least minReadySeconds) for this replication controller.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getConditions: IO[K8sFailure, Vector[ReplicationControllerCondition]]
Represents the latest available observations of a replication controller's current state.
Represents the latest available observations of a replication controller'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 replication controller.
The number of pods that have labels matching the labels of the pod template of the replication controller.
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 replication controller.
ObservedGeneration reflects the generation of the most recently observed replication controller.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getReadyReplicas: IO[K8sFailure, Int]
The number of ready replicas for this replication controller.
The number of ready replicas for this replication controller.
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