Skip to content

Commit 3f9177e

Browse files
committed
ListNodes
1 parent b4ab895 commit 3f9177e

File tree

14 files changed

+824
-26
lines changed

14 files changed

+824
-26
lines changed

doc/index.html

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1782,6 +1782,21 @@ <h2>Table of Contents</h2>
17821782
</li>
17831783

17841784

1785+
<li>
1786+
<a href="#metalstack%2fapi%2fv2%2fvpn.proto">metalstack/api/v2/vpn.proto</a>
1787+
<ul>
1788+
1789+
<li>
1790+
<a href="#metalstack.api.v2.VPNNode"><span class="badge">M</span>VPNNode</a>
1791+
</li>
1792+
1793+
1794+
1795+
1796+
</ul>
1797+
</li>
1798+
1799+
17851800
<li>
17861801
<a href="#metalstack%2fadmin%2fv2%2fvpn.proto">metalstack/admin/v2/vpn.proto</a>
17871802
<ul>
@@ -1794,6 +1809,14 @@ <h2>Table of Contents</h2>
17941809
<a href="#metalstack.admin.v2.VPNServiceAuthkeyResponse"><span class="badge">M</span>VPNServiceAuthkeyResponse</a>
17951810
</li>
17961811

1812+
<li>
1813+
<a href="#metalstack.admin.v2.VPNServiceListNodesRequest"><span class="badge">M</span>VPNServiceListNodesRequest</a>
1814+
</li>
1815+
1816+
<li>
1817+
<a href="#metalstack.admin.v2.VPNServiceListNodesResponse"><span class="badge">M</span>VPNServiceListNodesResponse</a>
1818+
</li>
1819+
17971820

17981821

17991822

@@ -14633,6 +14656,79 @@ <h3 id="metalstack.admin.v2.TokenService">TokenService</h3>
1463314656

1463414657

1463514658

14659+
<div class="file-heading">
14660+
<h2 id="metalstack/api/v2/vpn.proto">metalstack/api/v2/vpn.proto</h2><a href="#title">Top</a>
14661+
</div>
14662+
<p></p>
14663+
14664+
14665+
<h3 id="metalstack.api.v2.VPNNode">VPNNode</h3>
14666+
<p>VPNNode is a machine connected to the vpn</p>
14667+
14668+
14669+
<table class="field-table">
14670+
<thead>
14671+
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
14672+
</thead>
14673+
<tbody>
14674+
14675+
<tr>
14676+
<td>id</td>
14677+
<td><a href="#uint64">uint64</a></td>
14678+
<td></td>
14679+
<td><p>Id of this node </p></td>
14680+
</tr>
14681+
14682+
<tr>
14683+
<td>name</td>
14684+
<td><a href="#string">string</a></td>
14685+
<td></td>
14686+
<td><p>Name of this node </p></td>
14687+
</tr>
14688+
14689+
<tr>
14690+
<td>user</td>
14691+
<td><a href="#string">string</a></td>
14692+
<td>optional</td>
14693+
<td><p>User of this node, maps to a project </p></td>
14694+
</tr>
14695+
14696+
<tr>
14697+
<td>ip_addresses</td>
14698+
<td><a href="#string">string</a></td>
14699+
<td>repeated</td>
14700+
<td><p>IPAddresses of this node in the vpn </p></td>
14701+
</tr>
14702+
14703+
<tr>
14704+
<td>last_seen</td>
14705+
<td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
14706+
<td></td>
14707+
<td><p>LastSeen timestamp when this node reached out the the control plane </p></td>
14708+
</tr>
14709+
14710+
<tr>
14711+
<td>online</td>
14712+
<td><a href="#bool">bool</a></td>
14713+
<td></td>
14714+
<td><p>Online indicates if this node is online </p></td>
14715+
</tr>
14716+
14717+
</tbody>
14718+
</table>
14719+
14720+
14721+
14722+
14723+
14724+
14725+
14726+
14727+
14728+
14729+
14730+
14731+
1463614732
<div class="file-heading">
1463714733
<h2 id="metalstack/admin/v2/vpn.proto">metalstack/admin/v2/vpn.proto</h2><a href="#title">Top</a>
1463814734
</div>
@@ -14709,6 +14805,54 @@ <h3 id="metalstack.admin.v2.VPNServiceAuthkeyResponse">VPNServiceAuthkeyResponse
1470914805

1471014806

1471114807

14808+
<h3 id="metalstack.admin.v2.VPNServiceListNodesRequest">VPNServiceListNodesRequest</h3>
14809+
<p>VPNServiceListNodesRequest is the request payload for a vpn list nodes request</p>
14810+
14811+
14812+
<table class="field-table">
14813+
<thead>
14814+
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
14815+
</thead>
14816+
<tbody>
14817+
14818+
<tr>
14819+
<td>user</td>
14820+
<td><a href="#string">string</a></td>
14821+
<td>optional</td>
14822+
<td><p>User if given only nodes of this user are returned </p></td>
14823+
</tr>
14824+
14825+
</tbody>
14826+
</table>
14827+
14828+
14829+
14830+
14831+
14832+
<h3 id="metalstack.admin.v2.VPNServiceListNodesResponse">VPNServiceListNodesResponse</h3>
14833+
<p>VPNServiceListNodesResponse is the response payload for a vpn list nodes request</p>
14834+
14835+
14836+
<table class="field-table">
14837+
<thead>
14838+
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
14839+
</thead>
14840+
<tbody>
14841+
14842+
<tr>
14843+
<td>nodes</td>
14844+
<td><a href="#metalstack.api.v2.VPNNode">metalstack.api.v2.VPNNode</a></td>
14845+
<td>repeated</td>
14846+
<td><p>Nodes connected to the vpn </p></td>
14847+
</tr>
14848+
14849+
</tbody>
14850+
</table>
14851+
14852+
14853+
14854+
14855+
1471214856

1471314857

1471414858

@@ -14730,6 +14874,13 @@ <h3 id="metalstack.admin.v2.VPNService">VPNService</h3>
1473014874
<td><p>AuthKey generates a authkey for a project to join a machine to the project vpn</p></td>
1473114875
</tr>
1473214876

14877+
<tr>
14878+
<td>ListNodes</td>
14879+
<td><a href="#metalstack.admin.v2.VPNServiceListNodesRequest">VPNServiceListNodesRequest</a></td>
14880+
<td><a href="#metalstack.admin.v2.VPNServiceListNodesResponse">VPNServiceListNodesResponse</a></td>
14881+
<td><p>ListNodes returns a list of machines actually connected to the vpn</p></td>
14882+
</tr>
14883+
1473314884
</tbody>
1473414885
</table>
1473514886

go/metalstack/admin/v2/adminv2connect/vpn.connect.go

Lines changed: 35 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)