mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update buildkit to v0.17.0-rc2
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
3
vendor/github.com/moby/buildkit/session/filesync/diffcopy.go
generated
vendored
3
vendor/github.com/moby/buildkit/session/filesync/diffcopy.go
generated
vendored
@ -129,8 +129,9 @@ func syncTargetDiffCopy(ds grpc.ServerStream, dest string) error {
|
||||
}
|
||||
|
||||
func writeTargetFile(ds grpc.ServerStream, wc io.WriteCloser) error {
|
||||
var bm BytesMessage
|
||||
for {
|
||||
bm := BytesMessage{}
|
||||
bm.Data = bm.Data[:0]
|
||||
if err := ds.RecvMsg(&bm); err != nil {
|
||||
if errors.Is(err, io.EOF) {
|
||||
return nil
|
||||
|
28
vendor/github.com/moby/buildkit/session/filesync/filesync.pb.go
generated
vendored
28
vendor/github.com/moby/buildkit/session/filesync/filesync.pb.go
generated
vendored
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.34.1
|
||||
// protoc-gen-go v1.35.1
|
||||
// protoc v3.11.4
|
||||
// source: github.com/moby/buildkit/session/filesync/filesync.proto
|
||||
|
||||
@ -32,11 +32,9 @@ type BytesMessage struct {
|
||||
|
||||
func (x *BytesMessage) Reset() {
|
||||
*x = BytesMessage{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_github_com_moby_buildkit_session_filesync_filesync_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
mi := &file_github_com_moby_buildkit_session_filesync_filesync_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *BytesMessage) String() string {
|
||||
@ -47,7 +45,7 @@ func (*BytesMessage) ProtoMessage() {}
|
||||
|
||||
func (x *BytesMessage) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_github_com_moby_buildkit_session_filesync_filesync_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
@ -115,7 +113,7 @@ func file_github_com_moby_buildkit_session_filesync_filesync_proto_rawDescGZIP()
|
||||
}
|
||||
|
||||
var file_github_com_moby_buildkit_session_filesync_filesync_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
||||
var file_github_com_moby_buildkit_session_filesync_filesync_proto_goTypes = []interface{}{
|
||||
var file_github_com_moby_buildkit_session_filesync_filesync_proto_goTypes = []any{
|
||||
(*BytesMessage)(nil), // 0: moby.filesync.v1.BytesMessage
|
||||
(*types.Packet)(nil), // 1: fsutil.types.Packet
|
||||
}
|
||||
@ -138,20 +136,6 @@ func file_github_com_moby_buildkit_session_filesync_filesync_proto_init() {
|
||||
if File_github_com_moby_buildkit_session_filesync_filesync_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_github_com_moby_buildkit_session_filesync_filesync_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*BytesMessage); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
|
Reference in New Issue
Block a user