Skip to content

Commit 39551e4

Browse files
authored
Try is reserved in python (#38)
1 parent a6ec63c commit 39551e4

File tree

12 files changed

+386
-420
lines changed

12 files changed

+386
-420
lines changed

doc/index.html

Lines changed: 73 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -469,15 +469,19 @@ <h2>Table of Contents</h2>
469469
</li>
470470

471471
<li>
472-
<a href="#metalstack.api.v2.FilesystemServiceTryRequest"><span class="badge">M</span>FilesystemServiceTryRequest</a>
472+
<a href="#metalstack.api.v2.FilesystemServiceTryResponse"><span class="badge">M</span>FilesystemServiceTryResponse</a>
473473
</li>
474474

475475
<li>
476-
<a href="#metalstack.api.v2.FilesystemServiceTryResponse"><span class="badge">M</span>FilesystemServiceTryResponse</a>
476+
<a href="#metalstack.api.v2.LogicalVolume"><span class="badge">M</span>LogicalVolume</a>
477477
</li>
478478

479479
<li>
480-
<a href="#metalstack.api.v2.LogicalVolume"><span class="badge">M</span>LogicalVolume</a>
480+
<a href="#metalstack.api.v2.MatchImageAndSize"><span class="badge">M</span>MatchImageAndSize</a>
481+
</li>
482+
483+
<li>
484+
<a href="#metalstack.api.v2.MatchMachine"><span class="badge">M</span>MatchMachine</a>
481485
</li>
482486

483487
<li>
@@ -7335,17 +7339,17 @@ <h3 id="metalstack.api.v2.FilesystemServiceMatchRequest">FilesystemServiceMatchR
73357339
<tbody>
73367340

73377341
<tr>
7338-
<td>machine</td>
7339-
<td><a href="#string">string</a></td>
7342+
<td>size_and_image</td>
7343+
<td><a href="#metalstack.api.v2.MatchImageAndSize">MatchImageAndSize</a></td>
73407344
<td></td>
7341-
<td><p>Machine to check </p></td>
7345+
<td><p>SizeAndImage </p></td>
73427346
</tr>
73437347

73447348
<tr>
7345-
<td>filesystem_layout</td>
7346-
<td><a href="#string">string</a></td>
7349+
<td>machine_and_filesystemlayout</td>
7350+
<td><a href="#metalstack.api.v2.MatchMachine">MatchMachine</a></td>
73477351
<td></td>
7348-
<td><p>FilesystemLayout to check </p></td>
7352+
<td><p>MachineAndFilesystemlayout </p></td>
73497353
</tr>
73507354

73517355
</tbody>
@@ -7379,8 +7383,8 @@ <h3 id="metalstack.api.v2.FilesystemServiceMatchResponse">FilesystemServiceMatch
73797383

73807384

73817385

7382-
<h3 id="metalstack.api.v2.FilesystemServiceTryRequest">FilesystemServiceTryRequest</h3>
7383-
<p>FilesystemServiceTryRequest</p>
7386+
<h3 id="metalstack.api.v2.FilesystemServiceTryResponse">FilesystemServiceTryResponse</h3>
7387+
<p>FilesystemServiceTryResponse</p>
73847388

73857389

73867390
<table class="field-table">
@@ -7390,17 +7394,10 @@ <h3 id="metalstack.api.v2.FilesystemServiceTryRequest">FilesystemServiceTryReque
73907394
<tbody>
73917395

73927396
<tr>
7393-
<td>size</td>
7394-
<td><a href="#string">string</a></td>
7395-
<td></td>
7396-
<td><p>Size, machine size to try </p></td>
7397-
</tr>
7398-
7399-
<tr>
7400-
<td>image</td>
7401-
<td><a href="#string">string</a></td>
7397+
<td>filesystem_layout</td>
7398+
<td><a href="#metalstack.api.v2.FilesystemLayout">FilesystemLayout</a></td>
74027399
<td></td>
7403-
<td><p>Image machine image to try </p></td>
7400+
<td><p>FilesystemLayout the filesystemlayout </p></td>
74047401
</tr>
74057402

74067403
</tbody>
@@ -7410,8 +7407,8 @@ <h3 id="metalstack.api.v2.FilesystemServiceTryRequest">FilesystemServiceTryReque
74107407

74117408

74127409

7413-
<h3 id="metalstack.api.v2.FilesystemServiceTryResponse">FilesystemServiceTryResponse</h3>
7414-
<p>FilesystemServiceTryResponse</p>
7410+
<h3 id="metalstack.api.v2.LogicalVolume">LogicalVolume</h3>
7411+
<p>LogicalVolume</p>
74157412

74167413

74177414
<table class="field-table">
@@ -7421,10 +7418,31 @@ <h3 id="metalstack.api.v2.FilesystemServiceTryResponse">FilesystemServiceTryResp
74217418
<tbody>
74227419

74237420
<tr>
7424-
<td>filesystem_layout</td>
7425-
<td><a href="#metalstack.api.v2.FilesystemLayout">FilesystemLayout</a></td>
7421+
<td>name</td>
7422+
<td><a href="#string">string</a></td>
74267423
<td></td>
7427-
<td><p>FilesystemLayout the filesystemlayout </p></td>
7424+
<td><p>Name the name of the logical volume </p></td>
7425+
</tr>
7426+
7427+
<tr>
7428+
<td>volume_group</td>
7429+
<td><a href="#string">string</a></td>
7430+
<td></td>
7431+
<td><p>VolumeGroup the name of the volume group where to create the logical volume onto </p></td>
7432+
</tr>
7433+
7434+
<tr>
7435+
<td>size</td>
7436+
<td><a href="#uint64">uint64</a></td>
7437+
<td></td>
7438+
<td><p>Size size in mebibytes (MiB) of this volume </p></td>
7439+
</tr>
7440+
7441+
<tr>
7442+
<td>lvm_type</td>
7443+
<td><a href="#metalstack.api.v2.LVMType">LVMType</a></td>
7444+
<td></td>
7445+
<td><p>LVMType the type of this logical volume can be either linear|striped|raid1 </p></td>
74287446
</tr>
74297447

74307448
</tbody>
@@ -7434,8 +7452,8 @@ <h3 id="metalstack.api.v2.FilesystemServiceTryResponse">FilesystemServiceTryResp
74347452

74357453

74367454

7437-
<h3 id="metalstack.api.v2.LogicalVolume">LogicalVolume</h3>
7438-
<p>LogicalVolume</p>
7455+
<h3 id="metalstack.api.v2.MatchImageAndSize">MatchImageAndSize</h3>
7456+
<p>MatchImageAndSize</p>
74397457

74407458

74417459
<table class="field-table">
@@ -7445,31 +7463,48 @@ <h3 id="metalstack.api.v2.LogicalVolume">LogicalVolume</h3>
74457463
<tbody>
74467464

74477465
<tr>
7448-
<td>name</td>
7466+
<td>size</td>
74497467
<td><a href="#string">string</a></td>
74507468
<td></td>
7451-
<td><p>Name the name of the logical volume </p></td>
7469+
<td><p>Size, machine size to try </p></td>
74527470
</tr>
74537471

74547472
<tr>
7455-
<td>volume_group</td>
7473+
<td>image</td>
74567474
<td><a href="#string">string</a></td>
74577475
<td></td>
7458-
<td><p>VolumeGroup the name of the volume group where to create the logical volume onto </p></td>
7476+
<td><p>Image machine image to try </p></td>
74597477
</tr>
74607478

7479+
</tbody>
7480+
</table>
7481+
7482+
7483+
7484+
7485+
7486+
<h3 id="metalstack.api.v2.MatchMachine">MatchMachine</h3>
7487+
<p>MatchMachine</p>
7488+
7489+
7490+
<table class="field-table">
7491+
<thead>
7492+
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
7493+
</thead>
7494+
<tbody>
7495+
74617496
<tr>
7462-
<td>size</td>
7463-
<td><a href="#uint64">uint64</a></td>
7497+
<td>machine</td>
7498+
<td><a href="#string">string</a></td>
74647499
<td></td>
7465-
<td><p>Size size in mebibytes (MiB) of this volume </p></td>
7500+
<td><p>Machine to check </p></td>
74667501
</tr>
74677502

74687503
<tr>
7469-
<td>lvm_type</td>
7470-
<td><a href="#metalstack.api.v2.LVMType">LVMType</a></td>
7504+
<td>filesystem_layout</td>
7505+
<td><a href="#string">string</a></td>
74717506
<td></td>
7472-
<td><p>LVMType the type of this logical volume can be either linear|striped|raid1 </p></td>
7507+
<td><p>FilesystemLayout to check </p></td>
74737508
</tr>
74747509

74757510
</tbody>
@@ -7755,13 +7790,6 @@ <h3 id="metalstack.api.v2.FilesystemService">FilesystemService</h3>
77557790
<td><p>List all filesystems</p></td>
77567791
</tr>
77577792

7758-
<tr>
7759-
<td>Try</td>
7760-
<td><a href="#metalstack.api.v2.FilesystemServiceTryRequest">FilesystemServiceTryRequest</a></td>
7761-
<td><a href="#metalstack.api.v2.FilesystemServiceTryResponse">FilesystemServiceTryResponse</a></td>
7762-
<td><p>Try a filesystems</p></td>
7763-
</tr>
7764-
77657793
<tr>
77667794
<td>Match</td>
77677795
<td><a href="#metalstack.api.v2.FilesystemServiceMatchRequest">FilesystemServiceMatchRequest</a></td>

go/metalstack/api/v2/apiv2connect/filesystem.connect.go

Lines changed: 0 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)