Class ReplicationControllerStatus

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class ReplicationControllerStatus
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    ReplicationControllerStatus represents the current status of a replication controller.
    • Constructor Detail

      • ReplicationControllerStatus

        public ReplicationControllerStatus​(java.lang.Number availableReplicas,
                                           java.util.List<ReplicationControllerCondition> conditions,
                                           java.lang.Number fullyLabeledReplicas,
                                           java.lang.Number observedGeneration,
                                           java.lang.Number readyReplicas,
                                           @NonNull
                                           @NonNull java.lang.Number replicas)
      • ReplicationControllerStatus

        public ReplicationControllerStatus()
    • Method Detail

      • getAvailableReplicas

        public java.lang.Number getAvailableReplicas()
        The number of available replicas (ready for at least minReadySeconds) for this replication controller.
      • getConditions

        public java.util.List<ReplicationControllerCondition> getConditions()
        Represents the latest available observations of a replication controller's current state.
      • getFullyLabeledReplicas

        public java.lang.Number getFullyLabeledReplicas()
        The number of pods that have labels matching the labels of the pod template of the replication controller.
      • getObservedGeneration

        public java.lang.Number getObservedGeneration()
        ObservedGeneration reflects the generation of the most recently observed replication controller.
      • getReadyReplicas

        public java.lang.Number getReadyReplicas()
        The number of ready replicas for this replication controller.
      • getReplicas

        @NonNull
        public @NonNull java.lang.Number getReplicas()
        Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
      • setAvailableReplicas

        public void setAvailableReplicas​(java.lang.Number availableReplicas)
        The number of available replicas (ready for at least minReadySeconds) for this replication controller.
      • setConditions

        public void setConditions​(java.util.List<ReplicationControllerCondition> conditions)
        Represents the latest available observations of a replication controller's current state.
      • setFullyLabeledReplicas

        public void setFullyLabeledReplicas​(java.lang.Number fullyLabeledReplicas)
        The number of pods that have labels matching the labels of the pod template of the replication controller.
      • setObservedGeneration

        public void setObservedGeneration​(java.lang.Number observedGeneration)
        ObservedGeneration reflects the generation of the most recently observed replication controller.
      • setReadyReplicas

        public void setReadyReplicas​(java.lang.Number readyReplicas)
        The number of ready replicas for this replication controller.
      • setReplicas

        public void setReplicas​(@NonNull
                                @NonNull java.lang.Number replicas)
        Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object