Skip to content

Commit

Permalink
Use istio.envoy.types.Percent for percentage
Browse files Browse the repository at this point in the history
Signed-off-by: Venil Noronha <veniln@vmware.com>
  • Loading branch information
venilnoronha committed Aug 16, 2018
1 parent 35280a4 commit aee3bd2
Show file tree
Hide file tree
Showing 4 changed files with 285 additions and 197 deletions.
35 changes: 30 additions & 5 deletions networking/v1alpha3/istio.networking.v1alpha3.pb.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
generator: protoc-gen-docs
aliases:
- /docs/reference/config/istio.routing.v1alpha1/
number_of_entries: 49
number_of_entries: 50
---
<p>Configuration affecting traffic routing. Here are a few terms useful to define
in the context of traffic routing.</p>
Expand Down Expand Up @@ -1291,7 +1291,8 @@ <h2 id="HTTPFaultInjection-Abort">HTTPFaultInjection.Abort</h2>
subset: v1
fault:
abort:
percentage: 0.001
percentage:
value: 0.001
httpStatus: 400
</code></pre>

Expand Down Expand Up @@ -1329,7 +1330,7 @@ <h2 id="HTTPFaultInjection-Abort">HTTPFaultInjection.Abort</h2>
</tr>
<tr id="HTTPFaultInjection-Abort-percentage">
<td><code>percentage</code></td>
<td><code>double</code></td>
<td><code><a href="#istio-envoy-types-Percent">istio.envoy.types.Percent</a></code></td>
<td>
<p>Percentage of requests to be aborted with the error code provided.</p>

Expand Down Expand Up @@ -1362,7 +1363,8 @@ <h2 id="HTTPFaultInjection-Delay">HTTPFaultInjection.Delay</h2>
subset: v1
fault:
delay:
percentage: 0.001
percentage:
value: 0.001
fixedDelay: 5s
</code></pre>

Expand Down Expand Up @@ -1400,7 +1402,7 @@ <h2 id="HTTPFaultInjection-Delay">HTTPFaultInjection.Delay</h2>
</tr>
<tr id="HTTPFaultInjection-Delay-percentage">
<td><code>percentage</code></td>
<td><code>double</code></td>
<td><code><a href="#istio-envoy-types-Percent">istio.envoy.types.Percent</a></code></td>
<td>
<p>Percentage of requests on which the delay will be injected.</p>

Expand Down Expand Up @@ -3737,3 +3739,26 @@ <h2 id="VirtualService">VirtualService</h2>
</tbody>
</table>
</section>
<h2 id="istio-envoy-types-Percent">istio.envoy.types.Percent</h2>
<section>
<p>Copied from @envoy/api/envoy/type/percent.proto
Identifies a percentage, in the range [0.0, 100.0].</p>

<table class="message-fields">
<thead>
<tr>
<th>Field</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr id="istio-envoy-types-Percent-value">
<td><code>value</code></td>
<td><code>double</code></td>
<td>
</td>
</tr>
</tbody>
</table>
</section>
Loading

0 comments on commit aee3bd2

Please sign in to comment.