wip: grpc api
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
1dd748e3f2
commit
2eba8d6511
174 changed files with 22012 additions and 11410 deletions
20
api/types/service.proto
Normal file
20
api/types/service.proto
Normal file
|
@ -0,0 +1,20 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package element.v1.types;
|
||||
|
||||
import "gogoproto/gogo.proto";
|
||||
|
||||
message Service {
|
||||
string id = 1 [(gogoproto.customname) = "ID"];
|
||||
repeated string hosts = 2;
|
||||
RuntimeSpec runtime_spec = 3;
|
||||
}
|
||||
|
||||
message RuntimeSpec {
|
||||
string namespace = 1;
|
||||
string image = 2;
|
||||
string protocol = 3;
|
||||
string runtime = 4;
|
||||
uint64 port = 5;
|
||||
map<string, string> labels = 6;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue