Support service types in runtime
This commit is contained in:
@@ -17,12 +17,8 @@ message Service {
|
||||
string version = 2;
|
||||
// git url of the source
|
||||
string source = 3;
|
||||
// local path of the source
|
||||
string path = 4;
|
||||
// command to execute
|
||||
repeated string exec = 5;
|
||||
// service metadata
|
||||
map<string,string> metadata = 6;
|
||||
map<string,string> metadata = 4;
|
||||
}
|
||||
|
||||
message CreateOptions {
|
||||
@@ -42,13 +38,16 @@ message CreateRequest {
|
||||
message CreateResponse {}
|
||||
|
||||
message ReadOptions {
|
||||
// version of the service
|
||||
string version = 2;
|
||||
// service name
|
||||
string service = 1;
|
||||
// version of the service
|
||||
string version = 2;
|
||||
// type of service
|
||||
string type = 3;
|
||||
}
|
||||
|
||||
message ReadRequest {
|
||||
string name = 1;
|
||||
ReadOptions options = 2;
|
||||
ReadOptions options = 1;
|
||||
}
|
||||
|
||||
message ReadResponse {
|
||||
|
Reference in New Issue
Block a user