Class ScaleStatus

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<ScaleStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ScaleStatus
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ScaleStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    represents the current status of a scale subresource.
    See Also:
    Serialized Form
    • Constructor Detail

      • ScaleStatus

        public ScaleStatus()
        No args constructor for use in serialization
    • Method Detail

      • getReplicas

        public Integer getReplicas()
        actual number of observed instances of the scaled object.
      • setReplicas

        public void setReplicas​(Integer replicas)
        actual number of observed instances of the scaled object.
      • getSelector

        public Map<String,​String> getSelector()
        label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
      • setSelector

        public void setSelector​(Map<String,​String> selector)
        label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
      • getTargetSelector

        public String getTargetSelector()
        label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
      • setTargetSelector

        public void setTargetSelector​(String targetSelector)
        label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)