Files
go/kubernetes/client/v2beta1_pods_metric_source.go
Haowei Cai 6181687d2e Generated API change for kubernetes 1.10
Settings:
    export KUBERNETES_BRANCH="release-1.10"
    export CLIENT_VERSION="0.1.0a1"
    export PACKAGE_NAME="client"
2018-03-21 14:15:19 -07:00

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"`
}