Class ExternalMetricSource

    • Constructor Detail

      • ExternalMetricSource

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

      • getMetricName

        public String getMetricName()
        metricName is the name of the metric in question.
      • setMetricName

        public void setMetricName​(String metricName)
        metricName is the name of the metric in question.
      • getMetricSelector

        public LabelSelector getMetricSelector()
        ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
      • setMetricSelector

        public void setMetricSelector​(LabelSelector metricSelector)
        ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
      • getTargetAverageValue

        public Quantity getTargetAverageValue()
        ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
      • setTargetAverageValue

        public void setTargetAverageValue​(Quantity targetAverageValue)
        ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
      • getTargetValue

        public Quantity getTargetValue()
        ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
      • setTargetValue

        public void setTargetValue​(Quantity targetValue)
        ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
      • getAdditionalProperties

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

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

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