Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Commit 6860165

Browse files
committed
Scaffold gRPC service
1 parent 87d854d commit 6860165

File tree

7 files changed

+620
-1
lines changed

7 files changed

+620
-1
lines changed

api/local/local.pb.go

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

api/local/local.proto

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
syntax = "proto3";
2+
3+
package local.v1;
4+
option go_package = "github.com/datum-cloud/galactic-agent/api/local;local";
5+
6+
service Local {
7+
rpc Register(RegisterRequest) returns (RegisterReply);
8+
rpc Deregister(DeregisterRequest) returns (DeregisterReply);
9+
}
10+
11+
message RegisterRequest {
12+
string vpc = 1;
13+
string vpcattachment = 2;
14+
repeated string networks = 3;
15+
}
16+
17+
message RegisterReply {
18+
bool confirmed = 1;
19+
}
20+
21+
message DeregisterRequest {
22+
string vpc = 1;
23+
string vpcattachment = 2;
24+
repeated string networks = 3;
25+
}
26+
27+
message DeregisterReply {
28+
bool confirmed = 1;
29+
}

0 commit comments

Comments
 (0)