Class ExternalMetricSource

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ExternalMetricSource
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ExternalMetricSourceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    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).
    See Also:
    Serialized Form
    • Constructor Detail

      • ExternalMetricSource

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

      • getMetric

        public MetricIdentifier getMetric()
        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).
      • setMetric

        public void setMetric​(MetricIdentifier metric)
        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).
      • getTarget

        public MetricTarget getTarget()
        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).
      • setTarget

        public void setTarget​(MetricTarget target)
        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).
      • getAdditionalProperties

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

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

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