mirror of
https://github.com/moby/buildkit.git
synced 2026-08-05 07:10:23 +00:00
Remove gogoproto in favor of the standard protobuf compiler. This removes any nonstandard extensions that were part of gogoproto such as the custom types. Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
48 lines
769 B
Protocol Buffer
48 lines
769 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package errdefs;
|
|
|
|
option go_package = "github.com/moby/buildkit/solver/errdefs";
|
|
|
|
import "github.com/moby/buildkit/solver/pb/ops.proto";
|
|
|
|
message Vertex {
|
|
string digest = 1;
|
|
}
|
|
|
|
message Source {
|
|
pb.SourceInfo info = 1;
|
|
repeated pb.Range ranges = 2;
|
|
}
|
|
|
|
message FrontendCap {
|
|
string name = 1;
|
|
}
|
|
|
|
message Subrequest {
|
|
string name = 1;
|
|
}
|
|
|
|
message Solve {
|
|
repeated string inputIDs = 1;
|
|
repeated string mountIDs = 2;
|
|
pb.Op op = 3;
|
|
|
|
oneof subject {
|
|
FileAction file = 4;
|
|
ContentCache cache = 5;
|
|
}
|
|
|
|
map<string, string> description = 6;
|
|
}
|
|
|
|
message FileAction {
|
|
// Index of the file action that failed the exec.
|
|
int64 index = 1;
|
|
}
|
|
|
|
message ContentCache {
|
|
// Original index of result that failed the slow cache calculation.
|
|
int64 index = 1;
|
|
}
|