add Machine gRPC service

This commit is contained in:
Pavel Sviderski
2024-09-10 13:41:52 +10:00
parent 45cacfa6f5
commit e9f4ad7083
10 changed files with 1096 additions and 604 deletions
+19
View File
@@ -0,0 +1,19 @@
syntax = "proto3";
package api;
option go_package = "github.com/psviderski/uncloud/internal/machine/api/pb";
message IP {
bytes ip = 1;
}
message IPPort {
IP ip = 1;
uint32 port = 2;
}
message IPPrefix {
IP ip = 1;
uint32 bits = 2;
}