fix proto indentions

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi
2020-05-16 15:26:17 -07:00
parent e536302180
commit 75d64ffb4a
3 changed files with 14 additions and 14 deletions

View File

@@ -32,7 +32,7 @@ service LLBBridge {
message Result {
oneof result {
// Deprecated non-array refs.
// Deprecated non-array refs.
string refDeprecated = 1;
RefMapDeprecated refsDeprecated = 2;
@@ -67,7 +67,7 @@ message InputsRequest {
}
message InputsResponse {
map<string, pb.Definition> Definitions = 1;
map<string, pb.Definition> Definitions = 1;
}
message ResolveImageConfigRequest {
@@ -87,9 +87,9 @@ message SolveRequest {
string Frontend = 2;
map<string, string> FrontendOpt = 3;
// ImportCacheRefsDeprecated is deprecated in favor or the new Imports since BuildKit v0.4.0.
// When ImportCacheRefsDeprecated is set, the solver appends
// {.Type = "registry", .Attrs = {"ref": importCacheRef}}
// for each of the ImportCacheRefs entry to CacheImports for compatibility. (planned to be removed)
// When ImportCacheRefsDeprecated is set, the solver appends
// {.Type = "registry", .Attrs = {"ref": importCacheRef}}
// for each of the ImportCacheRefs entry to CacheImports for compatibility. (planned to be removed)
repeated string ImportCacheRefsDeprecated = 4;
bool allowResultReturn = 5;
bool allowResultArrayRef = 6;

View File

@@ -5,10 +5,10 @@ package errdefs;
import "github.com/moby/buildkit/solver/pb/ops.proto";
message Vertex {
string digest = 1;
string digest = 1;
}
message Source {
pb.SourceInfo info = 1;
repeated pb.Range locations = 2;
pb.SourceInfo info = 1;
repeated pb.Range locations = 2;
}

View File

@@ -178,12 +178,12 @@ message OpMetadata {
}
message Source {
map<string, Location> locations = 1;
map<string, Location> locations = 1;
SourceInfo info = 2;
}
message SourceInfo {
string filename = 1;
string filename = 1;
bytes data = 2;
Definition definition = 3;
}
@@ -193,13 +193,13 @@ message Location {
}
message Range {
Position start = 1 [(gogoproto.nullable) = false];
Position end = 2 [(gogoproto.nullable) = false];
Position start = 1 [(gogoproto.nullable) = false];
Position end = 2 [(gogoproto.nullable) = false];
}
message Position {
int32 Line = 1;
int32 Character = 2;
int32 Line = 1;
int32 Character = 2;
}
message ExportCache {