Files
go/kubernetes/client/v2beta1_object_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

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