mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-19 09:57:45 +08:00

Removes gogo/protobuf from buildx and updates to a version of moby/buildkit where gogo is removed. This also changes how the proto files are generated. This is because newer versions of protobuf are more strict about name conflicts. If two files have the same name (even if they are relative paths) and are used in different protoc commands, they'll conflict in the registry. Since protobuf file generation doesn't work very well with `paths=source_relative`, this removes the `go:generate` expression and just relies on the dockerfile to perform the generation. Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
16 lines
522 B
Protocol Buffer
16 lines
522 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package moby.buildkit.v1.apicaps;
|
|
|
|
option go_package = "github.com/moby/buildkit/util/apicaps/pb;moby_buildkit_v1_apicaps";
|
|
|
|
// APICap defines a capability supported by the service
|
|
message APICap {
|
|
string ID = 1;
|
|
bool Enabled = 2;
|
|
bool Deprecated = 3; // Unused. May be used for warnings in the future
|
|
string DisabledReason = 4; // Reason key for detection code
|
|
string DisabledReasonMsg = 5; // Message to the user
|
|
string DisabledAlternative = 6; // Identifier that updated client could catch.
|
|
}
|