diff options
Diffstat (limited to 'proto/go/gitalypb/ssh.pb.go')
-rw-r--r-- | proto/go/gitalypb/ssh.pb.go | 776 |
1 files changed, 509 insertions, 267 deletions
diff --git a/proto/go/gitalypb/ssh.pb.go b/proto/go/gitalypb/ssh.pb.go index 35f1eb7ab..5bbe2cb59 100644 --- a/proto/go/gitalypb/ssh.pb.go +++ b/proto/go/gitalypb/ssh.pb.go @@ -1,30 +1,39 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: ssh.proto package gitalypb import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type SSHUploadPackRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // 'repository' must be present in the first message. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // A chunk of raw data to be copied to 'git upload-pack' standard input @@ -32,125 +41,141 @@ type SSHUploadPackRequest struct { // Parameters to use with git -c (key=value pairs) GitConfigOptions []string `protobuf:"bytes,4,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` // Git protocol version - GitProtocol string `protobuf:"bytes,5,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + GitProtocol string `protobuf:"bytes,5,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` } -func (m *SSHUploadPackRequest) Reset() { *m = SSHUploadPackRequest{} } -func (m *SSHUploadPackRequest) String() string { return proto.CompactTextString(m) } -func (*SSHUploadPackRequest) ProtoMessage() {} -func (*SSHUploadPackRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ef0eae71e2e883eb, []int{0} +func (x *SSHUploadPackRequest) Reset() { + *x = SSHUploadPackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SSHUploadPackRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SSHUploadPackRequest.Unmarshal(m, b) -} -func (m *SSHUploadPackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SSHUploadPackRequest.Marshal(b, m, deterministic) -} -func (m *SSHUploadPackRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SSHUploadPackRequest.Merge(m, src) +func (x *SSHUploadPackRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SSHUploadPackRequest) XXX_Size() int { - return xxx_messageInfo_SSHUploadPackRequest.Size(m) -} -func (m *SSHUploadPackRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SSHUploadPackRequest.DiscardUnknown(m) + +func (*SSHUploadPackRequest) ProtoMessage() {} + +func (x *SSHUploadPackRequest) ProtoReflect() protoreflect.Message { + mi := &file_ssh_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SSHUploadPackRequest proto.InternalMessageInfo +// Deprecated: Use SSHUploadPackRequest.ProtoReflect.Descriptor instead. +func (*SSHUploadPackRequest) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{0} +} -func (m *SSHUploadPackRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *SSHUploadPackRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *SSHUploadPackRequest) GetStdin() []byte { - if m != nil { - return m.Stdin +func (x *SSHUploadPackRequest) GetStdin() []byte { + if x != nil { + return x.Stdin } return nil } -func (m *SSHUploadPackRequest) GetGitConfigOptions() []string { - if m != nil { - return m.GitConfigOptions +func (x *SSHUploadPackRequest) GetGitConfigOptions() []string { + if x != nil { + return x.GitConfigOptions } return nil } -func (m *SSHUploadPackRequest) GetGitProtocol() string { - if m != nil { - return m.GitProtocol +func (x *SSHUploadPackRequest) GetGitProtocol() string { + if x != nil { + return x.GitProtocol } return "" } type SSHUploadPackResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A chunk of raw data from 'git upload-pack' standard output Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // A chunk of raw data from 'git upload-pack' standard error Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // This field may be nil. This is intentional: only when the remote // command has finished can we return its exit status. - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` } -func (m *SSHUploadPackResponse) Reset() { *m = SSHUploadPackResponse{} } -func (m *SSHUploadPackResponse) String() string { return proto.CompactTextString(m) } -func (*SSHUploadPackResponse) ProtoMessage() {} -func (*SSHUploadPackResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ef0eae71e2e883eb, []int{1} +func (x *SSHUploadPackResponse) Reset() { + *x = SSHUploadPackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SSHUploadPackResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SSHUploadPackResponse.Unmarshal(m, b) -} -func (m *SSHUploadPackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SSHUploadPackResponse.Marshal(b, m, deterministic) -} -func (m *SSHUploadPackResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SSHUploadPackResponse.Merge(m, src) +func (x *SSHUploadPackResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SSHUploadPackResponse) XXX_Size() int { - return xxx_messageInfo_SSHUploadPackResponse.Size(m) -} -func (m *SSHUploadPackResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SSHUploadPackResponse.DiscardUnknown(m) + +func (*SSHUploadPackResponse) ProtoMessage() {} + +func (x *SSHUploadPackResponse) ProtoReflect() protoreflect.Message { + mi := &file_ssh_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SSHUploadPackResponse proto.InternalMessageInfo +// Deprecated: Use SSHUploadPackResponse.ProtoReflect.Descriptor instead. +func (*SSHUploadPackResponse) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{1} +} -func (m *SSHUploadPackResponse) GetStdout() []byte { - if m != nil { - return m.Stdout +func (x *SSHUploadPackResponse) GetStdout() []byte { + if x != nil { + return x.Stdout } return nil } -func (m *SSHUploadPackResponse) GetStderr() []byte { - if m != nil { - return m.Stderr +func (x *SSHUploadPackResponse) GetStderr() []byte { + if x != nil { + return x.Stderr } return nil } -func (m *SSHUploadPackResponse) GetExitStatus() *ExitStatus { - if m != nil { - return m.ExitStatus +func (x *SSHUploadPackResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus } return nil } type SSHReceivePackRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // 'repository' must be present in the first message. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // A chunk of raw data to be copied to 'git upload-pack' standard input @@ -163,306 +188,523 @@ type SSHReceivePackRequest struct { // Git protocol version GitProtocol string `protobuf:"bytes,6,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` // Parameters to use with git -c (key=value pairs) - GitConfigOptions []string `protobuf:"bytes,7,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + GitConfigOptions []string `protobuf:"bytes,7,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` } -func (m *SSHReceivePackRequest) Reset() { *m = SSHReceivePackRequest{} } -func (m *SSHReceivePackRequest) String() string { return proto.CompactTextString(m) } -func (*SSHReceivePackRequest) ProtoMessage() {} -func (*SSHReceivePackRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ef0eae71e2e883eb, []int{2} +func (x *SSHReceivePackRequest) Reset() { + *x = SSHReceivePackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SSHReceivePackRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SSHReceivePackRequest.Unmarshal(m, b) -} -func (m *SSHReceivePackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SSHReceivePackRequest.Marshal(b, m, deterministic) +func (x *SSHReceivePackRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SSHReceivePackRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SSHReceivePackRequest.Merge(m, src) -} -func (m *SSHReceivePackRequest) XXX_Size() int { - return xxx_messageInfo_SSHReceivePackRequest.Size(m) -} -func (m *SSHReceivePackRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SSHReceivePackRequest.DiscardUnknown(m) + +func (*SSHReceivePackRequest) ProtoMessage() {} + +func (x *SSHReceivePackRequest) ProtoReflect() protoreflect.Message { + mi := &file_ssh_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SSHReceivePackRequest proto.InternalMessageInfo +// Deprecated: Use SSHReceivePackRequest.ProtoReflect.Descriptor instead. +func (*SSHReceivePackRequest) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{2} +} -func (m *SSHReceivePackRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *SSHReceivePackRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *SSHReceivePackRequest) GetStdin() []byte { - if m != nil { - return m.Stdin +func (x *SSHReceivePackRequest) GetStdin() []byte { + if x != nil { + return x.Stdin } return nil } -func (m *SSHReceivePackRequest) GetGlId() string { - if m != nil { - return m.GlId +func (x *SSHReceivePackRequest) GetGlId() string { + if x != nil { + return x.GlId } return "" } -func (m *SSHReceivePackRequest) GetGlRepository() string { - if m != nil { - return m.GlRepository +func (x *SSHReceivePackRequest) GetGlRepository() string { + if x != nil { + return x.GlRepository } return "" } -func (m *SSHReceivePackRequest) GetGlUsername() string { - if m != nil { - return m.GlUsername +func (x *SSHReceivePackRequest) GetGlUsername() string { + if x != nil { + return x.GlUsername } return "" } -func (m *SSHReceivePackRequest) GetGitProtocol() string { - if m != nil { - return m.GitProtocol +func (x *SSHReceivePackRequest) GetGitProtocol() string { + if x != nil { + return x.GitProtocol } return "" } -func (m *SSHReceivePackRequest) GetGitConfigOptions() []string { - if m != nil { - return m.GitConfigOptions +func (x *SSHReceivePackRequest) GetGitConfigOptions() []string { + if x != nil { + return x.GitConfigOptions } return nil } type SSHReceivePackResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A chunk of raw data from 'git receive-pack' standard output Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // A chunk of raw data from 'git receive-pack' standard error Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // This field may be nil. This is intentional: only when the remote // command has finished can we return its exit status. - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` } -func (m *SSHReceivePackResponse) Reset() { *m = SSHReceivePackResponse{} } -func (m *SSHReceivePackResponse) String() string { return proto.CompactTextString(m) } -func (*SSHReceivePackResponse) ProtoMessage() {} -func (*SSHReceivePackResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ef0eae71e2e883eb, []int{3} +func (x *SSHReceivePackResponse) Reset() { + *x = SSHReceivePackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SSHReceivePackResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SSHReceivePackResponse.Unmarshal(m, b) -} -func (m *SSHReceivePackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SSHReceivePackResponse.Marshal(b, m, deterministic) -} -func (m *SSHReceivePackResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SSHReceivePackResponse.Merge(m, src) +func (x *SSHReceivePackResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SSHReceivePackResponse) XXX_Size() int { - return xxx_messageInfo_SSHReceivePackResponse.Size(m) -} -func (m *SSHReceivePackResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SSHReceivePackResponse.DiscardUnknown(m) + +func (*SSHReceivePackResponse) ProtoMessage() {} + +func (x *SSHReceivePackResponse) ProtoReflect() protoreflect.Message { + mi := &file_ssh_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SSHReceivePackResponse proto.InternalMessageInfo +// Deprecated: Use SSHReceivePackResponse.ProtoReflect.Descriptor instead. +func (*SSHReceivePackResponse) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{3} +} -func (m *SSHReceivePackResponse) GetStdout() []byte { - if m != nil { - return m.Stdout +func (x *SSHReceivePackResponse) GetStdout() []byte { + if x != nil { + return x.Stdout } return nil } -func (m *SSHReceivePackResponse) GetStderr() []byte { - if m != nil { - return m.Stderr +func (x *SSHReceivePackResponse) GetStderr() []byte { + if x != nil { + return x.Stderr } return nil } -func (m *SSHReceivePackResponse) GetExitStatus() *ExitStatus { - if m != nil { - return m.ExitStatus +func (x *SSHReceivePackResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus } return nil } type SSHUploadArchiveRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // 'repository' must be present in the first message. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // A chunk of raw data to be copied to 'git upload-archive' standard input - Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"` } -func (m *SSHUploadArchiveRequest) Reset() { *m = SSHUploadArchiveRequest{} } -func (m *SSHUploadArchiveRequest) String() string { return proto.CompactTextString(m) } -func (*SSHUploadArchiveRequest) ProtoMessage() {} -func (*SSHUploadArchiveRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ef0eae71e2e883eb, []int{4} +func (x *SSHUploadArchiveRequest) Reset() { + *x = SSHUploadArchiveRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SSHUploadArchiveRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SSHUploadArchiveRequest.Unmarshal(m, b) -} -func (m *SSHUploadArchiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SSHUploadArchiveRequest.Marshal(b, m, deterministic) -} -func (m *SSHUploadArchiveRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SSHUploadArchiveRequest.Merge(m, src) +func (x *SSHUploadArchiveRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SSHUploadArchiveRequest) XXX_Size() int { - return xxx_messageInfo_SSHUploadArchiveRequest.Size(m) -} -func (m *SSHUploadArchiveRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SSHUploadArchiveRequest.DiscardUnknown(m) + +func (*SSHUploadArchiveRequest) ProtoMessage() {} + +func (x *SSHUploadArchiveRequest) ProtoReflect() protoreflect.Message { + mi := &file_ssh_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SSHUploadArchiveRequest proto.InternalMessageInfo +// Deprecated: Use SSHUploadArchiveRequest.ProtoReflect.Descriptor instead. +func (*SSHUploadArchiveRequest) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{4} +} -func (m *SSHUploadArchiveRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *SSHUploadArchiveRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *SSHUploadArchiveRequest) GetStdin() []byte { - if m != nil { - return m.Stdin +func (x *SSHUploadArchiveRequest) GetStdin() []byte { + if x != nil { + return x.Stdin } return nil } type SSHUploadArchiveResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A chunk of raw data from 'git upload-archive' standard output Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // A chunk of raw data from 'git upload-archive' standard error Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // This value will only be set on the last message - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` } -func (m *SSHUploadArchiveResponse) Reset() { *m = SSHUploadArchiveResponse{} } -func (m *SSHUploadArchiveResponse) String() string { return proto.CompactTextString(m) } -func (*SSHUploadArchiveResponse) ProtoMessage() {} -func (*SSHUploadArchiveResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ef0eae71e2e883eb, []int{5} +func (x *SSHUploadArchiveResponse) Reset() { + *x = SSHUploadArchiveResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SSHUploadArchiveResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SSHUploadArchiveResponse.Unmarshal(m, b) +func (x *SSHUploadArchiveResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SSHUploadArchiveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SSHUploadArchiveResponse.Marshal(b, m, deterministic) -} -func (m *SSHUploadArchiveResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SSHUploadArchiveResponse.Merge(m, src) -} -func (m *SSHUploadArchiveResponse) XXX_Size() int { - return xxx_messageInfo_SSHUploadArchiveResponse.Size(m) -} -func (m *SSHUploadArchiveResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SSHUploadArchiveResponse.DiscardUnknown(m) + +func (*SSHUploadArchiveResponse) ProtoMessage() {} + +func (x *SSHUploadArchiveResponse) ProtoReflect() protoreflect.Message { + mi := &file_ssh_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_SSHUploadArchiveResponse proto.InternalMessageInfo +// Deprecated: Use SSHUploadArchiveResponse.ProtoReflect.Descriptor instead. +func (*SSHUploadArchiveResponse) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{5} +} -func (m *SSHUploadArchiveResponse) GetStdout() []byte { - if m != nil { - return m.Stdout +func (x *SSHUploadArchiveResponse) GetStdout() []byte { + if x != nil { + return x.Stdout } return nil } -func (m *SSHUploadArchiveResponse) GetStderr() []byte { - if m != nil { - return m.Stderr +func (x *SSHUploadArchiveResponse) GetStderr() []byte { + if x != nil { + return x.Stderr } return nil } -func (m *SSHUploadArchiveResponse) GetExitStatus() *ExitStatus { - if m != nil { - return m.ExitStatus +func (x *SSHUploadArchiveResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus } return nil } -func init() { - proto.RegisterType((*SSHUploadPackRequest)(nil), "gitaly.SSHUploadPackRequest") - proto.RegisterType((*SSHUploadPackResponse)(nil), "gitaly.SSHUploadPackResponse") - proto.RegisterType((*SSHReceivePackRequest)(nil), "gitaly.SSHReceivePackRequest") - proto.RegisterType((*SSHReceivePackResponse)(nil), "gitaly.SSHReceivePackResponse") - proto.RegisterType((*SSHUploadArchiveRequest)(nil), "gitaly.SSHUploadArchiveRequest") - proto.RegisterType((*SSHUploadArchiveResponse)(nil), "gitaly.SSHUploadArchiveResponse") -} - -func init() { proto.RegisterFile("ssh.proto", fileDescriptor_ef0eae71e2e883eb) } - -var fileDescriptor_ef0eae71e2e883eb = []byte{ - // 506 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x53, 0xcf, 0x6e, 0xd3, 0x30, - 0x18, 0x57, 0xda, 0xb4, 0xac, 0x5f, 0x3b, 0x54, 0x99, 0x6d, 0x44, 0x11, 0xb0, 0x10, 0x2e, 0x39, - 0x8c, 0x76, 0xda, 0x2e, 0x5c, 0x19, 0x42, 0x1a, 0x5c, 0x98, 0x1c, 0x4d, 0x42, 0x70, 0x88, 0xdc, - 0xc4, 0xb8, 0x16, 0x6e, 0x1c, 0x6c, 0xb7, 0xda, 0x24, 0x10, 0x0f, 0xc1, 0x01, 0x9e, 0x80, 0x47, - 0xe1, 0x09, 0x78, 0x1a, 0x4e, 0x68, 0x4e, 0x28, 0x4d, 0xb3, 0x1e, 0xb7, 0x9b, 0xbf, 0xdf, 0xef, - 0xf3, 0xf7, 0xe7, 0xf7, 0xb3, 0xa1, 0xa7, 0xf5, 0x74, 0x54, 0x28, 0x69, 0x24, 0xea, 0x32, 0x6e, - 0x88, 0xb8, 0xf4, 0x41, 0xf0, 0xdc, 0x94, 0x98, 0x3f, 0xd0, 0x53, 0xa2, 0x68, 0x56, 0x46, 0xe1, - 0x6f, 0x07, 0x76, 0xe2, 0xf8, 0xf4, 0xbc, 0x10, 0x92, 0x64, 0x67, 0x24, 0xfd, 0x88, 0xe9, 0xa7, - 0x39, 0xd5, 0x06, 0x3d, 0x03, 0x50, 0xb4, 0x90, 0x9a, 0x1b, 0xa9, 0x2e, 0x3d, 0x27, 0x70, 0xa2, - 0xfe, 0x11, 0x1a, 0x95, 0xf5, 0x46, 0x78, 0xc9, 0x9c, 0xb8, 0x3f, 0x7e, 0x1d, 0x38, 0x78, 0x25, - 0x17, 0xed, 0x40, 0x47, 0x9b, 0x8c, 0xe7, 0x5e, 0x2b, 0x70, 0xa2, 0x01, 0x2e, 0x03, 0x74, 0x00, - 0x88, 0x71, 0x93, 0xa4, 0x32, 0xff, 0xc0, 0x59, 0x22, 0x0b, 0xc3, 0x65, 0xae, 0x3d, 0x37, 0x68, - 0x47, 0x3d, 0x3c, 0x64, 0xdc, 0xbc, 0xb0, 0xc4, 0x9b, 0x12, 0x47, 0x8f, 0x61, 0x70, 0x95, 0x6d, - 0x67, 0x4c, 0xa5, 0xf0, 0x3a, 0x81, 0x13, 0xf5, 0x70, 0x9f, 0x71, 0x73, 0x56, 0x41, 0xaf, 0xdd, - 0xad, 0xf6, 0xd0, 0xc5, 0xbb, 0x2b, 0x45, 0x0b, 0xa2, 0xc8, 0x8c, 0x1a, 0xaa, 0x74, 0xf8, 0x19, - 0x76, 0xd7, 0xb6, 0xd2, 0x85, 0xcc, 0x35, 0x45, 0x7b, 0xd0, 0xd5, 0x26, 0x93, 0x73, 0x63, 0x57, - 0x1a, 0xe0, 0x2a, 0xaa, 0x70, 0xaa, 0x54, 0x35, 0x75, 0x15, 0xa1, 0x63, 0xe8, 0xd3, 0x0b, 0x6e, - 0x12, 0x6d, 0x88, 0x99, 0x6b, 0xaf, 0x5d, 0xd7, 0xe1, 0xe5, 0x05, 0x37, 0xb1, 0x65, 0x30, 0xd0, - 0xe5, 0x39, 0xfc, 0xd6, 0xb2, 0xed, 0x31, 0x4d, 0x29, 0x5f, 0xd0, 0x9b, 0x54, 0xf5, 0x1e, 0x74, - 0x98, 0x48, 0x78, 0x66, 0x07, 0xeb, 0x61, 0x97, 0x89, 0x57, 0x19, 0x7a, 0x02, 0xdb, 0x4c, 0x24, - 0x2b, 0x7d, 0x5c, 0x4b, 0x0e, 0x98, 0xf8, 0xdf, 0x01, 0xed, 0x43, 0x9f, 0x89, 0x64, 0xae, 0xa9, - 0xca, 0xc9, 0x8c, 0x56, 0x02, 0x03, 0x13, 0xe7, 0x15, 0xd2, 0xb0, 0xa0, 0xdb, 0xb0, 0x60, 0x83, - 0xa7, 0x77, 0xae, 0xf7, 0x34, 0xfc, 0x02, 0x7b, 0xeb, 0xa2, 0xdc, 0xa6, 0x29, 0x1c, 0xee, 0x2f, - 0x9f, 0xc4, 0x73, 0x95, 0x4e, 0xf9, 0x82, 0xde, 0x90, 0x2b, 0xe1, 0x57, 0xf0, 0x9a, 0xad, 0x6e, - 0x71, 0xd7, 0xa3, 0x9f, 0x2d, 0x80, 0x38, 0x3e, 0x8d, 0xa9, 0x5a, 0xf0, 0x94, 0xa2, 0xb7, 0xb0, - 0x5d, 0xfb, 0x0d, 0xe8, 0xc1, 0xbf, 0xfb, 0xd7, 0x7d, 0x7d, 0xff, 0xe1, 0x06, 0xb6, 0xdc, 0x20, - 0xec, 0xfe, 0xf9, 0x1e, 0xb5, 0xb6, 0x5a, 0x91, 0x73, 0xe8, 0xa0, 0xf7, 0x70, 0xb7, 0xee, 0x29, - 0x5a, 0xbd, 0xdc, 0xfc, 0x00, 0xfe, 0xa3, 0x4d, 0x74, 0xad, 0xb8, 0x63, 0x8b, 0x13, 0x18, 0xae, - 0xcb, 0x88, 0xf6, 0x1b, 0xb3, 0xd5, 0xbd, 0xf4, 0x83, 0xcd, 0x09, 0xcd, 0xf9, 0x4f, 0x0e, 0xdf, - 0x5d, 0xa5, 0x0b, 0x32, 0x19, 0xa5, 0x72, 0x36, 0x2e, 0x8f, 0x4f, 0xa5, 0x62, 0xe3, 0xb2, 0xc8, - 0xd8, 0xbe, 0xfe, 0x31, 0x93, 0x55, 0x5c, 0x4c, 0x26, 0x5d, 0x0b, 0x1d, 0xff, 0x0d, 0x00, 0x00, - 0xff, 0xff, 0x38, 0x5c, 0x3c, 0x09, 0x66, 0x05, 0x00, 0x00, +var File_ssh_proto protoreflect.FileDescriptor + +var file_ssh_proto_rawDesc = []byte{ + 0x0a, 0x09, 0x73, 0x73, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd4, 0x01, + 0x0a, 0x14, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, + 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x10, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x52, 0x15, 0x67, + 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x73, 0x22, 0x7c, 0x0a, 0x15, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, + 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, 0x0a, + 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x22, 0x93, 0x02, 0x0a, 0x15, 0x53, 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x13, 0x0a, 0x05, + 0x67, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x6c, 0x49, + 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x67, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x6c, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x6c, 0x5f, 0x75, 0x73, 0x65, + 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x6c, 0x55, + 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, + 0x69, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, + 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7d, 0x0a, 0x16, 0x53, 0x53, 0x48, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, + 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, + 0x72, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x69, 0x0a, 0x17, 0x53, 0x53, 0x48, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x64, + 0x69, 0x6e, 0x22, 0x7f, 0x0a, 0x18, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, + 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, + 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, + 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x32, 0xa6, 0x02, 0x0a, 0x0a, 0x53, 0x53, 0x48, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x58, 0x0a, 0x0d, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, + 0x61, 0x63, 0x6b, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, + 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x5b, 0x0a, 0x0e, + 0x53, 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x12, 0x1d, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x30, 0x01, 0x12, 0x61, 0x0a, 0x10, 0x53, 0x53, 0x48, + 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x12, 0x1f, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x42, 0x30, 0x5a, 0x2e, + 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, + 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ssh_proto_rawDescOnce sync.Once + file_ssh_proto_rawDescData = file_ssh_proto_rawDesc +) + +func file_ssh_proto_rawDescGZIP() []byte { + file_ssh_proto_rawDescOnce.Do(func() { + file_ssh_proto_rawDescData = protoimpl.X.CompressGZIP(file_ssh_proto_rawDescData) + }) + return file_ssh_proto_rawDescData +} + +var file_ssh_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_ssh_proto_goTypes = []interface{}{ + (*SSHUploadPackRequest)(nil), // 0: gitaly.SSHUploadPackRequest + (*SSHUploadPackResponse)(nil), // 1: gitaly.SSHUploadPackResponse + (*SSHReceivePackRequest)(nil), // 2: gitaly.SSHReceivePackRequest + (*SSHReceivePackResponse)(nil), // 3: gitaly.SSHReceivePackResponse + (*SSHUploadArchiveRequest)(nil), // 4: gitaly.SSHUploadArchiveRequest + (*SSHUploadArchiveResponse)(nil), // 5: gitaly.SSHUploadArchiveResponse + (*Repository)(nil), // 6: gitaly.Repository + (*ExitStatus)(nil), // 7: gitaly.ExitStatus +} +var file_ssh_proto_depIdxs = []int32{ + 6, // 0: gitaly.SSHUploadPackRequest.repository:type_name -> gitaly.Repository + 7, // 1: gitaly.SSHUploadPackResponse.exit_status:type_name -> gitaly.ExitStatus + 6, // 2: gitaly.SSHReceivePackRequest.repository:type_name -> gitaly.Repository + 7, // 3: gitaly.SSHReceivePackResponse.exit_status:type_name -> gitaly.ExitStatus + 6, // 4: gitaly.SSHUploadArchiveRequest.repository:type_name -> gitaly.Repository + 7, // 5: gitaly.SSHUploadArchiveResponse.exit_status:type_name -> gitaly.ExitStatus + 0, // 6: gitaly.SSHService.SSHUploadPack:input_type -> gitaly.SSHUploadPackRequest + 2, // 7: gitaly.SSHService.SSHReceivePack:input_type -> gitaly.SSHReceivePackRequest + 4, // 8: gitaly.SSHService.SSHUploadArchive:input_type -> gitaly.SSHUploadArchiveRequest + 1, // 9: gitaly.SSHService.SSHUploadPack:output_type -> gitaly.SSHUploadPackResponse + 3, // 10: gitaly.SSHService.SSHReceivePack:output_type -> gitaly.SSHReceivePackResponse + 5, // 11: gitaly.SSHService.SSHUploadArchive:output_type -> gitaly.SSHUploadArchiveResponse + 9, // [9:12] is the sub-list for method output_type + 6, // [6:9] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_ssh_proto_init() } +func file_ssh_proto_init() { + if File_ssh_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_ssh_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHUploadPackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHUploadPackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHReceivePackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHReceivePackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHUploadArchiveRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHUploadArchiveResponse); 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{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ssh_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_ssh_proto_goTypes, + DependencyIndexes: file_ssh_proto_depIdxs, + MessageInfos: file_ssh_proto_msgTypes, + }.Build() + File_ssh_proto = out.File + file_ssh_proto_rawDesc = nil + file_ssh_proto_goTypes = nil + file_ssh_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // SSHServiceClient is the client API for SSHService service. // @@ -477,10 +719,10 @@ type SSHServiceClient interface { } type sSHServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewSSHServiceClient(cc *grpc.ClientConn) SSHServiceClient { +func NewSSHServiceClient(cc grpc.ClientConnInterface) SSHServiceClient { return &sSHServiceClient{cc} } @@ -591,13 +833,13 @@ type SSHServiceServer interface { type UnimplementedSSHServiceServer struct { } -func (*UnimplementedSSHServiceServer) SSHUploadPack(srv SSHService_SSHUploadPackServer) error { +func (*UnimplementedSSHServiceServer) SSHUploadPack(SSHService_SSHUploadPackServer) error { return status.Errorf(codes.Unimplemented, "method SSHUploadPack not implemented") } -func (*UnimplementedSSHServiceServer) SSHReceivePack(srv SSHService_SSHReceivePackServer) error { +func (*UnimplementedSSHServiceServer) SSHReceivePack(SSHService_SSHReceivePackServer) error { return status.Errorf(codes.Unimplemented, "method SSHReceivePack not implemented") } -func (*UnimplementedSSHServiceServer) SSHUploadArchive(srv SSHService_SSHUploadArchiveServer) error { +func (*UnimplementedSSHServiceServer) SSHUploadArchive(SSHService_SSHUploadArchiveServer) error { return status.Errorf(codes.Unimplemented, "method SSHUploadArchive not implemented") } |