mirror of https://github.com/istio/istio.io.git
60 lines
1.3 KiB
HTML
60 lines
1.3 KiB
HTML
---
|
|
title: String
|
|
description: String protos for Istio API.
|
|
location: https://istio.io/docs/reference/config/istio.string.v1alpha1.html
|
|
layout: protoc-gen-docs
|
|
generator: protoc-gen-docs
|
|
number_of_entries: 1
|
|
---
|
|
<p>This package defines common string protos.</p>
|
|
|
|
<h2 id="StringMatch">StringMatch</h2>
|
|
<section>
|
|
<p>Describes how to match a given string. Match is case-sensitive.</p>
|
|
|
|
<table class="message-fields">
|
|
<thead>
|
|
<tr>
|
|
<th>Field</th>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr id="StringMatch-exact" class="oneof oneof-start">
|
|
<td><code>exact</code></td>
|
|
<td><code>string (oneof)</code></td>
|
|
<td>
|
|
<p>exact string match.</p>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr id="StringMatch-prefix" class="oneof">
|
|
<td><code>prefix</code></td>
|
|
<td><code>string (oneof)</code></td>
|
|
<td>
|
|
<p>prefix-based match.</p>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr id="StringMatch-suffix" class="oneof">
|
|
<td><code>suffix</code></td>
|
|
<td><code>string (oneof)</code></td>
|
|
<td>
|
|
<p>suffix-based match.</p>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr id="StringMatch-regex" class="oneof">
|
|
<td><code>regex</code></td>
|
|
<td><code>string (oneof)</code></td>
|
|
<td>
|
|
<p>ECMAscript style regex-based match as defined by <a href="http://en.cppreference.com/w/cpp/regex/ecmascript">EDCA-262</a>.
|
|
Example: “^/pets/(.*?)?”</p>
|
|
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|