mirror of https://github.com/istio/istio.io.git
30 lines
809 B
HTML
30 lines
809 B
HTML
---
|
|
title: Check Nothing
|
|
overview: A template that carries no data, useful for testing.
|
|
location: https://istio.io/docs/reference/config/template/checknothing.html
|
|
layout: protoc-gen-docs
|
|
number_of_entries: 1
|
|
---
|
|
{% raw %}
|
|
<p>The <code>checknothing</code> template represents an empty block of data, which can useful
|
|
in different testing scenarios.</p>
|
|
|
|
<h2 id="Template">Template</h2>
|
|
<section>
|
|
<p>CheckNothing represents an empty block of data that is used for Check-capable
|
|
adapters which don’t require any parameters. This is primarily intended for testing
|
|
scenarios.</p>
|
|
|
|
<p>Example config:</p>
|
|
|
|
<pre><code class="language-yaml">apiVersion: "config.istio.io/v1alpha2"
|
|
kind: checknothing
|
|
metadata:
|
|
name: denyrequest
|
|
namespace: istio-system
|
|
spec:
|
|
</code></pre>
|
|
|
|
</section>
|
|
{% endraw %}
|