add protobuf definitions and build configuration

This commit is contained in:
beejay committed 2026-11-11 16:17:07 +09:00
commit 857f12b860
9 files changed
+633

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
syntax = "proto3";
package proto;
option go_package = "beejay.kim/fog/model";
enum DeploymentAction {
STOP = 0;
START = 1;
}
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;
}