allErrs=append(allErrs,field.Required(fldPath.Child("targetAverageUtilization"),"must set either a target raw value or a target utilization"))
allErrs=append(allErrs,field.Required(fldPath.Child("target").Child("averageUtilization"),"must set either a target raw value or a target utilization"))
@@ -173,6 +177,8 @@ var map_PodsMetricSource = map[string]string{
...
@@ -173,6 +177,8 @@ var map_PodsMetricSource = map[string]string{
"":"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.",
"":"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.",
"metricName":"metricName is the name of the metric in question",
"metricName":"metricName is the name of the metric in question",
"targetAverageValue":"targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)",
"targetAverageValue":"targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)",
"selector":"selector is the selector for the given metric it is the string-encoded form of a standard kubernetes label selector",
"value":"value is the target value of the metric (as a quantity).",
@@ -183,6 +189,8 @@ var map_PodsMetricStatus = map[string]string{
...
@@ -183,6 +189,8 @@ var map_PodsMetricStatus = map[string]string{
"":"PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).",
"":"PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).",
"metricName":"metricName is the name of the metric in question",
"metricName":"metricName is the name of the metric in question",
"currentAverageValue":"currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)",
"currentAverageValue":"currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)",
"selector":"selector is the selector for the given metric it is the string-encoded form of a standard kubernetes label selector",
"value":"value is the current value of the metric (as a quantity)",
@@ -174,6 +178,8 @@ var map_PodsMetricSource = map[string]string{
...
@@ -174,6 +178,8 @@ var map_PodsMetricSource = map[string]string{
"":"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.",
"":"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.",
"metricName":"metricName is the name of the metric in question",
"metricName":"metricName is the name of the metric in question",
"targetAverageValue":"targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)",
"targetAverageValue":"targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)",
"selector":"selector is the selector for the given metric it is the string-encoded form of a standard kubernetes label selector",
"value":"value is the target value of the metric (as a quantity).",
@@ -184,6 +190,8 @@ var map_PodsMetricStatus = map[string]string{
...
@@ -184,6 +190,8 @@ var map_PodsMetricStatus = map[string]string{
"":"PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).",
"":"PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).",
"metricName":"metricName is the name of the metric in question",
"metricName":"metricName is the name of the metric in question",
"currentAverageValue":"currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)",
"currentAverageValue":"currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)",
"selector":"selector is the selector for the given metric it is the string-encoded form of a standard kubernetes label selector",
"value":"value is the current value of the metric (as a quantity)",