K8s helm plugin code
[ealt-edge.git] / mecm / mepm / applcm / k8shelm / internal / lcmservice / lcmservice.proto
1 syntax = "proto3";
2
3 package lcmservice;
4
5 option go_package = ".;lcmservice";
6
7 message InstantiateRequest {
8   oneof data {
9     string hostIp = 1;
10     bytes package = 2;
11   };
12 }
13
14 message InstantiateResponse {
15   string workloadId = 1;
16   string status = 2;
17 }
18
19 message TerminateRequest {
20    string hostIp = 1;
21    string workloadId = 2;
22 }
23
24 message TerminateResponse {
25   string status = 1;
26 }
27
28 message QueryRequest {
29    string hostIp = 1;
30    string workloadId = 2;
31 }
32
33 message QueryResponse {
34   string status = 1;
35 }
36
37 service AppLCM {
38   rpc instantiate (stream InstantiateRequest) returns (InstantiateResponse) {}
39   rpc terminate (TerminateRequest) returns (TerminateResponse) {}
40   rpc query (QueryRequest) returns (QueryResponse) {}
41 }