Settings:
export KUBERNETES_BRANCH="release-1.10"
export CLIENT_VERSION="0.1.0a1"
export PACKAGE_NAME="client"
24 lines
753 B
Go
24 lines
753 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
|
|
|
|
// ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
|
|
type V2beta1ObjectMetricSource struct {
|
|
|
|
// metricName is the name of the metric in question.
|
|
MetricName string `json:"metricName"`
|
|
|
|
// target is the described Kubernetes object.
|
|
Target *V2beta1CrossVersionObjectReference `json:"target"`
|
|
|
|
// targetValue is the target value of the metric (as a quantity).
|
|
TargetValue string `json:"targetValue"`
|
|
}
|