mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-12 22:47:09 +08:00
controller: Extract nested CommonOptions on controller API
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user