feat: add grpc server
This commit is contained in:
21
interface/proto/norun/v1/registry.proto
Normal file
21
interface/proto/norun/v1/registry.proto
Normal file
@@ -0,0 +1,21 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package norun.v1;
|
||||
|
||||
service RegistryService {
|
||||
rpc Publish(PublishRequest) returns (PublishResponse) {}
|
||||
}
|
||||
|
||||
message PublishRequest {
|
||||
Project project = 1;
|
||||
}
|
||||
message PublishResponse {}
|
||||
|
||||
message Project {
|
||||
string name = 1;
|
||||
|
||||
string image = 2;
|
||||
string version = 3;
|
||||
|
||||
optional uint32 port = 4;
|
||||
}
|
Reference in New Issue
Block a user