Skip to content

Commit a32bc9f

Browse files
authored
IPIssues is not yet decided (#61)
1 parent 1355dd6 commit a32bc9f

File tree

11 files changed

+22
-467
lines changed

11 files changed

+22
-467
lines changed

doc/index.html

Lines changed: 0 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -627,18 +627,6 @@ <h2>Table of Contents</h2>
627627
<a href="#metalstack%2fadmin%2fv2%2fip.proto">metalstack/admin/v2/ip.proto</a>
628628
<ul>
629629

630-
<li>
631-
<a href="#metalstack.admin.v2.IPIssue"><span class="badge">M</span>IPIssue</a>
632-
</li>
633-
634-
<li>
635-
<a href="#metalstack.admin.v2.IPServiceIssuesRequest"><span class="badge">M</span>IPServiceIssuesRequest</a>
636-
</li>
637-
638-
<li>
639-
<a href="#metalstack.admin.v2.IPServiceIssuesResponse"><span class="badge">M</span>IPServiceIssuesResponse</a>
640-
</li>
641-
642630
<li>
643631
<a href="#metalstack.admin.v2.IPServiceListRequest"><span class="badge">M</span>IPServiceListRequest</a>
644632
</li>
@@ -5060,68 +5048,6 @@ <h2 id="metalstack/admin/v2/ip.proto">metalstack/admin/v2/ip.proto</h2><a href="
50605048
<p></p>
50615049

50625050

5063-
<h3 id="metalstack.admin.v2.IPIssue">IPIssue</h3>
5064-
<p>IPIssue</p>
5065-
5066-
5067-
<table class="field-table">
5068-
<thead>
5069-
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
5070-
</thead>
5071-
<tbody>
5072-
5073-
<tr>
5074-
<td>description</td>
5075-
<td><a href="#string">string</a></td>
5076-
<td></td>
5077-
<td><p>Description of the issue with this ip </p></td>
5078-
</tr>
5079-
5080-
<tr>
5081-
<td>ip</td>
5082-
<td><a href="#metalstack.api.v2.IP">metalstack.api.v2.IP</a></td>
5083-
<td></td>
5084-
<td><p>IP is the ip with the issue </p></td>
5085-
</tr>
5086-
5087-
</tbody>
5088-
</table>
5089-
5090-
5091-
5092-
5093-
5094-
<h3 id="metalstack.admin.v2.IPServiceIssuesRequest">IPServiceIssuesRequest</h3>
5095-
<p>IPServiceIssuesRequest</p><p>No arguments actually</p>
5096-
5097-
5098-
5099-
5100-
5101-
<h3 id="metalstack.admin.v2.IPServiceIssuesResponse">IPServiceIssuesResponse</h3>
5102-
<p>IPServiceIssuesResponse</p>
5103-
5104-
5105-
<table class="field-table">
5106-
<thead>
5107-
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
5108-
</thead>
5109-
<tbody>
5110-
5111-
<tr>
5112-
<td>issues</td>
5113-
<td><a href="#metalstack.admin.v2.IPIssue">IPIssue</a></td>
5114-
<td>repeated</td>
5115-
<td><p>Issues with ips </p></td>
5116-
</tr>
5117-
5118-
</tbody>
5119-
</table>
5120-
5121-
5122-
5123-
5124-
51255051
<h3 id="metalstack.admin.v2.IPServiceListRequest">IPServiceListRequest</h3>
51265052
<p>IPServiceListRequest</p>
51275053

@@ -5191,13 +5117,6 @@ <h3 id="metalstack.admin.v2.IPService">IPService</h3>
51915117
<td><p>List all ips</p></td>
51925118
</tr>
51935119

5194-
<tr>
5195-
<td>Issues</td>
5196-
<td><a href="#metalstack.admin.v2.IPServiceIssuesRequest">IPServiceIssuesRequest</a></td>
5197-
<td><a href="#metalstack.admin.v2.IPServiceIssuesResponse">IPServiceIssuesResponse</a></td>
5198-
<td><p>Show issues with ips</p></td>
5199-
</tr>
5200-
52015120
</tbody>
52025121
</table>
52035122

go/client/client_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
"os"
1313
"strings"
1414
"testing"
15+
1516
"time"
1617

1718
"connectrpc.com/connect"
@@ -27,6 +28,7 @@ func Test_Client(t *testing.T) {
2728
vs = &mockVersionService{}
2829
ts = &mockTokenService{}
2930
mux = http.NewServeMux()
31+
log = slog.New(slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelDebug}))
3032
)
3133

3234
mux.Handle(apiv2connect.NewVersionServiceHandler(vs))
@@ -40,8 +42,6 @@ func Test_Client(t *testing.T) {
4042
tokenString, err := generateToken(1 * time.Second)
4143
require.NoError(t, err)
4244

43-
log := slog.New(slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelDebug}))
44-
4545
c, err := client.New(&client.DialConfig{
4646
BaseURL: server.URL,
4747
Token: tokenString,

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

Lines changed: 1 addition & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)