refactor Deployment message structure in deployment.proto #2
+2
-15
@@ -9,21 +9,8 @@ enum DeploymentAction {
|
|||||||
CLEANUP = 2;
|
CLEANUP = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message GlobalEnvironment {
|
|
||||||
string version = 1;
|
|
||||||
map<string, string> variables = 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
message ConfigFile {
|
|
||||||
string path = 1;
|
|
||||||
bytes content = 2;
|
|
||||||
uint32 mode = 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
message Deployment {
|
message Deployment {
|
||||||
string id = 1;
|
string id = 1;
|
||||||
GlobalEnvironment env = 2;
|
DeploymentAction action = 2;
|
||||||
DeploymentAction action = 3;
|
bytes hcl = 3;
|
||||||
bytes hcl = 4;
|
|
||||||
repeated ConfigFile config_files = 10;
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user