2026-11-11 16:17:07 +09:00
|
|
|
syntax = "proto3";
|
|
|
|
|
package proto;
|
|
|
|
|
|
|
|
|
|
option go_package = "beejay.kim/fog/model";
|
|
|
|
|
|
|
|
|
|
enum DeploymentAction {
|
|
|
|
|
STOP = 0;
|
|
|
|
|
START = 1;
|
2026-11-11 17:14:43 +09:00
|
|
|
CLEANUP = 2;
|
2026-11-11 16:17:07 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GlobalEnvironment {
|
|
|
|
|
string version = 1;
|
|
|
|
|
map<string, string> variables = 2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message ConfigFile {
|
|
|
|
|
string path = 1;
|
|
|
|
|
bytes content = 2;
|
|
|
|
|
uint32 mode = 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message Deployment {
|
|
|
|
|
string id = 1;
|
|
|
|
|
GlobalEnvironment env = 2;
|
|
|
|
|
DeploymentAction action = 3;
|
|
|
|
|
bytes hcl = 4;
|
|
|
|
|
repeated ConfigFile config_files = 10;
|
|
|
|
|
}
|