Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 78 additions & 4 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,10 @@ <h2>Table of Contents</h2>
<a href="#metalstack.api.v2.Token.TenantRolesEntry"><span class="badge">M</span>Token.TenantRolesEntry</a>
</li>

<li>
<a href="#metalstack.api.v2.TokenQuery"><span class="badge">M</span>TokenQuery</a>
</li>

<li>
<a href="#metalstack.api.v2.TokenServiceCreateRequest"><span class="badge">M</span>TokenServiceCreateRequest</a>
</li>
Expand Down Expand Up @@ -4074,6 +4078,59 @@ <h3 id="metalstack.api.v2.Token.TenantRolesEntry">Token.TenantRolesEntry</h3>



<h3 id="metalstack.api.v2.TokenQuery">TokenQuery</h3>
<p>TokenQuery is used to search tokens</p>


<table class="field-table">
<thead>
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
</thead>
<tbody>

<tr>
<td>uuid</td>
<td><a href="#string">string</a></td>
<td>optional</td>
<td><p>UUID of the token to get </p></td>
</tr>

<tr>
<td>user</td>
<td><a href="#string">string</a></td>
<td>optional</td>
<td><p>Name of the token user to query
Only useful for admins. </p></td>
</tr>

<tr>
<td>description</td>
<td><a href="#string">string</a></td>
<td>optional</td>
<td><p>Description of the token to query </p></td>
</tr>

<tr>
<td>labels</td>
<td><a href="#metalstack.api.v2.Labels">Labels</a></td>
<td>optional</td>
<td><p>Labels lists only tokens containing the given labels </p></td>
</tr>

<tr>
<td>token_type</td>
<td><a href="#metalstack.api.v2.TokenType">TokenType</a></td>
<td>optional</td>
<td><p>Token type of the token to query </p></td>
</tr>

</tbody>
</table>





<h3 id="metalstack.api.v2.TokenServiceCreateRequest">TokenServiceCreateRequest</h3>
<p>TokenServiceCreateRequest is the request payload to create a token</p>

Expand Down Expand Up @@ -4330,6 +4387,23 @@ <h3 id="metalstack.api.v2.TokenServiceListRequest">TokenServiceListRequest</h3>
<p>TokenServiceListRequest is the request payload to list tokens</p>


<table class="field-table">
<thead>
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
</thead>
<tbody>

<tr>
<td>query</td>
<td><a href="#metalstack.api.v2.TokenQuery">TokenQuery</a></td>
<td></td>
<td><p>Query for tokens </p></td>
</tr>

</tbody>
</table>





Expand Down Expand Up @@ -18929,10 +19003,10 @@ <h3 id="metalstack.admin.v2.TokenServiceListRequest">TokenServiceListRequest</h3
<tbody>

<tr>
<td>user</td>
<td><a href="#string">string</a></td>
<td>optional</td>
<td><p>User is the id of the user for which the tokens should be listed </p></td>
<td>query</td>
<td><a href="#metalstack.api.v2.TokenQuery">metalstack.api.v2.TokenQuery</a></td>
<td></td>
<td><p>Query for tokens </p></td>
</tr>

</tbody>
Expand Down
54 changes: 27 additions & 27 deletions go/metalstack/admin/v2/token.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading