Files
model/deployment.proto
T
beejay 35d0739b63
Build protos / Build Protobufs (pull_request) Successful in 37s
add CLEANUP action to DeploymentAction enum in deployment.proto
2026-11-11 17:05:37 +09:00

30 lines
478 B
Protocol Buffer

syntax = "proto3";
package proto;
option go_package = "beejay.kim/fog/model";
enum DeploymentAction {
STOP = 0;
START = 1;
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 {
string id = 1;
GlobalEnvironment env = 2;
DeploymentAction action = 3;
bytes hcl = 4;
repeated ConfigFile config_files = 10;
}