controller: Extract nested CommonOptions on controller API

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
This commit is contained in:
Kohei Tokunaga
2023-04-03 21:34:07 +09:00
parent 16e41ba297
commit 8ba8659496
6 changed files with 231 additions and 266 deletions

View File

@ -69,7 +69,12 @@ message BuildOptions {
string Target = 21;
UlimitOpt Ulimits = 22;
CommonOptions Opts = 24;
string Builder = 23;
string MetadataFile = 24;
bool NoCache = 25;
bool Pull = 26;
bool ExportPush = 27;
bool ExportLoad = 28;
}
message ExportEntry {
@ -110,16 +115,6 @@ message Ulimit {
int64 Soft = 3;
}
message CommonOptions {
string Builder = 1;
string MetadataFile = 2;
bool NoCache = 3;
// string Progress: no progress view on server side
bool Pull = 4;
bool ExportPush = 5;
bool ExportLoad = 6;
}
message BuildResponse {
map<string, string> ExporterResponse = 1;
}