Commit 0662bdd1 authored by Nick Thomas's avatar Nick Thomas

Merge branch 'zj-rename-gitalypb' into 'master'

Upgrade gitaly Client dependency

See merge request gitlab-org/gitlab-shell!262
parents 46f05944 a7c243bb
......@@ -14,5 +14,5 @@ To update e.g. `gitaly-proto` run the following command in the root
directory of the project.
```
support/go-update-vendor gitlab.com/gitlab-org/gitaly-proto/go@v0.109.0
support/go-update-vendor gitlab.com/gitlab-org/gitaly-proto/go/gitalypb@v1.3.0
```
......@@ -5,10 +5,9 @@ import (
"fmt"
"os"
"gitlab.com/gitlab-org/gitaly-proto/go/gitalypb"
"gitlab.com/gitlab-org/gitlab-shell/go/internal/handler"
"gitlab.com/gitlab-org/gitlab-shell/go/internal/logger"
pb "gitlab.com/gitlab-org/gitaly-proto/go"
)
func init() {
......@@ -24,7 +23,7 @@ func main() {
logger.Fatal("wrong number of arguments", fmt.Errorf("expected 2 arguments, got %v", os.Args))
}
var request pb.SSHReceivePackRequest
var request gitalypb.SSHReceivePackRequest
if err := json.Unmarshal([]byte(os.Args[2]), &request); err != nil {
logger.Fatal("unmarshaling request json failed", err)
}
......
......@@ -5,17 +5,16 @@ import (
"fmt"
"os"
"gitlab.com/gitlab-org/gitaly-proto/go/gitalypb"
"gitlab.com/gitlab-org/gitlab-shell/go/internal/handler"
"gitlab.com/gitlab-org/gitlab-shell/go/internal/logger"
pb "gitlab.com/gitlab-org/gitaly-proto/go"
)
func init() {
logger.ProgName = "gitaly-upload-archive"
}
type uploadArchiveHandler func(gitalyAddress string, request *pb.SSHUploadArchiveRequest) (int32, error)
type uploadArchiveHandler func(gitalyAddress string, request *gitalypb.SSHUploadArchiveRequest) (int32, error)
func main() {
if err := handler.Prepare(); err != nil {
......@@ -36,7 +35,7 @@ func uploadArchive(handler uploadArchiveHandler, args []string) (int32, error) {
return 0, fmt.Errorf("wrong number of arguments: expected 2 arguments, got %v", args)
}
var request pb.SSHUploadArchiveRequest
var request gitalypb.SSHUploadArchiveRequest
if err := json.Unmarshal([]byte(args[2]), &request); err != nil {
return 0, fmt.Errorf("unmarshaling request json failed: %v", err)
}
......
......@@ -5,7 +5,7 @@ import (
"strings"
"testing"
pb "gitlab.com/gitlab-org/gitaly-proto/go"
"gitlab.com/gitlab-org/gitaly-proto/go/gitalypb"
)
var testGitalyAddress = "unix:gitaly.socket"
......@@ -13,7 +13,7 @@ var testGitalyAddress = "unix:gitaly.socket"
func TestUploadArchiveSuccess(t *testing.T) {
testRelativePath := "myrepo.git"
requestJSON := fmt.Sprintf(`{"repository":{"relative_path":"%s"}}`, testRelativePath)
mockHandler := func(gitalyAddress string, request *pb.SSHUploadArchiveRequest) (int32, error) {
mockHandler := func(gitalyAddress string, request *gitalypb.SSHUploadArchiveRequest) (int32, error) {
if gitalyAddress != testGitalyAddress {
t.Fatalf("Expected gitaly address %s got %v", testGitalyAddress, gitalyAddress)
}
......@@ -35,7 +35,7 @@ func TestUploadArchiveSuccess(t *testing.T) {
}
func TestUploadArchiveFailure(t *testing.T) {
mockHandler := func(_ string, _ *pb.SSHUploadArchiveRequest) (int32, error) {
mockHandler := func(_ string, _ *gitalypb.SSHUploadArchiveRequest) (int32, error) {
t.Fatal("Expected handler not to be called")
return 0, nil
......
......@@ -5,10 +5,9 @@ import (
"fmt"
"os"
"gitlab.com/gitlab-org/gitaly-proto/go/gitalypb"
"gitlab.com/gitlab-org/gitlab-shell/go/internal/handler"
"gitlab.com/gitlab-org/gitlab-shell/go/internal/logger"
pb "gitlab.com/gitlab-org/gitaly-proto/go"
)
func init() {
......@@ -24,7 +23,7 @@ func main() {
logger.Fatal("wrong number of arguments", fmt.Errorf("expected 2 arguments, got %v", os.Args))
}
var request pb.SSHUploadPackRequest
var request gitalypb.SSHUploadPackRequest
if err := json.Unmarshal([]byte(os.Args[2]), &request); err != nil {
logger.Fatal("unmarshaling request json failed", err)
}
......
......@@ -5,11 +5,11 @@ import (
"fmt"
"os"
pb "gitlab.com/gitlab-org/gitaly-proto/go"
"gitlab.com/gitlab-org/gitaly-proto/go/gitalypb"
"gitlab.com/gitlab-org/gitaly/client"
)
func ReceivePack(gitalyAddress string, request *pb.SSHReceivePackRequest) (int32, error) {
func ReceivePack(gitalyAddress string, request *gitalypb.SSHReceivePackRequest) (int32, error) {
if gitalyAddress == "" {
return 0, fmt.Errorf("no gitaly_address given")
}
......
......@@ -5,11 +5,11 @@ import (
"fmt"
"os"
pb "gitlab.com/gitlab-org/gitaly-proto/go"
"gitlab.com/gitlab-org/gitaly-proto/go/gitalypb"
"gitlab.com/gitlab-org/gitaly/client"
)
func UploadArchive(gitalyAddress string, request *pb.SSHUploadArchiveRequest) (int32, error) {
func UploadArchive(gitalyAddress string, request *gitalypb.SSHUploadArchiveRequest) (int32, error) {
if gitalyAddress == "" {
return 0, fmt.Errorf("no gitaly_address given")
}
......
......@@ -5,11 +5,11 @@ import (
"fmt"
"os"
pb "gitlab.com/gitlab-org/gitaly-proto/go"
"gitlab.com/gitlab-org/gitaly-proto/go/gitalypb"
"gitlab.com/gitlab-org/gitaly/client"
)
func UploadPack(gitalyAddress string, request *pb.SSHUploadPackRequest) (int32, error) {
func UploadPack(gitalyAddress string, request *gitalypb.SSHUploadPackRequest) (int32, error) {
if gitalyAddress == "" {
return 0, fmt.Errorf("no gitaly_address given")
}
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: deprecated-services.proto
package gitaly
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// 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
// Client API for Commit service
type CommitClient interface {
CommitIsAncestor(ctx context.Context, in *CommitIsAncestorRequest, opts ...grpc.CallOption) (*CommitIsAncestorResponse, error)
TreeEntry(ctx context.Context, in *TreeEntryRequest, opts ...grpc.CallOption) (Commit_TreeEntryClient, error)
}
type commitClient struct {
cc *grpc.ClientConn
}
func NewCommitClient(cc *grpc.ClientConn) CommitClient {
return &commitClient{cc}
}
func (c *commitClient) CommitIsAncestor(ctx context.Context, in *CommitIsAncestorRequest, opts ...grpc.CallOption) (*CommitIsAncestorResponse, error) {
out := new(CommitIsAncestorResponse)
err := grpc.Invoke(ctx, "/gitaly.Commit/CommitIsAncestor", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *commitClient) TreeEntry(ctx context.Context, in *TreeEntryRequest, opts ...grpc.CallOption) (Commit_TreeEntryClient, error) {
stream, err := grpc.NewClientStream(ctx, &_Commit_serviceDesc.Streams[0], c.cc, "/gitaly.Commit/TreeEntry", opts...)
if err != nil {
return nil, err
}
x := &commitTreeEntryClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type Commit_TreeEntryClient interface {
Recv() (*TreeEntryResponse, error)
grpc.ClientStream
}
type commitTreeEntryClient struct {
grpc.ClientStream
}
func (x *commitTreeEntryClient) Recv() (*TreeEntryResponse, error) {
m := new(TreeEntryResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for Commit service
type CommitServer interface {
CommitIsAncestor(context.Context, *CommitIsAncestorRequest) (*CommitIsAncestorResponse, error)
TreeEntry(*TreeEntryRequest, Commit_TreeEntryServer) error
}
func RegisterCommitServer(s *grpc.Server, srv CommitServer) {
s.RegisterService(&_Commit_serviceDesc, srv)
}
func _Commit_CommitIsAncestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CommitIsAncestorRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CommitServer).CommitIsAncestor(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.Commit/CommitIsAncestor",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CommitServer).CommitIsAncestor(ctx, req.(*CommitIsAncestorRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Commit_TreeEntry_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(TreeEntryRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(CommitServer).TreeEntry(m, &commitTreeEntryServer{stream})
}
type Commit_TreeEntryServer interface {
Send(*TreeEntryResponse) error
grpc.ServerStream
}
type commitTreeEntryServer struct {
grpc.ServerStream
}
func (x *commitTreeEntryServer) Send(m *TreeEntryResponse) error {
return x.ServerStream.SendMsg(m)
}
var _Commit_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.Commit",
HandlerType: (*CommitServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CommitIsAncestor",
Handler: _Commit_CommitIsAncestor_Handler,
},
},
Streams: []grpc.StreamDesc{
{
StreamName: "TreeEntry",
Handler: _Commit_TreeEntry_Handler,
ServerStreams: true,
},
},
Metadata: "deprecated-services.proto",
}
// Client API for Diff service
type DiffClient interface {
// Returns stream of CommitDiffResponse with patches chunked over messages
CommitDiff(ctx context.Context, in *CommitDiffRequest, opts ...grpc.CallOption) (Diff_CommitDiffClient, error)
// Return a stream so we can divide the response in chunks of deltas
CommitDelta(ctx context.Context, in *CommitDeltaRequest, opts ...grpc.CallOption) (Diff_CommitDeltaClient, error)
}
type diffClient struct {
cc *grpc.ClientConn
}
func NewDiffClient(cc *grpc.ClientConn) DiffClient {
return &diffClient{cc}
}
func (c *diffClient) CommitDiff(ctx context.Context, in *CommitDiffRequest, opts ...grpc.CallOption) (Diff_CommitDiffClient, error) {
stream, err := grpc.NewClientStream(ctx, &_Diff_serviceDesc.Streams[0], c.cc, "/gitaly.Diff/CommitDiff", opts...)
if err != nil {
return nil, err
}
x := &diffCommitDiffClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type Diff_CommitDiffClient interface {
Recv() (*CommitDiffResponse, error)
grpc.ClientStream
}
type diffCommitDiffClient struct {
grpc.ClientStream
}
func (x *diffCommitDiffClient) Recv() (*CommitDiffResponse, error) {
m := new(CommitDiffResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *diffClient) CommitDelta(ctx context.Context, in *CommitDeltaRequest, opts ...grpc.CallOption) (Diff_CommitDeltaClient, error) {
stream, err := grpc.NewClientStream(ctx, &_Diff_serviceDesc.Streams[1], c.cc, "/gitaly.Diff/CommitDelta", opts...)
if err != nil {
return nil, err
}
x := &diffCommitDeltaClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type Diff_CommitDeltaClient interface {
Recv() (*CommitDeltaResponse, error)
grpc.ClientStream
}
type diffCommitDeltaClient struct {
grpc.ClientStream
}
func (x *diffCommitDeltaClient) Recv() (*CommitDeltaResponse, error) {
m := new(CommitDeltaResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for Diff service
type DiffServer interface {
// Returns stream of CommitDiffResponse with patches chunked over messages
CommitDiff(*CommitDiffRequest, Diff_CommitDiffServer) error
// Return a stream so we can divide the response in chunks of deltas
CommitDelta(*CommitDeltaRequest, Diff_CommitDeltaServer) error
}
func RegisterDiffServer(s *grpc.Server, srv DiffServer) {
s.RegisterService(&_Diff_serviceDesc, srv)
}
func _Diff_CommitDiff_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(CommitDiffRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(DiffServer).CommitDiff(m, &diffCommitDiffServer{stream})
}
type Diff_CommitDiffServer interface {
Send(*CommitDiffResponse) error
grpc.ServerStream
}
type diffCommitDiffServer struct {
grpc.ServerStream
}
func (x *diffCommitDiffServer) Send(m *CommitDiffResponse) error {
return x.ServerStream.SendMsg(m)
}
func _Diff_CommitDelta_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(CommitDeltaRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(DiffServer).CommitDelta(m, &diffCommitDeltaServer{stream})
}
type Diff_CommitDeltaServer interface {
Send(*CommitDeltaResponse) error
grpc.ServerStream
}
type diffCommitDeltaServer struct {
grpc.ServerStream
}
func (x *diffCommitDeltaServer) Send(m *CommitDeltaResponse) error {
return x.ServerStream.SendMsg(m)
}
var _Diff_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.Diff",
HandlerType: (*DiffServer)(nil),
Methods: []grpc.MethodDesc{},
Streams: []grpc.StreamDesc{
{
StreamName: "CommitDiff",
Handler: _Diff_CommitDiff_Handler,
ServerStreams: true,
},
{
StreamName: "CommitDelta",
Handler: _Diff_CommitDelta_Handler,
ServerStreams: true,
},
},
Metadata: "deprecated-services.proto",
}
// Client API for Notifications service
type NotificationsClient interface {
PostReceive(ctx context.Context, in *PostReceiveRequest, opts ...grpc.CallOption) (*PostReceiveResponse, error)
}
type notificationsClient struct {
cc *grpc.ClientConn
}
func NewNotificationsClient(cc *grpc.ClientConn) NotificationsClient {
return &notificationsClient{cc}
}
func (c *notificationsClient) PostReceive(ctx context.Context, in *PostReceiveRequest, opts ...grpc.CallOption) (*PostReceiveResponse, error) {
out := new(PostReceiveResponse)
err := grpc.Invoke(ctx, "/gitaly.Notifications/PostReceive", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for Notifications service
type NotificationsServer interface {
PostReceive(context.Context, *PostReceiveRequest) (*PostReceiveResponse, error)
}
func RegisterNotificationsServer(s *grpc.Server, srv NotificationsServer) {
s.RegisterService(&_Notifications_serviceDesc, srv)
}
func _Notifications_PostReceive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(PostReceiveRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NotificationsServer).PostReceive(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.Notifications/PostReceive",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NotificationsServer).PostReceive(ctx, req.(*PostReceiveRequest))
}
return interceptor(ctx, in, info, handler)
}
var _Notifications_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.Notifications",
HandlerType: (*NotificationsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "PostReceive",
Handler: _Notifications_PostReceive_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "deprecated-services.proto",
}
// Client API for Ref service
type RefClient interface {
FindDefaultBranchName(ctx context.Context, in *FindDefaultBranchNameRequest, opts ...grpc.CallOption) (*FindDefaultBranchNameResponse, error)
FindAllBranchNames(ctx context.Context, in *FindAllBranchNamesRequest, opts ...grpc.CallOption) (Ref_FindAllBranchNamesClient, error)
FindAllTagNames(ctx context.Context, in *FindAllTagNamesRequest, opts ...grpc.CallOption) (Ref_FindAllTagNamesClient, error)
// Find a Ref matching the given constraints. Response may be empty.
FindRefName(ctx context.Context, in *FindRefNameRequest, opts ...grpc.CallOption) (*FindRefNameResponse, error)
// Return a stream so we can divide the response in chunks of branches
FindLocalBranches(ctx context.Context, in *FindLocalBranchesRequest, opts ...grpc.CallOption) (Ref_FindLocalBranchesClient, error)
}
type refClient struct {
cc *grpc.ClientConn
}
func NewRefClient(cc *grpc.ClientConn) RefClient {
return &refClient{cc}
}
func (c *refClient) FindDefaultBranchName(ctx context.Context, in *FindDefaultBranchNameRequest, opts ...grpc.CallOption) (*FindDefaultBranchNameResponse, error) {
out := new(FindDefaultBranchNameResponse)
err := grpc.Invoke(ctx, "/gitaly.Ref/FindDefaultBranchName", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *refClient) FindAllBranchNames(ctx context.Context, in *FindAllBranchNamesRequest, opts ...grpc.CallOption) (Ref_FindAllBranchNamesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_Ref_serviceDesc.Streams[0], c.cc, "/gitaly.Ref/FindAllBranchNames", opts...)
if err != nil {
return nil, err
}
x := &refFindAllBranchNamesClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type Ref_FindAllBranchNamesClient interface {
Recv() (*FindAllBranchNamesResponse, error)
grpc.ClientStream
}
type refFindAllBranchNamesClient struct {
grpc.ClientStream
}
func (x *refFindAllBranchNamesClient) Recv() (*FindAllBranchNamesResponse, error) {
m := new(FindAllBranchNamesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *refClient) FindAllTagNames(ctx context.Context, in *FindAllTagNamesRequest, opts ...grpc.CallOption) (Ref_FindAllTagNamesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_Ref_serviceDesc.Streams[1], c.cc, "/gitaly.Ref/FindAllTagNames", opts...)
if err != nil {
return nil, err
}
x := &refFindAllTagNamesClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type Ref_FindAllTagNamesClient interface {
Recv() (*FindAllTagNamesResponse, error)
grpc.ClientStream
}
type refFindAllTagNamesClient struct {
grpc.ClientStream
}
func (x *refFindAllTagNamesClient) Recv() (*FindAllTagNamesResponse, error) {
m := new(FindAllTagNamesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *refClient) FindRefName(ctx context.Context, in *FindRefNameRequest, opts ...grpc.CallOption) (*FindRefNameResponse, error) {
out := new(FindRefNameResponse)
err := grpc.Invoke(ctx, "/gitaly.Ref/FindRefName", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *refClient) FindLocalBranches(ctx context.Context, in *FindLocalBranchesRequest, opts ...grpc.CallOption) (Ref_FindLocalBranchesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_Ref_serviceDesc.Streams[2], c.cc, "/gitaly.Ref/FindLocalBranches", opts...)
if err != nil {
return nil, err
}
x := &refFindLocalBranchesClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type Ref_FindLocalBranchesClient interface {
Recv() (*FindLocalBranchesResponse, error)
grpc.ClientStream
}
type refFindLocalBranchesClient struct {
grpc.ClientStream
}
func (x *refFindLocalBranchesClient) Recv() (*FindLocalBranchesResponse, error) {
m := new(FindLocalBranchesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for Ref service
type RefServer interface {
FindDefaultBranchName(context.Context, *FindDefaultBranchNameRequest) (*FindDefaultBranchNameResponse, error)
FindAllBranchNames(*FindAllBranchNamesRequest, Ref_FindAllBranchNamesServer) error
FindAllTagNames(*FindAllTagNamesRequest, Ref_FindAllTagNamesServer) error
// Find a Ref matching the given constraints. Response may be empty.
FindRefName(context.Context, *FindRefNameRequest) (*FindRefNameResponse, error)
// Return a stream so we can divide the response in chunks of branches
FindLocalBranches(*FindLocalBranchesRequest, Ref_FindLocalBranchesServer) error
}
func RegisterRefServer(s *grpc.Server, srv RefServer) {
s.RegisterService(&_Ref_serviceDesc, srv)
}
func _Ref_FindDefaultBranchName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindDefaultBranchNameRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RefServer).FindDefaultBranchName(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.Ref/FindDefaultBranchName",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RefServer).FindDefaultBranchName(ctx, req.(*FindDefaultBranchNameRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Ref_FindAllBranchNames_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(FindAllBranchNamesRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(RefServer).FindAllBranchNames(m, &refFindAllBranchNamesServer{stream})
}
type Ref_FindAllBranchNamesServer interface {
Send(*FindAllBranchNamesResponse) error
grpc.ServerStream
}
type refFindAllBranchNamesServer struct {
grpc.ServerStream
}
func (x *refFindAllBranchNamesServer) Send(m *FindAllBranchNamesResponse) error {
return x.ServerStream.SendMsg(m)
}
func _Ref_FindAllTagNames_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(FindAllTagNamesRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(RefServer).FindAllTagNames(m, &refFindAllTagNamesServer{stream})
}
type Ref_FindAllTagNamesServer interface {
Send(*FindAllTagNamesResponse) error
grpc.ServerStream
}
type refFindAllTagNamesServer struct {
grpc.ServerStream
}
func (x *refFindAllTagNamesServer) Send(m *FindAllTagNamesResponse) error {
return x.ServerStream.SendMsg(m)
}
func _Ref_FindRefName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindRefNameRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RefServer).FindRefName(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.Ref/FindRefName",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RefServer).FindRefName(ctx, req.(*FindRefNameRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Ref_FindLocalBranches_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(FindLocalBranchesRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(RefServer).FindLocalBranches(m, &refFindLocalBranchesServer{stream})
}
type Ref_FindLocalBranchesServer interface {
Send(*FindLocalBranchesResponse) error
grpc.ServerStream
}
type refFindLocalBranchesServer struct {
grpc.ServerStream
}
func (x *refFindLocalBranchesServer) Send(m *FindLocalBranchesResponse) error {
return x.ServerStream.SendMsg(m)
}
var _Ref_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.Ref",
HandlerType: (*RefServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "FindDefaultBranchName",
Handler: _Ref_FindDefaultBranchName_Handler,
},
{
MethodName: "FindRefName",
Handler: _Ref_FindRefName_Handler,
},
},
Streams: []grpc.StreamDesc{
{
StreamName: "FindAllBranchNames",
Handler: _Ref_FindAllBranchNames_Handler,
ServerStreams: true,
},
{
StreamName: "FindAllTagNames",
Handler: _Ref_FindAllTagNames_Handler,
ServerStreams: true,
},
{
StreamName: "FindLocalBranches",
Handler: _Ref_FindLocalBranches_Handler,
ServerStreams: true,
},
},
Metadata: "deprecated-services.proto",
}
// Client API for SmartHTTP service
type SmartHTTPClient interface {
// The response body for GET /info/refs?service=git-upload-pack
InfoRefsUploadPack(ctx context.Context, in *InfoRefsRequest, opts ...grpc.CallOption) (SmartHTTP_InfoRefsUploadPackClient, error)
// The response body for GET /info/refs?service=git-receive-pack
InfoRefsReceivePack(ctx context.Context, in *InfoRefsRequest, opts ...grpc.CallOption) (SmartHTTP_InfoRefsReceivePackClient, error)
// Request and response body for POST /upload-pack
PostUploadPack(ctx context.Context, opts ...grpc.CallOption) (SmartHTTP_PostUploadPackClient, error)
// Request and response body for POST /receive-pack
PostReceivePack(ctx context.Context, opts ...grpc.CallOption) (SmartHTTP_PostReceivePackClient, error)
}
type smartHTTPClient struct {
cc *grpc.ClientConn
}
func NewSmartHTTPClient(cc *grpc.ClientConn) SmartHTTPClient {
return &smartHTTPClient{cc}
}
func (c *smartHTTPClient) InfoRefsUploadPack(ctx context.Context, in *InfoRefsRequest, opts ...grpc.CallOption) (SmartHTTP_InfoRefsUploadPackClient, error) {
stream, err := grpc.NewClientStream(ctx, &_SmartHTTP_serviceDesc.Streams[0], c.cc, "/gitaly.SmartHTTP/InfoRefsUploadPack", opts...)
if err != nil {
return nil, err
}
x := &smartHTTPInfoRefsUploadPackClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type SmartHTTP_InfoRefsUploadPackClient interface {
Recv() (*InfoRefsResponse, error)
grpc.ClientStream
}
type smartHTTPInfoRefsUploadPackClient struct {
grpc.ClientStream
}
func (x *smartHTTPInfoRefsUploadPackClient) Recv() (*InfoRefsResponse, error) {
m := new(InfoRefsResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *smartHTTPClient) InfoRefsReceivePack(ctx context.Context, in *InfoRefsRequest, opts ...grpc.CallOption) (SmartHTTP_InfoRefsReceivePackClient, error) {
stream, err := grpc.NewClientStream(ctx, &_SmartHTTP_serviceDesc.Streams[1], c.cc, "/gitaly.SmartHTTP/InfoRefsReceivePack", opts...)
if err != nil {
return nil, err
}
x := &smartHTTPInfoRefsReceivePackClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type SmartHTTP_InfoRefsReceivePackClient interface {
Recv() (*InfoRefsResponse, error)
grpc.ClientStream
}
type smartHTTPInfoRefsReceivePackClient struct {
grpc.ClientStream
}
func (x *smartHTTPInfoRefsReceivePackClient) Recv() (*InfoRefsResponse, error) {
m := new(InfoRefsResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *smartHTTPClient) PostUploadPack(ctx context.Context, opts ...grpc.CallOption) (SmartHTTP_PostUploadPackClient, error) {
stream, err := grpc.NewClientStream(ctx, &_SmartHTTP_serviceDesc.Streams[2], c.cc, "/gitaly.SmartHTTP/PostUploadPack", opts...)
if err != nil {
return nil, err
}
x := &smartHTTPPostUploadPackClient{stream}
return x, nil
}
type SmartHTTP_PostUploadPackClient interface {
Send(*PostUploadPackRequest) error
Recv() (*PostUploadPackResponse, error)
grpc.ClientStream
}
type smartHTTPPostUploadPackClient struct {
grpc.ClientStream
}
func (x *smartHTTPPostUploadPackClient) Send(m *PostUploadPackRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *smartHTTPPostUploadPackClient) Recv() (*PostUploadPackResponse, error) {
m := new(PostUploadPackResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *smartHTTPClient) PostReceivePack(ctx context.Context, opts ...grpc.CallOption) (SmartHTTP_PostReceivePackClient, error) {
stream, err := grpc.NewClientStream(ctx, &_SmartHTTP_serviceDesc.Streams[3], c.cc, "/gitaly.SmartHTTP/PostReceivePack", opts...)
if err != nil {
return nil, err
}
x := &smartHTTPPostReceivePackClient{stream}
return x, nil
}
type SmartHTTP_PostReceivePackClient interface {
Send(*PostReceivePackRequest) error
Recv() (*PostReceivePackResponse, error)
grpc.ClientStream
}
type smartHTTPPostReceivePackClient struct {
grpc.ClientStream
}
func (x *smartHTTPPostReceivePackClient) Send(m *PostReceivePackRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *smartHTTPPostReceivePackClient) Recv() (*PostReceivePackResponse, error) {
m := new(PostReceivePackResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for SmartHTTP service
type SmartHTTPServer interface {
// The response body for GET /info/refs?service=git-upload-pack
InfoRefsUploadPack(*InfoRefsRequest, SmartHTTP_InfoRefsUploadPackServer) error
// The response body for GET /info/refs?service=git-receive-pack
InfoRefsReceivePack(*InfoRefsRequest, SmartHTTP_InfoRefsReceivePackServer) error
// Request and response body for POST /upload-pack
PostUploadPack(SmartHTTP_PostUploadPackServer) error
// Request and response body for POST /receive-pack
PostReceivePack(SmartHTTP_PostReceivePackServer) error
}
func RegisterSmartHTTPServer(s *grpc.Server, srv SmartHTTPServer) {
s.RegisterService(&_SmartHTTP_serviceDesc, srv)
}
func _SmartHTTP_InfoRefsUploadPack_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(InfoRefsRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(SmartHTTPServer).InfoRefsUploadPack(m, &smartHTTPInfoRefsUploadPackServer{stream})
}
type SmartHTTP_InfoRefsUploadPackServer interface {
Send(*InfoRefsResponse) error
grpc.ServerStream
}
type smartHTTPInfoRefsUploadPackServer struct {
grpc.ServerStream
}
func (x *smartHTTPInfoRefsUploadPackServer) Send(m *InfoRefsResponse) error {
return x.ServerStream.SendMsg(m)
}
func _SmartHTTP_InfoRefsReceivePack_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(InfoRefsRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(SmartHTTPServer).InfoRefsReceivePack(m, &smartHTTPInfoRefsReceivePackServer{stream})
}
type SmartHTTP_InfoRefsReceivePackServer interface {
Send(*InfoRefsResponse) error
grpc.ServerStream
}
type smartHTTPInfoRefsReceivePackServer struct {
grpc.ServerStream
}
func (x *smartHTTPInfoRefsReceivePackServer) Send(m *InfoRefsResponse) error {
return x.ServerStream.SendMsg(m)
}
func _SmartHTTP_PostUploadPack_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(SmartHTTPServer).PostUploadPack(&smartHTTPPostUploadPackServer{stream})
}
type SmartHTTP_PostUploadPackServer interface {
Send(*PostUploadPackResponse) error
Recv() (*PostUploadPackRequest, error)
grpc.ServerStream
}
type smartHTTPPostUploadPackServer struct {
grpc.ServerStream
}
func (x *smartHTTPPostUploadPackServer) Send(m *PostUploadPackResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *smartHTTPPostUploadPackServer) Recv() (*PostUploadPackRequest, error) {
m := new(PostUploadPackRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func _SmartHTTP_PostReceivePack_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(SmartHTTPServer).PostReceivePack(&smartHTTPPostReceivePackServer{stream})
}
type SmartHTTP_PostReceivePackServer interface {
Send(*PostReceivePackResponse) error
Recv() (*PostReceivePackRequest, error)
grpc.ServerStream
}
type smartHTTPPostReceivePackServer struct {
grpc.ServerStream
}
func (x *smartHTTPPostReceivePackServer) Send(m *PostReceivePackResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *smartHTTPPostReceivePackServer) Recv() (*PostReceivePackRequest, error) {
m := new(PostReceivePackRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
var _SmartHTTP_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.SmartHTTP",
HandlerType: (*SmartHTTPServer)(nil),
Methods: []grpc.MethodDesc{},
Streams: []grpc.StreamDesc{
{
StreamName: "InfoRefsUploadPack",
Handler: _SmartHTTP_InfoRefsUploadPack_Handler,
ServerStreams: true,
},
{
StreamName: "InfoRefsReceivePack",
Handler: _SmartHTTP_InfoRefsReceivePack_Handler,
ServerStreams: true,
},
{
StreamName: "PostUploadPack",
Handler: _SmartHTTP_PostUploadPack_Handler,
ServerStreams: true,
ClientStreams: true,
},
{
StreamName: "PostReceivePack",
Handler: _SmartHTTP_PostReceivePack_Handler,
ServerStreams: true,
ClientStreams: true,
},
},
Metadata: "deprecated-services.proto",
}
// Client API for SSH service
type SSHClient interface {
// To forward 'git upload-pack' to Gitaly for SSH sessions
SSHUploadPack(ctx context.Context, opts ...grpc.CallOption) (SSH_SSHUploadPackClient, error)
// To forward 'git receive-pack' to Gitaly for SSH sessions
SSHReceivePack(ctx context.Context, opts ...grpc.CallOption) (SSH_SSHReceivePackClient, error)
}
type sSHClient struct {
cc *grpc.ClientConn
}
func NewSSHClient(cc *grpc.ClientConn) SSHClient {
return &sSHClient{cc}
}
func (c *sSHClient) SSHUploadPack(ctx context.Context, opts ...grpc.CallOption) (SSH_SSHUploadPackClient, error) {
stream, err := grpc.NewClientStream(ctx, &_SSH_serviceDesc.Streams[0], c.cc, "/gitaly.SSH/SSHUploadPack", opts...)
if err != nil {
return nil, err
}
x := &sSHSSHUploadPackClient{stream}
return x, nil
}
type SSH_SSHUploadPackClient interface {
Send(*SSHUploadPackRequest) error
Recv() (*SSHUploadPackResponse, error)
grpc.ClientStream
}
type sSHSSHUploadPackClient struct {
grpc.ClientStream
}
func (x *sSHSSHUploadPackClient) Send(m *SSHUploadPackRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *sSHSSHUploadPackClient) Recv() (*SSHUploadPackResponse, error) {
m := new(SSHUploadPackResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *sSHClient) SSHReceivePack(ctx context.Context, opts ...grpc.CallOption) (SSH_SSHReceivePackClient, error) {
stream, err := grpc.NewClientStream(ctx, &_SSH_serviceDesc.Streams[1], c.cc, "/gitaly.SSH/SSHReceivePack", opts...)
if err != nil {
return nil, err
}
x := &sSHSSHReceivePackClient{stream}
return x, nil
}
type SSH_SSHReceivePackClient interface {
Send(*SSHReceivePackRequest) error
Recv() (*SSHReceivePackResponse, error)
grpc.ClientStream
}
type sSHSSHReceivePackClient struct {
grpc.ClientStream
}
func (x *sSHSSHReceivePackClient) Send(m *SSHReceivePackRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *sSHSSHReceivePackClient) Recv() (*SSHReceivePackResponse, error) {
m := new(SSHReceivePackResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for SSH service
type SSHServer interface {
// To forward 'git upload-pack' to Gitaly for SSH sessions
SSHUploadPack(SSH_SSHUploadPackServer) error
// To forward 'git receive-pack' to Gitaly for SSH sessions
SSHReceivePack(SSH_SSHReceivePackServer) error
}
func RegisterSSHServer(s *grpc.Server, srv SSHServer) {
s.RegisterService(&_SSH_serviceDesc, srv)
}
func _SSH_SSHUploadPack_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(SSHServer).SSHUploadPack(&sSHSSHUploadPackServer{stream})
}
type SSH_SSHUploadPackServer interface {
Send(*SSHUploadPackResponse) error
Recv() (*SSHUploadPackRequest, error)
grpc.ServerStream
}
type sSHSSHUploadPackServer struct {
grpc.ServerStream
}
func (x *sSHSSHUploadPackServer) Send(m *SSHUploadPackResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *sSHSSHUploadPackServer) Recv() (*SSHUploadPackRequest, error) {
m := new(SSHUploadPackRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func _SSH_SSHReceivePack_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(SSHServer).SSHReceivePack(&sSHSSHReceivePackServer{stream})
}
type SSH_SSHReceivePackServer interface {
Send(*SSHReceivePackResponse) error
Recv() (*SSHReceivePackRequest, error)
grpc.ServerStream
}
type sSHSSHReceivePackServer struct {
grpc.ServerStream
}
func (x *sSHSSHReceivePackServer) Send(m *SSHReceivePackResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *sSHSSHReceivePackServer) Recv() (*SSHReceivePackRequest, error) {
m := new(SSHReceivePackRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
var _SSH_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.SSH",
HandlerType: (*SSHServer)(nil),
Methods: []grpc.MethodDesc{},
Streams: []grpc.StreamDesc{
{
StreamName: "SSHUploadPack",
Handler: _SSH_SSHUploadPack_Handler,
ServerStreams: true,
ClientStreams: true,
},
{
StreamName: "SSHReceivePack",
Handler: _SSH_SSHReceivePack_Handler,
ServerStreams: true,
ClientStreams: true,
},
},
Metadata: "deprecated-services.proto",
}
func init() { proto.RegisterFile("deprecated-services.proto", fileDescriptor3) }
var fileDescriptor3 = []byte{
// 534 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x5d, 0x6e, 0xd3, 0x40,
0x10, 0x80, 0x31, 0x41, 0x91, 0x32, 0xa1, 0x0d, 0x6c, 0x85, 0x68, 0x0c, 0x4d, 0xda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x92,
0xce, 0x64, 0x32, 0x66, 0xef, 0x81, 0x9d, 0x44, 0x42, 0xba, 0x28, 0xd4, 0x74, 0x19, 0x4a, 0x3e,
0x1b, 0x73, 0xff, 0x3b, 0x7b, 0x48, 0x2a, 0x62, 0x74, 0xc7, 0xee, 0x26, 0x30, 0x46, 0x70, 0x0a,
0x3b, 0x45, 0x3c, 0x5d, 0xa4, 0x9b, 0xd8, 0xa6, 0xb0, 0x9d, 0xac, 0xa4, 0xd1, 0xd6, 0x9e, 0xb9,
0xaa, 0x45, 0x9c, 0x74, 0xbd, 0x3a, 0x4c, 0xd2, 0x67, 0xd6, 0x91, 0xc5, 0x3e, 0x41, 0xc7, 0xd8,
0xf4, 0xd4, 0xdb, 0xab, 0x78, 0x05, 0x4c, 0x71, 0xbf, 0x96, 0x9b, 0xe6, 0xe1, 0x6f, 0x0b, 0x1a,
0x9e, 0xe7, 0x30, 0x17, 0xb6, 0x3c, 0xcf, 0x31, 0xfa, 0x7e, 0x4c, 0xf5, 0xa5, 0x30, 0xd9, 0xf7,
0x6a, 0x68, 0xa9, 0xeb, 0x29, 0x6c, 0x7b, 0x9e, 0x63, 0x36, 0x6d, 0x96, 0x55, 0xf4, 0xdc, 0xab,
0xc3, 0xa6, 0xf6, 0x5b, 0x33, 0xfd, 0x0e, 0xbf, 0xf8, 0x17, 0x00, 0x00, 0xff, 0xff, 0x79, 0x83,
0xb6, 0xb0, 0x02, 0x06, 0x00, 0x00,
}
......@@ -2,16 +2,17 @@
// source: blob.proto
/*
Package gitaly is a generated protocol buffer package.
Package gitalypb is a generated protocol buffer package.
It is generated from these files:
blob.proto
cleanup.proto
commit.proto
conflicts.proto
deprecated-services.proto
diff.proto
namespace.proto
notifications.proto
objectpool.proto
operations.proto
ref.proto
remote.proto
......@@ -36,6 +37,8 @@ It has these top-level messages:
GetNewLFSPointersResponse
GetAllLFSPointersRequest
GetAllLFSPointersResponse
ApplyBfgObjectMapRequest
ApplyBfgObjectMapResponse
CommitStatsRequest
CommitStatsResponse
CommitIsAncestorRequest
......@@ -65,6 +68,8 @@ It has these top-level messages:
RawBlameResponse
LastCommitForPathRequest
LastCommitForPathResponse
ListLastCommitsForTreeRequest
ListLastCommitsForTreeResponse
CommitsByMessageRequest
CommitsByMessageResponse
FilterShasWithSignaturesRequest
......@@ -106,6 +111,15 @@ It has these top-level messages:
RenameNamespaceResponse
PostReceiveRequest
PostReceiveResponse
ObjectPool
CreateObjectPoolRequest
CreateObjectPoolResponse
DeleteObjectPoolRequest
DeleteObjectPoolResponse
LinkRepositoryToObjectPoolRequest
LinkRepositoryToObjectPoolResponse
UnlinkRepositoryFromObjectPoolRequest
UnlinkRepositoryFromObjectPoolResponse
UserCreateBranchRequest
UserCreateBranchResponse
UserUpdateBranchRequest
......@@ -134,6 +148,10 @@ It has these top-level messages:
UserRebaseResponse
UserSquashRequest
UserSquashResponse
UserApplyPatchRequest
UserApplyPatchResponse
UserUpdateSubmoduleRequest
UserUpdateSubmoduleResponse
ListNewBlobsRequest
ListNewBlobsResponse
FindDefaultBranchNameRequest
......@@ -182,6 +200,8 @@ It has these top-level messages:
UpdateRemoteMirrorResponse
FindRemoteRepositoryRequest
FindRemoteRepositoryResponse
FindRemoteRootRefRequest
FindRemoteRootRefResponse
RepositoryExistsRequest
RepositoryExistsResponse
RepackIncrementalRequest
......@@ -271,6 +291,8 @@ It has these top-level messages:
SSHReceivePackResponse
SSHUploadArchiveRequest
SSHUploadArchiveResponse
ListDirectoriesRequest
ListDirectoriesResponse
DeleteAllRepositoriesRequest
DeleteAllRepositoriesResponse
WikiCommitDetails
......@@ -293,7 +315,7 @@ It has these top-level messages:
WikiGetFormattedDataRequest
WikiGetFormattedDataResponse
*/
package gitaly
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: cleanup.proto
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type ApplyBfgObjectMapRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// A raw object-map file as generated by BFG: https://rtyley.github.io/bfg-repo-cleaner
// Each line in the file has two object SHAs, space-separated - the original
// SHA of the object, and the SHA after BFG has rewritten the object.
ObjectMap []byte `protobuf:"bytes,2,opt,name=object_map,json=objectMap,proto3" json:"object_map,omitempty"`
}
func (m *ApplyBfgObjectMapRequest) Reset() { *m = ApplyBfgObjectMapRequest{} }
func (m *ApplyBfgObjectMapRequest) String() string { return proto.CompactTextString(m) }
func (*ApplyBfgObjectMapRequest) ProtoMessage() {}
func (*ApplyBfgObjectMapRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (m *ApplyBfgObjectMapRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *ApplyBfgObjectMapRequest) GetObjectMap() []byte {
if m != nil {
return m.ObjectMap
}
return nil
}
type ApplyBfgObjectMapResponse struct {
}
func (m *ApplyBfgObjectMapResponse) Reset() { *m = ApplyBfgObjectMapResponse{} }
func (m *ApplyBfgObjectMapResponse) String() string { return proto.CompactTextString(m) }
func (*ApplyBfgObjectMapResponse) ProtoMessage() {}
func (*ApplyBfgObjectMapResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
func init() {
proto.RegisterType((*ApplyBfgObjectMapRequest)(nil), "gitaly.ApplyBfgObjectMapRequest")
proto.RegisterType((*ApplyBfgObjectMapResponse)(nil), "gitaly.ApplyBfgObjectMapResponse")
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// 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
// Client API for CleanupService service
type CleanupServiceClient interface {
ApplyBfgObjectMap(ctx context.Context, opts ...grpc.CallOption) (CleanupService_ApplyBfgObjectMapClient, error)
}
type cleanupServiceClient struct {
cc *grpc.ClientConn
}
func NewCleanupServiceClient(cc *grpc.ClientConn) CleanupServiceClient {
return &cleanupServiceClient{cc}
}
func (c *cleanupServiceClient) ApplyBfgObjectMap(ctx context.Context, opts ...grpc.CallOption) (CleanupService_ApplyBfgObjectMapClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CleanupService_serviceDesc.Streams[0], c.cc, "/gitaly.CleanupService/ApplyBfgObjectMap", opts...)
if err != nil {
return nil, err
}
x := &cleanupServiceApplyBfgObjectMapClient{stream}
return x, nil
}
type CleanupService_ApplyBfgObjectMapClient interface {
Send(*ApplyBfgObjectMapRequest) error
CloseAndRecv() (*ApplyBfgObjectMapResponse, error)
grpc.ClientStream
}
type cleanupServiceApplyBfgObjectMapClient struct {
grpc.ClientStream
}
func (x *cleanupServiceApplyBfgObjectMapClient) Send(m *ApplyBfgObjectMapRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *cleanupServiceApplyBfgObjectMapClient) CloseAndRecv() (*ApplyBfgObjectMapResponse, error) {
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
m := new(ApplyBfgObjectMapResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for CleanupService service
type CleanupServiceServer interface {
ApplyBfgObjectMap(CleanupService_ApplyBfgObjectMapServer) error
}
func RegisterCleanupServiceServer(s *grpc.Server, srv CleanupServiceServer) {
s.RegisterService(&_CleanupService_serviceDesc, srv)
}
func _CleanupService_ApplyBfgObjectMap_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(CleanupServiceServer).ApplyBfgObjectMap(&cleanupServiceApplyBfgObjectMapServer{stream})
}
type CleanupService_ApplyBfgObjectMapServer interface {
SendAndClose(*ApplyBfgObjectMapResponse) error
Recv() (*ApplyBfgObjectMapRequest, error)
grpc.ServerStream
}
type cleanupServiceApplyBfgObjectMapServer struct {
grpc.ServerStream
}
func (x *cleanupServiceApplyBfgObjectMapServer) SendAndClose(m *ApplyBfgObjectMapResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *cleanupServiceApplyBfgObjectMapServer) Recv() (*ApplyBfgObjectMapRequest, error) {
m := new(ApplyBfgObjectMapRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
var _CleanupService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.CleanupService",
HandlerType: (*CleanupServiceServer)(nil),
Methods: []grpc.MethodDesc{},
Streams: []grpc.StreamDesc{
{
StreamName: "ApplyBfgObjectMap",
Handler: _CleanupService_ApplyBfgObjectMap_Handler,
ClientStreams: true,
},
},
Metadata: "cleanup.proto",
}
func init() { proto.RegisterFile("cleanup.proto", fileDescriptor1) }
var fileDescriptor1 = []byte{
// 195 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4d, 0xce, 0x49, 0x4d,
0xcc, 0x2b, 0x2d, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x4b, 0xcf, 0x2c, 0x49, 0xcc,
0xa9, 0x94, 0xe2, 0x29, 0xce, 0x48, 0x2c, 0x4a, 0x4d, 0x81, 0x88, 0x2a, 0xe5, 0x72, 0x49, 0x38,
0x16, 0x14, 0xe4, 0x54, 0x3a, 0xa5, 0xa5, 0xfb, 0x27, 0x65, 0xa5, 0x26, 0x97, 0xf8, 0x26, 0x16,
0x04, 0xa5, 0x16, 0x96, 0xa6, 0x16, 0x97, 0x08, 0x19, 0x71, 0x71, 0x15, 0xa5, 0x16, 0xe4, 0x17,
0x67, 0x96, 0xe4, 0x17, 0x55, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x1b, 0x09, 0xe9, 0x41, 0x8c,
0xd1, 0x0b, 0x82, 0xcb, 0x04, 0x21, 0xa9, 0x12, 0x92, 0xe5, 0xe2, 0xca, 0x07, 0x9b, 0x13, 0x9f,
0x9b, 0x58, 0x20, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, 0x13, 0xc4, 0x99, 0x0f, 0x33, 0x59, 0x49, 0x9a,
0x4b, 0x12, 0x8b, 0x75, 0xc5, 0x05, 0xf9, 0x79, 0xc5, 0xa9, 0x46, 0x79, 0x5c, 0x7c, 0xce, 0x10,
0x27, 0x07, 0xa7, 0x16, 0x95, 0x65, 0x26, 0xa7, 0x0a, 0xc5, 0x70, 0x09, 0x62, 0x28, 0x17, 0x52,
0x80, 0x39, 0x01, 0x97, 0xc3, 0xa5, 0x14, 0xf1, 0xa8, 0x80, 0xd8, 0xa5, 0xc4, 0xa0, 0xc1, 0x98,
0xc4, 0x06, 0x0e, 0x02, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9b, 0x2a, 0x94, 0xb4, 0x29,
0x01, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: commit.proto
package gitaly
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
......@@ -44,7 +44,7 @@ func (x TreeEntryResponse_ObjectType) String() string {
return proto.EnumName(TreeEntryResponse_ObjectType_name, int32(x))
}
func (TreeEntryResponse_ObjectType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor1, []int{5, 0}
return fileDescriptor2, []int{5, 0}
}
type TreeEntry_EntryType int32
......@@ -69,7 +69,7 @@ var TreeEntry_EntryType_value = map[string]int32{
func (x TreeEntry_EntryType) String() string {
return proto.EnumName(TreeEntry_EntryType_name, int32(x))
}
func (TreeEntry_EntryType) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{10, 0} }
func (TreeEntry_EntryType) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{10, 0} }
type FindAllCommitsRequest_Order int32
......@@ -94,7 +94,7 @@ func (x FindAllCommitsRequest_Order) String() string {
return proto.EnumName(FindAllCommitsRequest_Order_name, int32(x))
}
func (FindAllCommitsRequest_Order) EnumDescriptor() ([]byte, []int) {
return fileDescriptor1, []int{19, 0}
return fileDescriptor2, []int{19, 0}
}
type CommitStatsRequest struct {
......@@ -105,7 +105,7 @@ type CommitStatsRequest struct {
func (m *CommitStatsRequest) Reset() { *m = CommitStatsRequest{} }
func (m *CommitStatsRequest) String() string { return proto.CompactTextString(m) }
func (*CommitStatsRequest) ProtoMessage() {}
func (*CommitStatsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (*CommitStatsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
func (m *CommitStatsRequest) GetRepository() *Repository {
if m != nil {
......@@ -131,7 +131,7 @@ type CommitStatsResponse struct {
func (m *CommitStatsResponse) Reset() { *m = CommitStatsResponse{} }
func (m *CommitStatsResponse) String() string { return proto.CompactTextString(m) }
func (*CommitStatsResponse) ProtoMessage() {}
func (*CommitStatsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
func (*CommitStatsResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
func (m *CommitStatsResponse) GetOid() string {
if m != nil {
......@@ -163,7 +163,7 @@ type CommitIsAncestorRequest struct {
func (m *CommitIsAncestorRequest) Reset() { *m = CommitIsAncestorRequest{} }
func (m *CommitIsAncestorRequest) String() string { return proto.CompactTextString(m) }
func (*CommitIsAncestorRequest) ProtoMessage() {}
func (*CommitIsAncestorRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
func (*CommitIsAncestorRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
func (m *CommitIsAncestorRequest) GetRepository() *Repository {
if m != nil {
......@@ -193,7 +193,7 @@ type CommitIsAncestorResponse struct {
func (m *CommitIsAncestorResponse) Reset() { *m = CommitIsAncestorResponse{} }
func (m *CommitIsAncestorResponse) String() string { return proto.CompactTextString(m) }
func (*CommitIsAncestorResponse) ProtoMessage() {}
func (*CommitIsAncestorResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
func (*CommitIsAncestorResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} }
func (m *CommitIsAncestorResponse) GetValue() bool {
if m != nil {
......@@ -214,7 +214,7 @@ type TreeEntryRequest struct {
func (m *TreeEntryRequest) Reset() { *m = TreeEntryRequest{} }
func (m *TreeEntryRequest) String() string { return proto.CompactTextString(m) }
func (*TreeEntryRequest) ProtoMessage() {}
func (*TreeEntryRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} }
func (*TreeEntryRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{4} }
func (m *TreeEntryRequest) GetRepository() *Repository {
if m != nil {
......@@ -258,7 +258,7 @@ type TreeEntryResponse struct {
func (m *TreeEntryResponse) Reset() { *m = TreeEntryResponse{} }
func (m *TreeEntryResponse) String() string { return proto.CompactTextString(m) }
func (*TreeEntryResponse) ProtoMessage() {}
func (*TreeEntryResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{5} }
func (*TreeEntryResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} }
func (m *TreeEntryResponse) GetType() TreeEntryResponse_ObjectType {
if m != nil {
......@@ -304,7 +304,7 @@ type CommitsBetweenRequest struct {
func (m *CommitsBetweenRequest) Reset() { *m = CommitsBetweenRequest{} }
func (m *CommitsBetweenRequest) String() string { return proto.CompactTextString(m) }
func (*CommitsBetweenRequest) ProtoMessage() {}
func (*CommitsBetweenRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{6} }
func (*CommitsBetweenRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{6} }
func (m *CommitsBetweenRequest) GetRepository() *Repository {
if m != nil {
......@@ -334,7 +334,7 @@ type CommitsBetweenResponse struct {
func (m *CommitsBetweenResponse) Reset() { *m = CommitsBetweenResponse{} }
func (m *CommitsBetweenResponse) String() string { return proto.CompactTextString(m) }
func (*CommitsBetweenResponse) ProtoMessage() {}
func (*CommitsBetweenResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{7} }
func (*CommitsBetweenResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{7} }
func (m *CommitsBetweenResponse) GetCommits() []*GitCommit {
if m != nil {
......@@ -357,7 +357,7 @@ type CountCommitsRequest struct {
func (m *CountCommitsRequest) Reset() { *m = CountCommitsRequest{} }
func (m *CountCommitsRequest) String() string { return proto.CompactTextString(m) }
func (*CountCommitsRequest) ProtoMessage() {}
func (*CountCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{8} }
func (*CountCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{8} }
func (m *CountCommitsRequest) GetRepository() *Repository {
if m != nil {
......@@ -415,7 +415,7 @@ type CountCommitsResponse struct {
func (m *CountCommitsResponse) Reset() { *m = CountCommitsResponse{} }
func (m *CountCommitsResponse) String() string { return proto.CompactTextString(m) }
func (*CountCommitsResponse) ProtoMessage() {}
func (*CountCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{9} }
func (*CountCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{9} }
func (m *CountCommitsResponse) GetCount() int32 {
if m != nil {
......@@ -443,7 +443,7 @@ type TreeEntry struct {
func (m *TreeEntry) Reset() { *m = TreeEntry{} }
func (m *TreeEntry) String() string { return proto.CompactTextString(m) }
func (*TreeEntry) ProtoMessage() {}
func (*TreeEntry) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{10} }
func (*TreeEntry) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{10} }
func (m *TreeEntry) GetOid() string {
if m != nil {
......@@ -504,7 +504,7 @@ type GetTreeEntriesRequest struct {
func (m *GetTreeEntriesRequest) Reset() { *m = GetTreeEntriesRequest{} }
func (m *GetTreeEntriesRequest) String() string { return proto.CompactTextString(m) }
func (*GetTreeEntriesRequest) ProtoMessage() {}
func (*GetTreeEntriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{11} }
func (*GetTreeEntriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{11} }
func (m *GetTreeEntriesRequest) GetRepository() *Repository {
if m != nil {
......@@ -541,7 +541,7 @@ type GetTreeEntriesResponse struct {
func (m *GetTreeEntriesResponse) Reset() { *m = GetTreeEntriesResponse{} }
func (m *GetTreeEntriesResponse) String() string { return proto.CompactTextString(m) }
func (*GetTreeEntriesResponse) ProtoMessage() {}
func (*GetTreeEntriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{12} }
func (*GetTreeEntriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{12} }
func (m *GetTreeEntriesResponse) GetEntries() []*TreeEntry {
if m != nil {
......@@ -558,7 +558,7 @@ type ListFilesRequest struct {
func (m *ListFilesRequest) Reset() { *m = ListFilesRequest{} }
func (m *ListFilesRequest) String() string { return proto.CompactTextString(m) }
func (*ListFilesRequest) ProtoMessage() {}
func (*ListFilesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{13} }
func (*ListFilesRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{13} }
func (m *ListFilesRequest) GetRepository() *Repository {
if m != nil {
......@@ -583,7 +583,7 @@ type ListFilesResponse struct {
func (m *ListFilesResponse) Reset() { *m = ListFilesResponse{} }
func (m *ListFilesResponse) String() string { return proto.CompactTextString(m) }
func (*ListFilesResponse) ProtoMessage() {}
func (*ListFilesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{14} }
func (*ListFilesResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{14} }
func (m *ListFilesResponse) GetPaths() [][]byte {
if m != nil {
......@@ -600,7 +600,7 @@ type FindCommitRequest struct {
func (m *FindCommitRequest) Reset() { *m = FindCommitRequest{} }
func (m *FindCommitRequest) String() string { return proto.CompactTextString(m) }
func (*FindCommitRequest) ProtoMessage() {}
func (*FindCommitRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{15} }
func (*FindCommitRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{15} }
func (m *FindCommitRequest) GetRepository() *Repository {
if m != nil {
......@@ -624,7 +624,7 @@ type FindCommitResponse struct {
func (m *FindCommitResponse) Reset() { *m = FindCommitResponse{} }
func (m *FindCommitResponse) String() string { return proto.CompactTextString(m) }
func (*FindCommitResponse) ProtoMessage() {}
func (*FindCommitResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{16} }
func (*FindCommitResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{16} }
func (m *FindCommitResponse) GetCommit() *GitCommit {
if m != nil {
......@@ -641,7 +641,7 @@ type ListCommitsByOidRequest struct {
func (m *ListCommitsByOidRequest) Reset() { *m = ListCommitsByOidRequest{} }
func (m *ListCommitsByOidRequest) String() string { return proto.CompactTextString(m) }
func (*ListCommitsByOidRequest) ProtoMessage() {}
func (*ListCommitsByOidRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{17} }
func (*ListCommitsByOidRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{17} }
func (m *ListCommitsByOidRequest) GetRepository() *Repository {
if m != nil {
......@@ -664,7 +664,7 @@ type ListCommitsByOidResponse struct {
func (m *ListCommitsByOidResponse) Reset() { *m = ListCommitsByOidResponse{} }
func (m *ListCommitsByOidResponse) String() string { return proto.CompactTextString(m) }
func (*ListCommitsByOidResponse) ProtoMessage() {}
func (*ListCommitsByOidResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{18} }
func (*ListCommitsByOidResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{18} }
func (m *ListCommitsByOidResponse) GetCommits() []*GitCommit {
if m != nil {
......@@ -685,7 +685,7 @@ type FindAllCommitsRequest struct {
func (m *FindAllCommitsRequest) Reset() { *m = FindAllCommitsRequest{} }
func (m *FindAllCommitsRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllCommitsRequest) ProtoMessage() {}
func (*FindAllCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{19} }
func (*FindAllCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{19} }
func (m *FindAllCommitsRequest) GetRepository() *Repository {
if m != nil {
......@@ -730,7 +730,7 @@ type FindAllCommitsResponse struct {
func (m *FindAllCommitsResponse) Reset() { *m = FindAllCommitsResponse{} }
func (m *FindAllCommitsResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllCommitsResponse) ProtoMessage() {}
func (*FindAllCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{20} }
func (*FindAllCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{20} }
func (m *FindAllCommitsResponse) GetCommits() []*GitCommit {
if m != nil {
......@@ -757,7 +757,7 @@ type FindCommitsRequest struct {
func (m *FindCommitsRequest) Reset() { *m = FindCommitsRequest{} }
func (m *FindCommitsRequest) String() string { return proto.CompactTextString(m) }
func (*FindCommitsRequest) ProtoMessage() {}
func (*FindCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{21} }
func (*FindCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{21} }
func (m *FindCommitsRequest) GetRepository() *Repository {
if m != nil {
......@@ -844,7 +844,7 @@ type FindCommitsResponse struct {
func (m *FindCommitsResponse) Reset() { *m = FindCommitsResponse{} }
func (m *FindCommitsResponse) String() string { return proto.CompactTextString(m) }
func (*FindCommitsResponse) ProtoMessage() {}
func (*FindCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{22} }
func (*FindCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{22} }
func (m *FindCommitsResponse) GetCommits() []*GitCommit {
if m != nil {
......@@ -861,7 +861,7 @@ type CommitLanguagesRequest struct {
func (m *CommitLanguagesRequest) Reset() { *m = CommitLanguagesRequest{} }
func (m *CommitLanguagesRequest) String() string { return proto.CompactTextString(m) }
func (*CommitLanguagesRequest) ProtoMessage() {}
func (*CommitLanguagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{23} }
func (*CommitLanguagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{23} }
func (m *CommitLanguagesRequest) GetRepository() *Repository {
if m != nil {
......@@ -884,7 +884,7 @@ type CommitLanguagesResponse struct {
func (m *CommitLanguagesResponse) Reset() { *m = CommitLanguagesResponse{} }
func (m *CommitLanguagesResponse) String() string { return proto.CompactTextString(m) }
func (*CommitLanguagesResponse) ProtoMessage() {}
func (*CommitLanguagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{24} }
func (*CommitLanguagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{24} }
func (m *CommitLanguagesResponse) GetLanguages() []*CommitLanguagesResponse_Language {
if m != nil {
......@@ -903,7 +903,7 @@ func (m *CommitLanguagesResponse_Language) Reset() { *m = CommitLanguage
func (m *CommitLanguagesResponse_Language) String() string { return proto.CompactTextString(m) }
func (*CommitLanguagesResponse_Language) ProtoMessage() {}
func (*CommitLanguagesResponse_Language) Descriptor() ([]byte, []int) {
return fileDescriptor1, []int{24, 0}
return fileDescriptor2, []int{24, 0}
}
func (m *CommitLanguagesResponse_Language) GetName() string {
......@@ -936,7 +936,7 @@ type RawBlameRequest struct {
func (m *RawBlameRequest) Reset() { *m = RawBlameRequest{} }
func (m *RawBlameRequest) String() string { return proto.CompactTextString(m) }
func (*RawBlameRequest) ProtoMessage() {}
func (*RawBlameRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{25} }
func (*RawBlameRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{25} }
func (m *RawBlameRequest) GetRepository() *Repository {
if m != nil {
......@@ -966,7 +966,7 @@ type RawBlameResponse struct {
func (m *RawBlameResponse) Reset() { *m = RawBlameResponse{} }
func (m *RawBlameResponse) String() string { return proto.CompactTextString(m) }
func (*RawBlameResponse) ProtoMessage() {}
func (*RawBlameResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{26} }
func (*RawBlameResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{26} }
func (m *RawBlameResponse) GetData() []byte {
if m != nil {
......@@ -984,7 +984,7 @@ type LastCommitForPathRequest struct {
func (m *LastCommitForPathRequest) Reset() { *m = LastCommitForPathRequest{} }
func (m *LastCommitForPathRequest) String() string { return proto.CompactTextString(m) }
func (*LastCommitForPathRequest) ProtoMessage() {}
func (*LastCommitForPathRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{27} }
func (*LastCommitForPathRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{27} }
func (m *LastCommitForPathRequest) GetRepository() *Repository {
if m != nil {
......@@ -1015,7 +1015,7 @@ type LastCommitForPathResponse struct {
func (m *LastCommitForPathResponse) Reset() { *m = LastCommitForPathResponse{} }
func (m *LastCommitForPathResponse) String() string { return proto.CompactTextString(m) }
func (*LastCommitForPathResponse) ProtoMessage() {}
func (*LastCommitForPathResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{28} }
func (*LastCommitForPathResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{28} }
func (m *LastCommitForPathResponse) GetCommit() *GitCommit {
if m != nil {
......@@ -1024,6 +1024,101 @@ func (m *LastCommitForPathResponse) GetCommit() *GitCommit {
return nil
}
type ListLastCommitsForTreeRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Revision string `protobuf:"bytes,2,opt,name=revision" json:"revision,omitempty"`
Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
// limit == -1 will get the last commit for all paths
Limit int32 `protobuf:"varint,4,opt,name=limit" json:"limit,omitempty"`
Offset int32 `protobuf:"varint,5,opt,name=offset" json:"offset,omitempty"`
}
func (m *ListLastCommitsForTreeRequest) Reset() { *m = ListLastCommitsForTreeRequest{} }
func (m *ListLastCommitsForTreeRequest) String() string { return proto.CompactTextString(m) }
func (*ListLastCommitsForTreeRequest) ProtoMessage() {}
func (*ListLastCommitsForTreeRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{29} }
func (m *ListLastCommitsForTreeRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *ListLastCommitsForTreeRequest) GetRevision() string {
if m != nil {
return m.Revision
}
return ""
}
func (m *ListLastCommitsForTreeRequest) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
func (m *ListLastCommitsForTreeRequest) GetLimit() int32 {
if m != nil {
return m.Limit
}
return 0
}
func (m *ListLastCommitsForTreeRequest) GetOffset() int32 {
if m != nil {
return m.Offset
}
return 0
}
type ListLastCommitsForTreeResponse struct {
Commits []*ListLastCommitsForTreeResponse_CommitForTree `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"`
}
func (m *ListLastCommitsForTreeResponse) Reset() { *m = ListLastCommitsForTreeResponse{} }
func (m *ListLastCommitsForTreeResponse) String() string { return proto.CompactTextString(m) }
func (*ListLastCommitsForTreeResponse) ProtoMessage() {}
func (*ListLastCommitsForTreeResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{30} }
func (m *ListLastCommitsForTreeResponse) GetCommits() []*ListLastCommitsForTreeResponse_CommitForTree {
if m != nil {
return m.Commits
}
return nil
}
type ListLastCommitsForTreeResponse_CommitForTree struct {
Commit *GitCommit `protobuf:"bytes,2,opt,name=commit" json:"commit,omitempty"`
Path string `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"`
}
func (m *ListLastCommitsForTreeResponse_CommitForTree) Reset() {
*m = ListLastCommitsForTreeResponse_CommitForTree{}
}
func (m *ListLastCommitsForTreeResponse_CommitForTree) String() string {
return proto.CompactTextString(m)
}
func (*ListLastCommitsForTreeResponse_CommitForTree) ProtoMessage() {}
func (*ListLastCommitsForTreeResponse_CommitForTree) Descriptor() ([]byte, []int) {
return fileDescriptor2, []int{30, 0}
}
func (m *ListLastCommitsForTreeResponse_CommitForTree) GetCommit() *GitCommit {
if m != nil {
return m.Commit
}
return nil
}
func (m *ListLastCommitsForTreeResponse_CommitForTree) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
type CommitsByMessageRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
......@@ -1036,7 +1131,7 @@ type CommitsByMessageRequest struct {
func (m *CommitsByMessageRequest) Reset() { *m = CommitsByMessageRequest{} }
func (m *CommitsByMessageRequest) String() string { return proto.CompactTextString(m) }
func (*CommitsByMessageRequest) ProtoMessage() {}
func (*CommitsByMessageRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{29} }
func (*CommitsByMessageRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{31} }
func (m *CommitsByMessageRequest) GetRepository() *Repository {
if m != nil {
......@@ -1088,7 +1183,7 @@ type CommitsByMessageResponse struct {
func (m *CommitsByMessageResponse) Reset() { *m = CommitsByMessageResponse{} }
func (m *CommitsByMessageResponse) String() string { return proto.CompactTextString(m) }
func (*CommitsByMessageResponse) ProtoMessage() {}
func (*CommitsByMessageResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{30} }
func (*CommitsByMessageResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{32} }
func (m *CommitsByMessageResponse) GetCommits() []*GitCommit {
if m != nil {
......@@ -1106,7 +1201,7 @@ func (m *FilterShasWithSignaturesRequest) Reset() { *m = FilterShasWithS
func (m *FilterShasWithSignaturesRequest) String() string { return proto.CompactTextString(m) }
func (*FilterShasWithSignaturesRequest) ProtoMessage() {}
func (*FilterShasWithSignaturesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor1, []int{31}
return fileDescriptor2, []int{33}
}
func (m *FilterShasWithSignaturesRequest) GetRepository() *Repository {
......@@ -1131,7 +1226,7 @@ func (m *FilterShasWithSignaturesResponse) Reset() { *m = FilterShasWith
func (m *FilterShasWithSignaturesResponse) String() string { return proto.CompactTextString(m) }
func (*FilterShasWithSignaturesResponse) ProtoMessage() {}
func (*FilterShasWithSignaturesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor1, []int{32}
return fileDescriptor2, []int{34}
}
func (m *FilterShasWithSignaturesResponse) GetShas() [][]byte {
......@@ -1149,7 +1244,7 @@ type ExtractCommitSignatureRequest struct {
func (m *ExtractCommitSignatureRequest) Reset() { *m = ExtractCommitSignatureRequest{} }
func (m *ExtractCommitSignatureRequest) String() string { return proto.CompactTextString(m) }
func (*ExtractCommitSignatureRequest) ProtoMessage() {}
func (*ExtractCommitSignatureRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{33} }
func (*ExtractCommitSignatureRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{35} }
func (m *ExtractCommitSignatureRequest) GetRepository() *Repository {
if m != nil {
......@@ -1175,7 +1270,7 @@ type ExtractCommitSignatureResponse struct {
func (m *ExtractCommitSignatureResponse) Reset() { *m = ExtractCommitSignatureResponse{} }
func (m *ExtractCommitSignatureResponse) String() string { return proto.CompactTextString(m) }
func (*ExtractCommitSignatureResponse) ProtoMessage() {}
func (*ExtractCommitSignatureResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{34} }
func (*ExtractCommitSignatureResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{36} }
func (m *ExtractCommitSignatureResponse) GetSignature() []byte {
if m != nil {
......@@ -1199,7 +1294,7 @@ type GetCommitSignaturesRequest struct {
func (m *GetCommitSignaturesRequest) Reset() { *m = GetCommitSignaturesRequest{} }
func (m *GetCommitSignaturesRequest) String() string { return proto.CompactTextString(m) }
func (*GetCommitSignaturesRequest) ProtoMessage() {}
func (*GetCommitSignaturesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{35} }
func (*GetCommitSignaturesRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{37} }
func (m *GetCommitSignaturesRequest) GetRepository() *Repository {
if m != nil {
......@@ -1226,7 +1321,7 @@ type GetCommitSignaturesResponse struct {
func (m *GetCommitSignaturesResponse) Reset() { *m = GetCommitSignaturesResponse{} }
func (m *GetCommitSignaturesResponse) String() string { return proto.CompactTextString(m) }
func (*GetCommitSignaturesResponse) ProtoMessage() {}
func (*GetCommitSignaturesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{36} }
func (*GetCommitSignaturesResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{38} }
func (m *GetCommitSignaturesResponse) GetCommitId() string {
if m != nil {
......@@ -1257,7 +1352,7 @@ type GetCommitMessagesRequest struct {
func (m *GetCommitMessagesRequest) Reset() { *m = GetCommitMessagesRequest{} }
func (m *GetCommitMessagesRequest) String() string { return proto.CompactTextString(m) }
func (*GetCommitMessagesRequest) ProtoMessage() {}
func (*GetCommitMessagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{37} }
func (*GetCommitMessagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{39} }
func (m *GetCommitMessagesRequest) GetRepository() *Repository {
if m != nil {
......@@ -1282,7 +1377,7 @@ type GetCommitMessagesResponse struct {
func (m *GetCommitMessagesResponse) Reset() { *m = GetCommitMessagesResponse{} }
func (m *GetCommitMessagesResponse) String() string { return proto.CompactTextString(m) }
func (*GetCommitMessagesResponse) ProtoMessage() {}
func (*GetCommitMessagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{38} }
func (*GetCommitMessagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{40} }
func (m *GetCommitMessagesResponse) GetCommitId() string {
if m != nil {
......@@ -1329,6 +1424,9 @@ func init() {
proto.RegisterType((*RawBlameResponse)(nil), "gitaly.RawBlameResponse")
proto.RegisterType((*LastCommitForPathRequest)(nil), "gitaly.LastCommitForPathRequest")
proto.RegisterType((*LastCommitForPathResponse)(nil), "gitaly.LastCommitForPathResponse")
proto.RegisterType((*ListLastCommitsForTreeRequest)(nil), "gitaly.ListLastCommitsForTreeRequest")
proto.RegisterType((*ListLastCommitsForTreeResponse)(nil), "gitaly.ListLastCommitsForTreeResponse")
proto.RegisterType((*ListLastCommitsForTreeResponse_CommitForTree)(nil), "gitaly.ListLastCommitsForTreeResponse.CommitForTree")
proto.RegisterType((*CommitsByMessageRequest)(nil), "gitaly.CommitsByMessageRequest")
proto.RegisterType((*CommitsByMessageResponse)(nil), "gitaly.CommitsByMessageResponse")
proto.RegisterType((*FilterShasWithSignaturesRequest)(nil), "gitaly.FilterShasWithSignaturesRequest")
......@@ -1369,6 +1467,7 @@ type CommitServiceClient interface {
CommitLanguages(ctx context.Context, in *CommitLanguagesRequest, opts ...grpc.CallOption) (*CommitLanguagesResponse, error)
RawBlame(ctx context.Context, in *RawBlameRequest, opts ...grpc.CallOption) (CommitService_RawBlameClient, error)
LastCommitForPath(ctx context.Context, in *LastCommitForPathRequest, opts ...grpc.CallOption) (*LastCommitForPathResponse, error)
ListLastCommitsForTree(ctx context.Context, in *ListLastCommitsForTreeRequest, opts ...grpc.CallOption) (CommitService_ListLastCommitsForTreeClient, error)
CommitsByMessage(ctx context.Context, in *CommitsByMessageRequest, opts ...grpc.CallOption) (CommitService_CommitsByMessageClient, error)
ListCommitsByOid(ctx context.Context, in *ListCommitsByOidRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByOidClient, error)
FilterShasWithSignatures(ctx context.Context, opts ...grpc.CallOption) (CommitService_FilterShasWithSignaturesClient, error)
......@@ -1666,8 +1765,40 @@ func (c *commitServiceClient) LastCommitForPath(ctx context.Context, in *LastCom
return out, nil
}
func (c *commitServiceClient) ListLastCommitsForTree(ctx context.Context, in *ListLastCommitsForTreeRequest, opts ...grpc.CallOption) (CommitService_ListLastCommitsForTreeClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[7], c.cc, "/gitaly.CommitService/ListLastCommitsForTree", opts...)
if err != nil {
return nil, err
}
x := &commitServiceListLastCommitsForTreeClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type CommitService_ListLastCommitsForTreeClient interface {
Recv() (*ListLastCommitsForTreeResponse, error)
grpc.ClientStream
}
type commitServiceListLastCommitsForTreeClient struct {
grpc.ClientStream
}
func (x *commitServiceListLastCommitsForTreeClient) Recv() (*ListLastCommitsForTreeResponse, error) {
m := new(ListLastCommitsForTreeResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *commitServiceClient) CommitsByMessage(ctx context.Context, in *CommitsByMessageRequest, opts ...grpc.CallOption) (CommitService_CommitsByMessageClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[7], c.cc, "/gitaly.CommitService/CommitsByMessage", opts...)
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[8], c.cc, "/gitaly.CommitService/CommitsByMessage", opts...)
if err != nil {
return nil, err
}
......@@ -1699,7 +1830,7 @@ func (x *commitServiceCommitsByMessageClient) Recv() (*CommitsByMessageResponse,
}
func (c *commitServiceClient) ListCommitsByOid(ctx context.Context, in *ListCommitsByOidRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByOidClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[8], c.cc, "/gitaly.CommitService/ListCommitsByOid", opts...)
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[9], c.cc, "/gitaly.CommitService/ListCommitsByOid", opts...)
if err != nil {
return nil, err
}
......@@ -1731,7 +1862,7 @@ func (x *commitServiceListCommitsByOidClient) Recv() (*ListCommitsByOidResponse,
}
func (c *commitServiceClient) FilterShasWithSignatures(ctx context.Context, opts ...grpc.CallOption) (CommitService_FilterShasWithSignaturesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[9], c.cc, "/gitaly.CommitService/FilterShasWithSignatures", opts...)
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[10], c.cc, "/gitaly.CommitService/FilterShasWithSignatures", opts...)
if err != nil {
return nil, err
}
......@@ -1762,7 +1893,7 @@ func (x *commitServiceFilterShasWithSignaturesClient) Recv() (*FilterShasWithSig
}
func (c *commitServiceClient) ExtractCommitSignature(ctx context.Context, in *ExtractCommitSignatureRequest, opts ...grpc.CallOption) (CommitService_ExtractCommitSignatureClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[10], c.cc, "/gitaly.CommitService/ExtractCommitSignature", opts...)
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[11], c.cc, "/gitaly.CommitService/ExtractCommitSignature", opts...)
if err != nil {
return nil, err
}
......@@ -1794,7 +1925,7 @@ func (x *commitServiceExtractCommitSignatureClient) Recv() (*ExtractCommitSignat
}
func (c *commitServiceClient) GetCommitSignatures(ctx context.Context, in *GetCommitSignaturesRequest, opts ...grpc.CallOption) (CommitService_GetCommitSignaturesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[11], c.cc, "/gitaly.CommitService/GetCommitSignatures", opts...)
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[12], c.cc, "/gitaly.CommitService/GetCommitSignatures", opts...)
if err != nil {
return nil, err
}
......@@ -1826,7 +1957,7 @@ func (x *commitServiceGetCommitSignaturesClient) Recv() (*GetCommitSignaturesRes
}
func (c *commitServiceClient) GetCommitMessages(ctx context.Context, in *GetCommitMessagesRequest, opts ...grpc.CallOption) (CommitService_GetCommitMessagesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[12], c.cc, "/gitaly.CommitService/GetCommitMessages", opts...)
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[13], c.cc, "/gitaly.CommitService/GetCommitMessages", opts...)
if err != nil {
return nil, err
}
......@@ -1874,6 +2005,7 @@ type CommitServiceServer interface {
CommitLanguages(context.Context, *CommitLanguagesRequest) (*CommitLanguagesResponse, error)
RawBlame(*RawBlameRequest, CommitService_RawBlameServer) error
LastCommitForPath(context.Context, *LastCommitForPathRequest) (*LastCommitForPathResponse, error)
ListLastCommitsForTree(*ListLastCommitsForTreeRequest, CommitService_ListLastCommitsForTreeServer) error
CommitsByMessage(*CommitsByMessageRequest, CommitService_CommitsByMessageServer) error
ListCommitsByOid(*ListCommitsByOidRequest, CommitService_ListCommitsByOidServer) error
FilterShasWithSignatures(CommitService_FilterShasWithSignaturesServer) error
......@@ -2144,6 +2276,27 @@ func _CommitService_LastCommitForPath_Handler(srv interface{}, ctx context.Conte
return interceptor(ctx, in, info, handler)
}
func _CommitService_ListLastCommitsForTree_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(ListLastCommitsForTreeRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(CommitServiceServer).ListLastCommitsForTree(m, &commitServiceListLastCommitsForTreeServer{stream})
}
type CommitService_ListLastCommitsForTreeServer interface {
Send(*ListLastCommitsForTreeResponse) error
grpc.ServerStream
}
type commitServiceListLastCommitsForTreeServer struct {
grpc.ServerStream
}
func (x *commitServiceListLastCommitsForTreeServer) Send(m *ListLastCommitsForTreeResponse) error {
return x.ServerStream.SendMsg(m)
}
func _CommitService_CommitsByMessage_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(CommitsByMessageRequest)
if err := stream.RecvMsg(m); err != nil {
......@@ -2340,6 +2493,11 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{
Handler: _CommitService_RawBlame_Handler,
ServerStreams: true,
},
{
StreamName: "ListLastCommitsForTree",
Handler: _CommitService_ListLastCommitsForTree_Handler,
ServerStreams: true,
},
{
StreamName: "CommitsByMessage",
Handler: _CommitService_CommitsByMessage_Handler,
......@@ -2375,115 +2533,120 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{
Metadata: "commit.proto",
}
func init() { proto.RegisterFile("commit.proto", fileDescriptor1) }
var fileDescriptor1 = []byte{
// 1697 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xdd, 0x6e, 0xdb, 0x46,
0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a, 0xdd, 0x7e, 0x92, 0xe7,
0x3d, 0xd9, 0xbf, 0xfe, 0x0a, 0x00, 0x00, 0xff, 0xff, 0xb7, 0xe0, 0x5d, 0x22, 0x19, 0x19, 0x00,
0x00,
func init() { proto.RegisterFile("commit.proto", fileDescriptor2) }
var fileDescriptor2 = []byte{
// 1786 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x4b, 0x6f, 0xe3, 0xc8,
0x11, 0x36, 0xf5, 0xb2, 0x58, 0xd2, 0x7a, 0xe5, 0x9e, 0x17, 0x4d, 0xcf, 0x8c, 0xbd, 0xbd, 0xd9,
0x8d, 0x17, 0x1b, 0x68, 0x0c, 0xe5, 0x81, 0xe4, 0x14, 0xd8, 0x3b, 0xb2, 0xe3, 0x89, 0x3d, 0x5a,
0xd0, 0x02, 0x06, 0x09, 0x02, 0x08, 0xb4, 0xd8, 0x92, 0x18, 0x53, 0xa2, 0x96, 0x6c, 0xd9, 0x56,
0x0e, 0xb9, 0x07, 0x08, 0x72, 0xcf, 0x8f, 0xc8, 0x21, 0x3f, 0x21, 0x97, 0xfc, 0x80, 0xdc, 0xf2,
0x57, 0x16, 0x39, 0x04, 0xfd, 0x20, 0x9b, 0x14, 0x29, 0x7b, 0xc6, 0x5e, 0xcd, 0x85, 0x60, 0x57,
0x77, 0x57, 0x7d, 0x55, 0x5d, 0xaf, 0x6e, 0xa8, 0xf7, 0xfd, 0xf1, 0xd8, 0xa5, 0xcd, 0x69, 0xe0,
0x53, 0x1f, 0x55, 0x86, 0x2e, 0xb5, 0xbd, 0xb9, 0x59, 0x0f, 0x47, 0x76, 0x40, 0x1c, 0x41, 0x35,
0x77, 0x86, 0xbe, 0x3f, 0xf4, 0xc8, 0x2b, 0x3e, 0xba, 0x98, 0x0d, 0x5e, 0x51, 0x77, 0x4c, 0x42,
0x6a, 0x8f, 0xa7, 0x62, 0x01, 0x76, 0x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xa9, 0x69, 0x64, 0x27, 0x12, 0xc0, 0x7e, 0x0f, 0x9b, 0x99, 0x7e, 0x0d, 0xc5, 0x61,
0xb8, 0xac, 0x95, 0x34, 0x3f, 0xbb, 0x65, 0x45, 0x0c, 0xef, 0x12, 0x9e, 0xe6, 0x77, 0x35, 0xe8,
0x8b, 0xbb, 0xba, 0x1e, 0x21, 0xe5, 0xcb, 0xf7, 0x6b, 0x8e, 0xb8, 0x22, 0xbf, 0x8b, 0xf2, 0x8d,
0xaa, 0xf7, 0x8b, 0xf9, 0x26, 0xd3, 0xcc, 0x2c, 0xe6, 0x9b, 0x6c, 0xab, 0x10, 0xb1, 0x5e, 0x7c,
0x5c, 0x50, 0xac, 0x97, 0xbc, 0x6b, 0x28, 0xd6, 0xcb, 0xde, 0x25, 0x38, 0xeb, 0x10, 0x8c, 0x65,
0x15, 0x1f, 0xfd, 0x58, 0x39, 0xd5, 0xad, 0xed, 0x87, 0xb9, 0x77, 0xf7, 0xc2, 0x48, 0xe4, 0x9e,
0xb6, 0xaf, 0xb1, 0x73, 0xc9, 0x2f, 0xde, 0xea, 0x5c, 0x6e, 0x6d, 0x27, 0xd4, 0xb9, 0xdc, 0xde,
0x03, 0x70, 0x0d, 0x2f, 0xe0, 0x51, 0x4e, 0x5d, 0x45, 0x38, 0x91, 0xac, 0x96, 0x54, 0x79, 0xf3,
0xf3, 0x5b, 0xd7, 0x24, 0x64, 0xfc, 0x01, 0x36, 0x33, 0x15, 0x4d, 0x39, 0xf1, 0xb2, 0xda, 0xaa,
0x9c, 0x78, 0x69, 0x39, 0x64, 0xdc, 0x2f, 0x2a, 0xfc, 0xf6, 0xfd, 0xd3, 0xff, 0x07, 0x00, 0x00,
0xff, 0xff, 0xd1, 0xee, 0x8b, 0xf5, 0x03, 0x1b, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: conflicts.proto
package gitaly
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
......@@ -26,7 +26,7 @@ type ListConflictFilesRequest struct {
func (m *ListConflictFilesRequest) Reset() { *m = ListConflictFilesRequest{} }
func (m *ListConflictFilesRequest) String() string { return proto.CompactTextString(m) }
func (*ListConflictFilesRequest) ProtoMessage() {}
func (*ListConflictFilesRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
func (*ListConflictFilesRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
func (m *ListConflictFilesRequest) GetRepository() *Repository {
if m != nil {
......@@ -60,7 +60,7 @@ type ConflictFileHeader struct {
func (m *ConflictFileHeader) Reset() { *m = ConflictFileHeader{} }
func (m *ConflictFileHeader) String() string { return proto.CompactTextString(m) }
func (*ConflictFileHeader) ProtoMessage() {}
func (*ConflictFileHeader) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
func (*ConflictFileHeader) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }
func (m *ConflictFileHeader) GetRepository() *Repository {
if m != nil {
......@@ -107,7 +107,7 @@ type ConflictFile struct {
func (m *ConflictFile) Reset() { *m = ConflictFile{} }
func (m *ConflictFile) String() string { return proto.CompactTextString(m) }
func (*ConflictFile) ProtoMessage() {}
func (*ConflictFile) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
func (*ConflictFile) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{2} }
type isConflictFile_ConflictFilePayload interface{ isConflictFile_ConflictFilePayload() }
......@@ -219,7 +219,7 @@ type ListConflictFilesResponse struct {
func (m *ListConflictFilesResponse) Reset() { *m = ListConflictFilesResponse{} }
func (m *ListConflictFilesResponse) String() string { return proto.CompactTextString(m) }
func (*ListConflictFilesResponse) ProtoMessage() {}
func (*ListConflictFilesResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} }
func (*ListConflictFilesResponse) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{3} }
func (m *ListConflictFilesResponse) GetFiles() []*ConflictFile {
if m != nil {
......@@ -242,7 +242,7 @@ type ResolveConflictsRequestHeader struct {
func (m *ResolveConflictsRequestHeader) Reset() { *m = ResolveConflictsRequestHeader{} }
func (m *ResolveConflictsRequestHeader) String() string { return proto.CompactTextString(m) }
func (*ResolveConflictsRequestHeader) ProtoMessage() {}
func (*ResolveConflictsRequestHeader) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{4} }
func (*ResolveConflictsRequestHeader) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{4} }
func (m *ResolveConflictsRequestHeader) GetRepository() *Repository {
if m != nil {
......@@ -310,7 +310,7 @@ type ResolveConflictsRequest struct {
func (m *ResolveConflictsRequest) Reset() { *m = ResolveConflictsRequest{} }
func (m *ResolveConflictsRequest) String() string { return proto.CompactTextString(m) }
func (*ResolveConflictsRequest) ProtoMessage() {}
func (*ResolveConflictsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} }
func (*ResolveConflictsRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{5} }
type isResolveConflictsRequest_ResolveConflictsRequestPayload interface{ isResolveConflictsRequest_ResolveConflictsRequestPayload() }
......@@ -422,7 +422,7 @@ type ResolveConflictsResponse struct {
func (m *ResolveConflictsResponse) Reset() { *m = ResolveConflictsResponse{} }
func (m *ResolveConflictsResponse) String() string { return proto.CompactTextString(m) }
func (*ResolveConflictsResponse) ProtoMessage() {}
func (*ResolveConflictsResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{6} }
func (*ResolveConflictsResponse) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{6} }
func (m *ResolveConflictsResponse) GetResolutionError() string {
if m != nil {
......@@ -607,9 +607,9 @@ var _ConflictsService_serviceDesc = grpc.ServiceDesc{
Metadata: "conflicts.proto",
}
func init() { proto.RegisterFile("conflicts.proto", fileDescriptor2) }
func init() { proto.RegisterFile("conflicts.proto", fileDescriptor3) }
var fileDescriptor2 = []byte{
var fileDescriptor3 = []byte{
// 575 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0xd1, 0x6a, 0x13, 0x41,
0x14, 0x86, 0xbb, 0x6d, 0x93, 0x34, 0xa7, 0xdb, 0x34, 0x1d, 0x94, 0x6e, 0x03, 0xa1, 0xdb, 0xad,
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: diff.proto
package gitaly
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
......@@ -25,12 +25,18 @@ type CommitDiffRequest struct {
Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"`
CollapseDiffs bool `protobuf:"varint,6,opt,name=collapse_diffs,json=collapseDiffs" json:"collapse_diffs,omitempty"`
EnforceLimits bool `protobuf:"varint,7,opt,name=enforce_limits,json=enforceLimits" json:"enforce_limits,omitempty"`
MaxFiles int32 `protobuf:"varint,8,opt,name=max_files,json=maxFiles" json:"max_files,omitempty"`
MaxLines int32 `protobuf:"varint,9,opt,name=max_lines,json=maxLines" json:"max_lines,omitempty"`
MaxBytes int32 `protobuf:"varint,10,opt,name=max_bytes,json=maxBytes" json:"max_bytes,omitempty"`
SafeMaxFiles int32 `protobuf:"varint,11,opt,name=safe_max_files,json=safeMaxFiles" json:"safe_max_files,omitempty"`
SafeMaxLines int32 `protobuf:"varint,12,opt,name=safe_max_lines,json=safeMaxLines" json:"safe_max_lines,omitempty"`
SafeMaxBytes int32 `protobuf:"varint,13,opt,name=safe_max_bytes,json=safeMaxBytes" json:"safe_max_bytes,omitempty"`
// These limits are only enforced when enforce_limits == true.
MaxFiles int32 `protobuf:"varint,8,opt,name=max_files,json=maxFiles" json:"max_files,omitempty"`
MaxLines int32 `protobuf:"varint,9,opt,name=max_lines,json=maxLines" json:"max_lines,omitempty"`
MaxBytes int32 `protobuf:"varint,10,opt,name=max_bytes,json=maxBytes" json:"max_bytes,omitempty"`
// Limitation of a single diff patch,
// patches surpassing this limit are pruned by default.
// If this is 0 you will get back empty patches.
MaxPatchBytes int32 `protobuf:"varint,14,opt,name=max_patch_bytes,json=maxPatchBytes" json:"max_patch_bytes,omitempty"`
// These limits are only enforced if collapse_diffs == true.
SafeMaxFiles int32 `protobuf:"varint,11,opt,name=safe_max_files,json=safeMaxFiles" json:"safe_max_files,omitempty"`
SafeMaxLines int32 `protobuf:"varint,12,opt,name=safe_max_lines,json=safeMaxLines" json:"safe_max_lines,omitempty"`
SafeMaxBytes int32 `protobuf:"varint,13,opt,name=safe_max_bytes,json=safeMaxBytes" json:"safe_max_bytes,omitempty"`
}
func (m *CommitDiffRequest) Reset() { *m = CommitDiffRequest{} }
......@@ -108,6 +114,13 @@ func (m *CommitDiffRequest) GetMaxBytes() int32 {
return 0
}
func (m *CommitDiffRequest) GetMaxPatchBytes() int32 {
if m != nil {
return m.MaxPatchBytes
}
return 0
}
func (m *CommitDiffRequest) GetSafeMaxFiles() int32 {
if m != nil {
return m.SafeMaxFiles
......@@ -144,7 +157,12 @@ type CommitDiffResponse struct {
// Indicates the diff file at which we overflow according to the limitations sent,
// in which case only this attribute will be set.
OverflowMarker bool `protobuf:"varint,11,opt,name=overflow_marker,json=overflowMarker" json:"overflow_marker,omitempty"`
Collapsed bool `protobuf:"varint,12,opt,name=collapsed" json:"collapsed,omitempty"`
// Indicates the patch surpassed a "safe" limit and was therefore pruned, but
// the client may still request the full patch on a separate request.
Collapsed bool `protobuf:"varint,12,opt,name=collapsed" json:"collapsed,omitempty"`
// Indicates the patch was pruned since it surpassed a hard limit, and can
// therefore not be expanded.
TooLarge bool `protobuf:"varint,13,opt,name=too_large,json=tooLarge" json:"too_large,omitempty"`
}
func (m *CommitDiffResponse) Reset() { *m = CommitDiffResponse{} }
......@@ -229,6 +247,13 @@ func (m *CommitDiffResponse) GetCollapsed() bool {
return false
}
func (m *CommitDiffResponse) GetTooLarge() bool {
if m != nil {
return m.TooLarge
}
return false
}
type CommitDeltaRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId" json:"left_commit_id,omitempty"`
......@@ -981,57 +1006,59 @@ var _DiffService_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("diff.proto", fileDescriptor4) }
var fileDescriptor4 = []byte{
// 831 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xcd, 0x6e, 0x33, 0x35,
0x14, 0x65, 0x9a, 0x64, 0x32, 0xb9, 0x99, 0xa6, 0xad, 0x8b, 0xfa, 0x4d, 0xf3, 0xb1, 0x88, 0x46,
0xb4, 0x0d, 0x42, 0xaa, 0x50, 0xd8, 0xb0, 0x40, 0x48, 0xb4, 0x15, 0xa8, 0x55, 0x2b, 0xaa, 0x61,
0xc1, 0x82, 0xc5, 0xc8, 0x8d, 0x3d, 0x89, 0xc5, 0xcc, 0x38, 0xd8, 0xa6, 0x69, 0x5e, 0x03, 0x78,
0x07, 0x36, 0xec, 0x79, 0x18, 0x5e, 0x85, 0x05, 0xb2, 0x3d, 0x7f, 0x69, 0xa3, 0x6e, 0xfa, 0x2d,
0xb2, 0x8b, 0xcf, 0x39, 0x73, 0xef, 0xf1, 0xfd, 0x71, 0x0b, 0x40, 0x58, 0x92, 0x9c, 0x2f, 0x04,
0x57, 0x1c, 0xb9, 0x33, 0xa6, 0x70, 0xba, 0x1a, 0xfa, 0x72, 0x8e, 0x05, 0x25, 0x16, 0x0d, 0xff,
0x6b, 0xc1, 0xc1, 0x25, 0xcf, 0x32, 0xa6, 0xae, 0x58, 0x92, 0x44, 0xf4, 0xd7, 0xdf, 0xa8, 0x54,
0x68, 0x02, 0x20, 0xe8, 0x82, 0x4b, 0xa6, 0xb8, 0x58, 0x05, 0xce, 0xc8, 0x19, 0xf7, 0x27, 0xe8,
0xdc, 0x06, 0x38, 0x8f, 0x2a, 0x26, 0x6a, 0xa8, 0xd0, 0xa7, 0x30, 0x48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 0xae, 0x8d, 0x91, 0xc1, 0x5c,
0x5f, 0xc3, 0x6e, 0xb5, 0x07, 0xe4, 0xb8, 0x19, 0x82, 0x8d, 0x65, 0x9d, 0x3e, 0x7b, 0x80, 0x77,
0xbe, 0xff, 0x06, 0xfc, 0x7a, 0x14, 0x49, 0x57, 0xb8, 0xe1, 0x22, 0x7c, 0x48, 0x74, 0x52, 0x9c,
0x77, 0xc7, 0x21, 0x7c, 0xd8, 0x9a, 0x2a, 0xc9, 0xc9, 0x16, 0xa6, 0xcd, 0x72, 0x3d, 0xc4, 0x7f,
0x1e, 0xbf, 0xf8, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xf5, 0x8b, 0xe3, 0x60, 0x0a, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: namespace.proto
package gitaly
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: notifications.proto
package gitaly
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: objectpool.proto
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type ObjectPool struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func (m *ObjectPool) Reset() { *m = ObjectPool{} }
func (m *ObjectPool) String() string { return proto.CompactTextString(m) }
func (*ObjectPool) ProtoMessage() {}
func (*ObjectPool) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0} }
func (m *ObjectPool) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
// Creates an object pool from the repository. The client is responsible for
// joining this pool later with this repository.
type CreateObjectPoolRequest struct {
ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool" json:"object_pool,omitempty"`
Origin *Repository `protobuf:"bytes,2,opt,name=origin" json:"origin,omitempty"`
}
func (m *CreateObjectPoolRequest) Reset() { *m = CreateObjectPoolRequest{} }
func (m *CreateObjectPoolRequest) String() string { return proto.CompactTextString(m) }
func (*CreateObjectPoolRequest) ProtoMessage() {}
func (*CreateObjectPoolRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{1} }
func (m *CreateObjectPoolRequest) GetObjectPool() *ObjectPool {
if m != nil {
return m.ObjectPool
}
return nil
}
func (m *CreateObjectPoolRequest) GetOrigin() *Repository {
if m != nil {
return m.Origin
}
return nil
}
type CreateObjectPoolResponse struct {
}
func (m *CreateObjectPoolResponse) Reset() { *m = CreateObjectPoolResponse{} }
func (m *CreateObjectPoolResponse) String() string { return proto.CompactTextString(m) }
func (*CreateObjectPoolResponse) ProtoMessage() {}
func (*CreateObjectPoolResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{2} }
// Removes the directory from disk, caller is responsible for leaving the object
// pool before calling this RPC
type DeleteObjectPoolRequest struct {
ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool" json:"object_pool,omitempty"`
}
func (m *DeleteObjectPoolRequest) Reset() { *m = DeleteObjectPoolRequest{} }
func (m *DeleteObjectPoolRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteObjectPoolRequest) ProtoMessage() {}
func (*DeleteObjectPoolRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{3} }
func (m *DeleteObjectPoolRequest) GetObjectPool() *ObjectPool {
if m != nil {
return m.ObjectPool
}
return nil
}
type DeleteObjectPoolResponse struct {
}
func (m *DeleteObjectPoolResponse) Reset() { *m = DeleteObjectPoolResponse{} }
func (m *DeleteObjectPoolResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteObjectPoolResponse) ProtoMessage() {}
func (*DeleteObjectPoolResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{4} }
type LinkRepositoryToObjectPoolRequest struct {
ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool" json:"object_pool,omitempty"`
Repository *Repository `protobuf:"bytes,2,opt,name=repository" json:"repository,omitempty"`
}
func (m *LinkRepositoryToObjectPoolRequest) Reset() { *m = LinkRepositoryToObjectPoolRequest{} }
func (m *LinkRepositoryToObjectPoolRequest) String() string { return proto.CompactTextString(m) }
func (*LinkRepositoryToObjectPoolRequest) ProtoMessage() {}
func (*LinkRepositoryToObjectPoolRequest) Descriptor() ([]byte, []int) {
return fileDescriptor7, []int{5}
}
func (m *LinkRepositoryToObjectPoolRequest) GetObjectPool() *ObjectPool {
if m != nil {
return m.ObjectPool
}
return nil
}
func (m *LinkRepositoryToObjectPoolRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
type LinkRepositoryToObjectPoolResponse struct {
}
func (m *LinkRepositoryToObjectPoolResponse) Reset() { *m = LinkRepositoryToObjectPoolResponse{} }
func (m *LinkRepositoryToObjectPoolResponse) String() string { return proto.CompactTextString(m) }
func (*LinkRepositoryToObjectPoolResponse) ProtoMessage() {}
func (*LinkRepositoryToObjectPoolResponse) Descriptor() ([]byte, []int) {
return fileDescriptor7, []int{6}
}
// This RPC doesn't require the ObjectPool as it will remove the alternates file
// from the pool participant. The caller is responsible no data loss occurs.
type UnlinkRepositoryFromObjectPoolRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func (m *UnlinkRepositoryFromObjectPoolRequest) Reset() { *m = UnlinkRepositoryFromObjectPoolRequest{} }
func (m *UnlinkRepositoryFromObjectPoolRequest) String() string { return proto.CompactTextString(m) }
func (*UnlinkRepositoryFromObjectPoolRequest) ProtoMessage() {}
func (*UnlinkRepositoryFromObjectPoolRequest) Descriptor() ([]byte, []int) {
return fileDescriptor7, []int{7}
}
func (m *UnlinkRepositoryFromObjectPoolRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
type UnlinkRepositoryFromObjectPoolResponse struct {
}
func (m *UnlinkRepositoryFromObjectPoolResponse) Reset() {
*m = UnlinkRepositoryFromObjectPoolResponse{}
}
func (m *UnlinkRepositoryFromObjectPoolResponse) String() string { return proto.CompactTextString(m) }
func (*UnlinkRepositoryFromObjectPoolResponse) ProtoMessage() {}
func (*UnlinkRepositoryFromObjectPoolResponse) Descriptor() ([]byte, []int) {
return fileDescriptor7, []int{8}
}
func init() {
proto.RegisterType((*ObjectPool)(nil), "gitaly.ObjectPool")
proto.RegisterType((*CreateObjectPoolRequest)(nil), "gitaly.CreateObjectPoolRequest")
proto.RegisterType((*CreateObjectPoolResponse)(nil), "gitaly.CreateObjectPoolResponse")
proto.RegisterType((*DeleteObjectPoolRequest)(nil), "gitaly.DeleteObjectPoolRequest")
proto.RegisterType((*DeleteObjectPoolResponse)(nil), "gitaly.DeleteObjectPoolResponse")
proto.RegisterType((*LinkRepositoryToObjectPoolRequest)(nil), "gitaly.LinkRepositoryToObjectPoolRequest")
proto.RegisterType((*LinkRepositoryToObjectPoolResponse)(nil), "gitaly.LinkRepositoryToObjectPoolResponse")
proto.RegisterType((*UnlinkRepositoryFromObjectPoolRequest)(nil), "gitaly.UnlinkRepositoryFromObjectPoolRequest")
proto.RegisterType((*UnlinkRepositoryFromObjectPoolResponse)(nil), "gitaly.UnlinkRepositoryFromObjectPoolResponse")
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// 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
// Client API for ObjectPoolService service
type ObjectPoolServiceClient interface {
CreateObjectPool(ctx context.Context, in *CreateObjectPoolRequest, opts ...grpc.CallOption) (*CreateObjectPoolResponse, error)
DeleteObjectPool(ctx context.Context, in *DeleteObjectPoolRequest, opts ...grpc.CallOption) (*DeleteObjectPoolResponse, error)
// Repositories are assumed to be stored on the same disk
LinkRepositoryToObjectPool(ctx context.Context, in *LinkRepositoryToObjectPoolRequest, opts ...grpc.CallOption) (*LinkRepositoryToObjectPoolResponse, error)
UnlinkRepositoryFromObjectPool(ctx context.Context, in *UnlinkRepositoryFromObjectPoolRequest, opts ...grpc.CallOption) (*UnlinkRepositoryFromObjectPoolResponse, error)
}
type objectPoolServiceClient struct {
cc *grpc.ClientConn
}
func NewObjectPoolServiceClient(cc *grpc.ClientConn) ObjectPoolServiceClient {
return &objectPoolServiceClient{cc}
}
func (c *objectPoolServiceClient) CreateObjectPool(ctx context.Context, in *CreateObjectPoolRequest, opts ...grpc.CallOption) (*CreateObjectPoolResponse, error) {
out := new(CreateObjectPoolResponse)
err := grpc.Invoke(ctx, "/gitaly.ObjectPoolService/CreateObjectPool", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *objectPoolServiceClient) DeleteObjectPool(ctx context.Context, in *DeleteObjectPoolRequest, opts ...grpc.CallOption) (*DeleteObjectPoolResponse, error) {
out := new(DeleteObjectPoolResponse)
err := grpc.Invoke(ctx, "/gitaly.ObjectPoolService/DeleteObjectPool", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *objectPoolServiceClient) LinkRepositoryToObjectPool(ctx context.Context, in *LinkRepositoryToObjectPoolRequest, opts ...grpc.CallOption) (*LinkRepositoryToObjectPoolResponse, error) {
out := new(LinkRepositoryToObjectPoolResponse)
err := grpc.Invoke(ctx, "/gitaly.ObjectPoolService/LinkRepositoryToObjectPool", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *objectPoolServiceClient) UnlinkRepositoryFromObjectPool(ctx context.Context, in *UnlinkRepositoryFromObjectPoolRequest, opts ...grpc.CallOption) (*UnlinkRepositoryFromObjectPoolResponse, error) {
out := new(UnlinkRepositoryFromObjectPoolResponse)
err := grpc.Invoke(ctx, "/gitaly.ObjectPoolService/UnlinkRepositoryFromObjectPool", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for ObjectPoolService service
type ObjectPoolServiceServer interface {
CreateObjectPool(context.Context, *CreateObjectPoolRequest) (*CreateObjectPoolResponse, error)
DeleteObjectPool(context.Context, *DeleteObjectPoolRequest) (*DeleteObjectPoolResponse, error)
// Repositories are assumed to be stored on the same disk
LinkRepositoryToObjectPool(context.Context, *LinkRepositoryToObjectPoolRequest) (*LinkRepositoryToObjectPoolResponse, error)
UnlinkRepositoryFromObjectPool(context.Context, *UnlinkRepositoryFromObjectPoolRequest) (*UnlinkRepositoryFromObjectPoolResponse, error)
}
func RegisterObjectPoolServiceServer(s *grpc.Server, srv ObjectPoolServiceServer) {
s.RegisterService(&_ObjectPoolService_serviceDesc, srv)
}
func _ObjectPoolService_CreateObjectPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateObjectPoolRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ObjectPoolServiceServer).CreateObjectPool(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.ObjectPoolService/CreateObjectPool",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ObjectPoolServiceServer).CreateObjectPool(ctx, req.(*CreateObjectPoolRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ObjectPoolService_DeleteObjectPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteObjectPoolRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ObjectPoolServiceServer).DeleteObjectPool(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.ObjectPoolService/DeleteObjectPool",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ObjectPoolServiceServer).DeleteObjectPool(ctx, req.(*DeleteObjectPoolRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ObjectPoolService_LinkRepositoryToObjectPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(LinkRepositoryToObjectPoolRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ObjectPoolServiceServer).LinkRepositoryToObjectPool(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.ObjectPoolService/LinkRepositoryToObjectPool",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ObjectPoolServiceServer).LinkRepositoryToObjectPool(ctx, req.(*LinkRepositoryToObjectPoolRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ObjectPoolService_UnlinkRepositoryFromObjectPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UnlinkRepositoryFromObjectPoolRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ObjectPoolServiceServer).UnlinkRepositoryFromObjectPool(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.ObjectPoolService/UnlinkRepositoryFromObjectPool",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ObjectPoolServiceServer).UnlinkRepositoryFromObjectPool(ctx, req.(*UnlinkRepositoryFromObjectPoolRequest))
}
return interceptor(ctx, in, info, handler)
}
var _ObjectPoolService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.ObjectPoolService",
HandlerType: (*ObjectPoolServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateObjectPool",
Handler: _ObjectPoolService_CreateObjectPool_Handler,
},
{
MethodName: "DeleteObjectPool",
Handler: _ObjectPoolService_DeleteObjectPool_Handler,
},
{
MethodName: "LinkRepositoryToObjectPool",
Handler: _ObjectPoolService_LinkRepositoryToObjectPool_Handler,
},
{
MethodName: "UnlinkRepositoryFromObjectPool",
Handler: _ObjectPoolService_UnlinkRepositoryFromObjectPool_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "objectpool.proto",
}
func init() { proto.RegisterFile("objectpool.proto", fileDescriptor7) }
var fileDescriptor7 = []byte{
// 331 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0xc1, 0x4e, 0xc2, 0x40,
0x18, 0x84, 0x29, 0x26, 0x1c, 0x7e, 0x3c, 0xe0, 0x5e, 0x20, 0x7b, 0x50, 0x6c, 0xd4, 0x20, 0x89,
0x3d, 0x94, 0x17, 0x30, 0xd1, 0x78, 0x32, 0x6a, 0xaa, 0xc6, 0x83, 0x07, 0x53, 0xf0, 0x0f, 0xae,
0xd6, 0xfe, 0x75, 0xbb, 0x98, 0xe0, 0xcd, 0xbb, 0x0f, 0xe5, 0xa3, 0x99, 0xd2, 0x96, 0x85, 0x36,
0x0b, 0x8d, 0xe1, 0xba, 0x9d, 0xce, 0x7c, 0xdd, 0x99, 0x14, 0x5a, 0x34, 0x7c, 0xc5, 0x91, 0x8a,
0x88, 0x02, 0x27, 0x92, 0xa4, 0x88, 0x35, 0xc6, 0x42, 0xf9, 0xc1, 0x94, 0x6f, 0xc7, 0x2f, 0xbe,
0xc4, 0xe7, 0xf4, 0xd4, 0x3e, 0x05, 0xb8, 0x9e, 0x29, 0x6f, 0x88, 0x02, 0xe6, 0x02, 0x48, 0x8c,
0x28, 0x16, 0x8a, 0xe4, 0xb4, 0x63, 0x75, 0xad, 0x5e, 0xd3, 0x65, 0x4e, 0xfa, 0xa2, 0xe3, 0xcd,
0x9f, 0x78, 0x0b, 0x2a, 0xfb, 0x0b, 0xda, 0x67, 0x12, 0x7d, 0x85, 0xda, 0xc7, 0xc3, 0x8f, 0x09,
0xc6, 0x8a, 0x0d, 0xa0, 0x99, 0x62, 0x3c, 0x25, 0x1c, 0x45, 0xbf, 0x05, 0x3d, 0x90, 0x66, 0xe8,
0x43, 0x83, 0xa4, 0x18, 0x8b, 0xb0, 0x53, 0x37, 0xe6, 0x67, 0x0a, 0x9b, 0x43, 0xa7, 0x9c, 0x1d,
0x47, 0x14, 0xc6, 0x68, 0x5f, 0x41, 0xfb, 0x1c, 0x03, 0xdc, 0x14, 0x57, 0x92, 0x55, 0xf6, 0xcb,
0xb2, 0x7e, 0x2c, 0xd8, 0xbf, 0x14, 0xe1, 0x9b, 0x46, 0xbc, 0xa3, 0x0d, 0x5d, 0xc7, 0x72, 0x25,
0xf5, 0x4a, 0x95, 0x1c, 0x80, 0xbd, 0x8a, 0x26, 0x83, 0x7e, 0x84, 0xc3, 0xfb, 0x30, 0x58, 0xd2,
0x5d, 0x48, 0x7a, 0x2f, 0x73, 0xff, 0x67, 0x15, 0x3d, 0x38, 0x5a, 0x67, 0x9e, 0x62, 0xb8, 0xbf,
0x5b, 0xb0, 0xa3, 0x8f, 0x6f, 0x51, 0x7e, 0x8a, 0x11, 0xb2, 0x07, 0x68, 0x15, 0x9b, 0x65, 0x7b,
0x79, 0xa6, 0x61, 0x6f, 0xbc, 0x6b, 0x16, 0x64, 0xdf, 0x5c, 0x4b, 0x8c, 0x8b, 0x35, 0x6a, 0x63,
0xc3, 0x60, 0xb4, 0xb1, 0x71, 0x01, 0x35, 0x36, 0x01, 0x6e, 0xbe, 0x74, 0x76, 0x9c, 0x3b, 0xac,
0x9d, 0x09, 0xef, 0x57, 0x91, 0xce, 0x63, 0xbf, 0x2d, 0xd8, 0x5d, 0x7d, 0xd3, 0xec, 0x24, 0x37,
0xac, 0x54, 0x37, 0x77, 0xaa, 0xca, 0x73, 0x86, 0x61, 0x63, 0xf6, 0x2f, 0x19, 0xfc, 0x05, 0x00,
0x00, 0xff, 0xff, 0x17, 0xc1, 0x10, 0xd9, 0x75, 0x04, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: operations.proto
package gitaly
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
......@@ -25,6 +25,7 @@ const (
UserCommitFilesActionHeader_UPDATE UserCommitFilesActionHeader_ActionType = 2
UserCommitFilesActionHeader_MOVE UserCommitFilesActionHeader_ActionType = 3
UserCommitFilesActionHeader_DELETE UserCommitFilesActionHeader_ActionType = 4
UserCommitFilesActionHeader_CHMOD UserCommitFilesActionHeader_ActionType = 5
)
var UserCommitFilesActionHeader_ActionType_name = map[int32]string{
......@@ -33,6 +34,7 @@ var UserCommitFilesActionHeader_ActionType_name = map[int32]string{
2: "UPDATE",
3: "MOVE",
4: "DELETE",
5: "CHMOD",
}
var UserCommitFilesActionHeader_ActionType_value = map[string]int32{
"CREATE": 0,
......@@ -40,13 +42,14 @@ var UserCommitFilesActionHeader_ActionType_value = map[string]int32{
"UPDATE": 2,
"MOVE": 3,
"DELETE": 4,
"CHMOD": 5,
}
func (x UserCommitFilesActionHeader_ActionType) String() string {
return proto.EnumName(UserCommitFilesActionHeader_ActionType_name, int32(x))
}
func (UserCommitFilesActionHeader_ActionType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor7, []int{19, 0}
return fileDescriptor8, []int{19, 0}
}
type UserCreateBranchRequest struct {
......@@ -59,7 +62,7 @@ type UserCreateBranchRequest struct {
func (m *UserCreateBranchRequest) Reset() { *m = UserCreateBranchRequest{} }
func (m *UserCreateBranchRequest) String() string { return proto.CompactTextString(m) }
func (*UserCreateBranchRequest) ProtoMessage() {}
func (*UserCreateBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0} }
func (*UserCreateBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0} }
func (m *UserCreateBranchRequest) GetRepository() *Repository {
if m != nil {
......@@ -99,7 +102,7 @@ type UserCreateBranchResponse struct {
func (m *UserCreateBranchResponse) Reset() { *m = UserCreateBranchResponse{} }
func (m *UserCreateBranchResponse) String() string { return proto.CompactTextString(m) }
func (*UserCreateBranchResponse) ProtoMessage() {}
func (*UserCreateBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{1} }
func (*UserCreateBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{1} }
func (m *UserCreateBranchResponse) GetBranch() *Branch {
if m != nil {
......@@ -126,7 +129,7 @@ type UserUpdateBranchRequest struct {
func (m *UserUpdateBranchRequest) Reset() { *m = UserUpdateBranchRequest{} }
func (m *UserUpdateBranchRequest) String() string { return proto.CompactTextString(m) }
func (*UserUpdateBranchRequest) ProtoMessage() {}
func (*UserUpdateBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{2} }
func (*UserUpdateBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{2} }
func (m *UserUpdateBranchRequest) GetRepository() *Repository {
if m != nil {
......@@ -170,7 +173,7 @@ type UserUpdateBranchResponse struct {
func (m *UserUpdateBranchResponse) Reset() { *m = UserUpdateBranchResponse{} }
func (m *UserUpdateBranchResponse) String() string { return proto.CompactTextString(m) }
func (*UserUpdateBranchResponse) ProtoMessage() {}
func (*UserUpdateBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{3} }
func (*UserUpdateBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{3} }
func (m *UserUpdateBranchResponse) GetPreReceiveError() string {
if m != nil {
......@@ -188,7 +191,7 @@ type UserDeleteBranchRequest struct {
func (m *UserDeleteBranchRequest) Reset() { *m = UserDeleteBranchRequest{} }
func (m *UserDeleteBranchRequest) String() string { return proto.CompactTextString(m) }
func (*UserDeleteBranchRequest) ProtoMessage() {}
func (*UserDeleteBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{4} }
func (*UserDeleteBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{4} }
func (m *UserDeleteBranchRequest) GetRepository() *Repository {
if m != nil {
......@@ -218,7 +221,7 @@ type UserDeleteBranchResponse struct {
func (m *UserDeleteBranchResponse) Reset() { *m = UserDeleteBranchResponse{} }
func (m *UserDeleteBranchResponse) String() string { return proto.CompactTextString(m) }
func (*UserDeleteBranchResponse) ProtoMessage() {}
func (*UserDeleteBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{5} }
func (*UserDeleteBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{5} }
func (m *UserDeleteBranchResponse) GetPreReceiveError() string {
if m != nil {
......@@ -236,7 +239,7 @@ type UserDeleteTagRequest struct {
func (m *UserDeleteTagRequest) Reset() { *m = UserDeleteTagRequest{} }
func (m *UserDeleteTagRequest) String() string { return proto.CompactTextString(m) }
func (*UserDeleteTagRequest) ProtoMessage() {}
func (*UserDeleteTagRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{6} }
func (*UserDeleteTagRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{6} }
func (m *UserDeleteTagRequest) GetRepository() *Repository {
if m != nil {
......@@ -266,7 +269,7 @@ type UserDeleteTagResponse struct {
func (m *UserDeleteTagResponse) Reset() { *m = UserDeleteTagResponse{} }
func (m *UserDeleteTagResponse) String() string { return proto.CompactTextString(m) }
func (*UserDeleteTagResponse) ProtoMessage() {}
func (*UserDeleteTagResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{7} }
func (*UserDeleteTagResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{7} }
func (m *UserDeleteTagResponse) GetPreReceiveError() string {
if m != nil {
......@@ -286,7 +289,7 @@ type UserCreateTagRequest struct {
func (m *UserCreateTagRequest) Reset() { *m = UserCreateTagRequest{} }
func (m *UserCreateTagRequest) String() string { return proto.CompactTextString(m) }
func (*UserCreateTagRequest) ProtoMessage() {}
func (*UserCreateTagRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{8} }
func (*UserCreateTagRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{8} }
func (m *UserCreateTagRequest) GetRepository() *Repository {
if m != nil {
......@@ -332,7 +335,7 @@ type UserCreateTagResponse struct {
func (m *UserCreateTagResponse) Reset() { *m = UserCreateTagResponse{} }
func (m *UserCreateTagResponse) String() string { return proto.CompactTextString(m) }
func (*UserCreateTagResponse) ProtoMessage() {}
func (*UserCreateTagResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{9} }
func (*UserCreateTagResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{9} }
func (m *UserCreateTagResponse) GetTag() *Tag {
if m != nil {
......@@ -370,7 +373,7 @@ type UserMergeBranchRequest struct {
func (m *UserMergeBranchRequest) Reset() { *m = UserMergeBranchRequest{} }
func (m *UserMergeBranchRequest) String() string { return proto.CompactTextString(m) }
func (*UserMergeBranchRequest) ProtoMessage() {}
func (*UserMergeBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{10} }
func (*UserMergeBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{10} }
func (m *UserMergeBranchRequest) GetRepository() *Repository {
if m != nil {
......@@ -427,7 +430,7 @@ type UserMergeBranchResponse struct {
func (m *UserMergeBranchResponse) Reset() { *m = UserMergeBranchResponse{} }
func (m *UserMergeBranchResponse) String() string { return proto.CompactTextString(m) }
func (*UserMergeBranchResponse) ProtoMessage() {}
func (*UserMergeBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{11} }
func (*UserMergeBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{11} }
func (m *UserMergeBranchResponse) GetCommitId() string {
if m != nil {
......@@ -462,7 +465,7 @@ type OperationBranchUpdate struct {
func (m *OperationBranchUpdate) Reset() { *m = OperationBranchUpdate{} }
func (m *OperationBranchUpdate) String() string { return proto.CompactTextString(m) }
func (*OperationBranchUpdate) ProtoMessage() {}
func (*OperationBranchUpdate) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{12} }
func (*OperationBranchUpdate) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{12} }
func (m *OperationBranchUpdate) GetCommitId() string {
if m != nil {
......@@ -495,7 +498,7 @@ type UserFFBranchRequest struct {
func (m *UserFFBranchRequest) Reset() { *m = UserFFBranchRequest{} }
func (m *UserFFBranchRequest) String() string { return proto.CompactTextString(m) }
func (*UserFFBranchRequest) ProtoMessage() {}
func (*UserFFBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{13} }
func (*UserFFBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{13} }
func (m *UserFFBranchRequest) GetRepository() *Repository {
if m != nil {
......@@ -533,7 +536,7 @@ type UserFFBranchResponse struct {
func (m *UserFFBranchResponse) Reset() { *m = UserFFBranchResponse{} }
func (m *UserFFBranchResponse) String() string { return proto.CompactTextString(m) }
func (*UserFFBranchResponse) ProtoMessage() {}
func (*UserFFBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{14} }
func (*UserFFBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{14} }
func (m *UserFFBranchResponse) GetBranchUpdate() *OperationBranchUpdate {
if m != nil {
......@@ -562,7 +565,7 @@ type UserCherryPickRequest struct {
func (m *UserCherryPickRequest) Reset() { *m = UserCherryPickRequest{} }
func (m *UserCherryPickRequest) String() string { return proto.CompactTextString(m) }
func (*UserCherryPickRequest) ProtoMessage() {}
func (*UserCherryPickRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{15} }
func (*UserCherryPickRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{15} }
func (m *UserCherryPickRequest) GetRepository() *Repository {
if m != nil {
......@@ -623,7 +626,7 @@ type UserCherryPickResponse struct {
func (m *UserCherryPickResponse) Reset() { *m = UserCherryPickResponse{} }
func (m *UserCherryPickResponse) String() string { return proto.CompactTextString(m) }
func (*UserCherryPickResponse) ProtoMessage() {}
func (*UserCherryPickResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{16} }
func (*UserCherryPickResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{16} }
func (m *UserCherryPickResponse) GetBranchUpdate() *OperationBranchUpdate {
if m != nil {
......@@ -666,7 +669,7 @@ type UserRevertRequest struct {
func (m *UserRevertRequest) Reset() { *m = UserRevertRequest{} }
func (m *UserRevertRequest) String() string { return proto.CompactTextString(m) }
func (*UserRevertRequest) ProtoMessage() {}
func (*UserRevertRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{17} }
func (*UserRevertRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{17} }
func (m *UserRevertRequest) GetRepository() *Repository {
if m != nil {
......@@ -727,7 +730,7 @@ type UserRevertResponse struct {
func (m *UserRevertResponse) Reset() { *m = UserRevertResponse{} }
func (m *UserRevertResponse) String() string { return proto.CompactTextString(m) }
func (*UserRevertResponse) ProtoMessage() {}
func (*UserRevertResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{18} }
func (*UserRevertResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{18} }
func (m *UserRevertResponse) GetBranchUpdate() *OperationBranchUpdate {
if m != nil {
......@@ -758,16 +761,21 @@ func (m *UserRevertResponse) GetPreReceiveError() string {
}
type UserCommitFilesActionHeader struct {
Action UserCommitFilesActionHeader_ActionType `protobuf:"varint,1,opt,name=action,enum=gitaly.UserCommitFilesActionHeader_ActionType" json:"action,omitempty"`
FilePath []byte `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
PreviousPath []byte `protobuf:"bytes,3,opt,name=previous_path,json=previousPath,proto3" json:"previous_path,omitempty"`
Base64Content bool `protobuf:"varint,4,opt,name=base64_content,json=base64Content" json:"base64_content,omitempty"`
Action UserCommitFilesActionHeader_ActionType `protobuf:"varint,1,opt,name=action,enum=gitaly.UserCommitFilesActionHeader_ActionType" json:"action,omitempty"`
FilePath []byte `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
PreviousPath []byte `protobuf:"bytes,3,opt,name=previous_path,json=previousPath,proto3" json:"previous_path,omitempty"`
Base64Content bool `protobuf:"varint,4,opt,name=base64_content,json=base64Content" json:"base64_content,omitempty"`
ExecuteFilemode bool `protobuf:"varint,5,opt,name=execute_filemode,json=executeFilemode" json:"execute_filemode,omitempty"`
// Move actions that change the file path, but not its content, should set
// infer_content to true instead of populating the content field. Ignored for
// other action types.
InferContent bool `protobuf:"varint,6,opt,name=infer_content,json=inferContent" json:"infer_content,omitempty"`
}
func (m *UserCommitFilesActionHeader) Reset() { *m = UserCommitFilesActionHeader{} }
func (m *UserCommitFilesActionHeader) String() string { return proto.CompactTextString(m) }
func (*UserCommitFilesActionHeader) ProtoMessage() {}
func (*UserCommitFilesActionHeader) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{19} }
func (*UserCommitFilesActionHeader) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{19} }
func (m *UserCommitFilesActionHeader) GetAction() UserCommitFilesActionHeader_ActionType {
if m != nil {
......@@ -797,6 +805,20 @@ func (m *UserCommitFilesActionHeader) GetBase64Content() bool {
return false
}
func (m *UserCommitFilesActionHeader) GetExecuteFilemode() bool {
if m != nil {
return m.ExecuteFilemode
}
return false
}
func (m *UserCommitFilesActionHeader) GetInferContent() bool {
if m != nil {
return m.InferContent
}
return false
}
type UserCommitFilesAction struct {
// Types that are valid to be assigned to UserCommitFilesActionPayload:
// *UserCommitFilesAction_Header
......@@ -807,7 +829,7 @@ type UserCommitFilesAction struct {
func (m *UserCommitFilesAction) Reset() { *m = UserCommitFilesAction{} }
func (m *UserCommitFilesAction) String() string { return proto.CompactTextString(m) }
func (*UserCommitFilesAction) ProtoMessage() {}
func (*UserCommitFilesAction) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{20} }
func (*UserCommitFilesAction) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{20} }
type isUserCommitFilesAction_UserCommitFilesActionPayload interface{ isUserCommitFilesAction_UserCommitFilesActionPayload() }
......@@ -926,7 +948,7 @@ type UserCommitFilesRequestHeader struct {
func (m *UserCommitFilesRequestHeader) Reset() { *m = UserCommitFilesRequestHeader{} }
func (m *UserCommitFilesRequestHeader) String() string { return proto.CompactTextString(m) }
func (*UserCommitFilesRequestHeader) ProtoMessage() {}
func (*UserCommitFilesRequestHeader) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{21} }
func (*UserCommitFilesRequestHeader) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{21} }
func (m *UserCommitFilesRequestHeader) GetRepository() *Repository {
if m != nil {
......@@ -994,7 +1016,7 @@ type UserCommitFilesRequest struct {
func (m *UserCommitFilesRequest) Reset() { *m = UserCommitFilesRequest{} }
func (m *UserCommitFilesRequest) String() string { return proto.CompactTextString(m) }
func (*UserCommitFilesRequest) ProtoMessage() {}
func (*UserCommitFilesRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{22} }
func (*UserCommitFilesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{22} }
type isUserCommitFilesRequest_UserCommitFilesRequestPayload interface{ isUserCommitFilesRequest_UserCommitFilesRequestPayload() }
......@@ -1112,7 +1134,7 @@ type UserCommitFilesResponse struct {
func (m *UserCommitFilesResponse) Reset() { *m = UserCommitFilesResponse{} }
func (m *UserCommitFilesResponse) String() string { return proto.CompactTextString(m) }
func (*UserCommitFilesResponse) ProtoMessage() {}
func (*UserCommitFilesResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{23} }
func (*UserCommitFilesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{23} }
func (m *UserCommitFilesResponse) GetBranchUpdate() *OperationBranchUpdate {
if m != nil {
......@@ -1148,7 +1170,7 @@ type UserRebaseRequest struct {
func (m *UserRebaseRequest) Reset() { *m = UserRebaseRequest{} }
func (m *UserRebaseRequest) String() string { return proto.CompactTextString(m) }
func (*UserRebaseRequest) ProtoMessage() {}
func (*UserRebaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{24} }
func (*UserRebaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{24} }
func (m *UserRebaseRequest) GetRepository() *Repository {
if m != nil {
......@@ -1208,7 +1230,7 @@ type UserRebaseResponse struct {
func (m *UserRebaseResponse) Reset() { *m = UserRebaseResponse{} }
func (m *UserRebaseResponse) String() string { return proto.CompactTextString(m) }
func (*UserRebaseResponse) ProtoMessage() {}
func (*UserRebaseResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{25} }
func (*UserRebaseResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{25} }
func (m *UserRebaseResponse) GetRebaseSha() string {
if m != nil {
......@@ -1245,7 +1267,7 @@ type UserSquashRequest struct {
func (m *UserSquashRequest) Reset() { *m = UserSquashRequest{} }
func (m *UserSquashRequest) String() string { return proto.CompactTextString(m) }
func (*UserSquashRequest) ProtoMessage() {}
func (*UserSquashRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{26} }
func (*UserSquashRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{26} }
func (m *UserSquashRequest) GetRepository() *Repository {
if m != nil {
......@@ -1311,7 +1333,7 @@ type UserSquashResponse struct {
func (m *UserSquashResponse) Reset() { *m = UserSquashResponse{} }
func (m *UserSquashResponse) String() string { return proto.CompactTextString(m) }
func (*UserSquashResponse) ProtoMessage() {}
func (*UserSquashResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{27} }
func (*UserSquashResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{27} }
func (m *UserSquashResponse) GetSquashSha() string {
if m != nil {
......@@ -1327,6 +1349,259 @@ func (m *UserSquashResponse) GetGitError() string {
return ""
}
type UserApplyPatchRequest struct {
// Types that are valid to be assigned to UserApplyPatchRequestPayload:
// *UserApplyPatchRequest_Header_
// *UserApplyPatchRequest_Patches
UserApplyPatchRequestPayload isUserApplyPatchRequest_UserApplyPatchRequestPayload `protobuf_oneof:"user_apply_patch_request_payload"`
}
func (m *UserApplyPatchRequest) Reset() { *m = UserApplyPatchRequest{} }
func (m *UserApplyPatchRequest) String() string { return proto.CompactTextString(m) }
func (*UserApplyPatchRequest) ProtoMessage() {}
func (*UserApplyPatchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{28} }
type isUserApplyPatchRequest_UserApplyPatchRequestPayload interface{ isUserApplyPatchRequest_UserApplyPatchRequestPayload() }
type UserApplyPatchRequest_Header_ struct {
Header *UserApplyPatchRequest_Header `protobuf:"bytes,1,opt,name=header,oneof"`
}
type UserApplyPatchRequest_Patches struct {
Patches []byte `protobuf:"bytes,2,opt,name=patches,proto3,oneof"`
}
func (*UserApplyPatchRequest_Header_) isUserApplyPatchRequest_UserApplyPatchRequestPayload() {}
func (*UserApplyPatchRequest_Patches) isUserApplyPatchRequest_UserApplyPatchRequestPayload() {}
func (m *UserApplyPatchRequest) GetUserApplyPatchRequestPayload() isUserApplyPatchRequest_UserApplyPatchRequestPayload {
if m != nil {
return m.UserApplyPatchRequestPayload
}
return nil
}
func (m *UserApplyPatchRequest) GetHeader() *UserApplyPatchRequest_Header {
if x, ok := m.GetUserApplyPatchRequestPayload().(*UserApplyPatchRequest_Header_); ok {
return x.Header
}
return nil
}
func (m *UserApplyPatchRequest) GetPatches() []byte {
if x, ok := m.GetUserApplyPatchRequestPayload().(*UserApplyPatchRequest_Patches); ok {
return x.Patches
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*UserApplyPatchRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _UserApplyPatchRequest_OneofMarshaler, _UserApplyPatchRequest_OneofUnmarshaler, _UserApplyPatchRequest_OneofSizer, []interface{}{
(*UserApplyPatchRequest_Header_)(nil),
(*UserApplyPatchRequest_Patches)(nil),
}
}
func _UserApplyPatchRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*UserApplyPatchRequest)
// user_apply_patch_request_payload
switch x := m.UserApplyPatchRequestPayload.(type) {
case *UserApplyPatchRequest_Header_:
b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Header); err != nil {
return err
}
case *UserApplyPatchRequest_Patches:
b.EncodeVarint(2<<3 | proto.WireBytes)
b.EncodeRawBytes(x.Patches)
case nil:
default:
return fmt.Errorf("UserApplyPatchRequest.UserApplyPatchRequestPayload has unexpected type %T", x)
}
return nil
}
func _UserApplyPatchRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*UserApplyPatchRequest)
switch tag {
case 1: // user_apply_patch_request_payload.header
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(UserApplyPatchRequest_Header)
err := b.DecodeMessage(msg)
m.UserApplyPatchRequestPayload = &UserApplyPatchRequest_Header_{msg}
return true, err
case 2: // user_apply_patch_request_payload.patches
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeRawBytes(true)
m.UserApplyPatchRequestPayload = &UserApplyPatchRequest_Patches{x}
return true, err
default:
return false, nil
}
}
func _UserApplyPatchRequest_OneofSizer(msg proto.Message) (n int) {
m := msg.(*UserApplyPatchRequest)
// user_apply_patch_request_payload
switch x := m.UserApplyPatchRequestPayload.(type) {
case *UserApplyPatchRequest_Header_:
s := proto.Size(x.Header)
n += proto.SizeVarint(1<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *UserApplyPatchRequest_Patches:
n += proto.SizeVarint(2<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(len(x.Patches)))
n += len(x.Patches)
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
type UserApplyPatchRequest_Header struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
User *User `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
TargetBranch []byte `protobuf:"bytes,3,opt,name=target_branch,json=targetBranch,proto3" json:"target_branch,omitempty"`
}
func (m *UserApplyPatchRequest_Header) Reset() { *m = UserApplyPatchRequest_Header{} }
func (m *UserApplyPatchRequest_Header) String() string { return proto.CompactTextString(m) }
func (*UserApplyPatchRequest_Header) ProtoMessage() {}
func (*UserApplyPatchRequest_Header) Descriptor() ([]byte, []int) {
return fileDescriptor8, []int{28, 0}
}
func (m *UserApplyPatchRequest_Header) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *UserApplyPatchRequest_Header) GetUser() *User {
if m != nil {
return m.User
}
return nil
}
func (m *UserApplyPatchRequest_Header) GetTargetBranch() []byte {
if m != nil {
return m.TargetBranch
}
return nil
}
type UserApplyPatchResponse struct {
BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate" json:"branch_update,omitempty"`
}
func (m *UserApplyPatchResponse) Reset() { *m = UserApplyPatchResponse{} }
func (m *UserApplyPatchResponse) String() string { return proto.CompactTextString(m) }
func (*UserApplyPatchResponse) ProtoMessage() {}
func (*UserApplyPatchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{29} }
func (m *UserApplyPatchResponse) GetBranchUpdate() *OperationBranchUpdate {
if m != nil {
return m.BranchUpdate
}
return nil
}
type UserUpdateSubmoduleRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
User *User `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
CommitSha string `protobuf:"bytes,3,opt,name=commit_sha,json=commitSha" json:"commit_sha,omitempty"`
Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
Submodule []byte `protobuf:"bytes,5,opt,name=submodule,proto3" json:"submodule,omitempty"`
CommitMessage []byte `protobuf:"bytes,6,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"`
}
func (m *UserUpdateSubmoduleRequest) Reset() { *m = UserUpdateSubmoduleRequest{} }
func (m *UserUpdateSubmoduleRequest) String() string { return proto.CompactTextString(m) }
func (*UserUpdateSubmoduleRequest) ProtoMessage() {}
func (*UserUpdateSubmoduleRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{30} }
func (m *UserUpdateSubmoduleRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *UserUpdateSubmoduleRequest) GetUser() *User {
if m != nil {
return m.User
}
return nil
}
func (m *UserUpdateSubmoduleRequest) GetCommitSha() string {
if m != nil {
return m.CommitSha
}
return ""
}
func (m *UserUpdateSubmoduleRequest) GetBranch() []byte {
if m != nil {
return m.Branch
}
return nil
}
func (m *UserUpdateSubmoduleRequest) GetSubmodule() []byte {
if m != nil {
return m.Submodule
}
return nil
}
func (m *UserUpdateSubmoduleRequest) GetCommitMessage() []byte {
if m != nil {
return m.CommitMessage
}
return nil
}
type UserUpdateSubmoduleResponse struct {
BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate" json:"branch_update,omitempty"`
PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError" json:"pre_receive_error,omitempty"`
CommitError string `protobuf:"bytes,4,opt,name=commit_error,json=commitError" json:"commit_error,omitempty"`
}
func (m *UserUpdateSubmoduleResponse) Reset() { *m = UserUpdateSubmoduleResponse{} }
func (m *UserUpdateSubmoduleResponse) String() string { return proto.CompactTextString(m) }
func (*UserUpdateSubmoduleResponse) ProtoMessage() {}
func (*UserUpdateSubmoduleResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{31} }
func (m *UserUpdateSubmoduleResponse) GetBranchUpdate() *OperationBranchUpdate {
if m != nil {
return m.BranchUpdate
}
return nil
}
func (m *UserUpdateSubmoduleResponse) GetPreReceiveError() string {
if m != nil {
return m.PreReceiveError
}
return ""
}
func (m *UserUpdateSubmoduleResponse) GetCommitError() string {
if m != nil {
return m.CommitError
}
return ""
}
func init() {
proto.RegisterType((*UserCreateBranchRequest)(nil), "gitaly.UserCreateBranchRequest")
proto.RegisterType((*UserCreateBranchResponse)(nil), "gitaly.UserCreateBranchResponse")
......@@ -1356,6 +1631,11 @@ func init() {
proto.RegisterType((*UserRebaseResponse)(nil), "gitaly.UserRebaseResponse")
proto.RegisterType((*UserSquashRequest)(nil), "gitaly.UserSquashRequest")
proto.RegisterType((*UserSquashResponse)(nil), "gitaly.UserSquashResponse")
proto.RegisterType((*UserApplyPatchRequest)(nil), "gitaly.UserApplyPatchRequest")
proto.RegisterType((*UserApplyPatchRequest_Header)(nil), "gitaly.UserApplyPatchRequest.Header")
proto.RegisterType((*UserApplyPatchResponse)(nil), "gitaly.UserApplyPatchResponse")
proto.RegisterType((*UserUpdateSubmoduleRequest)(nil), "gitaly.UserUpdateSubmoduleRequest")
proto.RegisterType((*UserUpdateSubmoduleResponse)(nil), "gitaly.UserUpdateSubmoduleResponse")
proto.RegisterEnum("gitaly.UserCommitFilesActionHeader_ActionType", UserCommitFilesActionHeader_ActionType_name, UserCommitFilesActionHeader_ActionType_value)
}
......@@ -1382,6 +1662,8 @@ type OperationServiceClient interface {
UserCommitFiles(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserCommitFilesClient, error)
UserRebase(ctx context.Context, in *UserRebaseRequest, opts ...grpc.CallOption) (*UserRebaseResponse, error)
UserSquash(ctx context.Context, in *UserSquashRequest, opts ...grpc.CallOption) (*UserSquashResponse, error)
UserApplyPatch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserApplyPatchClient, error)
UserUpdateSubmodule(ctx context.Context, in *UserUpdateSubmoduleRequest, opts ...grpc.CallOption) (*UserUpdateSubmoduleResponse, error)
}
type operationServiceClient struct {
......@@ -1547,6 +1829,49 @@ func (c *operationServiceClient) UserSquash(ctx context.Context, in *UserSquashR
return out, nil
}
func (c *operationServiceClient) UserApplyPatch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserApplyPatchClient, error) {
stream, err := grpc.NewClientStream(ctx, &_OperationService_serviceDesc.Streams[2], c.cc, "/gitaly.OperationService/UserApplyPatch", opts...)
if err != nil {
return nil, err
}
x := &operationServiceUserApplyPatchClient{stream}
return x, nil
}
type OperationService_UserApplyPatchClient interface {
Send(*UserApplyPatchRequest) error
CloseAndRecv() (*UserApplyPatchResponse, error)
grpc.ClientStream
}
type operationServiceUserApplyPatchClient struct {
grpc.ClientStream
}
func (x *operationServiceUserApplyPatchClient) Send(m *UserApplyPatchRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *operationServiceUserApplyPatchClient) CloseAndRecv() (*UserApplyPatchResponse, error) {
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
m := new(UserApplyPatchResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *operationServiceClient) UserUpdateSubmodule(ctx context.Context, in *UserUpdateSubmoduleRequest, opts ...grpc.CallOption) (*UserUpdateSubmoduleResponse, error) {
out := new(UserUpdateSubmoduleResponse)
err := grpc.Invoke(ctx, "/gitaly.OperationService/UserUpdateSubmodule", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for OperationService service
type OperationServiceServer interface {
......@@ -1562,6 +1887,8 @@ type OperationServiceServer interface {
UserCommitFiles(OperationService_UserCommitFilesServer) error
UserRebase(context.Context, *UserRebaseRequest) (*UserRebaseResponse, error)
UserSquash(context.Context, *UserSquashRequest) (*UserSquashResponse, error)
UserApplyPatch(OperationService_UserApplyPatchServer) error
UserUpdateSubmodule(context.Context, *UserUpdateSubmoduleRequest) (*UserUpdateSubmoduleResponse, error)
}
func RegisterOperationServiceServer(s *grpc.Server, srv OperationServiceServer) {
......@@ -1800,6 +2127,50 @@ func _OperationService_UserSquash_Handler(srv interface{}, ctx context.Context,
return interceptor(ctx, in, info, handler)
}
func _OperationService_UserApplyPatch_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(OperationServiceServer).UserApplyPatch(&operationServiceUserApplyPatchServer{stream})
}
type OperationService_UserApplyPatchServer interface {
SendAndClose(*UserApplyPatchResponse) error
Recv() (*UserApplyPatchRequest, error)
grpc.ServerStream
}
type operationServiceUserApplyPatchServer struct {
grpc.ServerStream
}
func (x *operationServiceUserApplyPatchServer) SendAndClose(m *UserApplyPatchResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *operationServiceUserApplyPatchServer) Recv() (*UserApplyPatchRequest, error) {
m := new(UserApplyPatchRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func _OperationService_UserUpdateSubmodule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UserUpdateSubmoduleRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OperationServiceServer).UserUpdateSubmodule(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.OperationService/UserUpdateSubmodule",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OperationServiceServer).UserUpdateSubmodule(ctx, req.(*UserUpdateSubmoduleRequest))
}
return interceptor(ctx, in, info, handler)
}
var _OperationService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.OperationService",
HandlerType: (*OperationServiceServer)(nil),
......@@ -1844,6 +2215,10 @@ var _OperationService_serviceDesc = grpc.ServiceDesc{
MethodName: "UserSquash",
Handler: _OperationService_UserSquash_Handler,
},
{
MethodName: "UserUpdateSubmodule",
Handler: _OperationService_UserUpdateSubmodule_Handler,
},
},
Streams: []grpc.StreamDesc{
{
......@@ -1857,107 +2232,126 @@ var _OperationService_serviceDesc = grpc.ServiceDesc{
Handler: _OperationService_UserCommitFiles_Handler,
ClientStreams: true,
},
{
StreamName: "UserApplyPatch",
Handler: _OperationService_UserApplyPatch_Handler,
ClientStreams: true,
},
},
Metadata: "operations.proto",
}
func init() { proto.RegisterFile("operations.proto", fileDescriptor7) }
var fileDescriptor7 = []byte{
// 1510 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcf, 0x6f, 0x1b, 0xc5,
0x17, 0xf7, 0xda, 0xee, 0xda, 0x79, 0x71, 0x1c, 0x67, 0xfa, 0xcb, 0x75, 0x9b, 0x26, 0xdd, 0xb6,
0xdf, 0x6f, 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52, 0x71, 0xd6, 0x5c, 0xca, 0x2a, 0xb0, 0x7b, 0x30, 0x97, 0x98, 0x68, 0xb0,
0x0b, 0xd3, 0x6e, 0x4e, 0x86, 0x36, 0xad, 0xc5, 0x1c, 0x6e, 0x5a, 0xdf, 0x78, 0x66, 0x94, 0xd4,
0x97, 0x9e, 0x69, 0x25, 0xf5, 0x4d, 0x0d, 0x9a, 0xac, 0x02, 0xfb, 0x00, 0xe6, 0x53, 0xe3, 0x01,
0x76, 0x31, 0xbe, 0x66, 0x7a, 0x1a, 0xd2, 0x5a, 0xca, 0xe5, 0x47, 0x5a, 0xaf, 0x19, 0xaf, 0x18,
0xec, 0x1d, 0xa8, 0xc5, 0x9f, 0xa9, 0xec, 0x7c, 0x7c, 0x59, 0xea, 0x7d, 0xdd, 0xba, 0x90, 0xcd,
0x1c, 0x9b, 0xf9, 0x1e, 0xd4, 0x93, 0x2f, 0x25, 0x96, 0x44, 0x2a, 0xfd, 0x04, 0x6d, 0x5d, 0xcc,
0x63, 0x8f, 0x55, 0xb6, 0x01, 0x26, 0xb7, 0x6c, 0x76, 0x2e, 0x51, 0x6f, 0xf1, 0x67, 0x4b, 0xab,
0x95, 0xc5, 0x1a, 0xab, 0x79, 0x84, 0x00, 0xc6, 0xce, 0xb7, 0x24, 0x80, 0xd3, 0x27, 0x70, 0x12,
0xc0, 0x8c, 0x83, 0x51, 0x01, 0x38, 0x31, 0x4f, 0x75, 0xd0, 0xb4, 0x79, 0xb1, 0xe3, 0x29, 0x6d,
0x5e, 0xbc, 0x29, 0x4f, 0xbc, 0xc4, 0x56, 0x90, 0x54, 0x93, 0xe8, 0xa0, 0x49, 0x35, 0xc9, 0xce,
0x61, 0x15, 0x1e, 0x9b, 0xfa, 0x5f, 0x84, 0x57, 0xff, 0x0a, 0x00, 0x00, 0xff, 0xff, 0xaa, 0x7d,
0xb3, 0xe5, 0x6f, 0x18, 0x00, 0x00,
func init() { proto.RegisterFile("operations.proto", fileDescriptor8) }
var fileDescriptor8 = []byte{
// 1740 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcf, 0x6f, 0x1b, 0xd5,
0x13, 0xf7, 0xda, 0xce, 0xc6, 0x99, 0x38, 0x89, 0xf3, 0xfa, 0x2b, 0x75, 0x93, 0x26, 0xdd, 0xb4,
0xdf, 0x6f, 0x5b, 0x7d, 0x15, 0x7d, 0x15, 0x10, 0x9c, 0x0a, 0xca, 0x0f, 0x87, 0xb4, 0x90, 0x36,
0x6c, 0x92, 0xc2, 0x01, 0x69, 0xd9, 0xd8, 0xaf, 0xf6, 0x0a, 0xdb, 0xeb, 0xbe, 0x5d, 0x87, 0x06,
0x21, 0x2e, 0x08, 0xb8, 0x72, 0xe2, 0x82, 0x90, 0x40, 0xdc, 0x10, 0x17, 0x2e, 0x1c, 0x38, 0x20,
0xae, 0x70, 0xed, 0x81, 0xff, 0x82, 0x1b, 0x77, 0xf4, 0xde, 0xcc, 0x7a, 0x7f, 0x3a, 0x4a, 0x4b,
0xa2, 0x56, 0x88, 0x5b, 0x3c, 0x33, 0x3b, 0x6f, 0xe6, 0x33, 0xf3, 0x66, 0xe6, 0x4d, 0xa0, 0xe2,
0xf6, 0xb8, 0xb0, 0x7d, 0xc7, 0xed, 0x7a, 0x4b, 0x3d, 0xe1, 0xfa, 0x2e, 0xd3, 0x9b, 0x8e, 0x6f,
0xb7, 0x0f, 0xab, 0x65, 0xaf, 0x65, 0x0b, 0xde, 0x40, 0xaa, 0xf1, 0x83, 0x06, 0x17, 0xf6, 0x3c,
0x2e, 0xd6, 0x04, 0xb7, 0x7d, 0xbe, 0x2a, 0xec, 0x6e, 0xbd, 0x65, 0xf2, 0x87, 0x7d, 0xee, 0xf9,
0x6c, 0x19, 0x40, 0xf0, 0x9e, 0xeb, 0x39, 0xbe, 0x2b, 0x0e, 0x67, 0xb4, 0x05, 0xed, 0xfa, 0xf8,
0x32, 0x5b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xf3, 0xe4, 0xf0, 0x91, 0x34, 0x2f, 0x32,
0xd9, 0x25, 0xcd, 0x8b, 0xce, 0x33, 0xa1, 0x97, 0xd8, 0x45, 0xe3, 0x6a, 0x62, 0xc3, 0x47, 0x5c,
0x4d, 0xbc, 0xe9, 0x1a, 0x39, 0xb6, 0x83, 0xf8, 0x87, 0x1d, 0x20, 0x8e, 0x7f, 0xaa, 0x13, 0xc6,
0xf1, 0x4f, 0x37, 0x0e, 0xe5, 0xe2, 0xbb, 0xb8, 0x01, 0x4d, 0x94, 0x41, 0x66, 0xa4, 0xef, 0x6b,
0xb2, 0x29, 0x54, 0x17, 0x8f, 0x94, 0x09, 0xce, 0xd8, 0xd7, 0xd5, 0xbf, 0x24, 0x5f, 0xf8, 0x2b,
0x00, 0x00, 0xff, 0xff, 0x35, 0x0f, 0xad, 0x07, 0xbc, 0x1c, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: ref.proto
package gitaly
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
......@@ -41,7 +41,7 @@ func (x FindLocalBranchesRequest_SortBy) String() string {
return proto.EnumName(FindLocalBranchesRequest_SortBy_name, int32(x))
}
func (FindLocalBranchesRequest_SortBy) EnumDescriptor() ([]byte, []int) {
return fileDescriptor8, []int{10, 0}
return fileDescriptor9, []int{10, 0}
}
type CreateBranchResponse_Status int32
......@@ -70,7 +70,7 @@ func (x CreateBranchResponse_Status) String() string {
return proto.EnumName(CreateBranchResponse_Status_name, int32(x))
}
func (CreateBranchResponse_Status) EnumDescriptor() ([]byte, []int) {
return fileDescriptor8, []int{21, 0}
return fileDescriptor9, []int{21, 0}
}
type ListNewBlobsRequest struct {
......@@ -84,7 +84,7 @@ type ListNewBlobsRequest struct {
func (m *ListNewBlobsRequest) Reset() { *m = ListNewBlobsRequest{} }
func (m *ListNewBlobsRequest) String() string { return proto.CompactTextString(m) }
func (*ListNewBlobsRequest) ProtoMessage() {}
func (*ListNewBlobsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0} }
func (*ListNewBlobsRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{0} }
func (m *ListNewBlobsRequest) GetRepository() *Repository {
if m != nil {
......@@ -114,7 +114,7 @@ type ListNewBlobsResponse struct {
func (m *ListNewBlobsResponse) Reset() { *m = ListNewBlobsResponse{} }
func (m *ListNewBlobsResponse) String() string { return proto.CompactTextString(m) }
func (*ListNewBlobsResponse) ProtoMessage() {}
func (*ListNewBlobsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{1} }
func (*ListNewBlobsResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{1} }
func (m *ListNewBlobsResponse) GetNewBlobObjects() []*NewBlobObject {
if m != nil {
......@@ -130,7 +130,7 @@ type FindDefaultBranchNameRequest struct {
func (m *FindDefaultBranchNameRequest) Reset() { *m = FindDefaultBranchNameRequest{} }
func (m *FindDefaultBranchNameRequest) String() string { return proto.CompactTextString(m) }
func (*FindDefaultBranchNameRequest) ProtoMessage() {}
func (*FindDefaultBranchNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{2} }
func (*FindDefaultBranchNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{2} }
func (m *FindDefaultBranchNameRequest) GetRepository() *Repository {
if m != nil {
......@@ -146,7 +146,7 @@ type FindDefaultBranchNameResponse struct {
func (m *FindDefaultBranchNameResponse) Reset() { *m = FindDefaultBranchNameResponse{} }
func (m *FindDefaultBranchNameResponse) String() string { return proto.CompactTextString(m) }
func (*FindDefaultBranchNameResponse) ProtoMessage() {}
func (*FindDefaultBranchNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{3} }
func (*FindDefaultBranchNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{3} }
func (m *FindDefaultBranchNameResponse) GetName() []byte {
if m != nil {
......@@ -162,7 +162,7 @@ type FindAllBranchNamesRequest struct {
func (m *FindAllBranchNamesRequest) Reset() { *m = FindAllBranchNamesRequest{} }
func (m *FindAllBranchNamesRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchNamesRequest) ProtoMessage() {}
func (*FindAllBranchNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{4} }
func (*FindAllBranchNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{4} }
func (m *FindAllBranchNamesRequest) GetRepository() *Repository {
if m != nil {
......@@ -178,7 +178,7 @@ type FindAllBranchNamesResponse struct {
func (m *FindAllBranchNamesResponse) Reset() { *m = FindAllBranchNamesResponse{} }
func (m *FindAllBranchNamesResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchNamesResponse) ProtoMessage() {}
func (*FindAllBranchNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{5} }
func (*FindAllBranchNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{5} }
func (m *FindAllBranchNamesResponse) GetNames() [][]byte {
if m != nil {
......@@ -194,7 +194,7 @@ type FindAllTagNamesRequest struct {
func (m *FindAllTagNamesRequest) Reset() { *m = FindAllTagNamesRequest{} }
func (m *FindAllTagNamesRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllTagNamesRequest) ProtoMessage() {}
func (*FindAllTagNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{6} }
func (*FindAllTagNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{6} }
func (m *FindAllTagNamesRequest) GetRepository() *Repository {
if m != nil {
......@@ -210,7 +210,7 @@ type FindAllTagNamesResponse struct {
func (m *FindAllTagNamesResponse) Reset() { *m = FindAllTagNamesResponse{} }
func (m *FindAllTagNamesResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllTagNamesResponse) ProtoMessage() {}
func (*FindAllTagNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{7} }
func (*FindAllTagNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{7} }
func (m *FindAllTagNamesResponse) GetNames() [][]byte {
if m != nil {
......@@ -230,7 +230,7 @@ type FindRefNameRequest struct {
func (m *FindRefNameRequest) Reset() { *m = FindRefNameRequest{} }
func (m *FindRefNameRequest) String() string { return proto.CompactTextString(m) }
func (*FindRefNameRequest) ProtoMessage() {}
func (*FindRefNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{8} }
func (*FindRefNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{8} }
func (m *FindRefNameRequest) GetRepository() *Repository {
if m != nil {
......@@ -261,7 +261,7 @@ type FindRefNameResponse struct {
func (m *FindRefNameResponse) Reset() { *m = FindRefNameResponse{} }
func (m *FindRefNameResponse) String() string { return proto.CompactTextString(m) }
func (*FindRefNameResponse) ProtoMessage() {}
func (*FindRefNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{9} }
func (*FindRefNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{9} }
func (m *FindRefNameResponse) GetName() []byte {
if m != nil {
......@@ -278,7 +278,7 @@ type FindLocalBranchesRequest struct {
func (m *FindLocalBranchesRequest) Reset() { *m = FindLocalBranchesRequest{} }
func (m *FindLocalBranchesRequest) String() string { return proto.CompactTextString(m) }
func (*FindLocalBranchesRequest) ProtoMessage() {}
func (*FindLocalBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{10} }
func (*FindLocalBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{10} }
func (m *FindLocalBranchesRequest) GetRepository() *Repository {
if m != nil {
......@@ -301,7 +301,7 @@ type FindLocalBranchesResponse struct {
func (m *FindLocalBranchesResponse) Reset() { *m = FindLocalBranchesResponse{} }
func (m *FindLocalBranchesResponse) String() string { return proto.CompactTextString(m) }
func (*FindLocalBranchesResponse) ProtoMessage() {}
func (*FindLocalBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{11} }
func (*FindLocalBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{11} }
func (m *FindLocalBranchesResponse) GetBranches() []*FindLocalBranchResponse {
if m != nil {
......@@ -321,7 +321,7 @@ type FindLocalBranchResponse struct {
func (m *FindLocalBranchResponse) Reset() { *m = FindLocalBranchResponse{} }
func (m *FindLocalBranchResponse) String() string { return proto.CompactTextString(m) }
func (*FindLocalBranchResponse) ProtoMessage() {}
func (*FindLocalBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{12} }
func (*FindLocalBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{12} }
func (m *FindLocalBranchResponse) GetName() []byte {
if m != nil {
......@@ -367,7 +367,7 @@ type FindLocalBranchCommitAuthor struct {
func (m *FindLocalBranchCommitAuthor) Reset() { *m = FindLocalBranchCommitAuthor{} }
func (m *FindLocalBranchCommitAuthor) String() string { return proto.CompactTextString(m) }
func (*FindLocalBranchCommitAuthor) ProtoMessage() {}
func (*FindLocalBranchCommitAuthor) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{13} }
func (*FindLocalBranchCommitAuthor) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{13} }
func (m *FindLocalBranchCommitAuthor) GetName() []byte {
if m != nil {
......@@ -402,7 +402,7 @@ type FindAllBranchesRequest struct {
func (m *FindAllBranchesRequest) Reset() { *m = FindAllBranchesRequest{} }
func (m *FindAllBranchesRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchesRequest) ProtoMessage() {}
func (*FindAllBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{14} }
func (*FindAllBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{14} }
func (m *FindAllBranchesRequest) GetRepository() *Repository {
if m != nil {
......@@ -432,7 +432,7 @@ type FindAllBranchesResponse struct {
func (m *FindAllBranchesResponse) Reset() { *m = FindAllBranchesResponse{} }
func (m *FindAllBranchesResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchesResponse) ProtoMessage() {}
func (*FindAllBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{15} }
func (*FindAllBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{15} }
func (m *FindAllBranchesResponse) GetBranches() []*FindAllBranchesResponse_Branch {
if m != nil {
......@@ -450,7 +450,7 @@ func (m *FindAllBranchesResponse_Branch) Reset() { *m = FindAllBranchesR
func (m *FindAllBranchesResponse_Branch) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchesResponse_Branch) ProtoMessage() {}
func (*FindAllBranchesResponse_Branch) Descriptor() ([]byte, []int) {
return fileDescriptor8, []int{15, 0}
return fileDescriptor9, []int{15, 0}
}
func (m *FindAllBranchesResponse_Branch) GetName() []byte {
......@@ -474,7 +474,7 @@ type FindAllTagsRequest struct {
func (m *FindAllTagsRequest) Reset() { *m = FindAllTagsRequest{} }
func (m *FindAllTagsRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllTagsRequest) ProtoMessage() {}
func (*FindAllTagsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{16} }
func (*FindAllTagsRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{16} }
func (m *FindAllTagsRequest) GetRepository() *Repository {
if m != nil {
......@@ -490,7 +490,7 @@ type FindAllTagsResponse struct {
func (m *FindAllTagsResponse) Reset() { *m = FindAllTagsResponse{} }
func (m *FindAllTagsResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllTagsResponse) ProtoMessage() {}
func (*FindAllTagsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{17} }
func (*FindAllTagsResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{17} }
func (m *FindAllTagsResponse) GetTags() []*Tag {
if m != nil {
......@@ -508,7 +508,7 @@ type RefExistsRequest struct {
func (m *RefExistsRequest) Reset() { *m = RefExistsRequest{} }
func (m *RefExistsRequest) String() string { return proto.CompactTextString(m) }
func (*RefExistsRequest) ProtoMessage() {}
func (*RefExistsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{18} }
func (*RefExistsRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{18} }
func (m *RefExistsRequest) GetRepository() *Repository {
if m != nil {
......@@ -531,7 +531,7 @@ type RefExistsResponse struct {
func (m *RefExistsResponse) Reset() { *m = RefExistsResponse{} }
func (m *RefExistsResponse) String() string { return proto.CompactTextString(m) }
func (*RefExistsResponse) ProtoMessage() {}
func (*RefExistsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{19} }
func (*RefExistsResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{19} }
func (m *RefExistsResponse) GetValue() bool {
if m != nil {
......@@ -549,7 +549,7 @@ type CreateBranchRequest struct {
func (m *CreateBranchRequest) Reset() { *m = CreateBranchRequest{} }
func (m *CreateBranchRequest) String() string { return proto.CompactTextString(m) }
func (*CreateBranchRequest) ProtoMessage() {}
func (*CreateBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{20} }
func (*CreateBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{20} }
func (m *CreateBranchRequest) GetRepository() *Repository {
if m != nil {
......@@ -580,7 +580,7 @@ type CreateBranchResponse struct {
func (m *CreateBranchResponse) Reset() { *m = CreateBranchResponse{} }
func (m *CreateBranchResponse) String() string { return proto.CompactTextString(m) }
func (*CreateBranchResponse) ProtoMessage() {}
func (*CreateBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{21} }
func (*CreateBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{21} }
func (m *CreateBranchResponse) GetStatus() CreateBranchResponse_Status {
if m != nil {
......@@ -604,7 +604,7 @@ type DeleteBranchRequest struct {
func (m *DeleteBranchRequest) Reset() { *m = DeleteBranchRequest{} }
func (m *DeleteBranchRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteBranchRequest) ProtoMessage() {}
func (*DeleteBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{22} }
func (*DeleteBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{22} }
func (m *DeleteBranchRequest) GetRepository() *Repository {
if m != nil {
......@@ -627,7 +627,7 @@ type DeleteBranchResponse struct {
func (m *DeleteBranchResponse) Reset() { *m = DeleteBranchResponse{} }
func (m *DeleteBranchResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteBranchResponse) ProtoMessage() {}
func (*DeleteBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{23} }
func (*DeleteBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{23} }
type FindBranchRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -638,7 +638,7 @@ type FindBranchRequest struct {
func (m *FindBranchRequest) Reset() { *m = FindBranchRequest{} }
func (m *FindBranchRequest) String() string { return proto.CompactTextString(m) }
func (*FindBranchRequest) ProtoMessage() {}
func (*FindBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{24} }
func (*FindBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{24} }
func (m *FindBranchRequest) GetRepository() *Repository {
if m != nil {
......@@ -661,7 +661,7 @@ type FindBranchResponse struct {
func (m *FindBranchResponse) Reset() { *m = FindBranchResponse{} }
func (m *FindBranchResponse) String() string { return proto.CompactTextString(m) }
func (*FindBranchResponse) ProtoMessage() {}
func (*FindBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{25} }
func (*FindBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{25} }
func (m *FindBranchResponse) GetBranch() *Branch {
if m != nil {
......@@ -680,7 +680,7 @@ type DeleteRefsRequest struct {
func (m *DeleteRefsRequest) Reset() { *m = DeleteRefsRequest{} }
func (m *DeleteRefsRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteRefsRequest) ProtoMessage() {}
func (*DeleteRefsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{26} }
func (*DeleteRefsRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{26} }
func (m *DeleteRefsRequest) GetRepository() *Repository {
if m != nil {
......@@ -710,7 +710,7 @@ type DeleteRefsResponse struct {
func (m *DeleteRefsResponse) Reset() { *m = DeleteRefsResponse{} }
func (m *DeleteRefsResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteRefsResponse) ProtoMessage() {}
func (*DeleteRefsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{27} }
func (*DeleteRefsResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{27} }
func (m *DeleteRefsResponse) GetGitError() string {
if m != nil {
......@@ -733,7 +733,7 @@ func (m *ListBranchNamesContainingCommitRequest) Reset() {
func (m *ListBranchNamesContainingCommitRequest) String() string { return proto.CompactTextString(m) }
func (*ListBranchNamesContainingCommitRequest) ProtoMessage() {}
func (*ListBranchNamesContainingCommitRequest) Descriptor() ([]byte, []int) {
return fileDescriptor8, []int{28}
return fileDescriptor9, []int{28}
}
func (m *ListBranchNamesContainingCommitRequest) GetRepository() *Repository {
......@@ -767,7 +767,7 @@ func (m *ListBranchNamesContainingCommitResponse) Reset() {
func (m *ListBranchNamesContainingCommitResponse) String() string { return proto.CompactTextString(m) }
func (*ListBranchNamesContainingCommitResponse) ProtoMessage() {}
func (*ListBranchNamesContainingCommitResponse) Descriptor() ([]byte, []int) {
return fileDescriptor8, []int{29}
return fileDescriptor9, []int{29}
}
func (m *ListBranchNamesContainingCommitResponse) GetBranchNames() [][]byte {
......@@ -789,7 +789,7 @@ func (m *ListTagNamesContainingCommitRequest) Reset() { *m = ListTagName
func (m *ListTagNamesContainingCommitRequest) String() string { return proto.CompactTextString(m) }
func (*ListTagNamesContainingCommitRequest) ProtoMessage() {}
func (*ListTagNamesContainingCommitRequest) Descriptor() ([]byte, []int) {
return fileDescriptor8, []int{30}
return fileDescriptor9, []int{30}
}
func (m *ListTagNamesContainingCommitRequest) GetRepository() *Repository {
......@@ -821,7 +821,7 @@ func (m *ListTagNamesContainingCommitResponse) Reset() { *m = ListTagNam
func (m *ListTagNamesContainingCommitResponse) String() string { return proto.CompactTextString(m) }
func (*ListTagNamesContainingCommitResponse) ProtoMessage() {}
func (*ListTagNamesContainingCommitResponse) Descriptor() ([]byte, []int) {
return fileDescriptor8, []int{31}
return fileDescriptor9, []int{31}
}
func (m *ListTagNamesContainingCommitResponse) GetTagNames() [][]byte {
......@@ -839,7 +839,7 @@ type GetTagMessagesRequest struct {
func (m *GetTagMessagesRequest) Reset() { *m = GetTagMessagesRequest{} }
func (m *GetTagMessagesRequest) String() string { return proto.CompactTextString(m) }
func (*GetTagMessagesRequest) ProtoMessage() {}
func (*GetTagMessagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{32} }
func (*GetTagMessagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{32} }
func (m *GetTagMessagesRequest) GetRepository() *Repository {
if m != nil {
......@@ -864,7 +864,7 @@ type GetTagMessagesResponse struct {
func (m *GetTagMessagesResponse) Reset() { *m = GetTagMessagesResponse{} }
func (m *GetTagMessagesResponse) String() string { return proto.CompactTextString(m) }
func (*GetTagMessagesResponse) ProtoMessage() {}
func (*GetTagMessagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{33} }
func (*GetTagMessagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{33} }
func (m *GetTagMessagesResponse) GetMessage() []byte {
if m != nil {
......@@ -888,7 +888,7 @@ type ListNewCommitsRequest struct {
func (m *ListNewCommitsRequest) Reset() { *m = ListNewCommitsRequest{} }
func (m *ListNewCommitsRequest) String() string { return proto.CompactTextString(m) }
func (*ListNewCommitsRequest) ProtoMessage() {}
func (*ListNewCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{34} }
func (*ListNewCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{34} }
func (m *ListNewCommitsRequest) GetRepository() *Repository {
if m != nil {
......@@ -911,7 +911,7 @@ type ListNewCommitsResponse struct {
func (m *ListNewCommitsResponse) Reset() { *m = ListNewCommitsResponse{} }
func (m *ListNewCommitsResponse) String() string { return proto.CompactTextString(m) }
func (*ListNewCommitsResponse) ProtoMessage() {}
func (*ListNewCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{35} }
func (*ListNewCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{35} }
func (m *ListNewCommitsResponse) GetCommits() []*GitCommit {
if m != nil {
......@@ -928,7 +928,7 @@ type FindAllRemoteBranchesRequest struct {
func (m *FindAllRemoteBranchesRequest) Reset() { *m = FindAllRemoteBranchesRequest{} }
func (m *FindAllRemoteBranchesRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllRemoteBranchesRequest) ProtoMessage() {}
func (*FindAllRemoteBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{36} }
func (*FindAllRemoteBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{36} }
func (m *FindAllRemoteBranchesRequest) GetRepository() *Repository {
if m != nil {
......@@ -951,7 +951,7 @@ type FindAllRemoteBranchesResponse struct {
func (m *FindAllRemoteBranchesResponse) Reset() { *m = FindAllRemoteBranchesResponse{} }
func (m *FindAllRemoteBranchesResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllRemoteBranchesResponse) ProtoMessage() {}
func (*FindAllRemoteBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{37} }
func (*FindAllRemoteBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{37} }
func (m *FindAllRemoteBranchesResponse) GetBranches() []*Branch {
if m != nil {
......@@ -1941,9 +1941,9 @@ var _RefService_serviceDesc = grpc.ServiceDesc{
Metadata: "ref.proto",
}
func init() { proto.RegisterFile("ref.proto", fileDescriptor8) }
func init() { proto.RegisterFile("ref.proto", fileDescriptor9) }
var fileDescriptor8 = []byte{
var fileDescriptor9 = []byte{
// 1539 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x5b, 0x6f, 0xdb, 0xc6,
0x12, 0x36, 0x65, 0x5b, 0x96, 0x46, 0x8a, 0x4c, 0xaf, 0x2f, 0x51, 0xe8, 0x24, 0x76, 0x36, 0x37,
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: remote.proto
package gitaly
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
......@@ -28,7 +28,7 @@ type AddRemoteRequest struct {
func (m *AddRemoteRequest) Reset() { *m = AddRemoteRequest{} }
func (m *AddRemoteRequest) String() string { return proto.CompactTextString(m) }
func (*AddRemoteRequest) ProtoMessage() {}
func (*AddRemoteRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{0} }
func (*AddRemoteRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{0} }
func (m *AddRemoteRequest) GetRepository() *Repository {
if m != nil {
......@@ -64,7 +64,7 @@ type AddRemoteResponse struct {
func (m *AddRemoteResponse) Reset() { *m = AddRemoteResponse{} }
func (m *AddRemoteResponse) String() string { return proto.CompactTextString(m) }
func (*AddRemoteResponse) ProtoMessage() {}
func (*AddRemoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{1} }
func (*AddRemoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{1} }
type RemoveRemoteRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -74,7 +74,7 @@ type RemoveRemoteRequest struct {
func (m *RemoveRemoteRequest) Reset() { *m = RemoveRemoteRequest{} }
func (m *RemoveRemoteRequest) String() string { return proto.CompactTextString(m) }
func (*RemoveRemoteRequest) ProtoMessage() {}
func (*RemoveRemoteRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{2} }
func (*RemoveRemoteRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{2} }
func (m *RemoveRemoteRequest) GetRepository() *Repository {
if m != nil {
......@@ -97,7 +97,7 @@ type RemoveRemoteResponse struct {
func (m *RemoveRemoteResponse) Reset() { *m = RemoveRemoteResponse{} }
func (m *RemoveRemoteResponse) String() string { return proto.CompactTextString(m) }
func (*RemoveRemoteResponse) ProtoMessage() {}
func (*RemoveRemoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{3} }
func (*RemoveRemoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{3} }
func (m *RemoveRemoteResponse) GetResult() bool {
if m != nil {
......@@ -114,7 +114,7 @@ type FetchInternalRemoteRequest struct {
func (m *FetchInternalRemoteRequest) Reset() { *m = FetchInternalRemoteRequest{} }
func (m *FetchInternalRemoteRequest) String() string { return proto.CompactTextString(m) }
func (*FetchInternalRemoteRequest) ProtoMessage() {}
func (*FetchInternalRemoteRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{4} }
func (*FetchInternalRemoteRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{4} }
func (m *FetchInternalRemoteRequest) GetRepository() *Repository {
if m != nil {
......@@ -137,7 +137,7 @@ type FetchInternalRemoteResponse struct {
func (m *FetchInternalRemoteResponse) Reset() { *m = FetchInternalRemoteResponse{} }
func (m *FetchInternalRemoteResponse) String() string { return proto.CompactTextString(m) }
func (*FetchInternalRemoteResponse) ProtoMessage() {}
func (*FetchInternalRemoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{5} }
func (*FetchInternalRemoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{5} }
func (m *FetchInternalRemoteResponse) GetResult() bool {
if m != nil {
......@@ -150,12 +150,14 @@ type UpdateRemoteMirrorRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
RefName string `protobuf:"bytes,2,opt,name=ref_name,json=refName" json:"ref_name,omitempty"`
OnlyBranchesMatching [][]byte `protobuf:"bytes,3,rep,name=only_branches_matching,json=onlyBranchesMatching,proto3" json:"only_branches_matching,omitempty"`
SshKey string `protobuf:"bytes,4,opt,name=ssh_key,json=sshKey" json:"ssh_key,omitempty"`
KnownHosts string `protobuf:"bytes,5,opt,name=known_hosts,json=knownHosts" json:"known_hosts,omitempty"`
}
func (m *UpdateRemoteMirrorRequest) Reset() { *m = UpdateRemoteMirrorRequest{} }
func (m *UpdateRemoteMirrorRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateRemoteMirrorRequest) ProtoMessage() {}
func (*UpdateRemoteMirrorRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{6} }
func (*UpdateRemoteMirrorRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{6} }
func (m *UpdateRemoteMirrorRequest) GetRepository() *Repository {
if m != nil {
......@@ -178,13 +180,27 @@ func (m *UpdateRemoteMirrorRequest) GetOnlyBranchesMatching() [][]byte {
return nil
}
func (m *UpdateRemoteMirrorRequest) GetSshKey() string {
if m != nil {
return m.SshKey
}
return ""
}
func (m *UpdateRemoteMirrorRequest) GetKnownHosts() string {
if m != nil {
return m.KnownHosts
}
return ""
}
type UpdateRemoteMirrorResponse struct {
}
func (m *UpdateRemoteMirrorResponse) Reset() { *m = UpdateRemoteMirrorResponse{} }
func (m *UpdateRemoteMirrorResponse) String() string { return proto.CompactTextString(m) }
func (*UpdateRemoteMirrorResponse) ProtoMessage() {}
func (*UpdateRemoteMirrorResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{7} }
func (*UpdateRemoteMirrorResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{7} }
type FindRemoteRepositoryRequest struct {
Remote string `protobuf:"bytes,1,opt,name=remote" json:"remote,omitempty"`
......@@ -193,7 +209,7 @@ type FindRemoteRepositoryRequest struct {
func (m *FindRemoteRepositoryRequest) Reset() { *m = FindRemoteRepositoryRequest{} }
func (m *FindRemoteRepositoryRequest) String() string { return proto.CompactTextString(m) }
func (*FindRemoteRepositoryRequest) ProtoMessage() {}
func (*FindRemoteRepositoryRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{8} }
func (*FindRemoteRepositoryRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{8} }
func (m *FindRemoteRepositoryRequest) GetRemote() string {
if m != nil {
......@@ -211,7 +227,7 @@ type FindRemoteRepositoryResponse struct {
func (m *FindRemoteRepositoryResponse) Reset() { *m = FindRemoteRepositoryResponse{} }
func (m *FindRemoteRepositoryResponse) String() string { return proto.CompactTextString(m) }
func (*FindRemoteRepositoryResponse) ProtoMessage() {}
func (*FindRemoteRepositoryResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{9} }
func (*FindRemoteRepositoryResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{9} }
func (m *FindRemoteRepositoryResponse) GetExists() bool {
if m != nil {
......@@ -220,6 +236,46 @@ func (m *FindRemoteRepositoryResponse) GetExists() bool {
return false
}
type FindRemoteRootRefRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Remote string `protobuf:"bytes,2,opt,name=remote" json:"remote,omitempty"`
}
func (m *FindRemoteRootRefRequest) Reset() { *m = FindRemoteRootRefRequest{} }
func (m *FindRemoteRootRefRequest) String() string { return proto.CompactTextString(m) }
func (*FindRemoteRootRefRequest) ProtoMessage() {}
func (*FindRemoteRootRefRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{10} }
func (m *FindRemoteRootRefRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *FindRemoteRootRefRequest) GetRemote() string {
if m != nil {
return m.Remote
}
return ""
}
type FindRemoteRootRefResponse struct {
Ref string `protobuf:"bytes,1,opt,name=ref" json:"ref,omitempty"`
}
func (m *FindRemoteRootRefResponse) Reset() { *m = FindRemoteRootRefResponse{} }
func (m *FindRemoteRootRefResponse) String() string { return proto.CompactTextString(m) }
func (*FindRemoteRootRefResponse) ProtoMessage() {}
func (*FindRemoteRootRefResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{11} }
func (m *FindRemoteRootRefResponse) GetRef() string {
if m != nil {
return m.Ref
}
return ""
}
func init() {
proto.RegisterType((*AddRemoteRequest)(nil), "gitaly.AddRemoteRequest")
proto.RegisterType((*AddRemoteResponse)(nil), "gitaly.AddRemoteResponse")
......@@ -231,6 +287,8 @@ func init() {
proto.RegisterType((*UpdateRemoteMirrorResponse)(nil), "gitaly.UpdateRemoteMirrorResponse")
proto.RegisterType((*FindRemoteRepositoryRequest)(nil), "gitaly.FindRemoteRepositoryRequest")
proto.RegisterType((*FindRemoteRepositoryResponse)(nil), "gitaly.FindRemoteRepositoryResponse")
proto.RegisterType((*FindRemoteRootRefRequest)(nil), "gitaly.FindRemoteRootRefRequest")
proto.RegisterType((*FindRemoteRootRefResponse)(nil), "gitaly.FindRemoteRootRefResponse")
}
// Reference imports to suppress errors if they are not otherwise used.
......@@ -249,6 +307,7 @@ type RemoteServiceClient interface {
RemoveRemote(ctx context.Context, in *RemoveRemoteRequest, opts ...grpc.CallOption) (*RemoveRemoteResponse, error)
UpdateRemoteMirror(ctx context.Context, opts ...grpc.CallOption) (RemoteService_UpdateRemoteMirrorClient, error)
FindRemoteRepository(ctx context.Context, in *FindRemoteRepositoryRequest, opts ...grpc.CallOption) (*FindRemoteRepositoryResponse, error)
FindRemoteRootRef(ctx context.Context, in *FindRemoteRootRefRequest, opts ...grpc.CallOption) (*FindRemoteRootRefResponse, error)
}
type remoteServiceClient struct {
......@@ -329,6 +388,15 @@ func (c *remoteServiceClient) FindRemoteRepository(ctx context.Context, in *Find
return out, nil
}
func (c *remoteServiceClient) FindRemoteRootRef(ctx context.Context, in *FindRemoteRootRefRequest, opts ...grpc.CallOption) (*FindRemoteRootRefResponse, error) {
out := new(FindRemoteRootRefResponse)
err := grpc.Invoke(ctx, "/gitaly.RemoteService/FindRemoteRootRef", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for RemoteService service
type RemoteServiceServer interface {
......@@ -337,6 +405,7 @@ type RemoteServiceServer interface {
RemoveRemote(context.Context, *RemoveRemoteRequest) (*RemoveRemoteResponse, error)
UpdateRemoteMirror(RemoteService_UpdateRemoteMirrorServer) error
FindRemoteRepository(context.Context, *FindRemoteRepositoryRequest) (*FindRemoteRepositoryResponse, error)
FindRemoteRootRef(context.Context, *FindRemoteRootRefRequest) (*FindRemoteRootRefResponse, error)
}
func RegisterRemoteServiceServer(s *grpc.Server, srv RemoteServiceServer) {
......@@ -441,6 +510,24 @@ func _RemoteService_FindRemoteRepository_Handler(srv interface{}, ctx context.Co
return interceptor(ctx, in, info, handler)
}
func _RemoteService_FindRemoteRootRef_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindRemoteRootRefRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RemoteServiceServer).FindRemoteRootRef(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RemoteService/FindRemoteRootRef",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RemoteServiceServer).FindRemoteRootRef(ctx, req.(*FindRemoteRootRefRequest))
}
return interceptor(ctx, in, info, handler)
}
var _RemoteService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.RemoteService",
HandlerType: (*RemoteServiceServer)(nil),
......@@ -461,6 +548,10 @@ var _RemoteService_serviceDesc = grpc.ServiceDesc{
MethodName: "FindRemoteRepository",
Handler: _RemoteService_FindRemoteRepository_Handler,
},
{
MethodName: "FindRemoteRootRef",
Handler: _RemoteService_FindRemoteRootRef_Handler,
},
},
Streams: []grpc.StreamDesc{
{
......@@ -472,39 +563,44 @@ var _RemoteService_serviceDesc = grpc.ServiceDesc{
Metadata: "remote.proto",
}
func init() { proto.RegisterFile("remote.proto", fileDescriptor9) }
var fileDescriptor9 = []byte{
// 485 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xcd, 0x6e, 0xd3, 0x40,
0x10, 0xc6, 0x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0x99, 0x63, 0x96, 0xf3, 0xfb, 0x6b, 0x73, 0x27, 0x2d, 0x19, 0x4d, 0xe1, 0x0e,
0xfb, 0x04, 0xa3, 0x16, 0xf1, 0x18, 0x37, 0x98, 0xfd, 0x66, 0x73, 0x1f, 0x1e, 0xac, 0xa9, 0x3b,
0xbc, 0x85, 0x41, 0xd3, 0xe2, 0xec, 0x7c, 0xa7, 0xe2, 0xad, 0x77, 0xe5, 0x4e, 0xdb, 0x93, 0xf5,
0x65, 0x3e, 0xb0, 0xdb, 0x8a, 0xb0, 0x07, 0x06, 0xb5, 0xd7, 0x4f, 0x2e, 0x3f, 0x54, 0x62, 0xae,
0xf7, 0x2c, 0x16, 0xc2, 0xb8, 0x4d, 0x1d, 0xb6, 0x23, 0xbb, 0x5f, 0x72, 0xf7, 0xd1, 0xe1, 0x22,
0xd3, 0xe6, 0xaa, 0x5b, 0xfe, 0x1b, 0x9f, 0xfc, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xe5, 0x0c, 0x2a,
0x1a, 0x41, 0x05, 0x00, 0x00,
func init() { proto.RegisterFile("remote.proto", fileDescriptor10) }
var fileDescriptor10 = []byte{
// 574 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x4d, 0x6f, 0xd3, 0x30,
0x18, 0x26, 0x4b, 0xd7, 0xb5, 0xef, 0x3a, 0xd4, 0xba, 0xd5, 0x48, 0xb3, 0x4a, 0x74, 0x06, 0xa4,
0x5e, 0xe8, 0xa1, 0x7c, 0x5c, 0x11, 0x3b, 0x20, 0x60, 0x1a, 0x07, 0x23, 0x2e, 0x48, 0x28, 0x64,
0xed, 0x9b, 0x25, 0x5a, 0x1b, 0x17, 0xdb, 0x1d, 0xf4, 0x67, 0xf0, 0x1f, 0x38, 0xf0, 0x9b, 0xf8,
0x35, 0xc8, 0x89, 0x93, 0xa6, 0x34, 0x2d, 0x12, 0x13, 0x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, 0x70, 0x94, 0xe6, 0xbe, 0x47,
0x71, 0x13, 0x8d, 0x91, 0x9c, 0x41, 0x3d, 0x7f, 0x81, 0xc4, 0xc9, 0xa6, 0xf8, 0xf3, 0xf3, 0xe1,
0x76, 0x4b, 0x22, 0x46, 0xd9, 0x3b, 0xe4, 0x33, 0xb4, 0x4b, 0xdc, 0x48, 0x68, 0x56, 0xb3, 0xfd,
0xf5, 0xb8, 0x0f, 0x76, 0xe6, 0xe4, 0x27, 0x9c, 0x43, 0xa3, 0xf8, 0x66, 0xc9, 0xc9, 0x4a, 0xae,
0x8d, 0x0f, 0x85, 0xdb, 0x2b, 0x0f, 0xe6, 0xcd, 0x3c, 0x20, 0x9b, 0x46, 0x21, 0xa7, 0x59, 0xd5,
0xd6, 0x07, 0xe2, 0xd2, 0x5d, 0x29, 0x59, 0xfb, 0x81, 0x45, 0xc6, 0xd0, 0x29, 0x33, 0x0d, 0x59,
0x91, 0xdd, 0xee, 0x44, 0xf7, 0xe1, 0xee, 0xa4, 0x9c, 0xc5, 0x47, 0x68, 0x6d, 0xdc, 0x3c, 0xe9,
0x97, 0x14, 0xaf, 0x99, 0xcf, 0x3d, 0xdd, 0x91, 0x91, 0xf5, 0xbe, 0xac, 0x26, 0x3f, 0x92, 0x27,
0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x29, 0x20, 0x7c, 0x92, 0x6e, 0x06, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: repository-service.proto
package gitaly
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
......@@ -43,7 +43,7 @@ func (x GetArchiveRequest_Format) String() string {
return proto.EnumName(GetArchiveRequest_Format_name, int32(x))
}
func (GetArchiveRequest_Format) EnumDescriptor() ([]byte, []int) {
return fileDescriptor10, []int{18, 0}
return fileDescriptor11, []int{18, 0}
}
type GetRawChangesResponse_RawChange_Operation int32
......@@ -81,7 +81,7 @@ func (x GetRawChangesResponse_RawChange_Operation) String() string {
return proto.EnumName(GetRawChangesResponse_RawChange_Operation_name, int32(x))
}
func (GetRawChangesResponse_RawChange_Operation) EnumDescriptor() ([]byte, []int) {
return fileDescriptor10, []int{63, 0, 0}
return fileDescriptor11, []int{63, 0, 0}
}
type RepositoryExistsRequest struct {
......@@ -91,7 +91,7 @@ type RepositoryExistsRequest struct {
func (m *RepositoryExistsRequest) Reset() { *m = RepositoryExistsRequest{} }
func (m *RepositoryExistsRequest) String() string { return proto.CompactTextString(m) }
func (*RepositoryExistsRequest) ProtoMessage() {}
func (*RepositoryExistsRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{0} }
func (*RepositoryExistsRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{0} }
func (m *RepositoryExistsRequest) GetRepository() *Repository {
if m != nil {
......@@ -107,7 +107,7 @@ type RepositoryExistsResponse struct {
func (m *RepositoryExistsResponse) Reset() { *m = RepositoryExistsResponse{} }
func (m *RepositoryExistsResponse) String() string { return proto.CompactTextString(m) }
func (*RepositoryExistsResponse) ProtoMessage() {}
func (*RepositoryExistsResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{1} }
func (*RepositoryExistsResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{1} }
func (m *RepositoryExistsResponse) GetExists() bool {
if m != nil {
......@@ -123,7 +123,7 @@ type RepackIncrementalRequest struct {
func (m *RepackIncrementalRequest) Reset() { *m = RepackIncrementalRequest{} }
func (m *RepackIncrementalRequest) String() string { return proto.CompactTextString(m) }
func (*RepackIncrementalRequest) ProtoMessage() {}
func (*RepackIncrementalRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{2} }
func (*RepackIncrementalRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{2} }
func (m *RepackIncrementalRequest) GetRepository() *Repository {
if m != nil {
......@@ -138,7 +138,7 @@ type RepackIncrementalResponse struct {
func (m *RepackIncrementalResponse) Reset() { *m = RepackIncrementalResponse{} }
func (m *RepackIncrementalResponse) String() string { return proto.CompactTextString(m) }
func (*RepackIncrementalResponse) ProtoMessage() {}
func (*RepackIncrementalResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{3} }
func (*RepackIncrementalResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{3} }
type RepackFullRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -148,7 +148,7 @@ type RepackFullRequest struct {
func (m *RepackFullRequest) Reset() { *m = RepackFullRequest{} }
func (m *RepackFullRequest) String() string { return proto.CompactTextString(m) }
func (*RepackFullRequest) ProtoMessage() {}
func (*RepackFullRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{4} }
func (*RepackFullRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{4} }
func (m *RepackFullRequest) GetRepository() *Repository {
if m != nil {
......@@ -170,7 +170,7 @@ type RepackFullResponse struct {
func (m *RepackFullResponse) Reset() { *m = RepackFullResponse{} }
func (m *RepackFullResponse) String() string { return proto.CompactTextString(m) }
func (*RepackFullResponse) ProtoMessage() {}
func (*RepackFullResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{5} }
func (*RepackFullResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{5} }
type GarbageCollectRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -180,7 +180,7 @@ type GarbageCollectRequest struct {
func (m *GarbageCollectRequest) Reset() { *m = GarbageCollectRequest{} }
func (m *GarbageCollectRequest) String() string { return proto.CompactTextString(m) }
func (*GarbageCollectRequest) ProtoMessage() {}
func (*GarbageCollectRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{6} }
func (*GarbageCollectRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{6} }
func (m *GarbageCollectRequest) GetRepository() *Repository {
if m != nil {
......@@ -202,7 +202,7 @@ type GarbageCollectResponse struct {
func (m *GarbageCollectResponse) Reset() { *m = GarbageCollectResponse{} }
func (m *GarbageCollectResponse) String() string { return proto.CompactTextString(m) }
func (*GarbageCollectResponse) ProtoMessage() {}
func (*GarbageCollectResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{7} }
func (*GarbageCollectResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{7} }
type CleanupRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -211,7 +211,7 @@ type CleanupRequest struct {
func (m *CleanupRequest) Reset() { *m = CleanupRequest{} }
func (m *CleanupRequest) String() string { return proto.CompactTextString(m) }
func (*CleanupRequest) ProtoMessage() {}
func (*CleanupRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{8} }
func (*CleanupRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{8} }
func (m *CleanupRequest) GetRepository() *Repository {
if m != nil {
......@@ -226,7 +226,7 @@ type CleanupResponse struct {
func (m *CleanupResponse) Reset() { *m = CleanupResponse{} }
func (m *CleanupResponse) String() string { return proto.CompactTextString(m) }
func (*CleanupResponse) ProtoMessage() {}
func (*CleanupResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{9} }
func (*CleanupResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{9} }
type RepositorySizeRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -235,7 +235,7 @@ type RepositorySizeRequest struct {
func (m *RepositorySizeRequest) Reset() { *m = RepositorySizeRequest{} }
func (m *RepositorySizeRequest) String() string { return proto.CompactTextString(m) }
func (*RepositorySizeRequest) ProtoMessage() {}
func (*RepositorySizeRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{10} }
func (*RepositorySizeRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{10} }
func (m *RepositorySizeRequest) GetRepository() *Repository {
if m != nil {
......@@ -252,7 +252,7 @@ type RepositorySizeResponse struct {
func (m *RepositorySizeResponse) Reset() { *m = RepositorySizeResponse{} }
func (m *RepositorySizeResponse) String() string { return proto.CompactTextString(m) }
func (*RepositorySizeResponse) ProtoMessage() {}
func (*RepositorySizeResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{11} }
func (*RepositorySizeResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{11} }
func (m *RepositorySizeResponse) GetSize() int64 {
if m != nil {
......@@ -269,7 +269,7 @@ type ApplyGitattributesRequest struct {
func (m *ApplyGitattributesRequest) Reset() { *m = ApplyGitattributesRequest{} }
func (m *ApplyGitattributesRequest) String() string { return proto.CompactTextString(m) }
func (*ApplyGitattributesRequest) ProtoMessage() {}
func (*ApplyGitattributesRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{12} }
func (*ApplyGitattributesRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{12} }
func (m *ApplyGitattributesRequest) GetRepository() *Repository {
if m != nil {
......@@ -291,7 +291,7 @@ type ApplyGitattributesResponse struct {
func (m *ApplyGitattributesResponse) Reset() { *m = ApplyGitattributesResponse{} }
func (m *ApplyGitattributesResponse) String() string { return proto.CompactTextString(m) }
func (*ApplyGitattributesResponse) ProtoMessage() {}
func (*ApplyGitattributesResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{13} }
func (*ApplyGitattributesResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{13} }
type FetchRemoteRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -307,7 +307,7 @@ type FetchRemoteRequest struct {
func (m *FetchRemoteRequest) Reset() { *m = FetchRemoteRequest{} }
func (m *FetchRemoteRequest) String() string { return proto.CompactTextString(m) }
func (*FetchRemoteRequest) ProtoMessage() {}
func (*FetchRemoteRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{14} }
func (*FetchRemoteRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{14} }
func (m *FetchRemoteRequest) GetRepository() *Repository {
if m != nil {
......@@ -371,7 +371,7 @@ type FetchRemoteResponse struct {
func (m *FetchRemoteResponse) Reset() { *m = FetchRemoteResponse{} }
func (m *FetchRemoteResponse) String() string { return proto.CompactTextString(m) }
func (*FetchRemoteResponse) ProtoMessage() {}
func (*FetchRemoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{15} }
func (*FetchRemoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{15} }
type CreateRepositoryRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -380,7 +380,7 @@ type CreateRepositoryRequest struct {
func (m *CreateRepositoryRequest) Reset() { *m = CreateRepositoryRequest{} }
func (m *CreateRepositoryRequest) String() string { return proto.CompactTextString(m) }
func (*CreateRepositoryRequest) ProtoMessage() {}
func (*CreateRepositoryRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{16} }
func (*CreateRepositoryRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{16} }
func (m *CreateRepositoryRequest) GetRepository() *Repository {
if m != nil {
......@@ -395,7 +395,7 @@ type CreateRepositoryResponse struct {
func (m *CreateRepositoryResponse) Reset() { *m = CreateRepositoryResponse{} }
func (m *CreateRepositoryResponse) String() string { return proto.CompactTextString(m) }
func (*CreateRepositoryResponse) ProtoMessage() {}
func (*CreateRepositoryResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{17} }
func (*CreateRepositoryResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{17} }
type GetArchiveRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -407,7 +407,7 @@ type GetArchiveRequest struct {
func (m *GetArchiveRequest) Reset() { *m = GetArchiveRequest{} }
func (m *GetArchiveRequest) String() string { return proto.CompactTextString(m) }
func (*GetArchiveRequest) ProtoMessage() {}
func (*GetArchiveRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{18} }
func (*GetArchiveRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{18} }
func (m *GetArchiveRequest) GetRepository() *Repository {
if m != nil {
......@@ -444,7 +444,7 @@ type GetArchiveResponse struct {
func (m *GetArchiveResponse) Reset() { *m = GetArchiveResponse{} }
func (m *GetArchiveResponse) String() string { return proto.CompactTextString(m) }
func (*GetArchiveResponse) ProtoMessage() {}
func (*GetArchiveResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{19} }
func (*GetArchiveResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{19} }
func (m *GetArchiveResponse) GetData() []byte {
if m != nil {
......@@ -460,7 +460,7 @@ type HasLocalBranchesRequest struct {
func (m *HasLocalBranchesRequest) Reset() { *m = HasLocalBranchesRequest{} }
func (m *HasLocalBranchesRequest) String() string { return proto.CompactTextString(m) }
func (*HasLocalBranchesRequest) ProtoMessage() {}
func (*HasLocalBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{20} }
func (*HasLocalBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{20} }
func (m *HasLocalBranchesRequest) GetRepository() *Repository {
if m != nil {
......@@ -476,7 +476,7 @@ type HasLocalBranchesResponse struct {
func (m *HasLocalBranchesResponse) Reset() { *m = HasLocalBranchesResponse{} }
func (m *HasLocalBranchesResponse) String() string { return proto.CompactTextString(m) }
func (*HasLocalBranchesResponse) ProtoMessage() {}
func (*HasLocalBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{21} }
func (*HasLocalBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{21} }
func (m *HasLocalBranchesResponse) GetValue() bool {
if m != nil {
......@@ -495,7 +495,7 @@ type FetchSourceBranchRequest struct {
func (m *FetchSourceBranchRequest) Reset() { *m = FetchSourceBranchRequest{} }
func (m *FetchSourceBranchRequest) String() string { return proto.CompactTextString(m) }
func (*FetchSourceBranchRequest) ProtoMessage() {}
func (*FetchSourceBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{22} }
func (*FetchSourceBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{22} }
func (m *FetchSourceBranchRequest) GetRepository() *Repository {
if m != nil {
......@@ -532,7 +532,7 @@ type FetchSourceBranchResponse struct {
func (m *FetchSourceBranchResponse) Reset() { *m = FetchSourceBranchResponse{} }
func (m *FetchSourceBranchResponse) String() string { return proto.CompactTextString(m) }
func (*FetchSourceBranchResponse) ProtoMessage() {}
func (*FetchSourceBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{23} }
func (*FetchSourceBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{23} }
func (m *FetchSourceBranchResponse) GetResult() bool {
if m != nil {
......@@ -548,7 +548,7 @@ type FsckRequest struct {
func (m *FsckRequest) Reset() { *m = FsckRequest{} }
func (m *FsckRequest) String() string { return proto.CompactTextString(m) }
func (*FsckRequest) ProtoMessage() {}
func (*FsckRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{24} }
func (*FsckRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{24} }
func (m *FsckRequest) GetRepository() *Repository {
if m != nil {
......@@ -564,7 +564,7 @@ type FsckResponse struct {
func (m *FsckResponse) Reset() { *m = FsckResponse{} }
func (m *FsckResponse) String() string { return proto.CompactTextString(m) }
func (*FsckResponse) ProtoMessage() {}
func (*FsckResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{25} }
func (*FsckResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{25} }
func (m *FsckResponse) GetError() []byte {
if m != nil {
......@@ -579,13 +579,12 @@ type WriteRefRequest struct {
Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
OldRevision []byte `protobuf:"bytes,4,opt,name=old_revision,json=oldRevision,proto3" json:"old_revision,omitempty"`
Force bool `protobuf:"varint,5,opt,name=force" json:"force,omitempty"`
Shell bool `protobuf:"varint,6,opt,name=shell" json:"shell,omitempty"`
}
func (m *WriteRefRequest) Reset() { *m = WriteRefRequest{} }
func (m *WriteRefRequest) String() string { return proto.CompactTextString(m) }
func (*WriteRefRequest) ProtoMessage() {}
func (*WriteRefRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{26} }
func (*WriteRefRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{26} }
func (m *WriteRefRequest) GetRepository() *Repository {
if m != nil {
......@@ -622,28 +621,13 @@ func (m *WriteRefRequest) GetForce() bool {
return false
}
func (m *WriteRefRequest) GetShell() bool {
if m != nil {
return m.Shell
}
return false
}
type WriteRefResponse struct {
Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
}
func (m *WriteRefResponse) Reset() { *m = WriteRefResponse{} }
func (m *WriteRefResponse) String() string { return proto.CompactTextString(m) }
func (*WriteRefResponse) ProtoMessage() {}
func (*WriteRefResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{27} }
func (m *WriteRefResponse) GetError() []byte {
if m != nil {
return m.Error
}
return nil
}
func (*WriteRefResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{27} }
type FindMergeBaseRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -656,7 +640,7 @@ type FindMergeBaseRequest struct {
func (m *FindMergeBaseRequest) Reset() { *m = FindMergeBaseRequest{} }
func (m *FindMergeBaseRequest) String() string { return proto.CompactTextString(m) }
func (*FindMergeBaseRequest) ProtoMessage() {}
func (*FindMergeBaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{28} }
func (*FindMergeBaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{28} }
func (m *FindMergeBaseRequest) GetRepository() *Repository {
if m != nil {
......@@ -679,7 +663,7 @@ type FindMergeBaseResponse struct {
func (m *FindMergeBaseResponse) Reset() { *m = FindMergeBaseResponse{} }
func (m *FindMergeBaseResponse) String() string { return proto.CompactTextString(m) }
func (*FindMergeBaseResponse) ProtoMessage() {}
func (*FindMergeBaseResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{29} }
func (*FindMergeBaseResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{29} }
func (m *FindMergeBaseResponse) GetBase() string {
if m != nil {
......@@ -696,7 +680,7 @@ type CreateForkRequest struct {
func (m *CreateForkRequest) Reset() { *m = CreateForkRequest{} }
func (m *CreateForkRequest) String() string { return proto.CompactTextString(m) }
func (*CreateForkRequest) ProtoMessage() {}
func (*CreateForkRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{30} }
func (*CreateForkRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{30} }
func (m *CreateForkRequest) GetRepository() *Repository {
if m != nil {
......@@ -718,7 +702,7 @@ type CreateForkResponse struct {
func (m *CreateForkResponse) Reset() { *m = CreateForkResponse{} }
func (m *CreateForkResponse) String() string { return proto.CompactTextString(m) }
func (*CreateForkResponse) ProtoMessage() {}
func (*CreateForkResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{31} }
func (*CreateForkResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{31} }
type IsRebaseInProgressRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -728,7 +712,7 @@ type IsRebaseInProgressRequest struct {
func (m *IsRebaseInProgressRequest) Reset() { *m = IsRebaseInProgressRequest{} }
func (m *IsRebaseInProgressRequest) String() string { return proto.CompactTextString(m) }
func (*IsRebaseInProgressRequest) ProtoMessage() {}
func (*IsRebaseInProgressRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{32} }
func (*IsRebaseInProgressRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{32} }
func (m *IsRebaseInProgressRequest) GetRepository() *Repository {
if m != nil {
......@@ -751,7 +735,7 @@ type IsRebaseInProgressResponse struct {
func (m *IsRebaseInProgressResponse) Reset() { *m = IsRebaseInProgressResponse{} }
func (m *IsRebaseInProgressResponse) String() string { return proto.CompactTextString(m) }
func (*IsRebaseInProgressResponse) ProtoMessage() {}
func (*IsRebaseInProgressResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{33} }
func (*IsRebaseInProgressResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{33} }
func (m *IsRebaseInProgressResponse) GetInProgress() bool {
if m != nil {
......@@ -768,7 +752,7 @@ type IsSquashInProgressRequest struct {
func (m *IsSquashInProgressRequest) Reset() { *m = IsSquashInProgressRequest{} }
func (m *IsSquashInProgressRequest) String() string { return proto.CompactTextString(m) }
func (*IsSquashInProgressRequest) ProtoMessage() {}
func (*IsSquashInProgressRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{34} }
func (*IsSquashInProgressRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{34} }
func (m *IsSquashInProgressRequest) GetRepository() *Repository {
if m != nil {
......@@ -791,7 +775,7 @@ type IsSquashInProgressResponse struct {
func (m *IsSquashInProgressResponse) Reset() { *m = IsSquashInProgressResponse{} }
func (m *IsSquashInProgressResponse) String() string { return proto.CompactTextString(m) }
func (*IsSquashInProgressResponse) ProtoMessage() {}
func (*IsSquashInProgressResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{35} }
func (*IsSquashInProgressResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{35} }
func (m *IsSquashInProgressResponse) GetInProgress() bool {
if m != nil {
......@@ -809,7 +793,7 @@ func (m *CreateRepositoryFromURLRequest) Reset() { *m = CreateRepository
func (m *CreateRepositoryFromURLRequest) String() string { return proto.CompactTextString(m) }
func (*CreateRepositoryFromURLRequest) ProtoMessage() {}
func (*CreateRepositoryFromURLRequest) Descriptor() ([]byte, []int) {
return fileDescriptor10, []int{36}
return fileDescriptor11, []int{36}
}
func (m *CreateRepositoryFromURLRequest) GetRepository() *Repository {
......@@ -833,7 +817,7 @@ func (m *CreateRepositoryFromURLResponse) Reset() { *m = CreateRepositor
func (m *CreateRepositoryFromURLResponse) String() string { return proto.CompactTextString(m) }
func (*CreateRepositoryFromURLResponse) ProtoMessage() {}
func (*CreateRepositoryFromURLResponse) Descriptor() ([]byte, []int) {
return fileDescriptor10, []int{37}
return fileDescriptor11, []int{37}
}
type CreateBundleRequest struct {
......@@ -843,7 +827,7 @@ type CreateBundleRequest struct {
func (m *CreateBundleRequest) Reset() { *m = CreateBundleRequest{} }
func (m *CreateBundleRequest) String() string { return proto.CompactTextString(m) }
func (*CreateBundleRequest) ProtoMessage() {}
func (*CreateBundleRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{38} }
func (*CreateBundleRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{38} }
func (m *CreateBundleRequest) GetRepository() *Repository {
if m != nil {
......@@ -859,7 +843,7 @@ type CreateBundleResponse struct {
func (m *CreateBundleResponse) Reset() { *m = CreateBundleResponse{} }
func (m *CreateBundleResponse) String() string { return proto.CompactTextString(m) }
func (*CreateBundleResponse) ProtoMessage() {}
func (*CreateBundleResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{39} }
func (*CreateBundleResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{39} }
func (m *CreateBundleResponse) GetData() []byte {
if m != nil {
......@@ -876,7 +860,7 @@ type WriteConfigRequest struct {
func (m *WriteConfigRequest) Reset() { *m = WriteConfigRequest{} }
func (m *WriteConfigRequest) String() string { return proto.CompactTextString(m) }
func (*WriteConfigRequest) ProtoMessage() {}
func (*WriteConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{40} }
func (*WriteConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{40} }
func (m *WriteConfigRequest) GetRepository() *Repository {
if m != nil {
......@@ -899,7 +883,7 @@ type WriteConfigResponse struct {
func (m *WriteConfigResponse) Reset() { *m = WriteConfigResponse{} }
func (m *WriteConfigResponse) String() string { return proto.CompactTextString(m) }
func (*WriteConfigResponse) ProtoMessage() {}
func (*WriteConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{41} }
func (*WriteConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{41} }
func (m *WriteConfigResponse) GetError() []byte {
if m != nil {
......@@ -916,7 +900,7 @@ type SetConfigRequest struct {
func (m *SetConfigRequest) Reset() { *m = SetConfigRequest{} }
func (m *SetConfigRequest) String() string { return proto.CompactTextString(m) }
func (*SetConfigRequest) ProtoMessage() {}
func (*SetConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{42} }
func (*SetConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{42} }
func (m *SetConfigRequest) GetRepository() *Repository {
if m != nil {
......@@ -944,7 +928,7 @@ type SetConfigRequest_Entry struct {
func (m *SetConfigRequest_Entry) Reset() { *m = SetConfigRequest_Entry{} }
func (m *SetConfigRequest_Entry) String() string { return proto.CompactTextString(m) }
func (*SetConfigRequest_Entry) ProtoMessage() {}
func (*SetConfigRequest_Entry) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{42, 0} }
func (*SetConfigRequest_Entry) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{42, 0} }
type isSetConfigRequest_Entry_Value interface{ isSetConfigRequest_Entry_Value() }
......@@ -1086,7 +1070,7 @@ type SetConfigResponse struct {
func (m *SetConfigResponse) Reset() { *m = SetConfigResponse{} }
func (m *SetConfigResponse) String() string { return proto.CompactTextString(m) }
func (*SetConfigResponse) ProtoMessage() {}
func (*SetConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{43} }
func (*SetConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{43} }
type DeleteConfigRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -1096,7 +1080,7 @@ type DeleteConfigRequest struct {
func (m *DeleteConfigRequest) Reset() { *m = DeleteConfigRequest{} }
func (m *DeleteConfigRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteConfigRequest) ProtoMessage() {}
func (*DeleteConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{44} }
func (*DeleteConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{44} }
func (m *DeleteConfigRequest) GetRepository() *Repository {
if m != nil {
......@@ -1118,7 +1102,7 @@ type DeleteConfigResponse struct {
func (m *DeleteConfigResponse) Reset() { *m = DeleteConfigResponse{} }
func (m *DeleteConfigResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteConfigResponse) ProtoMessage() {}
func (*DeleteConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{45} }
func (*DeleteConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{45} }
type RestoreCustomHooksRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -1128,7 +1112,7 @@ type RestoreCustomHooksRequest struct {
func (m *RestoreCustomHooksRequest) Reset() { *m = RestoreCustomHooksRequest{} }
func (m *RestoreCustomHooksRequest) String() string { return proto.CompactTextString(m) }
func (*RestoreCustomHooksRequest) ProtoMessage() {}
func (*RestoreCustomHooksRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{46} }
func (*RestoreCustomHooksRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{46} }
func (m *RestoreCustomHooksRequest) GetRepository() *Repository {
if m != nil {
......@@ -1150,7 +1134,7 @@ type RestoreCustomHooksResponse struct {
func (m *RestoreCustomHooksResponse) Reset() { *m = RestoreCustomHooksResponse{} }
func (m *RestoreCustomHooksResponse) String() string { return proto.CompactTextString(m) }
func (*RestoreCustomHooksResponse) ProtoMessage() {}
func (*RestoreCustomHooksResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{47} }
func (*RestoreCustomHooksResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{47} }
type BackupCustomHooksRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -1159,7 +1143,7 @@ type BackupCustomHooksRequest struct {
func (m *BackupCustomHooksRequest) Reset() { *m = BackupCustomHooksRequest{} }
func (m *BackupCustomHooksRequest) String() string { return proto.CompactTextString(m) }
func (*BackupCustomHooksRequest) ProtoMessage() {}
func (*BackupCustomHooksRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{48} }
func (*BackupCustomHooksRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{48} }
func (m *BackupCustomHooksRequest) GetRepository() *Repository {
if m != nil {
......@@ -1175,7 +1159,7 @@ type BackupCustomHooksResponse struct {
func (m *BackupCustomHooksResponse) Reset() { *m = BackupCustomHooksResponse{} }
func (m *BackupCustomHooksResponse) String() string { return proto.CompactTextString(m) }
func (*BackupCustomHooksResponse) ProtoMessage() {}
func (*BackupCustomHooksResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{49} }
func (*BackupCustomHooksResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{49} }
func (m *BackupCustomHooksResponse) GetData() []byte {
if m != nil {
......@@ -1194,7 +1178,7 @@ func (m *CreateRepositoryFromBundleRequest) Reset() { *m = CreateReposit
func (m *CreateRepositoryFromBundleRequest) String() string { return proto.CompactTextString(m) }
func (*CreateRepositoryFromBundleRequest) ProtoMessage() {}
func (*CreateRepositoryFromBundleRequest) Descriptor() ([]byte, []int) {
return fileDescriptor10, []int{50}
return fileDescriptor11, []int{50}
}
func (m *CreateRepositoryFromBundleRequest) GetRepository() *Repository {
......@@ -1218,7 +1202,7 @@ func (m *CreateRepositoryFromBundleResponse) Reset() { *m = CreateReposi
func (m *CreateRepositoryFromBundleResponse) String() string { return proto.CompactTextString(m) }
func (*CreateRepositoryFromBundleResponse) ProtoMessage() {}
func (*CreateRepositoryFromBundleResponse) Descriptor() ([]byte, []int) {
return fileDescriptor10, []int{51}
return fileDescriptor11, []int{51}
}
type FindLicenseRequest struct {
......@@ -1228,7 +1212,7 @@ type FindLicenseRequest struct {
func (m *FindLicenseRequest) Reset() { *m = FindLicenseRequest{} }
func (m *FindLicenseRequest) String() string { return proto.CompactTextString(m) }
func (*FindLicenseRequest) ProtoMessage() {}
func (*FindLicenseRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{52} }
func (*FindLicenseRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{52} }
func (m *FindLicenseRequest) GetRepository() *Repository {
if m != nil {
......@@ -1244,7 +1228,7 @@ type FindLicenseResponse struct {
func (m *FindLicenseResponse) Reset() { *m = FindLicenseResponse{} }
func (m *FindLicenseResponse) String() string { return proto.CompactTextString(m) }
func (*FindLicenseResponse) ProtoMessage() {}
func (*FindLicenseResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{53} }
func (*FindLicenseResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{53} }
func (m *FindLicenseResponse) GetLicenseShortName() string {
if m != nil {
......@@ -1260,7 +1244,7 @@ type GetInfoAttributesRequest struct {
func (m *GetInfoAttributesRequest) Reset() { *m = GetInfoAttributesRequest{} }
func (m *GetInfoAttributesRequest) String() string { return proto.CompactTextString(m) }
func (*GetInfoAttributesRequest) ProtoMessage() {}
func (*GetInfoAttributesRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{54} }
func (*GetInfoAttributesRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{54} }
func (m *GetInfoAttributesRequest) GetRepository() *Repository {
if m != nil {
......@@ -1276,7 +1260,7 @@ type GetInfoAttributesResponse struct {
func (m *GetInfoAttributesResponse) Reset() { *m = GetInfoAttributesResponse{} }
func (m *GetInfoAttributesResponse) String() string { return proto.CompactTextString(m) }
func (*GetInfoAttributesResponse) ProtoMessage() {}
func (*GetInfoAttributesResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{55} }
func (*GetInfoAttributesResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{55} }
func (m *GetInfoAttributesResponse) GetAttributes() []byte {
if m != nil {
......@@ -1292,7 +1276,7 @@ type CalculateChecksumRequest struct {
func (m *CalculateChecksumRequest) Reset() { *m = CalculateChecksumRequest{} }
func (m *CalculateChecksumRequest) String() string { return proto.CompactTextString(m) }
func (*CalculateChecksumRequest) ProtoMessage() {}
func (*CalculateChecksumRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{56} }
func (*CalculateChecksumRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{56} }
func (m *CalculateChecksumRequest) GetRepository() *Repository {
if m != nil {
......@@ -1308,7 +1292,7 @@ type CalculateChecksumResponse struct {
func (m *CalculateChecksumResponse) Reset() { *m = CalculateChecksumResponse{} }
func (m *CalculateChecksumResponse) String() string { return proto.CompactTextString(m) }
func (*CalculateChecksumResponse) ProtoMessage() {}
func (*CalculateChecksumResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{57} }
func (*CalculateChecksumResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{57} }
func (m *CalculateChecksumResponse) GetChecksum() string {
if m != nil {
......@@ -1324,7 +1308,7 @@ type GetSnapshotRequest struct {
func (m *GetSnapshotRequest) Reset() { *m = GetSnapshotRequest{} }
func (m *GetSnapshotRequest) String() string { return proto.CompactTextString(m) }
func (*GetSnapshotRequest) ProtoMessage() {}
func (*GetSnapshotRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{58} }
func (*GetSnapshotRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{58} }
func (m *GetSnapshotRequest) GetRepository() *Repository {
if m != nil {
......@@ -1340,7 +1324,7 @@ type GetSnapshotResponse struct {
func (m *GetSnapshotResponse) Reset() { *m = GetSnapshotResponse{} }
func (m *GetSnapshotResponse) String() string { return proto.CompactTextString(m) }
func (*GetSnapshotResponse) ProtoMessage() {}
func (*GetSnapshotResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{59} }
func (*GetSnapshotResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{59} }
func (m *GetSnapshotResponse) GetData() []byte {
if m != nil {
......@@ -1359,7 +1343,7 @@ func (m *CreateRepositoryFromSnapshotRequest) Reset() { *m = CreateRepos
func (m *CreateRepositoryFromSnapshotRequest) String() string { return proto.CompactTextString(m) }
func (*CreateRepositoryFromSnapshotRequest) ProtoMessage() {}
func (*CreateRepositoryFromSnapshotRequest) Descriptor() ([]byte, []int) {
return fileDescriptor10, []int{60}
return fileDescriptor11, []int{60}
}
func (m *CreateRepositoryFromSnapshotRequest) GetRepository() *Repository {
......@@ -1390,7 +1374,7 @@ func (m *CreateRepositoryFromSnapshotResponse) Reset() { *m = CreateRepo
func (m *CreateRepositoryFromSnapshotResponse) String() string { return proto.CompactTextString(m) }
func (*CreateRepositoryFromSnapshotResponse) ProtoMessage() {}
func (*CreateRepositoryFromSnapshotResponse) Descriptor() ([]byte, []int) {
return fileDescriptor10, []int{61}
return fileDescriptor11, []int{61}
}
type GetRawChangesRequest struct {
......@@ -1402,7 +1386,7 @@ type GetRawChangesRequest struct {
func (m *GetRawChangesRequest) Reset() { *m = GetRawChangesRequest{} }
func (m *GetRawChangesRequest) String() string { return proto.CompactTextString(m) }
func (*GetRawChangesRequest) ProtoMessage() {}
func (*GetRawChangesRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{62} }
func (*GetRawChangesRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{62} }
func (m *GetRawChangesRequest) GetRepository() *Repository {
if m != nil {
......@@ -1432,7 +1416,7 @@ type GetRawChangesResponse struct {
func (m *GetRawChangesResponse) Reset() { *m = GetRawChangesResponse{} }
func (m *GetRawChangesResponse) String() string { return proto.CompactTextString(m) }
func (*GetRawChangesResponse) ProtoMessage() {}
func (*GetRawChangesResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{63} }
func (*GetRawChangesResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{63} }
func (m *GetRawChangesResponse) GetRawChanges() []*GetRawChangesResponse_RawChange {
if m != nil {
......@@ -1448,13 +1432,15 @@ type GetRawChangesResponse_RawChange struct {
OldPath string `protobuf:"bytes,4,opt,name=old_path,json=oldPath" json:"old_path,omitempty"`
Operation GetRawChangesResponse_RawChange_Operation `protobuf:"varint,5,opt,name=operation,enum=gitaly.GetRawChangesResponse_RawChange_Operation" json:"operation,omitempty"`
RawOperation string `protobuf:"bytes,6,opt,name=raw_operation,json=rawOperation" json:"raw_operation,omitempty"`
OldMode int32 `protobuf:"varint,7,opt,name=old_mode,json=oldMode" json:"old_mode,omitempty"`
NewMode int32 `protobuf:"varint,8,opt,name=new_mode,json=newMode" json:"new_mode,omitempty"`
}
func (m *GetRawChangesResponse_RawChange) Reset() { *m = GetRawChangesResponse_RawChange{} }
func (m *GetRawChangesResponse_RawChange) String() string { return proto.CompactTextString(m) }
func (*GetRawChangesResponse_RawChange) ProtoMessage() {}
func (*GetRawChangesResponse_RawChange) Descriptor() ([]byte, []int) {
return fileDescriptor10, []int{63, 0}
return fileDescriptor11, []int{63, 0}
}
func (m *GetRawChangesResponse_RawChange) GetBlobId() string {
......@@ -1499,6 +1485,20 @@ func (m *GetRawChangesResponse_RawChange) GetRawOperation() string {
return ""
}
func (m *GetRawChangesResponse_RawChange) GetOldMode() int32 {
if m != nil {
return m.OldMode
}
return 0
}
func (m *GetRawChangesResponse_RawChange) GetNewMode() int32 {
if m != nil {
return m.NewMode
}
return 0
}
type SearchFilesByNameRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Query string `protobuf:"bytes,2,opt,name=query" json:"query,omitempty"`
......@@ -1508,7 +1508,7 @@ type SearchFilesByNameRequest struct {
func (m *SearchFilesByNameRequest) Reset() { *m = SearchFilesByNameRequest{} }
func (m *SearchFilesByNameRequest) String() string { return proto.CompactTextString(m) }
func (*SearchFilesByNameRequest) ProtoMessage() {}
func (*SearchFilesByNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{64} }
func (*SearchFilesByNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{64} }
func (m *SearchFilesByNameRequest) GetRepository() *Repository {
if m != nil {
......@@ -1538,7 +1538,7 @@ type SearchFilesByNameResponse struct {
func (m *SearchFilesByNameResponse) Reset() { *m = SearchFilesByNameResponse{} }
func (m *SearchFilesByNameResponse) String() string { return proto.CompactTextString(m) }
func (*SearchFilesByNameResponse) ProtoMessage() {}
func (*SearchFilesByNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{65} }
func (*SearchFilesByNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{65} }
func (m *SearchFilesByNameResponse) GetFiles() [][]byte {
if m != nil {
......@@ -1556,7 +1556,7 @@ type SearchFilesByContentRequest struct {
func (m *SearchFilesByContentRequest) Reset() { *m = SearchFilesByContentRequest{} }
func (m *SearchFilesByContentRequest) String() string { return proto.CompactTextString(m) }
func (*SearchFilesByContentRequest) ProtoMessage() {}
func (*SearchFilesByContentRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{66} }
func (*SearchFilesByContentRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{66} }
func (m *SearchFilesByContentRequest) GetRepository() *Repository {
if m != nil {
......@@ -1586,7 +1586,7 @@ type SearchFilesByContentResponse struct {
func (m *SearchFilesByContentResponse) Reset() { *m = SearchFilesByContentResponse{} }
func (m *SearchFilesByContentResponse) String() string { return proto.CompactTextString(m) }
func (*SearchFilesByContentResponse) ProtoMessage() {}
func (*SearchFilesByContentResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{67} }
func (*SearchFilesByContentResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{67} }
func (m *SearchFilesByContentResponse) GetMatches() [][]byte {
if m != nil {
......@@ -3116,155 +3116,156 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{
Metadata: "repository-service.proto",
}
func init() { proto.RegisterFile("repository-service.proto", fileDescriptor10) }
var fileDescriptor10 = []byte{
// 2344 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x51, 0x73, 0xdb, 0xb8,
0x11, 0x96, 0x6c, 0xcb, 0xb2, 0x56, 0xca, 0x9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x9e, 0x7c, 0x1c, 0x73, 0xb8, 0x91, 0x73,
0xb8, 0x15, 0x7b, 0xc6, 0xab, 0x82, 0x9b, 0xd6, 0x5d, 0xa9, 0x82, 0x9b, 0xfa, 0xf6, 0x17, 0xdb,
0xc1, 0xd0, 0x48, 0x7b, 0x2a, 0xa2, 0x87, 0x2a, 0xbd, 0x33, 0xdf, 0xb0, 0xda, 0xa3, 0xc5, 0x4c,
0x11, 0x35, 0x3f, 0xc0, 0x7a, 0xe2, 0xfd, 0xac, 0x72, 0x23, 0xeb, 0x49, 0xaf, 0x72, 0x23, 0xf3,
0xf1, 0x2d, 0xa4, 0xbf, 0x03, 0x94, 0x84, 0x99, 0x50, 0xe4, 0x95, 0x98, 0x81, 0x73, 0xa9, 0x8a,
0x9c, 0x8d, 0x52, 0xed, 0x0a, 0xe3, 0x13, 0xb8, 0x92, 0x32, 0x3e, 0x0b, 0xc2, 0x52, 0xc6, 0x67,
0x82, 0x52, 0xdc, 0xf8, 0xcb, 0x55, 0xf1, 0x97, 0x91, 0xa7, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff,
0xcc, 0xc6, 0x1f, 0x98, 0x64, 0x22, 0x00, 0x00,
func init() { proto.RegisterFile("repository-service.proto", fileDescriptor11) }
var fileDescriptor11 = []byte{
// 2363 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x51, 0x6f, 0xdb, 0xc8,
0x11, 0x96, 0x2c, 0xcb, 0x92, 0x46, 0xca, 0x9d, 0xbc, 0x76, 0x1c, 0x8a, 0x71, 0xe2, 0x84, 0x09,
0xee, 0x72, 0x77, 0xa9, 0x7b, 0xe7, 0x3c, 0x34, 0x40, 0x5b, 0x1c, 0x6c, 0x49, 0xb6, 0x95, 0xc4,
0x8e, 0x4b, 0x27, 0x08, 0x1a, 0x5c, 0x20, 0xd0, 0xd4, 0xca, 0x22, 0x44, 0x71, 0x95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d,
0x83, 0xd8, 0x0e, 0x86, 0xcd, 0xb4, 0xa7, 0x22, 0x7a, 0xa0, 0xd2, 0x3b, 0xf3, 0x0d, 0xab, 0x3f,
0x5c, 0x3e, 0x29, 0xa2, 0xe6, 0x07, 0x58, 0x4f, 0xbc, 0x9f, 0x55, 0x6e, 0x64, 0x3d, 0xe9, 0x55,
0x6e, 0x64, 0x3e, 0xbe, 0x85, 0xf4, 0x77, 0x80, 0x92, 0xe0, 0x14, 0x8a, 0xbc, 0x12, 0x33, 0xd0,
0x31, 0x55, 0x91, 0xb3, 0xb1, 0xad, 0x47, 0xc2, 0xf8, 0x04, 0x1a, 0xa5, 0x8c, 0xcf, 0x02, 0xbe,
0x94, 0xf1, 0x99, 0x50, 0x16, 0x37, 0xfe, 0x62, 0x4d, 0xfc, 0x91, 0xe4, 0xc9, 0xbf, 0x03, 0x00,
0x00, 0xff, 0xff, 0xd6, 0x96, 0xf8, 0x6b, 0x7a, 0x22, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: server.proto
package gitaly
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
......@@ -23,7 +23,7 @@ type ServerInfoRequest struct {
func (m *ServerInfoRequest) Reset() { *m = ServerInfoRequest{} }
func (m *ServerInfoRequest) String() string { return proto.CompactTextString(m) }
func (*ServerInfoRequest) ProtoMessage() {}
func (*ServerInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{0} }
func (*ServerInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{0} }
type ServerInfoResponse struct {
ServerVersion string `protobuf:"bytes,1,opt,name=server_version,json=serverVersion" json:"server_version,omitempty"`
......@@ -34,7 +34,7 @@ type ServerInfoResponse struct {
func (m *ServerInfoResponse) Reset() { *m = ServerInfoResponse{} }
func (m *ServerInfoResponse) String() string { return proto.CompactTextString(m) }
func (*ServerInfoResponse) ProtoMessage() {}
func (*ServerInfoResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{1} }
func (*ServerInfoResponse) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{1} }
func (m *ServerInfoResponse) GetServerVersion() string {
if m != nil {
......@@ -67,7 +67,7 @@ func (m *ServerInfoResponse_StorageStatus) Reset() { *m = ServerInfoResp
func (m *ServerInfoResponse_StorageStatus) String() string { return proto.CompactTextString(m) }
func (*ServerInfoResponse_StorageStatus) ProtoMessage() {}
func (*ServerInfoResponse_StorageStatus) Descriptor() ([]byte, []int) {
return fileDescriptor11, []int{1, 0}
return fileDescriptor12, []int{1, 0}
}
func (m *ServerInfoResponse_StorageStatus) GetStorageName() string {
......@@ -169,9 +169,9 @@ var _ServerService_serviceDesc = grpc.ServiceDesc{
Metadata: "server.proto",
}
func init() { proto.RegisterFile("server.proto", fileDescriptor11) }
func init() { proto.RegisterFile("server.proto", fileDescriptor12) }
var fileDescriptor11 = []byte{
var fileDescriptor12 = []byte{
// 258 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0xcf, 0x4a, 0xc3, 0x40,
0x10, 0xc6, 0x6d, 0x03, 0xa5, 0x9d, 0x34, 0xfe, 0x19, 0x2f, 0x35, 0x08, 0xd6, 0x80, 0x90, 0x53,
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: shared.proto
package gitaly
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
......@@ -24,13 +24,20 @@ type Repository struct {
GitAlternateObjectDirectories []string `protobuf:"bytes,5,rep,name=git_alternate_object_directories,json=gitAlternateObjectDirectories" json:"git_alternate_object_directories,omitempty"`
// Used in callbacks to GitLab so that it knows what repository the event is
// associated with. May be left empty on RPC's that do not perform callbacks.
// During project creation, `gl_repository` may not be known.
GlRepository string `protobuf:"bytes,6,opt,name=gl_repository,json=glRepository" json:"gl_repository,omitempty"`
// The human-readable GitLab project name (e.g. gitlab-org/gitlab-ce).
// When hashed storage is use, this associates a project name with its
// path on disk. The name can change over time (e.g. when a project is
// renamed). This is primarily used for logging/debugging at the
// moment.
GlProjectName string `protobuf:"bytes,7,opt,name=gl_project_name,json=glProjectName" json:"gl_project_name,omitempty"`
}
func (m *Repository) Reset() { *m = Repository{} }
func (m *Repository) String() string { return proto.CompactTextString(m) }
func (*Repository) ProtoMessage() {}
func (*Repository) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{0} }
func (*Repository) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{0} }
func (m *Repository) GetStorageName() string {
if m != nil {
......@@ -67,6 +74,13 @@ func (m *Repository) GetGlRepository() string {
return ""
}
func (m *Repository) GetGlProjectName() string {
if m != nil {
return m.GlProjectName
}
return ""
}
// Corresponds to Gitlab::Git::Commit
type GitCommit struct {
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
......@@ -84,7 +98,7 @@ type GitCommit struct {
func (m *GitCommit) Reset() { *m = GitCommit{} }
func (m *GitCommit) String() string { return proto.CompactTextString(m) }
func (*GitCommit) ProtoMessage() {}
func (*GitCommit) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{1} }
func (*GitCommit) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{1} }
func (m *GitCommit) GetId() string {
if m != nil {
......@@ -144,7 +158,7 @@ type CommitAuthor struct {
func (m *CommitAuthor) Reset() { *m = CommitAuthor{} }
func (m *CommitAuthor) String() string { return proto.CompactTextString(m) }
func (*CommitAuthor) ProtoMessage() {}
func (*CommitAuthor) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{2} }
func (*CommitAuthor) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{2} }
func (m *CommitAuthor) GetName() []byte {
if m != nil {
......@@ -174,7 +188,7 @@ type ExitStatus struct {
func (m *ExitStatus) Reset() { *m = ExitStatus{} }
func (m *ExitStatus) String() string { return proto.CompactTextString(m) }
func (*ExitStatus) ProtoMessage() {}
func (*ExitStatus) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{3} }
func (*ExitStatus) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{3} }
func (m *ExitStatus) GetValue() int32 {
if m != nil {
......@@ -192,7 +206,7 @@ type Branch struct {
func (m *Branch) Reset() { *m = Branch{} }
func (m *Branch) String() string { return proto.CompactTextString(m) }
func (*Branch) ProtoMessage() {}
func (*Branch) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{4} }
func (*Branch) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{4} }
func (m *Branch) GetName() []byte {
if m != nil {
......@@ -223,7 +237,7 @@ type Tag struct {
func (m *Tag) Reset() { *m = Tag{} }
func (m *Tag) String() string { return proto.CompactTextString(m) }
func (*Tag) ProtoMessage() {}
func (*Tag) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{5} }
func (*Tag) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{5} }
func (m *Tag) GetName() []byte {
if m != nil {
......@@ -277,7 +291,7 @@ type User struct {
func (m *User) Reset() { *m = User{} }
func (m *User) String() string { return proto.CompactTextString(m) }
func (*User) ProtoMessage() {}
func (*User) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{6} }
func (*User) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{6} }
func (m *User) GetGlId() string {
if m != nil {
......@@ -317,44 +331,46 @@ func init() {
proto.RegisterType((*User)(nil), "gitaly.User")
}
func init() { proto.RegisterFile("shared.proto", fileDescriptor12) }
var fileDescriptor12 = []byte{
// 568 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x5f, 0x6f, 0xd3, 0x3e,
0x14, 0x55, 0xd2, 0xb4, 0x5b, 0x6f, 0xb3, 0x9f, 0x7e, 0x98, 0x3d, 0x44, 0x43, 0xd3, 0x4a, 0x78,
0xd9, 0x03, 0xca, 0x50, 0x91, 0x78, 0x1f, 0x7f, 0x34, 0x8d, 0x07, 0x40, 0xde, 0xf6, 0x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0xb7,
0xe1, 0xa2, 0x21, 0x0f, 0x45, 0x7e, 0x09, 0xa3, 0xd7, 0x46, 0xac, 0x16, 0xcb, 0xad, 0x73, 0xbc,
0x82, 0x3d, 0x12, 0x46, 0x22, 0x95, 0x41, 0xbb, 0x9f, 0x67, 0x32, 0x7b, 0xd4, 0xbf, 0xcf, 0xc6,
0x31, 0x9e, 0x06, 0x5e, 0xa8, 0xf2, 0x6f, 0x11, 0x0c, 0x2e, 0x85, 0xdc, 0xda, 0x33, 0x78, 0x1b,
0x6f, 0xbc, 0xfd, 0xed, 0x8e, 0xc1, 0x3f, 0xdd, 0xe1, 0x32, 0x51, 0xa3, 0xb5, 0x42, 0xa2, 0xb7,
0x39, 0xe5, 0x7d, 0xe9, 0xfe, 0x4f, 0xb7, 0x0c, 0x0e, 0x0c, 0xbd, 0x03, 0x93, 0x0e, 0x73, 0x26,
0xb8, 0x88, 0x90, 0x90, 0x12, 0x8d, 0x0f, 0xe6, 0x1f, 0x23, 0x12, 0x38, 0xf9, 0x35, 0x24, 0x57,
0x16, 0x0d, 0x7b, 0x0c, 0x43, 0xa9, 0xcb, 0x4d, 0x32, 0x13, 0xa9, 0xcf, 0xab, 0x8d, 0xc6, 0x78,
0x9b, 0x7f, 0x83, 0x87, 0xfe, 0x1d, 0xc1, 0x44, 0xea, 0xb2, 0xb5, 0xee, 0xd3, 0xd4, 0xd8, 0x7d,
0x43, 0x90, 0xfa, 0xaa, 0x43, 0xe6, 0x23, 0x6f, 0xe5, 0xcb, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff,
0xf1, 0xe6, 0xc7, 0x44, 0x47, 0x04, 0x00, 0x00,
func init() { proto.RegisterFile("shared.proto", fileDescriptor13) }
var fileDescriptor13 = []byte{
// 594 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xc1, 0x6e, 0xd4, 0x3c,
0x10, 0xd6, 0x66, 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x0c, 0x1f, 0x37, 0x43, 0x1b, 0xcd, 0x7c,
0x3e, 0xf6, 0xb6, 0xbe, 0xfc, 0x1e, 0x00, 0x00, 0xff, 0xff, 0xce, 0x46, 0x02, 0xaa, 0x7b, 0x04,
0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: smarthttp.proto
package gitaly
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
......@@ -28,7 +28,7 @@ type InfoRefsRequest struct {
func (m *InfoRefsRequest) Reset() { *m = InfoRefsRequest{} }
func (m *InfoRefsRequest) String() string { return proto.CompactTextString(m) }
func (*InfoRefsRequest) ProtoMessage() {}
func (*InfoRefsRequest) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{0} }
func (*InfoRefsRequest) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{0} }
func (m *InfoRefsRequest) GetRepository() *Repository {
if m != nil {
......@@ -58,7 +58,7 @@ type InfoRefsResponse struct {
func (m *InfoRefsResponse) Reset() { *m = InfoRefsResponse{} }
func (m *InfoRefsResponse) String() string { return proto.CompactTextString(m) }
func (*InfoRefsResponse) ProtoMessage() {}
func (*InfoRefsResponse) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{1} }
func (*InfoRefsResponse) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{1} }
func (m *InfoRefsResponse) GetData() []byte {
if m != nil {
......@@ -81,7 +81,7 @@ type PostUploadPackRequest struct {
func (m *PostUploadPackRequest) Reset() { *m = PostUploadPackRequest{} }
func (m *PostUploadPackRequest) String() string { return proto.CompactTextString(m) }
func (*PostUploadPackRequest) ProtoMessage() {}
func (*PostUploadPackRequest) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{2} }
func (*PostUploadPackRequest) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{2} }
func (m *PostUploadPackRequest) GetRepository() *Repository {
if m != nil {
......@@ -119,7 +119,7 @@ type PostUploadPackResponse struct {
func (m *PostUploadPackResponse) Reset() { *m = PostUploadPackResponse{} }
func (m *PostUploadPackResponse) String() string { return proto.CompactTextString(m) }
func (*PostUploadPackResponse) ProtoMessage() {}
func (*PostUploadPackResponse) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{3} }
func (*PostUploadPackResponse) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{3} }
func (m *PostUploadPackResponse) GetData() []byte {
if m != nil {
......@@ -147,7 +147,7 @@ type PostReceivePackRequest struct {
func (m *PostReceivePackRequest) Reset() { *m = PostReceivePackRequest{} }
func (m *PostReceivePackRequest) String() string { return proto.CompactTextString(m) }
func (*PostReceivePackRequest) ProtoMessage() {}
func (*PostReceivePackRequest) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{4} }
func (*PostReceivePackRequest) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{4} }
func (m *PostReceivePackRequest) GetRepository() *Repository {
if m != nil {
......@@ -206,7 +206,7 @@ type PostReceivePackResponse struct {
func (m *PostReceivePackResponse) Reset() { *m = PostReceivePackResponse{} }
func (m *PostReceivePackResponse) String() string { return proto.CompactTextString(m) }
func (*PostReceivePackResponse) ProtoMessage() {}
func (*PostReceivePackResponse) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{5} }
func (*PostReceivePackResponse) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{5} }
func (m *PostReceivePackResponse) GetData() []byte {
if m != nil {
......@@ -521,9 +521,9 @@ var _SmartHTTPService_serviceDesc = grpc.ServiceDesc{
Metadata: "smarthttp.proto",
}
func init() { proto.RegisterFile("smarthttp.proto", fileDescriptor13) }
func init() { proto.RegisterFile("smarthttp.proto", fileDescriptor14) }
var fileDescriptor13 = []byte{
var fileDescriptor14 = []byte{
// 423 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x53, 0xd1, 0x8a, 0xd3, 0x40,
0x14, 0x75, 0xd2, 0x6e, 0x65, 0x6f, 0xa3, 0x2d, 0x77, 0xd1, 0x0d, 0x01, 0xdd, 0x1a, 0x41, 0xf2,
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: ssh.proto
package gitaly
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
......@@ -31,7 +31,7 @@ type SSHUploadPackRequest struct {
func (m *SSHUploadPackRequest) Reset() { *m = SSHUploadPackRequest{} }
func (m *SSHUploadPackRequest) String() string { return proto.CompactTextString(m) }
func (*SSHUploadPackRequest) ProtoMessage() {}
func (*SSHUploadPackRequest) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{0} }
func (*SSHUploadPackRequest) Descriptor() ([]byte, []int) { return fileDescriptor15, []int{0} }
func (m *SSHUploadPackRequest) GetRepository() *Repository {
if m != nil {
......@@ -74,7 +74,7 @@ type SSHUploadPackResponse struct {
func (m *SSHUploadPackResponse) Reset() { *m = SSHUploadPackResponse{} }
func (m *SSHUploadPackResponse) String() string { return proto.CompactTextString(m) }
func (*SSHUploadPackResponse) ProtoMessage() {}
func (*SSHUploadPackResponse) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{1} }
func (*SSHUploadPackResponse) Descriptor() ([]byte, []int) { return fileDescriptor15, []int{1} }
func (m *SSHUploadPackResponse) GetStdout() []byte {
if m != nil {
......@@ -116,7 +116,7 @@ type SSHReceivePackRequest struct {
func (m *SSHReceivePackRequest) Reset() { *m = SSHReceivePackRequest{} }
func (m *SSHReceivePackRequest) String() string { return proto.CompactTextString(m) }
func (*SSHReceivePackRequest) ProtoMessage() {}
func (*SSHReceivePackRequest) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{2} }
func (*SSHReceivePackRequest) Descriptor() ([]byte, []int) { return fileDescriptor15, []int{2} }
func (m *SSHReceivePackRequest) GetRepository() *Repository {
if m != nil {
......@@ -180,7 +180,7 @@ type SSHReceivePackResponse struct {
func (m *SSHReceivePackResponse) Reset() { *m = SSHReceivePackResponse{} }
func (m *SSHReceivePackResponse) String() string { return proto.CompactTextString(m) }
func (*SSHReceivePackResponse) ProtoMessage() {}
func (*SSHReceivePackResponse) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{3} }
func (*SSHReceivePackResponse) Descriptor() ([]byte, []int) { return fileDescriptor15, []int{3} }
func (m *SSHReceivePackResponse) GetStdout() []byte {
if m != nil {
......@@ -213,7 +213,7 @@ type SSHUploadArchiveRequest struct {
func (m *SSHUploadArchiveRequest) Reset() { *m = SSHUploadArchiveRequest{} }
func (m *SSHUploadArchiveRequest) String() string { return proto.CompactTextString(m) }
func (*SSHUploadArchiveRequest) ProtoMessage() {}
func (*SSHUploadArchiveRequest) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{4} }
func (*SSHUploadArchiveRequest) Descriptor() ([]byte, []int) { return fileDescriptor15, []int{4} }
func (m *SSHUploadArchiveRequest) GetRepository() *Repository {
if m != nil {
......@@ -241,7 +241,7 @@ type SSHUploadArchiveResponse struct {
func (m *SSHUploadArchiveResponse) Reset() { *m = SSHUploadArchiveResponse{} }
func (m *SSHUploadArchiveResponse) String() string { return proto.CompactTextString(m) }
func (*SSHUploadArchiveResponse) ProtoMessage() {}
func (*SSHUploadArchiveResponse) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{5} }
func (*SSHUploadArchiveResponse) Descriptor() ([]byte, []int) { return fileDescriptor15, []int{5} }
func (m *SSHUploadArchiveResponse) GetStdout() []byte {
if m != nil {
......@@ -513,9 +513,9 @@ var _SSHService_serviceDesc = grpc.ServiceDesc{
Metadata: "ssh.proto",
}
func init() { proto.RegisterFile("ssh.proto", fileDescriptor14) }
func init() { proto.RegisterFile("ssh.proto", fileDescriptor15) }
var fileDescriptor14 = []byte{
var fileDescriptor15 = []byte{
// 452 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x53, 0xc1, 0x6e, 0xd3, 0x40,
0x10, 0xc5, 0x89, 0x13, 0xc8, 0xc4, 0x45, 0xd1, 0xd2, 0x16, 0x2b, 0x02, 0x6a, 0xcc, 0xc5, 0x07,
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: storage.proto
package gitaly
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
......@@ -17,6 +17,46 @@ var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type ListDirectoriesRequest struct {
StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName" json:"storage_name,omitempty"`
Depth uint32 `protobuf:"varint,2,opt,name=depth" json:"depth,omitempty"`
}
func (m *ListDirectoriesRequest) Reset() { *m = ListDirectoriesRequest{} }
func (m *ListDirectoriesRequest) String() string { return proto.CompactTextString(m) }
func (*ListDirectoriesRequest) ProtoMessage() {}
func (*ListDirectoriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{0} }
func (m *ListDirectoriesRequest) GetStorageName() string {
if m != nil {
return m.StorageName
}
return ""
}
func (m *ListDirectoriesRequest) GetDepth() uint32 {
if m != nil {
return m.Depth
}
return 0
}
type ListDirectoriesResponse struct {
Paths []string `protobuf:"bytes,1,rep,name=paths" json:"paths,omitempty"`
}
func (m *ListDirectoriesResponse) Reset() { *m = ListDirectoriesResponse{} }
func (m *ListDirectoriesResponse) String() string { return proto.CompactTextString(m) }
func (*ListDirectoriesResponse) ProtoMessage() {}
func (*ListDirectoriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{1} }
func (m *ListDirectoriesResponse) GetPaths() []string {
if m != nil {
return m.Paths
}
return nil
}
type DeleteAllRepositoriesRequest struct {
StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName" json:"storage_name,omitempty"`
}
......@@ -24,7 +64,7 @@ type DeleteAllRepositoriesRequest struct {
func (m *DeleteAllRepositoriesRequest) Reset() { *m = DeleteAllRepositoriesRequest{} }
func (m *DeleteAllRepositoriesRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteAllRepositoriesRequest) ProtoMessage() {}
func (*DeleteAllRepositoriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor15, []int{0} }
func (*DeleteAllRepositoriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{2} }
func (m *DeleteAllRepositoriesRequest) GetStorageName() string {
if m != nil {
......@@ -39,9 +79,11 @@ type DeleteAllRepositoriesResponse struct {
func (m *DeleteAllRepositoriesResponse) Reset() { *m = DeleteAllRepositoriesResponse{} }
func (m *DeleteAllRepositoriesResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteAllRepositoriesResponse) ProtoMessage() {}
func (*DeleteAllRepositoriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor15, []int{1} }
func (*DeleteAllRepositoriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{3} }
func init() {
proto.RegisterType((*ListDirectoriesRequest)(nil), "gitaly.ListDirectoriesRequest")
proto.RegisterType((*ListDirectoriesResponse)(nil), "gitaly.ListDirectoriesResponse")
proto.RegisterType((*DeleteAllRepositoriesRequest)(nil), "gitaly.DeleteAllRepositoriesRequest")
proto.RegisterType((*DeleteAllRepositoriesResponse)(nil), "gitaly.DeleteAllRepositoriesResponse")
}
......@@ -57,6 +99,7 @@ const _ = grpc.SupportPackageIsVersion4
// Client API for StorageService service
type StorageServiceClient interface {
ListDirectories(ctx context.Context, in *ListDirectoriesRequest, opts ...grpc.CallOption) (StorageService_ListDirectoriesClient, error)
DeleteAllRepositories(ctx context.Context, in *DeleteAllRepositoriesRequest, opts ...grpc.CallOption) (*DeleteAllRepositoriesResponse, error)
}
......@@ -68,6 +111,38 @@ func NewStorageServiceClient(cc *grpc.ClientConn) StorageServiceClient {
return &storageServiceClient{cc}
}
func (c *storageServiceClient) ListDirectories(ctx context.Context, in *ListDirectoriesRequest, opts ...grpc.CallOption) (StorageService_ListDirectoriesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_StorageService_serviceDesc.Streams[0], c.cc, "/gitaly.StorageService/ListDirectories", opts...)
if err != nil {
return nil, err
}
x := &storageServiceListDirectoriesClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type StorageService_ListDirectoriesClient interface {
Recv() (*ListDirectoriesResponse, error)
grpc.ClientStream
}
type storageServiceListDirectoriesClient struct {
grpc.ClientStream
}
func (x *storageServiceListDirectoriesClient) Recv() (*ListDirectoriesResponse, error) {
m := new(ListDirectoriesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *storageServiceClient) DeleteAllRepositories(ctx context.Context, in *DeleteAllRepositoriesRequest, opts ...grpc.CallOption) (*DeleteAllRepositoriesResponse, error) {
out := new(DeleteAllRepositoriesResponse)
err := grpc.Invoke(ctx, "/gitaly.StorageService/DeleteAllRepositories", in, out, c.cc, opts...)
......@@ -80,6 +155,7 @@ func (c *storageServiceClient) DeleteAllRepositories(ctx context.Context, in *De
// Server API for StorageService service
type StorageServiceServer interface {
ListDirectories(*ListDirectoriesRequest, StorageService_ListDirectoriesServer) error
DeleteAllRepositories(context.Context, *DeleteAllRepositoriesRequest) (*DeleteAllRepositoriesResponse, error)
}
......@@ -87,6 +163,27 @@ func RegisterStorageServiceServer(s *grpc.Server, srv StorageServiceServer) {
s.RegisterService(&_StorageService_serviceDesc, srv)
}
func _StorageService_ListDirectories_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(ListDirectoriesRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(StorageServiceServer).ListDirectories(m, &storageServiceListDirectoriesServer{stream})
}
type StorageService_ListDirectoriesServer interface {
Send(*ListDirectoriesResponse) error
grpc.ServerStream
}
type storageServiceListDirectoriesServer struct {
grpc.ServerStream
}
func (x *storageServiceListDirectoriesServer) Send(m *ListDirectoriesResponse) error {
return x.ServerStream.SendMsg(m)
}
func _StorageService_DeleteAllRepositories_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteAllRepositoriesRequest)
if err := dec(in); err != nil {
......@@ -114,22 +211,33 @@ var _StorageService_serviceDesc = grpc.ServiceDesc{
Handler: _StorageService_DeleteAllRepositories_Handler,
},
},
Streams: []grpc.StreamDesc{},
Streams: []grpc.StreamDesc{
{
StreamName: "ListDirectories",
Handler: _StorageService_ListDirectories_Handler,
ServerStreams: true,
},
},
Metadata: "storage.proto",
}
func init() { proto.RegisterFile("storage.proto", fileDescriptor15) }
func init() { proto.RegisterFile("storage.proto", fileDescriptor16) }
var fileDescriptor15 = []byte{
// 159 bytes of a gzipped FileDescriptorProto
var fileDescriptor16 = []byte{
// 238 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2d, 0x2e, 0xc9, 0x2f,
0x4a, 0x4c, 0x4f, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x4b, 0xcf, 0x2c, 0x49, 0xcc,
0xa9, 0x54, 0x72, 0xe4, 0x92, 0x71, 0x49, 0xcd, 0x49, 0x2d, 0x49, 0x75, 0xcc, 0xc9, 0x09, 0x4a,
0x2d, 0xc8, 0x2f, 0xce, 0x2c, 0xc9, 0x2f, 0xca, 0x4c, 0x2d, 0x0e, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d,
0x2e, 0x11, 0x52, 0xe4, 0xe2, 0x81, 0x6a, 0x8c, 0xcf, 0x4b, 0xcc, 0x4d, 0x95, 0x60, 0x54, 0x60,
0xd4, 0xe0, 0x0c, 0xe2, 0x86, 0x8a, 0xf9, 0x25, 0xe6, 0xa6, 0x2a, 0xc9, 0x73, 0xc9, 0xe2, 0x30,
0xa2, 0xb8, 0x20, 0x3f, 0xaf, 0x38, 0xd5, 0xa8, 0x82, 0x8b, 0x2f, 0x18, 0xa2, 0x3e, 0x38, 0xb5,
0xa8, 0x2c, 0x33, 0x39, 0x55, 0x28, 0x8d, 0x4b, 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b9, 0x53, 0x48, 0x4e, 0x0f, 0x12, 0x2c, 0x7a, 0xd8, 0xc3, 0x44, 0x4a, 0x1e,
0xa7, 0x3c, 0xc4, 0x1a, 0x25, 0x06, 0x03, 0x46, 0xa1, 0x34, 0x2e, 0x51, 0xac, 0x6e, 0x11, 0x52,
0x81, 0xe9, 0xc6, 0xe7, 0x5b, 0x29, 0x55, 0x02, 0xaa, 0x60, 0x36, 0x25, 0xb1, 0x81, 0x63, 0xd2,
0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xb8, 0xfc, 0x6c, 0x48, 0xda, 0x01, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: wiki.proto
package gitaly
package gitalypb
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
......@@ -28,7 +28,7 @@ type WikiCommitDetails struct {
func (m *WikiCommitDetails) Reset() { *m = WikiCommitDetails{} }
func (m *WikiCommitDetails) String() string { return proto.CompactTextString(m) }
func (*WikiCommitDetails) ProtoMessage() {}
func (*WikiCommitDetails) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{0} }
func (*WikiCommitDetails) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{0} }
func (m *WikiCommitDetails) GetName() []byte {
if m != nil {
......@@ -73,7 +73,7 @@ type WikiPageVersion struct {
func (m *WikiPageVersion) Reset() { *m = WikiPageVersion{} }
func (m *WikiPageVersion) String() string { return proto.CompactTextString(m) }
func (*WikiPageVersion) ProtoMessage() {}
func (*WikiPageVersion) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{1} }
func (*WikiPageVersion) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{1} }
func (m *WikiPageVersion) GetCommit() *GitCommit {
if m != nil {
......@@ -105,7 +105,7 @@ type WikiPage struct {
func (m *WikiPage) Reset() { *m = WikiPage{} }
func (m *WikiPage) String() string { return proto.CompactTextString(m) }
func (*WikiPage) ProtoMessage() {}
func (*WikiPage) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{2} }
func (*WikiPage) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{2} }
func (m *WikiPage) GetVersion() *WikiPageVersion {
if m != nil {
......@@ -173,7 +173,7 @@ type WikiGetPageVersionsRequest struct {
func (m *WikiGetPageVersionsRequest) Reset() { *m = WikiGetPageVersionsRequest{} }
func (m *WikiGetPageVersionsRequest) String() string { return proto.CompactTextString(m) }
func (*WikiGetPageVersionsRequest) ProtoMessage() {}
func (*WikiGetPageVersionsRequest) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{3} }
func (*WikiGetPageVersionsRequest) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{3} }
func (m *WikiGetPageVersionsRequest) GetRepository() *Repository {
if m != nil {
......@@ -210,7 +210,7 @@ type WikiGetPageVersionsResponse struct {
func (m *WikiGetPageVersionsResponse) Reset() { *m = WikiGetPageVersionsResponse{} }
func (m *WikiGetPageVersionsResponse) String() string { return proto.CompactTextString(m) }
func (*WikiGetPageVersionsResponse) ProtoMessage() {}
func (*WikiGetPageVersionsResponse) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{4} }
func (*WikiGetPageVersionsResponse) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{4} }
func (m *WikiGetPageVersionsResponse) GetVersions() []*WikiPageVersion {
if m != nil {
......@@ -233,7 +233,7 @@ type WikiWritePageRequest struct {
func (m *WikiWritePageRequest) Reset() { *m = WikiWritePageRequest{} }
func (m *WikiWritePageRequest) String() string { return proto.CompactTextString(m) }
func (*WikiWritePageRequest) ProtoMessage() {}
func (*WikiWritePageRequest) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{5} }
func (*WikiWritePageRequest) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{5} }
func (m *WikiWritePageRequest) GetRepository() *Repository {
if m != nil {
......@@ -277,7 +277,7 @@ type WikiWritePageResponse struct {
func (m *WikiWritePageResponse) Reset() { *m = WikiWritePageResponse{} }
func (m *WikiWritePageResponse) String() string { return proto.CompactTextString(m) }
func (*WikiWritePageResponse) ProtoMessage() {}
func (*WikiWritePageResponse) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{6} }
func (*WikiWritePageResponse) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{6} }
func (m *WikiWritePageResponse) GetDuplicateError() []byte {
if m != nil {
......@@ -300,7 +300,7 @@ type WikiUpdatePageRequest struct {
func (m *WikiUpdatePageRequest) Reset() { *m = WikiUpdatePageRequest{} }
func (m *WikiUpdatePageRequest) String() string { return proto.CompactTextString(m) }
func (*WikiUpdatePageRequest) ProtoMessage() {}
func (*WikiUpdatePageRequest) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{7} }
func (*WikiUpdatePageRequest) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{7} }
func (m *WikiUpdatePageRequest) GetRepository() *Repository {
if m != nil {
......@@ -351,7 +351,7 @@ type WikiUpdatePageResponse struct {
func (m *WikiUpdatePageResponse) Reset() { *m = WikiUpdatePageResponse{} }
func (m *WikiUpdatePageResponse) String() string { return proto.CompactTextString(m) }
func (*WikiUpdatePageResponse) ProtoMessage() {}
func (*WikiUpdatePageResponse) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{8} }
func (*WikiUpdatePageResponse) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{8} }
func (m *WikiUpdatePageResponse) GetError() []byte {
if m != nil {
......@@ -369,7 +369,7 @@ type WikiDeletePageRequest struct {
func (m *WikiDeletePageRequest) Reset() { *m = WikiDeletePageRequest{} }
func (m *WikiDeletePageRequest) String() string { return proto.CompactTextString(m) }
func (*WikiDeletePageRequest) ProtoMessage() {}
func (*WikiDeletePageRequest) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{9} }
func (*WikiDeletePageRequest) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{9} }
func (m *WikiDeletePageRequest) GetRepository() *Repository {
if m != nil {
......@@ -398,7 +398,7 @@ type WikiDeletePageResponse struct {
func (m *WikiDeletePageResponse) Reset() { *m = WikiDeletePageResponse{} }
func (m *WikiDeletePageResponse) String() string { return proto.CompactTextString(m) }
func (*WikiDeletePageResponse) ProtoMessage() {}
func (*WikiDeletePageResponse) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{10} }
func (*WikiDeletePageResponse) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{10} }
type WikiFindPageRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -410,7 +410,7 @@ type WikiFindPageRequest struct {
func (m *WikiFindPageRequest) Reset() { *m = WikiFindPageRequest{} }
func (m *WikiFindPageRequest) String() string { return proto.CompactTextString(m) }
func (*WikiFindPageRequest) ProtoMessage() {}
func (*WikiFindPageRequest) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{11} }
func (*WikiFindPageRequest) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{11} }
func (m *WikiFindPageRequest) GetRepository() *Repository {
if m != nil {
......@@ -449,7 +449,7 @@ type WikiFindPageResponse struct {
func (m *WikiFindPageResponse) Reset() { *m = WikiFindPageResponse{} }
func (m *WikiFindPageResponse) String() string { return proto.CompactTextString(m) }
func (*WikiFindPageResponse) ProtoMessage() {}
func (*WikiFindPageResponse) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{12} }
func (*WikiFindPageResponse) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{12} }
func (m *WikiFindPageResponse) GetPage() *WikiPage {
if m != nil {
......@@ -468,7 +468,7 @@ type WikiFindFileRequest struct {
func (m *WikiFindFileRequest) Reset() { *m = WikiFindFileRequest{} }
func (m *WikiFindFileRequest) String() string { return proto.CompactTextString(m) }
func (*WikiFindFileRequest) ProtoMessage() {}
func (*WikiFindFileRequest) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{13} }
func (*WikiFindFileRequest) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{13} }
func (m *WikiFindFileRequest) GetRepository() *Repository {
if m != nil {
......@@ -502,7 +502,7 @@ type WikiFindFileResponse struct {
func (m *WikiFindFileResponse) Reset() { *m = WikiFindFileResponse{} }
func (m *WikiFindFileResponse) String() string { return proto.CompactTextString(m) }
func (*WikiFindFileResponse) ProtoMessage() {}
func (*WikiFindFileResponse) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{14} }
func (*WikiFindFileResponse) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{14} }
func (m *WikiFindFileResponse) GetName() []byte {
if m != nil {
......@@ -541,7 +541,7 @@ type WikiGetAllPagesRequest struct {
func (m *WikiGetAllPagesRequest) Reset() { *m = WikiGetAllPagesRequest{} }
func (m *WikiGetAllPagesRequest) String() string { return proto.CompactTextString(m) }
func (*WikiGetAllPagesRequest) ProtoMessage() {}
func (*WikiGetAllPagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{15} }
func (*WikiGetAllPagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{15} }
func (m *WikiGetAllPagesRequest) GetRepository() *Repository {
if m != nil {
......@@ -567,7 +567,7 @@ type WikiGetAllPagesResponse struct {
func (m *WikiGetAllPagesResponse) Reset() { *m = WikiGetAllPagesResponse{} }
func (m *WikiGetAllPagesResponse) String() string { return proto.CompactTextString(m) }
func (*WikiGetAllPagesResponse) ProtoMessage() {}
func (*WikiGetAllPagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{16} }
func (*WikiGetAllPagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{16} }
func (m *WikiGetAllPagesResponse) GetPage() *WikiPage {
if m != nil {
......@@ -593,7 +593,7 @@ type WikiGetFormattedDataRequest struct {
func (m *WikiGetFormattedDataRequest) Reset() { *m = WikiGetFormattedDataRequest{} }
func (m *WikiGetFormattedDataRequest) String() string { return proto.CompactTextString(m) }
func (*WikiGetFormattedDataRequest) ProtoMessage() {}
func (*WikiGetFormattedDataRequest) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{17} }
func (*WikiGetFormattedDataRequest) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{17} }
func (m *WikiGetFormattedDataRequest) GetRepository() *Repository {
if m != nil {
......@@ -630,7 +630,7 @@ type WikiGetFormattedDataResponse struct {
func (m *WikiGetFormattedDataResponse) Reset() { *m = WikiGetFormattedDataResponse{} }
func (m *WikiGetFormattedDataResponse) String() string { return proto.CompactTextString(m) }
func (*WikiGetFormattedDataResponse) ProtoMessage() {}
func (*WikiGetFormattedDataResponse) Descriptor() ([]byte, []int) { return fileDescriptor16, []int{18} }
func (*WikiGetFormattedDataResponse) Descriptor() ([]byte, []int) { return fileDescriptor17, []int{18} }
func (m *WikiGetFormattedDataResponse) GetData() []byte {
if m != nil {
......@@ -1170,9 +1170,9 @@ var _WikiService_serviceDesc = grpc.ServiceDesc{
Metadata: "wiki.proto",
}
func init() { proto.RegisterFile("wiki.proto", fileDescriptor16) }
func init() { proto.RegisterFile("wiki.proto", fileDescriptor17) }
var fileDescriptor16 = []byte{
var fileDescriptor17 = []byte{
// 937 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcd, 0x6e, 0xe4, 0x44,
0x10, 0x5e, 0x67, 0xfe, 0x3c, 0x95, 0x9f, 0x65, 0x9b, 0x65, 0xe3, 0x75, 0x42, 0x88, 0x9a, 0x95,
......
package helper
import (
"io"
pb "gitlab.com/gitlab-org/gitaly-proto/go"
)
type InfoRefsClient interface {
Recv() (*pb.InfoRefsResponse, error)
}
type InfoRefsClientWriterTo struct {
InfoRefsClient
}
func (clientReader *InfoRefsClientWriterTo) WriteTo(w io.Writer) (total int64, err error) {
for {
response, err := clientReader.Recv()
if err == io.EOF {
return total, nil
} else if err != nil {
return total, err
}
n, err := w.Write(response.GetData())
total += int64(n)
if err != nil {
return total, err
}
}
}
package helper
import (
"io"
)
// NewReceiveReader turns receiver into an io.Reader. Errors from the
// receiver function are passed on unmodified. This means receiver should
// emit io.EOF when done.
func NewReceiveReader(receiver func() ([]byte, error)) io.Reader {
return &receiveReader{receiver: receiver}
}
type receiveReader struct {
receiver func() ([]byte, error)
data []byte
err error
}
func (rr *receiveReader) Read(p []byte) (int, error) {
if len(rr.data) == 0 {
rr.data, rr.err = rr.receiver()
}
n := copy(p, rr.data)
rr.data = rr.data[n:]
if len(rr.data) == 0 {
return n, rr.err
}
return n, nil
}
// NewSendWriter turns sender into an io.Writer. The number of 'bytes
// written' reported back is always len(p).
func NewSendWriter(sender func(p []byte) error) io.Writer {
return &sendWriter{sender: sender}
}
type sendWriter struct {
sender func([]byte) error
}
func (sw *sendWriter) Write(p []byte) (int, error) {
return len(p), sw.sender(p)
}
......@@ -156,7 +156,7 @@ ISC License
Copyright (c) 2012-2016 Dave Collins <dave@davec.name>
Permission to use, copy, modify, and distribute this software for any
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
......@@ -199,10 +199,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/golang/protobuf
Go support for Protocol Buffers - Google's data interchange format
Copyright 2010 The Go Authors. All rights reserved.
https://github.com/golang/protobuf
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
......@@ -656,6 +653,17 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/konsorten/go-windows-terminal-sequences
(The MIT License)
Copyright (c) 2017 marvin + konsorten GmbH (open-source@konsorten.de)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/matttproud/golang_protobuf_extensions
Apache License
Version 2.0, January 2004
......@@ -862,6 +870,31 @@ LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/matttproud/golang_proto
NOTICE - gitlab.com/gitlab-org/gitaly/vendor/github.com/matttproud/golang_protobuf_extensions
Copyright 2012 Matt T. Proud (matt.proud@gmail.com)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/pkg/errors
Copyright (c) 2015, Dave Cheney <dave@cheney.net>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/pmezard/go-difflib
Copyright (c) 2013, Patrick Mezard
All rights reserved.
......@@ -1813,6 +1846,29 @@ furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/gitlab.com/gitlab-org/labkit
The MIT License (MIT)
Copyright (c) 2016-2017 GitLab B.V.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
......
package client
import (
"fmt"
"net/url"
)
func parseAddress(rawAddress string) (canonicalAddress string, err error) {
u, err := url.Parse(rawAddress)
if err != nil {
return "", err
}
// tcp:// addresses are a special case which `grpc.Dial` expects in a
// different format
if u.Scheme == "tcp" || u.Scheme == "tls" {
if u.Path != "" {
return "", fmt.Errorf("%s addresses should not have a path", u.Scheme)
}
return u.Host, nil
}
return u.String(), nil
}
package client
import (
"fmt"
"net"
"google.golang.org/grpc/credentials"
"net/url"
"strings"
"time"
"google.golang.org/grpc"
)
// DefaultDialOpts hold the default DialOptions for connection to Gitaly over UNIX-socket
var DefaultDialOpts = []grpc.DialOption{
grpc.WithInsecure(),
}
var DefaultDialOpts = []grpc.DialOption{}
// Dial gitaly
func Dial(rawAddress string, connOpts []grpc.DialOption) (*grpc.ClientConn, error) {
network, addr, err := parseAddress(rawAddress)
canonicalAddress, err := parseAddress(rawAddress)
if err != nil {
return nil, err
}
connOpts = append(connOpts,
grpc.WithDialer(func(a string, timeout time.Duration) (net.Conn, error) {
return net.DialTimeout(network, a, timeout)
}))
conn, err := grpc.Dial(addr, connOpts...)
if isTLS(rawAddress) {
certPool, err := systemCertPool()
if err != nil {
return nil, err
}
creds := credentials.NewClientTLSFromCert(certPool, "")
connOpts = append(connOpts, grpc.WithTransportCredentials(creds))
} else {
connOpts = append(connOpts, grpc.WithInsecure())
}
conn, err := grpc.Dial(canonicalAddress, connOpts...)
if err != nil {
return nil, err
}
......@@ -34,28 +38,7 @@ func Dial(rawAddress string, connOpts []grpc.DialOption) (*grpc.ClientConn, erro
return conn, nil
}
func parseAddress(rawAddress string) (network, addr string, err error) {
// Parsing unix:// URL's with url.Parse does not give the result we want
// so we do it manually.
for _, prefix := range []string{"unix://", "unix:"} {
if strings.HasPrefix(rawAddress, prefix) {
return "unix", strings.TrimPrefix(rawAddress, prefix), nil
}
}
func isTLS(rawAddress string) bool {
u, err := url.Parse(rawAddress)
if err != nil {
return "", "", err
}
if u.Scheme != "tcp" {
return "", "", fmt.Errorf("unknown scheme: %q", rawAddress)
}
if u.Host == "" {
return "", "", fmt.Errorf("network tcp requires host: %q", rawAddress)
}
if u.Path != "" {
return "", "", fmt.Errorf("network tcp should have no path: %q", rawAddress)
}
return "tcp", u.Host, nil
return err == nil && u.Scheme == "tls"
}
// +build darwin
package client
import (
"crypto/x509"
"io/ioutil"
"os"
"path"
)
// systemCertPool circumvents the fact that Go on macOS does not support
// SSL_CERT_{DIR,FILE}.
func systemCertPool() (*x509.CertPool, error) {
var certPem []byte
count := 0
if f := os.Getenv("SSL_CERT_FILE"); len(f) > 0 {
pem, err := ioutil.ReadFile(f)
if err != nil {
return nil, err
}
pem = append(pem, '\n')
certPem = append(certPem, pem...)
count++
}
if d := os.Getenv("SSL_CERT_DIR"); len(d) > 0 {
entries, err := ioutil.ReadDir(d)
if err != nil {
return nil, err
}
for _, entry := range entries {
if entry.IsDir() {
continue
}
pem, err := ioutil.ReadFile(path.Join(d, entry.Name()))
if err != nil {
return nil, err
}
pem = append(pem, '\n')
certPem = append(certPem, pem...)
count++
}
}
pool, err := x509.SystemCertPool()
if err != nil {
return nil, err
}
pool.AppendCertsFromPEM(certPem)
return pool, nil
}
// +build !darwin
package client
import "crypto/x509"
// systemCertPool has an override on macOS.
func systemCertPool() (*x509.CertPool, error) { return x509.SystemCertPool() }
......@@ -3,20 +3,18 @@ package client
import (
"io"
"gitlab.com/gitlab-org/gitaly-proto/go/gitalypb"
"gitlab.com/gitlab-org/gitaly/streamio"
pb "gitlab.com/gitlab-org/gitaly-proto/go"
"golang.org/x/net/context"
"google.golang.org/grpc"
)
// ReceivePack proxies an SSH git-receive-pack (git push) session to Gitaly
func ReceivePack(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, stdout, stderr io.Writer, req *pb.SSHReceivePackRequest) (int32, error) {
func ReceivePack(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, stdout, stderr io.Writer, req *gitalypb.SSHReceivePackRequest) (int32, error) {
ctx2, cancel := context.WithCancel(ctx)
defer cancel()
ssh := pb.NewSSHServiceClient(conn)
ssh := gitalypb.NewSSHServiceClient(conn)
stream, err := ssh.SSHReceivePack(ctx2)
if err != nil {
return 0, err
......@@ -27,7 +25,7 @@ func ReceivePack(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, st
}
inWriter := streamio.NewWriter(func(p []byte) error {
return stream.Send(&pb.SSHReceivePackRequest{Stdin: p})
return stream.Send(&gitalypb.SSHReceivePackRequest{Stdin: p})
})
return streamHandler(func() (stdoutStderrResponse, error) {
......
......@@ -4,11 +4,11 @@ import (
"fmt"
"io"
pb "gitlab.com/gitlab-org/gitaly-proto/go"
"gitlab.com/gitlab-org/gitaly-proto/go/gitalypb"
)
type stdoutStderrResponse interface {
GetExitStatus() *pb.ExitStatus
GetExitStatus() *gitalypb.ExitStatus
GetStderr() []byte
GetStdout() []byte
}
......
......@@ -3,20 +3,18 @@ package client
import (
"io"
"gitlab.com/gitlab-org/gitaly-proto/go/gitalypb"
"gitlab.com/gitlab-org/gitaly/streamio"
pb "gitlab.com/gitlab-org/gitaly-proto/go"
"golang.org/x/net/context"
"google.golang.org/grpc"
)
// UploadArchive proxies an SSH git-upload-archive (git archive --remote) session to Gitaly
func UploadArchive(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, stdout, stderr io.Writer, req *pb.SSHUploadArchiveRequest) (int32, error) {
func UploadArchive(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, stdout, stderr io.Writer, req *gitalypb.SSHUploadArchiveRequest) (int32, error) {
ctx2, cancel := context.WithCancel(ctx)
defer cancel()
ssh := pb.NewSSHServiceClient(conn)
ssh := gitalypb.NewSSHServiceClient(conn)
stream, err := ssh.SSHUploadArchive(ctx2)
if err != nil {
return 0, err
......@@ -27,7 +25,7 @@ func UploadArchive(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader,
}
inWriter := streamio.NewWriter(func(p []byte) error {
return stream.Send(&pb.SSHUploadArchiveRequest{Stdin: p})
return stream.Send(&gitalypb.SSHUploadArchiveRequest{Stdin: p})
})
return streamHandler(func() (stdoutStderrResponse, error) {
......
......@@ -3,20 +3,18 @@ package client
import (
"io"
"gitlab.com/gitlab-org/gitaly-proto/go/gitalypb"
"gitlab.com/gitlab-org/gitaly/streamio"
pb "gitlab.com/gitlab-org/gitaly-proto/go"
"golang.org/x/net/context"
"google.golang.org/grpc"
)
// UploadPack proxies an SSH git-upload-pack (git fetch) session to Gitaly
func UploadPack(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, stdout, stderr io.Writer, req *pb.SSHUploadPackRequest) (int32, error) {
func UploadPack(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, stdout, stderr io.Writer, req *gitalypb.SSHUploadPackRequest) (int32, error) {
ctx2, cancel := context.WithCancel(ctx)
defer cancel()
ssh := pb.NewSSHServiceClient(conn)
ssh := gitalypb.NewSSHServiceClient(conn)
stream, err := ssh.SSHUploadPack(ctx2)
if err != nil {
return 0, err
......@@ -27,7 +25,7 @@ func UploadPack(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, std
}
inWriter := streamio.NewWriter(func(p []byte) error {
return stream.Send(&pb.SSHUploadPackRequest{Stdin: p})
return stream.Send(&gitalypb.SSHUploadPackRequest{Stdin: p})
})
return streamHandler(func() (stdoutStderrResponse, error) {
......
......@@ -59,13 +59,18 @@
"versionExact": "v1.0.5"
},
{
"checksumSHA1": "cGc0AOiqkNlSVMc2w/dIJfoWDdQ=",
"checksumSHA1": "kokC1RVLYim3udweBefX0QXHcRE=",
"path": "gitlab.com/gitlab-org/gitaly-proto/go",
"revision": "e3a5c0a6da1c62f406f6b74b281dad43f8b74ea5",
"revisionTime": "2018-08-02T15:59:47Z",
"tree": true,
"version": "v0.112.0",
"versionExact": "v0.112.0"
"revision": "ca09ca1e2da6dc957644fa95990e8a3d032d6252",
"revisionTime": "2018-11-28T10:00:28Z"
},
{
"checksumSHA1": "K8ub2fUgYq2Sb3FbKPzGhv96UNo=",
"path": "gitlab.com/gitlab-org/gitaly-proto/go/gitalypb",
"revision": "ca09ca1e2da6dc957644fa95990e8a3d032d6252",
"revisionTime": "2018-11-28T10:00:28Z",
"version": "v1.3.0",
"versionExact": "v1.3.0"
},
{
"checksumSHA1": "SbYAalNU5azT8lJGerDI4I/Nw84=",
......@@ -76,12 +81,12 @@
"versionExact": "v0.125.0"
},
{
"checksumSHA1": "CsPKG7r/N8ARlHtnHKimJiOnYiY=",
"checksumSHA1": "0FMG4FMRxji6+9LSKgWT6snO1FM=",
"path": "gitlab.com/gitlab-org/gitaly/client",
"revision": "5e2c70a9a670f5d675cf45f880bbbb08a5169ab8",
"revisionTime": "2018-03-13T20:33:04Z",
"version": "v0.90.0",
"versionExact": "v0.90.0"
"revision": "3265234b0d281942d8a02fa5654d76c360ace192",
"revisionTime": "2018-12-05T15:59:00Z",
"version": "v1.5.0",
"versionExact": "v1.5.0"
},
{
"checksumSHA1": "mifcYH0qXpoPkX5KzXoM3mterWQ=",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment