runtime/service: pass namespace option to service (#1792)

This commit is contained in:
ben-toogood
2020-07-03 11:37:14 +01:00
committed by GitHub
parent 4ff114e798
commit f744c6248f
3 changed files with 133 additions and 54 deletions

View File

@@ -41,6 +41,8 @@ message CreateOptions {
string type = 5;
// image to use
string image = 6;
// namespace to create the service in
string namespace = 7;
}
message CreateRequest {
@@ -57,6 +59,8 @@ message ReadOptions {
string version = 2;
// type of service
string type = 3;
// namespace of the service
string namespace = 4;
}
message ReadRequest {
@@ -68,6 +72,8 @@ message ReadResponse {
}
message DeleteOptions {
// namespace of the service
string namespace = 1;
}
message DeleteRequest {
@@ -78,6 +84,8 @@ message DeleteRequest {
message DeleteResponse {}
message UpdateOptions {
// namespace of the service
string namespace = 1;
}
message UpdateRequest {
@@ -88,6 +96,8 @@ message UpdateRequest {
message UpdateResponse {}
message ListOptions {
// namespace of the service
string namespace = 1;
}
message ListRequest {
@@ -99,6 +109,8 @@ message ListResponse {
}
message LogsOptions {
// namespace of the service
string namespace = 1;
}
message LogsRequest{