Commit 84725144 authored by Nick Thomas's avatar Nick Thomas

Merge branch 'gitaly-smarthttp-service' into 'master'

Use Gitaly's SmartHTTPService service

Closes gitaly#380

See merge request !187
parents 0e9f1be3 906aaef5
......@@ -384,7 +384,7 @@ func startGitalyServer(t *testing.T, finalMessageCode codes.Code) (*combinedServ
require.NoError(t, err)
gitalyServer := testhelper.NewGitalyServer(finalMessageCode)
pb.RegisterSmartHTTPServer(server, gitalyServer)
pb.RegisterSmartHTTPServiceServer(server, gitalyServer)
pb.RegisterBlobServiceServer(server, gitalyServer)
go server.Serve(listener)
......
......@@ -32,7 +32,7 @@ func NewSmartHTTPClient(server Server) (*SmartHTTPClient, error) {
if err != nil {
return nil, err
}
grpcClient := pb.NewSmartHTTPClient(conn)
grpcClient := pb.NewSmartHTTPServiceClient(conn)
return &SmartHTTPClient{grpcClient}, nil
}
......
......@@ -10,7 +10,7 @@ import (
)
type SmartHTTPClient struct {
pb.SmartHTTPClient
pb.SmartHTTPServiceClient
}
func (client *SmartHTTPClient) InfoRefsResponseReader(ctx context.Context, repo *pb.Repository, rpc string) (io.Reader, error) {
......
......@@ -42,7 +42,7 @@ func NewGitalyServer(finalMessageCode codes.Code) *GitalyTestServer {
return &GitalyTestServer{finalMessageCode: finalMessageCode}
}
func (s *GitalyTestServer) InfoRefsUploadPack(in *pb.InfoRefsRequest, stream pb.SmartHTTP_InfoRefsUploadPackServer) error {
func (s *GitalyTestServer) InfoRefsUploadPack(in *pb.InfoRefsRequest, stream pb.SmartHTTPService_InfoRefsUploadPackServer) error {
s.WaitGroup.Add(1)
defer s.WaitGroup.Done()
......@@ -63,7 +63,7 @@ func (s *GitalyTestServer) InfoRefsUploadPack(in *pb.InfoRefsRequest, stream pb.
return s.finalError()
}
func (s *GitalyTestServer) InfoRefsReceivePack(in *pb.InfoRefsRequest, stream pb.SmartHTTP_InfoRefsReceivePackServer) error {
func (s *GitalyTestServer) InfoRefsReceivePack(in *pb.InfoRefsRequest, stream pb.SmartHTTPService_InfoRefsReceivePackServer) error {
s.WaitGroup.Add(1)
defer s.WaitGroup.Done()
......@@ -81,7 +81,7 @@ func (s *GitalyTestServer) InfoRefsReceivePack(in *pb.InfoRefsRequest, stream pb
return s.finalError()
}
func (s *GitalyTestServer) PostReceivePack(stream pb.SmartHTTP_PostReceivePackServer) error {
func (s *GitalyTestServer) PostReceivePack(stream pb.SmartHTTPService_PostReceivePackServer) error {
s.WaitGroup.Add(1)
defer s.WaitGroup.Done()
......@@ -126,7 +126,7 @@ func (s *GitalyTestServer) PostReceivePack(stream pb.SmartHTTP_PostReceivePackSe
return s.finalError()
}
func (s *GitalyTestServer) PostUploadPack(stream pb.SmartHTTP_PostUploadPackServer) error {
func (s *GitalyTestServer) PostUploadPack(stream pb.SmartHTTPService_PostUploadPackServer) error {
s.WaitGroup.Add(1)
defer s.WaitGroup.Done()
......
......@@ -19,6 +19,8 @@ It is generated from these files:
It has these top-level messages:
GetBlobRequest
GetBlobResponse
CommitStatsRequest
CommitStatsResponse
CommitIsAncestorRequest
CommitIsAncestorResponse
TreeEntryRequest
......@@ -30,6 +32,22 @@ It has these top-level messages:
TreeEntry
GetTreeEntriesRequest
GetTreeEntriesResponse
ListFilesRequest
ListFilesResponse
FindCommitRequest
FindCommitResponse
FindAllCommitsRequest
FindAllCommitsResponse
FindCommitsRequest
FindCommitsResponse
CommitLanguagesRequest
CommitLanguagesResponse
RawBlameRequest
RawBlameResponse
LastCommitForPathRequest
LastCommitForPathResponse
CommitsByMessageRequest
CommitsByMessageResponse
CommitDiffRequest
CommitDiffResponse
CommitDeltaRequest
......@@ -49,8 +67,26 @@ It has these top-level messages:
FindLocalBranchesResponse
FindLocalBranchResponse
FindLocalBranchCommitAuthor
FindAllBranchesRequest
FindAllBranchesResponse
FindAllTagsRequest
FindAllTagsResponse
RefExistsRequest
RefExistsResponse
RepositoryExistsRequest
RepositoryExistsResponse
RepackIncrementalRequest
RepackIncrementalResponse
RepackFullRequest
RepackFullResponse
GarbageCollectRequest
GarbageCollectResponse
RepositorySizeRequest
RepositorySizeResponse
ApplyGitattributesRequest
ApplyGitattributesResponse
FetchRemoteRequest
FetchRemoteResponse
Repository
GitCommit
CommitAuthor
......
......@@ -6,6 +6,7 @@ package gitaly
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
import (
context "golang.org/x/net/context"
......@@ -43,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{3, 0}
return fileDescriptor1, []int{5, 0}
}
type TreeEntry_EntryType int32
......@@ -68,7 +69,90 @@ 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{8, 0} }
func (TreeEntry_EntryType) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{10, 0} }
type FindAllCommitsRequest_Order int32
const (
FindAllCommitsRequest_NONE FindAllCommitsRequest_Order = 0
FindAllCommitsRequest_TOPO FindAllCommitsRequest_Order = 1
FindAllCommitsRequest_DATE FindAllCommitsRequest_Order = 2
)
var FindAllCommitsRequest_Order_name = map[int32]string{
0: "NONE",
1: "TOPO",
2: "DATE",
}
var FindAllCommitsRequest_Order_value = map[string]int32{
"NONE": 0,
"TOPO": 1,
"DATE": 2,
}
func (x FindAllCommitsRequest_Order) String() string {
return proto.EnumName(FindAllCommitsRequest_Order_name, int32(x))
}
func (FindAllCommitsRequest_Order) EnumDescriptor() ([]byte, []int) {
return fileDescriptor1, []int{17, 0}
}
type CommitStatsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
}
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 (m *CommitStatsRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *CommitStatsRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return nil
}
type CommitStatsResponse struct {
// OID is the commit. Empty means not found
Oid string `protobuf:"bytes,1,opt,name=oid" json:"oid,omitempty"`
Additions int32 `protobuf:"varint,2,opt,name=additions" json:"additions,omitempty"`
Deletions int32 `protobuf:"varint,3,opt,name=deletions" json:"deletions,omitempty"`
}
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 (m *CommitStatsResponse) GetOid() string {
if m != nil {
return m.Oid
}
return ""
}
func (m *CommitStatsResponse) GetAdditions() int32 {
if m != nil {
return m.Additions
}
return 0
}
func (m *CommitStatsResponse) GetDeletions() int32 {
if m != nil {
return m.Deletions
}
return 0
}
type CommitIsAncestorRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -79,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{0} }
func (*CommitIsAncestorRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
func (m *CommitIsAncestorRequest) GetRepository() *Repository {
if m != nil {
......@@ -109,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{1} }
func (*CommitIsAncestorResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
func (m *CommitIsAncestorResponse) GetValue() bool {
if m != nil {
......@@ -130,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{2} }
func (*TreeEntryRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} }
func (m *TreeEntryRequest) GetRepository() *Repository {
if m != nil {
......@@ -174,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{3} }
func (*TreeEntryResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{5} }
func (m *TreeEntryResponse) GetType() TreeEntryResponse_ObjectType {
if m != nil {
......@@ -220,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{4} }
func (*CommitsBetweenRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{6} }
func (m *CommitsBetweenRequest) GetRepository() *Repository {
if m != nil {
......@@ -250,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{5} }
func (*CommitsBetweenResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{7} }
func (m *CommitsBetweenResponse) GetCommits() []*GitCommit {
if m != nil {
......@@ -260,14 +344,17 @@ func (m *CommitsBetweenResponse) GetCommits() []*GitCommit {
}
type CountCommitsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
After *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=after" json:"after,omitempty"`
Before *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=before" json:"before,omitempty"`
Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
}
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{6} }
func (*CountCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{8} }
func (m *CountCommitsRequest) GetRepository() *Repository {
if m != nil {
......@@ -283,6 +370,27 @@ func (m *CountCommitsRequest) GetRevision() []byte {
return nil
}
func (m *CountCommitsRequest) GetAfter() *google_protobuf.Timestamp {
if m != nil {
return m.After
}
return nil
}
func (m *CountCommitsRequest) GetBefore() *google_protobuf.Timestamp {
if m != nil {
return m.Before
}
return nil
}
func (m *CountCommitsRequest) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
type CountCommitsResponse struct {
Count int32 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
}
......@@ -290,7 +398,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{7} }
func (*CountCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{9} }
func (m *CountCommitsResponse) GetCount() int32 {
if m != nil {
......@@ -316,7 +424,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{8} }
func (*TreeEntry) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{10} }
func (m *TreeEntry) GetOid() string {
if m != nil {
......@@ -369,7 +477,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{9} }
func (*GetTreeEntriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{11} }
func (m *GetTreeEntriesRequest) GetRepository() *Repository {
if m != nil {
......@@ -399,7 +507,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{10} }
func (*GetTreeEntriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{12} }
func (m *GetTreeEntriesResponse) GetEntries() []*TreeEntry {
if m != nil {
......@@ -408,174 +516,908 @@ func (m *GetTreeEntriesResponse) GetEntries() []*TreeEntry {
return nil
}
func init() {
proto.RegisterType((*CommitIsAncestorRequest)(nil), "gitaly.CommitIsAncestorRequest")
proto.RegisterType((*CommitIsAncestorResponse)(nil), "gitaly.CommitIsAncestorResponse")
proto.RegisterType((*TreeEntryRequest)(nil), "gitaly.TreeEntryRequest")
proto.RegisterType((*TreeEntryResponse)(nil), "gitaly.TreeEntryResponse")
proto.RegisterType((*CommitsBetweenRequest)(nil), "gitaly.CommitsBetweenRequest")
proto.RegisterType((*CommitsBetweenResponse)(nil), "gitaly.CommitsBetweenResponse")
proto.RegisterType((*CountCommitsRequest)(nil), "gitaly.CountCommitsRequest")
proto.RegisterType((*CountCommitsResponse)(nil), "gitaly.CountCommitsResponse")
proto.RegisterType((*TreeEntry)(nil), "gitaly.TreeEntry")
proto.RegisterType((*GetTreeEntriesRequest)(nil), "gitaly.GetTreeEntriesRequest")
proto.RegisterType((*GetTreeEntriesResponse)(nil), "gitaly.GetTreeEntriesResponse")
proto.RegisterEnum("gitaly.TreeEntryResponse_ObjectType", TreeEntryResponse_ObjectType_name, TreeEntryResponse_ObjectType_value)
proto.RegisterEnum("gitaly.TreeEntry_EntryType", TreeEntry_EntryType_name, TreeEntry_EntryType_value)
type ListFilesRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
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} }
// 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
func (m *ListFilesRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
// Client API for CommitService service
func (m *ListFilesRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return nil
}
type CommitServiceClient interface {
CommitIsAncestor(ctx context.Context, in *CommitIsAncestorRequest, opts ...grpc.CallOption) (*CommitIsAncestorResponse, error)
TreeEntry(ctx context.Context, in *TreeEntryRequest, opts ...grpc.CallOption) (CommitService_TreeEntryClient, error)
CommitsBetween(ctx context.Context, in *CommitsBetweenRequest, opts ...grpc.CallOption) (CommitService_CommitsBetweenClient, error)
CountCommits(ctx context.Context, in *CountCommitsRequest, opts ...grpc.CallOption) (*CountCommitsResponse, error)
GetTreeEntries(ctx context.Context, in *GetTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_GetTreeEntriesClient, error)
// A single 'page' of the paginated response
type ListFilesResponse struct {
// Remember to force encoding utf-8 on the client side
Paths [][]byte `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
}
type commitServiceClient struct {
cc *grpc.ClientConn
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 (m *ListFilesResponse) GetPaths() [][]byte {
if m != nil {
return m.Paths
}
return nil
}
func NewCommitServiceClient(cc *grpc.ClientConn) CommitServiceClient {
return &commitServiceClient{cc}
type FindCommitRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
}
func (c *commitServiceClient) CommitIsAncestor(ctx context.Context, in *CommitIsAncestorRequest, opts ...grpc.CallOption) (*CommitIsAncestorResponse, error) {
out := new(CommitIsAncestorResponse)
err := grpc.Invoke(ctx, "/gitaly.CommitService/CommitIsAncestor", in, out, c.cc, opts...)
if err != nil {
return nil, err
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 (m *FindCommitRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return out, nil
return nil
}
func (c *commitServiceClient) TreeEntry(ctx context.Context, in *TreeEntryRequest, opts ...grpc.CallOption) (CommitService_TreeEntryClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[0], c.cc, "/gitaly.CommitService/TreeEntry", opts...)
if err != nil {
return nil, err
}
x := &commitServiceTreeEntryClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
func (m *FindCommitRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return x, nil
return nil
}
type CommitService_TreeEntryClient interface {
Recv() (*TreeEntryResponse, error)
grpc.ClientStream
type FindCommitResponse struct {
// commit is nil when the commit was not found
Commit *GitCommit `protobuf:"bytes,1,opt,name=commit" json:"commit,omitempty"`
}
type commitServiceTreeEntryClient struct {
grpc.ClientStream
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 (m *FindCommitResponse) GetCommit() *GitCommit {
if m != nil {
return m.Commit
}
return nil
}
func (x *commitServiceTreeEntryClient) Recv() (*TreeEntryResponse, error) {
m := new(TreeEntryResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
type FindAllCommitsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// When nil, return all commits reachable by any branch in the repo
Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
MaxCount int32 `protobuf:"varint,3,opt,name=max_count,json=maxCount" json:"max_count,omitempty"`
Skip int32 `protobuf:"varint,4,opt,name=skip" json:"skip,omitempty"`
Order FindAllCommitsRequest_Order `protobuf:"varint,5,opt,name=order,enum=gitaly.FindAllCommitsRequest_Order" json:"order,omitempty"`
}
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{17} }
func (m *FindAllCommitsRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return m, nil
return nil
}
func (c *commitServiceClient) CommitsBetween(ctx context.Context, in *CommitsBetweenRequest, opts ...grpc.CallOption) (CommitService_CommitsBetweenClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[1], c.cc, "/gitaly.CommitService/CommitsBetween", opts...)
if err != nil {
return nil, err
func (m *FindAllCommitsRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
x := &commitServiceCommitsBetweenClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
return nil
}
func (m *FindAllCommitsRequest) GetMaxCount() int32 {
if m != nil {
return m.MaxCount
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
return 0
}
func (m *FindAllCommitsRequest) GetSkip() int32 {
if m != nil {
return m.Skip
}
return x, nil
return 0
}
type CommitService_CommitsBetweenClient interface {
Recv() (*CommitsBetweenResponse, error)
grpc.ClientStream
func (m *FindAllCommitsRequest) GetOrder() FindAllCommitsRequest_Order {
if m != nil {
return m.Order
}
return FindAllCommitsRequest_NONE
}
type commitServiceCommitsBetweenClient struct {
grpc.ClientStream
// A single 'page' of the result set
type FindAllCommitsResponse struct {
Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"`
}
func (x *commitServiceCommitsBetweenClient) Recv() (*CommitsBetweenResponse, error) {
m := new(CommitsBetweenResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
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{18} }
func (m *FindAllCommitsResponse) GetCommits() []*GitCommit {
if m != nil {
return m.Commits
}
return m, nil
return nil
}
func (c *commitServiceClient) CountCommits(ctx context.Context, in *CountCommitsRequest, opts ...grpc.CallOption) (*CountCommitsResponse, error) {
out := new(CountCommitsResponse)
err := grpc.Invoke(ctx, "/gitaly.CommitService/CountCommits", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
type FindCommitsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
Limit int32 `protobuf:"varint,3,opt,name=limit" json:"limit,omitempty"`
Offset int32 `protobuf:"varint,4,opt,name=offset" json:"offset,omitempty"`
Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"`
Follow bool `protobuf:"varint,6,opt,name=follow" json:"follow,omitempty"`
SkipMerges bool `protobuf:"varint,7,opt,name=skip_merges,json=skipMerges" json:"skip_merges,omitempty"`
DisableWalk bool `protobuf:"varint,8,opt,name=disable_walk,json=disableWalk" json:"disable_walk,omitempty"`
After *google_protobuf.Timestamp `protobuf:"bytes,9,opt,name=after" json:"after,omitempty"`
Before *google_protobuf.Timestamp `protobuf:"bytes,10,opt,name=before" json:"before,omitempty"`
}
func (c *commitServiceClient) GetTreeEntries(ctx context.Context, in *GetTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_GetTreeEntriesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[2], c.cc, "/gitaly.CommitService/GetTreeEntries", opts...)
if err != nil {
return nil, err
}
x := &commitServiceGetTreeEntriesClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
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{19} }
func (m *FindCommitsRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return x, nil
return nil
}
type CommitService_GetTreeEntriesClient interface {
Recv() (*GetTreeEntriesResponse, error)
grpc.ClientStream
func (m *FindCommitsRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return nil
}
type commitServiceGetTreeEntriesClient struct {
grpc.ClientStream
func (m *FindCommitsRequest) GetLimit() int32 {
if m != nil {
return m.Limit
}
return 0
}
func (x *commitServiceGetTreeEntriesClient) Recv() (*GetTreeEntriesResponse, error) {
m := new(GetTreeEntriesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
func (m *FindCommitsRequest) GetOffset() int32 {
if m != nil {
return m.Offset
}
return m, nil
return 0
}
// Server API for CommitService service
type CommitServiceServer interface {
CommitIsAncestor(context.Context, *CommitIsAncestorRequest) (*CommitIsAncestorResponse, error)
TreeEntry(*TreeEntryRequest, CommitService_TreeEntryServer) error
CommitsBetween(*CommitsBetweenRequest, CommitService_CommitsBetweenServer) error
CountCommits(context.Context, *CountCommitsRequest) (*CountCommitsResponse, error)
GetTreeEntries(*GetTreeEntriesRequest, CommitService_GetTreeEntriesServer) error
func (m *FindCommitsRequest) GetPaths() [][]byte {
if m != nil {
return m.Paths
}
return nil
}
func RegisterCommitServiceServer(s *grpc.Server, srv CommitServiceServer) {
s.RegisterService(&_CommitService_serviceDesc, srv)
func (m *FindCommitsRequest) GetFollow() bool {
if m != nil {
return m.Follow
}
return false
}
func (m *FindCommitsRequest) GetSkipMerges() bool {
if m != nil {
return m.SkipMerges
}
return false
}
func (m *FindCommitsRequest) GetDisableWalk() bool {
if m != nil {
return m.DisableWalk
}
return false
}
func (m *FindCommitsRequest) GetAfter() *google_protobuf.Timestamp {
if m != nil {
return m.After
}
return nil
}
func (m *FindCommitsRequest) GetBefore() *google_protobuf.Timestamp {
if m != nil {
return m.Before
}
return nil
}
// A single 'page' of the result set
type FindCommitsResponse struct {
Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"`
}
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{20} }
func (m *FindCommitsResponse) GetCommits() []*GitCommit {
if m != nil {
return m.Commits
}
return nil
}
type CommitLanguagesRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
}
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{21} }
func (m *CommitLanguagesRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *CommitLanguagesRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return nil
}
type CommitLanguagesResponse struct {
Languages []*CommitLanguagesResponse_Language `protobuf:"bytes,1,rep,name=languages" json:"languages,omitempty"`
}
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{22} }
func (m *CommitLanguagesResponse) GetLanguages() []*CommitLanguagesResponse_Language {
if m != nil {
return m.Languages
}
return nil
}
type CommitLanguagesResponse_Language struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
Share float32 `protobuf:"fixed32,2,opt,name=share" json:"share,omitempty"`
Color string `protobuf:"bytes,3,opt,name=color" json:"color,omitempty"`
}
func (m *CommitLanguagesResponse_Language) Reset() { *m = CommitLanguagesResponse_Language{} }
func (m *CommitLanguagesResponse_Language) String() string { return proto.CompactTextString(m) }
func (*CommitLanguagesResponse_Language) ProtoMessage() {}
func (*CommitLanguagesResponse_Language) Descriptor() ([]byte, []int) {
return fileDescriptor1, []int{22, 0}
}
func (m *CommitLanguagesResponse_Language) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CommitLanguagesResponse_Language) GetShare() float32 {
if m != nil {
return m.Share
}
return 0
}
func (m *CommitLanguagesResponse_Language) GetColor() string {
if m != nil {
return m.Color
}
return ""
}
type RawBlameRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
}
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{23} }
func (m *RawBlameRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *RawBlameRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return nil
}
func (m *RawBlameRequest) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
type RawBlameResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
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{24} }
func (m *RawBlameResponse) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
type LastCommitForPathRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
}
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{25} }
func (m *LastCommitForPathRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *LastCommitForPathRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return nil
}
func (m *LastCommitForPathRequest) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
type LastCommitForPathResponse struct {
// commit is nil when the commit was not found
Commit *GitCommit `protobuf:"bytes,1,opt,name=commit" json:"commit,omitempty"`
}
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{26} }
func (m *LastCommitForPathResponse) GetCommit() *GitCommit {
if m != nil {
return m.Commit
}
return nil
}
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"`
Offset int32 `protobuf:"varint,3,opt,name=offset" json:"offset,omitempty"`
Limit int32 `protobuf:"varint,4,opt,name=limit" json:"limit,omitempty"`
Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
Query string `protobuf:"bytes,6,opt,name=query" json:"query,omitempty"`
}
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{27} }
func (m *CommitsByMessageRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *CommitsByMessageRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return nil
}
func (m *CommitsByMessageRequest) GetOffset() int32 {
if m != nil {
return m.Offset
}
return 0
}
func (m *CommitsByMessageRequest) GetLimit() int32 {
if m != nil {
return m.Limit
}
return 0
}
func (m *CommitsByMessageRequest) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
func (m *CommitsByMessageRequest) GetQuery() string {
if m != nil {
return m.Query
}
return ""
}
// One 'page' of the paginated response of CommitsByMessage
type CommitsByMessageResponse struct {
Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"`
}
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{28} }
func (m *CommitsByMessageResponse) GetCommits() []*GitCommit {
if m != nil {
return m.Commits
}
return nil
}
func init() {
proto.RegisterType((*CommitStatsRequest)(nil), "gitaly.CommitStatsRequest")
proto.RegisterType((*CommitStatsResponse)(nil), "gitaly.CommitStatsResponse")
proto.RegisterType((*CommitIsAncestorRequest)(nil), "gitaly.CommitIsAncestorRequest")
proto.RegisterType((*CommitIsAncestorResponse)(nil), "gitaly.CommitIsAncestorResponse")
proto.RegisterType((*TreeEntryRequest)(nil), "gitaly.TreeEntryRequest")
proto.RegisterType((*TreeEntryResponse)(nil), "gitaly.TreeEntryResponse")
proto.RegisterType((*CommitsBetweenRequest)(nil), "gitaly.CommitsBetweenRequest")
proto.RegisterType((*CommitsBetweenResponse)(nil), "gitaly.CommitsBetweenResponse")
proto.RegisterType((*CountCommitsRequest)(nil), "gitaly.CountCommitsRequest")
proto.RegisterType((*CountCommitsResponse)(nil), "gitaly.CountCommitsResponse")
proto.RegisterType((*TreeEntry)(nil), "gitaly.TreeEntry")
proto.RegisterType((*GetTreeEntriesRequest)(nil), "gitaly.GetTreeEntriesRequest")
proto.RegisterType((*GetTreeEntriesResponse)(nil), "gitaly.GetTreeEntriesResponse")
proto.RegisterType((*ListFilesRequest)(nil), "gitaly.ListFilesRequest")
proto.RegisterType((*ListFilesResponse)(nil), "gitaly.ListFilesResponse")
proto.RegisterType((*FindCommitRequest)(nil), "gitaly.FindCommitRequest")
proto.RegisterType((*FindCommitResponse)(nil), "gitaly.FindCommitResponse")
proto.RegisterType((*FindAllCommitsRequest)(nil), "gitaly.FindAllCommitsRequest")
proto.RegisterType((*FindAllCommitsResponse)(nil), "gitaly.FindAllCommitsResponse")
proto.RegisterType((*FindCommitsRequest)(nil), "gitaly.FindCommitsRequest")
proto.RegisterType((*FindCommitsResponse)(nil), "gitaly.FindCommitsResponse")
proto.RegisterType((*CommitLanguagesRequest)(nil), "gitaly.CommitLanguagesRequest")
proto.RegisterType((*CommitLanguagesResponse)(nil), "gitaly.CommitLanguagesResponse")
proto.RegisterType((*CommitLanguagesResponse_Language)(nil), "gitaly.CommitLanguagesResponse.Language")
proto.RegisterType((*RawBlameRequest)(nil), "gitaly.RawBlameRequest")
proto.RegisterType((*RawBlameResponse)(nil), "gitaly.RawBlameResponse")
proto.RegisterType((*LastCommitForPathRequest)(nil), "gitaly.LastCommitForPathRequest")
proto.RegisterType((*LastCommitForPathResponse)(nil), "gitaly.LastCommitForPathResponse")
proto.RegisterType((*CommitsByMessageRequest)(nil), "gitaly.CommitsByMessageRequest")
proto.RegisterType((*CommitsByMessageResponse)(nil), "gitaly.CommitsByMessageResponse")
proto.RegisterEnum("gitaly.TreeEntryResponse_ObjectType", TreeEntryResponse_ObjectType_name, TreeEntryResponse_ObjectType_value)
proto.RegisterEnum("gitaly.TreeEntry_EntryType", TreeEntry_EntryType_name, TreeEntry_EntryType_value)
proto.RegisterEnum("gitaly.FindAllCommitsRequest_Order", FindAllCommitsRequest_Order_name, FindAllCommitsRequest_Order_value)
}
// 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 CommitService service
type CommitServiceClient interface {
CommitIsAncestor(ctx context.Context, in *CommitIsAncestorRequest, opts ...grpc.CallOption) (*CommitIsAncestorResponse, error)
TreeEntry(ctx context.Context, in *TreeEntryRequest, opts ...grpc.CallOption) (CommitService_TreeEntryClient, error)
CommitsBetween(ctx context.Context, in *CommitsBetweenRequest, opts ...grpc.CallOption) (CommitService_CommitsBetweenClient, error)
CountCommits(ctx context.Context, in *CountCommitsRequest, opts ...grpc.CallOption) (*CountCommitsResponse, error)
GetTreeEntries(ctx context.Context, in *GetTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_GetTreeEntriesClient, error)
ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (CommitService_ListFilesClient, error)
FindCommit(ctx context.Context, in *FindCommitRequest, opts ...grpc.CallOption) (*FindCommitResponse, error)
CommitStats(ctx context.Context, in *CommitStatsRequest, opts ...grpc.CallOption) (*CommitStatsResponse, error)
// Use a stream to paginate the result set
FindAllCommits(ctx context.Context, in *FindAllCommitsRequest, opts ...grpc.CallOption) (CommitService_FindAllCommitsClient, error)
FindCommits(ctx context.Context, in *FindCommitsRequest, opts ...grpc.CallOption) (CommitService_FindCommitsClient, error)
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)
CommitsByMessage(ctx context.Context, in *CommitsByMessageRequest, opts ...grpc.CallOption) (CommitService_CommitsByMessageClient, error)
}
type commitServiceClient struct {
cc *grpc.ClientConn
}
func NewCommitServiceClient(cc *grpc.ClientConn) CommitServiceClient {
return &commitServiceClient{cc}
}
func (c *commitServiceClient) CommitIsAncestor(ctx context.Context, in *CommitIsAncestorRequest, opts ...grpc.CallOption) (*CommitIsAncestorResponse, error) {
out := new(CommitIsAncestorResponse)
err := grpc.Invoke(ctx, "/gitaly.CommitService/CommitIsAncestor", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *commitServiceClient) TreeEntry(ctx context.Context, in *TreeEntryRequest, opts ...grpc.CallOption) (CommitService_TreeEntryClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[0], c.cc, "/gitaly.CommitService/TreeEntry", opts...)
if err != nil {
return nil, err
}
x := &commitServiceTreeEntryClient{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_TreeEntryClient interface {
Recv() (*TreeEntryResponse, error)
grpc.ClientStream
}
type commitServiceTreeEntryClient struct {
grpc.ClientStream
}
func (x *commitServiceTreeEntryClient) Recv() (*TreeEntryResponse, error) {
m := new(TreeEntryResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *commitServiceClient) CommitsBetween(ctx context.Context, in *CommitsBetweenRequest, opts ...grpc.CallOption) (CommitService_CommitsBetweenClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[1], c.cc, "/gitaly.CommitService/CommitsBetween", opts...)
if err != nil {
return nil, err
}
x := &commitServiceCommitsBetweenClient{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_CommitsBetweenClient interface {
Recv() (*CommitsBetweenResponse, error)
grpc.ClientStream
}
type commitServiceCommitsBetweenClient struct {
grpc.ClientStream
}
func (x *commitServiceCommitsBetweenClient) Recv() (*CommitsBetweenResponse, error) {
m := new(CommitsBetweenResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *commitServiceClient) CountCommits(ctx context.Context, in *CountCommitsRequest, opts ...grpc.CallOption) (*CountCommitsResponse, error) {
out := new(CountCommitsResponse)
err := grpc.Invoke(ctx, "/gitaly.CommitService/CountCommits", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *commitServiceClient) GetTreeEntries(ctx context.Context, in *GetTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_GetTreeEntriesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[2], c.cc, "/gitaly.CommitService/GetTreeEntries", opts...)
if err != nil {
return nil, err
}
x := &commitServiceGetTreeEntriesClient{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_GetTreeEntriesClient interface {
Recv() (*GetTreeEntriesResponse, error)
grpc.ClientStream
}
type commitServiceGetTreeEntriesClient struct {
grpc.ClientStream
}
func (x *commitServiceGetTreeEntriesClient) Recv() (*GetTreeEntriesResponse, error) {
m := new(GetTreeEntriesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *commitServiceClient) ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (CommitService_ListFilesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[3], c.cc, "/gitaly.CommitService/ListFiles", opts...)
if err != nil {
return nil, err
}
x := &commitServiceListFilesClient{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_ListFilesClient interface {
Recv() (*ListFilesResponse, error)
grpc.ClientStream
}
type commitServiceListFilesClient struct {
grpc.ClientStream
}
func (x *commitServiceListFilesClient) Recv() (*ListFilesResponse, error) {
m := new(ListFilesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *commitServiceClient) FindCommit(ctx context.Context, in *FindCommitRequest, opts ...grpc.CallOption) (*FindCommitResponse, error) {
out := new(FindCommitResponse)
err := grpc.Invoke(ctx, "/gitaly.CommitService/FindCommit", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *commitServiceClient) CommitStats(ctx context.Context, in *CommitStatsRequest, opts ...grpc.CallOption) (*CommitStatsResponse, error) {
out := new(CommitStatsResponse)
err := grpc.Invoke(ctx, "/gitaly.CommitService/CommitStats", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *commitServiceClient) FindAllCommits(ctx context.Context, in *FindAllCommitsRequest, opts ...grpc.CallOption) (CommitService_FindAllCommitsClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[4], c.cc, "/gitaly.CommitService/FindAllCommits", opts...)
if err != nil {
return nil, err
}
x := &commitServiceFindAllCommitsClient{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_FindAllCommitsClient interface {
Recv() (*FindAllCommitsResponse, error)
grpc.ClientStream
}
type commitServiceFindAllCommitsClient struct {
grpc.ClientStream
}
func (x *commitServiceFindAllCommitsClient) Recv() (*FindAllCommitsResponse, error) {
m := new(FindAllCommitsResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *commitServiceClient) FindCommits(ctx context.Context, in *FindCommitsRequest, opts ...grpc.CallOption) (CommitService_FindCommitsClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[5], c.cc, "/gitaly.CommitService/FindCommits", opts...)
if err != nil {
return nil, err
}
x := &commitServiceFindCommitsClient{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_FindCommitsClient interface {
Recv() (*FindCommitsResponse, error)
grpc.ClientStream
}
type commitServiceFindCommitsClient struct {
grpc.ClientStream
}
func (x *commitServiceFindCommitsClient) Recv() (*FindCommitsResponse, error) {
m := new(FindCommitsResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *commitServiceClient) CommitLanguages(ctx context.Context, in *CommitLanguagesRequest, opts ...grpc.CallOption) (*CommitLanguagesResponse, error) {
out := new(CommitLanguagesResponse)
err := grpc.Invoke(ctx, "/gitaly.CommitService/CommitLanguages", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *commitServiceClient) RawBlame(ctx context.Context, in *RawBlameRequest, opts ...grpc.CallOption) (CommitService_RawBlameClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[6], c.cc, "/gitaly.CommitService/RawBlame", opts...)
if err != nil {
return nil, err
}
x := &commitServiceRawBlameClient{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_RawBlameClient interface {
Recv() (*RawBlameResponse, error)
grpc.ClientStream
}
type commitServiceRawBlameClient struct {
grpc.ClientStream
}
func (x *commitServiceRawBlameClient) Recv() (*RawBlameResponse, error) {
m := new(RawBlameResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *commitServiceClient) LastCommitForPath(ctx context.Context, in *LastCommitForPathRequest, opts ...grpc.CallOption) (*LastCommitForPathResponse, error) {
out := new(LastCommitForPathResponse)
err := grpc.Invoke(ctx, "/gitaly.CommitService/LastCommitForPath", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, 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...)
if err != nil {
return nil, err
}
x := &commitServiceCommitsByMessageClient{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_CommitsByMessageClient interface {
Recv() (*CommitsByMessageResponse, error)
grpc.ClientStream
}
type commitServiceCommitsByMessageClient struct {
grpc.ClientStream
}
func (x *commitServiceCommitsByMessageClient) Recv() (*CommitsByMessageResponse, error) {
m := new(CommitsByMessageResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for CommitService service
type CommitServiceServer interface {
CommitIsAncestor(context.Context, *CommitIsAncestorRequest) (*CommitIsAncestorResponse, error)
TreeEntry(*TreeEntryRequest, CommitService_TreeEntryServer) error
CommitsBetween(*CommitsBetweenRequest, CommitService_CommitsBetweenServer) error
CountCommits(context.Context, *CountCommitsRequest) (*CountCommitsResponse, error)
GetTreeEntries(*GetTreeEntriesRequest, CommitService_GetTreeEntriesServer) error
ListFiles(*ListFilesRequest, CommitService_ListFilesServer) error
FindCommit(context.Context, *FindCommitRequest) (*FindCommitResponse, error)
CommitStats(context.Context, *CommitStatsRequest) (*CommitStatsResponse, error)
// Use a stream to paginate the result set
FindAllCommits(*FindAllCommitsRequest, CommitService_FindAllCommitsServer) error
FindCommits(*FindCommitsRequest, CommitService_FindCommitsServer) error
CommitLanguages(context.Context, *CommitLanguagesRequest) (*CommitLanguagesResponse, error)
RawBlame(*RawBlameRequest, CommitService_RawBlameServer) error
LastCommitForPath(context.Context, *LastCommitForPathRequest) (*LastCommitForPathResponse, error)
CommitsByMessage(*CommitsByMessageRequest, CommitService_CommitsByMessageServer) error
}
func RegisterCommitServiceServer(s *grpc.Server, srv CommitServiceServer) {
s.RegisterService(&_CommitService_serviceDesc, srv)
}
func _CommitService_CommitIsAncestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
......@@ -677,6 +1519,183 @@ func (x *commitServiceGetTreeEntriesServer) Send(m *GetTreeEntriesResponse) erro
return x.ServerStream.SendMsg(m)
}
func _CommitService_ListFiles_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(ListFilesRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(CommitServiceServer).ListFiles(m, &commitServiceListFilesServer{stream})
}
type CommitService_ListFilesServer interface {
Send(*ListFilesResponse) error
grpc.ServerStream
}
type commitServiceListFilesServer struct {
grpc.ServerStream
}
func (x *commitServiceListFilesServer) Send(m *ListFilesResponse) error {
return x.ServerStream.SendMsg(m)
}
func _CommitService_FindCommit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindCommitRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CommitServiceServer).FindCommit(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.CommitService/FindCommit",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CommitServiceServer).FindCommit(ctx, req.(*FindCommitRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CommitService_CommitStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CommitStatsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CommitServiceServer).CommitStats(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.CommitService/CommitStats",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CommitServiceServer).CommitStats(ctx, req.(*CommitStatsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CommitService_FindAllCommits_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(FindAllCommitsRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(CommitServiceServer).FindAllCommits(m, &commitServiceFindAllCommitsServer{stream})
}
type CommitService_FindAllCommitsServer interface {
Send(*FindAllCommitsResponse) error
grpc.ServerStream
}
type commitServiceFindAllCommitsServer struct {
grpc.ServerStream
}
func (x *commitServiceFindAllCommitsServer) Send(m *FindAllCommitsResponse) error {
return x.ServerStream.SendMsg(m)
}
func _CommitService_FindCommits_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(FindCommitsRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(CommitServiceServer).FindCommits(m, &commitServiceFindCommitsServer{stream})
}
type CommitService_FindCommitsServer interface {
Send(*FindCommitsResponse) error
grpc.ServerStream
}
type commitServiceFindCommitsServer struct {
grpc.ServerStream
}
func (x *commitServiceFindCommitsServer) Send(m *FindCommitsResponse) error {
return x.ServerStream.SendMsg(m)
}
func _CommitService_CommitLanguages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CommitLanguagesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CommitServiceServer).CommitLanguages(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.CommitService/CommitLanguages",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CommitServiceServer).CommitLanguages(ctx, req.(*CommitLanguagesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CommitService_RawBlame_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(RawBlameRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(CommitServiceServer).RawBlame(m, &commitServiceRawBlameServer{stream})
}
type CommitService_RawBlameServer interface {
Send(*RawBlameResponse) error
grpc.ServerStream
}
type commitServiceRawBlameServer struct {
grpc.ServerStream
}
func (x *commitServiceRawBlameServer) Send(m *RawBlameResponse) error {
return x.ServerStream.SendMsg(m)
}
func _CommitService_LastCommitForPath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(LastCommitForPathRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CommitServiceServer).LastCommitForPath(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.CommitService/LastCommitForPath",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CommitServiceServer).LastCommitForPath(ctx, req.(*LastCommitForPathRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CommitService_CommitsByMessage_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(CommitsByMessageRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(CommitServiceServer).CommitsByMessage(m, &commitServiceCommitsByMessageServer{stream})
}
type CommitService_CommitsByMessageServer interface {
Send(*CommitsByMessageResponse) error
grpc.ServerStream
}
type commitServiceCommitsByMessageServer struct {
grpc.ServerStream
}
func (x *commitServiceCommitsByMessageServer) Send(m *CommitsByMessageResponse) error {
return x.ServerStream.SendMsg(m)
}
var _CommitService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.CommitService",
HandlerType: (*CommitServiceServer)(nil),
......@@ -689,6 +1708,22 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{
MethodName: "CountCommits",
Handler: _CommitService_CountCommits_Handler,
},
{
MethodName: "FindCommit",
Handler: _CommitService_FindCommit_Handler,
},
{
MethodName: "CommitStats",
Handler: _CommitService_CommitStats_Handler,
},
{
MethodName: "CommitLanguages",
Handler: _CommitService_CommitLanguages_Handler,
},
{
MethodName: "LastCommitForPath",
Handler: _CommitService_LastCommitForPath_Handler,
},
},
Streams: []grpc.StreamDesc{
{
......@@ -706,6 +1741,31 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{
Handler: _CommitService_GetTreeEntries_Handler,
ServerStreams: true,
},
{
StreamName: "ListFiles",
Handler: _CommitService_ListFiles_Handler,
ServerStreams: true,
},
{
StreamName: "FindAllCommits",
Handler: _CommitService_FindAllCommits_Handler,
ServerStreams: true,
},
{
StreamName: "FindCommits",
Handler: _CommitService_FindCommits_Handler,
ServerStreams: true,
},
{
StreamName: "RawBlame",
Handler: _CommitService_RawBlame_Handler,
ServerStreams: true,
},
{
StreamName: "CommitsByMessage",
Handler: _CommitService_CommitsByMessage_Handler,
ServerStreams: true,
},
},
Metadata: "commit.proto",
}
......@@ -713,46 +1773,90 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("commit.proto", fileDescriptor1) }
var fileDescriptor1 = []byte{
// 656 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xdb, 0x6e, 0x13, 0x3d,
0x10, 0x8e, 0xb3, 0x39, 0x4e, 0xf3, 0x47, 0x5b, 0xff, 0x2d, 0x6c, 0x53, 0x4a, 0x23, 0x8b, 0x8b,
0x48, 0x45, 0xa1, 0x0a, 0x42, 0xe2, 0xb6, 0x2d, 0x51, 0x15, 0x41, 0x15, 0xc9, 0x8d, 0xc4, 0x65,
0xb5, 0xcd, 0x1a, 0x6a, 0x94, 0xc4, 0xcb, 0xda, 0x0d, 0x0a, 0x3c, 0x01, 0x12, 0xaf, 0xc1, 0x0b,
0x71, 0xcf, 0xbb, 0x20, 0xdb, 0x7b, 0xca, 0xe9, 0xaa, 0x82, 0x9b, 0x68, 0x66, 0x3c, 0x9e, 0xef,
0xcb, 0xcc, 0x37, 0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, 0x9b, 0x07, 0xaa, 0x19, 0xde, 0x56, 0xcc, 0x17,
0xec, 0xe5, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x44, 0x63, 0x9b, 0x80, 0xe7, 0x06, 0x00, 0x00,
// 1353 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x6e, 0xdb, 0x46,
0x10, 0x36, 0xf5, 0x67, 0x69, 0xa4, 0x3a, 0xf2, 0xe6, 0x4f, 0xa6, 0x93, 0xd8, 0xd9, 0xfe, 0xc0,
0x41, 0x0a, 0x25, 0x50, 0x51, 0xa0, 0x3d, 0x15, 0x56, 0x22, 0xbb, 0x4e, 0xed, 0x28, 0x60, 0x04,
0x04, 0xed, 0xc5, 0xa0, 0xc4, 0x95, 0xcc, 0x86, 0xd4, 0x2a, 0xe4, 0x2a, 0x8e, 0x5a, 0xa0, 0xf7,
0x02, 0x7d, 0x95, 0x3e, 0x44, 0x5f, 0xa1, 0xf7, 0xa2, 0xf7, 0x02, 0x7d, 0x81, 0x9e, 0x8a, 0xfd,
0x21, 0x97, 0x12, 0xa9, 0xb4, 0x71, 0x20, 0x5f, 0x84, 0x9d, 0xd9, 0xe1, 0xce, 0xb7, 0xb3, 0x33,
0xdf, 0xce, 0x0a, 0x6a, 0x03, 0xea, 0xfb, 0x2e, 0x6b, 0x4e, 0x02, 0xca, 0x28, 0x2a, 0x8d, 0x5c,
0x66, 0x7b, 0x33, 0xb3, 0x16, 0x9e, 0xd9, 0x01, 0x71, 0xa4, 0xd6, 0xdc, 0x19, 0x51, 0x3a, 0xf2,
0xc8, 0x03, 0x21, 0xf5, 0xa7, 0xc3, 0x07, 0xcc, 0xf5, 0x49, 0xc8, 0x6c, 0x7f, 0x22, 0x0d, 0xb0,
0x03, 0xe8, 0x91, 0x58, 0xe6, 0x39, 0xb3, 0x59, 0x68, 0x91, 0x57, 0x53, 0x12, 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xab, 0x07, 0x57, 0x16, 0xae, 0x03, 0x74, 0x67, 0xe9, 0x3d, 0x21, 0xd7, 0xdc, 0xf9, 0x8f, 0x7b,
0x04, 0xaf, 0xa1, 0x7d, 0x28, 0x47, 0x94, 0x8b, 0x6e, 0xc6, 0xf4, 0x32, 0xcf, 0xfd, 0x66, 0x23,
0x3d, 0x91, 0x00, 0xf6, 0x1d, 0x6c, 0xa6, 0xd8, 0x10, 0xc5, 0x65, 0xb8, 0x8c, 0xa8, 0xcd, 0xbb,
0x6f, 0xb1, 0x88, 0xe1, 0x7d, 0x1b, 0x51, 0x80, 0x66, 0x97, 0x45, 0x0a, 0x48, 0x51, 0xe7, 0x22,
0x05, 0xa4, 0x89, 0x89, 0xc3, 0xee, 0x97, 0x44, 0x77, 0xf1, 0xd9, 0xbf, 0x01, 0x00, 0x00, 0xff,
0xff, 0x72, 0x55, 0x08, 0x55, 0xce, 0x12, 0x00, 0x00,
}
......@@ -23,6 +23,14 @@ type CommitDiffRequest struct {
RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId" json:"right_commit_id,omitempty"`
IgnoreWhitespaceChange bool `protobuf:"varint,4,opt,name=ignore_whitespace_change,json=ignoreWhitespaceChange" json:"ignore_whitespace_change,omitempty"`
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"`
}
func (m *CommitDiffRequest) Reset() { *m = CommitDiffRequest{} }
......@@ -65,6 +73,62 @@ func (m *CommitDiffRequest) GetPaths() [][]byte {
return nil
}
func (m *CommitDiffRequest) GetCollapseDiffs() bool {
if m != nil {
return m.CollapseDiffs
}
return false
}
func (m *CommitDiffRequest) GetEnforceLimits() bool {
if m != nil {
return m.EnforceLimits
}
return false
}
func (m *CommitDiffRequest) GetMaxFiles() int32 {
if m != nil {
return m.MaxFiles
}
return 0
}
func (m *CommitDiffRequest) GetMaxLines() int32 {
if m != nil {
return m.MaxLines
}
return 0
}
func (m *CommitDiffRequest) GetMaxBytes() int32 {
if m != nil {
return m.MaxBytes
}
return 0
}
func (m *CommitDiffRequest) GetSafeMaxFiles() int32 {
if m != nil {
return m.SafeMaxFiles
}
return 0
}
func (m *CommitDiffRequest) GetSafeMaxLines() int32 {
if m != nil {
return m.SafeMaxLines
}
return 0
}
func (m *CommitDiffRequest) GetSafeMaxBytes() int32 {
if m != nil {
return m.SafeMaxBytes
}
return 0
}
// A CommitDiffResponse corresponds to a single changed file in a commit.
type CommitDiffResponse struct {
FromPath []byte `protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"`
......@@ -77,6 +141,10 @@ type CommitDiffResponse struct {
Binary bool `protobuf:"varint,7,opt,name=binary" json:"binary,omitempty"`
RawPatchData []byte `protobuf:"bytes,9,opt,name=raw_patch_data,json=rawPatchData,proto3" json:"raw_patch_data,omitempty"`
EndOfPatch bool `protobuf:"varint,10,opt,name=end_of_patch,json=endOfPatch" json:"end_of_patch,omitempty"`
// 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"`
}
func (m *CommitDiffResponse) Reset() { *m = CommitDiffResponse{} }
......@@ -147,6 +215,20 @@ func (m *CommitDiffResponse) GetEndOfPatch() bool {
return false
}
func (m *CommitDiffResponse) GetOverflowMarker() bool {
if m != nil {
return m.OverflowMarker
}
return false
}
func (m *CommitDiffResponse) GetCollapsed() bool {
if m != nil {
return m.Collapsed
}
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"`
......@@ -434,36 +516,45 @@ var _DiffService_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("diff.proto", fileDescriptor3) }
var fileDescriptor3 = []byte{
// 481 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x94, 0x4f, 0x8e, 0xd3, 0x30,
0x14, 0xc6, 0x71, 0xdb, 0xa4, 0xe9, 0x6b, 0xf8, 0xe7, 0xa2, 0xc1, 0xd3, 0xd9, 0x44, 0x11, 0x42,
0x91, 0x90, 0x2a, 0x54, 0x36, 0xac, 0x99, 0x91, 0x50, 0x47, 0x42, 0x8c, 0xc2, 0x82, 0x65, 0xe4,
0x89, 0x9d, 0xc6, 0x52, 0x1a, 0x07, 0xc7, 0x10, 0xf5, 0x1e, 0x9c, 0x80, 0x0d, 0x1b, 0xae, 0xc5,
0x3d, 0x90, 0xed, 0x4e, 0x9a, 0x41, 0x3d, 0xc0, 0x2c, 0xfd, 0xfd, 0x3e, 0xbf, 0x7e, 0x7e, 0xef,
0x35, 0x00, 0x4c, 0x14, 0xc5, 0xaa, 0x51, 0x52, 0x4b, 0xec, 0x6f, 0x85, 0xa6, 0xd5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0xac, 0x75, 0xeb, 0xdb,
0xef, 0xc8, 0xbb, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4b, 0xf5, 0xb7, 0x6e, 0x6b, 0x04, 0x00,
0x00,
// 629 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x94, 0xcf, 0x6e, 0xdb, 0x38,
0x10, 0xc6, 0x57, 0xb1, 0xad, 0xc8, 0x63, 0x25, 0xd9, 0x65, 0x16, 0x59, 0xc5, 0xd9, 0x83, 0x60,
0xf4, 0x8f, 0x81, 0x02, 0x41, 0xe1, 0x5e, 0x7a, 0x4e, 0x82, 0x16, 0x09, 0x12, 0x34, 0x50, 0x0f,
0x3d, 0x0a, 0x8c, 0x38, 0xb2, 0x88, 0x4a, 0xa2, 0x4b, 0xb2, 0x71, 0xfc, 0x3a, 0xbd, 0xf4, 0xd2,
0x37, 0xea, 0xab, 0xf4, 0x50, 0x90, 0xb4, 0x64, 0xb9, 0xc8, 0x03, 0xe4, 0x38, 0xdf, 0xef, 0xd3,
0xcc, 0x68, 0x86, 0x24, 0x00, 0xe3, 0x79, 0x7e, 0xba, 0x90, 0x42, 0x0b, 0xe2, 0xcf, 0xb9, 0xa6,
0xe5, 0x6a, 0x1c, 0xaa, 0x82, 0x4a, 0x64, 0x4e, 0x9d, 0xfc, 0xea, 0xc1, 0x3f, 0xe7, 0xa2, 0xaa,
0xb8, 0xbe, 0xe0, 0x79, 0x9e, 0xe0, 0x97, 0xaf, 0xa8, 0x34, 0x99, 0x01, 0x48, 0x5c, 0x08, 0xc5,
0xb5, 0x90, 0xab, 0xc8, 0x8b, 0xbd, 0xe9, 0x68, 0x46, 0x4e, 0x5d, 0x82, 0xd3, 0xa4, 0x25, 0x49,
0xc7, 0x45, 0x9e, 0xc1, 0x7e, 0x89, 0xb9, 0x4e, 0x33, 0x9b, 0x2d, 0xe5, 0x2c, 0xda, 0x89, 0xb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x3d, 0x18, 0x75, 0xda, 0x7d, 0xba, 0xa7, 0x60, 0x72, 0x06, 0x87, 0x5b, 0x73, 0x5d, 0x1f,
0xdb, 0x57, 0xe0, 0x33, 0x23, 0xa8, 0xc8, 0x8b, 0x7b, 0xd3, 0xd1, 0xec, 0xb0, 0x19, 0x6a, 0xd7,
0xbc, 0xb6, 0xcc, 0xbe, 0x79, 0x30, 0x32, 0x87, 0xfe, 0x23, 0xca, 0x7b, 0x9e, 0x21, 0x79, 0x0f,
0xb0, 0xb9, 0x09, 0xe4, 0xf8, 0x8f, 0x4f, 0x37, 0x8f, 0xe3, 0x78, 0xfc, 0x18, 0x72, 0x1d, 0x4c,
0xfe, 0x7a, 0xed, 0x91, 0xab, 0xed, 0x29, 0x8e, 0x1f, 0x6b, 0x62, 0x9d, 0xea, 0xe4, 0x51, 0xb6,
0xc9, 0x75, 0xe7, 0xdb, 0x57, 0xfa, 0xcd, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2a, 0x75, 0x5b,
0xf9, 0xc9, 0x05, 0x00, 0x00,
}
......@@ -311,6 +311,177 @@ func (m *FindLocalBranchCommitAuthor) GetDate() *google_protobuf.Timestamp {
return nil
}
type FindAllBranchesRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func (m *FindAllBranchesRequest) Reset() { *m = FindAllBranchesRequest{} }
func (m *FindAllBranchesRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchesRequest) ProtoMessage() {}
func (*FindAllBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{12} }
func (m *FindAllBranchesRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
type FindAllBranchesResponse struct {
Branches []*FindAllBranchesResponse_Branch `protobuf:"bytes,1,rep,name=branches" json:"branches,omitempty"`
}
func (m *FindAllBranchesResponse) Reset() { *m = FindAllBranchesResponse{} }
func (m *FindAllBranchesResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchesResponse) ProtoMessage() {}
func (*FindAllBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{13} }
func (m *FindAllBranchesResponse) GetBranches() []*FindAllBranchesResponse_Branch {
if m != nil {
return m.Branches
}
return nil
}
type FindAllBranchesResponse_Branch struct {
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Target *GitCommit `protobuf:"bytes,2,opt,name=target" json:"target,omitempty"`
}
func (m *FindAllBranchesResponse_Branch) Reset() { *m = FindAllBranchesResponse_Branch{} }
func (m *FindAllBranchesResponse_Branch) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchesResponse_Branch) ProtoMessage() {}
func (*FindAllBranchesResponse_Branch) Descriptor() ([]byte, []int) {
return fileDescriptor5, []int{13, 0}
}
func (m *FindAllBranchesResponse_Branch) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *FindAllBranchesResponse_Branch) GetTarget() *GitCommit {
if m != nil {
return m.Target
}
return nil
}
type FindAllTagsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func (m *FindAllTagsRequest) Reset() { *m = FindAllTagsRequest{} }
func (m *FindAllTagsRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllTagsRequest) ProtoMessage() {}
func (*FindAllTagsRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{14} }
func (m *FindAllTagsRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
type FindAllTagsResponse struct {
Tags []*FindAllTagsResponse_Tag `protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty"`
}
func (m *FindAllTagsResponse) Reset() { *m = FindAllTagsResponse{} }
func (m *FindAllTagsResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllTagsResponse) ProtoMessage() {}
func (*FindAllTagsResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{15} }
func (m *FindAllTagsResponse) GetTags() []*FindAllTagsResponse_Tag {
if m != nil {
return m.Tags
}
return nil
}
type FindAllTagsResponse_Tag struct {
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
TargetCommit *GitCommit `protobuf:"bytes,3,opt,name=target_commit,json=targetCommit" json:"target_commit,omitempty"`
Message []byte `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
}
func (m *FindAllTagsResponse_Tag) Reset() { *m = FindAllTagsResponse_Tag{} }
func (m *FindAllTagsResponse_Tag) String() string { return proto.CompactTextString(m) }
func (*FindAllTagsResponse_Tag) ProtoMessage() {}
func (*FindAllTagsResponse_Tag) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{15, 0} }
func (m *FindAllTagsResponse_Tag) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *FindAllTagsResponse_Tag) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *FindAllTagsResponse_Tag) GetTargetCommit() *GitCommit {
if m != nil {
return m.TargetCommit
}
return nil
}
func (m *FindAllTagsResponse_Tag) GetMessage() []byte {
if m != nil {
return m.Message
}
return nil
}
type RefExistsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// Any ref, e.g. 'refs/heads/master' or 'refs/tags/v1.0.1'. Must start with 'refs/'.
Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
}
func (m *RefExistsRequest) Reset() { *m = RefExistsRequest{} }
func (m *RefExistsRequest) String() string { return proto.CompactTextString(m) }
func (*RefExistsRequest) ProtoMessage() {}
func (*RefExistsRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{16} }
func (m *RefExistsRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *RefExistsRequest) GetRef() []byte {
if m != nil {
return m.Ref
}
return nil
}
type RefExistsResponse struct {
Value bool `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}
func (m *RefExistsResponse) Reset() { *m = RefExistsResponse{} }
func (m *RefExistsResponse) String() string { return proto.CompactTextString(m) }
func (*RefExistsResponse) ProtoMessage() {}
func (*RefExistsResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{17} }
func (m *RefExistsResponse) GetValue() bool {
if m != nil {
return m.Value
}
return false
}
func init() {
proto.RegisterType((*FindDefaultBranchNameRequest)(nil), "gitaly.FindDefaultBranchNameRequest")
proto.RegisterType((*FindDefaultBranchNameResponse)(nil), "gitaly.FindDefaultBranchNameResponse")
......@@ -324,6 +495,14 @@ func init() {
proto.RegisterType((*FindLocalBranchesResponse)(nil), "gitaly.FindLocalBranchesResponse")
proto.RegisterType((*FindLocalBranchResponse)(nil), "gitaly.FindLocalBranchResponse")
proto.RegisterType((*FindLocalBranchCommitAuthor)(nil), "gitaly.FindLocalBranchCommitAuthor")
proto.RegisterType((*FindAllBranchesRequest)(nil), "gitaly.FindAllBranchesRequest")
proto.RegisterType((*FindAllBranchesResponse)(nil), "gitaly.FindAllBranchesResponse")
proto.RegisterType((*FindAllBranchesResponse_Branch)(nil), "gitaly.FindAllBranchesResponse.Branch")
proto.RegisterType((*FindAllTagsRequest)(nil), "gitaly.FindAllTagsRequest")
proto.RegisterType((*FindAllTagsResponse)(nil), "gitaly.FindAllTagsResponse")
proto.RegisterType((*FindAllTagsResponse_Tag)(nil), "gitaly.FindAllTagsResponse.Tag")
proto.RegisterType((*RefExistsRequest)(nil), "gitaly.RefExistsRequest")
proto.RegisterType((*RefExistsResponse)(nil), "gitaly.RefExistsResponse")
proto.RegisterEnum("gitaly.FindLocalBranchesRequest_SortBy", FindLocalBranchesRequest_SortBy_name, FindLocalBranchesRequest_SortBy_value)
}
......@@ -345,6 +524,9 @@ type RefServiceClient interface {
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) (RefService_FindLocalBranchesClient, error)
FindAllBranches(ctx context.Context, in *FindAllBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllBranchesClient, error)
FindAllTags(ctx context.Context, in *FindAllTagsRequest, opts ...grpc.CallOption) (RefService_FindAllTagsClient, error)
RefExists(ctx context.Context, in *RefExistsRequest, opts ...grpc.CallOption) (*RefExistsResponse, error)
}
type refServiceClient struct {
......@@ -469,6 +651,79 @@ func (x *refServiceFindLocalBranchesClient) Recv() (*FindLocalBranchesResponse,
return m, nil
}
func (c *refServiceClient) FindAllBranches(ctx context.Context, in *FindAllBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllBranchesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_RefService_serviceDesc.Streams[3], c.cc, "/gitaly.RefService/FindAllBranches", opts...)
if err != nil {
return nil, err
}
x := &refServiceFindAllBranchesClient{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 RefService_FindAllBranchesClient interface {
Recv() (*FindAllBranchesResponse, error)
grpc.ClientStream
}
type refServiceFindAllBranchesClient struct {
grpc.ClientStream
}
func (x *refServiceFindAllBranchesClient) Recv() (*FindAllBranchesResponse, error) {
m := new(FindAllBranchesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *refServiceClient) FindAllTags(ctx context.Context, in *FindAllTagsRequest, opts ...grpc.CallOption) (RefService_FindAllTagsClient, error) {
stream, err := grpc.NewClientStream(ctx, &_RefService_serviceDesc.Streams[4], c.cc, "/gitaly.RefService/FindAllTags", opts...)
if err != nil {
return nil, err
}
x := &refServiceFindAllTagsClient{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 RefService_FindAllTagsClient interface {
Recv() (*FindAllTagsResponse, error)
grpc.ClientStream
}
type refServiceFindAllTagsClient struct {
grpc.ClientStream
}
func (x *refServiceFindAllTagsClient) Recv() (*FindAllTagsResponse, error) {
m := new(FindAllTagsResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *refServiceClient) RefExists(ctx context.Context, in *RefExistsRequest, opts ...grpc.CallOption) (*RefExistsResponse, error) {
out := new(RefExistsResponse)
err := grpc.Invoke(ctx, "/gitaly.RefService/RefExists", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for RefService service
type RefServiceServer interface {
......@@ -479,6 +734,9 @@ type RefServiceServer interface {
FindRefName(context.Context, *FindRefNameRequest) (*FindRefNameResponse, error)
// Return a stream so we can divide the response in chunks of branches
FindLocalBranches(*FindLocalBranchesRequest, RefService_FindLocalBranchesServer) error
FindAllBranches(*FindAllBranchesRequest, RefService_FindAllBranchesServer) error
FindAllTags(*FindAllTagsRequest, RefService_FindAllTagsServer) error
RefExists(context.Context, *RefExistsRequest) (*RefExistsResponse, error)
}
func RegisterRefServiceServer(s *grpc.Server, srv RefServiceServer) {
......@@ -584,6 +842,66 @@ func (x *refServiceFindLocalBranchesServer) Send(m *FindLocalBranchesResponse) e
return x.ServerStream.SendMsg(m)
}
func _RefService_FindAllBranches_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(FindAllBranchesRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(RefServiceServer).FindAllBranches(m, &refServiceFindAllBranchesServer{stream})
}
type RefService_FindAllBranchesServer interface {
Send(*FindAllBranchesResponse) error
grpc.ServerStream
}
type refServiceFindAllBranchesServer struct {
grpc.ServerStream
}
func (x *refServiceFindAllBranchesServer) Send(m *FindAllBranchesResponse) error {
return x.ServerStream.SendMsg(m)
}
func _RefService_FindAllTags_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(FindAllTagsRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(RefServiceServer).FindAllTags(m, &refServiceFindAllTagsServer{stream})
}
type RefService_FindAllTagsServer interface {
Send(*FindAllTagsResponse) error
grpc.ServerStream
}
type refServiceFindAllTagsServer struct {
grpc.ServerStream
}
func (x *refServiceFindAllTagsServer) Send(m *FindAllTagsResponse) error {
return x.ServerStream.SendMsg(m)
}
func _RefService_RefExists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RefExistsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RefServiceServer).RefExists(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RefService/RefExists",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RefServiceServer).RefExists(ctx, req.(*RefExistsRequest))
}
return interceptor(ctx, in, info, handler)
}
var _RefService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.RefService",
HandlerType: (*RefServiceServer)(nil),
......@@ -596,6 +914,10 @@ var _RefService_serviceDesc = grpc.ServiceDesc{
MethodName: "FindRefName",
Handler: _RefService_FindRefName_Handler,
},
{
MethodName: "RefExists",
Handler: _RefService_RefExists_Handler,
},
},
Streams: []grpc.StreamDesc{
{
......@@ -613,6 +935,16 @@ var _RefService_serviceDesc = grpc.ServiceDesc{
Handler: _RefService_FindLocalBranches_Handler,
ServerStreams: true,
},
{
StreamName: "FindAllBranches",
Handler: _RefService_FindAllBranches_Handler,
ServerStreams: true,
},
{
StreamName: "FindAllTags",
Handler: _RefService_FindAllTags_Handler,
ServerStreams: true,
},
},
Metadata: "ref.proto",
}
......@@ -620,44 +952,58 @@ var _RefService_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("ref.proto", fileDescriptor5) }
var fileDescriptor5 = []byte{
// 620 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xc1, 0x6e, 0xd3, 0x40,
0x10, 0xad, 0xdb, 0x34, 0xb4, 0x13, 0xd3, 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37, 0xed, 0x67, 0xf3, 0xe4, 0x19, 0x94, 0x78, 0x8a, 0xf5, 0x02, 0xf5,
0xd3, 0x7a, 0xc8, 0xac, 0x43, 0x74, 0xac, 0x2c, 0xd0, 0xec, 0xe6, 0x33, 0xad, 0x6d, 0x90, 0x84,
0xfe, 0x73, 0x0d, 0xfd, 0x0c, 0xfb, 0x2b, 0xdb, 0x0e, 0xbd, 0x5b, 0xaf, 0x89, 0x25, 0xea, 0xa3,
0x8d, 0xe7, 0x19, 0xde, 0x2b, 0xa8, 0x66, 0xb6, 0x12, 0x32, 0xb3, 0x36, 0xcb, 0x9b, 0xd2, 0x3c,
0x54, 0x9e, 0xa5, 0x21, 0xf8, 0x05, 0x0e, 0xd6, 0x46, 0x3d, 0xaa, 0x3f, 0xb7, 0x67, 0xcc, 0xe3,
0x2d, 0x08, 0xa5, 0xff, 0x29, 0xf7, 0xbb, 0x8d, 0xed, 0xaf, 0xf6, 0x5f, 0xc9, 0xfb, 0x9d, 0xf0,
0x5f, 0xb6, 0xd4, 0xb2, 0xff, 0xcb, 0xdd, 0xbd, 0xec, 0xff, 0x4a, 0x0f, 0x72, 0xae, 0x26, 0x54,
0xd2, 0x32, 0x45, 0xc6, 0x53, 0x95, 0x2f, 0xf7, 0x84, 0xf9, 0x56, 0x71, 0x92, 0xb0, 0x0c, 0x4a,
0x7c, 0xd2, 0x5e, 0xfc, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x21, 0xf9, 0x20, 0xe0, 0x7c, 0x0a, 0x00,
0x00,
}
......@@ -49,9 +49,246 @@ func (m *RepositoryExistsResponse) GetExists() bool {
return false
}
type RepackIncrementalRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func (m *RepackIncrementalRequest) Reset() { *m = RepackIncrementalRequest{} }
func (m *RepackIncrementalRequest) String() string { return proto.CompactTextString(m) }
func (*RepackIncrementalRequest) ProtoMessage() {}
func (*RepackIncrementalRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{2} }
func (m *RepackIncrementalRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
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 fileDescriptor6, []int{3} }
type RepackFullRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
CreateBitmap bool `protobuf:"varint,2,opt,name=create_bitmap,json=createBitmap" json:"create_bitmap,omitempty"`
}
func (m *RepackFullRequest) Reset() { *m = RepackFullRequest{} }
func (m *RepackFullRequest) String() string { return proto.CompactTextString(m) }
func (*RepackFullRequest) ProtoMessage() {}
func (*RepackFullRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{4} }
func (m *RepackFullRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *RepackFullRequest) GetCreateBitmap() bool {
if m != nil {
return m.CreateBitmap
}
return false
}
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 fileDescriptor6, []int{5} }
type GarbageCollectRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
CreateBitmap bool `protobuf:"varint,2,opt,name=create_bitmap,json=createBitmap" json:"create_bitmap,omitempty"`
}
func (m *GarbageCollectRequest) Reset() { *m = GarbageCollectRequest{} }
func (m *GarbageCollectRequest) String() string { return proto.CompactTextString(m) }
func (*GarbageCollectRequest) ProtoMessage() {}
func (*GarbageCollectRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{6} }
func (m *GarbageCollectRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *GarbageCollectRequest) GetCreateBitmap() bool {
if m != nil {
return m.CreateBitmap
}
return false
}
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 fileDescriptor6, []int{7} }
type RepositorySizeRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func (m *RepositorySizeRequest) Reset() { *m = RepositorySizeRequest{} }
func (m *RepositorySizeRequest) String() string { return proto.CompactTextString(m) }
func (*RepositorySizeRequest) ProtoMessage() {}
func (*RepositorySizeRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{8} }
func (m *RepositorySizeRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
type RepositorySizeResponse struct {
// Repository size in kilobytes
Size int64 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"`
}
func (m *RepositorySizeResponse) Reset() { *m = RepositorySizeResponse{} }
func (m *RepositorySizeResponse) String() string { return proto.CompactTextString(m) }
func (*RepositorySizeResponse) ProtoMessage() {}
func (*RepositorySizeResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{9} }
func (m *RepositorySizeResponse) GetSize() int64 {
if m != nil {
return m.Size
}
return 0
}
type ApplyGitattributesRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
}
func (m *ApplyGitattributesRequest) Reset() { *m = ApplyGitattributesRequest{} }
func (m *ApplyGitattributesRequest) String() string { return proto.CompactTextString(m) }
func (*ApplyGitattributesRequest) ProtoMessage() {}
func (*ApplyGitattributesRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{10} }
func (m *ApplyGitattributesRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *ApplyGitattributesRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return nil
}
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 fileDescriptor6, []int{11} }
type FetchRemoteRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Remote string `protobuf:"bytes,2,opt,name=remote" json:"remote,omitempty"`
Force bool `protobuf:"varint,3,opt,name=force" json:"force,omitempty"`
NoTags bool `protobuf:"varint,4,opt,name=no_tags,json=noTags" json:"no_tags,omitempty"`
Timeout int32 `protobuf:"varint,5,opt,name=timeout" json:"timeout,omitempty"`
SshKey string `protobuf:"bytes,6,opt,name=ssh_key,json=sshKey" json:"ssh_key,omitempty"`
KnownHosts string `protobuf:"bytes,7,opt,name=known_hosts,json=knownHosts" json:"known_hosts,omitempty"`
}
func (m *FetchRemoteRequest) Reset() { *m = FetchRemoteRequest{} }
func (m *FetchRemoteRequest) String() string { return proto.CompactTextString(m) }
func (*FetchRemoteRequest) ProtoMessage() {}
func (*FetchRemoteRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{12} }
func (m *FetchRemoteRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *FetchRemoteRequest) GetRemote() string {
if m != nil {
return m.Remote
}
return ""
}
func (m *FetchRemoteRequest) GetForce() bool {
if m != nil {
return m.Force
}
return false
}
func (m *FetchRemoteRequest) GetNoTags() bool {
if m != nil {
return m.NoTags
}
return false
}
func (m *FetchRemoteRequest) GetTimeout() int32 {
if m != nil {
return m.Timeout
}
return 0
}
func (m *FetchRemoteRequest) GetSshKey() string {
if m != nil {
return m.SshKey
}
return ""
}
func (m *FetchRemoteRequest) GetKnownHosts() string {
if m != nil {
return m.KnownHosts
}
return ""
}
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 fileDescriptor6, []int{13} }
func init() {
proto.RegisterType((*RepositoryExistsRequest)(nil), "gitaly.RepositoryExistsRequest")
proto.RegisterType((*RepositoryExistsResponse)(nil), "gitaly.RepositoryExistsResponse")
proto.RegisterType((*RepackIncrementalRequest)(nil), "gitaly.RepackIncrementalRequest")
proto.RegisterType((*RepackIncrementalResponse)(nil), "gitaly.RepackIncrementalResponse")
proto.RegisterType((*RepackFullRequest)(nil), "gitaly.RepackFullRequest")
proto.RegisterType((*RepackFullResponse)(nil), "gitaly.RepackFullResponse")
proto.RegisterType((*GarbageCollectRequest)(nil), "gitaly.GarbageCollectRequest")
proto.RegisterType((*GarbageCollectResponse)(nil), "gitaly.GarbageCollectResponse")
proto.RegisterType((*RepositorySizeRequest)(nil), "gitaly.RepositorySizeRequest")
proto.RegisterType((*RepositorySizeResponse)(nil), "gitaly.RepositorySizeResponse")
proto.RegisterType((*ApplyGitattributesRequest)(nil), "gitaly.ApplyGitattributesRequest")
proto.RegisterType((*ApplyGitattributesResponse)(nil), "gitaly.ApplyGitattributesResponse")
proto.RegisterType((*FetchRemoteRequest)(nil), "gitaly.FetchRemoteRequest")
proto.RegisterType((*FetchRemoteResponse)(nil), "gitaly.FetchRemoteResponse")
}
// Reference imports to suppress errors if they are not otherwise used.
......@@ -65,6 +302,14 @@ const _ = grpc.SupportPackageIsVersion4
// Client API for RepositoryService service
type RepositoryServiceClient interface {
RepositoryExists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error)
RepackIncremental(ctx context.Context, in *RepackIncrementalRequest, opts ...grpc.CallOption) (*RepackIncrementalResponse, error)
RepackFull(ctx context.Context, in *RepackFullRequest, opts ...grpc.CallOption) (*RepackFullResponse, error)
GarbageCollect(ctx context.Context, in *GarbageCollectRequest, opts ...grpc.CallOption) (*GarbageCollectResponse, error)
RepositorySize(ctx context.Context, in *RepositorySizeRequest, opts ...grpc.CallOption) (*RepositorySizeResponse, error)
ApplyGitattributes(ctx context.Context, in *ApplyGitattributesRequest, opts ...grpc.CallOption) (*ApplyGitattributesResponse, error)
FetchRemote(ctx context.Context, in *FetchRemoteRequest, opts ...grpc.CallOption) (*FetchRemoteResponse, error)
// Deprecated, use the RepositoryExists RPC instead.
Exists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error)
}
......@@ -76,6 +321,69 @@ func NewRepositoryServiceClient(cc *grpc.ClientConn) RepositoryServiceClient {
return &repositoryServiceClient{cc}
}
func (c *repositoryServiceClient) RepositoryExists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error) {
out := new(RepositoryExistsResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/RepositoryExists", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) RepackIncremental(ctx context.Context, in *RepackIncrementalRequest, opts ...grpc.CallOption) (*RepackIncrementalResponse, error) {
out := new(RepackIncrementalResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/RepackIncremental", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) RepackFull(ctx context.Context, in *RepackFullRequest, opts ...grpc.CallOption) (*RepackFullResponse, error) {
out := new(RepackFullResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/RepackFull", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) GarbageCollect(ctx context.Context, in *GarbageCollectRequest, opts ...grpc.CallOption) (*GarbageCollectResponse, error) {
out := new(GarbageCollectResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/GarbageCollect", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) RepositorySize(ctx context.Context, in *RepositorySizeRequest, opts ...grpc.CallOption) (*RepositorySizeResponse, error) {
out := new(RepositorySizeResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/RepositorySize", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) ApplyGitattributes(ctx context.Context, in *ApplyGitattributesRequest, opts ...grpc.CallOption) (*ApplyGitattributesResponse, error) {
out := new(ApplyGitattributesResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/ApplyGitattributes", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) FetchRemote(ctx context.Context, in *FetchRemoteRequest, opts ...grpc.CallOption) (*FetchRemoteResponse, error) {
out := new(FetchRemoteResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/FetchRemote", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) Exists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error) {
out := new(RepositoryExistsResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/Exists", in, out, c.cc, opts...)
......@@ -88,6 +396,14 @@ func (c *repositoryServiceClient) Exists(ctx context.Context, in *RepositoryExis
// Server API for RepositoryService service
type RepositoryServiceServer interface {
RepositoryExists(context.Context, *RepositoryExistsRequest) (*RepositoryExistsResponse, error)
RepackIncremental(context.Context, *RepackIncrementalRequest) (*RepackIncrementalResponse, error)
RepackFull(context.Context, *RepackFullRequest) (*RepackFullResponse, error)
GarbageCollect(context.Context, *GarbageCollectRequest) (*GarbageCollectResponse, error)
RepositorySize(context.Context, *RepositorySizeRequest) (*RepositorySizeResponse, error)
ApplyGitattributes(context.Context, *ApplyGitattributesRequest) (*ApplyGitattributesResponse, error)
FetchRemote(context.Context, *FetchRemoteRequest) (*FetchRemoteResponse, error)
// Deprecated, use the RepositoryExists RPC instead.
Exists(context.Context, *RepositoryExistsRequest) (*RepositoryExistsResponse, error)
}
......@@ -95,6 +411,132 @@ func RegisterRepositoryServiceServer(s *grpc.Server, srv RepositoryServiceServer
s.RegisterService(&_RepositoryService_serviceDesc, srv)
}
func _RepositoryService_RepositoryExists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RepositoryExistsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).RepositoryExists(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/RepositoryExists",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).RepositoryExists(ctx, req.(*RepositoryExistsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_RepackIncremental_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RepackIncrementalRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).RepackIncremental(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/RepackIncremental",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).RepackIncremental(ctx, req.(*RepackIncrementalRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_RepackFull_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RepackFullRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).RepackFull(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/RepackFull",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).RepackFull(ctx, req.(*RepackFullRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_GarbageCollect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GarbageCollectRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).GarbageCollect(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/GarbageCollect",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).GarbageCollect(ctx, req.(*GarbageCollectRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_RepositorySize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RepositorySizeRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).RepositorySize(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/RepositorySize",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).RepositorySize(ctx, req.(*RepositorySizeRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_ApplyGitattributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ApplyGitattributesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).ApplyGitattributes(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/ApplyGitattributes",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).ApplyGitattributes(ctx, req.(*ApplyGitattributesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_FetchRemote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FetchRemoteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).FetchRemote(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/FetchRemote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).FetchRemote(ctx, req.(*FetchRemoteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_Exists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RepositoryExistsRequest)
if err := dec(in); err != nil {
......@@ -117,6 +559,34 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.RepositoryService",
HandlerType: (*RepositoryServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "RepositoryExists",
Handler: _RepositoryService_RepositoryExists_Handler,
},
{
MethodName: "RepackIncremental",
Handler: _RepositoryService_RepackIncremental_Handler,
},
{
MethodName: "RepackFull",
Handler: _RepositoryService_RepackFull_Handler,
},
{
MethodName: "GarbageCollect",
Handler: _RepositoryService_GarbageCollect_Handler,
},
{
MethodName: "RepositorySize",
Handler: _RepositoryService_RepositorySize_Handler,
},
{
MethodName: "ApplyGitattributes",
Handler: _RepositoryService_ApplyGitattributes_Handler,
},
{
MethodName: "FetchRemote",
Handler: _RepositoryService_FetchRemote_Handler,
},
{
MethodName: "Exists",
Handler: _RepositoryService_Exists_Handler,
......@@ -129,16 +599,40 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("repository-service.proto", fileDescriptor6) }
var fileDescriptor6 = []byte{
// 172 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x28, 0x4a, 0x2d, 0xc8,
0x2f, 0xce, 0x2c, 0xc9, 0x2f, 0xaa, 0xd4, 0x2d, 0x4e, 0x2d, 0x2a, 0xcb, 0x4c, 0x4e, 0xd5, 0x2b,
0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x4b, 0xcf, 0x2c, 0x49, 0xcc, 0xa9, 0x94, 0xe2, 0x29, 0xce,
0x48, 0x2c, 0x4a, 0x4d, 0x81, 0x88, 0x2a, 0xf9, 0x72, 0x89, 0x07, 0xc1, 0x75, 0xb8, 0x56, 0x64,
0x16, 0x97, 0x14, 0x07, 0xa5, 0x16, 0x96, 0xa6, 0x16, 0x97, 0x08, 0x19, 0x71, 0x71, 0x21, 0x0c,
0x93, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x36, 0x12, 0xd2, 0x83, 0x98, 0xa2, 0x87, 0xd0, 0x14, 0x84,
0xa4, 0x4a, 0xc9, 0x88, 0x4b, 0x02, 0xd3, 0xb8, 0xe2, 0x82, 0xfc, 0xbc, 0xe2, 0x54, 0x21, 0x31,
0x2e, 0xb6, 0x54, 0xb0, 0x08, 0xd8, 0x2c, 0x8e, 0x20, 0x28, 0xcf, 0x28, 0x89, 0x4b, 0x10, 0xa1,
0x27, 0x18, 0xe2, 0x66, 0x21, 0x5f, 0x2e, 0x36, 0x88, 0x76, 0x21, 0x79, 0x4c, 0x2b, 0x51, 0xdc,
0x29, 0xa5, 0x80, 0x5b, 0x01, 0xc4, 0x66, 0x25, 0x86, 0x24, 0x36, 0xb0, 0x6f, 0x8d, 0x01, 0x01,
0x00, 0x00, 0xff, 0xff, 0x7e, 0xc1, 0x7d, 0x44, 0x1f, 0x01, 0x00, 0x00,
// 558 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x6e, 0xd3, 0x40,
0x10, 0x6e, 0x68, 0x93, 0x94, 0x49, 0x40, 0x30, 0x34, 0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0x0b, 0x91, 0xd5, 0x4d,
0x10, 0x8c, 0xeb, 0x62, 0xe1, 0xf1, 0x5a, 0xf0, 0x68, 0xe5, 0x90, 0xf6, 0xf0, 0xfd, 0xdf, 0x55,
0xa3, 0x89, 0xe5, 0xb5, 0xd9, 0x47, 0x03, 0x3f, 0xc3, 0x83, 0x75, 0x25, 0xe3, 0xf1, 0xe6, 0xd9,
0x57, 0x9e, 0x0c, 0xb7, 0xbb, 0x3d, 0x21, 0x61, 0x7a, 0x07, 0xbf, 0x2c, 0x15, 0x98, 0x93, 0x27,
0xe6, 0x0b, 0x0b, 0x5f, 0x02, 0xf7, 0xd9, 0x2d, 0x19, 0x29, 0xf6, 0x29, 0x40, 0xa6, 0x37, 0xec,
0xac, 0x96, 0xe4, 0x14, 0xef, 0xba, 0x45, 0xa1, 0x14, 0xe6, 0x03, 0xdc, 0x5f, 0x95, 0x0b, 0x3e,
0x59, 0xe6, 0x17, 0x0a, 0xd7, 0x7d, 0xba, 0x2d, 0x9c, 0x87, 0x5c, 0x95, 0x46, 0x06, 0x59, 0xa8,
0xbf, 0x0c, 0xb2, 0x58, 0x51, 0xde, 0x0e, 0x7e, 0x05, 0xdc, 0x5c, 0x69, 0x4c, 0x79, 0xda, 0xaa,
0x2d, 0xd7, 0xbb, 0x2d, 0x25, 0x85, 0xbf, 0x80, 0x46, 0x6e, 0x5b, 0x30, 0x65, 0x6c, 0x53, 0x27,
0xee, 0x51, 0x61, 0x2c, 0x45, 0xba, 0x82, 0xda, 0x3f, 0x5c, 0xa0, 0x61, 0xcd, 0xfc, 0xb9, 0x5e,
0xfd, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x33, 0x2f, 0xf5, 0x96, 0xeb, 0x06, 0x00, 0x00,
}
......@@ -16,6 +16,12 @@ var _ = math.Inf
type Repository struct {
StorageName string `protobuf:"bytes,2,opt,name=storage_name,json=storageName" json:"storage_name,omitempty"`
RelativePath string `protobuf:"bytes,3,opt,name=relative_path,json=relativePath" json:"relative_path,omitempty"`
// Sets the GIT_OBJECT_DIRECTORY envvar on git commands to the value of this field.
// It influences the object storage directory the SHA1 directories are created underneath.
GitObjectDirectory string `protobuf:"bytes,4,opt,name=git_object_directory,json=gitObjectDirectory" json:"git_object_directory,omitempty"`
// Sets the GIT_ALTERNATE_OBJECT_DIRECTORIES envvar on git commands to the values of this field.
// It influences the list of Git object directories which can be used to search for Git objects.
GitAlternateObjectDirectories []string `protobuf:"bytes,5,rep,name=git_alternate_object_directories,json=gitAlternateObjectDirectories" json:"git_alternate_object_directories,omitempty"`
}
func (m *Repository) Reset() { *m = Repository{} }
......@@ -37,6 +43,20 @@ func (m *Repository) GetRelativePath() string {
return ""
}
func (m *Repository) GetGitObjectDirectory() string {
if m != nil {
return m.GitObjectDirectory
}
return ""
}
func (m *Repository) GetGitAlternateObjectDirectories() []string {
if m != nil {
return m.GitAlternateObjectDirectories
}
return nil
}
type GitCommit struct {
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
Subject []byte `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
......@@ -151,26 +171,30 @@ func init() {
func init() { proto.RegisterFile("shared.proto", fileDescriptor7) }
var fileDescriptor7 = []byte{
// 335 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0x4a, 0xc3, 0x40,
0x10, 0x25, 0x69, 0x1a, 0xcd, 0x34, 0x8a, 0x2c, 0x3d, 0x84, 0x82, 0x58, 0xe3, 0xa5, 0x07, 0x49,
0xa1, 0x7e, 0x81, 0x88, 0x88, 0x1e, 0x44, 0x56, 0xef, 0x75, 0xd2, 0xac, 0xc9, 0x4a, 0xd2, 0x0d,
0xbb, 0x93, 0x62, 0x7f, 0xd1, 0xaf, 0x92, 0xec, 0x36, 0xe8, 0xc9, 0xdb, 0xce, 0x9b, 0xf7, 0x66,
0xe6, 0xed, 0x83, 0xd8, 0x54, 0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0x85, 0x49,
0x2b, 0x88, 0xff, 0x2a, 0xfb, 0x23, 0xed, 0x47, 0x79, 0xee, 0xc8, 0xfe, 0xcd, 0xa6, 0x30, 0x16,
0x0d, 0xca, 0xfa, 0x60, 0xc8, 0x15, 0x2c, 0x83, 0xa0, 0x40, 0x12, 0xd6, 0xce, 0x64, 0x35, 0xcb,
0x5c, 0x30, 0xd9, 0x10, 0x4c, 0xf6, 0x36, 0x04, 0xc3, 0x2d, 0x2f, 0x4d, 0x01, 0xee, 0xbf, 0x24,
0xbd, 0x12, 0x52, 0x67, 0xfa, 0x99, 0x3b, 0xac, 0x3b, 0xb7, 0x68, 0xcc, 0x5d, 0x91, 0x87, 0x56,
0x7d, 0xf3, 0x13, 0x00, 0x00, 0xff, 0xff, 0x0a, 0x87, 0xe3, 0xb7, 0xfc, 0x01, 0x00, 0x00,
// 393 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4d, 0x8f, 0xd3, 0x40,
0x0c, 0x55, 0xba, 0x69, 0x21, 0x6e, 0x40, 0x68, 0xd4, 0x43, 0xb4, 0xd2, 0x8a, 0x12, 0x2e, 0x7b,
0x40, 0x59, 0x54, 0x7e, 0xc1, 0x0a, 0xd0, 0x0a, 0x0e, 0x80, 0x02, 0xf7, 0xc8, 0x6d, 0x4c, 0x62,
0x94, 0x74, 0xa2, 0x19, 0x67, 0x45, 0xff, 0x22, 0x7f, 0x81, 0x3f, 0x83, 0xe2, 0x69, 0xc4, 0xc7,
0x81, 0x9b, 0xfd, 0xfc, 0x9e, 0xf3, 0x5e, 0xc6, 0x90, 0xfa, 0x16, 0x1d, 0xd5, 0xc5, 0xe0, 0xac,
0x58, 0xb3, 0x6a, 0x58, 0xb0, 0x3b, 0x5d, 0x3e, 0x6d, 0xac, 0x6d, 0x3a, 0xba, 0x51, 0x74, 0x3f,
0x7e, 0xbd, 0x11, 0xee, 0xc9, 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x83, 0xe4, 0xa0, 0xb8,
0x90, 0xcb, 0x96, 0xff, 0x11, 0xfc, 0xa6, 0x99, 0x2b, 0x80, 0x01, 0x1d, 0x1d, 0xa5, 0xe2, 0xda,
0x67, 0x2b, 0x0d, 0x9b, 0x04, 0xe4, 0x5d, 0xed, 0xf3, 0x16, 0xd2, 0x3f, 0x95, 0x93, 0x49, 0x7d,
0xa3, 0x28, 0x98, 0x9c, 0x6a, 0xb3, 0x81, 0x25, 0xf5, 0xc8, 0xdd, 0x39, 0x50, 0x68, 0x4c, 0x01,
0x71, 0x8d, 0x42, 0x1a, 0x67, 0xbd, 0xbb, 0x2c, 0xc2, 0x51, 0x14, 0xf3, 0x51, 0x14, 0x5f, 0xe6,
0xa3, 0x28, 0x95, 0x97, 0xe7, 0x00, 0x6f, 0xbf, 0xb3, 0x7c, 0x16, 0x94, 0xd1, 0x4f, 0x3b, 0xef,
0xb1, 0x1b, 0xc3, 0x87, 0x96, 0x65, 0x68, 0xf6, 0x2b, 0x55, 0xbf, 0xfa, 0x15, 0x00, 0x00, 0xff,
0xff, 0xe1, 0xc9, 0xfa, 0xcc, 0x78, 0x02, 0x00, 0x00,
}
......@@ -22,6 +22,8 @@ type SSHUploadPackRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// A chunk of raw data to be copied to 'git upload-pack' standard input
Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"`
// Parameters to use with git -c (key=value pairs)
GitConfigOptions []string `protobuf:"bytes,4,rep,name=git_config_options,json=gitConfigOptions" json:"git_config_options,omitempty"`
}
func (m *SSHUploadPackRequest) Reset() { *m = SSHUploadPackRequest{} }
......@@ -43,6 +45,13 @@ func (m *SSHUploadPackRequest) GetStdin() []byte {
return nil
}
func (m *SSHUploadPackRequest) GetGitConfigOptions() []string {
if m != nil {
return m.GitConfigOptions
}
return nil
}
type SSHUploadPackResponse struct {
// A chunk of raw data from 'git upload-pack' standard output
Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
......@@ -342,25 +351,28 @@ var _SSHService_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("ssh.proto", fileDescriptor9) }
var fileDescriptor9 = []byte{
// 307 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x52, 0xcf, 0x4e, 0x32, 0x31,
0x10, 0xff, 0xfa, 0x09, 0x24, 0x0c, 0x8b, 0x87, 0x11, 0x09, 0x21, 0x6a, 0xc8, 0x7a, 0xe1, 0x44,
0x0c, 0x3c, 0x83, 0x09, 0xde, 0x4c, 0x1b, 0xce, 0xb8, 0xd2, 0xc9, 0xd2, 0xd8, 0xd0, 0xb5, 0x2d,
0x04, 0x12, 0x7d, 0x12, 0x1f, 0xc4, 0xd7, 0x33, 0xe9, 0xae, 0xb8, 0x8b, 0x72, 0xd4, 0xdb, 0xce,
0xfc, 0x76, 0x7e, 0x7f, 0x3a, 0x03, 0x4d, 0xe7, 0x96, 0xa3, 0xcc, 0x1a, 0x6f, 0xb0, 0x91, 0x2a,
0x9f, 0xe8, 0x5d, 0x3f, 0x72, 0xcb, 0xc4, 0x92, 0xcc, 0xbb, 0xf1, 0x03, 0x74, 0x84, 0x98, 0xce,
0x32, 0x6d, 0x12, 0x79, 0x9f, 0x2c, 0x9e, 0x38, 0x3d, 0xaf, 0xc9, 0x79, 0x1c, 0x03, 0x58, 0xca,
0x8c, 0x53, 0xde, 0xd8, 0x5d, 0x8f, 0x0d, 0xd8, 0xb0, 0x35, 0xc6, 0x51, 0x4e, 0x31, 0xe2, 0x7b,
0x84, 0x97, 0xfe, 0xc2, 0x0e, 0xd4, 0x9d, 0x97, 0x6a, 0xd5, 0xfb, 0x3f, 0x60, 0xc3, 0x88, 0xe7,
0x45, 0xfc, 0x02, 0xe7, 0x07, 0x0a, 0x2e, 0x33, 0x2b, 0x47, 0xd8, 0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0x5c, 0xa9, 0xcd, 0x4a, 0xab, 0xf4, 0x73, 0xad, 0x4b, 0x49, 0xa5, 0x45,
0x27, 0xd0, 0xe2, 0x2b, 0x89, 0x81, 0xc1, 0x10, 0x17, 0xc6, 0xa9, 0x6d, 0xb7, 0x77, 0xb1, 0x92,
0xe8, 0xe7, 0x84, 0x01, 0xdf, 0x9c, 0xdd, 0x17, 0x92, 0x97, 0x67, 0x3c, 0xe2, 0x72, 0xc9, 0x7f,
0x66, 0x58, 0x07, 0x50, 0x17, 0x49, 0x20, 0xe3, 0x5c, 0x52, 0x93, 0x59, 0x22, 0xb9, 0x8c, 0xe9,
0x09, 0xb4, 0x45, 0x12, 0x54, 0x2a, 0x58, 0x39, 0xb4, 0x45, 0xf2, 0x99, 0xdb, 0x7d, 0x86, 0xfe,
0xae, 0xb8, 0x5f, 0x1c, 0xce, 0xf8, 0x8d, 0x00, 0xf8, 0xfe, 0xd4, 0xe7, 0x7a, 0x29, 0x23, 0x4e,
0x19, 0xb4, 0xb7, 0x36, 0x45, 0x0f, 0x3f, 0xe2, 0xbf, 0x7b, 0x6d, 0x83, 0xa3, 0x3d, 0xb4, 0xe8,
0xc0, 0xfd, 0xe3, 0x91, 0x33, 0x42, 0x67, 0xf0, 0x7f, 0xbb, 0x43, 0x5a, 0x0d, 0xfb, 0xba, 0x96,
0xc1, 0xf1, 0x3e, 0x5c, 0x4d, 0x7b, 0xdb, 0xc8, 0x7f, 0xc2, 0xe4, 0x3d, 0x00, 0x00, 0xff, 0xff,
0x2e, 0x25, 0xf4, 0x8b, 0x2c, 0x03, 0x00, 0x00,
}
......@@ -146,12 +146,12 @@
"revisionTime": "2016-11-17T07:43:51Z"
},
{
"checksumSHA1": "kvKqkz5AAO34W1mB4t9bAZdPGEw=",
"checksumSHA1": "TEYQhyNOlpU0WpNjmujBqT6++jU=",
"path": "gitlab.com/gitlab-org/gitaly-proto/go",
"revision": "e61d1eab6f19e153379184d378c72917b6d03dc3",
"revisionTime": "2017-07-07T23:49:54Z",
"version": "v0.15.0",
"versionExact": "v0.15.0"
"revision": "30b876cba87a2cc52a5fa5eb92e01df85ad48ff1",
"revisionTime": "2017-08-16T10:07:43Z",
"version": "v0.29.0",
"versionExact": "v0.29.0"
},
{
"checksumSHA1": "dUHJbKas746n5fLzlwxHb6FOCxs=",
......
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