Files
model/deployment.proto
T

29 lines
478 B
Protocol Buffer
Raw Normal View History

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;
}