Settings:
export KUBERNETES_BRANCH="release-1.10"
export CLIENT_VERSION="0.1.0a1"
export PACKAGE_NAME="client"
21 lines
794 B
Go
21 lines
794 B
Go
/*
|
|
* Kubernetes
|
|
*
|
|
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
*
|
|
* API version: v1.10.0
|
|
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
*/
|
|
|
|
package client
|
|
|
|
// PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
|
|
type V2beta1PodsMetricSource struct {
|
|
|
|
// metricName is the name of the metric in question
|
|
MetricName string `json:"metricName"`
|
|
|
|
// targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
TargetAverageValue string `json:"targetAverageValue"`
|
|
}
|