Commit 2be40f7e authored by Robert Speicher's avatar Robert Speicher

Merge branch 'gitaly-dependencies' into 'master'

Update gitaly-proto and gitaly libs

See merge request gitlab-org/gitlab-shell!185
parents 20835b83 1ec93d3a
......@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
......@@ -7,18 +7,28 @@ Package gitaly is a generated protocol buffer package.
It is generated from these files:
blob.proto
commit.proto
conflicts.proto
deprecated-services.proto
diff.proto
namespace.proto
notifications.proto
operations.proto
ref.proto
remote.proto
repository-service.proto
shared.proto
smarthttp.proto
ssh.proto
wiki.proto
It has these top-level messages:
GetBlobRequest
GetBlobResponse
GetBlobsRequest
GetBlobsResponse
LFSPointer
GetLFSPointersRequest
GetLFSPointersResponse
CommitStatsRequest
CommitStatsResponse
CommitIsAncestorRequest
......@@ -36,19 +46,76 @@ It has these top-level messages:
ListFilesResponse
FindCommitRequest
FindCommitResponse
ListCommitsByOidRequest
ListCommitsByOidResponse
FindAllCommitsRequest
FindAllCommitsResponse
FindCommitsRequest
FindCommitsResponse
CommitLanguagesRequest
CommitLanguagesResponse
RawBlameRequest
RawBlameResponse
LastCommitForPathRequest
LastCommitForPathResponse
CommitsByMessageRequest
CommitsByMessageResponse
FilterShasWithSignaturesRequest
FilterShasWithSignaturesResponse
ExtractCommitSignatureRequest
ExtractCommitSignatureResponse
ListConflictFilesRequest
ConflictFileHeader
ConflictFile
ListConflictFilesResponse
ResolveConflictsRequestHeader
ResolveConflictsRequest
ResolveConflictsResponse
CommitDiffRequest
CommitDiffResponse
CommitDeltaRequest
CommitDelta
CommitDeltaResponse
CommitPatchRequest
CommitPatchResponse
RawDiffRequest
RawDiffResponse
RawPatchRequest
RawPatchResponse
AddNamespaceRequest
RemoveNamespaceRequest
RenameNamespaceRequest
NamespaceExistsRequest
NamespaceExistsResponse
AddNamespaceResponse
RemoveNamespaceResponse
RenameNamespaceResponse
PostReceiveRequest
PostReceiveResponse
UserCreateBranchRequest
UserCreateBranchResponse
UserDeleteBranchRequest
UserDeleteBranchResponse
UserDeleteTagRequest
UserDeleteTagResponse
UserCreateTagRequest
UserCreateTagResponse
UserMergeBranchRequest
UserMergeBranchResponse
OperationBranchUpdate
UserFFBranchRequest
UserFFBranchResponse
UserCherryPickRequest
UserCherryPickResponse
UserRevertRequest
UserRevertResponse
UserCommitFilesActionHeader
UserCommitFilesAction
UserCommitFilesRequestHeader
UserCommitFilesRequest
UserCommitFilesResponse
UserRebaseRequest
UserRebaseResponse
FindDefaultBranchNameRequest
FindDefaultBranchNameResponse
FindAllBranchNamesRequest
......@@ -65,18 +132,71 @@ It has these top-level messages:
FindAllBranchesResponse
FindAllTagsRequest
FindAllTagsResponse
RefExistsRequest
RefExistsResponse
CreateBranchRequest
CreateBranchResponse
DeleteBranchRequest
DeleteBranchResponse
FindBranchRequest
FindBranchResponse
DeleteRefsRequest
DeleteRefsResponse
ListBranchNamesContainingCommitRequest
ListBranchNamesContainingCommitResponse
ListTagNamesContainingCommitRequest
ListTagNamesContainingCommitResponse
AddRemoteRequest
AddRemoteResponse
RemoveRemoteRequest
RemoveRemoteResponse
FetchInternalRemoteRequest
FetchInternalRemoteResponse
UpdateRemoteMirrorRequest
UpdateRemoteMirrorResponse
RepositoryExistsRequest
RepositoryExistsResponse
RepositoryIsEmptyRequest
RepositoryIsEmptyResponse
RepackIncrementalRequest
RepackIncrementalResponse
RepackFullRequest
RepackFullResponse
GarbageCollectRequest
GarbageCollectResponse
RepositorySizeRequest
RepositorySizeResponse
ApplyGitattributesRequest
ApplyGitattributesResponse
FetchRemoteRequest
FetchRemoteResponse
CreateRepositoryRequest
CreateRepositoryResponse
GetArchiveRequest
GetArchiveResponse
HasLocalBranchesRequest
HasLocalBranchesResponse
FetchSourceBranchRequest
FetchSourceBranchResponse
FsckRequest
FsckResponse
WriteRefRequest
WriteRefResponse
FindMergeBaseRequest
FindMergeBaseResponse
CreateForkRequest
CreateForkResponse
IsRebaseInProgressRequest
IsRebaseInProgressResponse
CreateRepositoryFromURLRequest
CreateRepositoryFromURLResponse
Repository
GitCommit
CommitAuthor
ExitStatus
Branch
Tag
User
InfoRefsRequest
InfoRefsResponse
PostUploadPackRequest
......@@ -87,6 +207,23 @@ It has these top-level messages:
SSHUploadPackResponse
SSHReceivePackRequest
SSHReceivePackResponse
WikiCommitDetails
WikiPageVersion
WikiPage
WikiGetPageVersionsRequest
WikiGetPageVersionsResponse
WikiWritePageRequest
WikiWritePageResponse
WikiUpdatePageRequest
WikiUpdatePageResponse
WikiDeletePageRequest
WikiDeletePageResponse
WikiFindPageRequest
WikiFindPageResponse
WikiFindFileRequest
WikiFindFileResponse
WikiGetAllPagesRequest
WikiGetAllPagesResponse
*/
package gitaly
......@@ -179,9 +316,155 @@ func (m *GetBlobResponse) GetOid() string {
return ""
}
type GetBlobsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// Object IDs (SHA1) of the blobs we want to get
Oids []string `protobuf:"bytes,2,rep,name=oids" json:"oids,omitempty"`
// Maximum number of bytes we want to receive. Use '-1' to get the full blobs no matter how big.
Limit int64 `protobuf:"varint,3,opt,name=limit" json:"limit,omitempty"`
}
func (m *GetBlobsRequest) Reset() { *m = GetBlobsRequest{} }
func (m *GetBlobsRequest) String() string { return proto.CompactTextString(m) }
func (*GetBlobsRequest) ProtoMessage() {}
func (*GetBlobsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *GetBlobsRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *GetBlobsRequest) GetOids() []string {
if m != nil {
return m.Oids
}
return nil
}
func (m *GetBlobsRequest) GetLimit() int64 {
if m != nil {
return m.Limit
}
return 0
}
type GetBlobsResponse struct {
// Blob size; present only on the first message per blob
Size int64 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"`
// Chunk of blob data
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// Object ID of the current blob. Only present on the first message per blob. Empty if no blob was found.
Oid string `protobuf:"bytes,3,opt,name=oid" json:"oid,omitempty"`
}
func (m *GetBlobsResponse) Reset() { *m = GetBlobsResponse{} }
func (m *GetBlobsResponse) String() string { return proto.CompactTextString(m) }
func (*GetBlobsResponse) ProtoMessage() {}
func (*GetBlobsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *GetBlobsResponse) GetSize() int64 {
if m != nil {
return m.Size
}
return 0
}
func (m *GetBlobsResponse) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (m *GetBlobsResponse) GetOid() string {
if m != nil {
return m.Oid
}
return ""
}
type LFSPointer struct {
Size int64 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Oid string `protobuf:"bytes,3,opt,name=oid" json:"oid,omitempty"`
}
func (m *LFSPointer) Reset() { *m = LFSPointer{} }
func (m *LFSPointer) String() string { return proto.CompactTextString(m) }
func (*LFSPointer) ProtoMessage() {}
func (*LFSPointer) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
func (m *LFSPointer) GetSize() int64 {
if m != nil {
return m.Size
}
return 0
}
func (m *LFSPointer) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (m *LFSPointer) GetOid() string {
if m != nil {
return m.Oid
}
return ""
}
type GetLFSPointersRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
BlobIds []string `protobuf:"bytes,2,rep,name=blob_ids,json=blobIds" json:"blob_ids,omitempty"`
}
func (m *GetLFSPointersRequest) Reset() { *m = GetLFSPointersRequest{} }
func (m *GetLFSPointersRequest) String() string { return proto.CompactTextString(m) }
func (*GetLFSPointersRequest) ProtoMessage() {}
func (*GetLFSPointersRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
func (m *GetLFSPointersRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *GetLFSPointersRequest) GetBlobIds() []string {
if m != nil {
return m.BlobIds
}
return nil
}
type GetLFSPointersResponse struct {
LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers" json:"lfs_pointers,omitempty"`
}
func (m *GetLFSPointersResponse) Reset() { *m = GetLFSPointersResponse{} }
func (m *GetLFSPointersResponse) String() string { return proto.CompactTextString(m) }
func (*GetLFSPointersResponse) ProtoMessage() {}
func (*GetLFSPointersResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
func (m *GetLFSPointersResponse) GetLfsPointers() []*LFSPointer {
if m != nil {
return m.LfsPointers
}
return nil
}
func init() {
proto.RegisterType((*GetBlobRequest)(nil), "gitaly.GetBlobRequest")
proto.RegisterType((*GetBlobResponse)(nil), "gitaly.GetBlobResponse")
proto.RegisterType((*GetBlobsRequest)(nil), "gitaly.GetBlobsRequest")
proto.RegisterType((*GetBlobsResponse)(nil), "gitaly.GetBlobsResponse")
proto.RegisterType((*LFSPointer)(nil), "gitaly.LFSPointer")
proto.RegisterType((*GetLFSPointersRequest)(nil), "gitaly.GetLFSPointersRequest")
proto.RegisterType((*GetLFSPointersResponse)(nil), "gitaly.GetLFSPointersResponse")
}
// Reference imports to suppress errors if they are not otherwise used.
......@@ -199,6 +482,12 @@ type BlobServiceClient interface {
// ID. We use a stream to return a chunked arbitrarily large binary
// response
GetBlob(ctx context.Context, in *GetBlobRequest, opts ...grpc.CallOption) (BlobService_GetBlobClient, error)
// GetBlobsBySHA returns the contents of a blob objects referenced by their object
// ID. We use a stream to return a chunked arbitrarily large binary response.
// The blobs are sent in a continous stream, the caller is responsible for spliting
// them up into multiple blobs by their object IDs.
GetBlobs(ctx context.Context, in *GetBlobsRequest, opts ...grpc.CallOption) (BlobService_GetBlobsClient, error)
GetLFSPointers(ctx context.Context, in *GetLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetLFSPointersClient, error)
}
type blobServiceClient struct {
......@@ -241,6 +530,70 @@ func (x *blobServiceGetBlobClient) Recv() (*GetBlobResponse, error) {
return m, nil
}
func (c *blobServiceClient) GetBlobs(ctx context.Context, in *GetBlobsRequest, opts ...grpc.CallOption) (BlobService_GetBlobsClient, error) {
stream, err := grpc.NewClientStream(ctx, &_BlobService_serviceDesc.Streams[1], c.cc, "/gitaly.BlobService/GetBlobs", opts...)
if err != nil {
return nil, err
}
x := &blobServiceGetBlobsClient{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 BlobService_GetBlobsClient interface {
Recv() (*GetBlobsResponse, error)
grpc.ClientStream
}
type blobServiceGetBlobsClient struct {
grpc.ClientStream
}
func (x *blobServiceGetBlobsClient) Recv() (*GetBlobsResponse, error) {
m := new(GetBlobsResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *blobServiceClient) GetLFSPointers(ctx context.Context, in *GetLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetLFSPointersClient, error) {
stream, err := grpc.NewClientStream(ctx, &_BlobService_serviceDesc.Streams[2], c.cc, "/gitaly.BlobService/GetLFSPointers", opts...)
if err != nil {
return nil, err
}
x := &blobServiceGetLFSPointersClient{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 BlobService_GetLFSPointersClient interface {
Recv() (*GetLFSPointersResponse, error)
grpc.ClientStream
}
type blobServiceGetLFSPointersClient struct {
grpc.ClientStream
}
func (x *blobServiceGetLFSPointersClient) Recv() (*GetLFSPointersResponse, error) {
m := new(GetLFSPointersResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for BlobService service
type BlobServiceServer interface {
......@@ -248,6 +601,12 @@ type BlobServiceServer interface {
// ID. We use a stream to return a chunked arbitrarily large binary
// response
GetBlob(*GetBlobRequest, BlobService_GetBlobServer) error
// GetBlobsBySHA returns the contents of a blob objects referenced by their object
// ID. We use a stream to return a chunked arbitrarily large binary response.
// The blobs are sent in a continous stream, the caller is responsible for spliting
// them up into multiple blobs by their object IDs.
GetBlobs(*GetBlobsRequest, BlobService_GetBlobsServer) error
GetLFSPointers(*GetLFSPointersRequest, BlobService_GetLFSPointersServer) error
}
func RegisterBlobServiceServer(s *grpc.Server, srv BlobServiceServer) {
......@@ -275,6 +634,48 @@ func (x *blobServiceGetBlobServer) Send(m *GetBlobResponse) error {
return x.ServerStream.SendMsg(m)
}
func _BlobService_GetBlobs_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(GetBlobsRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(BlobServiceServer).GetBlobs(m, &blobServiceGetBlobsServer{stream})
}
type BlobService_GetBlobsServer interface {
Send(*GetBlobsResponse) error
grpc.ServerStream
}
type blobServiceGetBlobsServer struct {
grpc.ServerStream
}
func (x *blobServiceGetBlobsServer) Send(m *GetBlobsResponse) error {
return x.ServerStream.SendMsg(m)
}
func _BlobService_GetLFSPointers_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(GetLFSPointersRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(BlobServiceServer).GetLFSPointers(m, &blobServiceGetLFSPointersServer{stream})
}
type BlobService_GetLFSPointersServer interface {
Send(*GetLFSPointersResponse) error
grpc.ServerStream
}
type blobServiceGetLFSPointersServer struct {
grpc.ServerStream
}
func (x *blobServiceGetLFSPointersServer) Send(m *GetLFSPointersResponse) error {
return x.ServerStream.SendMsg(m)
}
var _BlobService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.BlobService",
HandlerType: (*BlobServiceServer)(nil),
......@@ -285,6 +686,16 @@ var _BlobService_serviceDesc = grpc.ServiceDesc{
Handler: _BlobService_GetBlob_Handler,
ServerStreams: true,
},
{
StreamName: "GetBlobs",
Handler: _BlobService_GetBlobs_Handler,
ServerStreams: true,
},
{
StreamName: "GetLFSPointers",
Handler: _BlobService_GetLFSPointers_Handler,
ServerStreams: true,
},
},
Metadata: "blob.proto",
}
......@@ -292,19 +703,28 @@ var _BlobService_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("blob.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 217 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x31, 0x4b, 0xc7, 0x30,
0x10, 0xc5, 0x8d, 0xd1, 0xbf, 0x78, 0x2d, 0x2a, 0x87, 0x68, 0xe9, 0x54, 0x3a, 0x75, 0x2a, 0x52,
0x77, 0x07, 0x17, 0x07, 0x71, 0x89, 0x9f, 0x20, 0xb1, 0x87, 0x06, 0xa2, 0x57, 0x93, 0x28, 0xd4,
0x4f, 0x2f, 0x4d, 0x6c, 0x51, 0xdc, 0x5e, 0x5e, 0x92, 0xf7, 0x7b, 0x77, 0x00, 0xc6, 0xb1, 0xe9,
0x27, 0xcf, 0x91, 0x71, 0xf7, 0x6c, 0xa3, 0x76, 0x73, 0x5d, 0x86, 0x17, 0xed, 0x69, 0xcc, 0x6e,
0xeb, 0xe0, 0xe4, 0x8e, 0xe2, 0xad, 0x63, 0xa3, 0xe8, 0xfd, 0x83, 0x42, 0xc4, 0x01, 0xc0, 0xd3,
0xc4, 0xc1, 0x46, 0xf6, 0x73, 0x25, 0x1a, 0xd1, 0x15, 0x03, 0xf6, 0xf9, 0x73, 0xaf, 0xb6, 0x1b,
0xf5, 0xeb, 0x15, 0x9e, 0x81, 0x64, 0x3b, 0x56, 0xfb, 0x8d, 0xe8, 0x8e, 0xd5, 0x22, 0xf1, 0x1c,
0x0e, 0x9d, 0x7d, 0xb5, 0xb1, 0x92, 0x8d, 0xe8, 0xa4, 0xca, 0x87, 0xf6, 0x1e, 0x4e, 0x37, 0x5a,
0x98, 0xf8, 0x2d, 0x10, 0x22, 0x1c, 0x04, 0xfb, 0x45, 0x09, 0x24, 0x55, 0xd2, 0x8b, 0x37, 0xea,
0xa8, 0x53, 0x5e, 0xa9, 0x92, 0x5e, 0x11, 0x72, 0x43, 0x0c, 0x0f, 0x50, 0x2c, 0x49, 0x8f, 0xe4,
0x3f, 0xed, 0x13, 0xe1, 0x0d, 0x1c, 0xfd, 0x64, 0xe3, 0xc5, 0x5a, 0xf7, 0xef, 0x68, 0xf5, 0xe5,
0x3f, 0x3f, 0x97, 0x68, 0xf7, 0xae, 0x84, 0xd9, 0xa5, 0x85, 0x5c, 0x7f, 0x07, 0x00, 0x00, 0xff,
0xff, 0xab, 0x77, 0x1a, 0x6d, 0x34, 0x01, 0x00, 0x00,
// 353 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x53, 0xcd, 0x4e, 0xe3, 0x30,
0x10, 0x5e, 0xd7, 0xdd, 0xfe, 0x4c, 0xab, 0xdd, 0x6a, 0xb4, 0x5b, 0x42, 0x24, 0x50, 0x94, 0x53,
0x4e, 0x15, 0x2a, 0xe2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x4f, 0x1b, 0xf0, 0xac,
0xe1, 0xff, 0x9c, 0x9b, 0x8a, 0xaa, 0x51, 0x18, 0xa7, 0xd0, 0xcb, 0xae, 0xcc, 0xaa, 0x0a, 0xa4,
0x9b, 0x9d, 0xef, 0x62, 0xed, 0x3f, 0xc0, 0x78, 0x5f, 0x67, 0x97, 0xc1, 0x15, 0x0c, 0xe5, 0x5a,
0xaf, 0x92, 0x5d, 0xdf, 0x21, 0x1e, 0xad, 0x4b, 0x55, 0x10, 0x36, 0x90, 0x6b, 0x5d, 0xc0, 0xa7,
0x5f, 0x04, 0x06, 0x59, 0x98, 0x4b, 0x9e, 0x7e, 0x88, 0x27, 0x8e, 0xd7, 0xd0, 0xdd, 0xc5, 0x8b,
0xe3, 0x02, 0xfb, 0xf3, 0x6e, 0xba, 0x27, 0x07, 0xfd, 0xdc, 0x82, 0xff, 0xeb, 0x82, 0xe0, 0x0d,
0xf4, 0x8a, 0xdf, 0x83, 0xfb, 0x8b, 0x45, 0x28, 0xae, 0x73, 0x38, 0xa8, 0x51, 0x2c, 0xed, 0x6b,
0xa8, 0x7d, 0x23, 0x9e, 0xd5, 0xf6, 0x0f, 0x33, 0x76, 0xcf, 0x8f, 0x8d, 0x2b, 0xd2, 0xa8, 0x63,
0x5f, 0xda, 0xe5, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xeb, 0x6b, 0x28, 0x11, 0x8d, 0x03, 0x00,
0x00,
}
......@@ -94,7 +94,7 @@ func (x FindAllCommitsRequest_Order) String() string {
return proto.EnumName(FindAllCommitsRequest_Order_name, int32(x))
}
func (FindAllCommitsRequest_Order) EnumDescriptor() ([]byte, []int) {
return fileDescriptor1, []int{17, 0}
return fileDescriptor1, []int{19, 0}
}
type CommitStatsRequest struct {
......@@ -349,6 +349,7 @@ type CountCommitsRequest struct {
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"`
MaxCount int32 `protobuf:"varint,6,opt,name=max_count,json=maxCount" json:"max_count,omitempty"`
}
func (m *CountCommitsRequest) Reset() { *m = CountCommitsRequest{} }
......@@ -391,6 +392,13 @@ func (m *CountCommitsRequest) GetPath() []byte {
return nil
}
func (m *CountCommitsRequest) GetMaxCount() int32 {
if m != nil {
return m.MaxCount
}
return 0
}
type CountCommitsResponse struct {
Count int32 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
}
......@@ -419,6 +427,8 @@ type TreeEntry struct {
Mode int32 `protobuf:"varint,5,opt,name=mode" json:"mode,omitempty"`
// The commit object via which this entry was retrieved
CommitOid string `protobuf:"bytes,6,opt,name=commit_oid,json=commitOid" json:"commit_oid,omitempty"`
// Relative path of the first subdir that doesn't have only one directory descendant
FlatPath []byte `protobuf:"bytes,7,opt,name=flat_path,json=flatPath,proto3" json:"flat_path,omitempty"`
}
func (m *TreeEntry) Reset() { *m = TreeEntry{} }
......@@ -468,6 +478,13 @@ func (m *TreeEntry) GetCommitOid() string {
return ""
}
func (m *TreeEntry) GetFlatPath() []byte {
if m != nil {
return m.FlatPath
}
return nil
}
type GetTreeEntriesRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
......@@ -599,6 +616,46 @@ func (m *FindCommitResponse) GetCommit() *GitCommit {
return nil
}
type ListCommitsByOidRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Oid []string `protobuf:"bytes,2,rep,name=oid" json:"oid,omitempty"`
}
func (m *ListCommitsByOidRequest) Reset() { *m = ListCommitsByOidRequest{} }
func (m *ListCommitsByOidRequest) String() string { return proto.CompactTextString(m) }
func (*ListCommitsByOidRequest) ProtoMessage() {}
func (*ListCommitsByOidRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{17} }
func (m *ListCommitsByOidRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *ListCommitsByOidRequest) GetOid() []string {
if m != nil {
return m.Oid
}
return nil
}
type ListCommitsByOidResponse struct {
Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"`
}
func (m *ListCommitsByOidResponse) Reset() { *m = ListCommitsByOidResponse{} }
func (m *ListCommitsByOidResponse) String() string { return proto.CompactTextString(m) }
func (*ListCommitsByOidResponse) ProtoMessage() {}
func (*ListCommitsByOidResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{18} }
func (m *ListCommitsByOidResponse) GetCommits() []*GitCommit {
if m != nil {
return m.Commits
}
return nil
}
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
......@@ -611,7 +668,7 @@ type FindAllCommitsRequest struct {
func (m *FindAllCommitsRequest) Reset() { *m = FindAllCommitsRequest{} }
func (m *FindAllCommitsRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllCommitsRequest) ProtoMessage() {}
func (*FindAllCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{17} }
func (*FindAllCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{19} }
func (m *FindAllCommitsRequest) GetRepository() *Repository {
if m != nil {
......@@ -656,7 +713,7 @@ type FindAllCommitsResponse struct {
func (m *FindAllCommitsResponse) Reset() { *m = FindAllCommitsResponse{} }
func (m *FindAllCommitsResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllCommitsResponse) ProtoMessage() {}
func (*FindAllCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{18} }
func (*FindAllCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{20} }
func (m *FindAllCommitsResponse) GetCommits() []*GitCommit {
if m != nil {
......@@ -665,6 +722,111 @@ func (m *FindAllCommitsResponse) GetCommits() []*GitCommit {
return 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 (m *FindCommitsRequest) Reset() { *m = FindCommitsRequest{} }
func (m *FindCommitsRequest) String() string { return proto.CompactTextString(m) }
func (*FindCommitsRequest) ProtoMessage() {}
func (*FindCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{21} }
func (m *FindCommitsRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *FindCommitsRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return nil
}
func (m *FindCommitsRequest) GetLimit() int32 {
if m != nil {
return m.Limit
}
return 0
}
func (m *FindCommitsRequest) GetOffset() int32 {
if m != nil {
return m.Offset
}
return 0
}
func (m *FindCommitsRequest) GetPaths() [][]byte {
if m != nil {
return m.Paths
}
return nil
}
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{22} }
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"`
......@@ -673,7 +835,7 @@ type CommitLanguagesRequest struct {
func (m *CommitLanguagesRequest) Reset() { *m = CommitLanguagesRequest{} }
func (m *CommitLanguagesRequest) String() string { return proto.CompactTextString(m) }
func (*CommitLanguagesRequest) ProtoMessage() {}
func (*CommitLanguagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{19} }
func (*CommitLanguagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{23} }
func (m *CommitLanguagesRequest) GetRepository() *Repository {
if m != nil {
......@@ -696,7 +858,7 @@ type CommitLanguagesResponse struct {
func (m *CommitLanguagesResponse) Reset() { *m = CommitLanguagesResponse{} }
func (m *CommitLanguagesResponse) String() string { return proto.CompactTextString(m) }
func (*CommitLanguagesResponse) ProtoMessage() {}
func (*CommitLanguagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{20} }
func (*CommitLanguagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{24} }
func (m *CommitLanguagesResponse) GetLanguages() []*CommitLanguagesResponse_Language {
if m != nil {
......@@ -715,7 +877,7 @@ func (m *CommitLanguagesResponse_Language) Reset() { *m = CommitLanguage
func (m *CommitLanguagesResponse_Language) String() string { return proto.CompactTextString(m) }
func (*CommitLanguagesResponse_Language) ProtoMessage() {}
func (*CommitLanguagesResponse_Language) Descriptor() ([]byte, []int) {
return fileDescriptor1, []int{20, 0}
return fileDescriptor1, []int{24, 0}
}
func (m *CommitLanguagesResponse_Language) GetName() string {
......@@ -748,7 +910,7 @@ type RawBlameRequest struct {
func (m *RawBlameRequest) Reset() { *m = RawBlameRequest{} }
func (m *RawBlameRequest) String() string { return proto.CompactTextString(m) }
func (*RawBlameRequest) ProtoMessage() {}
func (*RawBlameRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{21} }
func (*RawBlameRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{25} }
func (m *RawBlameRequest) GetRepository() *Repository {
if m != nil {
......@@ -778,7 +940,7 @@ type RawBlameResponse struct {
func (m *RawBlameResponse) Reset() { *m = RawBlameResponse{} }
func (m *RawBlameResponse) String() string { return proto.CompactTextString(m) }
func (*RawBlameResponse) ProtoMessage() {}
func (*RawBlameResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{22} }
func (*RawBlameResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{26} }
func (m *RawBlameResponse) GetData() []byte {
if m != nil {
......@@ -787,6 +949,222 @@ func (m *RawBlameResponse) GetData() []byte {
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{27} }
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{28} }
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{29} }
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{30} }
func (m *CommitsByMessageResponse) GetCommits() []*GitCommit {
if m != nil {
return m.Commits
}
return nil
}
type FilterShasWithSignaturesRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Shas [][]byte `protobuf:"bytes,2,rep,name=shas,proto3" json:"shas,omitempty"`
}
func (m *FilterShasWithSignaturesRequest) Reset() { *m = FilterShasWithSignaturesRequest{} }
func (m *FilterShasWithSignaturesRequest) String() string { return proto.CompactTextString(m) }
func (*FilterShasWithSignaturesRequest) ProtoMessage() {}
func (*FilterShasWithSignaturesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor1, []int{31}
}
func (m *FilterShasWithSignaturesRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *FilterShasWithSignaturesRequest) GetShas() [][]byte {
if m != nil {
return m.Shas
}
return nil
}
type FilterShasWithSignaturesResponse struct {
Shas [][]byte `protobuf:"bytes,1,rep,name=shas,proto3" json:"shas,omitempty"`
}
func (m *FilterShasWithSignaturesResponse) Reset() { *m = FilterShasWithSignaturesResponse{} }
func (m *FilterShasWithSignaturesResponse) String() string { return proto.CompactTextString(m) }
func (*FilterShasWithSignaturesResponse) ProtoMessage() {}
func (*FilterShasWithSignaturesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor1, []int{32}
}
func (m *FilterShasWithSignaturesResponse) GetShas() [][]byte {
if m != nil {
return m.Shas
}
return nil
}
type ExtractCommitSignatureRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
}
func (m *ExtractCommitSignatureRequest) Reset() { *m = ExtractCommitSignatureRequest{} }
func (m *ExtractCommitSignatureRequest) String() string { return proto.CompactTextString(m) }
func (*ExtractCommitSignatureRequest) ProtoMessage() {}
func (*ExtractCommitSignatureRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{33} }
func (m *ExtractCommitSignatureRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *ExtractCommitSignatureRequest) GetCommitId() string {
if m != nil {
return m.CommitId
}
return ""
}
// Either of the 'signature' and 'signed_text' fields may be present. It
// is up to the caller to stitch them together.
type ExtractCommitSignatureResponse struct {
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
SignedText []byte `protobuf:"bytes,2,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"`
}
func (m *ExtractCommitSignatureResponse) Reset() { *m = ExtractCommitSignatureResponse{} }
func (m *ExtractCommitSignatureResponse) String() string { return proto.CompactTextString(m) }
func (*ExtractCommitSignatureResponse) ProtoMessage() {}
func (*ExtractCommitSignatureResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{34} }
func (m *ExtractCommitSignatureResponse) GetSignature() []byte {
if m != nil {
return m.Signature
}
return nil
}
func (m *ExtractCommitSignatureResponse) GetSignedText() []byte {
if m != nil {
return m.SignedText
}
return nil
}
func init() {
proto.RegisterType((*CommitStatsRequest)(nil), "gitaly.CommitStatsRequest")
proto.RegisterType((*CommitStatsResponse)(nil), "gitaly.CommitStatsResponse")
......@@ -805,13 +1183,25 @@ func init() {
proto.RegisterType((*ListFilesResponse)(nil), "gitaly.ListFilesResponse")
proto.RegisterType((*FindCommitRequest)(nil), "gitaly.FindCommitRequest")
proto.RegisterType((*FindCommitResponse)(nil), "gitaly.FindCommitResponse")
proto.RegisterType((*ListCommitsByOidRequest)(nil), "gitaly.ListCommitsByOidRequest")
proto.RegisterType((*ListCommitsByOidResponse)(nil), "gitaly.ListCommitsByOidResponse")
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.RegisterType((*FilterShasWithSignaturesRequest)(nil), "gitaly.FilterShasWithSignaturesRequest")
proto.RegisterType((*FilterShasWithSignaturesResponse)(nil), "gitaly.FilterShasWithSignaturesResponse")
proto.RegisterType((*ExtractCommitSignatureRequest)(nil), "gitaly.ExtractCommitSignatureRequest")
proto.RegisterType((*ExtractCommitSignatureResponse)(nil), "gitaly.ExtractCommitSignatureResponse")
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)
......@@ -838,8 +1228,17 @@ type CommitServiceClient interface {
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)
ListCommitsByOid(ctx context.Context, in *ListCommitsByOidRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByOidClient, error)
FilterShasWithSignatures(ctx context.Context, opts ...grpc.CallOption) (CommitService_FilterShasWithSignaturesClient, error)
// ExtractCommitSignature returns a stream because the signed text may be
// arbitrarily large and signature verification is impossible without the
// full text.
ExtractCommitSignature(ctx context.Context, in *ExtractCommitSignatureRequest, opts ...grpc.CallOption) (CommitService_ExtractCommitSignatureClient, error)
}
type commitServiceClient struct {
......@@ -1046,6 +1445,38 @@ func (x *commitServiceFindAllCommitsClient) Recv() (*FindAllCommitsResponse, 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...)
......@@ -1056,7 +1487,7 @@ func (c *commitServiceClient) CommitLanguages(ctx context.Context, in *CommitLan
}
func (c *commitServiceClient) RawBlame(ctx context.Context, in *RawBlameRequest, opts ...grpc.CallOption) (CommitService_RawBlameClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[5], c.cc, "/gitaly.CommitService/RawBlame", opts...)
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[6], c.cc, "/gitaly.CommitService/RawBlame", opts...)
if err != nil {
return nil, err
}
......@@ -1087,6 +1518,142 @@ func (x *commitServiceRawBlameClient) Recv() (*RawBlameResponse, error) {
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
}
func (c *commitServiceClient) ListCommitsByOid(ctx context.Context, in *ListCommitsByOidRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByOidClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[8], c.cc, "/gitaly.CommitService/ListCommitsByOid", opts...)
if err != nil {
return nil, err
}
x := &commitServiceListCommitsByOidClient{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_ListCommitsByOidClient interface {
Recv() (*ListCommitsByOidResponse, error)
grpc.ClientStream
}
type commitServiceListCommitsByOidClient struct {
grpc.ClientStream
}
func (x *commitServiceListCommitsByOidClient) Recv() (*ListCommitsByOidResponse, error) {
m := new(ListCommitsByOidResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *commitServiceClient) FilterShasWithSignatures(ctx context.Context, opts ...grpc.CallOption) (CommitService_FilterShasWithSignaturesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[9], c.cc, "/gitaly.CommitService/FilterShasWithSignatures", opts...)
if err != nil {
return nil, err
}
x := &commitServiceFilterShasWithSignaturesClient{stream}
return x, nil
}
type CommitService_FilterShasWithSignaturesClient interface {
Send(*FilterShasWithSignaturesRequest) error
Recv() (*FilterShasWithSignaturesResponse, error)
grpc.ClientStream
}
type commitServiceFilterShasWithSignaturesClient struct {
grpc.ClientStream
}
func (x *commitServiceFilterShasWithSignaturesClient) Send(m *FilterShasWithSignaturesRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *commitServiceFilterShasWithSignaturesClient) Recv() (*FilterShasWithSignaturesResponse, error) {
m := new(FilterShasWithSignaturesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *commitServiceClient) ExtractCommitSignature(ctx context.Context, in *ExtractCommitSignatureRequest, opts ...grpc.CallOption) (CommitService_ExtractCommitSignatureClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[10], c.cc, "/gitaly.CommitService/ExtractCommitSignature", opts...)
if err != nil {
return nil, err
}
x := &commitServiceExtractCommitSignatureClient{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_ExtractCommitSignatureClient interface {
Recv() (*ExtractCommitSignatureResponse, error)
grpc.ClientStream
}
type commitServiceExtractCommitSignatureClient struct {
grpc.ClientStream
}
func (x *commitServiceExtractCommitSignatureClient) Recv() (*ExtractCommitSignatureResponse, error) {
m := new(ExtractCommitSignatureResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for CommitService service
type CommitServiceServer interface {
......@@ -1100,8 +1667,17 @@ type CommitServiceServer interface {
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
ListCommitsByOid(*ListCommitsByOidRequest, CommitService_ListCommitsByOidServer) error
FilterShasWithSignatures(CommitService_FilterShasWithSignaturesServer) error
// ExtractCommitSignature returns a stream because the signed text may be
// arbitrarily large and signature verification is impossible without the
// full text.
ExtractCommitSignature(*ExtractCommitSignatureRequest, CommitService_ExtractCommitSignatureServer) error
}
func RegisterCommitServiceServer(s *grpc.Server, srv CommitServiceServer) {
......@@ -1285,6 +1861,27 @@ func (x *commitServiceFindAllCommitsServer) Send(m *FindAllCommitsResponse) erro
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 {
......@@ -1324,6 +1921,113 @@ 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)
}
func _CommitService_ListCommitsByOid_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(ListCommitsByOidRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(CommitServiceServer).ListCommitsByOid(m, &commitServiceListCommitsByOidServer{stream})
}
type CommitService_ListCommitsByOidServer interface {
Send(*ListCommitsByOidResponse) error
grpc.ServerStream
}
type commitServiceListCommitsByOidServer struct {
grpc.ServerStream
}
func (x *commitServiceListCommitsByOidServer) Send(m *ListCommitsByOidResponse) error {
return x.ServerStream.SendMsg(m)
}
func _CommitService_FilterShasWithSignatures_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(CommitServiceServer).FilterShasWithSignatures(&commitServiceFilterShasWithSignaturesServer{stream})
}
type CommitService_FilterShasWithSignaturesServer interface {
Send(*FilterShasWithSignaturesResponse) error
Recv() (*FilterShasWithSignaturesRequest, error)
grpc.ServerStream
}
type commitServiceFilterShasWithSignaturesServer struct {
grpc.ServerStream
}
func (x *commitServiceFilterShasWithSignaturesServer) Send(m *FilterShasWithSignaturesResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *commitServiceFilterShasWithSignaturesServer) Recv() (*FilterShasWithSignaturesRequest, error) {
m := new(FilterShasWithSignaturesRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func _CommitService_ExtractCommitSignature_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(ExtractCommitSignatureRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(CommitServiceServer).ExtractCommitSignature(m, &commitServiceExtractCommitSignatureServer{stream})
}
type CommitService_ExtractCommitSignatureServer interface {
Send(*ExtractCommitSignatureResponse) error
grpc.ServerStream
}
type commitServiceExtractCommitSignatureServer struct {
grpc.ServerStream
}
func (x *commitServiceExtractCommitSignatureServer) Send(m *ExtractCommitSignatureResponse) error {
return x.ServerStream.SendMsg(m)
}
var _CommitService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.CommitService",
HandlerType: (*CommitServiceServer)(nil),
......@@ -1348,6 +2052,10 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{
MethodName: "CommitLanguages",
Handler: _CommitService_CommitLanguages_Handler,
},
{
MethodName: "LastCommitForPath",
Handler: _CommitService_LastCommitForPath_Handler,
},
},
Streams: []grpc.StreamDesc{
{
......@@ -1375,11 +2083,37 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{
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,
},
{
StreamName: "ListCommitsByOid",
Handler: _CommitService_ListCommitsByOid_Handler,
ServerStreams: true,
},
{
StreamName: "FilterShasWithSignatures",
Handler: _CommitService_FilterShasWithSignatures_Handler,
ServerStreams: true,
ClientStreams: true,
},
{
StreamName: "ExtractCommitSignature",
Handler: _CommitService_ExtractCommitSignature_Handler,
ServerStreams: true,
},
},
Metadata: "commit.proto",
}
......@@ -1387,76 +2121,103 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("commit.proto", fileDescriptor1) }
var fileDescriptor1 = []byte{
// 1122 bytes of a gzipped FileDescriptorProto
0x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, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xfb, 0xdb, 0xf3, 0x6d, 0x45, 0x0e,
0x00, 0x00,
// 1559 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xdd, 0x6e, 0x1a, 0x47,
0x14, 0xf6, 0x82, 0xc1, 0x70, 0xa0, 0x0e, 0x9e, 0xfc, 0xe1, 0x75, 0x12, 0x3b, 0xdb, 0x26, 0x25,
0x4a, 0x45, 0x2c, 0xaa, 0x56, 0xed, 0x55, 0x65, 0x27, 0xd8, 0x75, 0x6a, 0x87, 0x68, 0x8d, 0x14,
0xa5, 0x37, 0x68, 0xcc, 0x0e, 0x30, 0xf5, 0xc2, 0x92, 0xdd, 0x21, 0x36, 0xad, 0xd4, 0xfb, 0x4a,
0x7d, 0x92, 0x4a, 0x7d, 0x88, 0xbe, 0x42, 0x1f, 0xa3, 0x8f, 0x10, 0xf5, 0xa2, 0x9a, 0x9f, 0xdd,
0x59, 0x60, 0x71, 0x1a, 0x5b, 0xe4, 0x06, 0xed, 0x9c, 0x99, 0x39, 0xe7, 0x3b, 0x67, 0xce, 0x2f,
0x50, 0x6c, 0x7b, 0xfd, 0x3e, 0x65, 0xd5, 0xa1, 0xef, 0x31, 0x0f, 0x65, 0xbb, 0x94, 0x61, 0x77,
0x6c, 0x16, 0x83, 0x1e, 0xf6, 0x89, 0x23, 0xa9, 0xe6, 0x66, 0xd7, 0xf3, 0xba, 0x2e, 0x79, 0x22,
0x56, 0x27, 0xa3, 0xce, 0x13, 0x46, 0xfb, 0x24, 0x60, 0xb8, 0x3f, 0x94, 0x07, 0x2c, 0x07, 0xd0,
0x53, 0xc1, 0xe6, 0x98, 0x61, 0x16, 0xd8, 0xe4, 0xcd, 0x88, 0x04, 0x0c, 0xd5, 0x00, 0x7c, 0x32,
0xf4, 0x02, 0xca, 0x3c, 0x7f, 0x5c, 0x36, 0xb6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, 0x38, 0x11, 0xc1, 0x7b, 0x1d, 0xa6, 0x00, 0x9d, 0xd3, 0xa7, 0x53,
0xc0, 0x4c, 0xc1, 0x9a, 0x4e, 0x01, 0xb3, 0xe5, 0x40, 0xc0, 0x7e, 0x2d, 0xe7, 0xc8, 0xf8, 0xc4,
0xa2, 0x59, 0xcf, 0x19, 0x96, 0x34, 0xeb, 0x79, 0xc3, 0x8e, 0x60, 0x1d, 0x40, 0x79, 0x5e, 0x56,
0x47, 0x9f, 0xeb, 0x77, 0xbe, 0xb0, 0xc4, 0x98, 0x95, 0xf7, 0x1f, 0x0c, 0x45, 0x56, 0x8c, 0x6d,
0x03, 0x9d, 0xc2, 0xad, 0xe4, 0x04, 0x8d, 0x1e, 0x84, 0x9c, 0x2e, 0x2c, 0x19, 0xe6, 0xc3, 0xf7,
0x1d, 0xd3, 0x1a, 0x9e, 0x64, 0x45, 0x43, 0xfc, 0xe5, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xc0,
0x6e, 0x68, 0x46, 0x65, 0x16, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: conflicts.proto
package gitaly
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type ListConflictFilesRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
OurCommitOid string `protobuf:"bytes,2,opt,name=our_commit_oid,json=ourCommitOid" json:"our_commit_oid,omitempty"`
TheirCommitOid string `protobuf:"bytes,3,opt,name=their_commit_oid,json=theirCommitOid" json:"their_commit_oid,omitempty"`
}
func (m *ListConflictFilesRequest) Reset() { *m = ListConflictFilesRequest{} }
func (m *ListConflictFilesRequest) String() string { return proto.CompactTextString(m) }
func (*ListConflictFilesRequest) ProtoMessage() {}
func (*ListConflictFilesRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
func (m *ListConflictFilesRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *ListConflictFilesRequest) GetOurCommitOid() string {
if m != nil {
return m.OurCommitOid
}
return ""
}
func (m *ListConflictFilesRequest) GetTheirCommitOid() string {
if m != nil {
return m.TheirCommitOid
}
return ""
}
type ConflictFileHeader struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
CommitOid string `protobuf:"bytes,2,opt,name=commit_oid,json=commitOid" json:"commit_oid,omitempty"`
TheirPath []byte `protobuf:"bytes,3,opt,name=their_path,json=theirPath,proto3" json:"their_path,omitempty"`
OurPath []byte `protobuf:"bytes,4,opt,name=our_path,json=ourPath,proto3" json:"our_path,omitempty"`
OurMode int32 `protobuf:"varint,5,opt,name=our_mode,json=ourMode" json:"our_mode,omitempty"`
}
func (m *ConflictFileHeader) Reset() { *m = ConflictFileHeader{} }
func (m *ConflictFileHeader) String() string { return proto.CompactTextString(m) }
func (*ConflictFileHeader) ProtoMessage() {}
func (*ConflictFileHeader) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
func (m *ConflictFileHeader) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *ConflictFileHeader) GetCommitOid() string {
if m != nil {
return m.CommitOid
}
return ""
}
func (m *ConflictFileHeader) GetTheirPath() []byte {
if m != nil {
return m.TheirPath
}
return nil
}
func (m *ConflictFileHeader) GetOurPath() []byte {
if m != nil {
return m.OurPath
}
return nil
}
func (m *ConflictFileHeader) GetOurMode() int32 {
if m != nil {
return m.OurMode
}
return 0
}
type ConflictFile struct {
// Types that are valid to be assigned to ConflictFilePayload:
// *ConflictFile_Header
// *ConflictFile_Content
ConflictFilePayload isConflictFile_ConflictFilePayload `protobuf_oneof:"conflict_file_payload"`
}
func (m *ConflictFile) Reset() { *m = ConflictFile{} }
func (m *ConflictFile) String() string { return proto.CompactTextString(m) }
func (*ConflictFile) ProtoMessage() {}
func (*ConflictFile) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
type isConflictFile_ConflictFilePayload interface {
isConflictFile_ConflictFilePayload()
}
type ConflictFile_Header struct {
Header *ConflictFileHeader `protobuf:"bytes,1,opt,name=header,oneof"`
}
type ConflictFile_Content struct {
Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"`
}
func (*ConflictFile_Header) isConflictFile_ConflictFilePayload() {}
func (*ConflictFile_Content) isConflictFile_ConflictFilePayload() {}
func (m *ConflictFile) GetConflictFilePayload() isConflictFile_ConflictFilePayload {
if m != nil {
return m.ConflictFilePayload
}
return nil
}
func (m *ConflictFile) GetHeader() *ConflictFileHeader {
if x, ok := m.GetConflictFilePayload().(*ConflictFile_Header); ok {
return x.Header
}
return nil
}
func (m *ConflictFile) GetContent() []byte {
if x, ok := m.GetConflictFilePayload().(*ConflictFile_Content); ok {
return x.Content
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*ConflictFile) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _ConflictFile_OneofMarshaler, _ConflictFile_OneofUnmarshaler, _ConflictFile_OneofSizer, []interface{}{
(*ConflictFile_Header)(nil),
(*ConflictFile_Content)(nil),
}
}
func _ConflictFile_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*ConflictFile)
// conflict_file_payload
switch x := m.ConflictFilePayload.(type) {
case *ConflictFile_Header:
b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Header); err != nil {
return err
}
case *ConflictFile_Content:
b.EncodeVarint(2<<3 | proto.WireBytes)
b.EncodeRawBytes(x.Content)
case nil:
default:
return fmt.Errorf("ConflictFile.ConflictFilePayload has unexpected type %T", x)
}
return nil
}
func _ConflictFile_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*ConflictFile)
switch tag {
case 1: // conflict_file_payload.header
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ConflictFileHeader)
err := b.DecodeMessage(msg)
m.ConflictFilePayload = &ConflictFile_Header{msg}
return true, err
case 2: // conflict_file_payload.content
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeRawBytes(true)
m.ConflictFilePayload = &ConflictFile_Content{x}
return true, err
default:
return false, nil
}
}
func _ConflictFile_OneofSizer(msg proto.Message) (n int) {
m := msg.(*ConflictFile)
// conflict_file_payload
switch x := m.ConflictFilePayload.(type) {
case *ConflictFile_Header:
s := proto.Size(x.Header)
n += proto.SizeVarint(1<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *ConflictFile_Content:
n += proto.SizeVarint(2<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(len(x.Content)))
n += len(x.Content)
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
type ListConflictFilesResponse struct {
Files []*ConflictFile `protobuf:"bytes,1,rep,name=files" json:"files,omitempty"`
}
func (m *ListConflictFilesResponse) Reset() { *m = ListConflictFilesResponse{} }
func (m *ListConflictFilesResponse) String() string { return proto.CompactTextString(m) }
func (*ListConflictFilesResponse) ProtoMessage() {}
func (*ListConflictFilesResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} }
func (m *ListConflictFilesResponse) GetFiles() []*ConflictFile {
if m != nil {
return m.Files
}
return nil
}
type ResolveConflictsRequestHeader struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
OurCommitOid string `protobuf:"bytes,2,opt,name=our_commit_oid,json=ourCommitOid" json:"our_commit_oid,omitempty"`
TargetRepository *Repository `protobuf:"bytes,3,opt,name=target_repository,json=targetRepository" json:"target_repository,omitempty"`
TheirCommitOid string `protobuf:"bytes,4,opt,name=their_commit_oid,json=theirCommitOid" json:"their_commit_oid,omitempty"`
SourceBranch []byte `protobuf:"bytes,5,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"`
TargetBranch []byte `protobuf:"bytes,6,opt,name=target_branch,json=targetBranch,proto3" json:"target_branch,omitempty"`
CommitMessage []byte `protobuf:"bytes,7,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"`
User *User `protobuf:"bytes,8,opt,name=user" json:"user,omitempty"`
}
func (m *ResolveConflictsRequestHeader) Reset() { *m = ResolveConflictsRequestHeader{} }
func (m *ResolveConflictsRequestHeader) String() string { return proto.CompactTextString(m) }
func (*ResolveConflictsRequestHeader) ProtoMessage() {}
func (*ResolveConflictsRequestHeader) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{4} }
func (m *ResolveConflictsRequestHeader) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *ResolveConflictsRequestHeader) GetOurCommitOid() string {
if m != nil {
return m.OurCommitOid
}
return ""
}
func (m *ResolveConflictsRequestHeader) GetTargetRepository() *Repository {
if m != nil {
return m.TargetRepository
}
return nil
}
func (m *ResolveConflictsRequestHeader) GetTheirCommitOid() string {
if m != nil {
return m.TheirCommitOid
}
return ""
}
func (m *ResolveConflictsRequestHeader) GetSourceBranch() []byte {
if m != nil {
return m.SourceBranch
}
return nil
}
func (m *ResolveConflictsRequestHeader) GetTargetBranch() []byte {
if m != nil {
return m.TargetBranch
}
return nil
}
func (m *ResolveConflictsRequestHeader) GetCommitMessage() []byte {
if m != nil {
return m.CommitMessage
}
return nil
}
func (m *ResolveConflictsRequestHeader) GetUser() *User {
if m != nil {
return m.User
}
return nil
}
type ResolveConflictsRequest struct {
// Types that are valid to be assigned to ResolveConflictsRequestPayload:
// *ResolveConflictsRequest_Header
// *ResolveConflictsRequest_FilesJson
ResolveConflictsRequestPayload isResolveConflictsRequest_ResolveConflictsRequestPayload `protobuf_oneof:"resolve_conflicts_request_payload"`
}
func (m *ResolveConflictsRequest) Reset() { *m = ResolveConflictsRequest{} }
func (m *ResolveConflictsRequest) String() string { return proto.CompactTextString(m) }
func (*ResolveConflictsRequest) ProtoMessage() {}
func (*ResolveConflictsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} }
type isResolveConflictsRequest_ResolveConflictsRequestPayload interface {
isResolveConflictsRequest_ResolveConflictsRequestPayload()
}
type ResolveConflictsRequest_Header struct {
Header *ResolveConflictsRequestHeader `protobuf:"bytes,1,opt,name=header,oneof"`
}
type ResolveConflictsRequest_FilesJson struct {
FilesJson []byte `protobuf:"bytes,2,opt,name=files_json,json=filesJson,proto3,oneof"`
}
func (*ResolveConflictsRequest_Header) isResolveConflictsRequest_ResolveConflictsRequestPayload() {}
func (*ResolveConflictsRequest_FilesJson) isResolveConflictsRequest_ResolveConflictsRequestPayload() {}
func (m *ResolveConflictsRequest) GetResolveConflictsRequestPayload() isResolveConflictsRequest_ResolveConflictsRequestPayload {
if m != nil {
return m.ResolveConflictsRequestPayload
}
return nil
}
func (m *ResolveConflictsRequest) GetHeader() *ResolveConflictsRequestHeader {
if x, ok := m.GetResolveConflictsRequestPayload().(*ResolveConflictsRequest_Header); ok {
return x.Header
}
return nil
}
func (m *ResolveConflictsRequest) GetFilesJson() []byte {
if x, ok := m.GetResolveConflictsRequestPayload().(*ResolveConflictsRequest_FilesJson); ok {
return x.FilesJson
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*ResolveConflictsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _ResolveConflictsRequest_OneofMarshaler, _ResolveConflictsRequest_OneofUnmarshaler, _ResolveConflictsRequest_OneofSizer, []interface{}{
(*ResolveConflictsRequest_Header)(nil),
(*ResolveConflictsRequest_FilesJson)(nil),
}
}
func _ResolveConflictsRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*ResolveConflictsRequest)
// resolve_conflicts_request_payload
switch x := m.ResolveConflictsRequestPayload.(type) {
case *ResolveConflictsRequest_Header:
b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Header); err != nil {
return err
}
case *ResolveConflictsRequest_FilesJson:
b.EncodeVarint(2<<3 | proto.WireBytes)
b.EncodeRawBytes(x.FilesJson)
case nil:
default:
return fmt.Errorf("ResolveConflictsRequest.ResolveConflictsRequestPayload has unexpected type %T", x)
}
return nil
}
func _ResolveConflictsRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*ResolveConflictsRequest)
switch tag {
case 1: // resolve_conflicts_request_payload.header
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ResolveConflictsRequestHeader)
err := b.DecodeMessage(msg)
m.ResolveConflictsRequestPayload = &ResolveConflictsRequest_Header{msg}
return true, err
case 2: // resolve_conflicts_request_payload.files_json
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeRawBytes(true)
m.ResolveConflictsRequestPayload = &ResolveConflictsRequest_FilesJson{x}
return true, err
default:
return false, nil
}
}
func _ResolveConflictsRequest_OneofSizer(msg proto.Message) (n int) {
m := msg.(*ResolveConflictsRequest)
// resolve_conflicts_request_payload
switch x := m.ResolveConflictsRequestPayload.(type) {
case *ResolveConflictsRequest_Header:
s := proto.Size(x.Header)
n += proto.SizeVarint(1<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *ResolveConflictsRequest_FilesJson:
n += proto.SizeVarint(2<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(len(x.FilesJson)))
n += len(x.FilesJson)
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
type ResolveConflictsResponse struct {
ResolutionError string `protobuf:"bytes,1,opt,name=resolution_error,json=resolutionError" json:"resolution_error,omitempty"`
}
func (m *ResolveConflictsResponse) Reset() { *m = ResolveConflictsResponse{} }
func (m *ResolveConflictsResponse) String() string { return proto.CompactTextString(m) }
func (*ResolveConflictsResponse) ProtoMessage() {}
func (*ResolveConflictsResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{6} }
func (m *ResolveConflictsResponse) GetResolutionError() string {
if m != nil {
return m.ResolutionError
}
return ""
}
func init() {
proto.RegisterType((*ListConflictFilesRequest)(nil), "gitaly.ListConflictFilesRequest")
proto.RegisterType((*ConflictFileHeader)(nil), "gitaly.ConflictFileHeader")
proto.RegisterType((*ConflictFile)(nil), "gitaly.ConflictFile")
proto.RegisterType((*ListConflictFilesResponse)(nil), "gitaly.ListConflictFilesResponse")
proto.RegisterType((*ResolveConflictsRequestHeader)(nil), "gitaly.ResolveConflictsRequestHeader")
proto.RegisterType((*ResolveConflictsRequest)(nil), "gitaly.ResolveConflictsRequest")
proto.RegisterType((*ResolveConflictsResponse)(nil), "gitaly.ResolveConflictsResponse")
}
// 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 ConflictsService service
type ConflictsServiceClient interface {
ListConflictFiles(ctx context.Context, in *ListConflictFilesRequest, opts ...grpc.CallOption) (ConflictsService_ListConflictFilesClient, error)
ResolveConflicts(ctx context.Context, opts ...grpc.CallOption) (ConflictsService_ResolveConflictsClient, error)
}
type conflictsServiceClient struct {
cc *grpc.ClientConn
}
func NewConflictsServiceClient(cc *grpc.ClientConn) ConflictsServiceClient {
return &conflictsServiceClient{cc}
}
func (c *conflictsServiceClient) ListConflictFiles(ctx context.Context, in *ListConflictFilesRequest, opts ...grpc.CallOption) (ConflictsService_ListConflictFilesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_ConflictsService_serviceDesc.Streams[0], c.cc, "/gitaly.ConflictsService/ListConflictFiles", opts...)
if err != nil {
return nil, err
}
x := &conflictsServiceListConflictFilesClient{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 ConflictsService_ListConflictFilesClient interface {
Recv() (*ListConflictFilesResponse, error)
grpc.ClientStream
}
type conflictsServiceListConflictFilesClient struct {
grpc.ClientStream
}
func (x *conflictsServiceListConflictFilesClient) Recv() (*ListConflictFilesResponse, error) {
m := new(ListConflictFilesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *conflictsServiceClient) ResolveConflicts(ctx context.Context, opts ...grpc.CallOption) (ConflictsService_ResolveConflictsClient, error) {
stream, err := grpc.NewClientStream(ctx, &_ConflictsService_serviceDesc.Streams[1], c.cc, "/gitaly.ConflictsService/ResolveConflicts", opts...)
if err != nil {
return nil, err
}
x := &conflictsServiceResolveConflictsClient{stream}
return x, nil
}
type ConflictsService_ResolveConflictsClient interface {
Send(*ResolveConflictsRequest) error
CloseAndRecv() (*ResolveConflictsResponse, error)
grpc.ClientStream
}
type conflictsServiceResolveConflictsClient struct {
grpc.ClientStream
}
func (x *conflictsServiceResolveConflictsClient) Send(m *ResolveConflictsRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *conflictsServiceResolveConflictsClient) CloseAndRecv() (*ResolveConflictsResponse, error) {
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
m := new(ResolveConflictsResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for ConflictsService service
type ConflictsServiceServer interface {
ListConflictFiles(*ListConflictFilesRequest, ConflictsService_ListConflictFilesServer) error
ResolveConflicts(ConflictsService_ResolveConflictsServer) error
}
func RegisterConflictsServiceServer(s *grpc.Server, srv ConflictsServiceServer) {
s.RegisterService(&_ConflictsService_serviceDesc, srv)
}
func _ConflictsService_ListConflictFiles_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(ListConflictFilesRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(ConflictsServiceServer).ListConflictFiles(m, &conflictsServiceListConflictFilesServer{stream})
}
type ConflictsService_ListConflictFilesServer interface {
Send(*ListConflictFilesResponse) error
grpc.ServerStream
}
type conflictsServiceListConflictFilesServer struct {
grpc.ServerStream
}
func (x *conflictsServiceListConflictFilesServer) Send(m *ListConflictFilesResponse) error {
return x.ServerStream.SendMsg(m)
}
func _ConflictsService_ResolveConflicts_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(ConflictsServiceServer).ResolveConflicts(&conflictsServiceResolveConflictsServer{stream})
}
type ConflictsService_ResolveConflictsServer interface {
SendAndClose(*ResolveConflictsResponse) error
Recv() (*ResolveConflictsRequest, error)
grpc.ServerStream
}
type conflictsServiceResolveConflictsServer struct {
grpc.ServerStream
}
func (x *conflictsServiceResolveConflictsServer) SendAndClose(m *ResolveConflictsResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *conflictsServiceResolveConflictsServer) Recv() (*ResolveConflictsRequest, error) {
m := new(ResolveConflictsRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
var _ConflictsService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.ConflictsService",
HandlerType: (*ConflictsServiceServer)(nil),
Methods: []grpc.MethodDesc{},
Streams: []grpc.StreamDesc{
{
StreamName: "ListConflictFiles",
Handler: _ConflictsService_ListConflictFiles_Handler,
ServerStreams: true,
},
{
StreamName: "ResolveConflicts",
Handler: _ConflictsService_ResolveConflicts_Handler,
ClientStreams: true,
},
},
Metadata: "conflicts.proto",
}
func init() { proto.RegisterFile("conflicts.proto", fileDescriptor2) }
var fileDescriptor2 = []byte{
// 575 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0xd1, 0x6a, 0x13, 0x41,
0x14, 0x86, 0xbb, 0x6d, 0x93, 0x34, 0xa7, 0xdb, 0x34, 0x1d, 0x94, 0x6e, 0x03, 0xa1, 0xdb, 0xad,
0x85, 0xd5, 0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0x36, 0x46, 0x29, 0xc3, 0x11, 0x3a, 0x0d, 0x4d, 0xed, 0x19, 0xf5, 0xca, 0x88, 0xc4,
0x85, 0xed, 0x5c, 0xa2, 0x70, 0x76, 0xf4, 0x3a, 0x76, 0xb9, 0xce, 0x47, 0x89, 0x82, 0xea, 0x8a,
0xf7, 0xdd, 0x82, 0xc3, 0x35, 0x2f, 0x4f, 0xce, 0xef, 0x25, 0xe9, 0x6c, 0xfe, 0x1c, 0x0f, 0x9c,
0x6a, 0x21, 0x54, 0xc7, 0x00, 0xfa, 0xbe, 0xc1, 0x17, 0xc9, 0xb3, 0x2a, 0x57, 0x4d, 0xad, 0xbd,
0x91, 0x3c, 0x1b, 0x9c, 0xc2, 0x89, 0x30, 0xbd, 0x82, 0xea, 0x33, 0x09, 0x84, 0xe9, 0x56, 0xa5,
0xec, 0x12, 0x9c, 0xe5, 0x81, 0x45, 0xc8, 0x9e, 0x42, 0x5b, 0x37, 0xc8, 0x15, 0xe3, 0x59, 0x80,
0x42, 0x70, 0x63, 0xb6, 0x49, 0xf7, 0xe7, 0xfa, 0xe5, 0x4c, 0xee, 0xff, 0xb4, 0xa0, 0x5d, 0x35,
0xf8, 0x80, 0xe2, 0x96, 0x45, 0x48, 0x3e, 0xc3, 0xc1, 0x52, 0x82, 0x89, 0x5b, 0xee, 0xb9, 0xee,
0xdb, 0xea, 0x9c, 0x3c, 0x40, 0x18, 0x67, 0xde, 0xc6, 0x73, 0x8b, 0x7c, 0x82, 0xf6, 0x7d, 0xe7,
0xe4, 0xf8, 0x0f, 0x8f, 0xd8, 0x71, 0xd7, 0x03, 0x65, 0x6b, 0xdf, 0xba, 0xae, 0xeb, 0xcf, 0xf5,
0xc5, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2c, 0xb1, 0x16, 0xeb, 0x85, 0x05, 0x00, 0x00,
}
......@@ -1105,9 +1105,9 @@ var _SSH_serviceDesc = grpc.ServiceDesc{
Metadata: "deprecated-services.proto",
}
func init() { proto.RegisterFile("deprecated-services.proto", fileDescriptor2) }
func init() { proto.RegisterFile("deprecated-services.proto", fileDescriptor3) }
var fileDescriptor2 = []byte{
var fileDescriptor3 = []byte{
// 534 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x5d, 0x6e, 0xd3, 0x40,
0x10, 0x80, 0x31, 0x41, 0x91, 0x32, 0xa1, 0x0d, 0x6c, 0x85, 0x68, 0x0c, 0x4d, 0xda, 0x0a, 0x24,
......
......@@ -36,7 +36,7 @@ type CommitDiffRequest struct {
func (m *CommitDiffRequest) Reset() { *m = CommitDiffRequest{} }
func (m *CommitDiffRequest) String() string { return proto.CompactTextString(m) }
func (*CommitDiffRequest) ProtoMessage() {}
func (*CommitDiffRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{0} }
func (*CommitDiffRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
func (m *CommitDiffRequest) GetRepository() *Repository {
if m != nil {
......@@ -150,7 +150,7 @@ type CommitDiffResponse struct {
func (m *CommitDiffResponse) Reset() { *m = CommitDiffResponse{} }
func (m *CommitDiffResponse) String() string { return proto.CompactTextString(m) }
func (*CommitDiffResponse) ProtoMessage() {}
func (*CommitDiffResponse) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{1} }
func (*CommitDiffResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{1} }
func (m *CommitDiffResponse) GetFromPath() []byte {
if m != nil {
......@@ -239,7 +239,7 @@ type CommitDeltaRequest struct {
func (m *CommitDeltaRequest) Reset() { *m = CommitDeltaRequest{} }
func (m *CommitDeltaRequest) String() string { return proto.CompactTextString(m) }
func (*CommitDeltaRequest) ProtoMessage() {}
func (*CommitDeltaRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{2} }
func (*CommitDeltaRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{2} }
func (m *CommitDeltaRequest) GetRepository() *Repository {
if m != nil {
......@@ -282,7 +282,7 @@ type CommitDelta struct {
func (m *CommitDelta) Reset() { *m = CommitDelta{} }
func (m *CommitDelta) String() string { return proto.CompactTextString(m) }
func (*CommitDelta) ProtoMessage() {}
func (*CommitDelta) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{3} }
func (*CommitDelta) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{3} }
func (m *CommitDelta) GetFromPath() []byte {
if m != nil {
......@@ -333,7 +333,7 @@ type CommitDeltaResponse struct {
func (m *CommitDeltaResponse) Reset() { *m = CommitDeltaResponse{} }
func (m *CommitDeltaResponse) String() string { return proto.CompactTextString(m) }
func (*CommitDeltaResponse) ProtoMessage() {}
func (*CommitDeltaResponse) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{4} }
func (*CommitDeltaResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{4} }
func (m *CommitDeltaResponse) GetDeltas() []*CommitDelta {
if m != nil {
......@@ -342,12 +342,154 @@ func (m *CommitDeltaResponse) GetDeltas() []*CommitDelta {
return nil
}
type CommitPatchRequest 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 *CommitPatchRequest) Reset() { *m = CommitPatchRequest{} }
func (m *CommitPatchRequest) String() string { return proto.CompactTextString(m) }
func (*CommitPatchRequest) ProtoMessage() {}
func (*CommitPatchRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{5} }
func (m *CommitPatchRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *CommitPatchRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return nil
}
type CommitPatchResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (m *CommitPatchResponse) Reset() { *m = CommitPatchResponse{} }
func (m *CommitPatchResponse) String() string { return proto.CompactTextString(m) }
func (*CommitPatchResponse) ProtoMessage() {}
func (*CommitPatchResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{6} }
func (m *CommitPatchResponse) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
type RawDiffRequest 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"`
RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId" json:"right_commit_id,omitempty"`
}
func (m *RawDiffRequest) Reset() { *m = RawDiffRequest{} }
func (m *RawDiffRequest) String() string { return proto.CompactTextString(m) }
func (*RawDiffRequest) ProtoMessage() {}
func (*RawDiffRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{7} }
func (m *RawDiffRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *RawDiffRequest) GetLeftCommitId() string {
if m != nil {
return m.LeftCommitId
}
return ""
}
func (m *RawDiffRequest) GetRightCommitId() string {
if m != nil {
return m.RightCommitId
}
return ""
}
type RawDiffResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (m *RawDiffResponse) Reset() { *m = RawDiffResponse{} }
func (m *RawDiffResponse) String() string { return proto.CompactTextString(m) }
func (*RawDiffResponse) ProtoMessage() {}
func (*RawDiffResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{8} }
func (m *RawDiffResponse) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
type RawPatchRequest 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"`
RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId" json:"right_commit_id,omitempty"`
}
func (m *RawPatchRequest) Reset() { *m = RawPatchRequest{} }
func (m *RawPatchRequest) String() string { return proto.CompactTextString(m) }
func (*RawPatchRequest) ProtoMessage() {}
func (*RawPatchRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{9} }
func (m *RawPatchRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *RawPatchRequest) GetLeftCommitId() string {
if m != nil {
return m.LeftCommitId
}
return ""
}
func (m *RawPatchRequest) GetRightCommitId() string {
if m != nil {
return m.RightCommitId
}
return ""
}
type RawPatchResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (m *RawPatchResponse) Reset() { *m = RawPatchResponse{} }
func (m *RawPatchResponse) String() string { return proto.CompactTextString(m) }
func (*RawPatchResponse) ProtoMessage() {}
func (*RawPatchResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{10} }
func (m *RawPatchResponse) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*CommitDiffRequest)(nil), "gitaly.CommitDiffRequest")
proto.RegisterType((*CommitDiffResponse)(nil), "gitaly.CommitDiffResponse")
proto.RegisterType((*CommitDeltaRequest)(nil), "gitaly.CommitDeltaRequest")
proto.RegisterType((*CommitDelta)(nil), "gitaly.CommitDelta")
proto.RegisterType((*CommitDeltaResponse)(nil), "gitaly.CommitDeltaResponse")
proto.RegisterType((*CommitPatchRequest)(nil), "gitaly.CommitPatchRequest")
proto.RegisterType((*CommitPatchResponse)(nil), "gitaly.CommitPatchResponse")
proto.RegisterType((*RawDiffRequest)(nil), "gitaly.RawDiffRequest")
proto.RegisterType((*RawDiffResponse)(nil), "gitaly.RawDiffResponse")
proto.RegisterType((*RawPatchRequest)(nil), "gitaly.RawPatchRequest")
proto.RegisterType((*RawPatchResponse)(nil), "gitaly.RawPatchResponse")
}
// Reference imports to suppress errors if they are not otherwise used.
......@@ -365,6 +507,9 @@ type DiffServiceClient interface {
CommitDiff(ctx context.Context, in *CommitDiffRequest, opts ...grpc.CallOption) (DiffService_CommitDiffClient, error)
// Return a stream so we can divide the response in chunks of deltas
CommitDelta(ctx context.Context, in *CommitDeltaRequest, opts ...grpc.CallOption) (DiffService_CommitDeltaClient, error)
CommitPatch(ctx context.Context, in *CommitPatchRequest, opts ...grpc.CallOption) (DiffService_CommitPatchClient, error)
RawDiff(ctx context.Context, in *RawDiffRequest, opts ...grpc.CallOption) (DiffService_RawDiffClient, error)
RawPatch(ctx context.Context, in *RawPatchRequest, opts ...grpc.CallOption) (DiffService_RawPatchClient, error)
}
type diffServiceClient struct {
......@@ -439,6 +584,102 @@ func (x *diffServiceCommitDeltaClient) Recv() (*CommitDeltaResponse, error) {
return m, nil
}
func (c *diffServiceClient) CommitPatch(ctx context.Context, in *CommitPatchRequest, opts ...grpc.CallOption) (DiffService_CommitPatchClient, error) {
stream, err := grpc.NewClientStream(ctx, &_DiffService_serviceDesc.Streams[2], c.cc, "/gitaly.DiffService/CommitPatch", opts...)
if err != nil {
return nil, err
}
x := &diffServiceCommitPatchClient{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 DiffService_CommitPatchClient interface {
Recv() (*CommitPatchResponse, error)
grpc.ClientStream
}
type diffServiceCommitPatchClient struct {
grpc.ClientStream
}
func (x *diffServiceCommitPatchClient) Recv() (*CommitPatchResponse, error) {
m := new(CommitPatchResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *diffServiceClient) RawDiff(ctx context.Context, in *RawDiffRequest, opts ...grpc.CallOption) (DiffService_RawDiffClient, error) {
stream, err := grpc.NewClientStream(ctx, &_DiffService_serviceDesc.Streams[3], c.cc, "/gitaly.DiffService/RawDiff", opts...)
if err != nil {
return nil, err
}
x := &diffServiceRawDiffClient{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 DiffService_RawDiffClient interface {
Recv() (*RawDiffResponse, error)
grpc.ClientStream
}
type diffServiceRawDiffClient struct {
grpc.ClientStream
}
func (x *diffServiceRawDiffClient) Recv() (*RawDiffResponse, error) {
m := new(RawDiffResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *diffServiceClient) RawPatch(ctx context.Context, in *RawPatchRequest, opts ...grpc.CallOption) (DiffService_RawPatchClient, error) {
stream, err := grpc.NewClientStream(ctx, &_DiffService_serviceDesc.Streams[4], c.cc, "/gitaly.DiffService/RawPatch", opts...)
if err != nil {
return nil, err
}
x := &diffServiceRawPatchClient{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 DiffService_RawPatchClient interface {
Recv() (*RawPatchResponse, error)
grpc.ClientStream
}
type diffServiceRawPatchClient struct {
grpc.ClientStream
}
func (x *diffServiceRawPatchClient) Recv() (*RawPatchResponse, error) {
m := new(RawPatchResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for DiffService service
type DiffServiceServer interface {
......@@ -446,6 +687,9 @@ type DiffServiceServer interface {
CommitDiff(*CommitDiffRequest, DiffService_CommitDiffServer) error
// Return a stream so we can divide the response in chunks of deltas
CommitDelta(*CommitDeltaRequest, DiffService_CommitDeltaServer) error
CommitPatch(*CommitPatchRequest, DiffService_CommitPatchServer) error
RawDiff(*RawDiffRequest, DiffService_RawDiffServer) error
RawPatch(*RawPatchRequest, DiffService_RawPatchServer) error
}
func RegisterDiffServiceServer(s *grpc.Server, srv DiffServiceServer) {
......@@ -494,6 +738,69 @@ func (x *diffServiceCommitDeltaServer) Send(m *CommitDeltaResponse) error {
return x.ServerStream.SendMsg(m)
}
func _DiffService_CommitPatch_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(CommitPatchRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(DiffServiceServer).CommitPatch(m, &diffServiceCommitPatchServer{stream})
}
type DiffService_CommitPatchServer interface {
Send(*CommitPatchResponse) error
grpc.ServerStream
}
type diffServiceCommitPatchServer struct {
grpc.ServerStream
}
func (x *diffServiceCommitPatchServer) Send(m *CommitPatchResponse) error {
return x.ServerStream.SendMsg(m)
}
func _DiffService_RawDiff_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(RawDiffRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(DiffServiceServer).RawDiff(m, &diffServiceRawDiffServer{stream})
}
type DiffService_RawDiffServer interface {
Send(*RawDiffResponse) error
grpc.ServerStream
}
type diffServiceRawDiffServer struct {
grpc.ServerStream
}
func (x *diffServiceRawDiffServer) Send(m *RawDiffResponse) error {
return x.ServerStream.SendMsg(m)
}
func _DiffService_RawPatch_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(RawPatchRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(DiffServiceServer).RawPatch(m, &diffServiceRawPatchServer{stream})
}
type DiffService_RawPatchServer interface {
Send(*RawPatchResponse) error
grpc.ServerStream
}
type diffServiceRawPatchServer struct {
grpc.ServerStream
}
func (x *diffServiceRawPatchServer) Send(m *RawPatchResponse) error {
return x.ServerStream.SendMsg(m)
}
var _DiffService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.DiffService",
HandlerType: (*DiffServiceServer)(nil),
......@@ -509,52 +816,75 @@ var _DiffService_serviceDesc = grpc.ServiceDesc{
Handler: _DiffService_CommitDelta_Handler,
ServerStreams: true,
},
{
StreamName: "CommitPatch",
Handler: _DiffService_CommitPatch_Handler,
ServerStreams: true,
},
{
StreamName: "RawDiff",
Handler: _DiffService_RawDiff_Handler,
ServerStreams: true,
},
{
StreamName: "RawPatch",
Handler: _DiffService_RawPatch_Handler,
ServerStreams: true,
},
},
Metadata: "diff.proto",
}
func init() { proto.RegisterFile("diff.proto", fileDescriptor3) }
var fileDescriptor3 = []byte{
// 629 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08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 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,
func init() { proto.RegisterFile("diff.proto", fileDescriptor4) }
var fileDescriptor4 = []byte{
// 753 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x4d, 0x6f, 0xdb, 0x46,
0x10, 0x2d, 0xf5, 0x41, 0x51, 0x23, 0x5a, 0x76, 0xd7, 0x85, 0x4d, 0xcb, 0x3d, 0x08, 0x44, 0xed,
0xaa, 0x28, 0x60, 0x14, 0xea, 0xa5, 0xa7, 0x02, 0xb5, 0x8d, 0x16, 0x36, 0x6c, 0xd4, 0x60, 0x0e,
0x39, 0x12, 0x6b, 0xed, 0x52, 0x5a, 0x84, 0xe4, 0x2a, 0xbb, 0x1b, 0xcb, 0xfa, 0x1b, 0xc9, 0x8f,
0xc8, 0x25, 0xff, 0x28, 0xbf, 0x22, 0xf7, 0x1c, 0x82, 0xdd, 0x25, 0x29, 0xca, 0x56, 0x72, 0x71,
0x0e, 0xbe, 0x69, 0xdf, 0x7b, 0x9c, 0x19, 0xbe, 0x37, 0x4b, 0x08, 0x80, 0xb0, 0x24, 0x39, 0x99,
0x0b, 0xae, 0x38, 0x72, 0xa7, 0x4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0xff, 0x01,
0xac, 0x3e, 0x8a, 0xe8, 0xe0, 0xc1, 0x16, 0xad, 0xf2, 0x19, 0x0c, 0x36, 0x51, 0xb6, 0x51, 0xf8,
0xc3, 0x1f, 0x0e, 0xba, 0x5c, 0xbf, 0x50, 0x83, 0x4d, 0xfb, 0x58, 0x94, 0x3a, 0xdc, 0xc8, 0x6d,
0xaa, 0x65, 0x3f, 0x54, 0x0f, 0x6a, 0xd5, 0x9d, 0x7f, 0x58, 0x6b, 0xcd, 0x00, 0x53, 0xeb, 0x6f,
0xe8, 0x14, 0xa9, 0xa2, 0xbd, 0x2a, 0x91, 0xb5, 0xd5, 0x1b, 0xec, 0x3f, 0xc2, 0x6b, 0xcf, 0xff,
0x03, 0x5e, 0x69, 0x2c, 0xaa, 0x0b, 0xd7, 0xa6, 0x08, 0x1e, 0x13, 0xab, 0x12, 0xb7, 0xae, 0xf9,
0xff, 0xf1, 0xe7, 0x97, 0x00, 0x00, 0x00, 0xff, 0xff, 0x55, 0x7c, 0x0d, 0x4f, 0xa3, 0x08, 0x00,
0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: namespace.proto
package gitaly
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type AddNamespaceRequest struct {
StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName" json:"storage_name,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}
func (m *AddNamespaceRequest) Reset() { *m = AddNamespaceRequest{} }
func (m *AddNamespaceRequest) String() string { return proto.CompactTextString(m) }
func (*AddNamespaceRequest) ProtoMessage() {}
func (*AddNamespaceRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
func (m *AddNamespaceRequest) GetStorageName() string {
if m != nil {
return m.StorageName
}
return ""
}
func (m *AddNamespaceRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type RemoveNamespaceRequest struct {
StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName" json:"storage_name,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}
func (m *RemoveNamespaceRequest) Reset() { *m = RemoveNamespaceRequest{} }
func (m *RemoveNamespaceRequest) String() string { return proto.CompactTextString(m) }
func (*RemoveNamespaceRequest) ProtoMessage() {}
func (*RemoveNamespaceRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{1} }
func (m *RemoveNamespaceRequest) GetStorageName() string {
if m != nil {
return m.StorageName
}
return ""
}
func (m *RemoveNamespaceRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type RenameNamespaceRequest struct {
StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName" json:"storage_name,omitempty"`
From string `protobuf:"bytes,2,opt,name=from" json:"from,omitempty"`
To string `protobuf:"bytes,3,opt,name=to" json:"to,omitempty"`
}
func (m *RenameNamespaceRequest) Reset() { *m = RenameNamespaceRequest{} }
func (m *RenameNamespaceRequest) String() string { return proto.CompactTextString(m) }
func (*RenameNamespaceRequest) ProtoMessage() {}
func (*RenameNamespaceRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{2} }
func (m *RenameNamespaceRequest) GetStorageName() string {
if m != nil {
return m.StorageName
}
return ""
}
func (m *RenameNamespaceRequest) GetFrom() string {
if m != nil {
return m.From
}
return ""
}
func (m *RenameNamespaceRequest) GetTo() string {
if m != nil {
return m.To
}
return ""
}
type NamespaceExistsRequest struct {
StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName" json:"storage_name,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}
func (m *NamespaceExistsRequest) Reset() { *m = NamespaceExistsRequest{} }
func (m *NamespaceExistsRequest) String() string { return proto.CompactTextString(m) }
func (*NamespaceExistsRequest) ProtoMessage() {}
func (*NamespaceExistsRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{3} }
func (m *NamespaceExistsRequest) GetStorageName() string {
if m != nil {
return m.StorageName
}
return ""
}
func (m *NamespaceExistsRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type NamespaceExistsResponse struct {
Exists bool `protobuf:"varint,1,opt,name=exists" json:"exists,omitempty"`
}
func (m *NamespaceExistsResponse) Reset() { *m = NamespaceExistsResponse{} }
func (m *NamespaceExistsResponse) String() string { return proto.CompactTextString(m) }
func (*NamespaceExistsResponse) ProtoMessage() {}
func (*NamespaceExistsResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{4} }
func (m *NamespaceExistsResponse) GetExists() bool {
if m != nil {
return m.Exists
}
return false
}
type AddNamespaceResponse struct {
}
func (m *AddNamespaceResponse) Reset() { *m = AddNamespaceResponse{} }
func (m *AddNamespaceResponse) String() string { return proto.CompactTextString(m) }
func (*AddNamespaceResponse) ProtoMessage() {}
func (*AddNamespaceResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{5} }
type RemoveNamespaceResponse struct {
}
func (m *RemoveNamespaceResponse) Reset() { *m = RemoveNamespaceResponse{} }
func (m *RemoveNamespaceResponse) String() string { return proto.CompactTextString(m) }
func (*RemoveNamespaceResponse) ProtoMessage() {}
func (*RemoveNamespaceResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{6} }
type RenameNamespaceResponse struct {
}
func (m *RenameNamespaceResponse) Reset() { *m = RenameNamespaceResponse{} }
func (m *RenameNamespaceResponse) String() string { return proto.CompactTextString(m) }
func (*RenameNamespaceResponse) ProtoMessage() {}
func (*RenameNamespaceResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{7} }
func init() {
proto.RegisterType((*AddNamespaceRequest)(nil), "gitaly.AddNamespaceRequest")
proto.RegisterType((*RemoveNamespaceRequest)(nil), "gitaly.RemoveNamespaceRequest")
proto.RegisterType((*RenameNamespaceRequest)(nil), "gitaly.RenameNamespaceRequest")
proto.RegisterType((*NamespaceExistsRequest)(nil), "gitaly.NamespaceExistsRequest")
proto.RegisterType((*NamespaceExistsResponse)(nil), "gitaly.NamespaceExistsResponse")
proto.RegisterType((*AddNamespaceResponse)(nil), "gitaly.AddNamespaceResponse")
proto.RegisterType((*RemoveNamespaceResponse)(nil), "gitaly.RemoveNamespaceResponse")
proto.RegisterType((*RenameNamespaceResponse)(nil), "gitaly.RenameNamespaceResponse")
}
// 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 NamespaceService service
type NamespaceServiceClient interface {
AddNamespace(ctx context.Context, in *AddNamespaceRequest, opts ...grpc.CallOption) (*AddNamespaceResponse, error)
RemoveNamespace(ctx context.Context, in *RemoveNamespaceRequest, opts ...grpc.CallOption) (*RemoveNamespaceResponse, error)
RenameNamespace(ctx context.Context, in *RenameNamespaceRequest, opts ...grpc.CallOption) (*RenameNamespaceResponse, error)
NamespaceExists(ctx context.Context, in *NamespaceExistsRequest, opts ...grpc.CallOption) (*NamespaceExistsResponse, error)
}
type namespaceServiceClient struct {
cc *grpc.ClientConn
}
func NewNamespaceServiceClient(cc *grpc.ClientConn) NamespaceServiceClient {
return &namespaceServiceClient{cc}
}
func (c *namespaceServiceClient) AddNamespace(ctx context.Context, in *AddNamespaceRequest, opts ...grpc.CallOption) (*AddNamespaceResponse, error) {
out := new(AddNamespaceResponse)
err := grpc.Invoke(ctx, "/gitaly.NamespaceService/AddNamespace", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *namespaceServiceClient) RemoveNamespace(ctx context.Context, in *RemoveNamespaceRequest, opts ...grpc.CallOption) (*RemoveNamespaceResponse, error) {
out := new(RemoveNamespaceResponse)
err := grpc.Invoke(ctx, "/gitaly.NamespaceService/RemoveNamespace", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *namespaceServiceClient) RenameNamespace(ctx context.Context, in *RenameNamespaceRequest, opts ...grpc.CallOption) (*RenameNamespaceResponse, error) {
out := new(RenameNamespaceResponse)
err := grpc.Invoke(ctx, "/gitaly.NamespaceService/RenameNamespace", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *namespaceServiceClient) NamespaceExists(ctx context.Context, in *NamespaceExistsRequest, opts ...grpc.CallOption) (*NamespaceExistsResponse, error) {
out := new(NamespaceExistsResponse)
err := grpc.Invoke(ctx, "/gitaly.NamespaceService/NamespaceExists", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for NamespaceService service
type NamespaceServiceServer interface {
AddNamespace(context.Context, *AddNamespaceRequest) (*AddNamespaceResponse, error)
RemoveNamespace(context.Context, *RemoveNamespaceRequest) (*RemoveNamespaceResponse, error)
RenameNamespace(context.Context, *RenameNamespaceRequest) (*RenameNamespaceResponse, error)
NamespaceExists(context.Context, *NamespaceExistsRequest) (*NamespaceExistsResponse, error)
}
func RegisterNamespaceServiceServer(s *grpc.Server, srv NamespaceServiceServer) {
s.RegisterService(&_NamespaceService_serviceDesc, srv)
}
func _NamespaceService_AddNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AddNamespaceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NamespaceServiceServer).AddNamespace(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.NamespaceService/AddNamespace",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NamespaceServiceServer).AddNamespace(ctx, req.(*AddNamespaceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NamespaceService_RemoveNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RemoveNamespaceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NamespaceServiceServer).RemoveNamespace(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.NamespaceService/RemoveNamespace",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NamespaceServiceServer).RemoveNamespace(ctx, req.(*RemoveNamespaceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NamespaceService_RenameNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RenameNamespaceRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NamespaceServiceServer).RenameNamespace(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.NamespaceService/RenameNamespace",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NamespaceServiceServer).RenameNamespace(ctx, req.(*RenameNamespaceRequest))
}
return interceptor(ctx, in, info, handler)
}
func _NamespaceService_NamespaceExists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(NamespaceExistsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(NamespaceServiceServer).NamespaceExists(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.NamespaceService/NamespaceExists",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(NamespaceServiceServer).NamespaceExists(ctx, req.(*NamespaceExistsRequest))
}
return interceptor(ctx, in, info, handler)
}
var _NamespaceService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.NamespaceService",
HandlerType: (*NamespaceServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "AddNamespace",
Handler: _NamespaceService_AddNamespace_Handler,
},
{
MethodName: "RemoveNamespace",
Handler: _NamespaceService_RemoveNamespace_Handler,
},
{
MethodName: "RenameNamespace",
Handler: _NamespaceService_RenameNamespace_Handler,
},
{
MethodName: "NamespaceExists",
Handler: _NamespaceService_NamespaceExists_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "namespace.proto",
}
func init() { proto.RegisterFile("namespace.proto", fileDescriptor5) }
var fileDescriptor5 = []byte{
// 291 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xcf, 0x4b, 0xcc, 0x4d,
0x2d, 0x2e, 0x48, 0x4c, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x4b, 0xcf, 0x2c,
0x49, 0xcc, 0xa9, 0x54, 0xf2, 0xe1, 0x12, 0x76, 0x4c, 0x49, 0xf1, 0x83, 0xc9, 0x06, 0xa5, 0x16,
0x96, 0xa6, 0x16, 0x97, 0x08, 0x29, 0x72, 0xf1, 0x14, 0x97, 0xe4, 0x17, 0x25, 0xa6, 0xa7, 0xc6,
0x83, 0x74, 0x4a, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0x71, 0x43, 0xc5, 0x40, 0xca, 0x85, 0x84,
0xb8, 0x58, 0xc0, 0x52, 0x4c, 0x60, 0x29, 0x30, 0x5b, 0xc9, 0x9f, 0x4b, 0x2c, 0x28, 0x35, 0x37,
0xbf, 0x2c, 0x95, 0x5a, 0x06, 0xc6, 0x83, 0x0c, 0x04, 0xb1, 0xc8, 0x34, 0x30, 0xad, 0x28, 0x3f,
0x17, 0x66, 0x20, 0x88, 0x2d, 0xc4, 0xc7, 0xc5, 0x54, 0x92, 0x2f, 0xc1, 0x0c, 0x16, 0x61, 0x2a,
0xc9, 0x07, 0xb9, 0x18, 0x6e, 0xb4, 0x6b, 0x45, 0x66, 0x71, 0x49, 0x31, 0x85, 0x2e, 0x36, 0xe4,
0x12, 0xc7, 0x30, 0xb0, 0xb8, 0x20, 0x3f, 0xaf, 0x38, 0x55, 0x48, 0x8c, 0x8b, 0x2d, 0x15, 0x2c,
0x02, 0x36, 0x8b, 0x23, 0x08, 0xca, 0x53, 0x12, 0xe3, 0x12, 0x41, 0x8d, 0x03, 0x88, 0x7a, 0x25,
0x49, 0x2e, 0x71, 0x8c, 0xd0, 0x44, 0x96, 0x42, 0x0b, 0x17, 0x88, 0x94, 0xd1, 0x43, 0x26, 0x2e,
0x01, 0xb8, 0x68, 0x70, 0x6a, 0x51, 0x59, 0x66, 0x72, 0xaa, 0x90, 0x37, 0x17, 0x0f, 0xb2, 0x15,
0x42, 0xd2, 0x7a, 0x90, 0xf8, 0xd7, 0xc3, 0x12, 0xf9, 0x52, 0x32, 0xd8, 0x25, 0xa1, 0x56, 0x33,
0x08, 0x85, 0x70, 0xf1, 0xa3, 0xb9, 0x4b, 0x48, 0x0e, 0xa6, 0x05, 0x7b, 0xf4, 0x4b, 0xc9, 0xe3,
0x94, 0x47, 0x35, 0x15, 0xc5, 0x4b, 0xc8, 0xa6, 0x62, 0x4b, 0x03, 0xc8, 0xa6, 0x62, 0x0d, 0x0b,
0x88, 0xa9, 0x68, 0xd1, 0x81, 0x30, 0x15, 0x7b, 0xc4, 0x23, 0x4c, 0xc5, 0x11, 0x8f, 0x4a, 0x0c,
0x49, 0x6c, 0xe0, 0x4c, 0x64, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xe3, 0x36, 0x4b, 0x73, 0x57,
0x03, 0x00, 0x00,
}
......@@ -24,7 +24,7 @@ type PostReceiveRequest struct {
func (m *PostReceiveRequest) Reset() { *m = PostReceiveRequest{} }
func (m *PostReceiveRequest) String() string { return proto.CompactTextString(m) }
func (*PostReceiveRequest) ProtoMessage() {}
func (*PostReceiveRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} }
func (*PostReceiveRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{0} }
func (m *PostReceiveRequest) GetRepository() *Repository {
if m != nil {
......@@ -39,7 +39,7 @@ type PostReceiveResponse struct {
func (m *PostReceiveResponse) Reset() { *m = PostReceiveResponse{} }
func (m *PostReceiveResponse) String() string { return proto.CompactTextString(m) }
func (*PostReceiveResponse) ProtoMessage() {}
func (*PostReceiveResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{1} }
func (*PostReceiveResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{1} }
func init() {
proto.RegisterType((*PostReceiveRequest)(nil), "gitaly.PostReceiveRequest")
......@@ -118,9 +118,9 @@ var _NotificationService_serviceDesc = grpc.ServiceDesc{
Metadata: "notifications.proto",
}
func init() { proto.RegisterFile("notifications.proto", fileDescriptor4) }
func init() { proto.RegisterFile("notifications.proto", fileDescriptor6) }
var fileDescriptor4 = []byte{
var fileDescriptor6 = []byte{
// 170 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xce, 0xcb, 0x2f, 0xc9,
0x4c, 0xcb, 0x4c, 0x4e, 0x2c, 0xc9, 0xcc, 0xcf, 0x2b, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17,
......
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: operations.proto
package gitaly
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type UserCommitFilesActionHeader_ActionType int32
const (
UserCommitFilesActionHeader_CREATE UserCommitFilesActionHeader_ActionType = 0
UserCommitFilesActionHeader_CREATE_DIR UserCommitFilesActionHeader_ActionType = 1
UserCommitFilesActionHeader_UPDATE UserCommitFilesActionHeader_ActionType = 2
UserCommitFilesActionHeader_MOVE UserCommitFilesActionHeader_ActionType = 3
UserCommitFilesActionHeader_DELETE UserCommitFilesActionHeader_ActionType = 4
)
var UserCommitFilesActionHeader_ActionType_name = map[int32]string{
0: "CREATE",
1: "CREATE_DIR",
2: "UPDATE",
3: "MOVE",
4: "DELETE",
}
var UserCommitFilesActionHeader_ActionType_value = map[string]int32{
"CREATE": 0,
"CREATE_DIR": 1,
"UPDATE": 2,
"MOVE": 3,
"DELETE": 4,
}
func (x UserCommitFilesActionHeader_ActionType) String() string {
return proto.EnumName(UserCommitFilesActionHeader_ActionType_name, int32(x))
}
func (UserCommitFilesActionHeader_ActionType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor7, []int{17, 0}
}
type UserCreateBranchRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
User *User `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"`
StartPoint []byte `protobuf:"bytes,4,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"`
}
func (m *UserCreateBranchRequest) Reset() { *m = UserCreateBranchRequest{} }
func (m *UserCreateBranchRequest) String() string { return proto.CompactTextString(m) }
func (*UserCreateBranchRequest) ProtoMessage() {}
func (*UserCreateBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0} }
func (m *UserCreateBranchRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *UserCreateBranchRequest) GetBranchName() []byte {
if m != nil {
return m.BranchName
}
return nil
}
func (m *UserCreateBranchRequest) GetUser() *User {
if m != nil {
return m.User
}
return nil
}
func (m *UserCreateBranchRequest) GetStartPoint() []byte {
if m != nil {
return m.StartPoint
}
return nil
}
type UserCreateBranchResponse struct {
Branch *Branch `protobuf:"bytes,1,opt,name=branch" json:"branch,omitempty"`
// Error returned by the pre-receive hook. If no error was thrown,
// it's the empty string ("")
PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError" json:"pre_receive_error,omitempty"`
}
func (m *UserCreateBranchResponse) Reset() { *m = UserCreateBranchResponse{} }
func (m *UserCreateBranchResponse) String() string { return proto.CompactTextString(m) }
func (*UserCreateBranchResponse) ProtoMessage() {}
func (*UserCreateBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{1} }
func (m *UserCreateBranchResponse) GetBranch() *Branch {
if m != nil {
return m.Branch
}
return nil
}
func (m *UserCreateBranchResponse) GetPreReceiveError() string {
if m != nil {
return m.PreReceiveError
}
return ""
}
type UserDeleteBranchRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
User *User `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"`
}
func (m *UserDeleteBranchRequest) Reset() { *m = UserDeleteBranchRequest{} }
func (m *UserDeleteBranchRequest) String() string { return proto.CompactTextString(m) }
func (*UserDeleteBranchRequest) ProtoMessage() {}
func (*UserDeleteBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{2} }
func (m *UserDeleteBranchRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *UserDeleteBranchRequest) GetBranchName() []byte {
if m != nil {
return m.BranchName
}
return nil
}
func (m *UserDeleteBranchRequest) GetUser() *User {
if m != nil {
return m.User
}
return nil
}
type UserDeleteBranchResponse struct {
PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError" json:"pre_receive_error,omitempty"`
}
func (m *UserDeleteBranchResponse) Reset() { *m = UserDeleteBranchResponse{} }
func (m *UserDeleteBranchResponse) String() string { return proto.CompactTextString(m) }
func (*UserDeleteBranchResponse) ProtoMessage() {}
func (*UserDeleteBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{3} }
func (m *UserDeleteBranchResponse) GetPreReceiveError() string {
if m != nil {
return m.PreReceiveError
}
return ""
}
type UserDeleteTagRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
User *User `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"`
}
func (m *UserDeleteTagRequest) Reset() { *m = UserDeleteTagRequest{} }
func (m *UserDeleteTagRequest) String() string { return proto.CompactTextString(m) }
func (*UserDeleteTagRequest) ProtoMessage() {}
func (*UserDeleteTagRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{4} }
func (m *UserDeleteTagRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *UserDeleteTagRequest) GetTagName() []byte {
if m != nil {
return m.TagName
}
return nil
}
func (m *UserDeleteTagRequest) GetUser() *User {
if m != nil {
return m.User
}
return nil
}
type UserDeleteTagResponse struct {
PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError" json:"pre_receive_error,omitempty"`
}
func (m *UserDeleteTagResponse) Reset() { *m = UserDeleteTagResponse{} }
func (m *UserDeleteTagResponse) String() string { return proto.CompactTextString(m) }
func (*UserDeleteTagResponse) ProtoMessage() {}
func (*UserDeleteTagResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{5} }
func (m *UserDeleteTagResponse) GetPreReceiveError() string {
if m != nil {
return m.PreReceiveError
}
return ""
}
type UserCreateTagRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
User *User `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"`
TargetRevision []byte `protobuf:"bytes,4,opt,name=target_revision,json=targetRevision,proto3" json:"target_revision,omitempty"`
Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
}
func (m *UserCreateTagRequest) Reset() { *m = UserCreateTagRequest{} }
func (m *UserCreateTagRequest) String() string { return proto.CompactTextString(m) }
func (*UserCreateTagRequest) ProtoMessage() {}
func (*UserCreateTagRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{6} }
func (m *UserCreateTagRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *UserCreateTagRequest) GetTagName() []byte {
if m != nil {
return m.TagName
}
return nil
}
func (m *UserCreateTagRequest) GetUser() *User {
if m != nil {
return m.User
}
return nil
}
func (m *UserCreateTagRequest) GetTargetRevision() []byte {
if m != nil {
return m.TargetRevision
}
return nil
}
func (m *UserCreateTagRequest) GetMessage() []byte {
if m != nil {
return m.Message
}
return nil
}
type UserCreateTagResponse struct {
Tag *Tag `protobuf:"bytes,1,opt,name=tag" json:"tag,omitempty"`
Exists bool `protobuf:"varint,2,opt,name=exists" json:"exists,omitempty"`
PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError" json:"pre_receive_error,omitempty"`
}
func (m *UserCreateTagResponse) Reset() { *m = UserCreateTagResponse{} }
func (m *UserCreateTagResponse) String() string { return proto.CompactTextString(m) }
func (*UserCreateTagResponse) ProtoMessage() {}
func (*UserCreateTagResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{7} }
func (m *UserCreateTagResponse) GetTag() *Tag {
if m != nil {
return m.Tag
}
return nil
}
func (m *UserCreateTagResponse) GetExists() bool {
if m != nil {
return m.Exists
}
return false
}
func (m *UserCreateTagResponse) GetPreReceiveError() string {
if m != nil {
return m.PreReceiveError
}
return ""
}
type UserMergeBranchRequest struct {
// First message
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
User *User `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
CommitId string `protobuf:"bytes,3,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
// Second message
// Tell the server to apply the merge to the branch
Apply bool `protobuf:"varint,6,opt,name=apply" json:"apply,omitempty"`
}
func (m *UserMergeBranchRequest) Reset() { *m = UserMergeBranchRequest{} }
func (m *UserMergeBranchRequest) String() string { return proto.CompactTextString(m) }
func (*UserMergeBranchRequest) ProtoMessage() {}
func (*UserMergeBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{8} }
func (m *UserMergeBranchRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *UserMergeBranchRequest) GetUser() *User {
if m != nil {
return m.User
}
return nil
}
func (m *UserMergeBranchRequest) GetCommitId() string {
if m != nil {
return m.CommitId
}
return ""
}
func (m *UserMergeBranchRequest) GetBranch() []byte {
if m != nil {
return m.Branch
}
return nil
}
func (m *UserMergeBranchRequest) GetMessage() []byte {
if m != nil {
return m.Message
}
return nil
}
func (m *UserMergeBranchRequest) GetApply() bool {
if m != nil {
return m.Apply
}
return false
}
type UserMergeBranchResponse struct {
// First message
// The merge commit the branch will be updated to. The caller can still abort the merge.
CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
// Second message
// If set, the merge has been applied to the branch.
BranchUpdate *OperationBranchUpdate `protobuf:"bytes,3,opt,name=branch_update,json=branchUpdate" json:"branch_update,omitempty"`
}
func (m *UserMergeBranchResponse) Reset() { *m = UserMergeBranchResponse{} }
func (m *UserMergeBranchResponse) String() string { return proto.CompactTextString(m) }
func (*UserMergeBranchResponse) ProtoMessage() {}
func (*UserMergeBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{9} }
func (m *UserMergeBranchResponse) GetCommitId() string {
if m != nil {
return m.CommitId
}
return ""
}
func (m *UserMergeBranchResponse) GetBranchUpdate() *OperationBranchUpdate {
if m != nil {
return m.BranchUpdate
}
return nil
}
type OperationBranchUpdate struct {
// If this string is non-empty the branch has been updated.
CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
// Used for cache invalidation in GitLab
RepoCreated bool `protobuf:"varint,2,opt,name=repo_created,json=repoCreated" json:"repo_created,omitempty"`
// Used for cache invalidation in GitLab
BranchCreated bool `protobuf:"varint,3,opt,name=branch_created,json=branchCreated" json:"branch_created,omitempty"`
}
func (m *OperationBranchUpdate) Reset() { *m = OperationBranchUpdate{} }
func (m *OperationBranchUpdate) String() string { return proto.CompactTextString(m) }
func (*OperationBranchUpdate) ProtoMessage() {}
func (*OperationBranchUpdate) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{10} }
func (m *OperationBranchUpdate) GetCommitId() string {
if m != nil {
return m.CommitId
}
return ""
}
func (m *OperationBranchUpdate) GetRepoCreated() bool {
if m != nil {
return m.RepoCreated
}
return false
}
func (m *OperationBranchUpdate) GetBranchCreated() bool {
if m != nil {
return m.BranchCreated
}
return false
}
type UserFFBranchRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
User *User `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
CommitId string `protobuf:"bytes,3,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
}
func (m *UserFFBranchRequest) Reset() { *m = UserFFBranchRequest{} }
func (m *UserFFBranchRequest) String() string { return proto.CompactTextString(m) }
func (*UserFFBranchRequest) ProtoMessage() {}
func (*UserFFBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{11} }
func (m *UserFFBranchRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *UserFFBranchRequest) GetUser() *User {
if m != nil {
return m.User
}
return nil
}
func (m *UserFFBranchRequest) GetCommitId() string {
if m != nil {
return m.CommitId
}
return ""
}
func (m *UserFFBranchRequest) GetBranch() []byte {
if m != nil {
return m.Branch
}
return nil
}
type UserFFBranchResponse struct {
BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate" json:"branch_update,omitempty"`
PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError" json:"pre_receive_error,omitempty"`
}
func (m *UserFFBranchResponse) Reset() { *m = UserFFBranchResponse{} }
func (m *UserFFBranchResponse) String() string { return proto.CompactTextString(m) }
func (*UserFFBranchResponse) ProtoMessage() {}
func (*UserFFBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{12} }
func (m *UserFFBranchResponse) GetBranchUpdate() *OperationBranchUpdate {
if m != nil {
return m.BranchUpdate
}
return nil
}
func (m *UserFFBranchResponse) GetPreReceiveError() string {
if m != nil {
return m.PreReceiveError
}
return ""
}
type UserCherryPickRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
User *User `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
Commit *GitCommit `protobuf:"bytes,3,opt,name=commit" json:"commit,omitempty"`
BranchName []byte `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
StartBranchName []byte `protobuf:"bytes,6,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"`
StartRepository *Repository `protobuf:"bytes,7,opt,name=start_repository,json=startRepository" json:"start_repository,omitempty"`
}
func (m *UserCherryPickRequest) Reset() { *m = UserCherryPickRequest{} }
func (m *UserCherryPickRequest) String() string { return proto.CompactTextString(m) }
func (*UserCherryPickRequest) ProtoMessage() {}
func (*UserCherryPickRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{13} }
func (m *UserCherryPickRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *UserCherryPickRequest) GetUser() *User {
if m != nil {
return m.User
}
return nil
}
func (m *UserCherryPickRequest) GetCommit() *GitCommit {
if m != nil {
return m.Commit
}
return nil
}
func (m *UserCherryPickRequest) GetBranchName() []byte {
if m != nil {
return m.BranchName
}
return nil
}
func (m *UserCherryPickRequest) GetMessage() []byte {
if m != nil {
return m.Message
}
return nil
}
func (m *UserCherryPickRequest) GetStartBranchName() []byte {
if m != nil {
return m.StartBranchName
}
return nil
}
func (m *UserCherryPickRequest) GetStartRepository() *Repository {
if m != nil {
return m.StartRepository
}
return nil
}
type UserCherryPickResponse struct {
BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate" json:"branch_update,omitempty"`
CreateTreeError string `protobuf:"bytes,2,opt,name=create_tree_error,json=createTreeError" json:"create_tree_error,omitempty"`
CommitError string `protobuf:"bytes,3,opt,name=commit_error,json=commitError" json:"commit_error,omitempty"`
PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError" json:"pre_receive_error,omitempty"`
}
func (m *UserCherryPickResponse) Reset() { *m = UserCherryPickResponse{} }
func (m *UserCherryPickResponse) String() string { return proto.CompactTextString(m) }
func (*UserCherryPickResponse) ProtoMessage() {}
func (*UserCherryPickResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{14} }
func (m *UserCherryPickResponse) GetBranchUpdate() *OperationBranchUpdate {
if m != nil {
return m.BranchUpdate
}
return nil
}
func (m *UserCherryPickResponse) GetCreateTreeError() string {
if m != nil {
return m.CreateTreeError
}
return ""
}
func (m *UserCherryPickResponse) GetCommitError() string {
if m != nil {
return m.CommitError
}
return ""
}
func (m *UserCherryPickResponse) GetPreReceiveError() string {
if m != nil {
return m.PreReceiveError
}
return ""
}
type UserRevertRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
User *User `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
Commit *GitCommit `protobuf:"bytes,3,opt,name=commit" json:"commit,omitempty"`
BranchName []byte `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
StartBranchName []byte `protobuf:"bytes,6,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"`
StartRepository *Repository `protobuf:"bytes,7,opt,name=start_repository,json=startRepository" json:"start_repository,omitempty"`
}
func (m *UserRevertRequest) Reset() { *m = UserRevertRequest{} }
func (m *UserRevertRequest) String() string { return proto.CompactTextString(m) }
func (*UserRevertRequest) ProtoMessage() {}
func (*UserRevertRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{15} }
func (m *UserRevertRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *UserRevertRequest) GetUser() *User {
if m != nil {
return m.User
}
return nil
}
func (m *UserRevertRequest) GetCommit() *GitCommit {
if m != nil {
return m.Commit
}
return nil
}
func (m *UserRevertRequest) GetBranchName() []byte {
if m != nil {
return m.BranchName
}
return nil
}
func (m *UserRevertRequest) GetMessage() []byte {
if m != nil {
return m.Message
}
return nil
}
func (m *UserRevertRequest) GetStartBranchName() []byte {
if m != nil {
return m.StartBranchName
}
return nil
}
func (m *UserRevertRequest) GetStartRepository() *Repository {
if m != nil {
return m.StartRepository
}
return nil
}
type UserRevertResponse struct {
BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate" json:"branch_update,omitempty"`
CreateTreeError string `protobuf:"bytes,2,opt,name=create_tree_error,json=createTreeError" json:"create_tree_error,omitempty"`
CommitError string `protobuf:"bytes,3,opt,name=commit_error,json=commitError" json:"commit_error,omitempty"`
PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError" json:"pre_receive_error,omitempty"`
}
func (m *UserRevertResponse) Reset() { *m = UserRevertResponse{} }
func (m *UserRevertResponse) String() string { return proto.CompactTextString(m) }
func (*UserRevertResponse) ProtoMessage() {}
func (*UserRevertResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{16} }
func (m *UserRevertResponse) GetBranchUpdate() *OperationBranchUpdate {
if m != nil {
return m.BranchUpdate
}
return nil
}
func (m *UserRevertResponse) GetCreateTreeError() string {
if m != nil {
return m.CreateTreeError
}
return ""
}
func (m *UserRevertResponse) GetCommitError() string {
if m != nil {
return m.CommitError
}
return ""
}
func (m *UserRevertResponse) GetPreReceiveError() string {
if m != nil {
return m.PreReceiveError
}
return ""
}
type UserCommitFilesActionHeader struct {
Action UserCommitFilesActionHeader_ActionType `protobuf:"varint,1,opt,name=action,enum=gitaly.UserCommitFilesActionHeader_ActionType" json:"action,omitempty"`
FilePath []byte `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
PreviousPath []byte `protobuf:"bytes,3,opt,name=previous_path,json=previousPath,proto3" json:"previous_path,omitempty"`
Base64Content bool `protobuf:"varint,4,opt,name=base64_content,json=base64Content" json:"base64_content,omitempty"`
}
func (m *UserCommitFilesActionHeader) Reset() { *m = UserCommitFilesActionHeader{} }
func (m *UserCommitFilesActionHeader) String() string { return proto.CompactTextString(m) }
func (*UserCommitFilesActionHeader) ProtoMessage() {}
func (*UserCommitFilesActionHeader) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{17} }
func (m *UserCommitFilesActionHeader) GetAction() UserCommitFilesActionHeader_ActionType {
if m != nil {
return m.Action
}
return UserCommitFilesActionHeader_CREATE
}
func (m *UserCommitFilesActionHeader) GetFilePath() []byte {
if m != nil {
return m.FilePath
}
return nil
}
func (m *UserCommitFilesActionHeader) GetPreviousPath() []byte {
if m != nil {
return m.PreviousPath
}
return nil
}
func (m *UserCommitFilesActionHeader) GetBase64Content() bool {
if m != nil {
return m.Base64Content
}
return false
}
type UserCommitFilesAction struct {
// Types that are valid to be assigned to UserCommitFilesActionPayload:
// *UserCommitFilesAction_Header
// *UserCommitFilesAction_Content
UserCommitFilesActionPayload isUserCommitFilesAction_UserCommitFilesActionPayload `protobuf_oneof:"user_commit_files_action_payload"`
}
func (m *UserCommitFilesAction) Reset() { *m = UserCommitFilesAction{} }
func (m *UserCommitFilesAction) String() string { return proto.CompactTextString(m) }
func (*UserCommitFilesAction) ProtoMessage() {}
func (*UserCommitFilesAction) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{18} }
type isUserCommitFilesAction_UserCommitFilesActionPayload interface {
isUserCommitFilesAction_UserCommitFilesActionPayload()
}
type UserCommitFilesAction_Header struct {
Header *UserCommitFilesActionHeader `protobuf:"bytes,1,opt,name=header,oneof"`
}
type UserCommitFilesAction_Content struct {
Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"`
}
func (*UserCommitFilesAction_Header) isUserCommitFilesAction_UserCommitFilesActionPayload() {}
func (*UserCommitFilesAction_Content) isUserCommitFilesAction_UserCommitFilesActionPayload() {}
func (m *UserCommitFilesAction) GetUserCommitFilesActionPayload() isUserCommitFilesAction_UserCommitFilesActionPayload {
if m != nil {
return m.UserCommitFilesActionPayload
}
return nil
}
func (m *UserCommitFilesAction) GetHeader() *UserCommitFilesActionHeader {
if x, ok := m.GetUserCommitFilesActionPayload().(*UserCommitFilesAction_Header); ok {
return x.Header
}
return nil
}
func (m *UserCommitFilesAction) GetContent() []byte {
if x, ok := m.GetUserCommitFilesActionPayload().(*UserCommitFilesAction_Content); ok {
return x.Content
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*UserCommitFilesAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _UserCommitFilesAction_OneofMarshaler, _UserCommitFilesAction_OneofUnmarshaler, _UserCommitFilesAction_OneofSizer, []interface{}{
(*UserCommitFilesAction_Header)(nil),
(*UserCommitFilesAction_Content)(nil),
}
}
func _UserCommitFilesAction_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*UserCommitFilesAction)
// user_commit_files_action_payload
switch x := m.UserCommitFilesActionPayload.(type) {
case *UserCommitFilesAction_Header:
b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Header); err != nil {
return err
}
case *UserCommitFilesAction_Content:
b.EncodeVarint(2<<3 | proto.WireBytes)
b.EncodeRawBytes(x.Content)
case nil:
default:
return fmt.Errorf("UserCommitFilesAction.UserCommitFilesActionPayload has unexpected type %T", x)
}
return nil
}
func _UserCommitFilesAction_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*UserCommitFilesAction)
switch tag {
case 1: // user_commit_files_action_payload.header
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(UserCommitFilesActionHeader)
err := b.DecodeMessage(msg)
m.UserCommitFilesActionPayload = &UserCommitFilesAction_Header{msg}
return true, err
case 2: // user_commit_files_action_payload.content
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
x, err := b.DecodeRawBytes(true)
m.UserCommitFilesActionPayload = &UserCommitFilesAction_Content{x}
return true, err
default:
return false, nil
}
}
func _UserCommitFilesAction_OneofSizer(msg proto.Message) (n int) {
m := msg.(*UserCommitFilesAction)
// user_commit_files_action_payload
switch x := m.UserCommitFilesActionPayload.(type) {
case *UserCommitFilesAction_Header:
s := proto.Size(x.Header)
n += proto.SizeVarint(1<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *UserCommitFilesAction_Content:
n += proto.SizeVarint(2<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(len(x.Content)))
n += len(x.Content)
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
type UserCommitFilesRequestHeader struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
User *User `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
BranchName []byte `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
CommitMessage []byte `protobuf:"bytes,4,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"`
CommitAuthorName []byte `protobuf:"bytes,5,opt,name=commit_author_name,json=commitAuthorName,proto3" json:"commit_author_name,omitempty"`
CommitAuthorEmail []byte `protobuf:"bytes,6,opt,name=commit_author_email,json=commitAuthorEmail,proto3" json:"commit_author_email,omitempty"`
StartBranchName []byte `protobuf:"bytes,7,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"`
StartRepository *Repository `protobuf:"bytes,8,opt,name=start_repository,json=startRepository" json:"start_repository,omitempty"`
}
func (m *UserCommitFilesRequestHeader) Reset() { *m = UserCommitFilesRequestHeader{} }
func (m *UserCommitFilesRequestHeader) String() string { return proto.CompactTextString(m) }
func (*UserCommitFilesRequestHeader) ProtoMessage() {}
func (*UserCommitFilesRequestHeader) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{19} }
func (m *UserCommitFilesRequestHeader) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *UserCommitFilesRequestHeader) GetUser() *User {
if m != nil {
return m.User
}
return nil
}
func (m *UserCommitFilesRequestHeader) GetBranchName() []byte {
if m != nil {
return m.BranchName
}
return nil
}
func (m *UserCommitFilesRequestHeader) GetCommitMessage() []byte {
if m != nil {
return m.CommitMessage
}
return nil
}
func (m *UserCommitFilesRequestHeader) GetCommitAuthorName() []byte {
if m != nil {
return m.CommitAuthorName
}
return nil
}
func (m *UserCommitFilesRequestHeader) GetCommitAuthorEmail() []byte {
if m != nil {
return m.CommitAuthorEmail
}
return nil
}
func (m *UserCommitFilesRequestHeader) GetStartBranchName() []byte {
if m != nil {
return m.StartBranchName
}
return nil
}
func (m *UserCommitFilesRequestHeader) GetStartRepository() *Repository {
if m != nil {
return m.StartRepository
}
return nil
}
type UserCommitFilesRequest struct {
// Types that are valid to be assigned to UserCommitFilesRequestPayload:
// *UserCommitFilesRequest_Header
// *UserCommitFilesRequest_Action
UserCommitFilesRequestPayload isUserCommitFilesRequest_UserCommitFilesRequestPayload `protobuf_oneof:"user_commit_files_request_payload"`
}
func (m *UserCommitFilesRequest) Reset() { *m = UserCommitFilesRequest{} }
func (m *UserCommitFilesRequest) String() string { return proto.CompactTextString(m) }
func (*UserCommitFilesRequest) ProtoMessage() {}
func (*UserCommitFilesRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{20} }
type isUserCommitFilesRequest_UserCommitFilesRequestPayload interface {
isUserCommitFilesRequest_UserCommitFilesRequestPayload()
}
type UserCommitFilesRequest_Header struct {
Header *UserCommitFilesRequestHeader `protobuf:"bytes,1,opt,name=header,oneof"`
}
type UserCommitFilesRequest_Action struct {
Action *UserCommitFilesAction `protobuf:"bytes,2,opt,name=action,oneof"`
}
func (*UserCommitFilesRequest_Header) isUserCommitFilesRequest_UserCommitFilesRequestPayload() {}
func (*UserCommitFilesRequest_Action) isUserCommitFilesRequest_UserCommitFilesRequestPayload() {}
func (m *UserCommitFilesRequest) GetUserCommitFilesRequestPayload() isUserCommitFilesRequest_UserCommitFilesRequestPayload {
if m != nil {
return m.UserCommitFilesRequestPayload
}
return nil
}
func (m *UserCommitFilesRequest) GetHeader() *UserCommitFilesRequestHeader {
if x, ok := m.GetUserCommitFilesRequestPayload().(*UserCommitFilesRequest_Header); ok {
return x.Header
}
return nil
}
func (m *UserCommitFilesRequest) GetAction() *UserCommitFilesAction {
if x, ok := m.GetUserCommitFilesRequestPayload().(*UserCommitFilesRequest_Action); ok {
return x.Action
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*UserCommitFilesRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _UserCommitFilesRequest_OneofMarshaler, _UserCommitFilesRequest_OneofUnmarshaler, _UserCommitFilesRequest_OneofSizer, []interface{}{
(*UserCommitFilesRequest_Header)(nil),
(*UserCommitFilesRequest_Action)(nil),
}
}
func _UserCommitFilesRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*UserCommitFilesRequest)
// user_commit_files_request_payload
switch x := m.UserCommitFilesRequestPayload.(type) {
case *UserCommitFilesRequest_Header:
b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Header); err != nil {
return err
}
case *UserCommitFilesRequest_Action:
b.EncodeVarint(2<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Action); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("UserCommitFilesRequest.UserCommitFilesRequestPayload has unexpected type %T", x)
}
return nil
}
func _UserCommitFilesRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*UserCommitFilesRequest)
switch tag {
case 1: // user_commit_files_request_payload.header
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(UserCommitFilesRequestHeader)
err := b.DecodeMessage(msg)
m.UserCommitFilesRequestPayload = &UserCommitFilesRequest_Header{msg}
return true, err
case 2: // user_commit_files_request_payload.action
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(UserCommitFilesAction)
err := b.DecodeMessage(msg)
m.UserCommitFilesRequestPayload = &UserCommitFilesRequest_Action{msg}
return true, err
default:
return false, nil
}
}
func _UserCommitFilesRequest_OneofSizer(msg proto.Message) (n int) {
m := msg.(*UserCommitFilesRequest)
// user_commit_files_request_payload
switch x := m.UserCommitFilesRequestPayload.(type) {
case *UserCommitFilesRequest_Header:
s := proto.Size(x.Header)
n += proto.SizeVarint(1<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *UserCommitFilesRequest_Action:
s := proto.Size(x.Action)
n += proto.SizeVarint(2<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
type UserCommitFilesResponse struct {
BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate" json:"branch_update,omitempty"`
IndexError string `protobuf:"bytes,2,opt,name=index_error,json=indexError" json:"index_error,omitempty"`
PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError" json:"pre_receive_error,omitempty"`
}
func (m *UserCommitFilesResponse) Reset() { *m = UserCommitFilesResponse{} }
func (m *UserCommitFilesResponse) String() string { return proto.CompactTextString(m) }
func (*UserCommitFilesResponse) ProtoMessage() {}
func (*UserCommitFilesResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{21} }
func (m *UserCommitFilesResponse) GetBranchUpdate() *OperationBranchUpdate {
if m != nil {
return m.BranchUpdate
}
return nil
}
func (m *UserCommitFilesResponse) GetIndexError() string {
if m != nil {
return m.IndexError
}
return ""
}
func (m *UserCommitFilesResponse) GetPreReceiveError() string {
if m != nil {
return m.PreReceiveError
}
return ""
}
type UserRebaseRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
User *User `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
RebaseId string `protobuf:"bytes,3,opt,name=rebase_id,json=rebaseId" json:"rebase_id,omitempty"`
Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
BranchSha string `protobuf:"bytes,5,opt,name=branch_sha,json=branchSha" json:"branch_sha,omitempty"`
RemoteRepository *Repository `protobuf:"bytes,6,opt,name=remote_repository,json=remoteRepository" json:"remote_repository,omitempty"`
RemoteBranch []byte `protobuf:"bytes,7,opt,name=remote_branch,json=remoteBranch,proto3" json:"remote_branch,omitempty"`
}
func (m *UserRebaseRequest) Reset() { *m = UserRebaseRequest{} }
func (m *UserRebaseRequest) String() string { return proto.CompactTextString(m) }
func (*UserRebaseRequest) ProtoMessage() {}
func (*UserRebaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{22} }
func (m *UserRebaseRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *UserRebaseRequest) GetUser() *User {
if m != nil {
return m.User
}
return nil
}
func (m *UserRebaseRequest) GetRebaseId() string {
if m != nil {
return m.RebaseId
}
return ""
}
func (m *UserRebaseRequest) GetBranch() []byte {
if m != nil {
return m.Branch
}
return nil
}
func (m *UserRebaseRequest) GetBranchSha() string {
if m != nil {
return m.BranchSha
}
return ""
}
func (m *UserRebaseRequest) GetRemoteRepository() *Repository {
if m != nil {
return m.RemoteRepository
}
return nil
}
func (m *UserRebaseRequest) GetRemoteBranch() []byte {
if m != nil {
return m.RemoteBranch
}
return nil
}
type UserRebaseResponse struct {
RebaseSha string `protobuf:"bytes,1,opt,name=rebase_sha,json=rebaseSha" json:"rebase_sha,omitempty"`
PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError" json:"pre_receive_error,omitempty"`
GitError string `protobuf:"bytes,3,opt,name=git_error,json=gitError" json:"git_error,omitempty"`
}
func (m *UserRebaseResponse) Reset() { *m = UserRebaseResponse{} }
func (m *UserRebaseResponse) String() string { return proto.CompactTextString(m) }
func (*UserRebaseResponse) ProtoMessage() {}
func (*UserRebaseResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{23} }
func (m *UserRebaseResponse) GetRebaseSha() string {
if m != nil {
return m.RebaseSha
}
return ""
}
func (m *UserRebaseResponse) GetPreReceiveError() string {
if m != nil {
return m.PreReceiveError
}
return ""
}
func (m *UserRebaseResponse) GetGitError() string {
if m != nil {
return m.GitError
}
return ""
}
func init() {
proto.RegisterType((*UserCreateBranchRequest)(nil), "gitaly.UserCreateBranchRequest")
proto.RegisterType((*UserCreateBranchResponse)(nil), "gitaly.UserCreateBranchResponse")
proto.RegisterType((*UserDeleteBranchRequest)(nil), "gitaly.UserDeleteBranchRequest")
proto.RegisterType((*UserDeleteBranchResponse)(nil), "gitaly.UserDeleteBranchResponse")
proto.RegisterType((*UserDeleteTagRequest)(nil), "gitaly.UserDeleteTagRequest")
proto.RegisterType((*UserDeleteTagResponse)(nil), "gitaly.UserDeleteTagResponse")
proto.RegisterType((*UserCreateTagRequest)(nil), "gitaly.UserCreateTagRequest")
proto.RegisterType((*UserCreateTagResponse)(nil), "gitaly.UserCreateTagResponse")
proto.RegisterType((*UserMergeBranchRequest)(nil), "gitaly.UserMergeBranchRequest")
proto.RegisterType((*UserMergeBranchResponse)(nil), "gitaly.UserMergeBranchResponse")
proto.RegisterType((*OperationBranchUpdate)(nil), "gitaly.OperationBranchUpdate")
proto.RegisterType((*UserFFBranchRequest)(nil), "gitaly.UserFFBranchRequest")
proto.RegisterType((*UserFFBranchResponse)(nil), "gitaly.UserFFBranchResponse")
proto.RegisterType((*UserCherryPickRequest)(nil), "gitaly.UserCherryPickRequest")
proto.RegisterType((*UserCherryPickResponse)(nil), "gitaly.UserCherryPickResponse")
proto.RegisterType((*UserRevertRequest)(nil), "gitaly.UserRevertRequest")
proto.RegisterType((*UserRevertResponse)(nil), "gitaly.UserRevertResponse")
proto.RegisterType((*UserCommitFilesActionHeader)(nil), "gitaly.UserCommitFilesActionHeader")
proto.RegisterType((*UserCommitFilesAction)(nil), "gitaly.UserCommitFilesAction")
proto.RegisterType((*UserCommitFilesRequestHeader)(nil), "gitaly.UserCommitFilesRequestHeader")
proto.RegisterType((*UserCommitFilesRequest)(nil), "gitaly.UserCommitFilesRequest")
proto.RegisterType((*UserCommitFilesResponse)(nil), "gitaly.UserCommitFilesResponse")
proto.RegisterType((*UserRebaseRequest)(nil), "gitaly.UserRebaseRequest")
proto.RegisterType((*UserRebaseResponse)(nil), "gitaly.UserRebaseResponse")
proto.RegisterEnum("gitaly.UserCommitFilesActionHeader_ActionType", UserCommitFilesActionHeader_ActionType_name, UserCommitFilesActionHeader_ActionType_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 OperationService service
type OperationServiceClient interface {
UserCreateBranch(ctx context.Context, in *UserCreateBranchRequest, opts ...grpc.CallOption) (*UserCreateBranchResponse, error)
UserDeleteBranch(ctx context.Context, in *UserDeleteBranchRequest, opts ...grpc.CallOption) (*UserDeleteBranchResponse, error)
UserCreateTag(ctx context.Context, in *UserCreateTagRequest, opts ...grpc.CallOption) (*UserCreateTagResponse, error)
UserDeleteTag(ctx context.Context, in *UserDeleteTagRequest, opts ...grpc.CallOption) (*UserDeleteTagResponse, error)
UserMergeBranch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserMergeBranchClient, error)
UserFFBranch(ctx context.Context, in *UserFFBranchRequest, opts ...grpc.CallOption) (*UserFFBranchResponse, error)
UserCherryPick(ctx context.Context, in *UserCherryPickRequest, opts ...grpc.CallOption) (*UserCherryPickResponse, error)
UserRevert(ctx context.Context, in *UserRevertRequest, opts ...grpc.CallOption) (*UserRevertResponse, error)
UserCommitFiles(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserCommitFilesClient, error)
UserRebase(ctx context.Context, in *UserRebaseRequest, opts ...grpc.CallOption) (*UserRebaseResponse, error)
}
type operationServiceClient struct {
cc *grpc.ClientConn
}
func NewOperationServiceClient(cc *grpc.ClientConn) OperationServiceClient {
return &operationServiceClient{cc}
}
func (c *operationServiceClient) UserCreateBranch(ctx context.Context, in *UserCreateBranchRequest, opts ...grpc.CallOption) (*UserCreateBranchResponse, error) {
out := new(UserCreateBranchResponse)
err := grpc.Invoke(ctx, "/gitaly.OperationService/UserCreateBranch", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *operationServiceClient) UserDeleteBranch(ctx context.Context, in *UserDeleteBranchRequest, opts ...grpc.CallOption) (*UserDeleteBranchResponse, error) {
out := new(UserDeleteBranchResponse)
err := grpc.Invoke(ctx, "/gitaly.OperationService/UserDeleteBranch", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *operationServiceClient) UserCreateTag(ctx context.Context, in *UserCreateTagRequest, opts ...grpc.CallOption) (*UserCreateTagResponse, error) {
out := new(UserCreateTagResponse)
err := grpc.Invoke(ctx, "/gitaly.OperationService/UserCreateTag", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *operationServiceClient) UserDeleteTag(ctx context.Context, in *UserDeleteTagRequest, opts ...grpc.CallOption) (*UserDeleteTagResponse, error) {
out := new(UserDeleteTagResponse)
err := grpc.Invoke(ctx, "/gitaly.OperationService/UserDeleteTag", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *operationServiceClient) UserMergeBranch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserMergeBranchClient, error) {
stream, err := grpc.NewClientStream(ctx, &_OperationService_serviceDesc.Streams[0], c.cc, "/gitaly.OperationService/UserMergeBranch", opts...)
if err != nil {
return nil, err
}
x := &operationServiceUserMergeBranchClient{stream}
return x, nil
}
type OperationService_UserMergeBranchClient interface {
Send(*UserMergeBranchRequest) error
Recv() (*UserMergeBranchResponse, error)
grpc.ClientStream
}
type operationServiceUserMergeBranchClient struct {
grpc.ClientStream
}
func (x *operationServiceUserMergeBranchClient) Send(m *UserMergeBranchRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *operationServiceUserMergeBranchClient) Recv() (*UserMergeBranchResponse, error) {
m := new(UserMergeBranchResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *operationServiceClient) UserFFBranch(ctx context.Context, in *UserFFBranchRequest, opts ...grpc.CallOption) (*UserFFBranchResponse, error) {
out := new(UserFFBranchResponse)
err := grpc.Invoke(ctx, "/gitaly.OperationService/UserFFBranch", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *operationServiceClient) UserCherryPick(ctx context.Context, in *UserCherryPickRequest, opts ...grpc.CallOption) (*UserCherryPickResponse, error) {
out := new(UserCherryPickResponse)
err := grpc.Invoke(ctx, "/gitaly.OperationService/UserCherryPick", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *operationServiceClient) UserRevert(ctx context.Context, in *UserRevertRequest, opts ...grpc.CallOption) (*UserRevertResponse, error) {
out := new(UserRevertResponse)
err := grpc.Invoke(ctx, "/gitaly.OperationService/UserRevert", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *operationServiceClient) UserCommitFiles(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserCommitFilesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_OperationService_serviceDesc.Streams[1], c.cc, "/gitaly.OperationService/UserCommitFiles", opts...)
if err != nil {
return nil, err
}
x := &operationServiceUserCommitFilesClient{stream}
return x, nil
}
type OperationService_UserCommitFilesClient interface {
Send(*UserCommitFilesRequest) error
CloseAndRecv() (*UserCommitFilesResponse, error)
grpc.ClientStream
}
type operationServiceUserCommitFilesClient struct {
grpc.ClientStream
}
func (x *operationServiceUserCommitFilesClient) Send(m *UserCommitFilesRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *operationServiceUserCommitFilesClient) CloseAndRecv() (*UserCommitFilesResponse, error) {
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
m := new(UserCommitFilesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *operationServiceClient) UserRebase(ctx context.Context, in *UserRebaseRequest, opts ...grpc.CallOption) (*UserRebaseResponse, error) {
out := new(UserRebaseResponse)
err := grpc.Invoke(ctx, "/gitaly.OperationService/UserRebase", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for OperationService service
type OperationServiceServer interface {
UserCreateBranch(context.Context, *UserCreateBranchRequest) (*UserCreateBranchResponse, error)
UserDeleteBranch(context.Context, *UserDeleteBranchRequest) (*UserDeleteBranchResponse, error)
UserCreateTag(context.Context, *UserCreateTagRequest) (*UserCreateTagResponse, error)
UserDeleteTag(context.Context, *UserDeleteTagRequest) (*UserDeleteTagResponse, error)
UserMergeBranch(OperationService_UserMergeBranchServer) error
UserFFBranch(context.Context, *UserFFBranchRequest) (*UserFFBranchResponse, error)
UserCherryPick(context.Context, *UserCherryPickRequest) (*UserCherryPickResponse, error)
UserRevert(context.Context, *UserRevertRequest) (*UserRevertResponse, error)
UserCommitFiles(OperationService_UserCommitFilesServer) error
UserRebase(context.Context, *UserRebaseRequest) (*UserRebaseResponse, error)
}
func RegisterOperationServiceServer(s *grpc.Server, srv OperationServiceServer) {
s.RegisterService(&_OperationService_serviceDesc, srv)
}
func _OperationService_UserCreateBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UserCreateBranchRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OperationServiceServer).UserCreateBranch(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.OperationService/UserCreateBranch",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OperationServiceServer).UserCreateBranch(ctx, req.(*UserCreateBranchRequest))
}
return interceptor(ctx, in, info, handler)
}
func _OperationService_UserDeleteBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UserDeleteBranchRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OperationServiceServer).UserDeleteBranch(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.OperationService/UserDeleteBranch",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OperationServiceServer).UserDeleteBranch(ctx, req.(*UserDeleteBranchRequest))
}
return interceptor(ctx, in, info, handler)
}
func _OperationService_UserCreateTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UserCreateTagRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OperationServiceServer).UserCreateTag(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.OperationService/UserCreateTag",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OperationServiceServer).UserCreateTag(ctx, req.(*UserCreateTagRequest))
}
return interceptor(ctx, in, info, handler)
}
func _OperationService_UserDeleteTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UserDeleteTagRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OperationServiceServer).UserDeleteTag(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.OperationService/UserDeleteTag",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OperationServiceServer).UserDeleteTag(ctx, req.(*UserDeleteTagRequest))
}
return interceptor(ctx, in, info, handler)
}
func _OperationService_UserMergeBranch_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(OperationServiceServer).UserMergeBranch(&operationServiceUserMergeBranchServer{stream})
}
type OperationService_UserMergeBranchServer interface {
Send(*UserMergeBranchResponse) error
Recv() (*UserMergeBranchRequest, error)
grpc.ServerStream
}
type operationServiceUserMergeBranchServer struct {
grpc.ServerStream
}
func (x *operationServiceUserMergeBranchServer) Send(m *UserMergeBranchResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *operationServiceUserMergeBranchServer) Recv() (*UserMergeBranchRequest, error) {
m := new(UserMergeBranchRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func _OperationService_UserFFBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UserFFBranchRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OperationServiceServer).UserFFBranch(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.OperationService/UserFFBranch",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OperationServiceServer).UserFFBranch(ctx, req.(*UserFFBranchRequest))
}
return interceptor(ctx, in, info, handler)
}
func _OperationService_UserCherryPick_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UserCherryPickRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OperationServiceServer).UserCherryPick(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.OperationService/UserCherryPick",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OperationServiceServer).UserCherryPick(ctx, req.(*UserCherryPickRequest))
}
return interceptor(ctx, in, info, handler)
}
func _OperationService_UserRevert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UserRevertRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OperationServiceServer).UserRevert(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.OperationService/UserRevert",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OperationServiceServer).UserRevert(ctx, req.(*UserRevertRequest))
}
return interceptor(ctx, in, info, handler)
}
func _OperationService_UserCommitFiles_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(OperationServiceServer).UserCommitFiles(&operationServiceUserCommitFilesServer{stream})
}
type OperationService_UserCommitFilesServer interface {
SendAndClose(*UserCommitFilesResponse) error
Recv() (*UserCommitFilesRequest, error)
grpc.ServerStream
}
type operationServiceUserCommitFilesServer struct {
grpc.ServerStream
}
func (x *operationServiceUserCommitFilesServer) SendAndClose(m *UserCommitFilesResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *operationServiceUserCommitFilesServer) Recv() (*UserCommitFilesRequest, error) {
m := new(UserCommitFilesRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func _OperationService_UserRebase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UserRebaseRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OperationServiceServer).UserRebase(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.OperationService/UserRebase",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OperationServiceServer).UserRebase(ctx, req.(*UserRebaseRequest))
}
return interceptor(ctx, in, info, handler)
}
var _OperationService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.OperationService",
HandlerType: (*OperationServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "UserCreateBranch",
Handler: _OperationService_UserCreateBranch_Handler,
},
{
MethodName: "UserDeleteBranch",
Handler: _OperationService_UserDeleteBranch_Handler,
},
{
MethodName: "UserCreateTag",
Handler: _OperationService_UserCreateTag_Handler,
},
{
MethodName: "UserDeleteTag",
Handler: _OperationService_UserDeleteTag_Handler,
},
{
MethodName: "UserFFBranch",
Handler: _OperationService_UserFFBranch_Handler,
},
{
MethodName: "UserCherryPick",
Handler: _OperationService_UserCherryPick_Handler,
},
{
MethodName: "UserRevert",
Handler: _OperationService_UserRevert_Handler,
},
{
MethodName: "UserRebase",
Handler: _OperationService_UserRebase_Handler,
},
},
Streams: []grpc.StreamDesc{
{
StreamName: "UserMergeBranch",
Handler: _OperationService_UserMergeBranch_Handler,
ServerStreams: true,
ClientStreams: true,
},
{
StreamName: "UserCommitFiles",
Handler: _OperationService_UserCommitFiles_Handler,
ClientStreams: true,
},
},
Metadata: "operations.proto",
}
func init() { proto.RegisterFile("operations.proto", fileDescriptor7) }
var fileDescriptor7 = []byte{
// 1357 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xcd, 0x6f, 0x1b, 0x45,
0x14, 0xf7, 0xda, 0xee, 0xc6, 0x79, 0x76, 0x1c, 0x7b, 0xfa, 0x81, 0xeb, 0x36, 0x4d, 0xba, 0xa5,
0x50, 0x2a, 0x64, 0xa1, 0x80, 0xe0, 0x54, 0x50, 0x3e, 0x1c, 0xd2, 0x42, 0xda, 0xb0, 0x4d, 0x0a,
0xb7, 0xd5, 0xc4, 0x1e, 0xec, 0x15, 0xb6, 0x77, 0x99, 0x9d, 0x44, 0x35, 0x42, 0x88, 0x0b, 0x70,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 +41,36 @@ func (x FindLocalBranchesRequest_SortBy) String() string {
return proto.EnumName(FindLocalBranchesRequest_SortBy_name, int32(x))
}
func (FindLocalBranchesRequest_SortBy) EnumDescriptor() ([]byte, []int) {
return fileDescriptor5, []int{8, 0}
return fileDescriptor8, []int{8, 0}
}
type CreateBranchResponse_Status int32
const (
CreateBranchResponse_OK CreateBranchResponse_Status = 0
CreateBranchResponse_ERR_EXISTS CreateBranchResponse_Status = 1
CreateBranchResponse_ERR_INVALID CreateBranchResponse_Status = 2
CreateBranchResponse_ERR_INVALID_START_POINT CreateBranchResponse_Status = 3
)
var CreateBranchResponse_Status_name = map[int32]string{
0: "OK",
1: "ERR_EXISTS",
2: "ERR_INVALID",
3: "ERR_INVALID_START_POINT",
}
var CreateBranchResponse_Status_value = map[string]int32{
"OK": 0,
"ERR_EXISTS": 1,
"ERR_INVALID": 2,
"ERR_INVALID_START_POINT": 3,
}
func (x CreateBranchResponse_Status) String() string {
return proto.EnumName(CreateBranchResponse_Status_name, int32(x))
}
func (CreateBranchResponse_Status) EnumDescriptor() ([]byte, []int) {
return fileDescriptor8, []int{19, 0}
}
type FindDefaultBranchNameRequest struct {
......@@ -51,7 +80,7 @@ type FindDefaultBranchNameRequest struct {
func (m *FindDefaultBranchNameRequest) Reset() { *m = FindDefaultBranchNameRequest{} }
func (m *FindDefaultBranchNameRequest) String() string { return proto.CompactTextString(m) }
func (*FindDefaultBranchNameRequest) ProtoMessage() {}
func (*FindDefaultBranchNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
func (*FindDefaultBranchNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0} }
func (m *FindDefaultBranchNameRequest) GetRepository() *Repository {
if m != nil {
......@@ -67,7 +96,7 @@ type FindDefaultBranchNameResponse struct {
func (m *FindDefaultBranchNameResponse) Reset() { *m = FindDefaultBranchNameResponse{} }
func (m *FindDefaultBranchNameResponse) String() string { return proto.CompactTextString(m) }
func (*FindDefaultBranchNameResponse) ProtoMessage() {}
func (*FindDefaultBranchNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{1} }
func (*FindDefaultBranchNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{1} }
func (m *FindDefaultBranchNameResponse) GetName() []byte {
if m != nil {
......@@ -83,7 +112,7 @@ type FindAllBranchNamesRequest struct {
func (m *FindAllBranchNamesRequest) Reset() { *m = FindAllBranchNamesRequest{} }
func (m *FindAllBranchNamesRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchNamesRequest) ProtoMessage() {}
func (*FindAllBranchNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{2} }
func (*FindAllBranchNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{2} }
func (m *FindAllBranchNamesRequest) GetRepository() *Repository {
if m != nil {
......@@ -99,7 +128,7 @@ type FindAllBranchNamesResponse struct {
func (m *FindAllBranchNamesResponse) Reset() { *m = FindAllBranchNamesResponse{} }
func (m *FindAllBranchNamesResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchNamesResponse) ProtoMessage() {}
func (*FindAllBranchNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{3} }
func (*FindAllBranchNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{3} }
func (m *FindAllBranchNamesResponse) GetNames() [][]byte {
if m != nil {
......@@ -115,7 +144,7 @@ type FindAllTagNamesRequest struct {
func (m *FindAllTagNamesRequest) Reset() { *m = FindAllTagNamesRequest{} }
func (m *FindAllTagNamesRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllTagNamesRequest) ProtoMessage() {}
func (*FindAllTagNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{4} }
func (*FindAllTagNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{4} }
func (m *FindAllTagNamesRequest) GetRepository() *Repository {
if m != nil {
......@@ -131,7 +160,7 @@ type FindAllTagNamesResponse struct {
func (m *FindAllTagNamesResponse) Reset() { *m = FindAllTagNamesResponse{} }
func (m *FindAllTagNamesResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllTagNamesResponse) ProtoMessage() {}
func (*FindAllTagNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{5} }
func (*FindAllTagNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{5} }
func (m *FindAllTagNamesResponse) GetNames() [][]byte {
if m != nil {
......@@ -151,7 +180,7 @@ type FindRefNameRequest struct {
func (m *FindRefNameRequest) Reset() { *m = FindRefNameRequest{} }
func (m *FindRefNameRequest) String() string { return proto.CompactTextString(m) }
func (*FindRefNameRequest) ProtoMessage() {}
func (*FindRefNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{6} }
func (*FindRefNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{6} }
func (m *FindRefNameRequest) GetRepository() *Repository {
if m != nil {
......@@ -182,7 +211,7 @@ type FindRefNameResponse struct {
func (m *FindRefNameResponse) Reset() { *m = FindRefNameResponse{} }
func (m *FindRefNameResponse) String() string { return proto.CompactTextString(m) }
func (*FindRefNameResponse) ProtoMessage() {}
func (*FindRefNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{7} }
func (*FindRefNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{7} }
func (m *FindRefNameResponse) GetName() []byte {
if m != nil {
......@@ -199,7 +228,7 @@ type FindLocalBranchesRequest struct {
func (m *FindLocalBranchesRequest) Reset() { *m = FindLocalBranchesRequest{} }
func (m *FindLocalBranchesRequest) String() string { return proto.CompactTextString(m) }
func (*FindLocalBranchesRequest) ProtoMessage() {}
func (*FindLocalBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{8} }
func (*FindLocalBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{8} }
func (m *FindLocalBranchesRequest) GetRepository() *Repository {
if m != nil {
......@@ -222,7 +251,7 @@ type FindLocalBranchesResponse struct {
func (m *FindLocalBranchesResponse) Reset() { *m = FindLocalBranchesResponse{} }
func (m *FindLocalBranchesResponse) String() string { return proto.CompactTextString(m) }
func (*FindLocalBranchesResponse) ProtoMessage() {}
func (*FindLocalBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{9} }
func (*FindLocalBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{9} }
func (m *FindLocalBranchesResponse) GetBranches() []*FindLocalBranchResponse {
if m != nil {
......@@ -242,7 +271,7 @@ type FindLocalBranchResponse struct {
func (m *FindLocalBranchResponse) Reset() { *m = FindLocalBranchResponse{} }
func (m *FindLocalBranchResponse) String() string { return proto.CompactTextString(m) }
func (*FindLocalBranchResponse) ProtoMessage() {}
func (*FindLocalBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{10} }
func (*FindLocalBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{10} }
func (m *FindLocalBranchResponse) GetName() []byte {
if m != nil {
......@@ -288,7 +317,7 @@ type FindLocalBranchCommitAuthor struct {
func (m *FindLocalBranchCommitAuthor) Reset() { *m = FindLocalBranchCommitAuthor{} }
func (m *FindLocalBranchCommitAuthor) String() string { return proto.CompactTextString(m) }
func (*FindLocalBranchCommitAuthor) ProtoMessage() {}
func (*FindLocalBranchCommitAuthor) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{11} }
func (*FindLocalBranchCommitAuthor) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{11} }
func (m *FindLocalBranchCommitAuthor) GetName() []byte {
if m != nil {
......@@ -313,12 +342,17 @@ func (m *FindLocalBranchCommitAuthor) GetDate() *google_protobuf.Timestamp {
type FindAllBranchesRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// Only return branches that are merged into root ref
MergedOnly bool `protobuf:"varint,2,opt,name=merged_only,json=mergedOnly" json:"merged_only,omitempty"`
// If merged_only is true, this is a list of branches from which we
// return those merged into the root ref
MergedBranches [][]byte `protobuf:"bytes,3,rep,name=merged_branches,json=mergedBranches,proto3" json:"merged_branches,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 (*FindAllBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{12} }
func (m *FindAllBranchesRequest) GetRepository() *Repository {
if m != nil {
......@@ -327,6 +361,20 @@ func (m *FindAllBranchesRequest) GetRepository() *Repository {
return nil
}
func (m *FindAllBranchesRequest) GetMergedOnly() bool {
if m != nil {
return m.MergedOnly
}
return false
}
func (m *FindAllBranchesRequest) GetMergedBranches() [][]byte {
if m != nil {
return m.MergedBranches
}
return nil
}
type FindAllBranchesResponse struct {
Branches []*FindAllBranchesResponse_Branch `protobuf:"bytes,1,rep,name=branches" json:"branches,omitempty"`
}
......@@ -334,7 +382,7 @@ type FindAllBranchesResponse struct {
func (m *FindAllBranchesResponse) Reset() { *m = FindAllBranchesResponse{} }
func (m *FindAllBranchesResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchesResponse) ProtoMessage() {}
func (*FindAllBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{13} }
func (*FindAllBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{13} }
func (m *FindAllBranchesResponse) GetBranches() []*FindAllBranchesResponse_Branch {
if m != nil {
......@@ -352,7 +400,7 @@ func (m *FindAllBranchesResponse_Branch) Reset() { *m = FindAllBranchesR
func (m *FindAllBranchesResponse_Branch) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchesResponse_Branch) ProtoMessage() {}
func (*FindAllBranchesResponse_Branch) Descriptor() ([]byte, []int) {
return fileDescriptor5, []int{13, 0}
return fileDescriptor8, []int{13, 0}
}
func (m *FindAllBranchesResponse_Branch) GetName() []byte {
......@@ -376,7 +424,7 @@ type FindAllTagsRequest struct {
func (m *FindAllTagsRequest) Reset() { *m = FindAllTagsRequest{} }
func (m *FindAllTagsRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllTagsRequest) ProtoMessage() {}
func (*FindAllTagsRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{14} }
func (*FindAllTagsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{14} }
func (m *FindAllTagsRequest) GetRepository() *Repository {
if m != nil {
......@@ -386,57 +434,312 @@ func (m *FindAllTagsRequest) GetRepository() *Repository {
}
type FindAllTagsResponse struct {
Tags []*FindAllTagsResponse_Tag `protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty"`
Tags []*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 (*FindAllTagsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{15} }
func (m *FindAllTagsResponse) GetTags() []*FindAllTagsResponse_Tag {
func (m *FindAllTagsResponse) GetTags() []*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"`
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 fileDescriptor8, []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 fileDescriptor8, []int{17} }
func (m *RefExistsResponse) GetValue() bool {
if m != nil {
return m.Value
}
return false
}
type CreateBranchRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
StartPoint []byte `protobuf:"bytes,3,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"`
}
func (m *CreateBranchRequest) Reset() { *m = CreateBranchRequest{} }
func (m *CreateBranchRequest) String() string { return proto.CompactTextString(m) }
func (*CreateBranchRequest) ProtoMessage() {}
func (*CreateBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{18} }
func (m *CreateBranchRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *CreateBranchRequest) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *CreateBranchRequest) GetStartPoint() []byte {
if m != nil {
return m.StartPoint
}
return nil
}
type CreateBranchResponse struct {
Status CreateBranchResponse_Status `protobuf:"varint,1,opt,name=status,enum=gitaly.CreateBranchResponse_Status" json:"status,omitempty"`
Branch *Branch `protobuf:"bytes,2,opt,name=branch" json:"branch,omitempty"`
}
func (m *CreateBranchResponse) Reset() { *m = CreateBranchResponse{} }
func (m *CreateBranchResponse) String() string { return proto.CompactTextString(m) }
func (*CreateBranchResponse) ProtoMessage() {}
func (*CreateBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{19} }
func (m *CreateBranchResponse) GetStatus() CreateBranchResponse_Status {
if m != nil {
return m.Status
}
return CreateBranchResponse_OK
}
func (m *CreateBranchResponse) GetBranch() *Branch {
if m != nil {
return m.Branch
}
return nil
}
type DeleteBranchRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}
func (m *DeleteBranchRequest) Reset() { *m = DeleteBranchRequest{} }
func (m *DeleteBranchRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteBranchRequest) ProtoMessage() {}
func (*DeleteBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{20} }
func (m *DeleteBranchRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *DeleteBranchRequest) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
// Not clear if we need to do status signaling; we can add fields later.
type DeleteBranchResponse struct {
}
func (m *DeleteBranchResponse) Reset() { *m = DeleteBranchResponse{} }
func (m *DeleteBranchResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteBranchResponse) ProtoMessage() {}
func (*DeleteBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{21} }
type FindBranchRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// Name can be 'master' but also 'refs/heads/master'
Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,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 *FindBranchRequest) Reset() { *m = FindBranchRequest{} }
func (m *FindBranchRequest) String() string { return proto.CompactTextString(m) }
func (*FindBranchRequest) ProtoMessage() {}
func (*FindBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{22} }
func (m *FindAllTagsResponse_Tag) GetName() []byte {
func (m *FindBranchRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *FindBranchRequest) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *FindAllTagsResponse_Tag) GetId() string {
type FindBranchResponse struct {
Branch *Branch `protobuf:"bytes,1,opt,name=branch" json:"branch,omitempty"`
}
func (m *FindBranchResponse) Reset() { *m = FindBranchResponse{} }
func (m *FindBranchResponse) String() string { return proto.CompactTextString(m) }
func (*FindBranchResponse) ProtoMessage() {}
func (*FindBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{23} }
func (m *FindBranchResponse) GetBranch() *Branch {
if m != nil {
return m.Branch
}
return nil
}
type DeleteRefsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
ExceptWithPrefix [][]byte `protobuf:"bytes,2,rep,name=except_with_prefix,json=exceptWithPrefix,proto3" json:"except_with_prefix,omitempty"`
}
func (m *DeleteRefsRequest) Reset() { *m = DeleteRefsRequest{} }
func (m *DeleteRefsRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteRefsRequest) ProtoMessage() {}
func (*DeleteRefsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{24} }
func (m *DeleteRefsRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *DeleteRefsRequest) GetExceptWithPrefix() [][]byte {
if m != nil {
return m.Id
return m.ExceptWithPrefix
}
return nil
}
type DeleteRefsResponse struct {
}
func (m *DeleteRefsResponse) Reset() { *m = DeleteRefsResponse{} }
func (m *DeleteRefsResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteRefsResponse) ProtoMessage() {}
func (*DeleteRefsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{25} }
type ListBranchNamesContainingCommitRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
}
func (m *ListBranchNamesContainingCommitRequest) Reset() {
*m = ListBranchNamesContainingCommitRequest{}
}
func (m *ListBranchNamesContainingCommitRequest) String() string { return proto.CompactTextString(m) }
func (*ListBranchNamesContainingCommitRequest) ProtoMessage() {}
func (*ListBranchNamesContainingCommitRequest) Descriptor() ([]byte, []int) {
return fileDescriptor8, []int{26}
}
func (m *ListBranchNamesContainingCommitRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *ListBranchNamesContainingCommitRequest) GetCommitId() string {
if m != nil {
return m.CommitId
}
return ""
}
func (m *FindAllTagsResponse_Tag) GetTargetCommit() *GitCommit {
type ListBranchNamesContainingCommitResponse struct {
BranchNames [][]byte `protobuf:"bytes,2,rep,name=branch_names,json=branchNames,proto3" json:"branch_names,omitempty"`
}
func (m *ListBranchNamesContainingCommitResponse) Reset() {
*m = ListBranchNamesContainingCommitResponse{}
}
func (m *ListBranchNamesContainingCommitResponse) String() string { return proto.CompactTextString(m) }
func (*ListBranchNamesContainingCommitResponse) ProtoMessage() {}
func (*ListBranchNamesContainingCommitResponse) Descriptor() ([]byte, []int) {
return fileDescriptor8, []int{27}
}
func (m *ListBranchNamesContainingCommitResponse) GetBranchNames() [][]byte {
if m != nil {
return m.TargetCommit
return m.BranchNames
}
return nil
}
func (m *FindAllTagsResponse_Tag) GetMessage() []byte {
type ListTagNamesContainingCommitRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
}
func (m *ListTagNamesContainingCommitRequest) Reset() { *m = ListTagNamesContainingCommitRequest{} }
func (m *ListTagNamesContainingCommitRequest) String() string { return proto.CompactTextString(m) }
func (*ListTagNamesContainingCommitRequest) ProtoMessage() {}
func (*ListTagNamesContainingCommitRequest) Descriptor() ([]byte, []int) {
return fileDescriptor8, []int{28}
}
func (m *ListTagNamesContainingCommitRequest) GetRepository() *Repository {
if m != nil {
return m.Message
return m.Repository
}
return nil
}
func (m *ListTagNamesContainingCommitRequest) GetCommitId() string {
if m != nil {
return m.CommitId
}
return ""
}
type ListTagNamesContainingCommitResponse struct {
TagNames [][]byte `protobuf:"bytes,2,rep,name=tag_names,json=tagNames,proto3" json:"tag_names,omitempty"`
}
func (m *ListTagNamesContainingCommitResponse) Reset() { *m = ListTagNamesContainingCommitResponse{} }
func (m *ListTagNamesContainingCommitResponse) String() string { return proto.CompactTextString(m) }
func (*ListTagNamesContainingCommitResponse) ProtoMessage() {}
func (*ListTagNamesContainingCommitResponse) Descriptor() ([]byte, []int) {
return fileDescriptor8, []int{29}
}
func (m *ListTagNamesContainingCommitResponse) GetTagNames() [][]byte {
if m != nil {
return m.TagNames
}
return nil
}
......@@ -459,8 +762,22 @@ func init() {
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.RegisterType((*CreateBranchRequest)(nil), "gitaly.CreateBranchRequest")
proto.RegisterType((*CreateBranchResponse)(nil), "gitaly.CreateBranchResponse")
proto.RegisterType((*DeleteBranchRequest)(nil), "gitaly.DeleteBranchRequest")
proto.RegisterType((*DeleteBranchResponse)(nil), "gitaly.DeleteBranchResponse")
proto.RegisterType((*FindBranchRequest)(nil), "gitaly.FindBranchRequest")
proto.RegisterType((*FindBranchResponse)(nil), "gitaly.FindBranchResponse")
proto.RegisterType((*DeleteRefsRequest)(nil), "gitaly.DeleteRefsRequest")
proto.RegisterType((*DeleteRefsResponse)(nil), "gitaly.DeleteRefsResponse")
proto.RegisterType((*ListBranchNamesContainingCommitRequest)(nil), "gitaly.ListBranchNamesContainingCommitRequest")
proto.RegisterType((*ListBranchNamesContainingCommitResponse)(nil), "gitaly.ListBranchNamesContainingCommitResponse")
proto.RegisterType((*ListTagNamesContainingCommitRequest)(nil), "gitaly.ListTagNamesContainingCommitRequest")
proto.RegisterType((*ListTagNamesContainingCommitResponse)(nil), "gitaly.ListTagNamesContainingCommitResponse")
proto.RegisterEnum("gitaly.FindLocalBranchesRequest_SortBy", FindLocalBranchesRequest_SortBy_name, FindLocalBranchesRequest_SortBy_value)
proto.RegisterEnum("gitaly.CreateBranchResponse_Status", CreateBranchResponse_Status_name, CreateBranchResponse_Status_value)
}
// Reference imports to suppress errors if they are not otherwise used.
......@@ -483,6 +800,13 @@ type RefServiceClient interface {
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)
CreateBranch(ctx context.Context, in *CreateBranchRequest, opts ...grpc.CallOption) (*CreateBranchResponse, error)
DeleteBranch(ctx context.Context, in *DeleteBranchRequest, opts ...grpc.CallOption) (*DeleteBranchResponse, error)
FindBranch(ctx context.Context, in *FindBranchRequest, opts ...grpc.CallOption) (*FindBranchResponse, error)
DeleteRefs(ctx context.Context, in *DeleteRefsRequest, opts ...grpc.CallOption) (*DeleteRefsResponse, error)
ListBranchNamesContainingCommit(ctx context.Context, in *ListBranchNamesContainingCommitRequest, opts ...grpc.CallOption) (*ListBranchNamesContainingCommitResponse, error)
ListTagNamesContainingCommit(ctx context.Context, in *ListTagNamesContainingCommitRequest, opts ...grpc.CallOption) (*ListTagNamesContainingCommitResponse, error)
}
type refServiceClient struct {
......@@ -671,6 +995,69 @@ func (x *refServiceFindAllTagsClient) Recv() (*FindAllTagsResponse, error) {
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
}
func (c *refServiceClient) CreateBranch(ctx context.Context, in *CreateBranchRequest, opts ...grpc.CallOption) (*CreateBranchResponse, error) {
out := new(CreateBranchResponse)
err := grpc.Invoke(ctx, "/gitaly.RefService/CreateBranch", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *refServiceClient) DeleteBranch(ctx context.Context, in *DeleteBranchRequest, opts ...grpc.CallOption) (*DeleteBranchResponse, error) {
out := new(DeleteBranchResponse)
err := grpc.Invoke(ctx, "/gitaly.RefService/DeleteBranch", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *refServiceClient) FindBranch(ctx context.Context, in *FindBranchRequest, opts ...grpc.CallOption) (*FindBranchResponse, error) {
out := new(FindBranchResponse)
err := grpc.Invoke(ctx, "/gitaly.RefService/FindBranch", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *refServiceClient) DeleteRefs(ctx context.Context, in *DeleteRefsRequest, opts ...grpc.CallOption) (*DeleteRefsResponse, error) {
out := new(DeleteRefsResponse)
err := grpc.Invoke(ctx, "/gitaly.RefService/DeleteRefs", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *refServiceClient) ListBranchNamesContainingCommit(ctx context.Context, in *ListBranchNamesContainingCommitRequest, opts ...grpc.CallOption) (*ListBranchNamesContainingCommitResponse, error) {
out := new(ListBranchNamesContainingCommitResponse)
err := grpc.Invoke(ctx, "/gitaly.RefService/ListBranchNamesContainingCommit", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *refServiceClient) ListTagNamesContainingCommit(ctx context.Context, in *ListTagNamesContainingCommitRequest, opts ...grpc.CallOption) (*ListTagNamesContainingCommitResponse, error) {
out := new(ListTagNamesContainingCommitResponse)
err := grpc.Invoke(ctx, "/gitaly.RefService/ListTagNamesContainingCommit", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for RefService service
type RefServiceServer interface {
......@@ -683,6 +1070,13 @@ type RefServiceServer interface {
FindLocalBranches(*FindLocalBranchesRequest, RefService_FindLocalBranchesServer) error
FindAllBranches(*FindAllBranchesRequest, RefService_FindAllBranchesServer) error
FindAllTags(*FindAllTagsRequest, RefService_FindAllTagsServer) error
RefExists(context.Context, *RefExistsRequest) (*RefExistsResponse, error)
CreateBranch(context.Context, *CreateBranchRequest) (*CreateBranchResponse, error)
DeleteBranch(context.Context, *DeleteBranchRequest) (*DeleteBranchResponse, error)
FindBranch(context.Context, *FindBranchRequest) (*FindBranchResponse, error)
DeleteRefs(context.Context, *DeleteRefsRequest) (*DeleteRefsResponse, error)
ListBranchNamesContainingCommit(context.Context, *ListBranchNamesContainingCommitRequest) (*ListBranchNamesContainingCommitResponse, error)
ListTagNamesContainingCommit(context.Context, *ListTagNamesContainingCommitRequest) (*ListTagNamesContainingCommitResponse, error)
}
func RegisterRefServiceServer(s *grpc.Server, srv RefServiceServer) {
......@@ -830,6 +1224,132 @@ 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)
}
func _RefService_CreateBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateBranchRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RefServiceServer).CreateBranch(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RefService/CreateBranch",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RefServiceServer).CreateBranch(ctx, req.(*CreateBranchRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RefService_DeleteBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteBranchRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RefServiceServer).DeleteBranch(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RefService/DeleteBranch",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RefServiceServer).DeleteBranch(ctx, req.(*DeleteBranchRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RefService_FindBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindBranchRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RefServiceServer).FindBranch(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RefService/FindBranch",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RefServiceServer).FindBranch(ctx, req.(*FindBranchRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RefService_DeleteRefs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteRefsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RefServiceServer).DeleteRefs(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RefService/DeleteRefs",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RefServiceServer).DeleteRefs(ctx, req.(*DeleteRefsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RefService_ListBranchNamesContainingCommit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListBranchNamesContainingCommitRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RefServiceServer).ListBranchNamesContainingCommit(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RefService/ListBranchNamesContainingCommit",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RefServiceServer).ListBranchNamesContainingCommit(ctx, req.(*ListBranchNamesContainingCommitRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RefService_ListTagNamesContainingCommit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListTagNamesContainingCommitRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RefServiceServer).ListTagNamesContainingCommit(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RefService/ListTagNamesContainingCommit",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RefServiceServer).ListTagNamesContainingCommit(ctx, req.(*ListTagNamesContainingCommitRequest))
}
return interceptor(ctx, in, info, handler)
}
var _RefService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.RefService",
HandlerType: (*RefServiceServer)(nil),
......@@ -842,6 +1362,34 @@ var _RefService_serviceDesc = grpc.ServiceDesc{
MethodName: "FindRefName",
Handler: _RefService_FindRefName_Handler,
},
{
MethodName: "RefExists",
Handler: _RefService_RefExists_Handler,
},
{
MethodName: "CreateBranch",
Handler: _RefService_CreateBranch_Handler,
},
{
MethodName: "DeleteBranch",
Handler: _RefService_DeleteBranch_Handler,
},
{
MethodName: "FindBranch",
Handler: _RefService_FindBranch_Handler,
},
{
MethodName: "DeleteRefs",
Handler: _RefService_DeleteRefs_Handler,
},
{
MethodName: "ListBranchNamesContainingCommit",
Handler: _RefService_ListBranchNamesContainingCommit_Handler,
},
{
MethodName: "ListTagNamesContainingCommit",
Handler: _RefService_ListTagNamesContainingCommit_Handler,
},
},
Streams: []grpc.StreamDesc{
{
......@@ -873,57 +1421,85 @@ var _RefService_serviceDesc = grpc.ServiceDesc{
Metadata: "ref.proto",
}
func init() { proto.RegisterFile("ref.proto", fileDescriptor5) }
var fileDescriptor5 = []byte{
// 782 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x51, 0x53, 0xd3, 0x4a,
0x14, 0x26, 0xa5, 0x14, 0x38, 0x0d, 0x50, 0xf6, 0x72, 0xb9, 0xb9, 0xe1, 0x5e, 0x28, 0x51, 0x14,
0x5e, 0x82, 0x13, 0x46, 0x5f, 0x7c, 0xb1, 0xb4, 0x08, 0x3a, 0x88, 0xce, 0xb6, 0x3a, 0x3e, 0x38,
0xd3, 0xd9, 0xb6, 0xdb, 0x10, 0xa7, 0x69, 0x6a, 0xb2, 0x55, 0x3b, 0x8e, 0xbf, 0xc0, 0xff, 0xe1,
0x5f, 0xe1, 0x37, 0xf9, 0xe6, 0x74, 0x77, 0x13, 0xd3, 0x76, 0x5b, 0x9c, 0xa9,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0xf2, 0xee, 0xd7, 0x71, 0x6c, 0x3a, 0x3f, 0xb2,
0x00, 0x98, 0xb6, 0xab, 0x34, 0xfc, 0xe8, 0x35, 0x29, 0x6a, 0xc3, 0xdf, 0xca, 0x3d, 0x85, 0xee,
0xa6, 0xb5, 0x4c, 0x5b, 0x8d, 0xe6, 0xc1, 0x2d, 0x28, 0xa1, 0xdd, 0x5a, 0x40, 0xf5, 0xa4, 0x14,
0xa9, 0x4d, 0x84, 0xf6, 0x95, 0xbd, 0x91, 0x5e, 0x3a, 0xa6, 0x35, 0x0b, 0x12, 0xd3, 0x3f, 0xd0,
0xd0, 0x1b, 0xd8, 0x18, 0x5b, 0x34, 0x68, 0x77, 0xb2, 0x1c, 0x23, 0xd4, 0x7b, 0x53, 0xbf, 0xa7,
0x78, 0x2f, 0x20, 0x9f, 0x5a, 0x08, 0xc8, 0x4c, 0xc7, 0x8c, 0x2e, 0x29, 0x73, 0x47, 0xf9, 0x2d,
0x49, 0xc1, 0x3b, 0xd8, 0x9c, 0x98, 0xb2, 0xa8, 0x78, 0xdb, 0x88, 0x37, 0xf7, 0x67, 0x20, 0x94,
0xfa, 0x13, 0xee, 0xdd, 0xa9, 0x2f, 0x4f, 0xad, 0x5f, 0xc9, 0xfb, 0x5c, 0xe8, 0x97, 0xdd, 0x3c,
0xaa, 0x7f, 0xf4, 0x61, 0x8d, 0xea, 0x1f, 0x6b, 0xff, 0x21, 0x57, 0x23, 0xc7, 0x07, 0xd4, 0xc9,
0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc7, 0xea, 0x03, 0xcf, 0xb3, 0x09, 0x00, 0x00,
func init() { proto.RegisterFile("ref.proto", fileDescriptor8) }
var fileDescriptor8 = []byte{
// 1218 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0xdd, 0x72, 0x22, 0x45,
0x14, 0xce, 0x10, 0x16, 0xe1, 0x80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61, 0x05, 0x55,
0x00, 0x7c, 0xda, 0x46, 0xdb, 0xc1, 0x64, 0x4c, 0x03, 0x69, 0x61, 0x47, 0x41, 0x18, 0x9f, 0x48,
0x7d, 0x98, 0x5b, 0x9c, 0xee, 0xc3, 0x84, 0xf0, 0xee, 0x0a, 0xfa, 0x55, 0x81, 0xdc, 0x1d, 0xfc,
0x87, 0xf2, 0x2e, 0xc2, 0xfd, 0x38, 0x5a, 0x3b, 0xbe, 0xb7, 0xbe, 0x77, 0x8d, 0x9f, 0x60, 0x67,
0x11, 0x73, 0xa1, 0x8f, 0x82, 0x90, 0x77, 0xf0, 0xaa, 0xf6, 0xe2, 0x7e, 0xca, 0xae, 0xf3, 0x66,
0x8c, 0x6f, 0xf3, 0x2f, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x58, 0x18, 0xe8, 0x58, 0xe0, 0x10,
0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: remote.proto
package gitaly
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type AddRemoteRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
Url string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
// If any, the remote is configured as a mirror with those mappings
MirrorRefmaps []string `protobuf:"bytes,5,rep,name=mirror_refmaps,json=mirrorRefmaps" json:"mirror_refmaps,omitempty"`
}
func (m *AddRemoteRequest) Reset() { *m = AddRemoteRequest{} }
func (m *AddRemoteRequest) String() string { return proto.CompactTextString(m) }
func (*AddRemoteRequest) ProtoMessage() {}
func (*AddRemoteRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{0} }
func (m *AddRemoteRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *AddRemoteRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *AddRemoteRequest) GetUrl() string {
if m != nil {
return m.Url
}
return ""
}
func (m *AddRemoteRequest) GetMirrorRefmaps() []string {
if m != nil {
return m.MirrorRefmaps
}
return nil
}
type AddRemoteResponse struct {
}
func (m *AddRemoteResponse) Reset() { *m = AddRemoteResponse{} }
func (m *AddRemoteResponse) String() string { return proto.CompactTextString(m) }
func (*AddRemoteResponse) ProtoMessage() {}
func (*AddRemoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{1} }
type RemoveRemoteRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}
func (m *RemoveRemoteRequest) Reset() { *m = RemoveRemoteRequest{} }
func (m *RemoveRemoteRequest) String() string { return proto.CompactTextString(m) }
func (*RemoveRemoteRequest) ProtoMessage() {}
func (*RemoveRemoteRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{2} }
func (m *RemoveRemoteRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *RemoveRemoteRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type RemoveRemoteResponse struct {
Result bool `protobuf:"varint,1,opt,name=result" json:"result,omitempty"`
}
func (m *RemoveRemoteResponse) Reset() { *m = RemoveRemoteResponse{} }
func (m *RemoveRemoteResponse) String() string { return proto.CompactTextString(m) }
func (*RemoveRemoteResponse) ProtoMessage() {}
func (*RemoveRemoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{3} }
func (m *RemoveRemoteResponse) GetResult() bool {
if m != nil {
return m.Result
}
return false
}
type FetchInternalRemoteRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
RemoteRepository *Repository `protobuf:"bytes,2,opt,name=remote_repository,json=remoteRepository" json:"remote_repository,omitempty"`
}
func (m *FetchInternalRemoteRequest) Reset() { *m = FetchInternalRemoteRequest{} }
func (m *FetchInternalRemoteRequest) String() string { return proto.CompactTextString(m) }
func (*FetchInternalRemoteRequest) ProtoMessage() {}
func (*FetchInternalRemoteRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{4} }
func (m *FetchInternalRemoteRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *FetchInternalRemoteRequest) GetRemoteRepository() *Repository {
if m != nil {
return m.RemoteRepository
}
return nil
}
type FetchInternalRemoteResponse struct {
Result bool `protobuf:"varint,1,opt,name=result" json:"result,omitempty"`
}
func (m *FetchInternalRemoteResponse) Reset() { *m = FetchInternalRemoteResponse{} }
func (m *FetchInternalRemoteResponse) String() string { return proto.CompactTextString(m) }
func (*FetchInternalRemoteResponse) ProtoMessage() {}
func (*FetchInternalRemoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{5} }
func (m *FetchInternalRemoteResponse) GetResult() bool {
if m != nil {
return m.Result
}
return false
}
type UpdateRemoteMirrorRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
RefName string `protobuf:"bytes,2,opt,name=ref_name,json=refName" json:"ref_name,omitempty"`
OnlyBranchesMatching [][]byte `protobuf:"bytes,3,rep,name=only_branches_matching,json=onlyBranchesMatching,proto3" json:"only_branches_matching,omitempty"`
}
func (m *UpdateRemoteMirrorRequest) Reset() { *m = UpdateRemoteMirrorRequest{} }
func (m *UpdateRemoteMirrorRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateRemoteMirrorRequest) ProtoMessage() {}
func (*UpdateRemoteMirrorRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{6} }
func (m *UpdateRemoteMirrorRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *UpdateRemoteMirrorRequest) GetRefName() string {
if m != nil {
return m.RefName
}
return ""
}
func (m *UpdateRemoteMirrorRequest) GetOnlyBranchesMatching() [][]byte {
if m != nil {
return m.OnlyBranchesMatching
}
return nil
}
type UpdateRemoteMirrorResponse struct {
}
func (m *UpdateRemoteMirrorResponse) Reset() { *m = UpdateRemoteMirrorResponse{} }
func (m *UpdateRemoteMirrorResponse) String() string { return proto.CompactTextString(m) }
func (*UpdateRemoteMirrorResponse) ProtoMessage() {}
func (*UpdateRemoteMirrorResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{7} }
func init() {
proto.RegisterType((*AddRemoteRequest)(nil), "gitaly.AddRemoteRequest")
proto.RegisterType((*AddRemoteResponse)(nil), "gitaly.AddRemoteResponse")
proto.RegisterType((*RemoveRemoteRequest)(nil), "gitaly.RemoveRemoteRequest")
proto.RegisterType((*RemoveRemoteResponse)(nil), "gitaly.RemoveRemoteResponse")
proto.RegisterType((*FetchInternalRemoteRequest)(nil), "gitaly.FetchInternalRemoteRequest")
proto.RegisterType((*FetchInternalRemoteResponse)(nil), "gitaly.FetchInternalRemoteResponse")
proto.RegisterType((*UpdateRemoteMirrorRequest)(nil), "gitaly.UpdateRemoteMirrorRequest")
proto.RegisterType((*UpdateRemoteMirrorResponse)(nil), "gitaly.UpdateRemoteMirrorResponse")
}
// 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 RemoteService service
type RemoteServiceClient interface {
AddRemote(ctx context.Context, in *AddRemoteRequest, opts ...grpc.CallOption) (*AddRemoteResponse, error)
FetchInternalRemote(ctx context.Context, in *FetchInternalRemoteRequest, opts ...grpc.CallOption) (*FetchInternalRemoteResponse, error)
RemoveRemote(ctx context.Context, in *RemoveRemoteRequest, opts ...grpc.CallOption) (*RemoveRemoteResponse, error)
UpdateRemoteMirror(ctx context.Context, opts ...grpc.CallOption) (RemoteService_UpdateRemoteMirrorClient, error)
}
type remoteServiceClient struct {
cc *grpc.ClientConn
}
func NewRemoteServiceClient(cc *grpc.ClientConn) RemoteServiceClient {
return &remoteServiceClient{cc}
}
func (c *remoteServiceClient) AddRemote(ctx context.Context, in *AddRemoteRequest, opts ...grpc.CallOption) (*AddRemoteResponse, error) {
out := new(AddRemoteResponse)
err := grpc.Invoke(ctx, "/gitaly.RemoteService/AddRemote", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *remoteServiceClient) FetchInternalRemote(ctx context.Context, in *FetchInternalRemoteRequest, opts ...grpc.CallOption) (*FetchInternalRemoteResponse, error) {
out := new(FetchInternalRemoteResponse)
err := grpc.Invoke(ctx, "/gitaly.RemoteService/FetchInternalRemote", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *remoteServiceClient) RemoveRemote(ctx context.Context, in *RemoveRemoteRequest, opts ...grpc.CallOption) (*RemoveRemoteResponse, error) {
out := new(RemoveRemoteResponse)
err := grpc.Invoke(ctx, "/gitaly.RemoteService/RemoveRemote", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *remoteServiceClient) UpdateRemoteMirror(ctx context.Context, opts ...grpc.CallOption) (RemoteService_UpdateRemoteMirrorClient, error) {
stream, err := grpc.NewClientStream(ctx, &_RemoteService_serviceDesc.Streams[0], c.cc, "/gitaly.RemoteService/UpdateRemoteMirror", opts...)
if err != nil {
return nil, err
}
x := &remoteServiceUpdateRemoteMirrorClient{stream}
return x, nil
}
type RemoteService_UpdateRemoteMirrorClient interface {
Send(*UpdateRemoteMirrorRequest) error
CloseAndRecv() (*UpdateRemoteMirrorResponse, error)
grpc.ClientStream
}
type remoteServiceUpdateRemoteMirrorClient struct {
grpc.ClientStream
}
func (x *remoteServiceUpdateRemoteMirrorClient) Send(m *UpdateRemoteMirrorRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *remoteServiceUpdateRemoteMirrorClient) CloseAndRecv() (*UpdateRemoteMirrorResponse, error) {
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
m := new(UpdateRemoteMirrorResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for RemoteService service
type RemoteServiceServer interface {
AddRemote(context.Context, *AddRemoteRequest) (*AddRemoteResponse, error)
FetchInternalRemote(context.Context, *FetchInternalRemoteRequest) (*FetchInternalRemoteResponse, error)
RemoveRemote(context.Context, *RemoveRemoteRequest) (*RemoveRemoteResponse, error)
UpdateRemoteMirror(RemoteService_UpdateRemoteMirrorServer) error
}
func RegisterRemoteServiceServer(s *grpc.Server, srv RemoteServiceServer) {
s.RegisterService(&_RemoteService_serviceDesc, srv)
}
func _RemoteService_AddRemote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(AddRemoteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RemoteServiceServer).AddRemote(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RemoteService/AddRemote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RemoteServiceServer).AddRemote(ctx, req.(*AddRemoteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RemoteService_FetchInternalRemote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FetchInternalRemoteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RemoteServiceServer).FetchInternalRemote(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RemoteService/FetchInternalRemote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RemoteServiceServer).FetchInternalRemote(ctx, req.(*FetchInternalRemoteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RemoteService_RemoveRemote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RemoveRemoteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RemoteServiceServer).RemoveRemote(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RemoteService/RemoveRemote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RemoteServiceServer).RemoveRemote(ctx, req.(*RemoveRemoteRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RemoteService_UpdateRemoteMirror_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(RemoteServiceServer).UpdateRemoteMirror(&remoteServiceUpdateRemoteMirrorServer{stream})
}
type RemoteService_UpdateRemoteMirrorServer interface {
SendAndClose(*UpdateRemoteMirrorResponse) error
Recv() (*UpdateRemoteMirrorRequest, error)
grpc.ServerStream
}
type remoteServiceUpdateRemoteMirrorServer struct {
grpc.ServerStream
}
func (x *remoteServiceUpdateRemoteMirrorServer) SendAndClose(m *UpdateRemoteMirrorResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *remoteServiceUpdateRemoteMirrorServer) Recv() (*UpdateRemoteMirrorRequest, error) {
m := new(UpdateRemoteMirrorRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
var _RemoteService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.RemoteService",
HandlerType: (*RemoteServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "AddRemote",
Handler: _RemoteService_AddRemote_Handler,
},
{
MethodName: "FetchInternalRemote",
Handler: _RemoteService_FetchInternalRemote_Handler,
},
{
MethodName: "RemoveRemote",
Handler: _RemoteService_RemoveRemote_Handler,
},
},
Streams: []grpc.StreamDesc{
{
StreamName: "UpdateRemoteMirror",
Handler: _RemoteService_UpdateRemoteMirror_Handler,
ClientStreams: true,
},
},
Metadata: "remote.proto",
}
func init() { proto.RegisterFile("remote.proto", fileDescriptor9) }
var fileDescriptor9 = []byte{
// 434 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xcd, 0x6e, 0xd3, 0x40,
0x10, 0xc6, 0x71, 0x1a, 0x92, 0x21, 0x45, 0xe9, 0xa6, 0xaa, 0x1c, 0xb7, 0x87, 0xb0, 0x08, 0xc9,
0xa7, 0x1c, 0x02, 0x9c, 0x11, 0x3d, 0x20, 0x01, 0x2a, 0x87, 0x45, 0x1c, 0x91, 0xd9, 0x26, 0x93,
0xc6, 0x92, 0xed, 0x35, 0xb3, 0x9b, 0x4a, 0x79, 0x0c, 0xde, 0x80, 0x23, 0xef, 0xc5, 0x8b, 0xa0,
0x78, 0xd7, 0xc6, 0x50, 0x27, 0x48, 0x20, 0x6e, 0xeb, 0xef, 0x9b, 0xbf, 0x6f, 0xe6, 0x93, 0x61,
0x48, 0x98, 0x29, 0x83, 0xb3, 0x82, 0x94, 0x51, 0xac, 0x77, 0x93, 0x18, 0x99, 0x6e, 0xc3, 0xa1,
0x5e, 0x4b, 0xc2, 0xa5, 0x45, 0xf9, 0x37, 0x0f, 0x46, 0x2f, 0x97, 0x4b, 0x51, 0x46, 0x0a, 0xfc,
0xbc, 0x41, 0x6d, 0xd8, 0x1c, 0x80, 0xb0, 0x50, 0x3a, 0x31, 0x8a, 0xb6, 0x81, 0x37, 0xf5, 0xa2,
0x07, 0x73, 0x36, 0xb3, 0xf9, 0x33, 0x51, 0x33, 0xa2, 0x11, 0xc5, 0x18, 0x74, 0x73, 0x99, 0x61,
0xd0, 0x99, 0x7a, 0xd1, 0x40, 0x94, 0x6f, 0x36, 0x02, 0x7f, 0x43, 0x69, 0xe0, 0x97, 0xd0, 0xee,
0xc9, 0x9e, 0xc0, 0xc3, 0x2c, 0x21, 0x52, 0x14, 0x13, 0xae, 0x32, 0x59, 0xe8, 0xe0, 0x68, 0xea,
0x47, 0x03, 0x71, 0x6c, 0x51, 0x61, 0xc1, 0x37, 0xdd, 0x7e, 0x77, 0x74, 0x54, 0x81, 0x2e, 0x94,
0x8f, 0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7, 0x07, 0x63, 0xea, 0x0e, 0x6f, 0x61, 0xd8, 0xf4,
0x1c, 0x3b, 0xff, 0xb9, 0xd6, 0x3b, 0x46, 0x0f, 0x2f, 0xda, 0xc9, 0xba, 0x58, 0x0c, 0xec, 0xee,
0x8a, 0xd8, 0xa3, 0x2a, 0x6b, 0xef, 0x81, 0x43, 0x7e, 0x28, 0xa4, 0x2a, 0x1f, 0x79, 0xd7, 0xbd,
0xf2, 0x3f, 0xf2, 0xf4, 0x47, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4d, 0xc9, 0x74, 0x7e, 0x6d, 0x04,
0x00, 0x00,
}
......@@ -17,6 +17,35 @@ var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type GetArchiveRequest_Format int32
const (
GetArchiveRequest_ZIP GetArchiveRequest_Format = 0
GetArchiveRequest_TAR GetArchiveRequest_Format = 1
GetArchiveRequest_TAR_GZ GetArchiveRequest_Format = 2
GetArchiveRequest_TAR_BZ2 GetArchiveRequest_Format = 3
)
var GetArchiveRequest_Format_name = map[int32]string{
0: "ZIP",
1: "TAR",
2: "TAR_GZ",
3: "TAR_BZ2",
}
var GetArchiveRequest_Format_value = map[string]int32{
"ZIP": 0,
"TAR": 1,
"TAR_GZ": 2,
"TAR_BZ2": 3,
}
func (x GetArchiveRequest_Format) String() string {
return proto.EnumName(GetArchiveRequest_Format_name, int32(x))
}
func (GetArchiveRequest_Format) EnumDescriptor() ([]byte, []int) {
return fileDescriptor10, []int{18, 0}
}
type RepositoryExistsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
......@@ -24,7 +53,7 @@ type RepositoryExistsRequest struct {
func (m *RepositoryExistsRequest) Reset() { *m = RepositoryExistsRequest{} }
func (m *RepositoryExistsRequest) String() string { return proto.CompactTextString(m) }
func (*RepositoryExistsRequest) ProtoMessage() {}
func (*RepositoryExistsRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{0} }
func (*RepositoryExistsRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{0} }
func (m *RepositoryExistsRequest) GetRepository() *Repository {
if m != nil {
......@@ -40,7 +69,7 @@ type RepositoryExistsResponse struct {
func (m *RepositoryExistsResponse) Reset() { *m = RepositoryExistsResponse{} }
func (m *RepositoryExistsResponse) String() string { return proto.CompactTextString(m) }
func (*RepositoryExistsResponse) ProtoMessage() {}
func (*RepositoryExistsResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{1} }
func (*RepositoryExistsResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{1} }
func (m *RepositoryExistsResponse) GetExists() bool {
if m != nil {
......@@ -49,6 +78,38 @@ func (m *RepositoryExistsResponse) GetExists() bool {
return false
}
type RepositoryIsEmptyRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func (m *RepositoryIsEmptyRequest) Reset() { *m = RepositoryIsEmptyRequest{} }
func (m *RepositoryIsEmptyRequest) String() string { return proto.CompactTextString(m) }
func (*RepositoryIsEmptyRequest) ProtoMessage() {}
func (*RepositoryIsEmptyRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{2} }
func (m *RepositoryIsEmptyRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
type RepositoryIsEmptyResponse struct {
IsEmpty bool `protobuf:"varint,1,opt,name=is_empty,json=isEmpty" json:"is_empty,omitempty"`
}
func (m *RepositoryIsEmptyResponse) Reset() { *m = RepositoryIsEmptyResponse{} }
func (m *RepositoryIsEmptyResponse) String() string { return proto.CompactTextString(m) }
func (*RepositoryIsEmptyResponse) ProtoMessage() {}
func (*RepositoryIsEmptyResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{3} }
func (m *RepositoryIsEmptyResponse) GetIsEmpty() bool {
if m != nil {
return m.IsEmpty
}
return false
}
type RepackIncrementalRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
......@@ -56,7 +117,7 @@ type RepackIncrementalRequest struct {
func (m *RepackIncrementalRequest) Reset() { *m = RepackIncrementalRequest{} }
func (m *RepackIncrementalRequest) String() string { return proto.CompactTextString(m) }
func (*RepackIncrementalRequest) ProtoMessage() {}
func (*RepackIncrementalRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{2} }
func (*RepackIncrementalRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{4} }
func (m *RepackIncrementalRequest) GetRepository() *Repository {
if m != nil {
......@@ -71,7 +132,7 @@ type RepackIncrementalResponse struct {
func (m *RepackIncrementalResponse) Reset() { *m = RepackIncrementalResponse{} }
func (m *RepackIncrementalResponse) String() string { return proto.CompactTextString(m) }
func (*RepackIncrementalResponse) ProtoMessage() {}
func (*RepackIncrementalResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{3} }
func (*RepackIncrementalResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{5} }
type RepackFullRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -81,7 +142,7 @@ type RepackFullRequest struct {
func (m *RepackFullRequest) Reset() { *m = RepackFullRequest{} }
func (m *RepackFullRequest) String() string { return proto.CompactTextString(m) }
func (*RepackFullRequest) ProtoMessage() {}
func (*RepackFullRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{4} }
func (*RepackFullRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{6} }
func (m *RepackFullRequest) GetRepository() *Repository {
if m != nil {
......@@ -103,7 +164,7 @@ type RepackFullResponse struct {
func (m *RepackFullResponse) Reset() { *m = RepackFullResponse{} }
func (m *RepackFullResponse) String() string { return proto.CompactTextString(m) }
func (*RepackFullResponse) ProtoMessage() {}
func (*RepackFullResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{5} }
func (*RepackFullResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{7} }
type GarbageCollectRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
......@@ -113,7 +174,7 @@ type GarbageCollectRequest struct {
func (m *GarbageCollectRequest) Reset() { *m = GarbageCollectRequest{} }
func (m *GarbageCollectRequest) String() string { return proto.CompactTextString(m) }
func (*GarbageCollectRequest) ProtoMessage() {}
func (*GarbageCollectRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{6} }
func (*GarbageCollectRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{8} }
func (m *GarbageCollectRequest) GetRepository() *Repository {
if m != nil {
......@@ -135,163 +196,1184 @@ 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} }
func (*GarbageCollectResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{9} }
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")
type RepositorySizeRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
func (m *RepositorySizeRequest) Reset() { *m = RepositorySizeRequest{} }
func (m *RepositorySizeRequest) String() string { return proto.CompactTextString(m) }
func (*RepositorySizeRequest) ProtoMessage() {}
func (*RepositorySizeRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{10} }
// 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 *RepositorySizeRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
// Client API for RepositoryService service
type RepositorySizeResponse struct {
// Repository size in kilobytes
Size int64 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"`
}
type RepositoryServiceClient interface {
Exists(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)
func (m *RepositorySizeResponse) Reset() { *m = RepositorySizeResponse{} }
func (m *RepositorySizeResponse) String() string { return proto.CompactTextString(m) }
func (*RepositorySizeResponse) ProtoMessage() {}
func (*RepositorySizeResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{11} }
func (m *RepositorySizeResponse) GetSize() int64 {
if m != nil {
return m.Size
}
return 0
}
type repositoryServiceClient struct {
cc *grpc.ClientConn
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 NewRepositoryServiceClient(cc *grpc.ClientConn) RepositoryServiceClient {
return &repositoryServiceClient{cc}
func (m *ApplyGitattributesRequest) Reset() { *m = ApplyGitattributesRequest{} }
func (m *ApplyGitattributesRequest) String() string { return proto.CompactTextString(m) }
func (*ApplyGitattributesRequest) ProtoMessage() {}
func (*ApplyGitattributesRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{12} }
func (m *ApplyGitattributesRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return 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...)
if err != nil {
return nil, err
func (m *ApplyGitattributesRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return out, nil
return 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
type ApplyGitattributesResponse struct {
}
func (m *ApplyGitattributesResponse) Reset() { *m = ApplyGitattributesResponse{} }
func (m *ApplyGitattributesResponse) String() string { return proto.CompactTextString(m) }
func (*ApplyGitattributesResponse) ProtoMessage() {}
func (*ApplyGitattributesResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{13} }
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 fileDescriptor10, []int{14} }
func (m *FetchRemoteRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return out, nil
return 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
func (m *FetchRemoteRequest) GetRemote() string {
if m != nil {
return m.Remote
}
return out, nil
return ""
}
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
func (m *FetchRemoteRequest) GetForce() bool {
if m != nil {
return m.Force
}
return out, nil
return false
}
// Server API for RepositoryService service
func (m *FetchRemoteRequest) GetNoTags() bool {
if m != nil {
return m.NoTags
}
return false
}
type RepositoryServiceServer interface {
Exists(context.Context, *RepositoryExistsRequest) (*RepositoryExistsResponse, error)
RepackIncremental(context.Context, *RepackIncrementalRequest) (*RepackIncrementalResponse, error)
RepackFull(context.Context, *RepackFullRequest) (*RepackFullResponse, error)
GarbageCollect(context.Context, *GarbageCollectRequest) (*GarbageCollectResponse, error)
func (m *FetchRemoteRequest) GetTimeout() int32 {
if m != nil {
return m.Timeout
}
return 0
}
func RegisterRepositoryServiceServer(s *grpc.Server, srv RepositoryServiceServer) {
s.RegisterService(&_RepositoryService_serviceDesc, srv)
func (m *FetchRemoteRequest) GetSshKey() string {
if m != nil {
return m.SshKey
}
return ""
}
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 {
return nil, err
func (m *FetchRemoteRequest) GetKnownHosts() string {
if m != nil {
return m.KnownHosts
}
if interceptor == nil {
return srv.(RepositoryServiceServer).Exists(ctx, in)
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 fileDescriptor10, []int{15} }
type CreateRepositoryRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func (m *CreateRepositoryRequest) Reset() { *m = CreateRepositoryRequest{} }
func (m *CreateRepositoryRequest) String() string { return proto.CompactTextString(m) }
func (*CreateRepositoryRequest) ProtoMessage() {}
func (*CreateRepositoryRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{16} }
func (m *CreateRepositoryRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/Exists",
return nil
}
type CreateRepositoryResponse struct {
}
func (m *CreateRepositoryResponse) Reset() { *m = CreateRepositoryResponse{} }
func (m *CreateRepositoryResponse) String() string { return proto.CompactTextString(m) }
func (*CreateRepositoryResponse) ProtoMessage() {}
func (*CreateRepositoryResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{17} }
type GetArchiveRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
Prefix string `protobuf:"bytes,3,opt,name=prefix" json:"prefix,omitempty"`
Format GetArchiveRequest_Format `protobuf:"varint,4,opt,name=format,enum=gitaly.GetArchiveRequest_Format" json:"format,omitempty"`
}
func (m *GetArchiveRequest) Reset() { *m = GetArchiveRequest{} }
func (m *GetArchiveRequest) String() string { return proto.CompactTextString(m) }
func (*GetArchiveRequest) ProtoMessage() {}
func (*GetArchiveRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{18} }
func (m *GetArchiveRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).Exists(ctx, req.(*RepositoryExistsRequest))
return nil
}
func (m *GetArchiveRequest) GetCommitId() string {
if m != nil {
return m.CommitId
}
return interceptor(ctx, in, info, handler)
return ""
}
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
func (m *GetArchiveRequest) GetPrefix() string {
if m != nil {
return m.Prefix
}
if interceptor == nil {
return srv.(RepositoryServiceServer).RepackIncremental(ctx, in)
return ""
}
func (m *GetArchiveRequest) GetFormat() GetArchiveRequest_Format {
if m != nil {
return m.Format
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/RepackIncremental",
return GetArchiveRequest_ZIP
}
type GetArchiveResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (m *GetArchiveResponse) Reset() { *m = GetArchiveResponse{} }
func (m *GetArchiveResponse) String() string { return proto.CompactTextString(m) }
func (*GetArchiveResponse) ProtoMessage() {}
func (*GetArchiveResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{19} }
func (m *GetArchiveResponse) GetData() []byte {
if m != nil {
return m.Data
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).RepackIncremental(ctx, req.(*RepackIncrementalRequest))
return nil
}
type HasLocalBranchesRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func (m *HasLocalBranchesRequest) Reset() { *m = HasLocalBranchesRequest{} }
func (m *HasLocalBranchesRequest) String() string { return proto.CompactTextString(m) }
func (*HasLocalBranchesRequest) ProtoMessage() {}
func (*HasLocalBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{20} }
func (m *HasLocalBranchesRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return interceptor(ctx, in, info, handler)
return nil
}
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
type HasLocalBranchesResponse struct {
Value bool `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}
func (m *HasLocalBranchesResponse) Reset() { *m = HasLocalBranchesResponse{} }
func (m *HasLocalBranchesResponse) String() string { return proto.CompactTextString(m) }
func (*HasLocalBranchesResponse) ProtoMessage() {}
func (*HasLocalBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{21} }
func (m *HasLocalBranchesResponse) GetValue() bool {
if m != nil {
return m.Value
}
if interceptor == nil {
return srv.(RepositoryServiceServer).RepackFull(ctx, in)
return false
}
type FetchSourceBranchRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
SourceRepository *Repository `protobuf:"bytes,2,opt,name=source_repository,json=sourceRepository" json:"source_repository,omitempty"`
SourceBranch []byte `protobuf:"bytes,3,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"`
TargetRef []byte `protobuf:"bytes,4,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"`
}
func (m *FetchSourceBranchRequest) Reset() { *m = FetchSourceBranchRequest{} }
func (m *FetchSourceBranchRequest) String() string { return proto.CompactTextString(m) }
func (*FetchSourceBranchRequest) ProtoMessage() {}
func (*FetchSourceBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{22} }
func (m *FetchSourceBranchRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/RepackFull",
return nil
}
func (m *FetchSourceBranchRequest) GetSourceRepository() *Repository {
if m != nil {
return m.SourceRepository
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).RepackFull(ctx, req.(*RepackFullRequest))
return nil
}
func (m *FetchSourceBranchRequest) GetSourceBranch() []byte {
if m != nil {
return m.SourceBranch
}
return interceptor(ctx, in, info, handler)
return nil
}
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
func (m *FetchSourceBranchRequest) GetTargetRef() []byte {
if m != nil {
return m.TargetRef
}
if interceptor == nil {
return srv.(RepositoryServiceServer).GarbageCollect(ctx, in)
return nil
}
type FetchSourceBranchResponse struct {
Result bool `protobuf:"varint,1,opt,name=result" json:"result,omitempty"`
}
func (m *FetchSourceBranchResponse) Reset() { *m = FetchSourceBranchResponse{} }
func (m *FetchSourceBranchResponse) String() string { return proto.CompactTextString(m) }
func (*FetchSourceBranchResponse) ProtoMessage() {}
func (*FetchSourceBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{23} }
func (m *FetchSourceBranchResponse) GetResult() bool {
if m != nil {
return m.Result
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/GarbageCollect",
return false
}
type FsckRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func (m *FsckRequest) Reset() { *m = FsckRequest{} }
func (m *FsckRequest) String() string { return proto.CompactTextString(m) }
func (*FsckRequest) ProtoMessage() {}
func (*FsckRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{24} }
func (m *FsckRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).GarbageCollect(ctx, req.(*GarbageCollectRequest))
return nil
}
type FsckResponse struct {
Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
}
func (m *FsckResponse) Reset() { *m = FsckResponse{} }
func (m *FsckResponse) String() string { return proto.CompactTextString(m) }
func (*FsckResponse) ProtoMessage() {}
func (*FsckResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{25} }
func (m *FsckResponse) GetError() []byte {
if m != nil {
return m.Error
}
return interceptor(ctx, in, info, handler)
return nil
}
type WriteRefRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
OldRevision []byte `protobuf:"bytes,4,opt,name=old_revision,json=oldRevision,proto3" json:"old_revision,omitempty"`
Force bool `protobuf:"varint,5,opt,name=force" json:"force,omitempty"`
Shell bool `protobuf:"varint,6,opt,name=shell" json:"shell,omitempty"`
}
func (m *WriteRefRequest) Reset() { *m = WriteRefRequest{} }
func (m *WriteRefRequest) String() string { return proto.CompactTextString(m) }
func (*WriteRefRequest) ProtoMessage() {}
func (*WriteRefRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{26} }
func (m *WriteRefRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *WriteRefRequest) GetRef() []byte {
if m != nil {
return m.Ref
}
return nil
}
func (m *WriteRefRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return nil
}
func (m *WriteRefRequest) GetOldRevision() []byte {
if m != nil {
return m.OldRevision
}
return nil
}
func (m *WriteRefRequest) GetForce() bool {
if m != nil {
return m.Force
}
return false
}
func (m *WriteRefRequest) GetShell() bool {
if m != nil {
return m.Shell
}
return false
}
type WriteRefResponse struct {
Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
}
func (m *WriteRefResponse) Reset() { *m = WriteRefResponse{} }
func (m *WriteRefResponse) String() string { return proto.CompactTextString(m) }
func (*WriteRefResponse) ProtoMessage() {}
func (*WriteRefResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{27} }
func (m *WriteRefResponse) GetError() []byte {
if m != nil {
return m.Error
}
return nil
}
type FindMergeBaseRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// We use a repeated field because rugged supports finding a base
// for more than 2 revisions, so if we needed that in the future we don't
// need to change the protocol.
Revisions [][]byte `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"`
}
func (m *FindMergeBaseRequest) Reset() { *m = FindMergeBaseRequest{} }
func (m *FindMergeBaseRequest) String() string { return proto.CompactTextString(m) }
func (*FindMergeBaseRequest) ProtoMessage() {}
func (*FindMergeBaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{28} }
func (m *FindMergeBaseRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *FindMergeBaseRequest) GetRevisions() [][]byte {
if m != nil {
return m.Revisions
}
return nil
}
type FindMergeBaseResponse struct {
Base string `protobuf:"bytes,1,opt,name=base" json:"base,omitempty"`
}
func (m *FindMergeBaseResponse) Reset() { *m = FindMergeBaseResponse{} }
func (m *FindMergeBaseResponse) String() string { return proto.CompactTextString(m) }
func (*FindMergeBaseResponse) ProtoMessage() {}
func (*FindMergeBaseResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{29} }
func (m *FindMergeBaseResponse) GetBase() string {
if m != nil {
return m.Base
}
return ""
}
type CreateForkRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
SourceRepository *Repository `protobuf:"bytes,2,opt,name=source_repository,json=sourceRepository" json:"source_repository,omitempty"`
}
func (m *CreateForkRequest) Reset() { *m = CreateForkRequest{} }
func (m *CreateForkRequest) String() string { return proto.CompactTextString(m) }
func (*CreateForkRequest) ProtoMessage() {}
func (*CreateForkRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{30} }
func (m *CreateForkRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *CreateForkRequest) GetSourceRepository() *Repository {
if m != nil {
return m.SourceRepository
}
return nil
}
type CreateForkResponse struct {
}
func (m *CreateForkResponse) Reset() { *m = CreateForkResponse{} }
func (m *CreateForkResponse) String() string { return proto.CompactTextString(m) }
func (*CreateForkResponse) ProtoMessage() {}
func (*CreateForkResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{31} }
type IsRebaseInProgressRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
RebaseId string `protobuf:"bytes,2,opt,name=rebase_id,json=rebaseId" json:"rebase_id,omitempty"`
}
func (m *IsRebaseInProgressRequest) Reset() { *m = IsRebaseInProgressRequest{} }
func (m *IsRebaseInProgressRequest) String() string { return proto.CompactTextString(m) }
func (*IsRebaseInProgressRequest) ProtoMessage() {}
func (*IsRebaseInProgressRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{32} }
func (m *IsRebaseInProgressRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *IsRebaseInProgressRequest) GetRebaseId() string {
if m != nil {
return m.RebaseId
}
return ""
}
type IsRebaseInProgressResponse struct {
InProgress bool `protobuf:"varint,1,opt,name=in_progress,json=inProgress" json:"in_progress,omitempty"`
}
func (m *IsRebaseInProgressResponse) Reset() { *m = IsRebaseInProgressResponse{} }
func (m *IsRebaseInProgressResponse) String() string { return proto.CompactTextString(m) }
func (*IsRebaseInProgressResponse) ProtoMessage() {}
func (*IsRebaseInProgressResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{33} }
func (m *IsRebaseInProgressResponse) GetInProgress() bool {
if m != nil {
return m.InProgress
}
return false
}
type CreateRepositoryFromURLRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
}
func (m *CreateRepositoryFromURLRequest) Reset() { *m = CreateRepositoryFromURLRequest{} }
func (m *CreateRepositoryFromURLRequest) String() string { return proto.CompactTextString(m) }
func (*CreateRepositoryFromURLRequest) ProtoMessage() {}
func (*CreateRepositoryFromURLRequest) Descriptor() ([]byte, []int) {
return fileDescriptor10, []int{34}
}
func (m *CreateRepositoryFromURLRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *CreateRepositoryFromURLRequest) GetUrl() string {
if m != nil {
return m.Url
}
return ""
}
type CreateRepositoryFromURLResponse struct {
}
func (m *CreateRepositoryFromURLResponse) Reset() { *m = CreateRepositoryFromURLResponse{} }
func (m *CreateRepositoryFromURLResponse) String() string { return proto.CompactTextString(m) }
func (*CreateRepositoryFromURLResponse) ProtoMessage() {}
func (*CreateRepositoryFromURLResponse) Descriptor() ([]byte, []int) {
return fileDescriptor10, []int{35}
}
func init() {
proto.RegisterType((*RepositoryExistsRequest)(nil), "gitaly.RepositoryExistsRequest")
proto.RegisterType((*RepositoryExistsResponse)(nil), "gitaly.RepositoryExistsResponse")
proto.RegisterType((*RepositoryIsEmptyRequest)(nil), "gitaly.RepositoryIsEmptyRequest")
proto.RegisterType((*RepositoryIsEmptyResponse)(nil), "gitaly.RepositoryIsEmptyResponse")
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")
proto.RegisterType((*CreateRepositoryRequest)(nil), "gitaly.CreateRepositoryRequest")
proto.RegisterType((*CreateRepositoryResponse)(nil), "gitaly.CreateRepositoryResponse")
proto.RegisterType((*GetArchiveRequest)(nil), "gitaly.GetArchiveRequest")
proto.RegisterType((*GetArchiveResponse)(nil), "gitaly.GetArchiveResponse")
proto.RegisterType((*HasLocalBranchesRequest)(nil), "gitaly.HasLocalBranchesRequest")
proto.RegisterType((*HasLocalBranchesResponse)(nil), "gitaly.HasLocalBranchesResponse")
proto.RegisterType((*FetchSourceBranchRequest)(nil), "gitaly.FetchSourceBranchRequest")
proto.RegisterType((*FetchSourceBranchResponse)(nil), "gitaly.FetchSourceBranchResponse")
proto.RegisterType((*FsckRequest)(nil), "gitaly.FsckRequest")
proto.RegisterType((*FsckResponse)(nil), "gitaly.FsckResponse")
proto.RegisterType((*WriteRefRequest)(nil), "gitaly.WriteRefRequest")
proto.RegisterType((*WriteRefResponse)(nil), "gitaly.WriteRefResponse")
proto.RegisterType((*FindMergeBaseRequest)(nil), "gitaly.FindMergeBaseRequest")
proto.RegisterType((*FindMergeBaseResponse)(nil), "gitaly.FindMergeBaseResponse")
proto.RegisterType((*CreateForkRequest)(nil), "gitaly.CreateForkRequest")
proto.RegisterType((*CreateForkResponse)(nil), "gitaly.CreateForkResponse")
proto.RegisterType((*IsRebaseInProgressRequest)(nil), "gitaly.IsRebaseInProgressRequest")
proto.RegisterType((*IsRebaseInProgressResponse)(nil), "gitaly.IsRebaseInProgressResponse")
proto.RegisterType((*CreateRepositoryFromURLRequest)(nil), "gitaly.CreateRepositoryFromURLRequest")
proto.RegisterType((*CreateRepositoryFromURLResponse)(nil), "gitaly.CreateRepositoryFromURLResponse")
proto.RegisterEnum("gitaly.GetArchiveRequest_Format", GetArchiveRequest_Format_name, GetArchiveRequest_Format_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 RepositoryService service
type RepositoryServiceClient interface {
RepositoryExists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error)
RepositoryIsEmpty(ctx context.Context, in *RepositoryIsEmptyRequest, opts ...grpc.CallOption) (*RepositoryIsEmptyResponse, 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)
CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*CreateRepositoryResponse, error)
GetArchive(ctx context.Context, in *GetArchiveRequest, opts ...grpc.CallOption) (RepositoryService_GetArchiveClient, error)
HasLocalBranches(ctx context.Context, in *HasLocalBranchesRequest, opts ...grpc.CallOption) (*HasLocalBranchesResponse, error)
FetchSourceBranch(ctx context.Context, in *FetchSourceBranchRequest, opts ...grpc.CallOption) (*FetchSourceBranchResponse, error)
Fsck(ctx context.Context, in *FsckRequest, opts ...grpc.CallOption) (*FsckResponse, error)
WriteRef(ctx context.Context, in *WriteRefRequest, opts ...grpc.CallOption) (*WriteRefResponse, error)
FindMergeBase(ctx context.Context, in *FindMergeBaseRequest, opts ...grpc.CallOption) (*FindMergeBaseResponse, error)
CreateFork(ctx context.Context, in *CreateForkRequest, opts ...grpc.CallOption) (*CreateForkResponse, error)
IsRebaseInProgress(ctx context.Context, in *IsRebaseInProgressRequest, opts ...grpc.CallOption) (*IsRebaseInProgressResponse, error)
CreateRepositoryFromURL(ctx context.Context, in *CreateRepositoryFromURLRequest, opts ...grpc.CallOption) (*CreateRepositoryFromURLResponse, error)
}
type repositoryServiceClient struct {
cc *grpc.ClientConn
}
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) RepositoryIsEmpty(ctx context.Context, in *RepositoryIsEmptyRequest, opts ...grpc.CallOption) (*RepositoryIsEmptyResponse, error) {
out := new(RepositoryIsEmptyResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/RepositoryIsEmpty", 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) CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*CreateRepositoryResponse, error) {
out := new(CreateRepositoryResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/CreateRepository", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) GetArchive(ctx context.Context, in *GetArchiveRequest, opts ...grpc.CallOption) (RepositoryService_GetArchiveClient, error) {
stream, err := grpc.NewClientStream(ctx, &_RepositoryService_serviceDesc.Streams[0], c.cc, "/gitaly.RepositoryService/GetArchive", opts...)
if err != nil {
return nil, err
}
x := &repositoryServiceGetArchiveClient{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 RepositoryService_GetArchiveClient interface {
Recv() (*GetArchiveResponse, error)
grpc.ClientStream
}
type repositoryServiceGetArchiveClient struct {
grpc.ClientStream
}
func (x *repositoryServiceGetArchiveClient) Recv() (*GetArchiveResponse, error) {
m := new(GetArchiveResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *repositoryServiceClient) HasLocalBranches(ctx context.Context, in *HasLocalBranchesRequest, opts ...grpc.CallOption) (*HasLocalBranchesResponse, error) {
out := new(HasLocalBranchesResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/HasLocalBranches", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) FetchSourceBranch(ctx context.Context, in *FetchSourceBranchRequest, opts ...grpc.CallOption) (*FetchSourceBranchResponse, error) {
out := new(FetchSourceBranchResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/FetchSourceBranch", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) Fsck(ctx context.Context, in *FsckRequest, opts ...grpc.CallOption) (*FsckResponse, error) {
out := new(FsckResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/Fsck", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) WriteRef(ctx context.Context, in *WriteRefRequest, opts ...grpc.CallOption) (*WriteRefResponse, error) {
out := new(WriteRefResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/WriteRef", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) FindMergeBase(ctx context.Context, in *FindMergeBaseRequest, opts ...grpc.CallOption) (*FindMergeBaseResponse, error) {
out := new(FindMergeBaseResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/FindMergeBase", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) CreateFork(ctx context.Context, in *CreateForkRequest, opts ...grpc.CallOption) (*CreateForkResponse, error) {
out := new(CreateForkResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/CreateFork", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) IsRebaseInProgress(ctx context.Context, in *IsRebaseInProgressRequest, opts ...grpc.CallOption) (*IsRebaseInProgressResponse, error) {
out := new(IsRebaseInProgressResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/IsRebaseInProgress", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) CreateRepositoryFromURL(ctx context.Context, in *CreateRepositoryFromURLRequest, opts ...grpc.CallOption) (*CreateRepositoryFromURLResponse, error) {
out := new(CreateRepositoryFromURLResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/CreateRepositoryFromURL", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for RepositoryService service
type RepositoryServiceServer interface {
RepositoryExists(context.Context, *RepositoryExistsRequest) (*RepositoryExistsResponse, error)
RepositoryIsEmpty(context.Context, *RepositoryIsEmptyRequest) (*RepositoryIsEmptyResponse, 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)
CreateRepository(context.Context, *CreateRepositoryRequest) (*CreateRepositoryResponse, error)
GetArchive(*GetArchiveRequest, RepositoryService_GetArchiveServer) error
HasLocalBranches(context.Context, *HasLocalBranchesRequest) (*HasLocalBranchesResponse, error)
FetchSourceBranch(context.Context, *FetchSourceBranchRequest) (*FetchSourceBranchResponse, error)
Fsck(context.Context, *FsckRequest) (*FsckResponse, error)
WriteRef(context.Context, *WriteRefRequest) (*WriteRefResponse, error)
FindMergeBase(context.Context, *FindMergeBaseRequest) (*FindMergeBaseResponse, error)
CreateFork(context.Context, *CreateForkRequest) (*CreateForkResponse, error)
IsRebaseInProgress(context.Context, *IsRebaseInProgressRequest) (*IsRebaseInProgressResponse, error)
CreateRepositoryFromURL(context.Context, *CreateRepositoryFromURLRequest) (*CreateRepositoryFromURLResponse, error)
}
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_RepositoryIsEmpty_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RepositoryIsEmptyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).RepositoryIsEmpty(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/RepositoryIsEmpty",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).RepositoryIsEmpty(ctx, req.(*RepositoryIsEmptyRequest))
}
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_CreateRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateRepositoryRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).CreateRepository(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/CreateRepository",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).CreateRepository(ctx, req.(*CreateRepositoryRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_GetArchive_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(GetArchiveRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(RepositoryServiceServer).GetArchive(m, &repositoryServiceGetArchiveServer{stream})
}
type RepositoryService_GetArchiveServer interface {
Send(*GetArchiveResponse) error
grpc.ServerStream
}
type repositoryServiceGetArchiveServer struct {
grpc.ServerStream
}
func (x *repositoryServiceGetArchiveServer) Send(m *GetArchiveResponse) error {
return x.ServerStream.SendMsg(m)
}
func _RepositoryService_HasLocalBranches_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(HasLocalBranchesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).HasLocalBranches(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/HasLocalBranches",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).HasLocalBranches(ctx, req.(*HasLocalBranchesRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_FetchSourceBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FetchSourceBranchRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).FetchSourceBranch(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/FetchSourceBranch",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).FetchSourceBranch(ctx, req.(*FetchSourceBranchRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_Fsck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FsckRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).Fsck(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/Fsck",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).Fsck(ctx, req.(*FsckRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_WriteRef_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(WriteRefRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).WriteRef(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/WriteRef",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).WriteRef(ctx, req.(*WriteRefRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_FindMergeBase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindMergeBaseRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).FindMergeBase(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/FindMergeBase",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).FindMergeBase(ctx, req.(*FindMergeBaseRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_CreateFork_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateForkRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).CreateFork(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/CreateFork",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).CreateFork(ctx, req.(*CreateForkRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_IsRebaseInProgress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(IsRebaseInProgressRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).IsRebaseInProgress(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/IsRebaseInProgress",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).IsRebaseInProgress(ctx, req.(*IsRebaseInProgressRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_CreateRepositoryFromURL_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateRepositoryFromURLRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).CreateRepositoryFromURL(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/CreateRepositoryFromURL",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).CreateRepositoryFromURL(ctx, req.(*CreateRepositoryFromURLRequest))
}
return interceptor(ctx, in, info, handler)
}
var _RepositoryService_serviceDesc = grpc.ServiceDesc{
......@@ -299,8 +1381,12 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{
HandlerType: (*RepositoryServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Exists",
Handler: _RepositoryService_Exists_Handler,
MethodName: "RepositoryExists",
Handler: _RepositoryService_RepositoryExists_Handler,
},
{
MethodName: "RepositoryIsEmpty",
Handler: _RepositoryService_RepositoryIsEmpty_Handler,
},
{
MethodName: "RepackIncremental",
......@@ -314,34 +1400,146 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{
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: "CreateRepository",
Handler: _RepositoryService_CreateRepository_Handler,
},
{
MethodName: "HasLocalBranches",
Handler: _RepositoryService_HasLocalBranches_Handler,
},
{
MethodName: "FetchSourceBranch",
Handler: _RepositoryService_FetchSourceBranch_Handler,
},
{
MethodName: "Fsck",
Handler: _RepositoryService_Fsck_Handler,
},
{
MethodName: "WriteRef",
Handler: _RepositoryService_WriteRef_Handler,
},
{
MethodName: "FindMergeBase",
Handler: _RepositoryService_FindMergeBase_Handler,
},
{
MethodName: "CreateFork",
Handler: _RepositoryService_CreateFork_Handler,
},
{
MethodName: "IsRebaseInProgress",
Handler: _RepositoryService_IsRebaseInProgress_Handler,
},
{
MethodName: "CreateRepositoryFromURL",
Handler: _RepositoryService_CreateRepositoryFromURL_Handler,
},
},
Streams: []grpc.StreamDesc{
{
StreamName: "GetArchive",
Handler: _RepositoryService_GetArchive_Handler,
ServerStreams: true,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "repository-service.proto",
}
func init() { proto.RegisterFile("repository-service.proto", fileDescriptor6) }
var fileDescriptor6 = []byte{
// 323 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x93, 0xcd, 0x4e, 0xeb, 0x30,
0x10, 0x85, 0x6f, 0xbb, 0x88, 0xae, 0x86, 0x82, 0xc4, 0x08, 0x4a, 0x6a, 0x04, 0x94, 0xb0, 0x61,
0x43, 0x17, 0xe1, 0x0d, 0x40, 0x05, 0xb1, 0x28, 0x12, 0x61, 0xc7, 0x06, 0xb9,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x9c, 0xe8, 0xbc, 0x84, 0x5f, 0x5d, 0xbb, 0x90, 0x9c, 0xf6, 0xe8, 0x5e,
0x0c, 0x4e, 0xc0, 0x73, 0xe1, 0xe1, 0xc9, 0xea, 0xf8, 0xc6, 0x2b, 0x61, 0xc3, 0xf5, 0x0d, 0xf9,
0x75, 0xff, 0xe1, 0x53, 0xb1, 0xf4, 0x5a, 0x22, 0x58, 0x17, 0xb6, 0x86, 0xcf, 0x4e, 0x7f, 0xe9,
0x28, 0xd9, 0x63, 0x80, 0x6a, 0xc5, 0x38, 0x68, 0x4a, 0x6a, 0x21, 0x33, 0xd6, 0x76, 0x54, 0x62,
0x1e, 0x60, 0xa7, 0xb9, 0x21, 0x3c, 0x2a, 0xfa, 0x5b, 0xb3, 0x62, 0xc7, 0xeb, 0x8e, 0x0b, 0xe4,
0xd4, 0xb3, 0x7f, 0xd8, 0xe5, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x80, 0xc6, 0x53, 0xd9, 0x93,
0x03, 0x00, 0x00,
func init() { proto.RegisterFile("repository-service.proto", fileDescriptor10) }
var fileDescriptor10 = []byte{
// 1250 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xdd, 0x6e, 0xdb, 0x36,
0x14, 0xb6, 0xe3, 0xc6, 0x49, 0x8e, 0xdd, 0xce, 0x61, 0x9d, 0x46, 0x56, 0x7f, 0x92, 0x72, 0xc3,
0x16, 0x60, 0x5b, 0x50, 0x38, 0xc0, 0xb0, 0x9b, 0xa1, 0x48, 0x8a, 0x3a, 0x35, 0xfa, 0x83, 0x4e,
0xed, 0x50, 0x20, 0xc0, 0x60, 0xc8, 0x32, 0x6d, 0x0b, 0x96, 0x45, 0x8f, 0xa4, 0xb3, 0xba, 0x4f,
0xb0, 0xe7, 0xda, 0x2b, 0xec, 0x11, 0x76, 0xd9, 0x97, 0x18, 0x44, 0xd2, 0xa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25, 0x6b,
0xe6, 0x84, 0x89, 0x61, 0x66, 0x8a, 0x99, 0x18, 0xe6, 0x8c, 0x15, 0x59, 0x0c, 0xd9, 0x56, 0x6f,
0x8a, 0xa1, 0x70, 0xe8, 0x98, 0x62, 0x28, 0x9e, 0x14, 0xb8, 0x82, 0x82, 0xec, 0xcf, 0x0a, 0xdd,
0xa2, 0xd1, 0xd7, 0x45, 0x89, 0x9a, 0x9e, 0x15, 0xf6, 0x37, 0xff, 0x7a, 0x6e, 0xad, 0x6d, 0x58,
0x97, 0x7f, 0xab, 0x9c, 0xfd, 0x13, 0x00, 0x00, 0xff, 0xff, 0xef, 0x87, 0x20, 0x75, 0x88, 0x11,
0x00, 0x00,
}
......@@ -16,12 +16,21 @@ 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"`
// Used in callbacks to GitLab so that it knows what repository the event is
// associated with. May be left empty on RPC's that do not perform callbacks.
GlRepository string `protobuf:"bytes,6,opt,name=gl_repository,json=glRepository" json:"gl_repository,omitempty"`
}
func (m *Repository) Reset() { *m = Repository{} }
func (m *Repository) String() string { return proto.CompactTextString(m) }
func (*Repository) ProtoMessage() {}
func (*Repository) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0} }
func (*Repository) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{0} }
func (m *Repository) GetStorageName() string {
if m != nil {
......@@ -37,6 +46,28 @@ 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
}
func (m *Repository) GetGlRepository() string {
if m != nil {
return m.GlRepository
}
return ""
}
// Corresponds to Gitlab::Git::Commit
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"`
......@@ -49,7 +80,7 @@ type GitCommit struct {
func (m *GitCommit) Reset() { *m = GitCommit{} }
func (m *GitCommit) String() string { return proto.CompactTextString(m) }
func (*GitCommit) ProtoMessage() {}
func (*GitCommit) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{1} }
func (*GitCommit) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{1} }
func (m *GitCommit) GetId() string {
if m != nil {
......@@ -102,7 +133,7 @@ type CommitAuthor struct {
func (m *CommitAuthor) Reset() { *m = CommitAuthor{} }
func (m *CommitAuthor) String() string { return proto.CompactTextString(m) }
func (*CommitAuthor) ProtoMessage() {}
func (*CommitAuthor) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{2} }
func (*CommitAuthor) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{2} }
func (m *CommitAuthor) GetName() []byte {
if m != nil {
......@@ -132,7 +163,7 @@ type ExitStatus struct {
func (m *ExitStatus) Reset() { *m = ExitStatus{} }
func (m *ExitStatus) String() string { return proto.CompactTextString(m) }
func (*ExitStatus) ProtoMessage() {}
func (*ExitStatus) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{3} }
func (*ExitStatus) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{3} }
func (m *ExitStatus) GetValue() int32 {
if m != nil {
......@@ -141,36 +172,156 @@ func (m *ExitStatus) GetValue() int32 {
return 0
}
// Corresponds to Gitlab::Git::Branch
type Branch struct {
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
TargetCommit *GitCommit `protobuf:"bytes,2,opt,name=target_commit,json=targetCommit" json:"target_commit,omitempty"`
}
func (m *Branch) Reset() { *m = Branch{} }
func (m *Branch) String() string { return proto.CompactTextString(m) }
func (*Branch) ProtoMessage() {}
func (*Branch) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{4} }
func (m *Branch) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *Branch) GetTargetCommit() *GitCommit {
if m != nil {
return m.TargetCommit
}
return nil
}
type 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 *Tag) Reset() { *m = Tag{} }
func (m *Tag) String() string { return proto.CompactTextString(m) }
func (*Tag) ProtoMessage() {}
func (*Tag) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{5} }
func (m *Tag) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *Tag) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *Tag) GetTargetCommit() *GitCommit {
if m != nil {
return m.TargetCommit
}
return nil
}
func (m *Tag) GetMessage() []byte {
if m != nil {
return m.Message
}
return nil
}
type User struct {
GlId string `protobuf:"bytes,1,opt,name=gl_id,json=glId" json:"gl_id,omitempty"`
Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Email []byte `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
GlUsername string `protobuf:"bytes,4,opt,name=gl_username,json=glUsername" json:"gl_username,omitempty"`
}
func (m *User) Reset() { *m = User{} }
func (m *User) String() string { return proto.CompactTextString(m) }
func (*User) ProtoMessage() {}
func (*User) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{6} }
func (m *User) GetGlId() string {
if m != nil {
return m.GlId
}
return ""
}
func (m *User) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *User) GetEmail() []byte {
if m != nil {
return m.Email
}
return nil
}
func (m *User) GetGlUsername() string {
if m != nil {
return m.GlUsername
}
return ""
}
func init() {
proto.RegisterType((*Repository)(nil), "gitaly.Repository")
proto.RegisterType((*GitCommit)(nil), "gitaly.GitCommit")
proto.RegisterType((*CommitAuthor)(nil), "gitaly.CommitAuthor")
proto.RegisterType((*ExitStatus)(nil), "gitaly.ExitStatus")
proto.RegisterType((*Branch)(nil), "gitaly.Branch")
proto.RegisterType((*Tag)(nil), "gitaly.Tag")
proto.RegisterType((*User)(nil), "gitaly.User")
}
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, 0xa8, 0x45, 0x91, 0xb5, 0x5a, 0x91, 0x62, 0x61, 0x29, 0x09, 0xeb,
0xfd, 0xec, 0xa2, 0x54, 0xaa, 0xac, 0xc5, 0xd2, 0xa2, 0x79, 0xf7, 0xb1, 0x24, 0x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c, 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,
func init() { proto.RegisterFile("shared.proto", fileDescriptor11) }
var fileDescriptor11 = []byte{
// 518 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x4d, 0x6f, 0xd3, 0x40,
0x10, 0x55, 0x1c, 0xc7, 0x90, 0x89, 0x8b, 0x60, 0xc9, 0xc1, 0xaa, 0x54, 0x35, 0x98, 0x4b, 0x0f,
0xc8, 0x45, 0x41, 0xe2, 0x5e, 0x3e, 0x54, 0x95, 0x03, 0xa0, 0x25, 0x3d, 0x5b, 0x9b, 0x78, 0xba,
0x5e, 0xb4, 0xce, 0x46, 0xbb, 0xe3, 0x8a, 0x88, 0x0b, 0xbf, 0x8f, 0x5f, 0x85, 0xbc, 0x1b, 0xa7,
0x05, 0x22, 0xc4, 0xcd, 0x33, 0xfb, 0x66, 0xe6, 0xbd, 0x79, 0x63, 0x48, 0x5d, 0x2d, 0x2c, 0x56,
0xc5, 0xc6, 0x1a, 0x32, 0x2c, 0x91, 0x8a, 0x84, 0xde, 0x1e, 0x9f, 0x4a, 0x63, 0xa4, 0xc6, 0x73,
0x9f, 0x5d, 0xb6, 0x37, 0xe7, 0xa4, 0x1a, 0x74, 0x24, 0x9a, 0x4d, 0x00, 0xe6, 0x3f, 0x22, 0x00,
0x8e, 0x1b, 0xe3, 0x14, 0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b, 0x14, 0x26, 0x52, 0x97, 0xad, 0xeb, 0xae, 0xb8, 0xc1, 0xdd, 0x7f, 0x01, 0x52,
0x5f, 0xef, 0x32, 0xcb, 0xc4, 0x2f, 0xfe, 0xd5, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x45, 0x47,
0x8b, 0xbe, 0xd8, 0x03, 0x00, 0x00,
}
......@@ -19,12 +19,14 @@ var _ = math.Inf
type InfoRefsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// Parameters to use with git -c (key=value pairs)
GitConfigOptions []string `protobuf:"bytes,2,rep,name=git_config_options,json=gitConfigOptions" json:"git_config_options,omitempty"`
}
func (m *InfoRefsRequest) Reset() { *m = InfoRefsRequest{} }
func (m *InfoRefsRequest) String() string { return proto.CompactTextString(m) }
func (*InfoRefsRequest) ProtoMessage() {}
func (*InfoRefsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0} }
func (*InfoRefsRequest) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{0} }
func (m *InfoRefsRequest) GetRepository() *Repository {
if m != nil {
......@@ -33,6 +35,13 @@ func (m *InfoRefsRequest) GetRepository() *Repository {
return nil
}
func (m *InfoRefsRequest) GetGitConfigOptions() []string {
if m != nil {
return m.GitConfigOptions
}
return nil
}
type InfoRefsResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
......@@ -40,7 +49,7 @@ type InfoRefsResponse struct {
func (m *InfoRefsResponse) Reset() { *m = InfoRefsResponse{} }
func (m *InfoRefsResponse) String() string { return proto.CompactTextString(m) }
func (*InfoRefsResponse) ProtoMessage() {}
func (*InfoRefsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{1} }
func (*InfoRefsResponse) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{1} }
func (m *InfoRefsResponse) GetData() []byte {
if m != nil {
......@@ -54,12 +63,14 @@ type PostUploadPackRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// Raw data to be copied to stdin of 'git upload-pack'
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// Parameters to use with git -c (key=value pairs)
GitConfigOptions []string `protobuf:"bytes,3,rep,name=git_config_options,json=gitConfigOptions" json:"git_config_options,omitempty"`
}
func (m *PostUploadPackRequest) Reset() { *m = PostUploadPackRequest{} }
func (m *PostUploadPackRequest) String() string { return proto.CompactTextString(m) }
func (*PostUploadPackRequest) ProtoMessage() {}
func (*PostUploadPackRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{2} }
func (*PostUploadPackRequest) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{2} }
func (m *PostUploadPackRequest) GetRepository() *Repository {
if m != nil {
......@@ -75,6 +86,13 @@ func (m *PostUploadPackRequest) GetData() []byte {
return nil
}
func (m *PostUploadPackRequest) GetGitConfigOptions() []string {
if m != nil {
return m.GitConfigOptions
}
return nil
}
type PostUploadPackResponse struct {
// Raw data from stdout of 'git upload-pack'
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
......@@ -83,7 +101,7 @@ type PostUploadPackResponse struct {
func (m *PostUploadPackResponse) Reset() { *m = PostUploadPackResponse{} }
func (m *PostUploadPackResponse) String() string { return proto.CompactTextString(m) }
func (*PostUploadPackResponse) ProtoMessage() {}
func (*PostUploadPackResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{3} }
func (*PostUploadPackResponse) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{3} }
func (m *PostUploadPackResponse) GetData() []byte {
if m != nil {
......@@ -97,16 +115,17 @@ type PostReceivePackRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// Raw data to be copied to stdin of 'git receive-pack'
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// gl_id and gl_repository becomes env variables, used by the Git {pre,post}-receive
// gl_id, gl_repository, and gl_username become env variables, used by the Git {pre,post}-receive
// hooks. They should only be present in the first message of the stream.
GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId" json:"gl_id,omitempty"`
GlRepository string `protobuf:"bytes,4,opt,name=gl_repository,json=glRepository" json:"gl_repository,omitempty"`
GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername" json:"gl_username,omitempty"`
}
func (m *PostReceivePackRequest) Reset() { *m = PostReceivePackRequest{} }
func (m *PostReceivePackRequest) String() string { return proto.CompactTextString(m) }
func (*PostReceivePackRequest) ProtoMessage() {}
func (*PostReceivePackRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{4} }
func (*PostReceivePackRequest) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{4} }
func (m *PostReceivePackRequest) GetRepository() *Repository {
if m != nil {
......@@ -136,6 +155,13 @@ func (m *PostReceivePackRequest) GetGlRepository() string {
return ""
}
func (m *PostReceivePackRequest) GetGlUsername() string {
if m != nil {
return m.GlUsername
}
return ""
}
type PostReceivePackResponse struct {
// Raw data from stdout of 'git receive-pack'
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
......@@ -144,7 +170,7 @@ type PostReceivePackResponse struct {
func (m *PostReceivePackResponse) Reset() { *m = PostReceivePackResponse{} }
func (m *PostReceivePackResponse) String() string { return proto.CompactTextString(m) }
func (*PostReceivePackResponse) ProtoMessage() {}
func (*PostReceivePackResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{5} }
func (*PostReceivePackResponse) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{5} }
func (m *PostReceivePackResponse) GetData() []byte {
if m != nil {
......@@ -459,29 +485,33 @@ var _SmartHTTPService_serviceDesc = grpc.ServiceDesc{
Metadata: "smarthttp.proto",
}
func init() { proto.RegisterFile("smarthttp.proto", fileDescriptor8) }
var fileDescriptor8 = []byte{
// 327 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0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0x84,
0x2d, 0xd8, 0xf3, 0xc4, 0xdc, 0x77, 0x3b, 0xbb, 0x5d, 0xd2, 0xdb, 0xa7, 0x55, 0x4f, 0x8c, 0x5c,
0xbc, 0x80, 0x43, 0x4f, 0xcc, 0x33, 0xfc, 0xd5, 0x10, 0xac, 0x7b, 0x22, 0x65, 0xb6, 0xaf, 0xa1,
0x5d, 0xf0, 0x56, 0xbe, 0xcb, 0xf0, 0xa3, 0x02, 0xcd, 0xc9, 0x57, 0xe6, 0x77, 0xd3, 0xe9, 0x78,
0xc2, 0xd5, 0xda, 0x77, 0x38, 0xde, 0x03, 0xc6, 0xb9, 0xa4, 0x27, 0xc1, 0x76, 0xbc, 0x47, 0x2e,
0x7a, 0xab, 0x53, 0x04, 0x22, 0x45, 0x7b, 0x67, 0x40, 0xf0, 0x01, 0x5a, 0x69, 0x3d, 0x31, 0xf5,
0x5b, 0xb6, 0x19, 0x1c, 0x6d, 0x27, 0x85, 0xa7, 0x71, 0xff, 0xb7, 0xbf, 0x88, 0x75, 0x56, 0x06,
0xc7, 0xa4, 0x3d, 0x32, 0x20, 0xf8, 0x08, 0x8d, 0xdc, 0xd5, 0x70, 0x6b, 0xb0, 0x18, 0xb5, 0x75,
0x5e, 0x8a, 0x67, 0x99, 0x9f, 0x6a, 0xe1, 0x8b, 0xb9, 0xf9, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xbe,
0x10, 0x08, 0x81, 0x5a, 0x03, 0x00, 0x00,
func init() { proto.RegisterFile("smarthttp.proto", fileDescriptor12) }
var fileDescriptor12 = []byte{
// 386 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x93, 0xdd, 0xee, 0xd2, 0x40,
0x10, 0xc5, 0x5d, 0xbe, 0x12, 0x06, 0x14, 0x32, 0x44, 0x69, 0x9a, 0x28, 0xa4, 0x26, 0xa6, 0x17,
0x48, 0x08, 0x3e, 0x82, 0x37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0x6f, 0xa7, 0x3c,
0xe4, 0xf2, 0xc8, 0x1f, 0x02, 0x7f, 0x00, 0x4d, 0xa1, 0x02, 0x19, 0x39, 0xf5, 0x31, 0xf1, 0xdb,
0xb4, 0x21, 0xd4, 0x22, 0xc2, 0x97, 0xf0, 0x58, 0xa8, 0xe0, 0xc2, 0xbf, 0x91, 0x89, 0x5d, 0xa1,
0x4a, 0x67, 0x1c, 0x41, 0x47, 0xa8, 0xe0, 0x60, 0x78, 0x1a, 0xb3, 0x3d, 0x77, 0x9a, 0x59, 0x0b,
0x08, 0xb5, 0xf9, 0x5d, 0xf1, 0x5e, 0xc3, 0xf0, 0x0e, 0xbe, 0xfa, 0xb2, 0xf3, 0x1f, 0x35, 0xe8,
0xaf, 0x7e, 0x6d, 0xdc, 0xbb, 0xf5, 0x7a, 0xb9, 0xe2, 0xe9, 0x51, 0x86, 0x1c, 0xdf, 0x03, 0x16,
0x73, 0x2e, 0xdf, 0x0c, 0x87, 0xc5, 0x45, 0x6f, 0x16, 0xcf, 0x75, 0xee, 0x85, 0x3c, 0xd1, 0x7b,
0x34, 0x23, 0xf8, 0x01, 0x06, 0x65, 0xfd, 0x0c, 0xf5, 0xaf, 0x6e, 0x1b, 0x78, 0x72, 0x3d, 0x4a,
0x7c, 0x5e, 0xf4, 0xff, 0x71, 0xe3, 0xdc, 0x17, 0x55, 0x72, 0x61, 0xea, 0x93, 0x19, 0xc1, 0x4f,
0xd0, 0xbb, 0x79, 0x35, 0xbc, 0x3a, 0x78, 0xbf, 0x0b, 0xee, 0xa8, 0x52, 0xbf, 0x74, 0xfe, 0xdc,
0xca, 0xfe, 0xd7, 0x37, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x85, 0x01, 0x06, 0xd8, 0x03,
0x00, 0x00,
}
......@@ -29,7 +29,7 @@ type SSHUploadPackRequest struct {
func (m *SSHUploadPackRequest) Reset() { *m = SSHUploadPackRequest{} }
func (m *SSHUploadPackRequest) String() string { return proto.CompactTextString(m) }
func (*SSHUploadPackRequest) ProtoMessage() {}
func (*SSHUploadPackRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{0} }
func (*SSHUploadPackRequest) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{0} }
func (m *SSHUploadPackRequest) GetRepository() *Repository {
if m != nil {
......@@ -65,7 +65,7 @@ type SSHUploadPackResponse struct {
func (m *SSHUploadPackResponse) Reset() { *m = SSHUploadPackResponse{} }
func (m *SSHUploadPackResponse) String() string { return proto.CompactTextString(m) }
func (*SSHUploadPackResponse) ProtoMessage() {}
func (*SSHUploadPackResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{1} }
func (*SSHUploadPackResponse) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{1} }
func (m *SSHUploadPackResponse) GetStdout() []byte {
if m != nil {
......@@ -93,16 +93,17 @@ type SSHReceivePackRequest 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"`
// Contents of GL_ID and GL_REPOSITORY environment variables for
// 'git receive-pack'
// Contents of GL_ID, GL_REPOSITORY, and GL_USERNAME environment variables
// for 'git receive-pack'
GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId" json:"gl_id,omitempty"`
GlRepository string `protobuf:"bytes,4,opt,name=gl_repository,json=glRepository" json:"gl_repository,omitempty"`
GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername" json:"gl_username,omitempty"`
}
func (m *SSHReceivePackRequest) Reset() { *m = SSHReceivePackRequest{} }
func (m *SSHReceivePackRequest) String() string { return proto.CompactTextString(m) }
func (*SSHReceivePackRequest) ProtoMessage() {}
func (*SSHReceivePackRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{2} }
func (*SSHReceivePackRequest) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{2} }
func (m *SSHReceivePackRequest) GetRepository() *Repository {
if m != nil {
......@@ -132,6 +133,13 @@ func (m *SSHReceivePackRequest) GetGlRepository() string {
return ""
}
func (m *SSHReceivePackRequest) GetGlUsername() string {
if m != nil {
return m.GlUsername
}
return ""
}
type SSHReceivePackResponse struct {
// A chunk of raw data from 'git receive-pack' standard output
Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
......@@ -145,7 +153,7 @@ type SSHReceivePackResponse struct {
func (m *SSHReceivePackResponse) Reset() { *m = SSHReceivePackResponse{} }
func (m *SSHReceivePackResponse) String() string { return proto.CompactTextString(m) }
func (*SSHReceivePackResponse) ProtoMessage() {}
func (*SSHReceivePackResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{3} }
func (*SSHReceivePackResponse) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{3} }
func (m *SSHReceivePackResponse) GetStdout() []byte {
if m != nil {
......@@ -348,31 +356,32 @@ var _SSHService_serviceDesc = grpc.ServiceDesc{
Metadata: "ssh.proto",
}
func init() { proto.RegisterFile("ssh.proto", fileDescriptor9) }
var fileDescriptor9 = []byte{
// 360 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x93, 0xc1, 0x4e, 0xf2, 0x40,
0x10, 0xc7, 0xbf, 0xfd, 0x28, 0xe4, 0x63, 0x28, 0x5f, 0xc8, 0x0a, 0xa4, 0x21, 0x6a, 0x48, 0xbd,
0xf4, 0x60, 0x88, 0x81, 0x47, 0x30, 0x26, 0xe8, 0x45, 0xb3, 0x0d, 0xe7, 0xa6, 0xb6, 0xeb, 0xb2,
0xb1, 0x76, 0xeb, 0xee, 0x40, 0x20, 0xd1, 0x27, 0xf1, 0x11, 0x7c, 0x00, 0x5f, 0xcf, 0xa4, 0xad,
0x58, 0x50, 0x8e, 0x7a, 0xdb, 0x99, 0xdf, 0xce, 0xcc, 0x7f, 0x66, 0x76, 0x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, 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,
func init() { proto.RegisterFile("ssh.proto", fileDescriptor13) }
var fileDescriptor13 = []byte{
// 377 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x53, 0xcd, 0xce, 0xd2, 0x40,
0x14, 0x75, 0xa4, 0x10, 0xb9, 0xf4, 0x33, 0x64, 0x04, 0xd2, 0x10, 0x7f, 0x48, 0xdd, 0x74, 0x61,
0x88, 0x81, 0x47, 0x30, 0x26, 0xe8, 0x46, 0x33, 0x0d, 0xeb, 0x66, 0x6c, 0xaf, 0xc3, 0xc4, 0xa1,
0x53, 0x67, 0xa6, 0x04, 0x12, 0x7d, 0x22, 0x1f, 0xc0, 0x8d, 0x0f, 0x67, 0x32, 0xad, 0x58, 0x50,
0x96, 0xba, 0xeb, 0x3d, 0xe7, 0xfe, 0x9c, 0x73, 0x6f, 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x41, 0x5f, 0xa8, 0x4c, 0x16, 0x5e, 0xd2, 0x90, 0x05, 0x42, 0xbd, 0x29, 0xe8, 0x73, 0xb8, 0x13,
0x2a, 0xeb, 0x4c, 0x08, 0x3c, 0x19, 0x0a, 0xf5, 0xbb, 0x37, 0x7d, 0x06, 0x23, 0xa1, 0xb2, 0xda,
0xa2, 0x29, 0xf9, 0x1e, 0xa3, 0xbe, 0x4f, 0x01, 0xa1, 0xb6, 0x2d, 0x12, 0x7f, 0x85, 0xd9, 0xb5,
0xfa, 0xff, 0xb8, 0xbd, 0xd5, 0x77, 0x02, 0x90, 0xa6, 0x9b, 0x14, 0xcd, 0x41, 0xe6, 0x48, 0x19,
0xdc, 0x5d, 0x9c, 0x92, 0x3e, 0xfe, 0x55, 0xff, 0xb7, 0xdf, 0x71, 0xfe, 0xe4, 0x06, 0xdb, 0x38,
0x88, 0xef, 0x25, 0xe4, 0x25, 0xa1, 0x5b, 0x78, 0x78, 0xe9, 0x90, 0x76, 0xcb, 0xfe, 0xbc, 0xdb,
0xfc, 0xe9, 0x2d, 0xba, 0xdb, 0xf6, 0xc3, 0xc0, 0x3f, 0x95, 0xf5, 0xcf, 0x00, 0x00, 0x00, 0xff,
0xff, 0x1b, 0x65, 0x3d, 0xab, 0x4d, 0x03, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: wiki.proto
package gitaly
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type WikiCommitDetails struct {
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
Message []byte `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
}
func (m *WikiCommitDetails) Reset() { *m = WikiCommitDetails{} }
func (m *WikiCommitDetails) String() string { return proto.CompactTextString(m) }
func (*WikiCommitDetails) ProtoMessage() {}
func (*WikiCommitDetails) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{0} }
func (m *WikiCommitDetails) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *WikiCommitDetails) GetEmail() []byte {
if m != nil {
return m.Email
}
return nil
}
func (m *WikiCommitDetails) GetMessage() []byte {
if m != nil {
return m.Message
}
return nil
}
type WikiPageVersion struct {
Commit *GitCommit `protobuf:"bytes,1,opt,name=commit" json:"commit,omitempty"`
Format string `protobuf:"bytes,2,opt,name=format" json:"format,omitempty"`
}
func (m *WikiPageVersion) Reset() { *m = WikiPageVersion{} }
func (m *WikiPageVersion) String() string { return proto.CompactTextString(m) }
func (*WikiPageVersion) ProtoMessage() {}
func (*WikiPageVersion) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{1} }
func (m *WikiPageVersion) GetCommit() *GitCommit {
if m != nil {
return m.Commit
}
return nil
}
func (m *WikiPageVersion) GetFormat() string {
if m != nil {
return m.Format
}
return ""
}
type WikiPage struct {
// These fields are only present in the first message of a WikiPage stream
Version *WikiPageVersion `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
Format string `protobuf:"bytes,2,opt,name=format" json:"format,omitempty"`
Title []byte `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
UrlPath string `protobuf:"bytes,4,opt,name=url_path,json=urlPath" json:"url_path,omitempty"`
Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
Name []byte `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
Historical bool `protobuf:"varint,7,opt,name=historical" json:"historical,omitempty"`
// This field is present in all messages of a WikiPage stream
RawData []byte `protobuf:"bytes,8,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"`
}
func (m *WikiPage) Reset() { *m = WikiPage{} }
func (m *WikiPage) String() string { return proto.CompactTextString(m) }
func (*WikiPage) ProtoMessage() {}
func (*WikiPage) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{2} }
func (m *WikiPage) GetVersion() *WikiPageVersion {
if m != nil {
return m.Version
}
return nil
}
func (m *WikiPage) GetFormat() string {
if m != nil {
return m.Format
}
return ""
}
func (m *WikiPage) GetTitle() []byte {
if m != nil {
return m.Title
}
return nil
}
func (m *WikiPage) GetUrlPath() string {
if m != nil {
return m.UrlPath
}
return ""
}
func (m *WikiPage) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
func (m *WikiPage) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *WikiPage) GetHistorical() bool {
if m != nil {
return m.Historical
}
return false
}
func (m *WikiPage) GetRawData() []byte {
if m != nil {
return m.RawData
}
return nil
}
type WikiGetPageVersionsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
PagePath []byte `protobuf:"bytes,2,opt,name=page_path,json=pagePath,proto3" json:"page_path,omitempty"`
Page int32 `protobuf:"varint,3,opt,name=page" json:"page,omitempty"`
PerPage int32 `protobuf:"varint,4,opt,name=per_page,json=perPage" json:"per_page,omitempty"`
}
func (m *WikiGetPageVersionsRequest) Reset() { *m = WikiGetPageVersionsRequest{} }
func (m *WikiGetPageVersionsRequest) String() string { return proto.CompactTextString(m) }
func (*WikiGetPageVersionsRequest) ProtoMessage() {}
func (*WikiGetPageVersionsRequest) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{3} }
func (m *WikiGetPageVersionsRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *WikiGetPageVersionsRequest) GetPagePath() []byte {
if m != nil {
return m.PagePath
}
return nil
}
func (m *WikiGetPageVersionsRequest) GetPage() int32 {
if m != nil {
return m.Page
}
return 0
}
func (m *WikiGetPageVersionsRequest) GetPerPage() int32 {
if m != nil {
return m.PerPage
}
return 0
}
type WikiGetPageVersionsResponse struct {
Versions []*WikiPageVersion `protobuf:"bytes,1,rep,name=versions" json:"versions,omitempty"`
}
func (m *WikiGetPageVersionsResponse) Reset() { *m = WikiGetPageVersionsResponse{} }
func (m *WikiGetPageVersionsResponse) String() string { return proto.CompactTextString(m) }
func (*WikiGetPageVersionsResponse) ProtoMessage() {}
func (*WikiGetPageVersionsResponse) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{4} }
func (m *WikiGetPageVersionsResponse) GetVersions() []*WikiPageVersion {
if m != nil {
return m.Versions
}
return nil
}
// This message is sent in a stream because the 'content' field may be large.
type WikiWritePageRequest struct {
// These following fields are only present in the first message.
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Format string `protobuf:"bytes,3,opt,name=format" json:"format,omitempty"`
CommitDetails *WikiCommitDetails `protobuf:"bytes,4,opt,name=commit_details,json=commitDetails" json:"commit_details,omitempty"`
// This field is present in all messages.
Content []byte `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
}
func (m *WikiWritePageRequest) Reset() { *m = WikiWritePageRequest{} }
func (m *WikiWritePageRequest) String() string { return proto.CompactTextString(m) }
func (*WikiWritePageRequest) ProtoMessage() {}
func (*WikiWritePageRequest) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{5} }
func (m *WikiWritePageRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *WikiWritePageRequest) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *WikiWritePageRequest) GetFormat() string {
if m != nil {
return m.Format
}
return ""
}
func (m *WikiWritePageRequest) GetCommitDetails() *WikiCommitDetails {
if m != nil {
return m.CommitDetails
}
return nil
}
func (m *WikiWritePageRequest) GetContent() []byte {
if m != nil {
return m.Content
}
return nil
}
type WikiWritePageResponse struct {
DuplicateError []byte `protobuf:"bytes,1,opt,name=duplicate_error,json=duplicateError,proto3" json:"duplicate_error,omitempty"`
}
func (m *WikiWritePageResponse) Reset() { *m = WikiWritePageResponse{} }
func (m *WikiWritePageResponse) String() string { return proto.CompactTextString(m) }
func (*WikiWritePageResponse) ProtoMessage() {}
func (*WikiWritePageResponse) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{6} }
func (m *WikiWritePageResponse) GetDuplicateError() []byte {
if m != nil {
return m.DuplicateError
}
return nil
}
type WikiUpdatePageRequest struct {
// There fields are only present in the first message of the stream
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
PagePath []byte `protobuf:"bytes,2,opt,name=page_path,json=pagePath,proto3" json:"page_path,omitempty"`
Title []byte `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
Format string `protobuf:"bytes,4,opt,name=format" json:"format,omitempty"`
CommitDetails *WikiCommitDetails `protobuf:"bytes,5,opt,name=commit_details,json=commitDetails" json:"commit_details,omitempty"`
// This field is present in all messages
Content []byte `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"`
}
func (m *WikiUpdatePageRequest) Reset() { *m = WikiUpdatePageRequest{} }
func (m *WikiUpdatePageRequest) String() string { return proto.CompactTextString(m) }
func (*WikiUpdatePageRequest) ProtoMessage() {}
func (*WikiUpdatePageRequest) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{7} }
func (m *WikiUpdatePageRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *WikiUpdatePageRequest) GetPagePath() []byte {
if m != nil {
return m.PagePath
}
return nil
}
func (m *WikiUpdatePageRequest) GetTitle() []byte {
if m != nil {
return m.Title
}
return nil
}
func (m *WikiUpdatePageRequest) GetFormat() string {
if m != nil {
return m.Format
}
return ""
}
func (m *WikiUpdatePageRequest) GetCommitDetails() *WikiCommitDetails {
if m != nil {
return m.CommitDetails
}
return nil
}
func (m *WikiUpdatePageRequest) GetContent() []byte {
if m != nil {
return m.Content
}
return nil
}
type WikiUpdatePageResponse struct {
Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
}
func (m *WikiUpdatePageResponse) Reset() { *m = WikiUpdatePageResponse{} }
func (m *WikiUpdatePageResponse) String() string { return proto.CompactTextString(m) }
func (*WikiUpdatePageResponse) ProtoMessage() {}
func (*WikiUpdatePageResponse) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{8} }
func (m *WikiUpdatePageResponse) GetError() []byte {
if m != nil {
return m.Error
}
return nil
}
type WikiDeletePageRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
PagePath []byte `protobuf:"bytes,2,opt,name=page_path,json=pagePath,proto3" json:"page_path,omitempty"`
CommitDetails *WikiCommitDetails `protobuf:"bytes,3,opt,name=commit_details,json=commitDetails" json:"commit_details,omitempty"`
}
func (m *WikiDeletePageRequest) Reset() { *m = WikiDeletePageRequest{} }
func (m *WikiDeletePageRequest) String() string { return proto.CompactTextString(m) }
func (*WikiDeletePageRequest) ProtoMessage() {}
func (*WikiDeletePageRequest) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{9} }
func (m *WikiDeletePageRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *WikiDeletePageRequest) GetPagePath() []byte {
if m != nil {
return m.PagePath
}
return nil
}
func (m *WikiDeletePageRequest) GetCommitDetails() *WikiCommitDetails {
if m != nil {
return m.CommitDetails
}
return nil
}
type WikiDeletePageResponse struct {
}
func (m *WikiDeletePageResponse) Reset() { *m = WikiDeletePageResponse{} }
func (m *WikiDeletePageResponse) String() string { return proto.CompactTextString(m) }
func (*WikiDeletePageResponse) ProtoMessage() {}
func (*WikiDeletePageResponse) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{10} }
type WikiFindPageRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Title []byte `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
Directory []byte `protobuf:"bytes,4,opt,name=directory,proto3" json:"directory,omitempty"`
}
func (m *WikiFindPageRequest) Reset() { *m = WikiFindPageRequest{} }
func (m *WikiFindPageRequest) String() string { return proto.CompactTextString(m) }
func (*WikiFindPageRequest) ProtoMessage() {}
func (*WikiFindPageRequest) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{11} }
func (m *WikiFindPageRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *WikiFindPageRequest) GetTitle() []byte {
if m != nil {
return m.Title
}
return nil
}
func (m *WikiFindPageRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return nil
}
func (m *WikiFindPageRequest) GetDirectory() []byte {
if m != nil {
return m.Directory
}
return nil
}
// WikiFindPageResponse is a stream because we need multiple WikiPage
// messages to send the raw_data field.
type WikiFindPageResponse struct {
Page *WikiPage `protobuf:"bytes,1,opt,name=page" json:"page,omitempty"`
}
func (m *WikiFindPageResponse) Reset() { *m = WikiFindPageResponse{} }
func (m *WikiFindPageResponse) String() string { return proto.CompactTextString(m) }
func (*WikiFindPageResponse) ProtoMessage() {}
func (*WikiFindPageResponse) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{12} }
func (m *WikiFindPageResponse) GetPage() *WikiPage {
if m != nil {
return m.Page
}
return nil
}
type WikiFindFileRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Optional: revision
Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
}
func (m *WikiFindFileRequest) Reset() { *m = WikiFindFileRequest{} }
func (m *WikiFindFileRequest) String() string { return proto.CompactTextString(m) }
func (*WikiFindFileRequest) ProtoMessage() {}
func (*WikiFindFileRequest) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{13} }
func (m *WikiFindFileRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *WikiFindFileRequest) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *WikiFindFileRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return nil
}
type WikiFindFileResponse struct {
// If 'name' is empty, the file was not found.
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
RawData []byte `protobuf:"bytes,3,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"`
Path []byte `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
}
func (m *WikiFindFileResponse) Reset() { *m = WikiFindFileResponse{} }
func (m *WikiFindFileResponse) String() string { return proto.CompactTextString(m) }
func (*WikiFindFileResponse) ProtoMessage() {}
func (*WikiFindFileResponse) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{14} }
func (m *WikiFindFileResponse) GetName() []byte {
if m != nil {
return m.Name
}
return nil
}
func (m *WikiFindFileResponse) GetMimeType() string {
if m != nil {
return m.MimeType
}
return ""
}
func (m *WikiFindFileResponse) GetRawData() []byte {
if m != nil {
return m.RawData
}
return nil
}
func (m *WikiFindFileResponse) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
type WikiGetAllPagesRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func (m *WikiGetAllPagesRequest) Reset() { *m = WikiGetAllPagesRequest{} }
func (m *WikiGetAllPagesRequest) String() string { return proto.CompactTextString(m) }
func (*WikiGetAllPagesRequest) ProtoMessage() {}
func (*WikiGetAllPagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{15} }
func (m *WikiGetAllPagesRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
// The WikiGetAllPagesResponse stream is a concatenation of WikiPage streams
type WikiGetAllPagesResponse struct {
Page *WikiPage `protobuf:"bytes,1,opt,name=page" json:"page,omitempty"`
// When end_of_page is true it signals a change of page for the next Response message (if any)
EndOfPage bool `protobuf:"varint,2,opt,name=end_of_page,json=endOfPage" json:"end_of_page,omitempty"`
}
func (m *WikiGetAllPagesResponse) Reset() { *m = WikiGetAllPagesResponse{} }
func (m *WikiGetAllPagesResponse) String() string { return proto.CompactTextString(m) }
func (*WikiGetAllPagesResponse) ProtoMessage() {}
func (*WikiGetAllPagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{16} }
func (m *WikiGetAllPagesResponse) GetPage() *WikiPage {
if m != nil {
return m.Page
}
return nil
}
func (m *WikiGetAllPagesResponse) GetEndOfPage() bool {
if m != nil {
return m.EndOfPage
}
return false
}
func init() {
proto.RegisterType((*WikiCommitDetails)(nil), "gitaly.WikiCommitDetails")
proto.RegisterType((*WikiPageVersion)(nil), "gitaly.WikiPageVersion")
proto.RegisterType((*WikiPage)(nil), "gitaly.WikiPage")
proto.RegisterType((*WikiGetPageVersionsRequest)(nil), "gitaly.WikiGetPageVersionsRequest")
proto.RegisterType((*WikiGetPageVersionsResponse)(nil), "gitaly.WikiGetPageVersionsResponse")
proto.RegisterType((*WikiWritePageRequest)(nil), "gitaly.WikiWritePageRequest")
proto.RegisterType((*WikiWritePageResponse)(nil), "gitaly.WikiWritePageResponse")
proto.RegisterType((*WikiUpdatePageRequest)(nil), "gitaly.WikiUpdatePageRequest")
proto.RegisterType((*WikiUpdatePageResponse)(nil), "gitaly.WikiUpdatePageResponse")
proto.RegisterType((*WikiDeletePageRequest)(nil), "gitaly.WikiDeletePageRequest")
proto.RegisterType((*WikiDeletePageResponse)(nil), "gitaly.WikiDeletePageResponse")
proto.RegisterType((*WikiFindPageRequest)(nil), "gitaly.WikiFindPageRequest")
proto.RegisterType((*WikiFindPageResponse)(nil), "gitaly.WikiFindPageResponse")
proto.RegisterType((*WikiFindFileRequest)(nil), "gitaly.WikiFindFileRequest")
proto.RegisterType((*WikiFindFileResponse)(nil), "gitaly.WikiFindFileResponse")
proto.RegisterType((*WikiGetAllPagesRequest)(nil), "gitaly.WikiGetAllPagesRequest")
proto.RegisterType((*WikiGetAllPagesResponse)(nil), "gitaly.WikiGetAllPagesResponse")
}
// 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 WikiService service
type WikiServiceClient interface {
WikiGetPageVersions(ctx context.Context, in *WikiGetPageVersionsRequest, opts ...grpc.CallOption) (WikiService_WikiGetPageVersionsClient, error)
WikiWritePage(ctx context.Context, opts ...grpc.CallOption) (WikiService_WikiWritePageClient, error)
WikiUpdatePage(ctx context.Context, opts ...grpc.CallOption) (WikiService_WikiUpdatePageClient, error)
WikiDeletePage(ctx context.Context, in *WikiDeletePageRequest, opts ...grpc.CallOption) (*WikiDeletePageResponse, error)
// WikiFindPage returns a stream because the page's raw_data field may be arbitrarily large.
WikiFindPage(ctx context.Context, in *WikiFindPageRequest, opts ...grpc.CallOption) (WikiService_WikiFindPageClient, error)
WikiFindFile(ctx context.Context, in *WikiFindFileRequest, opts ...grpc.CallOption) (WikiService_WikiFindFileClient, error)
WikiGetAllPages(ctx context.Context, in *WikiGetAllPagesRequest, opts ...grpc.CallOption) (WikiService_WikiGetAllPagesClient, error)
}
type wikiServiceClient struct {
cc *grpc.ClientConn
}
func NewWikiServiceClient(cc *grpc.ClientConn) WikiServiceClient {
return &wikiServiceClient{cc}
}
func (c *wikiServiceClient) WikiGetPageVersions(ctx context.Context, in *WikiGetPageVersionsRequest, opts ...grpc.CallOption) (WikiService_WikiGetPageVersionsClient, error) {
stream, err := grpc.NewClientStream(ctx, &_WikiService_serviceDesc.Streams[0], c.cc, "/gitaly.WikiService/WikiGetPageVersions", opts...)
if err != nil {
return nil, err
}
x := &wikiServiceWikiGetPageVersionsClient{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 WikiService_WikiGetPageVersionsClient interface {
Recv() (*WikiGetPageVersionsResponse, error)
grpc.ClientStream
}
type wikiServiceWikiGetPageVersionsClient struct {
grpc.ClientStream
}
func (x *wikiServiceWikiGetPageVersionsClient) Recv() (*WikiGetPageVersionsResponse, error) {
m := new(WikiGetPageVersionsResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *wikiServiceClient) WikiWritePage(ctx context.Context, opts ...grpc.CallOption) (WikiService_WikiWritePageClient, error) {
stream, err := grpc.NewClientStream(ctx, &_WikiService_serviceDesc.Streams[1], c.cc, "/gitaly.WikiService/WikiWritePage", opts...)
if err != nil {
return nil, err
}
x := &wikiServiceWikiWritePageClient{stream}
return x, nil
}
type WikiService_WikiWritePageClient interface {
Send(*WikiWritePageRequest) error
CloseAndRecv() (*WikiWritePageResponse, error)
grpc.ClientStream
}
type wikiServiceWikiWritePageClient struct {
grpc.ClientStream
}
func (x *wikiServiceWikiWritePageClient) Send(m *WikiWritePageRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *wikiServiceWikiWritePageClient) CloseAndRecv() (*WikiWritePageResponse, error) {
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
m := new(WikiWritePageResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *wikiServiceClient) WikiUpdatePage(ctx context.Context, opts ...grpc.CallOption) (WikiService_WikiUpdatePageClient, error) {
stream, err := grpc.NewClientStream(ctx, &_WikiService_serviceDesc.Streams[2], c.cc, "/gitaly.WikiService/WikiUpdatePage", opts...)
if err != nil {
return nil, err
}
x := &wikiServiceWikiUpdatePageClient{stream}
return x, nil
}
type WikiService_WikiUpdatePageClient interface {
Send(*WikiUpdatePageRequest) error
CloseAndRecv() (*WikiUpdatePageResponse, error)
grpc.ClientStream
}
type wikiServiceWikiUpdatePageClient struct {
grpc.ClientStream
}
func (x *wikiServiceWikiUpdatePageClient) Send(m *WikiUpdatePageRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *wikiServiceWikiUpdatePageClient) CloseAndRecv() (*WikiUpdatePageResponse, error) {
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
m := new(WikiUpdatePageResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *wikiServiceClient) WikiDeletePage(ctx context.Context, in *WikiDeletePageRequest, opts ...grpc.CallOption) (*WikiDeletePageResponse, error) {
out := new(WikiDeletePageResponse)
err := grpc.Invoke(ctx, "/gitaly.WikiService/WikiDeletePage", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *wikiServiceClient) WikiFindPage(ctx context.Context, in *WikiFindPageRequest, opts ...grpc.CallOption) (WikiService_WikiFindPageClient, error) {
stream, err := grpc.NewClientStream(ctx, &_WikiService_serviceDesc.Streams[3], c.cc, "/gitaly.WikiService/WikiFindPage", opts...)
if err != nil {
return nil, err
}
x := &wikiServiceWikiFindPageClient{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 WikiService_WikiFindPageClient interface {
Recv() (*WikiFindPageResponse, error)
grpc.ClientStream
}
type wikiServiceWikiFindPageClient struct {
grpc.ClientStream
}
func (x *wikiServiceWikiFindPageClient) Recv() (*WikiFindPageResponse, error) {
m := new(WikiFindPageResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *wikiServiceClient) WikiFindFile(ctx context.Context, in *WikiFindFileRequest, opts ...grpc.CallOption) (WikiService_WikiFindFileClient, error) {
stream, err := grpc.NewClientStream(ctx, &_WikiService_serviceDesc.Streams[4], c.cc, "/gitaly.WikiService/WikiFindFile", opts...)
if err != nil {
return nil, err
}
x := &wikiServiceWikiFindFileClient{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 WikiService_WikiFindFileClient interface {
Recv() (*WikiFindFileResponse, error)
grpc.ClientStream
}
type wikiServiceWikiFindFileClient struct {
grpc.ClientStream
}
func (x *wikiServiceWikiFindFileClient) Recv() (*WikiFindFileResponse, error) {
m := new(WikiFindFileResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *wikiServiceClient) WikiGetAllPages(ctx context.Context, in *WikiGetAllPagesRequest, opts ...grpc.CallOption) (WikiService_WikiGetAllPagesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_WikiService_serviceDesc.Streams[5], c.cc, "/gitaly.WikiService/WikiGetAllPages", opts...)
if err != nil {
return nil, err
}
x := &wikiServiceWikiGetAllPagesClient{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 WikiService_WikiGetAllPagesClient interface {
Recv() (*WikiGetAllPagesResponse, error)
grpc.ClientStream
}
type wikiServiceWikiGetAllPagesClient struct {
grpc.ClientStream
}
func (x *wikiServiceWikiGetAllPagesClient) Recv() (*WikiGetAllPagesResponse, error) {
m := new(WikiGetAllPagesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for WikiService service
type WikiServiceServer interface {
WikiGetPageVersions(*WikiGetPageVersionsRequest, WikiService_WikiGetPageVersionsServer) error
WikiWritePage(WikiService_WikiWritePageServer) error
WikiUpdatePage(WikiService_WikiUpdatePageServer) error
WikiDeletePage(context.Context, *WikiDeletePageRequest) (*WikiDeletePageResponse, error)
// WikiFindPage returns a stream because the page's raw_data field may be arbitrarily large.
WikiFindPage(*WikiFindPageRequest, WikiService_WikiFindPageServer) error
WikiFindFile(*WikiFindFileRequest, WikiService_WikiFindFileServer) error
WikiGetAllPages(*WikiGetAllPagesRequest, WikiService_WikiGetAllPagesServer) error
}
func RegisterWikiServiceServer(s *grpc.Server, srv WikiServiceServer) {
s.RegisterService(&_WikiService_serviceDesc, srv)
}
func _WikiService_WikiGetPageVersions_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(WikiGetPageVersionsRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(WikiServiceServer).WikiGetPageVersions(m, &wikiServiceWikiGetPageVersionsServer{stream})
}
type WikiService_WikiGetPageVersionsServer interface {
Send(*WikiGetPageVersionsResponse) error
grpc.ServerStream
}
type wikiServiceWikiGetPageVersionsServer struct {
grpc.ServerStream
}
func (x *wikiServiceWikiGetPageVersionsServer) Send(m *WikiGetPageVersionsResponse) error {
return x.ServerStream.SendMsg(m)
}
func _WikiService_WikiWritePage_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(WikiServiceServer).WikiWritePage(&wikiServiceWikiWritePageServer{stream})
}
type WikiService_WikiWritePageServer interface {
SendAndClose(*WikiWritePageResponse) error
Recv() (*WikiWritePageRequest, error)
grpc.ServerStream
}
type wikiServiceWikiWritePageServer struct {
grpc.ServerStream
}
func (x *wikiServiceWikiWritePageServer) SendAndClose(m *WikiWritePageResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *wikiServiceWikiWritePageServer) Recv() (*WikiWritePageRequest, error) {
m := new(WikiWritePageRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func _WikiService_WikiUpdatePage_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(WikiServiceServer).WikiUpdatePage(&wikiServiceWikiUpdatePageServer{stream})
}
type WikiService_WikiUpdatePageServer interface {
SendAndClose(*WikiUpdatePageResponse) error
Recv() (*WikiUpdatePageRequest, error)
grpc.ServerStream
}
type wikiServiceWikiUpdatePageServer struct {
grpc.ServerStream
}
func (x *wikiServiceWikiUpdatePageServer) SendAndClose(m *WikiUpdatePageResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *wikiServiceWikiUpdatePageServer) Recv() (*WikiUpdatePageRequest, error) {
m := new(WikiUpdatePageRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func _WikiService_WikiDeletePage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(WikiDeletePageRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WikiServiceServer).WikiDeletePage(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.WikiService/WikiDeletePage",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WikiServiceServer).WikiDeletePage(ctx, req.(*WikiDeletePageRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WikiService_WikiFindPage_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(WikiFindPageRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(WikiServiceServer).WikiFindPage(m, &wikiServiceWikiFindPageServer{stream})
}
type WikiService_WikiFindPageServer interface {
Send(*WikiFindPageResponse) error
grpc.ServerStream
}
type wikiServiceWikiFindPageServer struct {
grpc.ServerStream
}
func (x *wikiServiceWikiFindPageServer) Send(m *WikiFindPageResponse) error {
return x.ServerStream.SendMsg(m)
}
func _WikiService_WikiFindFile_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(WikiFindFileRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(WikiServiceServer).WikiFindFile(m, &wikiServiceWikiFindFileServer{stream})
}
type WikiService_WikiFindFileServer interface {
Send(*WikiFindFileResponse) error
grpc.ServerStream
}
type wikiServiceWikiFindFileServer struct {
grpc.ServerStream
}
func (x *wikiServiceWikiFindFileServer) Send(m *WikiFindFileResponse) error {
return x.ServerStream.SendMsg(m)
}
func _WikiService_WikiGetAllPages_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(WikiGetAllPagesRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(WikiServiceServer).WikiGetAllPages(m, &wikiServiceWikiGetAllPagesServer{stream})
}
type WikiService_WikiGetAllPagesServer interface {
Send(*WikiGetAllPagesResponse) error
grpc.ServerStream
}
type wikiServiceWikiGetAllPagesServer struct {
grpc.ServerStream
}
func (x *wikiServiceWikiGetAllPagesServer) Send(m *WikiGetAllPagesResponse) error {
return x.ServerStream.SendMsg(m)
}
var _WikiService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.WikiService",
HandlerType: (*WikiServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "WikiDeletePage",
Handler: _WikiService_WikiDeletePage_Handler,
},
},
Streams: []grpc.StreamDesc{
{
StreamName: "WikiGetPageVersions",
Handler: _WikiService_WikiGetPageVersions_Handler,
ServerStreams: true,
},
{
StreamName: "WikiWritePage",
Handler: _WikiService_WikiWritePage_Handler,
ClientStreams: true,
},
{
StreamName: "WikiUpdatePage",
Handler: _WikiService_WikiUpdatePage_Handler,
ClientStreams: true,
},
{
StreamName: "WikiFindPage",
Handler: _WikiService_WikiFindPage_Handler,
ServerStreams: true,
},
{
StreamName: "WikiFindFile",
Handler: _WikiService_WikiFindFile_Handler,
ServerStreams: true,
},
{
StreamName: "WikiGetAllPages",
Handler: _WikiService_WikiGetAllPages_Handler,
ServerStreams: true,
},
},
Metadata: "wiki.proto",
}
func init() { proto.RegisterFile("wiki.proto", fileDescriptor14) }
var fileDescriptor14 = []byte{
// 846 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcd, 0x72, 0xdc, 0x44,
0x10, 0x8e, 0xbc, 0xeb, 0x5d, 0x6d, 0xdb, 0x71, 0xc8, 0x10, 0x12, 0x45, 0x36, 0xc6, 0x35, 0x50,
0x85, 0xb9, 0xb8, 0xc0, 0xb9, 0x72, 0x08, 0x85, 0x89, 0x2f, 0x50, 0x18, 0x25, 0xc4, 0x47, 0xd5,
0x64, 0xd5, 0xf6, 0x4e, 0x45, 0x7f, 0x8c, 0x66, 0xd7, 0xb5, 0x8f, 0x42, 0x15, 0x4f, 0xc0, 0xe3,
0xf0, 0x06, 0x1c, 0xb9, 0xf2, 0x04, 0xd4, 0xfc, 0x68, 0x35, 0xd2, 0x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 0x9b, 0xff, 0x37, 0xe7, 0xb2, 0x91, 0xe3,
0x4e, 0x4d, 0x3b, 0x77, 0x3a, 0xfc, 0x64, 0xad, 0xbf, 0xc1, 0x7d, 0x33, 0xd0, 0xff, 0x9d, 0xcf,
0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xbb, 0xf3, 0xde, 0x9b, 0x0a, 0x00, 0x00,
}
......@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
......@@ -66,16 +66,16 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/internal/middleware/panichandler
Copyright (c) 2016 Masahiro Sano
......@@ -102,25 +102,9 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
COPYING - gitlab.com/gitlab-org/gitaly/vendor/github.com/BurntSushi/toml
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/Sirupsen/logrus
The MIT License (MIT)
Copyright (c) 2014 Simon Eskildsen
Copyright (c) 2013 TOML authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......@@ -1767,6 +1751,29 @@ Copyright 2014-2015 The Prometheus Authors
This product includes software developed at
SoundCloud Ltd. (http://soundcloud.com/).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/sirupsen/logrus
The MIT License (MIT)
Copyright (c) 2014 Simon Eskildsen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/github.com/stretchr/testify
Copyright (c) 2012 - 2013 Mat Ryer and Tyler Bunnell
......@@ -1803,16 +1810,69 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/golang.org/x/crypto
Copyright (c) 2009 The Go Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PATENTS - gitlab.com/gitlab-org/gitaly/vendor/golang.org/x/crypto
Additional IP Rights Grant (Patents)
"This implementation" means the copyrightable works distributed by
Google as part of the Go project.
Google hereby grants to You a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable (except as stated in this section)
patent license to make, have made, use, offer to sell, sell, import,
transfer and otherwise run, modify and propagate the contents of this
implementation of Go, where such license applies only to those patent
claims, both currently owned or controlled by Google and acquired in
the future, licensable by Google that are necessarily infringed by this
implementation of Go. This grant does not include claims that would be
infringed only as a consequence of further modification of this
implementation. If you or your agent or exclusive licensee institute or
order or agree to the institution of patent litigation against any
entity (including a cross-claim or counterclaim in a lawsuit) alleging
that this implementation of Go or any code incorporated within this
implementation of Go constitutes direct or contributory patent
infringement, or inducement of patent infringement, then any patent
rights granted to you under this License for this implementation of Go
shall terminate as of the date such litigation is filed.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/golang.org/x/net
Copyright (c) 2009 The Go Authors. All rights reserved.
......@@ -1849,6 +1909,59 @@ Additional IP Rights Grant (Patents)
"This implementation" means the copyrightable works distributed by
Google as part of the Go project.
Google hereby grants to You a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable (except as stated in this section)
patent license to make, have made, use, offer to sell, sell, import,
transfer and otherwise run, modify and propagate the contents of this
implementation of Go, where such license applies only to those patent
claims, both currently owned or controlled by Google and acquired in
the future, licensable by Google that are necessarily infringed by this
implementation of Go. This grant does not include claims that would be
infringed only as a consequence of further modification of this
implementation. If you or your agent or exclusive licensee institute or
order or agree to the institution of patent litigation against any
entity (including a cross-claim or counterclaim in a lawsuit) alleging
that this implementation of Go or any code incorporated within this
implementation of Go constitutes direct or contributory patent
infringement, or inducement of patent infringement, then any patent
rights granted to you under this License for this implementation of Go
shall terminate as of the date such litigation is filed.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/golang.org/x/sync
Copyright (c) 2009 The Go Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PATENTS - gitlab.com/gitlab-org/gitaly/vendor/golang.org/x/sync
Additional IP Rights Grant (Patents)
"This implementation" means the copyrightable works distributed by
Google as part of the Go project.
Google hereby grants to You a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable (except as stated in this section)
patent license to make, have made, use, offer to sell, sell, import,
......@@ -2178,56 +2291,206 @@ LICENSE - gitlab.com/gitlab-org/gitaly/vendor/google.golang.org/genproto
limitations under the License.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LICENSE - gitlab.com/gitlab-org/gitaly/vendor/google.golang.org/grpc
Copyright 2014, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PATENTS - gitlab.com/gitlab-org/gitaly/vendor/google.golang.org/grpc
Additional IP Rights Grant (Patents)
1. Definitions.
"This implementation" means the copyrightable works distributed by
Google as part of the gRPC project.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
Google hereby grants to You a perpetual, worldwide, non-exclusive,
no-charge, royalty-free, irrevocable (except as stated in this section)
patent license to make, have made, use, offer to sell, sell, import,
transfer and otherwise run, modify and propagate the contents of this
implementation of gRPC, where such license applies only to those patent
claims, both currently owned or controlled by Google and acquired in
the future, licensable by Google that are necessarily infringed by this
implementation of gRPC. This grant does not include claims that would be
infringed only as a consequence of further modification of this
implementation. If you or your agent or exclusive licensee institute or
order or agree to the institution of patent litigation against any
entity (including a cross-claim or counterclaim in a lawsuit) alleging
that this implementation of gRPC or any code incorporated within this
implementation of gRPC constitutes direct or contributory patent
infringement, or inducement of patent infringement, then any patent
rights granted to you under this License for this implementation of gRPC
shall terminate as of the date such litigation is filed.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
......@@ -23,8 +23,8 @@ func Dial(rawAddress string, connOpts []grpc.DialOption) (*grpc.ClientConn, erro
}
connOpts = append(connOpts,
grpc.WithDialer(func(a string, _ time.Duration) (net.Conn, error) {
return net.Dial(network, a)
grpc.WithDialer(func(a string, timeout time.Duration) (net.Conn, error) {
return net.DialTimeout(network, a, timeout)
}))
conn, err := grpc.Dial(addr, connOpts...)
if err != nil {
......
......@@ -33,37 +33,37 @@
"revisionTime": "2017-03-31T03:19:02Z"
},
{
"checksumSHA1": "C7Yd+5V4a/75li7OdslnLdTgqLI=",
"checksumSHA1": "8Gc1ZcO7WxXstNzyePjwG90SBSU=",
"path": "gitlab.com/gitlab-org/gitaly-proto/go",
"revision": "60534539c0c8ed6396bf4fd9d7f35a68e1cd6734",
"revisionTime": "2017-07-28T19:21:39Z",
"revision": "f62abc80cb25363bf51a4f89f02654ca2f722dc8",
"revisionTime": "2018-01-17T16:23:27Z",
"tree": true,
"version": "v0.23.0",
"versionExact": "v0.23.0"
"version": "v0.75.0",
"versionExact": "v0.75.0"
},
{
"checksumSHA1": "dUHJbKas746n5fLzlwxHb6FOCxs=",
"path": "gitlab.com/gitlab-org/gitaly/auth",
"revision": "421641a7cd5a5d7edd8008a8089acbe9335b7f3d",
"revisionTime": "2017-07-18T12:50:12Z",
"version": "v0.21.2",
"versionExact": "v0.21.2"
"revision": "95a198aef54c42fd8e84c62acc63f0cd620864b3",
"revisionTime": "2018-01-18T11:33:00Z",
"version": "v0.71.0",
"versionExact": "v0.71.0"
},
{
"checksumSHA1": "qlzYmQ21XX/voiKWHDWUZ3lybGQ=",
"checksumSHA1": "s53Qjro9ZHX0DV2tCYQXLO2FHqI=",
"path": "gitlab.com/gitlab-org/gitaly/client",
"revision": "421641a7cd5a5d7edd8008a8089acbe9335b7f3d",
"revisionTime": "2017-07-18T12:50:12Z",
"version": "v0.21.2",
"versionExact": "v0.21.2"
"revision": "95a198aef54c42fd8e84c62acc63f0cd620864b3",
"revisionTime": "2018-01-18T11:33:00Z",
"version": "v0.71.0",
"versionExact": "v0.71.0"
},
{
"checksumSHA1": "mifcYH0qXpoPkX5KzXoM3mterWQ=",
"path": "gitlab.com/gitlab-org/gitaly/streamio",
"revision": "421641a7cd5a5d7edd8008a8089acbe9335b7f3d",
"revisionTime": "2017-07-18T12:50:12Z",
"version": "v0.21.2",
"versionExact": "v0.21.2"
"revision": "95a198aef54c42fd8e84c62acc63f0cd620864b3",
"revisionTime": "2018-01-18T11:33:00Z",
"version": "v0.71.0",
"versionExact": "v0.71.0"
},
{
"checksumSHA1": "Y+HGqEkYM15ir+J93MEaHdyFy0c=",
......
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