ExternalMetricSource class
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).
Constructors
- ExternalMetricSource({required MetricIdentifier metric, required MetricTarget target})
-
Default constructor.
const
-
ExternalMetricSource.fromJson(Map<
String, dynamic> json) -
Creates a ExternalMetricSource from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- metric → MetricIdentifier
-
metric identifies the target metric by name and selector.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- target → MetricTarget
-
target specifies the target value for the given metric.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a ExternalMetricSource instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited