Automator: update istio.io@ reference docs (#7883)

This commit is contained in:
Istio Automation 2020-08-06 19:12:13 -07:00 committed by GitHub
parent 08c3e1db01
commit 5a1915cda0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 97 deletions

View File

@ -7,7 +7,7 @@ location: https://istio.io/docs/reference/config/istio.operator.v1alpha1.html
layout: protoc-gen-docs
generator: protoc-gen-docs
weight: 20
number_of_entries: 57
number_of_entries: 56
---
<p>Configuration affecting Istio control plane installation version and shape.</p>
@ -1228,7 +1228,7 @@ No
</tr>
<tr id="ExternalMetricSource-targetValue">
<td><code>targetValue</code></td>
<td><code><a href="#k8s-io-apimachinery-pkg-api-resource-Quantity">Quantity</a></code></td>
<td><code><a href="#TypeIntOrStringForPB">TypeIntOrStringForPB</a></code></td>
<td>
</td>
<td>
@ -1237,7 +1237,7 @@ No
</tr>
<tr id="ExternalMetricSource-targetAverageValue">
<td><code>targetAverageValue</code></td>
<td><code><a href="#k8s-io-apimachinery-pkg-api-resource-Quantity">Quantity</a></code></td>
<td><code><a href="#TypeIntOrStringForPB">TypeIntOrStringForPB</a></code></td>
<td>
</td>
<td>
@ -1272,7 +1272,7 @@ No
</tr>
<tr id="HTTPGetAction-port">
<td><code>port</code></td>
<td><code><a href="#TypeInterface">TypeInterface</a></code></td>
<td><code><a href="#TypeIntOrStringForPB">TypeIntOrStringForPB</a></code></td>
<td>
</td>
<td>
@ -1729,7 +1729,7 @@ No
</tr>
<tr id="ObjectMetricSource-targetValue">
<td><code>targetValue</code></td>
<td><code><a href="#k8s-io-apimachinery-pkg-api-resource-Quantity">Quantity</a></code></td>
<td><code><a href="#TypeIntOrStringForPB">TypeIntOrStringForPB</a></code></td>
<td>
</td>
<td>
@ -1747,7 +1747,7 @@ No
</tr>
<tr id="ObjectMetricSource-averageValue">
<td><code>averageValue</code></td>
<td><code><a href="#k8s-io-apimachinery-pkg-api-resource-Quantity">Quantity</a></code></td>
<td><code><a href="#TypeIntOrStringForPB">TypeIntOrStringForPB</a></code></td>
<td>
</td>
<td>
@ -1940,7 +1940,7 @@ No
</tr>
<tr id="PodsMetricSource-targetAverageValue">
<td><code>targetAverageValue</code></td>
<td><code><a href="#k8s-io-apimachinery-pkg-api-resource-Quantity">Quantity</a></code></td>
<td><code><a href="#TypeIntOrStringForPB">TypeIntOrStringForPB</a></code></td>
<td>
</td>
<td>
@ -2117,7 +2117,7 @@ No
</tr>
<tr id="ResourceFieldSelector-divisor">
<td><code>divisor</code></td>
<td><code><a href="#k8s-io-apimachinery-pkg-api-resource-Quantity">Quantity</a></code></td>
<td><code><a href="#TypeIntOrStringForPB">TypeIntOrStringForPB</a></code></td>
<td>
</td>
<td>
@ -2152,7 +2152,7 @@ No
</tr>
<tr id="ResourceMetricSource-targetAverageUtilization">
<td><code>targetAverageUtilization</code></td>
<td><code><a href="#TypeInterface">TypeInterface</a></code></td>
<td><code>int32</code></td>
<td>
</td>
<td>
@ -2161,7 +2161,7 @@ No
</tr>
<tr id="ResourceMetricSource-targetAverageValue">
<td><code>targetAverageValue</code></td>
<td><code><a href="#k8s-io-apimachinery-pkg-api-resource-Quantity">Quantity</a></code></td>
<td><code><a href="#TypeIntOrStringForPB">TypeIntOrStringForPB</a></code></td>
<td>
</td>
<td>
@ -2222,7 +2222,7 @@ No
<tbody>
<tr id="RollingUpdateDeployment-maxUnavailable">
<td><code>maxUnavailable</code></td>
<td><code><a href="#TypeInterface">TypeInterface</a></code></td>
<td><code><a href="#TypeIntOrStringForPB">TypeIntOrStringForPB</a></code></td>
<td>
</td>
<td>
@ -2231,7 +2231,7 @@ No
</tr>
<tr id="RollingUpdateDeployment-maxSurge">
<td><code>maxSurge</code></td>
<td><code><a href="#TypeInterface">TypeInterface</a></code></td>
<td><code><a href="#TypeIntOrStringForPB">TypeIntOrStringForPB</a></code></td>
<td>
</td>
<td>
@ -2462,7 +2462,7 @@ No
</tr>
<tr id="ServicePort-targetPort">
<td><code>targetPort</code></td>
<td><code><a href="#TypeInterface">TypeInterface</a></code></td>
<td><code><a href="#TypeIntOrStringForPB">TypeIntOrStringForPB</a></code></td>
<td>
</td>
<td>
@ -2523,7 +2523,7 @@ No
<tbody>
<tr id="TCPSocketAction-port">
<td><code>port</code></td>
<td><code><a href="#TypeInterface">TypeInterface</a></code></td>
<td><code><a href="#TypeIntOrStringForPB">TypeIntOrStringForPB</a></code></td>
<td>
</td>
<td>
@ -2788,89 +2788,6 @@ No
<p>matchExpressions is a list of label selector requirements. The requirements are ANDed.
+optional</p>
</td>
<td>
No
</td>
</tr>
</tbody>
</table>
</section>
<h2 id="k8s-io-apimachinery-pkg-api-resource-Quantity">k8s.io.apimachinery.pkg.api.resource.Quantity</h2>
<section>
<p>Quantity is a fixed-point representation of a number.
It provides convenient marshaling/unmarshaling in JSON and YAML,
in addition to String() and Int64() accessors.</p>
<p>The serialization format is:</p>
<p><quantity> ::= <signedNumber><suffix>
(Note that <suffix> may be empty, from the &ldquo;&rdquo; case in <decimalSI>.)
<digit> ::= 0 | 1 | &hellip; | 9
<digits> ::= <digit> | <digit><digits>
<number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits>
<sign> ::= &ldquo;+&rdquo; | &ldquo;-&rdquo;
<signedNumber> ::= <number> | <sign><number>
<suffix> ::= <binarySI> | <decimalExponent> | <decimalSI>
<binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei
(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)
<decimalSI> ::= m | &ldquo;&rdquo; | k | M | G | T | P | E
(Note that 1024 = 1Ki but 1000 = 1k; I didn&rsquo;t choose the capitalization.)
<decimalExponent> ::= &ldquo;e&rdquo; <signedNumber> | &ldquo;E&rdquo; <signedNumber></p>
<p>No matter which of the three exponent forms is used, no quantity may represent
a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal
places. Numbers larger or more precise will be capped or rounded up.
(E.g.: 0.1m will rounded up to 1m.)
This may be extended in the future if we require larger or smaller quantities.</p>
<p>When a Quantity is parsed from a string, it will remember the type of suffix
it had, and will use the same type again when it is serialized.</p>
<p>Before serializing, Quantity will be put in &ldquo;canonical form&rdquo;.
This means that Exponent/suffix will be adjusted up or down (with a
corresponding increase or decrease in Mantissa) such that:
a. No precision is lost
b. No fractional digits will be emitted
c. The exponent (or suffix) is as large as possible.
The sign will be omitted unless the number is negative.</p>
<p>Examples:
1.5 will be serialized as &ldquo;1500m&rdquo;
1.5Gi will be serialized as &ldquo;1536Mi&rdquo;</p>
<p>Note that the quantity will NEVER be internally represented by a
floating point number. That is the whole point of this exercise.</p>
<p>Non-canonical values will still parse as long as they are well formed,
but will be re-emitted in their canonical form. (So always use canonical
form, or don&rsquo;t diff.)</p>
<p>This format is intended to make it difficult to use these numbers without
writing some sort of special handling code in the hopes that that will
cause implementors to also use a fixed point implementation.</p>
<p>+protobuf=true
+protobuf.embed=string
+protobuf.options.marshal=false
+protobuf.options.(gogoproto.goproto_stringer)=false
+k8s:deepcopy-gen=true
+k8s:openapi-gen=true</p>
<table class="message-fields">
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
<th>Required</th>
</tr>
</thead>
<tbody>
<tr id="k8s-io-apimachinery-pkg-api-resource-Quantity-string">
<td><code>string</code></td>
<td><code>string</code></td>
<td>
</td>
<td>
No