vendor: update git url handling with changes to buildkit

The git ssh url parsing API changed a bit and broke how buildx utilized
the API. This updates the affected method with the new method of
identifying an SSH url.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
This commit is contained in:
Jonathan A. Sternberg
2023-08-25 13:42:18 -05:00
parent da6662975f
commit fc7f066caa
28 changed files with 525 additions and 435 deletions

23
vendor/github.com/moby/buildkit/solver/errdefs/jobs.go generated vendored Normal file
View File

@@ -0,0 +1,23 @@
package errdefs
import (
"fmt"
"google.golang.org/grpc/codes"
)
type UnknownJobError struct {
id string
}
func (e *UnknownJobError) Code() codes.Code {
return codes.NotFound
}
func (e *UnknownJobError) Error() string {
return fmt.Sprintf("no such job %s", e.id)
}
func NewUnknownJobError(id string) error {
return &UnknownJobError{id: id}
}

View File

@@ -393,14 +393,14 @@ message MergeOp {
}
message LowerDiffInput {
int64 input = 1 [(gogoproto.customtype) = "InputIndex", (gogoproto.nullable) = false];
int64 input = 1 [(gogoproto.customtype) = "InputIndex", (gogoproto.nullable) = false];
}
message UpperDiffInput {
int64 input = 1 [(gogoproto.customtype) = "InputIndex", (gogoproto.nullable) = false];
int64 input = 1 [(gogoproto.customtype) = "InputIndex", (gogoproto.nullable) = false];
}
message DiffOp {
LowerDiffInput lower = 1;
UpperDiffInput upper = 2;
LowerDiffInput lower = 1;
UpperDiffInput upper = 2;
}