Commit 50eeaa4f authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)

Merge branch 'update-gitaly-proto' into 'master'

Update gitaly proto

See merge request gitlab-org/gitlab-workhorse!249
parents 9eaf0fe2 8775e6ee
...@@ -308,6 +308,10 @@ func (s *GitalyTestServer) FetchRemote(context.Context, *pb.FetchRemoteRequest) ...@@ -308,6 +308,10 @@ func (s *GitalyTestServer) FetchRemote(context.Context, *pb.FetchRemoteRequest)
return nil, nil return nil, nil
} }
func (s *GitalyTestServer) FetchSourceBranch(context.Context, *pb.FetchSourceBranchRequest) (*pb.FetchSourceBranchResponse, error) {
return nil, nil
}
func (s *GitalyTestServer) CreateRepository(context.Context, *pb.CreateRepositoryRequest) (*pb.CreateRepositoryResponse, error) { func (s *GitalyTestServer) CreateRepository(context.Context, *pb.CreateRepositoryRequest) (*pb.CreateRepositoryResponse, error) {
return nil, nil return nil, nil
} }
...@@ -336,6 +340,74 @@ func (s *GitalyTestServer) GetBlobs(in *pb.GetBlobsRequest, stream pb.BlobServic ...@@ -336,6 +340,74 @@ func (s *GitalyTestServer) GetBlobs(in *pb.GetBlobsRequest, stream pb.BlobServic
return nil return nil
} }
func (s *GitalyTestServer) GetAllLFSPointers(*pb.GetAllLFSPointersRequest, pb.BlobService_GetAllLFSPointersServer) error {
return nil
}
func (s *GitalyTestServer) GetLFSPointers(*pb.GetLFSPointersRequest, pb.BlobService_GetLFSPointersServer) error {
return nil
}
func (s *GitalyTestServer) GetNewLFSPointers(*pb.GetNewLFSPointersRequest, pb.BlobService_GetNewLFSPointersServer) error {
return nil
}
func (s *GitalyTestServer) CreateFork(context.Context, *pb.CreateForkRequest) (*pb.CreateForkResponse, error) {
return nil, nil
}
func (s *GitalyTestServer) CalculateChecksum(context.Context, *pb.CalculateChecksumRequest) (*pb.CalculateChecksumResponse, error) {
return nil, nil
}
func (s *GitalyTestServer) CreateBundle(*pb.CreateBundleRequest, pb.RepositoryService_CreateBundleServer) error {
return nil
}
func (s *GitalyTestServer) CreateRepositoryFromBundle(pb.RepositoryService_CreateRepositoryFromBundleServer) error {
return nil
}
func (s *GitalyTestServer) CreateRepositoryFromURL(context.Context, *pb.CreateRepositoryFromURLRequest) (*pb.CreateRepositoryFromURLResponse, error) {
return nil, nil
}
func (s *GitalyTestServer) FindLicense(context.Context, *pb.FindLicenseRequest) (*pb.FindLicenseResponse, error) {
return nil, nil
}
func (s *GitalyTestServer) FindMergeBase(context.Context, *pb.FindMergeBaseRequest) (*pb.FindMergeBaseResponse, error) {
return nil, nil
}
func (s *GitalyTestServer) Fsck(context.Context, *pb.FsckRequest) (*pb.FsckResponse, error) {
return nil, nil
}
func (s *GitalyTestServer) GetInfoAttributes(*pb.GetInfoAttributesRequest, pb.RepositoryService_GetInfoAttributesServer) error {
return nil
}
func (s *GitalyTestServer) IsRebaseInProgress(context.Context, *pb.IsRebaseInProgressRequest) (*pb.IsRebaseInProgressResponse, error) {
return nil, nil
}
func (s *GitalyTestServer) IsSquashInProgress(context.Context, *pb.IsSquashInProgressRequest) (*pb.IsSquashInProgressResponse, error) {
return nil, nil
}
func (s *GitalyTestServer) WriteConfig(context.Context, *pb.WriteConfigRequest) (*pb.WriteConfigResponse, error) {
return nil, nil
}
func (s *GitalyTestServer) WriteRef(context.Context, *pb.WriteRefRequest) (*pb.WriteRefResponse, error) {
return nil, nil
}
func (s *GitalyTestServer) Cleanup(context.Context, *pb.CleanupRequest) (*pb.CleanupResponse, error) {
return nil, nil
}
// sendBytes returns the number of times the 'sender' function was called and an error. // sendBytes returns the number of times the 'sender' function was called and an error.
func sendBytes(data []byte, chunkSize int, sender func([]byte) error) (int, error) { func sendBytes(data []byte, chunkSize int, sender func([]byte) error) (int, error) {
i := 0 i := 0
......
...@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ...@@ -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 copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions: furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all The above copyright notice and this permission notice shall be included in
copies or substantial portions of the Software. all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 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 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
SOFTWARE. THE SOFTWARE.
...@@ -7,13 +7,16 @@ Package gitaly is a generated protocol buffer package. ...@@ -7,13 +7,16 @@ Package gitaly is a generated protocol buffer package.
It is generated from these files: It is generated from these files:
blob.proto blob.proto
commit.proto commit.proto
conflicts.proto
deprecated-services.proto deprecated-services.proto
diff.proto diff.proto
namespace.proto namespace.proto
notifications.proto notifications.proto
operations.proto operations.proto
ref.proto ref.proto
remote.proto
repository-service.proto repository-service.proto
server.proto
shared.proto shared.proto
smarthttp.proto smarthttp.proto
ssh.proto ssh.proto
...@@ -24,6 +27,13 @@ It has these top-level messages: ...@@ -24,6 +27,13 @@ It has these top-level messages:
GetBlobResponse GetBlobResponse
GetBlobsRequest GetBlobsRequest
GetBlobsResponse GetBlobsResponse
LFSPointer
GetLFSPointersRequest
GetLFSPointersResponse
GetNewLFSPointersRequest
GetNewLFSPointersResponse
GetAllLFSPointersRequest
GetAllLFSPointersResponse
CommitStatsRequest CommitStatsRequest
CommitStatsResponse CommitStatsResponse
CommitIsAncestorRequest CommitIsAncestorRequest
...@@ -41,6 +51,8 @@ It has these top-level messages: ...@@ -41,6 +51,8 @@ It has these top-level messages:
ListFilesResponse ListFilesResponse
FindCommitRequest FindCommitRequest
FindCommitResponse FindCommitResponse
ListCommitsByOidRequest
ListCommitsByOidResponse
FindAllCommitsRequest FindAllCommitsRequest
FindAllCommitsResponse FindAllCommitsResponse
FindCommitsRequest FindCommitsRequest
...@@ -53,6 +65,21 @@ It has these top-level messages: ...@@ -53,6 +65,21 @@ It has these top-level messages:
LastCommitForPathResponse LastCommitForPathResponse
CommitsByMessageRequest CommitsByMessageRequest
CommitsByMessageResponse CommitsByMessageResponse
FilterShasWithSignaturesRequest
FilterShasWithSignaturesResponse
ExtractCommitSignatureRequest
ExtractCommitSignatureResponse
GetCommitSignaturesRequest
GetCommitSignaturesResponse
GetCommitMessagesRequest
GetCommitMessagesResponse
ListConflictFilesRequest
ConflictFileHeader
ConflictFile
ListConflictFilesResponse
ResolveConflictsRequestHeader
ResolveConflictsRequest
ResolveConflictsResponse
CommitDiffRequest CommitDiffRequest
CommitDiffResponse CommitDiffResponse
CommitDeltaRequest CommitDeltaRequest
...@@ -85,6 +112,21 @@ It has these top-level messages: ...@@ -85,6 +112,21 @@ It has these top-level messages:
UserMergeBranchRequest UserMergeBranchRequest
UserMergeBranchResponse UserMergeBranchResponse
OperationBranchUpdate OperationBranchUpdate
UserFFBranchRequest
UserFFBranchResponse
UserCherryPickRequest
UserCherryPickResponse
UserRevertRequest
UserRevertResponse
UserCommitFilesActionHeader
UserCommitFilesAction
UserCommitFilesRequestHeader
UserCommitFilesRequest
UserCommitFilesResponse
UserRebaseRequest
UserRebaseResponse
UserSquashRequest
UserSquashResponse
FindDefaultBranchNameRequest FindDefaultBranchNameRequest
FindDefaultBranchNameResponse FindDefaultBranchNameResponse
FindAllBranchNamesRequest FindAllBranchNamesRequest
...@@ -109,6 +151,24 @@ It has these top-level messages: ...@@ -109,6 +151,24 @@ It has these top-level messages:
DeleteBranchResponse DeleteBranchResponse
FindBranchRequest FindBranchRequest
FindBranchResponse FindBranchResponse
DeleteRefsRequest
DeleteRefsResponse
ListBranchNamesContainingCommitRequest
ListBranchNamesContainingCommitResponse
ListTagNamesContainingCommitRequest
ListTagNamesContainingCommitResponse
GetTagMessagesRequest
GetTagMessagesResponse
AddRemoteRequest
AddRemoteResponse
RemoveRemoteRequest
RemoveRemoteResponse
FetchInternalRemoteRequest
FetchInternalRemoteResponse
UpdateRemoteMirrorRequest
UpdateRemoteMirrorResponse
FindRemoteRepositoryRequest
FindRemoteRepositoryResponse
RepositoryExistsRequest RepositoryExistsRequest
RepositoryExistsResponse RepositoryExistsResponse
RepackIncrementalRequest RepackIncrementalRequest
...@@ -117,6 +177,8 @@ It has these top-level messages: ...@@ -117,6 +177,8 @@ It has these top-level messages:
RepackFullResponse RepackFullResponse
GarbageCollectRequest GarbageCollectRequest
GarbageCollectResponse GarbageCollectResponse
CleanupRequest
CleanupResponse
RepositorySizeRequest RepositorySizeRequest
RepositorySizeResponse RepositorySizeResponse
ApplyGitattributesRequest ApplyGitattributesRequest
...@@ -129,6 +191,36 @@ It has these top-level messages: ...@@ -129,6 +191,36 @@ It has these top-level messages:
GetArchiveResponse GetArchiveResponse
HasLocalBranchesRequest HasLocalBranchesRequest
HasLocalBranchesResponse HasLocalBranchesResponse
FetchSourceBranchRequest
FetchSourceBranchResponse
FsckRequest
FsckResponse
WriteRefRequest
WriteRefResponse
FindMergeBaseRequest
FindMergeBaseResponse
CreateForkRequest
CreateForkResponse
IsRebaseInProgressRequest
IsRebaseInProgressResponse
IsSquashInProgressRequest
IsSquashInProgressResponse
CreateRepositoryFromURLRequest
CreateRepositoryFromURLResponse
CreateBundleRequest
CreateBundleResponse
WriteConfigRequest
WriteConfigResponse
CreateRepositoryFromBundleRequest
CreateRepositoryFromBundleResponse
FindLicenseRequest
FindLicenseResponse
GetInfoAttributesRequest
GetInfoAttributesResponse
CalculateChecksumRequest
CalculateChecksumResponse
ServerInfoRequest
ServerInfoResponse
Repository Repository
GitCommit GitCommit
CommitAuthor CommitAuthor
...@@ -146,9 +238,27 @@ It has these top-level messages: ...@@ -146,9 +238,27 @@ It has these top-level messages:
SSHUploadPackResponse SSHUploadPackResponse
SSHReceivePackRequest SSHReceivePackRequest
SSHReceivePackResponse SSHReceivePackResponse
SSHUploadArchiveRequest
SSHUploadArchiveResponse
WikiCommitDetails
WikiPageVersion WikiPageVersion
WikiPage
WikiGetPageVersionsRequest WikiGetPageVersionsRequest
WikiGetPageVersionsResponse WikiGetPageVersionsResponse
WikiWritePageRequest
WikiWritePageResponse
WikiUpdatePageRequest
WikiUpdatePageResponse
WikiDeletePageRequest
WikiDeletePageResponse
WikiFindPageRequest
WikiFindPageResponse
WikiFindFileRequest
WikiFindFileResponse
WikiGetAllPagesRequest
WikiGetAllPagesResponse
WikiGetFormattedDataRequest
WikiGetFormattedDataResponse
*/ */
package gitaly package gitaly
...@@ -243,8 +353,8 @@ func (m *GetBlobResponse) GetOid() string { ...@@ -243,8 +353,8 @@ func (m *GetBlobResponse) GetOid() string {
type GetBlobsRequest struct { type GetBlobsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// Object IDs (SHA1) of the blobs we want to get // Revision/Path pairs of the blobs we want to get.
Oids []string `protobuf:"bytes,2,rep,name=oids" json:"oids,omitempty"` RevisionPaths []*GetBlobsRequest_RevisionPath `protobuf:"bytes,2,rep,name=revision_paths,json=revisionPaths" json:"revision_paths,omitempty"`
// Maximum number of bytes we want to receive. Use '-1' to get the full blobs no matter how big. // 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"` Limit int64 `protobuf:"varint,3,opt,name=limit" json:"limit,omitempty"`
} }
...@@ -261,9 +371,9 @@ func (m *GetBlobsRequest) GetRepository() *Repository { ...@@ -261,9 +371,9 @@ func (m *GetBlobsRequest) GetRepository() *Repository {
return nil return nil
} }
func (m *GetBlobsRequest) GetOids() []string { func (m *GetBlobsRequest) GetRevisionPaths() []*GetBlobsRequest_RevisionPath {
if m != nil { if m != nil {
return m.Oids return m.RevisionPaths
} }
return nil return nil
} }
...@@ -275,13 +385,41 @@ func (m *GetBlobsRequest) GetLimit() int64 { ...@@ -275,13 +385,41 @@ func (m *GetBlobsRequest) GetLimit() int64 {
return 0 return 0
} }
type GetBlobsRequest_RevisionPath struct {
Revision string `protobuf:"bytes,1,opt,name=revision" json:"revision,omitempty"`
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
}
func (m *GetBlobsRequest_RevisionPath) Reset() { *m = GetBlobsRequest_RevisionPath{} }
func (m *GetBlobsRequest_RevisionPath) String() string { return proto.CompactTextString(m) }
func (*GetBlobsRequest_RevisionPath) ProtoMessage() {}
func (*GetBlobsRequest_RevisionPath) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2, 0} }
func (m *GetBlobsRequest_RevisionPath) GetRevision() string {
if m != nil {
return m.Revision
}
return ""
}
func (m *GetBlobsRequest_RevisionPath) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
type GetBlobsResponse struct { type GetBlobsResponse struct {
// Blob size; present only on the first message per blob // Blob size; present only on the first message per blob
Size int64 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"` Size int64 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"`
// Chunk of blob data // Chunk of blob data, could span over multiple messages.
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` 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. // 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"` Oid string `protobuf:"bytes,3,opt,name=oid" json:"oid,omitempty"`
IsSubmodule bool `protobuf:"varint,4,opt,name=is_submodule,json=isSubmodule" json:"is_submodule,omitempty"`
Mode int32 `protobuf:"varint,5,opt,name=mode" json:"mode,omitempty"`
Revision string `protobuf:"bytes,6,opt,name=revision" json:"revision,omitempty"`
Path []byte `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"`
} }
func (m *GetBlobsResponse) Reset() { *m = GetBlobsResponse{} } func (m *GetBlobsResponse) Reset() { *m = GetBlobsResponse{} }
...@@ -310,11 +448,224 @@ func (m *GetBlobsResponse) GetOid() string { ...@@ -310,11 +448,224 @@ func (m *GetBlobsResponse) GetOid() string {
return "" return ""
} }
func (m *GetBlobsResponse) GetIsSubmodule() bool {
if m != nil {
return m.IsSubmodule
}
return false
}
func (m *GetBlobsResponse) GetMode() int32 {
if m != nil {
return m.Mode
}
return 0
}
func (m *GetBlobsResponse) GetRevision() string {
if m != nil {
return m.Revision
}
return ""
}
func (m *GetBlobsResponse) GetPath() []byte {
if m != nil {
return m.Path
}
return nil
}
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
}
type GetNewLFSPointersRequest 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"`
// Note: When `not_in_all` is true, `not_in_refs` is ignored
NotInAll bool `protobuf:"varint,4,opt,name=not_in_all,json=notInAll" json:"not_in_all,omitempty"`
NotInRefs [][]byte `protobuf:"bytes,5,rep,name=not_in_refs,json=notInRefs,proto3" json:"not_in_refs,omitempty"`
}
func (m *GetNewLFSPointersRequest) Reset() { *m = GetNewLFSPointersRequest{} }
func (m *GetNewLFSPointersRequest) String() string { return proto.CompactTextString(m) }
func (*GetNewLFSPointersRequest) ProtoMessage() {}
func (*GetNewLFSPointersRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
func (m *GetNewLFSPointersRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *GetNewLFSPointersRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return nil
}
func (m *GetNewLFSPointersRequest) GetLimit() int32 {
if m != nil {
return m.Limit
}
return 0
}
func (m *GetNewLFSPointersRequest) GetNotInAll() bool {
if m != nil {
return m.NotInAll
}
return false
}
func (m *GetNewLFSPointersRequest) GetNotInRefs() [][]byte {
if m != nil {
return m.NotInRefs
}
return nil
}
type GetNewLFSPointersResponse struct {
LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers" json:"lfs_pointers,omitempty"`
}
func (m *GetNewLFSPointersResponse) Reset() { *m = GetNewLFSPointersResponse{} }
func (m *GetNewLFSPointersResponse) String() string { return proto.CompactTextString(m) }
func (*GetNewLFSPointersResponse) ProtoMessage() {}
func (*GetNewLFSPointersResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
func (m *GetNewLFSPointersResponse) GetLfsPointers() []*LFSPointer {
if m != nil {
return m.LfsPointers
}
return nil
}
type GetAllLFSPointersRequest 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 *GetAllLFSPointersRequest) Reset() { *m = GetAllLFSPointersRequest{} }
func (m *GetAllLFSPointersRequest) String() string { return proto.CompactTextString(m) }
func (*GetAllLFSPointersRequest) ProtoMessage() {}
func (*GetAllLFSPointersRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
func (m *GetAllLFSPointersRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *GetAllLFSPointersRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return nil
}
type GetAllLFSPointersResponse struct {
LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers" json:"lfs_pointers,omitempty"`
}
func (m *GetAllLFSPointersResponse) Reset() { *m = GetAllLFSPointersResponse{} }
func (m *GetAllLFSPointersResponse) String() string { return proto.CompactTextString(m) }
func (*GetAllLFSPointersResponse) ProtoMessage() {}
func (*GetAllLFSPointersResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
func (m *GetAllLFSPointersResponse) GetLfsPointers() []*LFSPointer {
if m != nil {
return m.LfsPointers
}
return nil
}
func init() { func init() {
proto.RegisterType((*GetBlobRequest)(nil), "gitaly.GetBlobRequest") proto.RegisterType((*GetBlobRequest)(nil), "gitaly.GetBlobRequest")
proto.RegisterType((*GetBlobResponse)(nil), "gitaly.GetBlobResponse") proto.RegisterType((*GetBlobResponse)(nil), "gitaly.GetBlobResponse")
proto.RegisterType((*GetBlobsRequest)(nil), "gitaly.GetBlobsRequest") proto.RegisterType((*GetBlobsRequest)(nil), "gitaly.GetBlobsRequest")
proto.RegisterType((*GetBlobsRequest_RevisionPath)(nil), "gitaly.GetBlobsRequest.RevisionPath")
proto.RegisterType((*GetBlobsResponse)(nil), "gitaly.GetBlobsResponse") proto.RegisterType((*GetBlobsResponse)(nil), "gitaly.GetBlobsResponse")
proto.RegisterType((*LFSPointer)(nil), "gitaly.LFSPointer")
proto.RegisterType((*GetLFSPointersRequest)(nil), "gitaly.GetLFSPointersRequest")
proto.RegisterType((*GetLFSPointersResponse)(nil), "gitaly.GetLFSPointersResponse")
proto.RegisterType((*GetNewLFSPointersRequest)(nil), "gitaly.GetNewLFSPointersRequest")
proto.RegisterType((*GetNewLFSPointersResponse)(nil), "gitaly.GetNewLFSPointersResponse")
proto.RegisterType((*GetAllLFSPointersRequest)(nil), "gitaly.GetAllLFSPointersRequest")
proto.RegisterType((*GetAllLFSPointersResponse)(nil), "gitaly.GetAllLFSPointersResponse")
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
...@@ -332,11 +683,10 @@ type BlobServiceClient interface { ...@@ -332,11 +683,10 @@ type BlobServiceClient interface {
// ID. We use a stream to return a chunked arbitrarily large binary // ID. We use a stream to return a chunked arbitrarily large binary
// response // response
GetBlob(ctx context.Context, in *GetBlobRequest, opts ...grpc.CallOption) (BlobService_GetBlobClient, error) 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) GetBlobs(ctx context.Context, in *GetBlobsRequest, opts ...grpc.CallOption) (BlobService_GetBlobsClient, error)
GetLFSPointers(ctx context.Context, in *GetLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetLFSPointersClient, error)
GetNewLFSPointers(ctx context.Context, in *GetNewLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetNewLFSPointersClient, error)
GetAllLFSPointers(ctx context.Context, in *GetAllLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetAllLFSPointersClient, error)
} }
type blobServiceClient struct { type blobServiceClient struct {
...@@ -411,6 +761,102 @@ func (x *blobServiceGetBlobsClient) Recv() (*GetBlobsResponse, error) { ...@@ -411,6 +761,102 @@ func (x *blobServiceGetBlobsClient) Recv() (*GetBlobsResponse, error) {
return m, nil 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
}
func (c *blobServiceClient) GetNewLFSPointers(ctx context.Context, in *GetNewLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetNewLFSPointersClient, error) {
stream, err := grpc.NewClientStream(ctx, &_BlobService_serviceDesc.Streams[3], c.cc, "/gitaly.BlobService/GetNewLFSPointers", opts...)
if err != nil {
return nil, err
}
x := &blobServiceGetNewLFSPointersClient{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_GetNewLFSPointersClient interface {
Recv() (*GetNewLFSPointersResponse, error)
grpc.ClientStream
}
type blobServiceGetNewLFSPointersClient struct {
grpc.ClientStream
}
func (x *blobServiceGetNewLFSPointersClient) Recv() (*GetNewLFSPointersResponse, error) {
m := new(GetNewLFSPointersResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *blobServiceClient) GetAllLFSPointers(ctx context.Context, in *GetAllLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetAllLFSPointersClient, error) {
stream, err := grpc.NewClientStream(ctx, &_BlobService_serviceDesc.Streams[4], c.cc, "/gitaly.BlobService/GetAllLFSPointers", opts...)
if err != nil {
return nil, err
}
x := &blobServiceGetAllLFSPointersClient{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_GetAllLFSPointersClient interface {
Recv() (*GetAllLFSPointersResponse, error)
grpc.ClientStream
}
type blobServiceGetAllLFSPointersClient struct {
grpc.ClientStream
}
func (x *blobServiceGetAllLFSPointersClient) Recv() (*GetAllLFSPointersResponse, error) {
m := new(GetAllLFSPointersResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for BlobService service // Server API for BlobService service
type BlobServiceServer interface { type BlobServiceServer interface {
...@@ -418,11 +864,10 @@ type BlobServiceServer interface { ...@@ -418,11 +864,10 @@ type BlobServiceServer interface {
// ID. We use a stream to return a chunked arbitrarily large binary // ID. We use a stream to return a chunked arbitrarily large binary
// response // response
GetBlob(*GetBlobRequest, BlobService_GetBlobServer) error 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 GetBlobs(*GetBlobsRequest, BlobService_GetBlobsServer) error
GetLFSPointers(*GetLFSPointersRequest, BlobService_GetLFSPointersServer) error
GetNewLFSPointers(*GetNewLFSPointersRequest, BlobService_GetNewLFSPointersServer) error
GetAllLFSPointers(*GetAllLFSPointersRequest, BlobService_GetAllLFSPointersServer) error
} }
func RegisterBlobServiceServer(s *grpc.Server, srv BlobServiceServer) { func RegisterBlobServiceServer(s *grpc.Server, srv BlobServiceServer) {
...@@ -471,6 +916,69 @@ func (x *blobServiceGetBlobsServer) Send(m *GetBlobsResponse) error { ...@@ -471,6 +916,69 @@ func (x *blobServiceGetBlobsServer) Send(m *GetBlobsResponse) error {
return x.ServerStream.SendMsg(m) 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)
}
func _BlobService_GetNewLFSPointers_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(GetNewLFSPointersRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(BlobServiceServer).GetNewLFSPointers(m, &blobServiceGetNewLFSPointersServer{stream})
}
type BlobService_GetNewLFSPointersServer interface {
Send(*GetNewLFSPointersResponse) error
grpc.ServerStream
}
type blobServiceGetNewLFSPointersServer struct {
grpc.ServerStream
}
func (x *blobServiceGetNewLFSPointersServer) Send(m *GetNewLFSPointersResponse) error {
return x.ServerStream.SendMsg(m)
}
func _BlobService_GetAllLFSPointers_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(GetAllLFSPointersRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(BlobServiceServer).GetAllLFSPointers(m, &blobServiceGetAllLFSPointersServer{stream})
}
type BlobService_GetAllLFSPointersServer interface {
Send(*GetAllLFSPointersResponse) error
grpc.ServerStream
}
type blobServiceGetAllLFSPointersServer struct {
grpc.ServerStream
}
func (x *blobServiceGetAllLFSPointersServer) Send(m *GetAllLFSPointersResponse) error {
return x.ServerStream.SendMsg(m)
}
var _BlobService_serviceDesc = grpc.ServiceDesc{ var _BlobService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.BlobService", ServiceName: "gitaly.BlobService",
HandlerType: (*BlobServiceServer)(nil), HandlerType: (*BlobServiceServer)(nil),
...@@ -486,6 +994,21 @@ var _BlobService_serviceDesc = grpc.ServiceDesc{ ...@@ -486,6 +994,21 @@ var _BlobService_serviceDesc = grpc.ServiceDesc{
Handler: _BlobService_GetBlobs_Handler, Handler: _BlobService_GetBlobs_Handler,
ServerStreams: true, ServerStreams: true,
}, },
{
StreamName: "GetLFSPointers",
Handler: _BlobService_GetLFSPointers_Handler,
ServerStreams: true,
},
{
StreamName: "GetNewLFSPointers",
Handler: _BlobService_GetNewLFSPointers_Handler,
ServerStreams: true,
},
{
StreamName: "GetAllLFSPointers",
Handler: _BlobService_GetAllLFSPointers_Handler,
ServerStreams: true,
},
}, },
Metadata: "blob.proto", Metadata: "blob.proto",
} }
...@@ -493,22 +1016,41 @@ var _BlobService_serviceDesc = grpc.ServiceDesc{ ...@@ -493,22 +1016,41 @@ var _BlobService_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("blob.proto", fileDescriptor0) } func init() { proto.RegisterFile("blob.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{ var fileDescriptor0 = []byte{
// 266 bytes of a gzipped FileDescriptorProto // 572 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0x31, 0x4f, 0xc3, 0x30, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x6e, 0xd3, 0x40,
0x10, 0x85, 0x71, 0x5d, 0x0a, 0xbd, 0x56, 0x50, 0x9d, 0x10, 0x58, 0x99, 0xa2, 0x4c, 0x99, 0x22, 0x10, 0x66, 0xeb, 0xe6, 0x6f, 0x6c, 0x4a, 0x59, 0x41, 0xeb, 0x5a, 0x50, 0xb9, 0x16, 0x07, 0x9f,
0x14, 0x76, 0x24, 0x58, 0x18, 0x60, 0x32, 0xbf, 0x20, 0x21, 0x27, 0xb0, 0x64, 0xb8, 0x60, 0x1b, 0x22, 0x14, 0xc4, 0xb5, 0x52, 0x38, 0x34, 0xaa, 0x8a, 0xa0, 0xda, 0x5c, 0x91, 0x2c, 0x07, 0x6f,
0xa4, 0xf2, 0x2b, 0xf8,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x00, 0x07, 0x00, 0x00,
} }
...@@ -94,7 +94,7 @@ func (x FindAllCommitsRequest_Order) String() string { ...@@ -94,7 +94,7 @@ func (x FindAllCommitsRequest_Order) String() string {
return proto.EnumName(FindAllCommitsRequest_Order_name, int32(x)) return proto.EnumName(FindAllCommitsRequest_Order_name, int32(x))
} }
func (FindAllCommitsRequest_Order) EnumDescriptor() ([]byte, []int) { func (FindAllCommitsRequest_Order) EnumDescriptor() ([]byte, []int) {
return fileDescriptor1, []int{17, 0} return fileDescriptor1, []int{19, 0}
} }
type CommitStatsRequest struct { type CommitStatsRequest struct {
...@@ -349,6 +349,9 @@ type CountCommitsRequest struct { ...@@ -349,6 +349,9 @@ type CountCommitsRequest struct {
After *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=after" json:"after,omitempty"` After *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=after" json:"after,omitempty"`
Before *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=before" json:"before,omitempty"` 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"` 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"`
// all and revision are mutually exclusive
All bool `protobuf:"varint,7,opt,name=all" json:"all,omitempty"`
} }
func (m *CountCommitsRequest) Reset() { *m = CountCommitsRequest{} } func (m *CountCommitsRequest) Reset() { *m = CountCommitsRequest{} }
...@@ -391,6 +394,20 @@ func (m *CountCommitsRequest) GetPath() []byte { ...@@ -391,6 +394,20 @@ func (m *CountCommitsRequest) GetPath() []byte {
return nil return nil
} }
func (m *CountCommitsRequest) GetMaxCount() int32 {
if m != nil {
return m.MaxCount
}
return 0
}
func (m *CountCommitsRequest) GetAll() bool {
if m != nil {
return m.All
}
return false
}
type CountCommitsResponse struct { type CountCommitsResponse struct {
Count int32 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"` Count int32 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
} }
...@@ -481,6 +498,7 @@ type GetTreeEntriesRequest struct { ...@@ -481,6 +498,7 @@ type GetTreeEntriesRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,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"` Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
Recursive bool `protobuf:"varint,4,opt,name=recursive" json:"recursive,omitempty"`
} }
func (m *GetTreeEntriesRequest) Reset() { *m = GetTreeEntriesRequest{} } func (m *GetTreeEntriesRequest) Reset() { *m = GetTreeEntriesRequest{} }
...@@ -509,6 +527,13 @@ func (m *GetTreeEntriesRequest) GetPath() []byte { ...@@ -509,6 +527,13 @@ func (m *GetTreeEntriesRequest) GetPath() []byte {
return nil return nil
} }
func (m *GetTreeEntriesRequest) GetRecursive() bool {
if m != nil {
return m.Recursive
}
return false
}
type GetTreeEntriesResponse struct { type GetTreeEntriesResponse struct {
Entries []*TreeEntry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"` Entries []*TreeEntry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
} }
...@@ -608,6 +633,46 @@ func (m *FindCommitResponse) GetCommit() *GitCommit { ...@@ -608,6 +633,46 @@ func (m *FindCommitResponse) GetCommit() *GitCommit {
return nil 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 { type FindAllCommitsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// When nil, return all commits reachable by any branch in the repo // When nil, return all commits reachable by any branch in the repo
...@@ -620,7 +685,7 @@ type FindAllCommitsRequest struct { ...@@ -620,7 +685,7 @@ type FindAllCommitsRequest struct {
func (m *FindAllCommitsRequest) Reset() { *m = FindAllCommitsRequest{} } func (m *FindAllCommitsRequest) Reset() { *m = FindAllCommitsRequest{} }
func (m *FindAllCommitsRequest) String() string { return proto.CompactTextString(m) } func (m *FindAllCommitsRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllCommitsRequest) ProtoMessage() {} 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 { func (m *FindAllCommitsRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -665,7 +730,7 @@ type FindAllCommitsResponse struct { ...@@ -665,7 +730,7 @@ type FindAllCommitsResponse struct {
func (m *FindAllCommitsResponse) Reset() { *m = FindAllCommitsResponse{} } func (m *FindAllCommitsResponse) Reset() { *m = FindAllCommitsResponse{} }
func (m *FindAllCommitsResponse) String() string { return proto.CompactTextString(m) } func (m *FindAllCommitsResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllCommitsResponse) ProtoMessage() {} 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 { func (m *FindAllCommitsResponse) GetCommits() []*GitCommit {
if m != nil { if m != nil {
...@@ -685,12 +750,14 @@ type FindCommitsRequest struct { ...@@ -685,12 +750,14 @@ type FindCommitsRequest struct {
DisableWalk bool `protobuf:"varint,8,opt,name=disable_walk,json=disableWalk" json:"disable_walk,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"` 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"` Before *google_protobuf.Timestamp `protobuf:"bytes,10,opt,name=before" json:"before,omitempty"`
// all and revision are mutually exclusive
All bool `protobuf:"varint,11,opt,name=all" json:"all,omitempty"`
} }
func (m *FindCommitsRequest) Reset() { *m = FindCommitsRequest{} } func (m *FindCommitsRequest) Reset() { *m = FindCommitsRequest{} }
func (m *FindCommitsRequest) String() string { return proto.CompactTextString(m) } func (m *FindCommitsRequest) String() string { return proto.CompactTextString(m) }
func (*FindCommitsRequest) ProtoMessage() {} func (*FindCommitsRequest) ProtoMessage() {}
func (*FindCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{19} } func (*FindCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{21} }
func (m *FindCommitsRequest) GetRepository() *Repository { func (m *FindCommitsRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -762,6 +829,13 @@ func (m *FindCommitsRequest) GetBefore() *google_protobuf.Timestamp { ...@@ -762,6 +829,13 @@ func (m *FindCommitsRequest) GetBefore() *google_protobuf.Timestamp {
return nil return nil
} }
func (m *FindCommitsRequest) GetAll() bool {
if m != nil {
return m.All
}
return false
}
// A single 'page' of the result set // A single 'page' of the result set
type FindCommitsResponse struct { type FindCommitsResponse struct {
Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"` Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"`
...@@ -770,7 +844,7 @@ type FindCommitsResponse struct { ...@@ -770,7 +844,7 @@ type FindCommitsResponse struct {
func (m *FindCommitsResponse) Reset() { *m = FindCommitsResponse{} } func (m *FindCommitsResponse) Reset() { *m = FindCommitsResponse{} }
func (m *FindCommitsResponse) String() string { return proto.CompactTextString(m) } func (m *FindCommitsResponse) String() string { return proto.CompactTextString(m) }
func (*FindCommitsResponse) ProtoMessage() {} func (*FindCommitsResponse) ProtoMessage() {}
func (*FindCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{20} } func (*FindCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{22} }
func (m *FindCommitsResponse) GetCommits() []*GitCommit { func (m *FindCommitsResponse) GetCommits() []*GitCommit {
if m != nil { if m != nil {
...@@ -787,7 +861,7 @@ type CommitLanguagesRequest struct { ...@@ -787,7 +861,7 @@ type CommitLanguagesRequest struct {
func (m *CommitLanguagesRequest) Reset() { *m = CommitLanguagesRequest{} } func (m *CommitLanguagesRequest) Reset() { *m = CommitLanguagesRequest{} }
func (m *CommitLanguagesRequest) String() string { return proto.CompactTextString(m) } func (m *CommitLanguagesRequest) String() string { return proto.CompactTextString(m) }
func (*CommitLanguagesRequest) ProtoMessage() {} func (*CommitLanguagesRequest) ProtoMessage() {}
func (*CommitLanguagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{21} } func (*CommitLanguagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{23} }
func (m *CommitLanguagesRequest) GetRepository() *Repository { func (m *CommitLanguagesRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -810,7 +884,7 @@ type CommitLanguagesResponse struct { ...@@ -810,7 +884,7 @@ type CommitLanguagesResponse struct {
func (m *CommitLanguagesResponse) Reset() { *m = CommitLanguagesResponse{} } func (m *CommitLanguagesResponse) Reset() { *m = CommitLanguagesResponse{} }
func (m *CommitLanguagesResponse) String() string { return proto.CompactTextString(m) } func (m *CommitLanguagesResponse) String() string { return proto.CompactTextString(m) }
func (*CommitLanguagesResponse) ProtoMessage() {} func (*CommitLanguagesResponse) ProtoMessage() {}
func (*CommitLanguagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{22} } func (*CommitLanguagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{24} }
func (m *CommitLanguagesResponse) GetLanguages() []*CommitLanguagesResponse_Language { func (m *CommitLanguagesResponse) GetLanguages() []*CommitLanguagesResponse_Language {
if m != nil { if m != nil {
...@@ -829,7 +903,7 @@ func (m *CommitLanguagesResponse_Language) Reset() { *m = CommitLanguage ...@@ -829,7 +903,7 @@ func (m *CommitLanguagesResponse_Language) Reset() { *m = CommitLanguage
func (m *CommitLanguagesResponse_Language) String() string { return proto.CompactTextString(m) } func (m *CommitLanguagesResponse_Language) String() string { return proto.CompactTextString(m) }
func (*CommitLanguagesResponse_Language) ProtoMessage() {} func (*CommitLanguagesResponse_Language) ProtoMessage() {}
func (*CommitLanguagesResponse_Language) Descriptor() ([]byte, []int) { func (*CommitLanguagesResponse_Language) Descriptor() ([]byte, []int) {
return fileDescriptor1, []int{22, 0} return fileDescriptor1, []int{24, 0}
} }
func (m *CommitLanguagesResponse_Language) GetName() string { func (m *CommitLanguagesResponse_Language) GetName() string {
...@@ -862,7 +936,7 @@ type RawBlameRequest struct { ...@@ -862,7 +936,7 @@ type RawBlameRequest struct {
func (m *RawBlameRequest) Reset() { *m = RawBlameRequest{} } func (m *RawBlameRequest) Reset() { *m = RawBlameRequest{} }
func (m *RawBlameRequest) String() string { return proto.CompactTextString(m) } func (m *RawBlameRequest) String() string { return proto.CompactTextString(m) }
func (*RawBlameRequest) ProtoMessage() {} func (*RawBlameRequest) ProtoMessage() {}
func (*RawBlameRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{23} } func (*RawBlameRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{25} }
func (m *RawBlameRequest) GetRepository() *Repository { func (m *RawBlameRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -892,7 +966,7 @@ type RawBlameResponse struct { ...@@ -892,7 +966,7 @@ type RawBlameResponse struct {
func (m *RawBlameResponse) Reset() { *m = RawBlameResponse{} } func (m *RawBlameResponse) Reset() { *m = RawBlameResponse{} }
func (m *RawBlameResponse) String() string { return proto.CompactTextString(m) } func (m *RawBlameResponse) String() string { return proto.CompactTextString(m) }
func (*RawBlameResponse) ProtoMessage() {} func (*RawBlameResponse) ProtoMessage() {}
func (*RawBlameResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{24} } func (*RawBlameResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{26} }
func (m *RawBlameResponse) GetData() []byte { func (m *RawBlameResponse) GetData() []byte {
if m != nil { if m != nil {
...@@ -910,7 +984,7 @@ type LastCommitForPathRequest struct { ...@@ -910,7 +984,7 @@ type LastCommitForPathRequest struct {
func (m *LastCommitForPathRequest) Reset() { *m = LastCommitForPathRequest{} } func (m *LastCommitForPathRequest) Reset() { *m = LastCommitForPathRequest{} }
func (m *LastCommitForPathRequest) String() string { return proto.CompactTextString(m) } func (m *LastCommitForPathRequest) String() string { return proto.CompactTextString(m) }
func (*LastCommitForPathRequest) ProtoMessage() {} func (*LastCommitForPathRequest) ProtoMessage() {}
func (*LastCommitForPathRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{25} } func (*LastCommitForPathRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{27} }
func (m *LastCommitForPathRequest) GetRepository() *Repository { func (m *LastCommitForPathRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -941,7 +1015,7 @@ type LastCommitForPathResponse struct { ...@@ -941,7 +1015,7 @@ type LastCommitForPathResponse struct {
func (m *LastCommitForPathResponse) Reset() { *m = LastCommitForPathResponse{} } func (m *LastCommitForPathResponse) Reset() { *m = LastCommitForPathResponse{} }
func (m *LastCommitForPathResponse) String() string { return proto.CompactTextString(m) } func (m *LastCommitForPathResponse) String() string { return proto.CompactTextString(m) }
func (*LastCommitForPathResponse) ProtoMessage() {} func (*LastCommitForPathResponse) ProtoMessage() {}
func (*LastCommitForPathResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{26} } func (*LastCommitForPathResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{28} }
func (m *LastCommitForPathResponse) GetCommit() *GitCommit { func (m *LastCommitForPathResponse) GetCommit() *GitCommit {
if m != nil { if m != nil {
...@@ -962,7 +1036,7 @@ type CommitsByMessageRequest struct { ...@@ -962,7 +1036,7 @@ type CommitsByMessageRequest struct {
func (m *CommitsByMessageRequest) Reset() { *m = CommitsByMessageRequest{} } func (m *CommitsByMessageRequest) Reset() { *m = CommitsByMessageRequest{} }
func (m *CommitsByMessageRequest) String() string { return proto.CompactTextString(m) } func (m *CommitsByMessageRequest) String() string { return proto.CompactTextString(m) }
func (*CommitsByMessageRequest) ProtoMessage() {} func (*CommitsByMessageRequest) ProtoMessage() {}
func (*CommitsByMessageRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{27} } func (*CommitsByMessageRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{29} }
func (m *CommitsByMessageRequest) GetRepository() *Repository { func (m *CommitsByMessageRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -1014,7 +1088,7 @@ type CommitsByMessageResponse struct { ...@@ -1014,7 +1088,7 @@ type CommitsByMessageResponse struct {
func (m *CommitsByMessageResponse) Reset() { *m = CommitsByMessageResponse{} } func (m *CommitsByMessageResponse) Reset() { *m = CommitsByMessageResponse{} }
func (m *CommitsByMessageResponse) String() string { return proto.CompactTextString(m) } func (m *CommitsByMessageResponse) String() string { return proto.CompactTextString(m) }
func (*CommitsByMessageResponse) ProtoMessage() {} func (*CommitsByMessageResponse) ProtoMessage() {}
func (*CommitsByMessageResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{28} } func (*CommitsByMessageResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{30} }
func (m *CommitsByMessageResponse) GetCommits() []*GitCommit { func (m *CommitsByMessageResponse) GetCommits() []*GitCommit {
if m != nil { if m != nil {
...@@ -1023,6 +1097,207 @@ func (m *CommitsByMessageResponse) GetCommits() []*GitCommit { ...@@ -1023,6 +1097,207 @@ func (m *CommitsByMessageResponse) GetCommits() []*GitCommit {
return nil 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
}
type GetCommitSignaturesRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds" json:"commit_ids,omitempty"`
}
func (m *GetCommitSignaturesRequest) Reset() { *m = GetCommitSignaturesRequest{} }
func (m *GetCommitSignaturesRequest) String() string { return proto.CompactTextString(m) }
func (*GetCommitSignaturesRequest) ProtoMessage() {}
func (*GetCommitSignaturesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{35} }
func (m *GetCommitSignaturesRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *GetCommitSignaturesRequest) GetCommitIds() []string {
if m != nil {
return m.CommitIds
}
return nil
}
type GetCommitSignaturesResponse struct {
// Only present for a new commit signature data.
CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
// See ExtractCommitSignatureResponse above for how these fields should be handled.
Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
SignedText []byte `protobuf:"bytes,3,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"`
}
func (m *GetCommitSignaturesResponse) Reset() { *m = GetCommitSignaturesResponse{} }
func (m *GetCommitSignaturesResponse) String() string { return proto.CompactTextString(m) }
func (*GetCommitSignaturesResponse) ProtoMessage() {}
func (*GetCommitSignaturesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{36} }
func (m *GetCommitSignaturesResponse) GetCommitId() string {
if m != nil {
return m.CommitId
}
return ""
}
func (m *GetCommitSignaturesResponse) GetSignature() []byte {
if m != nil {
return m.Signature
}
return nil
}
func (m *GetCommitSignaturesResponse) GetSignedText() []byte {
if m != nil {
return m.SignedText
}
return nil
}
type GetCommitMessagesRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds" json:"commit_ids,omitempty"`
}
func (m *GetCommitMessagesRequest) Reset() { *m = GetCommitMessagesRequest{} }
func (m *GetCommitMessagesRequest) String() string { return proto.CompactTextString(m) }
func (*GetCommitMessagesRequest) ProtoMessage() {}
func (*GetCommitMessagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{37} }
func (m *GetCommitMessagesRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *GetCommitMessagesRequest) GetCommitIds() []string {
if m != nil {
return m.CommitIds
}
return nil
}
type GetCommitMessagesResponse struct {
// Only present for a new commit message
CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}
func (m *GetCommitMessagesResponse) Reset() { *m = GetCommitMessagesResponse{} }
func (m *GetCommitMessagesResponse) String() string { return proto.CompactTextString(m) }
func (*GetCommitMessagesResponse) ProtoMessage() {}
func (*GetCommitMessagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{38} }
func (m *GetCommitMessagesResponse) GetCommitId() string {
if m != nil {
return m.CommitId
}
return ""
}
func (m *GetCommitMessagesResponse) GetMessage() []byte {
if m != nil {
return m.Message
}
return nil
}
func init() { func init() {
proto.RegisterType((*CommitStatsRequest)(nil), "gitaly.CommitStatsRequest") proto.RegisterType((*CommitStatsRequest)(nil), "gitaly.CommitStatsRequest")
proto.RegisterType((*CommitStatsResponse)(nil), "gitaly.CommitStatsResponse") proto.RegisterType((*CommitStatsResponse)(nil), "gitaly.CommitStatsResponse")
...@@ -1041,6 +1316,8 @@ func init() { ...@@ -1041,6 +1316,8 @@ func init() {
proto.RegisterType((*ListFilesResponse)(nil), "gitaly.ListFilesResponse") proto.RegisterType((*ListFilesResponse)(nil), "gitaly.ListFilesResponse")
proto.RegisterType((*FindCommitRequest)(nil), "gitaly.FindCommitRequest") proto.RegisterType((*FindCommitRequest)(nil), "gitaly.FindCommitRequest")
proto.RegisterType((*FindCommitResponse)(nil), "gitaly.FindCommitResponse") 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((*FindAllCommitsRequest)(nil), "gitaly.FindAllCommitsRequest")
proto.RegisterType((*FindAllCommitsResponse)(nil), "gitaly.FindAllCommitsResponse") proto.RegisterType((*FindAllCommitsResponse)(nil), "gitaly.FindAllCommitsResponse")
proto.RegisterType((*FindCommitsRequest)(nil), "gitaly.FindCommitsRequest") proto.RegisterType((*FindCommitsRequest)(nil), "gitaly.FindCommitsRequest")
...@@ -1054,6 +1331,14 @@ func init() { ...@@ -1054,6 +1331,14 @@ func init() {
proto.RegisterType((*LastCommitForPathResponse)(nil), "gitaly.LastCommitForPathResponse") proto.RegisterType((*LastCommitForPathResponse)(nil), "gitaly.LastCommitForPathResponse")
proto.RegisterType((*CommitsByMessageRequest)(nil), "gitaly.CommitsByMessageRequest") proto.RegisterType((*CommitsByMessageRequest)(nil), "gitaly.CommitsByMessageRequest")
proto.RegisterType((*CommitsByMessageResponse)(nil), "gitaly.CommitsByMessageResponse") 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.RegisterType((*GetCommitSignaturesRequest)(nil), "gitaly.GetCommitSignaturesRequest")
proto.RegisterType((*GetCommitSignaturesResponse)(nil), "gitaly.GetCommitSignaturesResponse")
proto.RegisterType((*GetCommitMessagesRequest)(nil), "gitaly.GetCommitMessagesRequest")
proto.RegisterType((*GetCommitMessagesResponse)(nil), "gitaly.GetCommitMessagesResponse")
proto.RegisterEnum("gitaly.TreeEntryResponse_ObjectType", TreeEntryResponse_ObjectType_name, TreeEntryResponse_ObjectType_value) 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.TreeEntry_EntryType", TreeEntry_EntryType_name, TreeEntry_EntryType_value)
proto.RegisterEnum("gitaly.FindAllCommitsRequest_Order", FindAllCommitsRequest_Order_name, FindAllCommitsRequest_Order_value) proto.RegisterEnum("gitaly.FindAllCommitsRequest_Order", FindAllCommitsRequest_Order_name, FindAllCommitsRequest_Order_value)
...@@ -1085,6 +1370,14 @@ type CommitServiceClient interface { ...@@ -1085,6 +1370,14 @@ type CommitServiceClient interface {
RawBlame(ctx context.Context, in *RawBlameRequest, opts ...grpc.CallOption) (CommitService_RawBlameClient, error) RawBlame(ctx context.Context, in *RawBlameRequest, opts ...grpc.CallOption) (CommitService_RawBlameClient, error)
LastCommitForPath(ctx context.Context, in *LastCommitForPathRequest, opts ...grpc.CallOption) (*LastCommitForPathResponse, error) LastCommitForPath(ctx context.Context, in *LastCommitForPathRequest, opts ...grpc.CallOption) (*LastCommitForPathResponse, error)
CommitsByMessage(ctx context.Context, in *CommitsByMessageRequest, opts ...grpc.CallOption) (CommitService_CommitsByMessageClient, 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)
GetCommitSignatures(ctx context.Context, in *GetCommitSignaturesRequest, opts ...grpc.CallOption) (CommitService_GetCommitSignaturesClient, error)
GetCommitMessages(ctx context.Context, in *GetCommitMessagesRequest, opts ...grpc.CallOption) (CommitService_GetCommitMessagesClient, error)
} }
type commitServiceClient struct { type commitServiceClient struct {
...@@ -1405,6 +1698,165 @@ func (x *commitServiceCommitsByMessageClient) Recv() (*CommitsByMessageResponse, ...@@ -1405,6 +1698,165 @@ func (x *commitServiceCommitsByMessageClient) Recv() (*CommitsByMessageResponse,
return m, nil 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
}
func (c *commitServiceClient) GetCommitSignatures(ctx context.Context, in *GetCommitSignaturesRequest, opts ...grpc.CallOption) (CommitService_GetCommitSignaturesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[11], c.cc, "/gitaly.CommitService/GetCommitSignatures", opts...)
if err != nil {
return nil, err
}
x := &commitServiceGetCommitSignaturesClient{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_GetCommitSignaturesClient interface {
Recv() (*GetCommitSignaturesResponse, error)
grpc.ClientStream
}
type commitServiceGetCommitSignaturesClient struct {
grpc.ClientStream
}
func (x *commitServiceGetCommitSignaturesClient) Recv() (*GetCommitSignaturesResponse, error) {
m := new(GetCommitSignaturesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *commitServiceClient) GetCommitMessages(ctx context.Context, in *GetCommitMessagesRequest, opts ...grpc.CallOption) (CommitService_GetCommitMessagesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[12], c.cc, "/gitaly.CommitService/GetCommitMessages", opts...)
if err != nil {
return nil, err
}
x := &commitServiceGetCommitMessagesClient{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_GetCommitMessagesClient interface {
Recv() (*GetCommitMessagesResponse, error)
grpc.ClientStream
}
type commitServiceGetCommitMessagesClient struct {
grpc.ClientStream
}
func (x *commitServiceGetCommitMessagesClient) Recv() (*GetCommitMessagesResponse, error) {
m := new(GetCommitMessagesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for CommitService service // Server API for CommitService service
type CommitServiceServer interface { type CommitServiceServer interface {
...@@ -1423,6 +1875,14 @@ type CommitServiceServer interface { ...@@ -1423,6 +1875,14 @@ type CommitServiceServer interface {
RawBlame(*RawBlameRequest, CommitService_RawBlameServer) error RawBlame(*RawBlameRequest, CommitService_RawBlameServer) error
LastCommitForPath(context.Context, *LastCommitForPathRequest) (*LastCommitForPathResponse, error) LastCommitForPath(context.Context, *LastCommitForPathRequest) (*LastCommitForPathResponse, error)
CommitsByMessage(*CommitsByMessageRequest, CommitService_CommitsByMessageServer) 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
GetCommitSignatures(*GetCommitSignaturesRequest, CommitService_GetCommitSignaturesServer) error
GetCommitMessages(*GetCommitMessagesRequest, CommitService_GetCommitMessagesServer) error
} }
func RegisterCommitServiceServer(s *grpc.Server, srv CommitServiceServer) { func RegisterCommitServiceServer(s *grpc.Server, srv CommitServiceServer) {
...@@ -1705,6 +2165,116 @@ func (x *commitServiceCommitsByMessageServer) Send(m *CommitsByMessageResponse) ...@@ -1705,6 +2165,116 @@ func (x *commitServiceCommitsByMessageServer) Send(m *CommitsByMessageResponse)
return x.ServerStream.SendMsg(m) 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)
}
func _CommitService_GetCommitSignatures_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(GetCommitSignaturesRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(CommitServiceServer).GetCommitSignatures(m, &commitServiceGetCommitSignaturesServer{stream})
}
type CommitService_GetCommitSignaturesServer interface {
Send(*GetCommitSignaturesResponse) error
grpc.ServerStream
}
type commitServiceGetCommitSignaturesServer struct {
grpc.ServerStream
}
func (x *commitServiceGetCommitSignaturesServer) Send(m *GetCommitSignaturesResponse) error {
return x.ServerStream.SendMsg(m)
}
func _CommitService_GetCommitMessages_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(GetCommitMessagesRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(CommitServiceServer).GetCommitMessages(m, &commitServiceGetCommitMessagesServer{stream})
}
type CommitService_GetCommitMessagesServer interface {
Send(*GetCommitMessagesResponse) error
grpc.ServerStream
}
type commitServiceGetCommitMessagesServer struct {
grpc.ServerStream
}
func (x *commitServiceGetCommitMessagesServer) Send(m *GetCommitMessagesResponse) error {
return x.ServerStream.SendMsg(m)
}
var _CommitService_serviceDesc = grpc.ServiceDesc{ var _CommitService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.CommitService", ServiceName: "gitaly.CommitService",
HandlerType: (*CommitServiceServer)(nil), HandlerType: (*CommitServiceServer)(nil),
...@@ -1775,6 +2345,32 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{ ...@@ -1775,6 +2345,32 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{
Handler: _CommitService_CommitsByMessage_Handler, Handler: _CommitService_CommitsByMessage_Handler,
ServerStreams: true, 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,
},
{
StreamName: "GetCommitSignatures",
Handler: _CommitService_GetCommitSignatures_Handler,
ServerStreams: true,
},
{
StreamName: "GetCommitMessages",
Handler: _CommitService_GetCommitMessages_Handler,
ServerStreams: true,
},
}, },
Metadata: "commit.proto", Metadata: "commit.proto",
} }
...@@ -1782,91 +2378,112 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{ ...@@ -1782,91 +2378,112 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("commit.proto", fileDescriptor1) } func init() { proto.RegisterFile("commit.proto", fileDescriptor1) }
var fileDescriptor1 = []byte{ var fileDescriptor1 = []byte{
// 1366 bytes of a gzipped FileDescriptorProto // 1697 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xdd, 0x6e, 0xdb, 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x57, 0x07, 0xa0, 0xcf, 0x4a, 0xc2, 0xe8, 0x1f, 0xea, 0x9d, 0x2f, 0xad, 0x08, 0x8c, 0xad,
0xab, 0x37, 0x86, 0x2c, 0xb7, 0xb4, 0x6d, 0x0d, 0x9d, 0xc2, 0xbd, 0xf4, 0x7c, 0x8a, 0x9e, 0x84,
0x37, 0x5d, 0x9a, 0xe1, 0x8d, 0xa7, 0x57, 0x6d, 0x8b, 0x49, 0x78, 0x02, 0xb7, 0x53, 0x52, 0x1d,
0x32, 0x63, 0xf1, 0x63, 0x46, 0xe2, 0x35, 0x1e, 0x5f, 0xba, 0x27, 0xc6, 0xe3, 0x5b, 0x58, 0x49,
0x24, 0x19, 0x65, 0x57, 0xb3, 0xd2, 0x9d, 0xb2, 0xab, 0x99, 0x19, 0x8a, 0xdd, 0x7e, 0x92, 0xe7,
0x3d, 0xd9, 0xbf, 0xfe, 0x0a, 0x00, 0x00, 0xff, 0xff, 0xb7, 0xe0, 0x5d, 0x22, 0x19, 0x19, 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, 0x8b, 0x20, 0xd1, 0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c3, 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{ ...@@ -1105,9 +1105,9 @@ var _SSH_serviceDesc = grpc.ServiceDesc{
Metadata: "deprecated-services.proto", 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 // 534 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x5d, 0x6e, 0xd3, 0x40, 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, 0x10, 0x80, 0x31, 0x41, 0x91, 0x32, 0xa1, 0x0d, 0x6c, 0x85, 0x68, 0x0c, 0x4d, 0xda, 0x0a, 0x24,
......
...@@ -36,7 +36,7 @@ type CommitDiffRequest struct { ...@@ -36,7 +36,7 @@ type CommitDiffRequest struct {
func (m *CommitDiffRequest) Reset() { *m = CommitDiffRequest{} } func (m *CommitDiffRequest) Reset() { *m = CommitDiffRequest{} }
func (m *CommitDiffRequest) String() string { return proto.CompactTextString(m) } func (m *CommitDiffRequest) String() string { return proto.CompactTextString(m) }
func (*CommitDiffRequest) ProtoMessage() {} 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 { func (m *CommitDiffRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -150,7 +150,7 @@ type CommitDiffResponse struct { ...@@ -150,7 +150,7 @@ type CommitDiffResponse struct {
func (m *CommitDiffResponse) Reset() { *m = CommitDiffResponse{} } func (m *CommitDiffResponse) Reset() { *m = CommitDiffResponse{} }
func (m *CommitDiffResponse) String() string { return proto.CompactTextString(m) } func (m *CommitDiffResponse) String() string { return proto.CompactTextString(m) }
func (*CommitDiffResponse) ProtoMessage() {} 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 { func (m *CommitDiffResponse) GetFromPath() []byte {
if m != nil { if m != nil {
...@@ -239,7 +239,7 @@ type CommitDeltaRequest struct { ...@@ -239,7 +239,7 @@ type CommitDeltaRequest struct {
func (m *CommitDeltaRequest) Reset() { *m = CommitDeltaRequest{} } func (m *CommitDeltaRequest) Reset() { *m = CommitDeltaRequest{} }
func (m *CommitDeltaRequest) String() string { return proto.CompactTextString(m) } func (m *CommitDeltaRequest) String() string { return proto.CompactTextString(m) }
func (*CommitDeltaRequest) ProtoMessage() {} 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 { func (m *CommitDeltaRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -282,7 +282,7 @@ type CommitDelta struct { ...@@ -282,7 +282,7 @@ type CommitDelta struct {
func (m *CommitDelta) Reset() { *m = CommitDelta{} } func (m *CommitDelta) Reset() { *m = CommitDelta{} }
func (m *CommitDelta) String() string { return proto.CompactTextString(m) } func (m *CommitDelta) String() string { return proto.CompactTextString(m) }
func (*CommitDelta) ProtoMessage() {} 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 { func (m *CommitDelta) GetFromPath() []byte {
if m != nil { if m != nil {
...@@ -333,7 +333,7 @@ type CommitDeltaResponse struct { ...@@ -333,7 +333,7 @@ type CommitDeltaResponse struct {
func (m *CommitDeltaResponse) Reset() { *m = CommitDeltaResponse{} } func (m *CommitDeltaResponse) Reset() { *m = CommitDeltaResponse{} }
func (m *CommitDeltaResponse) String() string { return proto.CompactTextString(m) } func (m *CommitDeltaResponse) String() string { return proto.CompactTextString(m) }
func (*CommitDeltaResponse) ProtoMessage() {} 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 { func (m *CommitDeltaResponse) GetDeltas() []*CommitDelta {
if m != nil { if m != nil {
...@@ -350,7 +350,7 @@ type CommitPatchRequest struct { ...@@ -350,7 +350,7 @@ type CommitPatchRequest struct {
func (m *CommitPatchRequest) Reset() { *m = CommitPatchRequest{} } func (m *CommitPatchRequest) Reset() { *m = CommitPatchRequest{} }
func (m *CommitPatchRequest) String() string { return proto.CompactTextString(m) } func (m *CommitPatchRequest) String() string { return proto.CompactTextString(m) }
func (*CommitPatchRequest) ProtoMessage() {} func (*CommitPatchRequest) ProtoMessage() {}
func (*CommitPatchRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{5} } func (*CommitPatchRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{5} }
func (m *CommitPatchRequest) GetRepository() *Repository { func (m *CommitPatchRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -373,7 +373,7 @@ type CommitPatchResponse struct { ...@@ -373,7 +373,7 @@ type CommitPatchResponse struct {
func (m *CommitPatchResponse) Reset() { *m = CommitPatchResponse{} } func (m *CommitPatchResponse) Reset() { *m = CommitPatchResponse{} }
func (m *CommitPatchResponse) String() string { return proto.CompactTextString(m) } func (m *CommitPatchResponse) String() string { return proto.CompactTextString(m) }
func (*CommitPatchResponse) ProtoMessage() {} func (*CommitPatchResponse) ProtoMessage() {}
func (*CommitPatchResponse) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{6} } func (*CommitPatchResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{6} }
func (m *CommitPatchResponse) GetData() []byte { func (m *CommitPatchResponse) GetData() []byte {
if m != nil { if m != nil {
...@@ -391,7 +391,7 @@ type RawDiffRequest struct { ...@@ -391,7 +391,7 @@ type RawDiffRequest struct {
func (m *RawDiffRequest) Reset() { *m = RawDiffRequest{} } func (m *RawDiffRequest) Reset() { *m = RawDiffRequest{} }
func (m *RawDiffRequest) String() string { return proto.CompactTextString(m) } func (m *RawDiffRequest) String() string { return proto.CompactTextString(m) }
func (*RawDiffRequest) ProtoMessage() {} func (*RawDiffRequest) ProtoMessage() {}
func (*RawDiffRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{7} } func (*RawDiffRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{7} }
func (m *RawDiffRequest) GetRepository() *Repository { func (m *RawDiffRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -421,7 +421,7 @@ type RawDiffResponse struct { ...@@ -421,7 +421,7 @@ type RawDiffResponse struct {
func (m *RawDiffResponse) Reset() { *m = RawDiffResponse{} } func (m *RawDiffResponse) Reset() { *m = RawDiffResponse{} }
func (m *RawDiffResponse) String() string { return proto.CompactTextString(m) } func (m *RawDiffResponse) String() string { return proto.CompactTextString(m) }
func (*RawDiffResponse) ProtoMessage() {} func (*RawDiffResponse) ProtoMessage() {}
func (*RawDiffResponse) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{8} } func (*RawDiffResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{8} }
func (m *RawDiffResponse) GetData() []byte { func (m *RawDiffResponse) GetData() []byte {
if m != nil { if m != nil {
...@@ -439,7 +439,7 @@ type RawPatchRequest struct { ...@@ -439,7 +439,7 @@ type RawPatchRequest struct {
func (m *RawPatchRequest) Reset() { *m = RawPatchRequest{} } func (m *RawPatchRequest) Reset() { *m = RawPatchRequest{} }
func (m *RawPatchRequest) String() string { return proto.CompactTextString(m) } func (m *RawPatchRequest) String() string { return proto.CompactTextString(m) }
func (*RawPatchRequest) ProtoMessage() {} func (*RawPatchRequest) ProtoMessage() {}
func (*RawPatchRequest) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{9} } func (*RawPatchRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{9} }
func (m *RawPatchRequest) GetRepository() *Repository { func (m *RawPatchRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -469,7 +469,7 @@ type RawPatchResponse struct { ...@@ -469,7 +469,7 @@ type RawPatchResponse struct {
func (m *RawPatchResponse) Reset() { *m = RawPatchResponse{} } func (m *RawPatchResponse) Reset() { *m = RawPatchResponse{} }
func (m *RawPatchResponse) String() string { return proto.CompactTextString(m) } func (m *RawPatchResponse) String() string { return proto.CompactTextString(m) }
func (*RawPatchResponse) ProtoMessage() {} func (*RawPatchResponse) ProtoMessage() {}
func (*RawPatchResponse) Descriptor() ([]byte, []int) { return fileDescriptor3, []int{10} } func (*RawPatchResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{10} }
func (m *RawPatchResponse) GetData() []byte { func (m *RawPatchResponse) GetData() []byte {
if m != nil { if m != nil {
...@@ -835,9 +835,9 @@ var _DiffService_serviceDesc = grpc.ServiceDesc{ ...@@ -835,9 +835,9 @@ var _DiffService_serviceDesc = grpc.ServiceDesc{
Metadata: "diff.proto", Metadata: "diff.proto",
} }
func init() { proto.RegisterFile("diff.proto", fileDescriptor3) } func init() { proto.RegisterFile("diff.proto", fileDescriptor4) }
var fileDescriptor3 = []byte{ var fileDescriptor4 = []byte{
// 753 bytes of a gzipped FileDescriptorProto // 753 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x4d, 0x6f, 0xdb, 0x46, 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, 0x10, 0x2d, 0xf5, 0x41, 0x51, 0x23, 0x5a, 0x76, 0xd7, 0x85, 0x4d, 0xcb, 0x3d, 0x08, 0x44, 0xed,
......
...@@ -25,7 +25,7 @@ type AddNamespaceRequest struct { ...@@ -25,7 +25,7 @@ type AddNamespaceRequest struct {
func (m *AddNamespaceRequest) Reset() { *m = AddNamespaceRequest{} } func (m *AddNamespaceRequest) Reset() { *m = AddNamespaceRequest{} }
func (m *AddNamespaceRequest) String() string { return proto.CompactTextString(m) } func (m *AddNamespaceRequest) String() string { return proto.CompactTextString(m) }
func (*AddNamespaceRequest) ProtoMessage() {} func (*AddNamespaceRequest) ProtoMessage() {}
func (*AddNamespaceRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{0} } func (*AddNamespaceRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} }
func (m *AddNamespaceRequest) GetStorageName() string { func (m *AddNamespaceRequest) GetStorageName() string {
if m != nil { if m != nil {
...@@ -49,7 +49,7 @@ type RemoveNamespaceRequest struct { ...@@ -49,7 +49,7 @@ type RemoveNamespaceRequest struct {
func (m *RemoveNamespaceRequest) Reset() { *m = RemoveNamespaceRequest{} } func (m *RemoveNamespaceRequest) Reset() { *m = RemoveNamespaceRequest{} }
func (m *RemoveNamespaceRequest) String() string { return proto.CompactTextString(m) } func (m *RemoveNamespaceRequest) String() string { return proto.CompactTextString(m) }
func (*RemoveNamespaceRequest) ProtoMessage() {} func (*RemoveNamespaceRequest) ProtoMessage() {}
func (*RemoveNamespaceRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{1} } func (*RemoveNamespaceRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{1} }
func (m *RemoveNamespaceRequest) GetStorageName() string { func (m *RemoveNamespaceRequest) GetStorageName() string {
if m != nil { if m != nil {
...@@ -74,7 +74,7 @@ type RenameNamespaceRequest struct { ...@@ -74,7 +74,7 @@ type RenameNamespaceRequest struct {
func (m *RenameNamespaceRequest) Reset() { *m = RenameNamespaceRequest{} } func (m *RenameNamespaceRequest) Reset() { *m = RenameNamespaceRequest{} }
func (m *RenameNamespaceRequest) String() string { return proto.CompactTextString(m) } func (m *RenameNamespaceRequest) String() string { return proto.CompactTextString(m) }
func (*RenameNamespaceRequest) ProtoMessage() {} func (*RenameNamespaceRequest) ProtoMessage() {}
func (*RenameNamespaceRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{2} } func (*RenameNamespaceRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{2} }
func (m *RenameNamespaceRequest) GetStorageName() string { func (m *RenameNamespaceRequest) GetStorageName() string {
if m != nil { if m != nil {
...@@ -105,7 +105,7 @@ type NamespaceExistsRequest struct { ...@@ -105,7 +105,7 @@ type NamespaceExistsRequest struct {
func (m *NamespaceExistsRequest) Reset() { *m = NamespaceExistsRequest{} } func (m *NamespaceExistsRequest) Reset() { *m = NamespaceExistsRequest{} }
func (m *NamespaceExistsRequest) String() string { return proto.CompactTextString(m) } func (m *NamespaceExistsRequest) String() string { return proto.CompactTextString(m) }
func (*NamespaceExistsRequest) ProtoMessage() {} func (*NamespaceExistsRequest) ProtoMessage() {}
func (*NamespaceExistsRequest) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{3} } func (*NamespaceExistsRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{3} }
func (m *NamespaceExistsRequest) GetStorageName() string { func (m *NamespaceExistsRequest) GetStorageName() string {
if m != nil { if m != nil {
...@@ -128,7 +128,7 @@ type NamespaceExistsResponse struct { ...@@ -128,7 +128,7 @@ type NamespaceExistsResponse struct {
func (m *NamespaceExistsResponse) Reset() { *m = NamespaceExistsResponse{} } func (m *NamespaceExistsResponse) Reset() { *m = NamespaceExistsResponse{} }
func (m *NamespaceExistsResponse) String() string { return proto.CompactTextString(m) } func (m *NamespaceExistsResponse) String() string { return proto.CompactTextString(m) }
func (*NamespaceExistsResponse) ProtoMessage() {} func (*NamespaceExistsResponse) ProtoMessage() {}
func (*NamespaceExistsResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{4} } func (*NamespaceExistsResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{4} }
func (m *NamespaceExistsResponse) GetExists() bool { func (m *NamespaceExistsResponse) GetExists() bool {
if m != nil { if m != nil {
...@@ -143,7 +143,7 @@ type AddNamespaceResponse struct { ...@@ -143,7 +143,7 @@ type AddNamespaceResponse struct {
func (m *AddNamespaceResponse) Reset() { *m = AddNamespaceResponse{} } func (m *AddNamespaceResponse) Reset() { *m = AddNamespaceResponse{} }
func (m *AddNamespaceResponse) String() string { return proto.CompactTextString(m) } func (m *AddNamespaceResponse) String() string { return proto.CompactTextString(m) }
func (*AddNamespaceResponse) ProtoMessage() {} func (*AddNamespaceResponse) ProtoMessage() {}
func (*AddNamespaceResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{5} } func (*AddNamespaceResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{5} }
type RemoveNamespaceResponse struct { type RemoveNamespaceResponse struct {
} }
...@@ -151,7 +151,7 @@ type RemoveNamespaceResponse struct { ...@@ -151,7 +151,7 @@ type RemoveNamespaceResponse struct {
func (m *RemoveNamespaceResponse) Reset() { *m = RemoveNamespaceResponse{} } func (m *RemoveNamespaceResponse) Reset() { *m = RemoveNamespaceResponse{} }
func (m *RemoveNamespaceResponse) String() string { return proto.CompactTextString(m) } func (m *RemoveNamespaceResponse) String() string { return proto.CompactTextString(m) }
func (*RemoveNamespaceResponse) ProtoMessage() {} func (*RemoveNamespaceResponse) ProtoMessage() {}
func (*RemoveNamespaceResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{6} } func (*RemoveNamespaceResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{6} }
type RenameNamespaceResponse struct { type RenameNamespaceResponse struct {
} }
...@@ -159,7 +159,7 @@ type RenameNamespaceResponse struct { ...@@ -159,7 +159,7 @@ type RenameNamespaceResponse struct {
func (m *RenameNamespaceResponse) Reset() { *m = RenameNamespaceResponse{} } func (m *RenameNamespaceResponse) Reset() { *m = RenameNamespaceResponse{} }
func (m *RenameNamespaceResponse) String() string { return proto.CompactTextString(m) } func (m *RenameNamespaceResponse) String() string { return proto.CompactTextString(m) }
func (*RenameNamespaceResponse) ProtoMessage() {} func (*RenameNamespaceResponse) ProtoMessage() {}
func (*RenameNamespaceResponse) Descriptor() ([]byte, []int) { return fileDescriptor4, []int{7} } func (*RenameNamespaceResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{7} }
func init() { func init() {
proto.RegisterType((*AddNamespaceRequest)(nil), "gitaly.AddNamespaceRequest") proto.RegisterType((*AddNamespaceRequest)(nil), "gitaly.AddNamespaceRequest")
...@@ -343,9 +343,9 @@ var _NamespaceService_serviceDesc = grpc.ServiceDesc{ ...@@ -343,9 +343,9 @@ var _NamespaceService_serviceDesc = grpc.ServiceDesc{
Metadata: "namespace.proto", Metadata: "namespace.proto",
} }
func init() { proto.RegisterFile("namespace.proto", fileDescriptor4) } func init() { proto.RegisterFile("namespace.proto", fileDescriptor5) }
var fileDescriptor4 = []byte{ var fileDescriptor5 = []byte{
// 291 bytes of a gzipped FileDescriptorProto // 291 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xcf, 0x4b, 0xcc, 0x4d, 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, 0x2d, 0x2e, 0x48, 0x4c, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x4b, 0xcf, 0x2c,
......
...@@ -24,7 +24,7 @@ type PostReceiveRequest struct { ...@@ -24,7 +24,7 @@ type PostReceiveRequest struct {
func (m *PostReceiveRequest) Reset() { *m = PostReceiveRequest{} } func (m *PostReceiveRequest) Reset() { *m = PostReceiveRequest{} }
func (m *PostReceiveRequest) String() string { return proto.CompactTextString(m) } func (m *PostReceiveRequest) String() string { return proto.CompactTextString(m) }
func (*PostReceiveRequest) ProtoMessage() {} func (*PostReceiveRequest) ProtoMessage() {}
func (*PostReceiveRequest) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{0} } func (*PostReceiveRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{0} }
func (m *PostReceiveRequest) GetRepository() *Repository { func (m *PostReceiveRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -39,7 +39,7 @@ type PostReceiveResponse struct { ...@@ -39,7 +39,7 @@ type PostReceiveResponse struct {
func (m *PostReceiveResponse) Reset() { *m = PostReceiveResponse{} } func (m *PostReceiveResponse) Reset() { *m = PostReceiveResponse{} }
func (m *PostReceiveResponse) String() string { return proto.CompactTextString(m) } func (m *PostReceiveResponse) String() string { return proto.CompactTextString(m) }
func (*PostReceiveResponse) ProtoMessage() {} func (*PostReceiveResponse) ProtoMessage() {}
func (*PostReceiveResponse) Descriptor() ([]byte, []int) { return fileDescriptor5, []int{1} } func (*PostReceiveResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{1} }
func init() { func init() {
proto.RegisterType((*PostReceiveRequest)(nil), "gitaly.PostReceiveRequest") proto.RegisterType((*PostReceiveRequest)(nil), "gitaly.PostReceiveRequest")
...@@ -118,9 +118,9 @@ var _NotificationService_serviceDesc = grpc.ServiceDesc{ ...@@ -118,9 +118,9 @@ var _NotificationService_serviceDesc = grpc.ServiceDesc{
Metadata: "notifications.proto", Metadata: "notifications.proto",
} }
func init() { proto.RegisterFile("notifications.proto", fileDescriptor5) } func init() { proto.RegisterFile("notifications.proto", fileDescriptor6) }
var fileDescriptor5 = []byte{ var fileDescriptor6 = []byte{
// 170 bytes of a gzipped FileDescriptorProto // 170 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xce, 0xcb, 0x2f, 0xc9, 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, 0x4c, 0xcb, 0x4c, 0x4e, 0x2c, 0xc9, 0xcc, 0xcf, 0x2b, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17,
......
...@@ -17,6 +17,38 @@ var _ = proto.Marshal ...@@ -17,6 +17,38 @@ var _ = proto.Marshal
var _ = fmt.Errorf var _ = fmt.Errorf
var _ = math.Inf 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 { type UserCreateBranchRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` 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"` BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
...@@ -27,7 +59,7 @@ type UserCreateBranchRequest struct { ...@@ -27,7 +59,7 @@ type UserCreateBranchRequest struct {
func (m *UserCreateBranchRequest) Reset() { *m = UserCreateBranchRequest{} } func (m *UserCreateBranchRequest) Reset() { *m = UserCreateBranchRequest{} }
func (m *UserCreateBranchRequest) String() string { return proto.CompactTextString(m) } func (m *UserCreateBranchRequest) String() string { return proto.CompactTextString(m) }
func (*UserCreateBranchRequest) ProtoMessage() {} func (*UserCreateBranchRequest) ProtoMessage() {}
func (*UserCreateBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{0} } func (*UserCreateBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0} }
func (m *UserCreateBranchRequest) GetRepository() *Repository { func (m *UserCreateBranchRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -67,7 +99,7 @@ type UserCreateBranchResponse struct { ...@@ -67,7 +99,7 @@ type UserCreateBranchResponse struct {
func (m *UserCreateBranchResponse) Reset() { *m = UserCreateBranchResponse{} } func (m *UserCreateBranchResponse) Reset() { *m = UserCreateBranchResponse{} }
func (m *UserCreateBranchResponse) String() string { return proto.CompactTextString(m) } func (m *UserCreateBranchResponse) String() string { return proto.CompactTextString(m) }
func (*UserCreateBranchResponse) ProtoMessage() {} func (*UserCreateBranchResponse) ProtoMessage() {}
func (*UserCreateBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{1} } func (*UserCreateBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{1} }
func (m *UserCreateBranchResponse) GetBranch() *Branch { func (m *UserCreateBranchResponse) GetBranch() *Branch {
if m != nil { if m != nil {
...@@ -92,7 +124,7 @@ type UserDeleteBranchRequest struct { ...@@ -92,7 +124,7 @@ type UserDeleteBranchRequest struct {
func (m *UserDeleteBranchRequest) Reset() { *m = UserDeleteBranchRequest{} } func (m *UserDeleteBranchRequest) Reset() { *m = UserDeleteBranchRequest{} }
func (m *UserDeleteBranchRequest) String() string { return proto.CompactTextString(m) } func (m *UserDeleteBranchRequest) String() string { return proto.CompactTextString(m) }
func (*UserDeleteBranchRequest) ProtoMessage() {} func (*UserDeleteBranchRequest) ProtoMessage() {}
func (*UserDeleteBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{2} } func (*UserDeleteBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{2} }
func (m *UserDeleteBranchRequest) GetRepository() *Repository { func (m *UserDeleteBranchRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -122,7 +154,7 @@ type UserDeleteBranchResponse struct { ...@@ -122,7 +154,7 @@ type UserDeleteBranchResponse struct {
func (m *UserDeleteBranchResponse) Reset() { *m = UserDeleteBranchResponse{} } func (m *UserDeleteBranchResponse) Reset() { *m = UserDeleteBranchResponse{} }
func (m *UserDeleteBranchResponse) String() string { return proto.CompactTextString(m) } func (m *UserDeleteBranchResponse) String() string { return proto.CompactTextString(m) }
func (*UserDeleteBranchResponse) ProtoMessage() {} func (*UserDeleteBranchResponse) ProtoMessage() {}
func (*UserDeleteBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{3} } func (*UserDeleteBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{3} }
func (m *UserDeleteBranchResponse) GetPreReceiveError() string { func (m *UserDeleteBranchResponse) GetPreReceiveError() string {
if m != nil { if m != nil {
...@@ -140,7 +172,7 @@ type UserDeleteTagRequest struct { ...@@ -140,7 +172,7 @@ type UserDeleteTagRequest struct {
func (m *UserDeleteTagRequest) Reset() { *m = UserDeleteTagRequest{} } func (m *UserDeleteTagRequest) Reset() { *m = UserDeleteTagRequest{} }
func (m *UserDeleteTagRequest) String() string { return proto.CompactTextString(m) } func (m *UserDeleteTagRequest) String() string { return proto.CompactTextString(m) }
func (*UserDeleteTagRequest) ProtoMessage() {} func (*UserDeleteTagRequest) ProtoMessage() {}
func (*UserDeleteTagRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{4} } func (*UserDeleteTagRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{4} }
func (m *UserDeleteTagRequest) GetRepository() *Repository { func (m *UserDeleteTagRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -170,7 +202,7 @@ type UserDeleteTagResponse struct { ...@@ -170,7 +202,7 @@ type UserDeleteTagResponse struct {
func (m *UserDeleteTagResponse) Reset() { *m = UserDeleteTagResponse{} } func (m *UserDeleteTagResponse) Reset() { *m = UserDeleteTagResponse{} }
func (m *UserDeleteTagResponse) String() string { return proto.CompactTextString(m) } func (m *UserDeleteTagResponse) String() string { return proto.CompactTextString(m) }
func (*UserDeleteTagResponse) ProtoMessage() {} func (*UserDeleteTagResponse) ProtoMessage() {}
func (*UserDeleteTagResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{5} } func (*UserDeleteTagResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{5} }
func (m *UserDeleteTagResponse) GetPreReceiveError() string { func (m *UserDeleteTagResponse) GetPreReceiveError() string {
if m != nil { if m != nil {
...@@ -190,7 +222,7 @@ type UserCreateTagRequest struct { ...@@ -190,7 +222,7 @@ type UserCreateTagRequest struct {
func (m *UserCreateTagRequest) Reset() { *m = UserCreateTagRequest{} } func (m *UserCreateTagRequest) Reset() { *m = UserCreateTagRequest{} }
func (m *UserCreateTagRequest) String() string { return proto.CompactTextString(m) } func (m *UserCreateTagRequest) String() string { return proto.CompactTextString(m) }
func (*UserCreateTagRequest) ProtoMessage() {} func (*UserCreateTagRequest) ProtoMessage() {}
func (*UserCreateTagRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{6} } func (*UserCreateTagRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{6} }
func (m *UserCreateTagRequest) GetRepository() *Repository { func (m *UserCreateTagRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -236,7 +268,7 @@ type UserCreateTagResponse struct { ...@@ -236,7 +268,7 @@ type UserCreateTagResponse struct {
func (m *UserCreateTagResponse) Reset() { *m = UserCreateTagResponse{} } func (m *UserCreateTagResponse) Reset() { *m = UserCreateTagResponse{} }
func (m *UserCreateTagResponse) String() string { return proto.CompactTextString(m) } func (m *UserCreateTagResponse) String() string { return proto.CompactTextString(m) }
func (*UserCreateTagResponse) ProtoMessage() {} func (*UserCreateTagResponse) ProtoMessage() {}
func (*UserCreateTagResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{7} } func (*UserCreateTagResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{7} }
func (m *UserCreateTagResponse) GetTag() *Tag { func (m *UserCreateTagResponse) GetTag() *Tag {
if m != nil { if m != nil {
...@@ -274,7 +306,7 @@ type UserMergeBranchRequest struct { ...@@ -274,7 +306,7 @@ type UserMergeBranchRequest struct {
func (m *UserMergeBranchRequest) Reset() { *m = UserMergeBranchRequest{} } func (m *UserMergeBranchRequest) Reset() { *m = UserMergeBranchRequest{} }
func (m *UserMergeBranchRequest) String() string { return proto.CompactTextString(m) } func (m *UserMergeBranchRequest) String() string { return proto.CompactTextString(m) }
func (*UserMergeBranchRequest) ProtoMessage() {} func (*UserMergeBranchRequest) ProtoMessage() {}
func (*UserMergeBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{8} } func (*UserMergeBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{8} }
func (m *UserMergeBranchRequest) GetRepository() *Repository { func (m *UserMergeBranchRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -324,13 +356,14 @@ type UserMergeBranchResponse struct { ...@@ -324,13 +356,14 @@ type UserMergeBranchResponse struct {
CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"` CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
// Second message // Second message
// If set, the merge has been applied to the branch. // 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"` BranchUpdate *OperationBranchUpdate `protobuf:"bytes,3,opt,name=branch_update,json=branchUpdate" json:"branch_update,omitempty"`
PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError" json:"pre_receive_error,omitempty"`
} }
func (m *UserMergeBranchResponse) Reset() { *m = UserMergeBranchResponse{} } func (m *UserMergeBranchResponse) Reset() { *m = UserMergeBranchResponse{} }
func (m *UserMergeBranchResponse) String() string { return proto.CompactTextString(m) } func (m *UserMergeBranchResponse) String() string { return proto.CompactTextString(m) }
func (*UserMergeBranchResponse) ProtoMessage() {} func (*UserMergeBranchResponse) ProtoMessage() {}
func (*UserMergeBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{9} } func (*UserMergeBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{9} }
func (m *UserMergeBranchResponse) GetCommitId() string { func (m *UserMergeBranchResponse) GetCommitId() string {
if m != nil { if m != nil {
...@@ -346,6 +379,13 @@ func (m *UserMergeBranchResponse) GetBranchUpdate() *OperationBranchUpdate { ...@@ -346,6 +379,13 @@ func (m *UserMergeBranchResponse) GetBranchUpdate() *OperationBranchUpdate {
return nil return nil
} }
func (m *UserMergeBranchResponse) GetPreReceiveError() string {
if m != nil {
return m.PreReceiveError
}
return ""
}
type OperationBranchUpdate struct { type OperationBranchUpdate struct {
// If this string is non-empty the branch has been updated. // 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"` CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
...@@ -358,7 +398,7 @@ type OperationBranchUpdate struct { ...@@ -358,7 +398,7 @@ type OperationBranchUpdate struct {
func (m *OperationBranchUpdate) Reset() { *m = OperationBranchUpdate{} } func (m *OperationBranchUpdate) Reset() { *m = OperationBranchUpdate{} }
func (m *OperationBranchUpdate) String() string { return proto.CompactTextString(m) } func (m *OperationBranchUpdate) String() string { return proto.CompactTextString(m) }
func (*OperationBranchUpdate) ProtoMessage() {} func (*OperationBranchUpdate) ProtoMessage() {}
func (*OperationBranchUpdate) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{10} } func (*OperationBranchUpdate) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{10} }
func (m *OperationBranchUpdate) GetCommitId() string { func (m *OperationBranchUpdate) GetCommitId() string {
if m != nil { if m != nil {
...@@ -381,231 +421,1300 @@ func (m *OperationBranchUpdate) GetBranchCreated() bool { ...@@ -381,231 +421,1300 @@ func (m *OperationBranchUpdate) GetBranchCreated() bool {
return false return false
} }
func init() { type UserFFBranchRequest struct {
proto.RegisterType((*UserCreateBranchRequest)(nil), "gitaly.UserCreateBranchRequest") Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
proto.RegisterType((*UserCreateBranchResponse)(nil), "gitaly.UserCreateBranchResponse") User *User `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
proto.RegisterType((*UserDeleteBranchRequest)(nil), "gitaly.UserDeleteBranchRequest") CommitId string `protobuf:"bytes,3,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
proto.RegisterType((*UserDeleteBranchResponse)(nil), "gitaly.UserDeleteBranchResponse") Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
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")
} }
// Reference imports to suppress errors if they are not otherwise used. func (m *UserFFBranchRequest) Reset() { *m = UserFFBranchRequest{} }
var _ context.Context func (m *UserFFBranchRequest) String() string { return proto.CompactTextString(m) }
var _ grpc.ClientConn func (*UserFFBranchRequest) ProtoMessage() {}
func (*UserFFBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{11} }
// This is a compile-time assertion to ensure that this generated file func (m *UserFFBranchRequest) GetRepository() *Repository {
// is compatible with the grpc package it is being compiled against. if m != nil {
const _ = grpc.SupportPackageIsVersion4 return m.Repository
}
return nil
}
// Client API for OperationService service func (m *UserFFBranchRequest) GetUser() *User {
if m != nil {
return m.User
}
return nil
}
type OperationServiceClient interface { func (m *UserFFBranchRequest) GetCommitId() string {
UserCreateBranch(ctx context.Context, in *UserCreateBranchRequest, opts ...grpc.CallOption) (*UserCreateBranchResponse, error) if m != nil {
UserDeleteBranch(ctx context.Context, in *UserDeleteBranchRequest, opts ...grpc.CallOption) (*UserDeleteBranchResponse, error) return m.CommitId
UserCreateTag(ctx context.Context, in *UserCreateTagRequest, opts ...grpc.CallOption) (*UserCreateTagResponse, error) }
UserDeleteTag(ctx context.Context, in *UserDeleteTagRequest, opts ...grpc.CallOption) (*UserDeleteTagResponse, error) return ""
UserMergeBranch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserMergeBranchClient, error)
} }
type operationServiceClient struct { func (m *UserFFBranchRequest) GetBranch() []byte {
cc *grpc.ClientConn if m != nil {
return m.Branch
}
return nil
} }
func NewOperationServiceClient(cc *grpc.ClientConn) OperationServiceClient { type UserFFBranchResponse struct {
return &operationServiceClient{cc} 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 (c *operationServiceClient) UserCreateBranch(ctx context.Context, in *UserCreateBranchRequest, opts ...grpc.CallOption) (*UserCreateBranchResponse, error) { func (m *UserFFBranchResponse) Reset() { *m = UserFFBranchResponse{} }
out := new(UserCreateBranchResponse) func (m *UserFFBranchResponse) String() string { return proto.CompactTextString(m) }
err := grpc.Invoke(ctx, "/gitaly.OperationService/UserCreateBranch", in, out, c.cc, opts...) func (*UserFFBranchResponse) ProtoMessage() {}
if err != nil { func (*UserFFBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{12} }
return nil, err
func (m *UserFFBranchResponse) GetBranchUpdate() *OperationBranchUpdate {
if m != nil {
return m.BranchUpdate
} }
return out, nil return nil
} }
func (c *operationServiceClient) UserDeleteBranch(ctx context.Context, in *UserDeleteBranchRequest, opts ...grpc.CallOption) (*UserDeleteBranchResponse, error) { func (m *UserFFBranchResponse) GetPreReceiveError() string {
out := new(UserDeleteBranchResponse) if m != nil {
err := grpc.Invoke(ctx, "/gitaly.OperationService/UserDeleteBranch", in, out, c.cc, opts...) return m.PreReceiveError
if err != nil {
return nil, err
} }
return out, nil return ""
} }
func (c *operationServiceClient) UserCreateTag(ctx context.Context, in *UserCreateTagRequest, opts ...grpc.CallOption) (*UserCreateTagResponse, error) { type UserCherryPickRequest struct {
out := new(UserCreateTagResponse) Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
err := grpc.Invoke(ctx, "/gitaly.OperationService/UserCreateTag", in, out, c.cc, opts...) User *User `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
if err != nil { Commit *GitCommit `protobuf:"bytes,3,opt,name=commit" json:"commit,omitempty"`
return nil, err 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"`
return out, nil 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 (c *operationServiceClient) UserDeleteTag(ctx context.Context, in *UserDeleteTagRequest, opts ...grpc.CallOption) (*UserDeleteTagResponse, error) { func (m *UserCherryPickRequest) Reset() { *m = UserCherryPickRequest{} }
out := new(UserDeleteTagResponse) func (m *UserCherryPickRequest) String() string { return proto.CompactTextString(m) }
err := grpc.Invoke(ctx, "/gitaly.OperationService/UserDeleteTag", in, out, c.cc, opts...) func (*UserCherryPickRequest) ProtoMessage() {}
if err != nil { func (*UserCherryPickRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{13} }
return nil, err
func (m *UserCherryPickRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
} }
return out, nil return nil
} }
func (c *operationServiceClient) UserMergeBranch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserMergeBranchClient, error) { func (m *UserCherryPickRequest) GetUser() *User {
stream, err := grpc.NewClientStream(ctx, &_OperationService_serviceDesc.Streams[0], c.cc, "/gitaly.OperationService/UserMergeBranch", opts...) if m != nil {
if err != nil { return m.User
return nil, err
} }
x := &operationServiceUserMergeBranchClient{stream} return nil
return x, nil
} }
type OperationService_UserMergeBranchClient interface { func (m *UserCherryPickRequest) GetCommit() *GitCommit {
Send(*UserMergeBranchRequest) error if m != nil {
Recv() (*UserMergeBranchResponse, error) return m.Commit
grpc.ClientStream }
return nil
} }
type operationServiceUserMergeBranchClient struct { func (m *UserCherryPickRequest) GetBranchName() []byte {
grpc.ClientStream if m != nil {
return m.BranchName
}
return nil
} }
func (x *operationServiceUserMergeBranchClient) Send(m *UserMergeBranchRequest) error { func (m *UserCherryPickRequest) GetMessage() []byte {
return x.ClientStream.SendMsg(m) if m != nil {
return m.Message
}
return nil
} }
func (x *operationServiceUserMergeBranchClient) Recv() (*UserMergeBranchResponse, error) { func (m *UserCherryPickRequest) GetStartBranchName() []byte {
m := new(UserMergeBranchResponse) if m != nil {
if err := x.ClientStream.RecvMsg(m); err != nil { return m.StartBranchName
return nil, err
} }
return m, nil return nil
} }
// Server API for OperationService service func (m *UserCherryPickRequest) GetStartRepository() *Repository {
if m != nil {
type OperationServiceServer interface { return m.StartRepository
UserCreateBranch(context.Context, *UserCreateBranchRequest) (*UserCreateBranchResponse, error) }
UserDeleteBranch(context.Context, *UserDeleteBranchRequest) (*UserDeleteBranchResponse, error) return nil
UserCreateTag(context.Context, *UserCreateTagRequest) (*UserCreateTagResponse, error)
UserDeleteTag(context.Context, *UserDeleteTagRequest) (*UserDeleteTagResponse, error)
UserMergeBranch(OperationService_UserMergeBranchServer) error
} }
func RegisterOperationServiceServer(s *grpc.Server, srv OperationServiceServer) { type UserCherryPickResponse struct {
s.RegisterService(&_OperationService_serviceDesc, srv) 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 _OperationService_UserCreateBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { func (m *UserCherryPickResponse) Reset() { *m = UserCherryPickResponse{} }
in := new(UserCreateBranchRequest) func (m *UserCherryPickResponse) String() string { return proto.CompactTextString(m) }
if err := dec(in); err != nil { func (*UserCherryPickResponse) ProtoMessage() {}
return nil, err func (*UserCherryPickResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{14} }
}
if interceptor == nil { func (m *UserCherryPickResponse) GetBranchUpdate() *OperationBranchUpdate {
return srv.(OperationServiceServer).UserCreateBranch(ctx, in) if m != nil {
} return m.BranchUpdate
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) return nil
} }
func _OperationService_UserDeleteBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { func (m *UserCherryPickResponse) GetCreateTreeError() string {
in := new(UserDeleteBranchRequest) if m != nil {
if err := dec(in); err != nil { return m.CreateTreeError
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) return ""
} }
func _OperationService_UserCreateTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { func (m *UserCherryPickResponse) GetCommitError() string {
in := new(UserCreateTagRequest) if m != nil {
if err := dec(in); err != nil { return m.CommitError
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) return ""
} }
func _OperationService_UserDeleteTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { func (m *UserCherryPickResponse) GetPreReceiveError() string {
in := new(UserDeleteTagRequest) if m != nil {
if err := dec(in); err != nil { return m.PreReceiveError
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) return ""
} }
func _OperationService_UserMergeBranch_Handler(srv interface{}, stream grpc.ServerStream) error { type UserRevertRequest struct {
return srv.(OperationServiceServer).UserMergeBranch(&operationServiceUserMergeBranchServer{stream}) 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"`
} }
type OperationService_UserMergeBranchServer interface { func (m *UserRevertRequest) Reset() { *m = UserRevertRequest{} }
Send(*UserMergeBranchResponse) error func (m *UserRevertRequest) String() string { return proto.CompactTextString(m) }
Recv() (*UserMergeBranchRequest, error) func (*UserRevertRequest) ProtoMessage() {}
grpc.ServerStream func (*UserRevertRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{15} }
func (m *UserRevertRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
} }
type operationServiceUserMergeBranchServer struct { func (m *UserRevertRequest) GetUser() *User {
grpc.ServerStream if m != nil {
return m.User
}
return nil
} }
func (x *operationServiceUserMergeBranchServer) Send(m *UserMergeBranchResponse) error { func (m *UserRevertRequest) GetCommit() *GitCommit {
return x.ServerStream.SendMsg(m) if m != nil {
return m.Commit
}
return nil
} }
func (x *operationServiceUserMergeBranchServer) Recv() (*UserMergeBranchRequest, error) { func (m *UserRevertRequest) GetBranchName() []byte {
m := new(UserMergeBranchRequest) if m != nil {
if err := x.ServerStream.RecvMsg(m); err != nil { return m.BranchName
return nil, err
} }
return m, nil return nil
} }
var _OperationService_serviceDesc = grpc.ServiceDesc{ func (m *UserRevertRequest) GetMessage() []byte {
ServiceName: "gitaly.OperationService", if m != nil {
HandlerType: (*OperationServiceServer)(nil), return m.Message
Methods: []grpc.MethodDesc{ }
{ return nil
MethodName: "UserCreateBranch", }
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 ""
}
type UserSquashRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
User *User `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
SquashId string `protobuf:"bytes,3,opt,name=squash_id,json=squashId" json:"squash_id,omitempty"`
Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"`
StartSha string `protobuf:"bytes,5,opt,name=start_sha,json=startSha" json:"start_sha,omitempty"`
EndSha string `protobuf:"bytes,6,opt,name=end_sha,json=endSha" json:"end_sha,omitempty"`
Author *User `protobuf:"bytes,7,opt,name=author" json:"author,omitempty"`
CommitMessage []byte `protobuf:"bytes,8,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"`
}
func (m *UserSquashRequest) Reset() { *m = UserSquashRequest{} }
func (m *UserSquashRequest) String() string { return proto.CompactTextString(m) }
func (*UserSquashRequest) ProtoMessage() {}
func (*UserSquashRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{24} }
func (m *UserSquashRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *UserSquashRequest) GetUser() *User {
if m != nil {
return m.User
}
return nil
}
func (m *UserSquashRequest) GetSquashId() string {
if m != nil {
return m.SquashId
}
return ""
}
func (m *UserSquashRequest) GetBranch() []byte {
if m != nil {
return m.Branch
}
return nil
}
func (m *UserSquashRequest) GetStartSha() string {
if m != nil {
return m.StartSha
}
return ""
}
func (m *UserSquashRequest) GetEndSha() string {
if m != nil {
return m.EndSha
}
return ""
}
func (m *UserSquashRequest) GetAuthor() *User {
if m != nil {
return m.Author
}
return nil
}
func (m *UserSquashRequest) GetCommitMessage() []byte {
if m != nil {
return m.CommitMessage
}
return nil
}
type UserSquashResponse struct {
SquashSha string `protobuf:"bytes,1,opt,name=squash_sha,json=squashSha" json:"squash_sha,omitempty"`
GitError string `protobuf:"bytes,3,opt,name=git_error,json=gitError" json:"git_error,omitempty"`
}
func (m *UserSquashResponse) Reset() { *m = UserSquashResponse{} }
func (m *UserSquashResponse) String() string { return proto.CompactTextString(m) }
func (*UserSquashResponse) ProtoMessage() {}
func (*UserSquashResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{25} }
func (m *UserSquashResponse) GetSquashSha() string {
if m != nil {
return m.SquashSha
}
return ""
}
func (m *UserSquashResponse) 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.RegisterType((*UserSquashRequest)(nil), "gitaly.UserSquashRequest")
proto.RegisterType((*UserSquashResponse)(nil), "gitaly.UserSquashResponse")
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)
UserSquash(ctx context.Context, in *UserSquashRequest, opts ...grpc.CallOption) (*UserSquashResponse, 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
}
func (c *operationServiceClient) UserSquash(ctx context.Context, in *UserSquashRequest, opts ...grpc.CallOption) (*UserSquashResponse, error) {
out := new(UserSquashResponse)
err := grpc.Invoke(ctx, "/gitaly.OperationService/UserSquash", 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)
UserSquash(context.Context, *UserSquashRequest) (*UserSquashResponse, 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)
}
func _OperationService_UserSquash_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UserSquashRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(OperationServiceServer).UserSquash(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.OperationService/UserSquash",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(OperationServiceServer).UserSquash(ctx, req.(*UserSquashRequest))
}
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, Handler: _OperationService_UserCreateBranch_Handler,
}, },
{ {
...@@ -620,6 +1729,26 @@ var _OperationService_serviceDesc = grpc.ServiceDesc{ ...@@ -620,6 +1729,26 @@ var _OperationService_serviceDesc = grpc.ServiceDesc{
MethodName: "UserDeleteTag", MethodName: "UserDeleteTag",
Handler: _OperationService_UserDeleteTag_Handler, 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,
},
{
MethodName: "UserSquash",
Handler: _OperationService_UserSquash_Handler,
},
}, },
Streams: []grpc.StreamDesc{ Streams: []grpc.StreamDesc{
{ {
...@@ -628,52 +1757,109 @@ var _OperationService_serviceDesc = grpc.ServiceDesc{ ...@@ -628,52 +1757,109 @@ var _OperationService_serviceDesc = grpc.ServiceDesc{
ServerStreams: true, ServerStreams: true,
ClientStreams: true, ClientStreams: true,
}, },
{
StreamName: "UserCommitFiles",
Handler: _OperationService_UserCommitFiles_Handler,
ClientStreams: true,
},
}, },
Metadata: "operations.proto", Metadata: "operations.proto",
} }
func init() { proto.RegisterFile("operations.proto", fileDescriptor6) } func init() { proto.RegisterFile("operations.proto", fileDescriptor7) }
var fileDescriptor6 = []byte{ var fileDescriptor7 = []byte{
// 637 bytes of a gzipped FileDescriptorProto // 1459 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0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0x99, 0x04, 0x30, 0x63,
0x7e, 0x29, 0x00, 0xa7, 0xe6, 0xa9, 0x46, 0x97, 0x36, 0x2f, 0x36, 0x45, 0xd2, 0xe6, 0xc5, 0x7b,
0xe7, 0xd4, 0x4b, 0xac, 0xd8, 0xa4, 0x9a, 0x44, 0xa3, 0x4b, 0xaa, 0x49, 0x16, 0xb8, 0x55, 0x78,
0x6c, 0xea, 0x17, 0xee, 0xd7, 0xff, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x36, 0x90, 0x2b, 0x73, 0x0b,
0x17, 0x00, 0x00,
} }
...@@ -41,7 +41,7 @@ func (x FindLocalBranchesRequest_SortBy) String() string { ...@@ -41,7 +41,7 @@ func (x FindLocalBranchesRequest_SortBy) String() string {
return proto.EnumName(FindLocalBranchesRequest_SortBy_name, int32(x)) return proto.EnumName(FindLocalBranchesRequest_SortBy_name, int32(x))
} }
func (FindLocalBranchesRequest_SortBy) EnumDescriptor() ([]byte, []int) { func (FindLocalBranchesRequest_SortBy) EnumDescriptor() ([]byte, []int) {
return fileDescriptor7, []int{8, 0} return fileDescriptor8, []int{8, 0}
} }
type CreateBranchResponse_Status int32 type CreateBranchResponse_Status int32
...@@ -70,7 +70,7 @@ func (x CreateBranchResponse_Status) String() string { ...@@ -70,7 +70,7 @@ func (x CreateBranchResponse_Status) String() string {
return proto.EnumName(CreateBranchResponse_Status_name, int32(x)) return proto.EnumName(CreateBranchResponse_Status_name, int32(x))
} }
func (CreateBranchResponse_Status) EnumDescriptor() ([]byte, []int) { func (CreateBranchResponse_Status) EnumDescriptor() ([]byte, []int) {
return fileDescriptor7, []int{19, 0} return fileDescriptor8, []int{19, 0}
} }
type FindDefaultBranchNameRequest struct { type FindDefaultBranchNameRequest struct {
...@@ -80,7 +80,7 @@ type FindDefaultBranchNameRequest struct { ...@@ -80,7 +80,7 @@ type FindDefaultBranchNameRequest struct {
func (m *FindDefaultBranchNameRequest) Reset() { *m = FindDefaultBranchNameRequest{} } func (m *FindDefaultBranchNameRequest) Reset() { *m = FindDefaultBranchNameRequest{} }
func (m *FindDefaultBranchNameRequest) String() string { return proto.CompactTextString(m) } func (m *FindDefaultBranchNameRequest) String() string { return proto.CompactTextString(m) }
func (*FindDefaultBranchNameRequest) ProtoMessage() {} func (*FindDefaultBranchNameRequest) ProtoMessage() {}
func (*FindDefaultBranchNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0} } func (*FindDefaultBranchNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0} }
func (m *FindDefaultBranchNameRequest) GetRepository() *Repository { func (m *FindDefaultBranchNameRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -96,7 +96,7 @@ type FindDefaultBranchNameResponse struct { ...@@ -96,7 +96,7 @@ type FindDefaultBranchNameResponse struct {
func (m *FindDefaultBranchNameResponse) Reset() { *m = FindDefaultBranchNameResponse{} } func (m *FindDefaultBranchNameResponse) Reset() { *m = FindDefaultBranchNameResponse{} }
func (m *FindDefaultBranchNameResponse) String() string { return proto.CompactTextString(m) } func (m *FindDefaultBranchNameResponse) String() string { return proto.CompactTextString(m) }
func (*FindDefaultBranchNameResponse) ProtoMessage() {} func (*FindDefaultBranchNameResponse) ProtoMessage() {}
func (*FindDefaultBranchNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{1} } func (*FindDefaultBranchNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{1} }
func (m *FindDefaultBranchNameResponse) GetName() []byte { func (m *FindDefaultBranchNameResponse) GetName() []byte {
if m != nil { if m != nil {
...@@ -112,7 +112,7 @@ type FindAllBranchNamesRequest struct { ...@@ -112,7 +112,7 @@ type FindAllBranchNamesRequest struct {
func (m *FindAllBranchNamesRequest) Reset() { *m = FindAllBranchNamesRequest{} } func (m *FindAllBranchNamesRequest) Reset() { *m = FindAllBranchNamesRequest{} }
func (m *FindAllBranchNamesRequest) String() string { return proto.CompactTextString(m) } func (m *FindAllBranchNamesRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchNamesRequest) ProtoMessage() {} func (*FindAllBranchNamesRequest) ProtoMessage() {}
func (*FindAllBranchNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{2} } func (*FindAllBranchNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{2} }
func (m *FindAllBranchNamesRequest) GetRepository() *Repository { func (m *FindAllBranchNamesRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -128,7 +128,7 @@ type FindAllBranchNamesResponse struct { ...@@ -128,7 +128,7 @@ type FindAllBranchNamesResponse struct {
func (m *FindAllBranchNamesResponse) Reset() { *m = FindAllBranchNamesResponse{} } func (m *FindAllBranchNamesResponse) Reset() { *m = FindAllBranchNamesResponse{} }
func (m *FindAllBranchNamesResponse) String() string { return proto.CompactTextString(m) } func (m *FindAllBranchNamesResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchNamesResponse) ProtoMessage() {} func (*FindAllBranchNamesResponse) ProtoMessage() {}
func (*FindAllBranchNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{3} } func (*FindAllBranchNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{3} }
func (m *FindAllBranchNamesResponse) GetNames() [][]byte { func (m *FindAllBranchNamesResponse) GetNames() [][]byte {
if m != nil { if m != nil {
...@@ -144,7 +144,7 @@ type FindAllTagNamesRequest struct { ...@@ -144,7 +144,7 @@ type FindAllTagNamesRequest struct {
func (m *FindAllTagNamesRequest) Reset() { *m = FindAllTagNamesRequest{} } func (m *FindAllTagNamesRequest) Reset() { *m = FindAllTagNamesRequest{} }
func (m *FindAllTagNamesRequest) String() string { return proto.CompactTextString(m) } func (m *FindAllTagNamesRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllTagNamesRequest) ProtoMessage() {} func (*FindAllTagNamesRequest) ProtoMessage() {}
func (*FindAllTagNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{4} } func (*FindAllTagNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{4} }
func (m *FindAllTagNamesRequest) GetRepository() *Repository { func (m *FindAllTagNamesRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -160,7 +160,7 @@ type FindAllTagNamesResponse struct { ...@@ -160,7 +160,7 @@ type FindAllTagNamesResponse struct {
func (m *FindAllTagNamesResponse) Reset() { *m = FindAllTagNamesResponse{} } func (m *FindAllTagNamesResponse) Reset() { *m = FindAllTagNamesResponse{} }
func (m *FindAllTagNamesResponse) String() string { return proto.CompactTextString(m) } func (m *FindAllTagNamesResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllTagNamesResponse) ProtoMessage() {} func (*FindAllTagNamesResponse) ProtoMessage() {}
func (*FindAllTagNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{5} } func (*FindAllTagNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{5} }
func (m *FindAllTagNamesResponse) GetNames() [][]byte { func (m *FindAllTagNamesResponse) GetNames() [][]byte {
if m != nil { if m != nil {
...@@ -180,7 +180,7 @@ type FindRefNameRequest struct { ...@@ -180,7 +180,7 @@ type FindRefNameRequest struct {
func (m *FindRefNameRequest) Reset() { *m = FindRefNameRequest{} } func (m *FindRefNameRequest) Reset() { *m = FindRefNameRequest{} }
func (m *FindRefNameRequest) String() string { return proto.CompactTextString(m) } func (m *FindRefNameRequest) String() string { return proto.CompactTextString(m) }
func (*FindRefNameRequest) ProtoMessage() {} func (*FindRefNameRequest) ProtoMessage() {}
func (*FindRefNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{6} } func (*FindRefNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{6} }
func (m *FindRefNameRequest) GetRepository() *Repository { func (m *FindRefNameRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -211,7 +211,7 @@ type FindRefNameResponse struct { ...@@ -211,7 +211,7 @@ type FindRefNameResponse struct {
func (m *FindRefNameResponse) Reset() { *m = FindRefNameResponse{} } func (m *FindRefNameResponse) Reset() { *m = FindRefNameResponse{} }
func (m *FindRefNameResponse) String() string { return proto.CompactTextString(m) } func (m *FindRefNameResponse) String() string { return proto.CompactTextString(m) }
func (*FindRefNameResponse) ProtoMessage() {} func (*FindRefNameResponse) ProtoMessage() {}
func (*FindRefNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{7} } func (*FindRefNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{7} }
func (m *FindRefNameResponse) GetName() []byte { func (m *FindRefNameResponse) GetName() []byte {
if m != nil { if m != nil {
...@@ -228,7 +228,7 @@ type FindLocalBranchesRequest struct { ...@@ -228,7 +228,7 @@ type FindLocalBranchesRequest struct {
func (m *FindLocalBranchesRequest) Reset() { *m = FindLocalBranchesRequest{} } func (m *FindLocalBranchesRequest) Reset() { *m = FindLocalBranchesRequest{} }
func (m *FindLocalBranchesRequest) String() string { return proto.CompactTextString(m) } func (m *FindLocalBranchesRequest) String() string { return proto.CompactTextString(m) }
func (*FindLocalBranchesRequest) ProtoMessage() {} func (*FindLocalBranchesRequest) ProtoMessage() {}
func (*FindLocalBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{8} } func (*FindLocalBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{8} }
func (m *FindLocalBranchesRequest) GetRepository() *Repository { func (m *FindLocalBranchesRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -251,7 +251,7 @@ type FindLocalBranchesResponse struct { ...@@ -251,7 +251,7 @@ type FindLocalBranchesResponse struct {
func (m *FindLocalBranchesResponse) Reset() { *m = FindLocalBranchesResponse{} } func (m *FindLocalBranchesResponse) Reset() { *m = FindLocalBranchesResponse{} }
func (m *FindLocalBranchesResponse) String() string { return proto.CompactTextString(m) } func (m *FindLocalBranchesResponse) String() string { return proto.CompactTextString(m) }
func (*FindLocalBranchesResponse) ProtoMessage() {} func (*FindLocalBranchesResponse) ProtoMessage() {}
func (*FindLocalBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{9} } func (*FindLocalBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{9} }
func (m *FindLocalBranchesResponse) GetBranches() []*FindLocalBranchResponse { func (m *FindLocalBranchesResponse) GetBranches() []*FindLocalBranchResponse {
if m != nil { if m != nil {
...@@ -271,7 +271,7 @@ type FindLocalBranchResponse struct { ...@@ -271,7 +271,7 @@ type FindLocalBranchResponse struct {
func (m *FindLocalBranchResponse) Reset() { *m = FindLocalBranchResponse{} } func (m *FindLocalBranchResponse) Reset() { *m = FindLocalBranchResponse{} }
func (m *FindLocalBranchResponse) String() string { return proto.CompactTextString(m) } func (m *FindLocalBranchResponse) String() string { return proto.CompactTextString(m) }
func (*FindLocalBranchResponse) ProtoMessage() {} func (*FindLocalBranchResponse) ProtoMessage() {}
func (*FindLocalBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{10} } func (*FindLocalBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{10} }
func (m *FindLocalBranchResponse) GetName() []byte { func (m *FindLocalBranchResponse) GetName() []byte {
if m != nil { if m != nil {
...@@ -317,7 +317,7 @@ type FindLocalBranchCommitAuthor struct { ...@@ -317,7 +317,7 @@ type FindLocalBranchCommitAuthor struct {
func (m *FindLocalBranchCommitAuthor) Reset() { *m = FindLocalBranchCommitAuthor{} } func (m *FindLocalBranchCommitAuthor) Reset() { *m = FindLocalBranchCommitAuthor{} }
func (m *FindLocalBranchCommitAuthor) String() string { return proto.CompactTextString(m) } func (m *FindLocalBranchCommitAuthor) String() string { return proto.CompactTextString(m) }
func (*FindLocalBranchCommitAuthor) ProtoMessage() {} func (*FindLocalBranchCommitAuthor) ProtoMessage() {}
func (*FindLocalBranchCommitAuthor) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{11} } func (*FindLocalBranchCommitAuthor) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{11} }
func (m *FindLocalBranchCommitAuthor) GetName() []byte { func (m *FindLocalBranchCommitAuthor) GetName() []byte {
if m != nil { if m != nil {
...@@ -342,12 +342,17 @@ func (m *FindLocalBranchCommitAuthor) GetDate() *google_protobuf.Timestamp { ...@@ -342,12 +342,17 @@ func (m *FindLocalBranchCommitAuthor) GetDate() *google_protobuf.Timestamp {
type FindAllBranchesRequest struct { type FindAllBranchesRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` 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) Reset() { *m = FindAllBranchesRequest{} }
func (m *FindAllBranchesRequest) String() string { return proto.CompactTextString(m) } func (m *FindAllBranchesRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchesRequest) ProtoMessage() {} func (*FindAllBranchesRequest) ProtoMessage() {}
func (*FindAllBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{12} } func (*FindAllBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{12} }
func (m *FindAllBranchesRequest) GetRepository() *Repository { func (m *FindAllBranchesRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -356,6 +361,20 @@ func (m *FindAllBranchesRequest) GetRepository() *Repository { ...@@ -356,6 +361,20 @@ func (m *FindAllBranchesRequest) GetRepository() *Repository {
return nil 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 { type FindAllBranchesResponse struct {
Branches []*FindAllBranchesResponse_Branch `protobuf:"bytes,1,rep,name=branches" json:"branches,omitempty"` Branches []*FindAllBranchesResponse_Branch `protobuf:"bytes,1,rep,name=branches" json:"branches,omitempty"`
} }
...@@ -363,7 +382,7 @@ type FindAllBranchesResponse struct { ...@@ -363,7 +382,7 @@ type FindAllBranchesResponse struct {
func (m *FindAllBranchesResponse) Reset() { *m = FindAllBranchesResponse{} } func (m *FindAllBranchesResponse) Reset() { *m = FindAllBranchesResponse{} }
func (m *FindAllBranchesResponse) String() string { return proto.CompactTextString(m) } func (m *FindAllBranchesResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchesResponse) ProtoMessage() {} func (*FindAllBranchesResponse) ProtoMessage() {}
func (*FindAllBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{13} } func (*FindAllBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{13} }
func (m *FindAllBranchesResponse) GetBranches() []*FindAllBranchesResponse_Branch { func (m *FindAllBranchesResponse) GetBranches() []*FindAllBranchesResponse_Branch {
if m != nil { if m != nil {
...@@ -381,7 +400,7 @@ func (m *FindAllBranchesResponse_Branch) Reset() { *m = FindAllBranchesR ...@@ -381,7 +400,7 @@ func (m *FindAllBranchesResponse_Branch) Reset() { *m = FindAllBranchesR
func (m *FindAllBranchesResponse_Branch) String() string { return proto.CompactTextString(m) } func (m *FindAllBranchesResponse_Branch) String() string { return proto.CompactTextString(m) }
func (*FindAllBranchesResponse_Branch) ProtoMessage() {} func (*FindAllBranchesResponse_Branch) ProtoMessage() {}
func (*FindAllBranchesResponse_Branch) Descriptor() ([]byte, []int) { func (*FindAllBranchesResponse_Branch) Descriptor() ([]byte, []int) {
return fileDescriptor7, []int{13, 0} return fileDescriptor8, []int{13, 0}
} }
func (m *FindAllBranchesResponse_Branch) GetName() []byte { func (m *FindAllBranchesResponse_Branch) GetName() []byte {
...@@ -405,7 +424,7 @@ type FindAllTagsRequest struct { ...@@ -405,7 +424,7 @@ type FindAllTagsRequest struct {
func (m *FindAllTagsRequest) Reset() { *m = FindAllTagsRequest{} } func (m *FindAllTagsRequest) Reset() { *m = FindAllTagsRequest{} }
func (m *FindAllTagsRequest) String() string { return proto.CompactTextString(m) } func (m *FindAllTagsRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllTagsRequest) ProtoMessage() {} func (*FindAllTagsRequest) ProtoMessage() {}
func (*FindAllTagsRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{14} } func (*FindAllTagsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{14} }
func (m *FindAllTagsRequest) GetRepository() *Repository { func (m *FindAllTagsRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -421,7 +440,7 @@ type FindAllTagsResponse struct { ...@@ -421,7 +440,7 @@ type FindAllTagsResponse struct {
func (m *FindAllTagsResponse) Reset() { *m = FindAllTagsResponse{} } func (m *FindAllTagsResponse) Reset() { *m = FindAllTagsResponse{} }
func (m *FindAllTagsResponse) String() string { return proto.CompactTextString(m) } func (m *FindAllTagsResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllTagsResponse) ProtoMessage() {} func (*FindAllTagsResponse) ProtoMessage() {}
func (*FindAllTagsResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{15} } func (*FindAllTagsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{15} }
func (m *FindAllTagsResponse) GetTags() []*Tag { func (m *FindAllTagsResponse) GetTags() []*Tag {
if m != nil { if m != nil {
...@@ -439,7 +458,7 @@ type RefExistsRequest struct { ...@@ -439,7 +458,7 @@ type RefExistsRequest struct {
func (m *RefExistsRequest) Reset() { *m = RefExistsRequest{} } func (m *RefExistsRequest) Reset() { *m = RefExistsRequest{} }
func (m *RefExistsRequest) String() string { return proto.CompactTextString(m) } func (m *RefExistsRequest) String() string { return proto.CompactTextString(m) }
func (*RefExistsRequest) ProtoMessage() {} func (*RefExistsRequest) ProtoMessage() {}
func (*RefExistsRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{16} } func (*RefExistsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{16} }
func (m *RefExistsRequest) GetRepository() *Repository { func (m *RefExistsRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -462,7 +481,7 @@ type RefExistsResponse struct { ...@@ -462,7 +481,7 @@ type RefExistsResponse struct {
func (m *RefExistsResponse) Reset() { *m = RefExistsResponse{} } func (m *RefExistsResponse) Reset() { *m = RefExistsResponse{} }
func (m *RefExistsResponse) String() string { return proto.CompactTextString(m) } func (m *RefExistsResponse) String() string { return proto.CompactTextString(m) }
func (*RefExistsResponse) ProtoMessage() {} func (*RefExistsResponse) ProtoMessage() {}
func (*RefExistsResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{17} } func (*RefExistsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{17} }
func (m *RefExistsResponse) GetValue() bool { func (m *RefExistsResponse) GetValue() bool {
if m != nil { if m != nil {
...@@ -480,7 +499,7 @@ type CreateBranchRequest struct { ...@@ -480,7 +499,7 @@ type CreateBranchRequest struct {
func (m *CreateBranchRequest) Reset() { *m = CreateBranchRequest{} } func (m *CreateBranchRequest) Reset() { *m = CreateBranchRequest{} }
func (m *CreateBranchRequest) String() string { return proto.CompactTextString(m) } func (m *CreateBranchRequest) String() string { return proto.CompactTextString(m) }
func (*CreateBranchRequest) ProtoMessage() {} func (*CreateBranchRequest) ProtoMessage() {}
func (*CreateBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{18} } func (*CreateBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{18} }
func (m *CreateBranchRequest) GetRepository() *Repository { func (m *CreateBranchRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -511,7 +530,7 @@ type CreateBranchResponse struct { ...@@ -511,7 +530,7 @@ type CreateBranchResponse struct {
func (m *CreateBranchResponse) Reset() { *m = CreateBranchResponse{} } func (m *CreateBranchResponse) Reset() { *m = CreateBranchResponse{} }
func (m *CreateBranchResponse) String() string { return proto.CompactTextString(m) } func (m *CreateBranchResponse) String() string { return proto.CompactTextString(m) }
func (*CreateBranchResponse) ProtoMessage() {} func (*CreateBranchResponse) ProtoMessage() {}
func (*CreateBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{19} } func (*CreateBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{19} }
func (m *CreateBranchResponse) GetStatus() CreateBranchResponse_Status { func (m *CreateBranchResponse) GetStatus() CreateBranchResponse_Status {
if m != nil { if m != nil {
...@@ -535,7 +554,7 @@ type DeleteBranchRequest struct { ...@@ -535,7 +554,7 @@ type DeleteBranchRequest struct {
func (m *DeleteBranchRequest) Reset() { *m = DeleteBranchRequest{} } func (m *DeleteBranchRequest) Reset() { *m = DeleteBranchRequest{} }
func (m *DeleteBranchRequest) String() string { return proto.CompactTextString(m) } func (m *DeleteBranchRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteBranchRequest) ProtoMessage() {} func (*DeleteBranchRequest) ProtoMessage() {}
func (*DeleteBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{20} } func (*DeleteBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{20} }
func (m *DeleteBranchRequest) GetRepository() *Repository { func (m *DeleteBranchRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -558,7 +577,7 @@ type DeleteBranchResponse struct { ...@@ -558,7 +577,7 @@ type DeleteBranchResponse struct {
func (m *DeleteBranchResponse) Reset() { *m = DeleteBranchResponse{} } func (m *DeleteBranchResponse) Reset() { *m = DeleteBranchResponse{} }
func (m *DeleteBranchResponse) String() string { return proto.CompactTextString(m) } func (m *DeleteBranchResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteBranchResponse) ProtoMessage() {} func (*DeleteBranchResponse) ProtoMessage() {}
func (*DeleteBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{21} } func (*DeleteBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{21} }
type FindBranchRequest struct { type FindBranchRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
...@@ -569,7 +588,7 @@ type FindBranchRequest struct { ...@@ -569,7 +588,7 @@ type FindBranchRequest struct {
func (m *FindBranchRequest) Reset() { *m = FindBranchRequest{} } func (m *FindBranchRequest) Reset() { *m = FindBranchRequest{} }
func (m *FindBranchRequest) String() string { return proto.CompactTextString(m) } func (m *FindBranchRequest) String() string { return proto.CompactTextString(m) }
func (*FindBranchRequest) ProtoMessage() {} func (*FindBranchRequest) ProtoMessage() {}
func (*FindBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{22} } func (*FindBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{22} }
func (m *FindBranchRequest) GetRepository() *Repository { func (m *FindBranchRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -592,7 +611,7 @@ type FindBranchResponse struct { ...@@ -592,7 +611,7 @@ type FindBranchResponse struct {
func (m *FindBranchResponse) Reset() { *m = FindBranchResponse{} } func (m *FindBranchResponse) Reset() { *m = FindBranchResponse{} }
func (m *FindBranchResponse) String() string { return proto.CompactTextString(m) } func (m *FindBranchResponse) String() string { return proto.CompactTextString(m) }
func (*FindBranchResponse) ProtoMessage() {} func (*FindBranchResponse) ProtoMessage() {}
func (*FindBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{23} } func (*FindBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{23} }
func (m *FindBranchResponse) GetBranch() *Branch { func (m *FindBranchResponse) GetBranch() *Branch {
if m != nil { if m != nil {
...@@ -601,6 +620,216 @@ func (m *FindBranchResponse) GetBranch() *Branch { ...@@ -601,6 +620,216 @@ func (m *FindBranchResponse) GetBranch() *Branch {
return nil return nil
} }
type DeleteRefsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// The following two fields are mutually exclusive
ExceptWithPrefix [][]byte `protobuf:"bytes,2,rep,name=except_with_prefix,json=exceptWithPrefix,proto3" json:"except_with_prefix,omitempty"`
Refs [][]byte `protobuf:"bytes,3,rep,name=refs,proto3" json:"refs,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.ExceptWithPrefix
}
return nil
}
func (m *DeleteRefsRequest) GetRefs() [][]byte {
if m != nil {
return m.Refs
}
return nil
}
type DeleteRefsResponse struct {
GitError string `protobuf:"bytes,1,opt,name=git_error,json=gitError" json:"git_error,omitempty"`
}
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} }
func (m *DeleteRefsResponse) GetGitError() string {
if m != nil {
return m.GitError
}
return ""
}
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"`
// Limit the number of tag names to be returned
// If the limit is set to zero, all items will be returned
Limit uint32 `protobuf:"varint,3,opt,name=limit" json:"limit,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 *ListBranchNamesContainingCommitRequest) GetLimit() uint32 {
if m != nil {
return m.Limit
}
return 0
}
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.BranchNames
}
return nil
}
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"`
// Limit the number of tag names to be returned
// If the limit is set to zero, all items will be returned
Limit uint32 `protobuf:"varint,3,opt,name=limit" json:"limit,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.Repository
}
return nil
}
func (m *ListTagNamesContainingCommitRequest) GetCommitId() string {
if m != nil {
return m.CommitId
}
return ""
}
func (m *ListTagNamesContainingCommitRequest) GetLimit() uint32 {
if m != nil {
return m.Limit
}
return 0
}
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
}
type GetTagMessagesRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
TagIds []string `protobuf:"bytes,3,rep,name=tag_ids,json=tagIds" json:"tag_ids,omitempty"`
}
func (m *GetTagMessagesRequest) Reset() { *m = GetTagMessagesRequest{} }
func (m *GetTagMessagesRequest) String() string { return proto.CompactTextString(m) }
func (*GetTagMessagesRequest) ProtoMessage() {}
func (*GetTagMessagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{30} }
func (m *GetTagMessagesRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *GetTagMessagesRequest) GetTagIds() []string {
if m != nil {
return m.TagIds
}
return nil
}
type GetTagMessagesResponse struct {
Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// Only present for a new tag message
TagId string `protobuf:"bytes,3,opt,name=tag_id,json=tagId" json:"tag_id,omitempty"`
}
func (m *GetTagMessagesResponse) Reset() { *m = GetTagMessagesResponse{} }
func (m *GetTagMessagesResponse) String() string { return proto.CompactTextString(m) }
func (*GetTagMessagesResponse) ProtoMessage() {}
func (*GetTagMessagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{31} }
func (m *GetTagMessagesResponse) GetMessage() []byte {
if m != nil {
return m.Message
}
return nil
}
func (m *GetTagMessagesResponse) GetTagId() string {
if m != nil {
return m.TagId
}
return ""
}
func init() { func init() {
proto.RegisterType((*FindDefaultBranchNameRequest)(nil), "gitaly.FindDefaultBranchNameRequest") proto.RegisterType((*FindDefaultBranchNameRequest)(nil), "gitaly.FindDefaultBranchNameRequest")
proto.RegisterType((*FindDefaultBranchNameResponse)(nil), "gitaly.FindDefaultBranchNameResponse") proto.RegisterType((*FindDefaultBranchNameResponse)(nil), "gitaly.FindDefaultBranchNameResponse")
...@@ -627,6 +856,14 @@ func init() { ...@@ -627,6 +856,14 @@ func init() {
proto.RegisterType((*DeleteBranchResponse)(nil), "gitaly.DeleteBranchResponse") proto.RegisterType((*DeleteBranchResponse)(nil), "gitaly.DeleteBranchResponse")
proto.RegisterType((*FindBranchRequest)(nil), "gitaly.FindBranchRequest") proto.RegisterType((*FindBranchRequest)(nil), "gitaly.FindBranchRequest")
proto.RegisterType((*FindBranchResponse)(nil), "gitaly.FindBranchResponse") 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.RegisterType((*GetTagMessagesRequest)(nil), "gitaly.GetTagMessagesRequest")
proto.RegisterType((*GetTagMessagesResponse)(nil), "gitaly.GetTagMessagesResponse")
proto.RegisterEnum("gitaly.FindLocalBranchesRequest_SortBy", FindLocalBranchesRequest_SortBy_name, FindLocalBranchesRequest_SortBy_value) proto.RegisterEnum("gitaly.FindLocalBranchesRequest_SortBy", FindLocalBranchesRequest_SortBy_name, FindLocalBranchesRequest_SortBy_value)
proto.RegisterEnum("gitaly.CreateBranchResponse_Status", CreateBranchResponse_Status_name, CreateBranchResponse_Status_value) proto.RegisterEnum("gitaly.CreateBranchResponse_Status", CreateBranchResponse_Status_name, CreateBranchResponse_Status_value)
} }
...@@ -655,6 +892,10 @@ type RefServiceClient interface { ...@@ -655,6 +892,10 @@ type RefServiceClient interface {
CreateBranch(ctx context.Context, in *CreateBranchRequest, opts ...grpc.CallOption) (*CreateBranchResponse, error) CreateBranch(ctx context.Context, in *CreateBranchRequest, opts ...grpc.CallOption) (*CreateBranchResponse, error)
DeleteBranch(ctx context.Context, in *DeleteBranchRequest, opts ...grpc.CallOption) (*DeleteBranchResponse, error) DeleteBranch(ctx context.Context, in *DeleteBranchRequest, opts ...grpc.CallOption) (*DeleteBranchResponse, error)
FindBranch(ctx context.Context, in *FindBranchRequest, opts ...grpc.CallOption) (*FindBranchResponse, 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) (RefService_ListBranchNamesContainingCommitClient, error)
ListTagNamesContainingCommit(ctx context.Context, in *ListTagNamesContainingCommitRequest, opts ...grpc.CallOption) (RefService_ListTagNamesContainingCommitClient, error)
GetTagMessages(ctx context.Context, in *GetTagMessagesRequest, opts ...grpc.CallOption) (RefService_GetTagMessagesClient, error)
} }
type refServiceClient struct { type refServiceClient struct {
...@@ -879,6 +1120,111 @@ func (c *refServiceClient) FindBranch(ctx context.Context, in *FindBranchRequest ...@@ -879,6 +1120,111 @@ func (c *refServiceClient) FindBranch(ctx context.Context, in *FindBranchRequest
return out, nil 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) (RefService_ListBranchNamesContainingCommitClient, error) {
stream, err := grpc.NewClientStream(ctx, &_RefService_serviceDesc.Streams[5], c.cc, "/gitaly.RefService/ListBranchNamesContainingCommit", opts...)
if err != nil {
return nil, err
}
x := &refServiceListBranchNamesContainingCommitClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type RefService_ListBranchNamesContainingCommitClient interface {
Recv() (*ListBranchNamesContainingCommitResponse, error)
grpc.ClientStream
}
type refServiceListBranchNamesContainingCommitClient struct {
grpc.ClientStream
}
func (x *refServiceListBranchNamesContainingCommitClient) Recv() (*ListBranchNamesContainingCommitResponse, error) {
m := new(ListBranchNamesContainingCommitResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *refServiceClient) ListTagNamesContainingCommit(ctx context.Context, in *ListTagNamesContainingCommitRequest, opts ...grpc.CallOption) (RefService_ListTagNamesContainingCommitClient, error) {
stream, err := grpc.NewClientStream(ctx, &_RefService_serviceDesc.Streams[6], c.cc, "/gitaly.RefService/ListTagNamesContainingCommit", opts...)
if err != nil {
return nil, err
}
x := &refServiceListTagNamesContainingCommitClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type RefService_ListTagNamesContainingCommitClient interface {
Recv() (*ListTagNamesContainingCommitResponse, error)
grpc.ClientStream
}
type refServiceListTagNamesContainingCommitClient struct {
grpc.ClientStream
}
func (x *refServiceListTagNamesContainingCommitClient) Recv() (*ListTagNamesContainingCommitResponse, error) {
m := new(ListTagNamesContainingCommitResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *refServiceClient) GetTagMessages(ctx context.Context, in *GetTagMessagesRequest, opts ...grpc.CallOption) (RefService_GetTagMessagesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_RefService_serviceDesc.Streams[7], c.cc, "/gitaly.RefService/GetTagMessages", opts...)
if err != nil {
return nil, err
}
x := &refServiceGetTagMessagesClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type RefService_GetTagMessagesClient interface {
Recv() (*GetTagMessagesResponse, error)
grpc.ClientStream
}
type refServiceGetTagMessagesClient struct {
grpc.ClientStream
}
func (x *refServiceGetTagMessagesClient) Recv() (*GetTagMessagesResponse, error) {
m := new(GetTagMessagesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for RefService service // Server API for RefService service
type RefServiceServer interface { type RefServiceServer interface {
...@@ -895,6 +1241,10 @@ type RefServiceServer interface { ...@@ -895,6 +1241,10 @@ type RefServiceServer interface {
CreateBranch(context.Context, *CreateBranchRequest) (*CreateBranchResponse, error) CreateBranch(context.Context, *CreateBranchRequest) (*CreateBranchResponse, error)
DeleteBranch(context.Context, *DeleteBranchRequest) (*DeleteBranchResponse, error) DeleteBranch(context.Context, *DeleteBranchRequest) (*DeleteBranchResponse, error)
FindBranch(context.Context, *FindBranchRequest) (*FindBranchResponse, error) FindBranch(context.Context, *FindBranchRequest) (*FindBranchResponse, error)
DeleteRefs(context.Context, *DeleteRefsRequest) (*DeleteRefsResponse, error)
ListBranchNamesContainingCommit(*ListBranchNamesContainingCommitRequest, RefService_ListBranchNamesContainingCommitServer) error
ListTagNamesContainingCommit(*ListTagNamesContainingCommitRequest, RefService_ListTagNamesContainingCommitServer) error
GetTagMessages(*GetTagMessagesRequest, RefService_GetTagMessagesServer) error
} }
func RegisterRefServiceServer(s *grpc.Server, srv RefServiceServer) { func RegisterRefServiceServer(s *grpc.Server, srv RefServiceServer) {
...@@ -1114,6 +1464,87 @@ func _RefService_FindBranch_Handler(srv interface{}, ctx context.Context, dec fu ...@@ -1114,6 +1464,87 @@ func _RefService_FindBranch_Handler(srv interface{}, ctx context.Context, dec fu
return interceptor(ctx, in, info, handler) 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{}, stream grpc.ServerStream) error {
m := new(ListBranchNamesContainingCommitRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(RefServiceServer).ListBranchNamesContainingCommit(m, &refServiceListBranchNamesContainingCommitServer{stream})
}
type RefService_ListBranchNamesContainingCommitServer interface {
Send(*ListBranchNamesContainingCommitResponse) error
grpc.ServerStream
}
type refServiceListBranchNamesContainingCommitServer struct {
grpc.ServerStream
}
func (x *refServiceListBranchNamesContainingCommitServer) Send(m *ListBranchNamesContainingCommitResponse) error {
return x.ServerStream.SendMsg(m)
}
func _RefService_ListTagNamesContainingCommit_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(ListTagNamesContainingCommitRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(RefServiceServer).ListTagNamesContainingCommit(m, &refServiceListTagNamesContainingCommitServer{stream})
}
type RefService_ListTagNamesContainingCommitServer interface {
Send(*ListTagNamesContainingCommitResponse) error
grpc.ServerStream
}
type refServiceListTagNamesContainingCommitServer struct {
grpc.ServerStream
}
func (x *refServiceListTagNamesContainingCommitServer) Send(m *ListTagNamesContainingCommitResponse) error {
return x.ServerStream.SendMsg(m)
}
func _RefService_GetTagMessages_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(GetTagMessagesRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(RefServiceServer).GetTagMessages(m, &refServiceGetTagMessagesServer{stream})
}
type RefService_GetTagMessagesServer interface {
Send(*GetTagMessagesResponse) error
grpc.ServerStream
}
type refServiceGetTagMessagesServer struct {
grpc.ServerStream
}
func (x *refServiceGetTagMessagesServer) Send(m *GetTagMessagesResponse) error {
return x.ServerStream.SendMsg(m)
}
var _RefService_serviceDesc = grpc.ServiceDesc{ var _RefService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.RefService", ServiceName: "gitaly.RefService",
HandlerType: (*RefServiceServer)(nil), HandlerType: (*RefServiceServer)(nil),
...@@ -1142,6 +1573,10 @@ var _RefService_serviceDesc = grpc.ServiceDesc{ ...@@ -1142,6 +1573,10 @@ var _RefService_serviceDesc = grpc.ServiceDesc{
MethodName: "FindBranch", MethodName: "FindBranch",
Handler: _RefService_FindBranch_Handler, Handler: _RefService_FindBranch_Handler,
}, },
{
MethodName: "DeleteRefs",
Handler: _RefService_DeleteRefs_Handler,
},
}, },
Streams: []grpc.StreamDesc{ Streams: []grpc.StreamDesc{
{ {
...@@ -1169,75 +1604,112 @@ var _RefService_serviceDesc = grpc.ServiceDesc{ ...@@ -1169,75 +1604,112 @@ var _RefService_serviceDesc = grpc.ServiceDesc{
Handler: _RefService_FindAllTags_Handler, Handler: _RefService_FindAllTags_Handler,
ServerStreams: true, ServerStreams: true,
}, },
{
StreamName: "ListBranchNamesContainingCommit",
Handler: _RefService_ListBranchNamesContainingCommit_Handler,
ServerStreams: true,
},
{
StreamName: "ListTagNamesContainingCommit",
Handler: _RefService_ListTagNamesContainingCommit_Handler,
ServerStreams: true,
},
{
StreamName: "GetTagMessages",
Handler: _RefService_GetTagMessages_Handler,
ServerStreams: true,
},
}, },
Metadata: "ref.proto", Metadata: "ref.proto",
} }
func init() { proto.RegisterFile("ref.proto", fileDescriptor7) } func init() { proto.RegisterFile("ref.proto", fileDescriptor8) }
var fileDescriptor7 = []byte{ var fileDescriptor8 = []byte{
// 1007 bytes of a gzipped FileDescriptorProto // 1350 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x51, 0x73, 0x22, 0x45, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x4f, 0x6f, 0x1a, 0x47,
0x10, 0xce, 0x12, 0xb2, 0x97, 0x34, 0x48, 0x36, 0x93, 0x98, 0x23, 0xcb, 0x79, 0xe4, 0x46, 0xef, 0x14, 0xf7, 0x62, 0x9b, 0xc0, 0x83, 0xe0, 0xf5, 0xc4, 0x71, 0xc8, 0x3a, 0x09, 0xce, 0xe4, 0xbf,
0x4c, 0x5e, 0x36, 0x16, 0x57, 0xfa, 0xa2, 0x0f, 0x12, 0xc0, 0x0b, 0x5e, 0x24, 0xa9, 0x01, 0xaf, 0x1a, 0xe1, 0x96, 0xa8, 0xbd, 0xb4, 0x87, 0x62, 0xa0, 0x09, 0x89, 0x83, 0xad, 0x81, 0xa6, 0xa9,
0x52, 0xa5, 0x16, 0x35, 0xc0, 0x40, 0xd6, 0x02, 0x16, 0x77, 0x87, 0xf3, 0xf2, 0xa0, 0x7f, 0xc0, 0xda, 0x6a, 0xb5, 0xc0, 0xb0, 0xde, 0x0a, 0x58, 0xba, 0x3b, 0x24, 0xf1, 0x21, 0x3d, 0x56, 0xaa,
0xff, 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d, 0x3f, 0xac, 0x9e, 0xfc, 0x13, 0x00, 0x00, 0xff, 0xff, 0xc0, 0x28,
0x88, 0xdb, 0x6b, 0x12, 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} }
type FindRemoteRepositoryRequest struct {
Remote string `protobuf:"bytes,1,opt,name=remote" json:"remote,omitempty"`
}
func (m *FindRemoteRepositoryRequest) Reset() { *m = FindRemoteRepositoryRequest{} }
func (m *FindRemoteRepositoryRequest) String() string { return proto.CompactTextString(m) }
func (*FindRemoteRepositoryRequest) ProtoMessage() {}
func (*FindRemoteRepositoryRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{8} }
func (m *FindRemoteRepositoryRequest) GetRemote() string {
if m != nil {
return m.Remote
}
return ""
}
// This migth throw a GRPC Unavailable code, to signal the request failure
// is transient.
type FindRemoteRepositoryResponse struct {
Exists bool `protobuf:"varint,1,opt,name=exists" json:"exists,omitempty"`
}
func (m *FindRemoteRepositoryResponse) Reset() { *m = FindRemoteRepositoryResponse{} }
func (m *FindRemoteRepositoryResponse) String() string { return proto.CompactTextString(m) }
func (*FindRemoteRepositoryResponse) ProtoMessage() {}
func (*FindRemoteRepositoryResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{9} }
func (m *FindRemoteRepositoryResponse) GetExists() bool {
if m != nil {
return m.Exists
}
return false
}
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")
proto.RegisterType((*FindRemoteRepositoryRequest)(nil), "gitaly.FindRemoteRepositoryRequest")
proto.RegisterType((*FindRemoteRepositoryResponse)(nil), "gitaly.FindRemoteRepositoryResponse")
}
// 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)
FindRemoteRepository(ctx context.Context, in *FindRemoteRepositoryRequest, opts ...grpc.CallOption) (*FindRemoteRepositoryResponse, 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
}
func (c *remoteServiceClient) FindRemoteRepository(ctx context.Context, in *FindRemoteRepositoryRequest, opts ...grpc.CallOption) (*FindRemoteRepositoryResponse, error) {
out := new(FindRemoteRepositoryResponse)
err := grpc.Invoke(ctx, "/gitaly.RemoteService/FindRemoteRepository", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, 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
FindRemoteRepository(context.Context, *FindRemoteRepositoryRequest) (*FindRemoteRepositoryResponse, 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
}
func _RemoteService_FindRemoteRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindRemoteRepositoryRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RemoteServiceServer).FindRemoteRepository(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RemoteService/FindRemoteRepository",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RemoteServiceServer).FindRemoteRepository(ctx, req.(*FindRemoteRepositoryRequest))
}
return interceptor(ctx, in, info, handler)
}
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,
},
{
MethodName: "FindRemoteRepository",
Handler: _RemoteService_FindRemoteRepository_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{
// 485 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xcd, 0x6e, 0xd3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02,
0xfa, 0xb5, 0x61, 0x99, 0x63, 0x96, 0xf3, 0xfb, 0x6b, 0x73, 0x27, 0x2d, 0x19, 0x4d, 0xe1, 0x0e,
0xfb, 0x04, 0xa3, 0x16, 0xf1, 0x18, 0x37, 0x98, 0xfd, 0x66, 0x73, 0x1f, 0x1e, 0xac, 0xa9, 0x3b,
0xbc, 0x85, 0x41, 0xd3, 0xe2, 0xec, 0x7c, 0xa7, 0xe2, 0xad, 0x77, 0xe5, 0x4e, 0xdb, 0x93, 0xf5,
0x65, 0x3e, 0xb0, 0xdb, 0x8a, 0xb0, 0x07, 0x06, 0xb5, 0xd7, 0x4f, 0x2e, 0x3f, 0x54, 0x62, 0xae,
0xf7, 0x2c, 0x16, 0xc2, 0xb8, 0x4d, 0x1d, 0xb6, 0x23, 0xbb, 0x5f, 0x72, 0xf7, 0xd1, 0xe1, 0x22,
0xd3, 0xe6, 0xaa, 0x5b, 0xfe, 0x1b, 0x9f, 0xfc, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xe5, 0x0c, 0x2a,
0x1a, 0x41, 0x05, 0x00, 0x00,
}
...@@ -42,7 +42,9 @@ var GetArchiveRequest_Format_value = map[string]int32{ ...@@ -42,7 +42,9 @@ var GetArchiveRequest_Format_value = map[string]int32{
func (x GetArchiveRequest_Format) String() string { func (x GetArchiveRequest_Format) String() string {
return proto.EnumName(GetArchiveRequest_Format_name, int32(x)) return proto.EnumName(GetArchiveRequest_Format_name, int32(x))
} }
func (GetArchiveRequest_Format) EnumDescriptor() ([]byte, []int) { return fileDescriptor8, []int{16, 0} } func (GetArchiveRequest_Format) EnumDescriptor() ([]byte, []int) {
return fileDescriptor10, []int{18, 0}
}
type RepositoryExistsRequest struct { type RepositoryExistsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
...@@ -51,7 +53,7 @@ type RepositoryExistsRequest struct { ...@@ -51,7 +53,7 @@ type RepositoryExistsRequest struct {
func (m *RepositoryExistsRequest) Reset() { *m = RepositoryExistsRequest{} } func (m *RepositoryExistsRequest) Reset() { *m = RepositoryExistsRequest{} }
func (m *RepositoryExistsRequest) String() string { return proto.CompactTextString(m) } func (m *RepositoryExistsRequest) String() string { return proto.CompactTextString(m) }
func (*RepositoryExistsRequest) ProtoMessage() {} func (*RepositoryExistsRequest) ProtoMessage() {}
func (*RepositoryExistsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0} } func (*RepositoryExistsRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{0} }
func (m *RepositoryExistsRequest) GetRepository() *Repository { func (m *RepositoryExistsRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -67,7 +69,7 @@ type RepositoryExistsResponse struct { ...@@ -67,7 +69,7 @@ type RepositoryExistsResponse struct {
func (m *RepositoryExistsResponse) Reset() { *m = RepositoryExistsResponse{} } func (m *RepositoryExistsResponse) Reset() { *m = RepositoryExistsResponse{} }
func (m *RepositoryExistsResponse) String() string { return proto.CompactTextString(m) } func (m *RepositoryExistsResponse) String() string { return proto.CompactTextString(m) }
func (*RepositoryExistsResponse) ProtoMessage() {} func (*RepositoryExistsResponse) ProtoMessage() {}
func (*RepositoryExistsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{1} } func (*RepositoryExistsResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{1} }
func (m *RepositoryExistsResponse) GetExists() bool { func (m *RepositoryExistsResponse) GetExists() bool {
if m != nil { if m != nil {
...@@ -83,7 +85,7 @@ type RepackIncrementalRequest struct { ...@@ -83,7 +85,7 @@ type RepackIncrementalRequest struct {
func (m *RepackIncrementalRequest) Reset() { *m = RepackIncrementalRequest{} } func (m *RepackIncrementalRequest) Reset() { *m = RepackIncrementalRequest{} }
func (m *RepackIncrementalRequest) String() string { return proto.CompactTextString(m) } func (m *RepackIncrementalRequest) String() string { return proto.CompactTextString(m) }
func (*RepackIncrementalRequest) ProtoMessage() {} func (*RepackIncrementalRequest) ProtoMessage() {}
func (*RepackIncrementalRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{2} } func (*RepackIncrementalRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{2} }
func (m *RepackIncrementalRequest) GetRepository() *Repository { func (m *RepackIncrementalRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -98,7 +100,7 @@ type RepackIncrementalResponse struct { ...@@ -98,7 +100,7 @@ type RepackIncrementalResponse struct {
func (m *RepackIncrementalResponse) Reset() { *m = RepackIncrementalResponse{} } func (m *RepackIncrementalResponse) Reset() { *m = RepackIncrementalResponse{} }
func (m *RepackIncrementalResponse) String() string { return proto.CompactTextString(m) } func (m *RepackIncrementalResponse) String() string { return proto.CompactTextString(m) }
func (*RepackIncrementalResponse) ProtoMessage() {} func (*RepackIncrementalResponse) ProtoMessage() {}
func (*RepackIncrementalResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{3} } func (*RepackIncrementalResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{3} }
type RepackFullRequest struct { type RepackFullRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
...@@ -108,7 +110,7 @@ type RepackFullRequest struct { ...@@ -108,7 +110,7 @@ type RepackFullRequest struct {
func (m *RepackFullRequest) Reset() { *m = RepackFullRequest{} } func (m *RepackFullRequest) Reset() { *m = RepackFullRequest{} }
func (m *RepackFullRequest) String() string { return proto.CompactTextString(m) } func (m *RepackFullRequest) String() string { return proto.CompactTextString(m) }
func (*RepackFullRequest) ProtoMessage() {} func (*RepackFullRequest) ProtoMessage() {}
func (*RepackFullRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{4} } func (*RepackFullRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{4} }
func (m *RepackFullRequest) GetRepository() *Repository { func (m *RepackFullRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -130,7 +132,7 @@ type RepackFullResponse struct { ...@@ -130,7 +132,7 @@ type RepackFullResponse struct {
func (m *RepackFullResponse) Reset() { *m = RepackFullResponse{} } func (m *RepackFullResponse) Reset() { *m = RepackFullResponse{} }
func (m *RepackFullResponse) String() string { return proto.CompactTextString(m) } func (m *RepackFullResponse) String() string { return proto.CompactTextString(m) }
func (*RepackFullResponse) ProtoMessage() {} func (*RepackFullResponse) ProtoMessage() {}
func (*RepackFullResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{5} } func (*RepackFullResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{5} }
type GarbageCollectRequest struct { type GarbageCollectRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
...@@ -140,7 +142,7 @@ type GarbageCollectRequest struct { ...@@ -140,7 +142,7 @@ type GarbageCollectRequest struct {
func (m *GarbageCollectRequest) Reset() { *m = GarbageCollectRequest{} } func (m *GarbageCollectRequest) Reset() { *m = GarbageCollectRequest{} }
func (m *GarbageCollectRequest) String() string { return proto.CompactTextString(m) } func (m *GarbageCollectRequest) String() string { return proto.CompactTextString(m) }
func (*GarbageCollectRequest) ProtoMessage() {} func (*GarbageCollectRequest) ProtoMessage() {}
func (*GarbageCollectRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{6} } func (*GarbageCollectRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{6} }
func (m *GarbageCollectRequest) GetRepository() *Repository { func (m *GarbageCollectRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -162,7 +164,31 @@ type GarbageCollectResponse struct { ...@@ -162,7 +164,31 @@ type GarbageCollectResponse struct {
func (m *GarbageCollectResponse) Reset() { *m = GarbageCollectResponse{} } func (m *GarbageCollectResponse) Reset() { *m = GarbageCollectResponse{} }
func (m *GarbageCollectResponse) String() string { return proto.CompactTextString(m) } func (m *GarbageCollectResponse) String() string { return proto.CompactTextString(m) }
func (*GarbageCollectResponse) ProtoMessage() {} func (*GarbageCollectResponse) ProtoMessage() {}
func (*GarbageCollectResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{7} } func (*GarbageCollectResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{7} }
type CleanupRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func (m *CleanupRequest) Reset() { *m = CleanupRequest{} }
func (m *CleanupRequest) String() string { return proto.CompactTextString(m) }
func (*CleanupRequest) ProtoMessage() {}
func (*CleanupRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{8} }
func (m *CleanupRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
type CleanupResponse struct {
}
func (m *CleanupResponse) Reset() { *m = CleanupResponse{} }
func (m *CleanupResponse) String() string { return proto.CompactTextString(m) }
func (*CleanupResponse) ProtoMessage() {}
func (*CleanupResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{9} }
type RepositorySizeRequest struct { type RepositorySizeRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
...@@ -171,7 +197,7 @@ type RepositorySizeRequest struct { ...@@ -171,7 +197,7 @@ type RepositorySizeRequest struct {
func (m *RepositorySizeRequest) Reset() { *m = RepositorySizeRequest{} } func (m *RepositorySizeRequest) Reset() { *m = RepositorySizeRequest{} }
func (m *RepositorySizeRequest) String() string { return proto.CompactTextString(m) } func (m *RepositorySizeRequest) String() string { return proto.CompactTextString(m) }
func (*RepositorySizeRequest) ProtoMessage() {} func (*RepositorySizeRequest) ProtoMessage() {}
func (*RepositorySizeRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{8} } func (*RepositorySizeRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{10} }
func (m *RepositorySizeRequest) GetRepository() *Repository { func (m *RepositorySizeRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -188,7 +214,7 @@ type RepositorySizeResponse struct { ...@@ -188,7 +214,7 @@ type RepositorySizeResponse struct {
func (m *RepositorySizeResponse) Reset() { *m = RepositorySizeResponse{} } func (m *RepositorySizeResponse) Reset() { *m = RepositorySizeResponse{} }
func (m *RepositorySizeResponse) String() string { return proto.CompactTextString(m) } func (m *RepositorySizeResponse) String() string { return proto.CompactTextString(m) }
func (*RepositorySizeResponse) ProtoMessage() {} func (*RepositorySizeResponse) ProtoMessage() {}
func (*RepositorySizeResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{9} } func (*RepositorySizeResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{11} }
func (m *RepositorySizeResponse) GetSize() int64 { func (m *RepositorySizeResponse) GetSize() int64 {
if m != nil { if m != nil {
...@@ -205,7 +231,7 @@ type ApplyGitattributesRequest struct { ...@@ -205,7 +231,7 @@ type ApplyGitattributesRequest struct {
func (m *ApplyGitattributesRequest) Reset() { *m = ApplyGitattributesRequest{} } func (m *ApplyGitattributesRequest) Reset() { *m = ApplyGitattributesRequest{} }
func (m *ApplyGitattributesRequest) String() string { return proto.CompactTextString(m) } func (m *ApplyGitattributesRequest) String() string { return proto.CompactTextString(m) }
func (*ApplyGitattributesRequest) ProtoMessage() {} func (*ApplyGitattributesRequest) ProtoMessage() {}
func (*ApplyGitattributesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{10} } func (*ApplyGitattributesRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{12} }
func (m *ApplyGitattributesRequest) GetRepository() *Repository { func (m *ApplyGitattributesRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -227,7 +253,7 @@ type ApplyGitattributesResponse struct { ...@@ -227,7 +253,7 @@ type ApplyGitattributesResponse struct {
func (m *ApplyGitattributesResponse) Reset() { *m = ApplyGitattributesResponse{} } func (m *ApplyGitattributesResponse) Reset() { *m = ApplyGitattributesResponse{} }
func (m *ApplyGitattributesResponse) String() string { return proto.CompactTextString(m) } func (m *ApplyGitattributesResponse) String() string { return proto.CompactTextString(m) }
func (*ApplyGitattributesResponse) ProtoMessage() {} func (*ApplyGitattributesResponse) ProtoMessage() {}
func (*ApplyGitattributesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{11} } func (*ApplyGitattributesResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{13} }
type FetchRemoteRequest struct { type FetchRemoteRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
...@@ -237,12 +263,13 @@ type FetchRemoteRequest struct { ...@@ -237,12 +263,13 @@ type FetchRemoteRequest struct {
Timeout int32 `protobuf:"varint,5,opt,name=timeout" json:"timeout,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"` 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"` KnownHosts string `protobuf:"bytes,7,opt,name=known_hosts,json=knownHosts" json:"known_hosts,omitempty"`
NoPrune bool `protobuf:"varint,9,opt,name=no_prune,json=noPrune" json:"no_prune,omitempty"`
} }
func (m *FetchRemoteRequest) Reset() { *m = FetchRemoteRequest{} } func (m *FetchRemoteRequest) Reset() { *m = FetchRemoteRequest{} }
func (m *FetchRemoteRequest) String() string { return proto.CompactTextString(m) } func (m *FetchRemoteRequest) String() string { return proto.CompactTextString(m) }
func (*FetchRemoteRequest) ProtoMessage() {} func (*FetchRemoteRequest) ProtoMessage() {}
func (*FetchRemoteRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{12} } func (*FetchRemoteRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{14} }
func (m *FetchRemoteRequest) GetRepository() *Repository { func (m *FetchRemoteRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -293,13 +320,20 @@ func (m *FetchRemoteRequest) GetKnownHosts() string { ...@@ -293,13 +320,20 @@ func (m *FetchRemoteRequest) GetKnownHosts() string {
return "" return ""
} }
func (m *FetchRemoteRequest) GetNoPrune() bool {
if m != nil {
return m.NoPrune
}
return false
}
type FetchRemoteResponse struct { type FetchRemoteResponse struct {
} }
func (m *FetchRemoteResponse) Reset() { *m = FetchRemoteResponse{} } func (m *FetchRemoteResponse) Reset() { *m = FetchRemoteResponse{} }
func (m *FetchRemoteResponse) String() string { return proto.CompactTextString(m) } func (m *FetchRemoteResponse) String() string { return proto.CompactTextString(m) }
func (*FetchRemoteResponse) ProtoMessage() {} func (*FetchRemoteResponse) ProtoMessage() {}
func (*FetchRemoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{13} } func (*FetchRemoteResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{15} }
type CreateRepositoryRequest struct { type CreateRepositoryRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
...@@ -308,7 +342,7 @@ type CreateRepositoryRequest struct { ...@@ -308,7 +342,7 @@ type CreateRepositoryRequest struct {
func (m *CreateRepositoryRequest) Reset() { *m = CreateRepositoryRequest{} } func (m *CreateRepositoryRequest) Reset() { *m = CreateRepositoryRequest{} }
func (m *CreateRepositoryRequest) String() string { return proto.CompactTextString(m) } func (m *CreateRepositoryRequest) String() string { return proto.CompactTextString(m) }
func (*CreateRepositoryRequest) ProtoMessage() {} func (*CreateRepositoryRequest) ProtoMessage() {}
func (*CreateRepositoryRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{14} } func (*CreateRepositoryRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{16} }
func (m *CreateRepositoryRequest) GetRepository() *Repository { func (m *CreateRepositoryRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -323,7 +357,7 @@ type CreateRepositoryResponse struct { ...@@ -323,7 +357,7 @@ type CreateRepositoryResponse struct {
func (m *CreateRepositoryResponse) Reset() { *m = CreateRepositoryResponse{} } func (m *CreateRepositoryResponse) Reset() { *m = CreateRepositoryResponse{} }
func (m *CreateRepositoryResponse) String() string { return proto.CompactTextString(m) } func (m *CreateRepositoryResponse) String() string { return proto.CompactTextString(m) }
func (*CreateRepositoryResponse) ProtoMessage() {} func (*CreateRepositoryResponse) ProtoMessage() {}
func (*CreateRepositoryResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{15} } func (*CreateRepositoryResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{17} }
type GetArchiveRequest struct { type GetArchiveRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
...@@ -335,7 +369,7 @@ type GetArchiveRequest struct { ...@@ -335,7 +369,7 @@ type GetArchiveRequest struct {
func (m *GetArchiveRequest) Reset() { *m = GetArchiveRequest{} } func (m *GetArchiveRequest) Reset() { *m = GetArchiveRequest{} }
func (m *GetArchiveRequest) String() string { return proto.CompactTextString(m) } func (m *GetArchiveRequest) String() string { return proto.CompactTextString(m) }
func (*GetArchiveRequest) ProtoMessage() {} func (*GetArchiveRequest) ProtoMessage() {}
func (*GetArchiveRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{16} } func (*GetArchiveRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{18} }
func (m *GetArchiveRequest) GetRepository() *Repository { func (m *GetArchiveRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -372,7 +406,7 @@ type GetArchiveResponse struct { ...@@ -372,7 +406,7 @@ type GetArchiveResponse struct {
func (m *GetArchiveResponse) Reset() { *m = GetArchiveResponse{} } func (m *GetArchiveResponse) Reset() { *m = GetArchiveResponse{} }
func (m *GetArchiveResponse) String() string { return proto.CompactTextString(m) } func (m *GetArchiveResponse) String() string { return proto.CompactTextString(m) }
func (*GetArchiveResponse) ProtoMessage() {} func (*GetArchiveResponse) ProtoMessage() {}
func (*GetArchiveResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{17} } func (*GetArchiveResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{19} }
func (m *GetArchiveResponse) GetData() []byte { func (m *GetArchiveResponse) GetData() []byte {
if m != nil { if m != nil {
...@@ -388,7 +422,7 @@ type HasLocalBranchesRequest struct { ...@@ -388,7 +422,7 @@ type HasLocalBranchesRequest struct {
func (m *HasLocalBranchesRequest) Reset() { *m = HasLocalBranchesRequest{} } func (m *HasLocalBranchesRequest) Reset() { *m = HasLocalBranchesRequest{} }
func (m *HasLocalBranchesRequest) String() string { return proto.CompactTextString(m) } func (m *HasLocalBranchesRequest) String() string { return proto.CompactTextString(m) }
func (*HasLocalBranchesRequest) ProtoMessage() {} func (*HasLocalBranchesRequest) ProtoMessage() {}
func (*HasLocalBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{18} } func (*HasLocalBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{20} }
func (m *HasLocalBranchesRequest) GetRepository() *Repository { func (m *HasLocalBranchesRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -404,7 +438,7 @@ type HasLocalBranchesResponse struct { ...@@ -404,7 +438,7 @@ type HasLocalBranchesResponse struct {
func (m *HasLocalBranchesResponse) Reset() { *m = HasLocalBranchesResponse{} } func (m *HasLocalBranchesResponse) Reset() { *m = HasLocalBranchesResponse{} }
func (m *HasLocalBranchesResponse) String() string { return proto.CompactTextString(m) } func (m *HasLocalBranchesResponse) String() string { return proto.CompactTextString(m) }
func (*HasLocalBranchesResponse) ProtoMessage() {} func (*HasLocalBranchesResponse) ProtoMessage() {}
func (*HasLocalBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{19} } func (*HasLocalBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{21} }
func (m *HasLocalBranchesResponse) GetValue() bool { func (m *HasLocalBranchesResponse) GetValue() bool {
if m != nil { if m != nil {
...@@ -413,230 +447,1052 @@ func (m *HasLocalBranchesResponse) GetValue() bool { ...@@ -413,230 +447,1052 @@ func (m *HasLocalBranchesResponse) GetValue() bool {
return false return false
} }
func init() { type FetchSourceBranchRequest struct {
proto.RegisterType((*RepositoryExistsRequest)(nil), "gitaly.RepositoryExistsRequest") Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
proto.RegisterType((*RepositoryExistsResponse)(nil), "gitaly.RepositoryExistsResponse") SourceRepository *Repository `protobuf:"bytes,2,opt,name=source_repository,json=sourceRepository" json:"source_repository,omitempty"`
proto.RegisterType((*RepackIncrementalRequest)(nil), "gitaly.RepackIncrementalRequest") SourceBranch []byte `protobuf:"bytes,3,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"`
proto.RegisterType((*RepackIncrementalResponse)(nil), "gitaly.RepackIncrementalResponse") TargetRef []byte `protobuf:"bytes,4,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"`
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.RegisterEnum("gitaly.GetArchiveRequest_Format", GetArchiveRequest_Format_name, GetArchiveRequest_Format_value)
} }
// Reference imports to suppress errors if they are not otherwise used. func (m *FetchSourceBranchRequest) Reset() { *m = FetchSourceBranchRequest{} }
var _ context.Context func (m *FetchSourceBranchRequest) String() string { return proto.CompactTextString(m) }
var _ grpc.ClientConn func (*FetchSourceBranchRequest) ProtoMessage() {}
func (*FetchSourceBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{22} }
// This is a compile-time assertion to ensure that this generated file func (m *FetchSourceBranchRequest) GetRepository() *Repository {
// is compatible with the grpc package it is being compiled against. if m != nil {
const _ = grpc.SupportPackageIsVersion4 return m.Repository
}
return nil
}
// Client API for RepositoryService service func (m *FetchSourceBranchRequest) GetSourceRepository() *Repository {
if m != nil {
return m.SourceRepository
}
return nil
}
type RepositoryServiceClient interface { func (m *FetchSourceBranchRequest) GetSourceBranch() []byte {
RepositoryExists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error) if m != nil {
RepackIncremental(ctx context.Context, in *RepackIncrementalRequest, opts ...grpc.CallOption) (*RepackIncrementalResponse, error) return m.SourceBranch
RepackFull(ctx context.Context, in *RepackFullRequest, opts ...grpc.CallOption) (*RepackFullResponse, error) }
GarbageCollect(ctx context.Context, in *GarbageCollectRequest, opts ...grpc.CallOption) (*GarbageCollectResponse, error) return nil
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)
} }
type repositoryServiceClient struct { func (m *FetchSourceBranchRequest) GetTargetRef() []byte {
cc *grpc.ClientConn if m != nil {
return m.TargetRef
}
return nil
} }
func NewRepositoryServiceClient(cc *grpc.ClientConn) RepositoryServiceClient { type FetchSourceBranchResponse struct {
return &repositoryServiceClient{cc} Result bool `protobuf:"varint,1,opt,name=result" json:"result,omitempty"`
} }
func (c *repositoryServiceClient) RepositoryExists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error) { func (m *FetchSourceBranchResponse) Reset() { *m = FetchSourceBranchResponse{} }
out := new(RepositoryExistsResponse) func (m *FetchSourceBranchResponse) String() string { return proto.CompactTextString(m) }
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/RepositoryExists", in, out, c.cc, opts...) func (*FetchSourceBranchResponse) ProtoMessage() {}
if err != nil { func (*FetchSourceBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{23} }
return nil, err
func (m *FetchSourceBranchResponse) GetResult() bool {
if m != nil {
return m.Result
} }
return out, nil return false
} }
func (c *repositoryServiceClient) RepackIncremental(ctx context.Context, in *RepackIncrementalRequest, opts ...grpc.CallOption) (*RepackIncrementalResponse, error) { type FsckRequest struct {
out := new(RepackIncrementalResponse) Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
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) { func (m *FsckRequest) Reset() { *m = FsckRequest{} }
out := new(RepackFullResponse) func (m *FsckRequest) String() string { return proto.CompactTextString(m) }
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/RepackFull", in, out, c.cc, opts...) func (*FsckRequest) ProtoMessage() {}
if err != nil { func (*FsckRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{24} }
return nil, err
func (m *FsckRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
} }
return out, nil return nil
} }
func (c *repositoryServiceClient) GarbageCollect(ctx context.Context, in *GarbageCollectRequest, opts ...grpc.CallOption) (*GarbageCollectResponse, error) { type FsckResponse struct {
out := new(GarbageCollectResponse) Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
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) { func (m *FsckResponse) Reset() { *m = FsckResponse{} }
out := new(RepositorySizeResponse) func (m *FsckResponse) String() string { return proto.CompactTextString(m) }
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/RepositorySize", in, out, c.cc, opts...) func (*FsckResponse) ProtoMessage() {}
if err != nil { func (*FsckResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{25} }
return nil, err
func (m *FsckResponse) GetError() []byte {
if m != nil {
return m.Error
} }
return out, nil return nil
} }
func (c *repositoryServiceClient) ApplyGitattributes(ctx context.Context, in *ApplyGitattributesRequest, opts ...grpc.CallOption) (*ApplyGitattributesResponse, error) { type WriteRefRequest struct {
out := new(ApplyGitattributesResponse) Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/ApplyGitattributes", in, out, c.cc, opts...) Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
if err != nil { Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
return nil, err 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 out, nil return nil
} }
func (c *repositoryServiceClient) FetchRemote(ctx context.Context, in *FetchRemoteRequest, opts ...grpc.CallOption) (*FetchRemoteResponse, error) { func (m *WriteRefRequest) GetRef() []byte {
out := new(FetchRemoteResponse) if m != nil {
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/FetchRemote", in, out, c.cc, opts...) return m.Ref
if err != nil {
return nil, err
} }
return out, nil return nil
} }
func (c *repositoryServiceClient) CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*CreateRepositoryResponse, error) { func (m *WriteRefRequest) GetRevision() []byte {
out := new(CreateRepositoryResponse) if m != nil {
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/CreateRepository", in, out, c.cc, opts...) return m.Revision
if err != nil {
return nil, err
} }
return out, nil return nil
} }
func (c *repositoryServiceClient) GetArchive(ctx context.Context, in *GetArchiveRequest, opts ...grpc.CallOption) (RepositoryService_GetArchiveClient, error) { func (m *WriteRefRequest) GetOldRevision() []byte {
stream, err := grpc.NewClientStream(ctx, &_RepositoryService_serviceDesc.Streams[0], c.cc, "/gitaly.RepositoryService/GetArchive", opts...) if m != nil {
if err != nil { return m.OldRevision
return nil, err
} }
x := &repositoryServiceGetArchiveClient{stream} return nil
if err := x.ClientStream.SendMsg(in); err != nil { }
return nil, err
func (m *WriteRefRequest) GetForce() bool {
if m != nil {
return m.Force
} }
if err := x.ClientStream.CloseSend(); err != nil { return false
return nil, err }
func (m *WriteRefRequest) GetShell() bool {
if m != nil {
return m.Shell
} }
return x, nil return false
} }
type RepositoryService_GetArchiveClient interface { type WriteRefResponse struct {
Recv() (*GetArchiveResponse, error) Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
grpc.ClientStream
} }
type repositoryServiceGetArchiveClient struct { func (m *WriteRefResponse) Reset() { *m = WriteRefResponse{} }
grpc.ClientStream func (m *WriteRefResponse) String() string { return proto.CompactTextString(m) }
func (*WriteRefResponse) ProtoMessage() {}
func (*WriteRefResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{27} }
func (m *WriteRefResponse) GetError() []byte {
if m != nil {
return m.Error
}
return nil
} }
func (x *repositoryServiceGetArchiveClient) Recv() (*GetArchiveResponse, error) { type FindMergeBaseRequest struct {
m := new(GetArchiveResponse) Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
if err := x.ClientStream.RecvMsg(m); err != nil { // We use a repeated field because rugged supports finding a base
return nil, err // 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 m, nil return nil
} }
func (c *repositoryServiceClient) HasLocalBranches(ctx context.Context, in *HasLocalBranchesRequest, opts ...grpc.CallOption) (*HasLocalBranchesResponse, error) { func (m *FindMergeBaseRequest) GetRevisions() [][]byte {
out := new(HasLocalBranchesResponse) if m != nil {
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/HasLocalBranches", in, out, c.cc, opts...) return m.Revisions
if err != nil {
return nil, err
} }
return out, nil return nil
} }
// Server API for RepositoryService service type FindMergeBaseResponse struct {
Base string `protobuf:"bytes,1,opt,name=base" json:"base,omitempty"`
}
type RepositoryServiceServer interface { func (m *FindMergeBaseResponse) Reset() { *m = FindMergeBaseResponse{} }
RepositoryExists(context.Context, *RepositoryExistsRequest) (*RepositoryExistsResponse, error) func (m *FindMergeBaseResponse) String() string { return proto.CompactTextString(m) }
RepackIncremental(context.Context, *RepackIncrementalRequest) (*RepackIncrementalResponse, error) func (*FindMergeBaseResponse) ProtoMessage() {}
RepackFull(context.Context, *RepackFullRequest) (*RepackFullResponse, error) func (*FindMergeBaseResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{29} }
GarbageCollect(context.Context, *GarbageCollectRequest) (*GarbageCollectResponse, error)
RepositorySize(context.Context, *RepositorySizeRequest) (*RepositorySizeResponse, error) func (m *FindMergeBaseResponse) GetBase() string {
ApplyGitattributes(context.Context, *ApplyGitattributesRequest) (*ApplyGitattributesResponse, error) if m != nil {
FetchRemote(context.Context, *FetchRemoteRequest) (*FetchRemoteResponse, error) return m.Base
CreateRepository(context.Context, *CreateRepositoryRequest) (*CreateRepositoryResponse, error) }
GetArchive(*GetArchiveRequest, RepositoryService_GetArchiveServer) error return ""
HasLocalBranches(context.Context, *HasLocalBranchesRequest) (*HasLocalBranchesResponse, error)
} }
func RegisterRepositoryServiceServer(s *grpc.Server, srv RepositoryServiceServer) { type CreateForkRequest struct {
s.RegisterService(&_RepositoryService_serviceDesc, srv) 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 _RepositoryService_RepositoryExists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { func (m *CreateForkRequest) Reset() { *m = CreateForkRequest{} }
in := new(RepositoryExistsRequest) func (m *CreateForkRequest) String() string { return proto.CompactTextString(m) }
if err := dec(in); err != nil { func (*CreateForkRequest) ProtoMessage() {}
return nil, err func (*CreateForkRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{30} }
}
if interceptor == nil { func (m *CreateForkRequest) GetRepository() *Repository {
return srv.(RepositoryServiceServer).RepositoryExists(ctx, in) if m != nil {
} return m.Repository
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) return nil
} }
func _RepositoryService_RepackIncremental_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { func (m *CreateForkRequest) GetSourceRepository() *Repository {
in := new(RepackIncrementalRequest) if m != nil {
if err := dec(in); err != nil { return m.SourceRepository
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) return nil
} }
func _RepositoryService_RepackFull_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 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 IsSquashInProgressRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
SquashId string `protobuf:"bytes,2,opt,name=squash_id,json=squashId" json:"squash_id,omitempty"`
}
func (m *IsSquashInProgressRequest) Reset() { *m = IsSquashInProgressRequest{} }
func (m *IsSquashInProgressRequest) String() string { return proto.CompactTextString(m) }
func (*IsSquashInProgressRequest) ProtoMessage() {}
func (*IsSquashInProgressRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{34} }
func (m *IsSquashInProgressRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *IsSquashInProgressRequest) GetSquashId() string {
if m != nil {
return m.SquashId
}
return ""
}
type IsSquashInProgressResponse struct {
InProgress bool `protobuf:"varint,1,opt,name=in_progress,json=inProgress" json:"in_progress,omitempty"`
}
func (m *IsSquashInProgressResponse) Reset() { *m = IsSquashInProgressResponse{} }
func (m *IsSquashInProgressResponse) String() string { return proto.CompactTextString(m) }
func (*IsSquashInProgressResponse) ProtoMessage() {}
func (*IsSquashInProgressResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{35} }
func (m *IsSquashInProgressResponse) 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{36}
}
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{37}
}
type CreateBundleRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func (m *CreateBundleRequest) Reset() { *m = CreateBundleRequest{} }
func (m *CreateBundleRequest) String() string { return proto.CompactTextString(m) }
func (*CreateBundleRequest) ProtoMessage() {}
func (*CreateBundleRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{38} }
func (m *CreateBundleRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
type CreateBundleResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (m *CreateBundleResponse) Reset() { *m = CreateBundleResponse{} }
func (m *CreateBundleResponse) String() string { return proto.CompactTextString(m) }
func (*CreateBundleResponse) ProtoMessage() {}
func (*CreateBundleResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{39} }
func (m *CreateBundleResponse) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
type WriteConfigRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
FullPath string `protobuf:"bytes,2,opt,name=full_path,json=fullPath" json:"full_path,omitempty"`
}
func (m *WriteConfigRequest) Reset() { *m = WriteConfigRequest{} }
func (m *WriteConfigRequest) String() string { return proto.CompactTextString(m) }
func (*WriteConfigRequest) ProtoMessage() {}
func (*WriteConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{40} }
func (m *WriteConfigRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *WriteConfigRequest) GetFullPath() string {
if m != nil {
return m.FullPath
}
return ""
}
type WriteConfigResponse struct {
Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
}
func (m *WriteConfigResponse) Reset() { *m = WriteConfigResponse{} }
func (m *WriteConfigResponse) String() string { return proto.CompactTextString(m) }
func (*WriteConfigResponse) ProtoMessage() {}
func (*WriteConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{41} }
func (m *WriteConfigResponse) GetError() []byte {
if m != nil {
return m.Error
}
return nil
}
type CreateRepositoryFromBundleRequest struct {
// Only available on the first message
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}
func (m *CreateRepositoryFromBundleRequest) Reset() { *m = CreateRepositoryFromBundleRequest{} }
func (m *CreateRepositoryFromBundleRequest) String() string { return proto.CompactTextString(m) }
func (*CreateRepositoryFromBundleRequest) ProtoMessage() {}
func (*CreateRepositoryFromBundleRequest) Descriptor() ([]byte, []int) {
return fileDescriptor10, []int{42}
}
func (m *CreateRepositoryFromBundleRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *CreateRepositoryFromBundleRequest) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
type CreateRepositoryFromBundleResponse struct {
}
func (m *CreateRepositoryFromBundleResponse) Reset() { *m = CreateRepositoryFromBundleResponse{} }
func (m *CreateRepositoryFromBundleResponse) String() string { return proto.CompactTextString(m) }
func (*CreateRepositoryFromBundleResponse) ProtoMessage() {}
func (*CreateRepositoryFromBundleResponse) Descriptor() ([]byte, []int) {
return fileDescriptor10, []int{43}
}
type FindLicenseRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func (m *FindLicenseRequest) Reset() { *m = FindLicenseRequest{} }
func (m *FindLicenseRequest) String() string { return proto.CompactTextString(m) }
func (*FindLicenseRequest) ProtoMessage() {}
func (*FindLicenseRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{44} }
func (m *FindLicenseRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
type FindLicenseResponse struct {
LicenseShortName string `protobuf:"bytes,1,opt,name=license_short_name,json=licenseShortName" json:"license_short_name,omitempty"`
}
func (m *FindLicenseResponse) Reset() { *m = FindLicenseResponse{} }
func (m *FindLicenseResponse) String() string { return proto.CompactTextString(m) }
func (*FindLicenseResponse) ProtoMessage() {}
func (*FindLicenseResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{45} }
func (m *FindLicenseResponse) GetLicenseShortName() string {
if m != nil {
return m.LicenseShortName
}
return ""
}
type GetInfoAttributesRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func (m *GetInfoAttributesRequest) Reset() { *m = GetInfoAttributesRequest{} }
func (m *GetInfoAttributesRequest) String() string { return proto.CompactTextString(m) }
func (*GetInfoAttributesRequest) ProtoMessage() {}
func (*GetInfoAttributesRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{46} }
func (m *GetInfoAttributesRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
type GetInfoAttributesResponse struct {
Attributes []byte `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"`
}
func (m *GetInfoAttributesResponse) Reset() { *m = GetInfoAttributesResponse{} }
func (m *GetInfoAttributesResponse) String() string { return proto.CompactTextString(m) }
func (*GetInfoAttributesResponse) ProtoMessage() {}
func (*GetInfoAttributesResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{47} }
func (m *GetInfoAttributesResponse) GetAttributes() []byte {
if m != nil {
return m.Attributes
}
return nil
}
type CalculateChecksumRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
func (m *CalculateChecksumRequest) Reset() { *m = CalculateChecksumRequest{} }
func (m *CalculateChecksumRequest) String() string { return proto.CompactTextString(m) }
func (*CalculateChecksumRequest) ProtoMessage() {}
func (*CalculateChecksumRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{48} }
func (m *CalculateChecksumRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
type CalculateChecksumResponse struct {
Checksum string `protobuf:"bytes,1,opt,name=checksum" json:"checksum,omitempty"`
}
func (m *CalculateChecksumResponse) Reset() { *m = CalculateChecksumResponse{} }
func (m *CalculateChecksumResponse) String() string { return proto.CompactTextString(m) }
func (*CalculateChecksumResponse) ProtoMessage() {}
func (*CalculateChecksumResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{49} }
func (m *CalculateChecksumResponse) GetChecksum() string {
if m != nil {
return m.Checksum
}
return ""
}
func init() {
proto.RegisterType((*RepositoryExistsRequest)(nil), "gitaly.RepositoryExistsRequest")
proto.RegisterType((*RepositoryExistsResponse)(nil), "gitaly.RepositoryExistsResponse")
proto.RegisterType((*RepackIncrementalRequest)(nil), "gitaly.RepackIncrementalRequest")
proto.RegisterType((*RepackIncrementalResponse)(nil), "gitaly.RepackIncrementalResponse")
proto.RegisterType((*RepackFullRequest)(nil), "gitaly.RepackFullRequest")
proto.RegisterType((*RepackFullResponse)(nil), "gitaly.RepackFullResponse")
proto.RegisterType((*GarbageCollectRequest)(nil), "gitaly.GarbageCollectRequest")
proto.RegisterType((*GarbageCollectResponse)(nil), "gitaly.GarbageCollectResponse")
proto.RegisterType((*CleanupRequest)(nil), "gitaly.CleanupRequest")
proto.RegisterType((*CleanupResponse)(nil), "gitaly.CleanupResponse")
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((*IsSquashInProgressRequest)(nil), "gitaly.IsSquashInProgressRequest")
proto.RegisterType((*IsSquashInProgressResponse)(nil), "gitaly.IsSquashInProgressResponse")
proto.RegisterType((*CreateRepositoryFromURLRequest)(nil), "gitaly.CreateRepositoryFromURLRequest")
proto.RegisterType((*CreateRepositoryFromURLResponse)(nil), "gitaly.CreateRepositoryFromURLResponse")
proto.RegisterType((*CreateBundleRequest)(nil), "gitaly.CreateBundleRequest")
proto.RegisterType((*CreateBundleResponse)(nil), "gitaly.CreateBundleResponse")
proto.RegisterType((*WriteConfigRequest)(nil), "gitaly.WriteConfigRequest")
proto.RegisterType((*WriteConfigResponse)(nil), "gitaly.WriteConfigResponse")
proto.RegisterType((*CreateRepositoryFromBundleRequest)(nil), "gitaly.CreateRepositoryFromBundleRequest")
proto.RegisterType((*CreateRepositoryFromBundleResponse)(nil), "gitaly.CreateRepositoryFromBundleResponse")
proto.RegisterType((*FindLicenseRequest)(nil), "gitaly.FindLicenseRequest")
proto.RegisterType((*FindLicenseResponse)(nil), "gitaly.FindLicenseResponse")
proto.RegisterType((*GetInfoAttributesRequest)(nil), "gitaly.GetInfoAttributesRequest")
proto.RegisterType((*GetInfoAttributesResponse)(nil), "gitaly.GetInfoAttributesResponse")
proto.RegisterType((*CalculateChecksumRequest)(nil), "gitaly.CalculateChecksumRequest")
proto.RegisterType((*CalculateChecksumResponse)(nil), "gitaly.CalculateChecksumResponse")
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)
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)
IsSquashInProgress(ctx context.Context, in *IsSquashInProgressRequest, opts ...grpc.CallOption) (*IsSquashInProgressResponse, error)
CreateRepositoryFromURL(ctx context.Context, in *CreateRepositoryFromURLRequest, opts ...grpc.CallOption) (*CreateRepositoryFromURLResponse, error)
CreateBundle(ctx context.Context, in *CreateBundleRequest, opts ...grpc.CallOption) (RepositoryService_CreateBundleClient, error)
CreateRepositoryFromBundle(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_CreateRepositoryFromBundleClient, error)
WriteConfig(ctx context.Context, in *WriteConfigRequest, opts ...grpc.CallOption) (*WriteConfigResponse, error)
FindLicense(ctx context.Context, in *FindLicenseRequest, opts ...grpc.CallOption) (*FindLicenseResponse, error)
GetInfoAttributes(ctx context.Context, in *GetInfoAttributesRequest, opts ...grpc.CallOption) (RepositoryService_GetInfoAttributesClient, error)
CalculateChecksum(ctx context.Context, in *CalculateChecksumRequest, opts ...grpc.CallOption) (*CalculateChecksumResponse, error)
Cleanup(ctx context.Context, in *CleanupRequest, opts ...grpc.CallOption) (*CleanupResponse, 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) 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) IsSquashInProgress(ctx context.Context, in *IsSquashInProgressRequest, opts ...grpc.CallOption) (*IsSquashInProgressResponse, error) {
out := new(IsSquashInProgressResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/IsSquashInProgress", 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
}
func (c *repositoryServiceClient) CreateBundle(ctx context.Context, in *CreateBundleRequest, opts ...grpc.CallOption) (RepositoryService_CreateBundleClient, error) {
stream, err := grpc.NewClientStream(ctx, &_RepositoryService_serviceDesc.Streams[1], c.cc, "/gitaly.RepositoryService/CreateBundle", opts...)
if err != nil {
return nil, err
}
x := &repositoryServiceCreateBundleClient{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_CreateBundleClient interface {
Recv() (*CreateBundleResponse, error)
grpc.ClientStream
}
type repositoryServiceCreateBundleClient struct {
grpc.ClientStream
}
func (x *repositoryServiceCreateBundleClient) Recv() (*CreateBundleResponse, error) {
m := new(CreateBundleResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *repositoryServiceClient) CreateRepositoryFromBundle(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_CreateRepositoryFromBundleClient, error) {
stream, err := grpc.NewClientStream(ctx, &_RepositoryService_serviceDesc.Streams[2], c.cc, "/gitaly.RepositoryService/CreateRepositoryFromBundle", opts...)
if err != nil {
return nil, err
}
x := &repositoryServiceCreateRepositoryFromBundleClient{stream}
return x, nil
}
type RepositoryService_CreateRepositoryFromBundleClient interface {
Send(*CreateRepositoryFromBundleRequest) error
CloseAndRecv() (*CreateRepositoryFromBundleResponse, error)
grpc.ClientStream
}
type repositoryServiceCreateRepositoryFromBundleClient struct {
grpc.ClientStream
}
func (x *repositoryServiceCreateRepositoryFromBundleClient) Send(m *CreateRepositoryFromBundleRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *repositoryServiceCreateRepositoryFromBundleClient) CloseAndRecv() (*CreateRepositoryFromBundleResponse, error) {
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
m := new(CreateRepositoryFromBundleResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *repositoryServiceClient) WriteConfig(ctx context.Context, in *WriteConfigRequest, opts ...grpc.CallOption) (*WriteConfigResponse, error) {
out := new(WriteConfigResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/WriteConfig", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) FindLicense(ctx context.Context, in *FindLicenseRequest, opts ...grpc.CallOption) (*FindLicenseResponse, error) {
out := new(FindLicenseResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/FindLicense", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) GetInfoAttributes(ctx context.Context, in *GetInfoAttributesRequest, opts ...grpc.CallOption) (RepositoryService_GetInfoAttributesClient, error) {
stream, err := grpc.NewClientStream(ctx, &_RepositoryService_serviceDesc.Streams[3], c.cc, "/gitaly.RepositoryService/GetInfoAttributes", opts...)
if err != nil {
return nil, err
}
x := &repositoryServiceGetInfoAttributesClient{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_GetInfoAttributesClient interface {
Recv() (*GetInfoAttributesResponse, error)
grpc.ClientStream
}
type repositoryServiceGetInfoAttributesClient struct {
grpc.ClientStream
}
func (x *repositoryServiceGetInfoAttributesClient) Recv() (*GetInfoAttributesResponse, error) {
m := new(GetInfoAttributesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *repositoryServiceClient) CalculateChecksum(ctx context.Context, in *CalculateChecksumRequest, opts ...grpc.CallOption) (*CalculateChecksumResponse, error) {
out := new(CalculateChecksumResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/CalculateChecksum", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *repositoryServiceClient) Cleanup(ctx context.Context, in *CleanupRequest, opts ...grpc.CallOption) (*CleanupResponse, error) {
out := new(CleanupResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/Cleanup", 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)
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)
IsSquashInProgress(context.Context, *IsSquashInProgressRequest) (*IsSquashInProgressResponse, error)
CreateRepositoryFromURL(context.Context, *CreateRepositoryFromURLRequest) (*CreateRepositoryFromURLResponse, error)
CreateBundle(*CreateBundleRequest, RepositoryService_CreateBundleServer) error
CreateRepositoryFromBundle(RepositoryService_CreateRepositoryFromBundleServer) error
WriteConfig(context.Context, *WriteConfigRequest) (*WriteConfigResponse, error)
FindLicense(context.Context, *FindLicenseRequest) (*FindLicenseResponse, error)
GetInfoAttributes(*GetInfoAttributesRequest, RepositoryService_GetInfoAttributesServer) error
CalculateChecksum(context.Context, *CalculateChecksumRequest) (*CalculateChecksumResponse, error)
Cleanup(context.Context, *CleanupRequest) (*CleanupResponse, 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_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) in := new(RepackFullRequest)
if err := dec(in); err != nil { if err := dec(in); err != nil {
return nil, err return nil, err
...@@ -783,6 +1639,290 @@ func _RepositoryService_HasLocalBranches_Handler(srv interface{}, ctx context.Co ...@@ -783,6 +1639,290 @@ func _RepositoryService_HasLocalBranches_Handler(srv interface{}, ctx context.Co
return interceptor(ctx, in, info, handler) 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_IsSquashInProgress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(IsSquashInProgressRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).IsSquashInProgress(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/IsSquashInProgress",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).IsSquashInProgress(ctx, req.(*IsSquashInProgressRequest))
}
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)
}
func _RepositoryService_CreateBundle_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(CreateBundleRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(RepositoryServiceServer).CreateBundle(m, &repositoryServiceCreateBundleServer{stream})
}
type RepositoryService_CreateBundleServer interface {
Send(*CreateBundleResponse) error
grpc.ServerStream
}
type repositoryServiceCreateBundleServer struct {
grpc.ServerStream
}
func (x *repositoryServiceCreateBundleServer) Send(m *CreateBundleResponse) error {
return x.ServerStream.SendMsg(m)
}
func _RepositoryService_CreateRepositoryFromBundle_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(RepositoryServiceServer).CreateRepositoryFromBundle(&repositoryServiceCreateRepositoryFromBundleServer{stream})
}
type RepositoryService_CreateRepositoryFromBundleServer interface {
SendAndClose(*CreateRepositoryFromBundleResponse) error
Recv() (*CreateRepositoryFromBundleRequest, error)
grpc.ServerStream
}
type repositoryServiceCreateRepositoryFromBundleServer struct {
grpc.ServerStream
}
func (x *repositoryServiceCreateRepositoryFromBundleServer) SendAndClose(m *CreateRepositoryFromBundleResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *repositoryServiceCreateRepositoryFromBundleServer) Recv() (*CreateRepositoryFromBundleRequest, error) {
m := new(CreateRepositoryFromBundleRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func _RepositoryService_WriteConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(WriteConfigRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).WriteConfig(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/WriteConfig",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).WriteConfig(ctx, req.(*WriteConfigRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_FindLicense_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(FindLicenseRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).FindLicense(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/FindLicense",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).FindLicense(ctx, req.(*FindLicenseRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_GetInfoAttributes_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(GetInfoAttributesRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(RepositoryServiceServer).GetInfoAttributes(m, &repositoryServiceGetInfoAttributesServer{stream})
}
type RepositoryService_GetInfoAttributesServer interface {
Send(*GetInfoAttributesResponse) error
grpc.ServerStream
}
type repositoryServiceGetInfoAttributesServer struct {
grpc.ServerStream
}
func (x *repositoryServiceGetInfoAttributesServer) Send(m *GetInfoAttributesResponse) error {
return x.ServerStream.SendMsg(m)
}
func _RepositoryService_CalculateChecksum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CalculateChecksumRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).CalculateChecksum(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/CalculateChecksum",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).CalculateChecksum(ctx, req.(*CalculateChecksumRequest))
}
return interceptor(ctx, in, info, handler)
}
func _RepositoryService_Cleanup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CleanupRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(RepositoryServiceServer).Cleanup(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.RepositoryService/Cleanup",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(RepositoryServiceServer).Cleanup(ctx, req.(*CleanupRequest))
}
return interceptor(ctx, in, info, handler)
}
var _RepositoryService_serviceDesc = grpc.ServiceDesc{ var _RepositoryService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.RepositoryService", ServiceName: "gitaly.RepositoryService",
HandlerType: (*RepositoryServiceServer)(nil), HandlerType: (*RepositoryServiceServer)(nil),
...@@ -823,6 +1963,54 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{ ...@@ -823,6 +1963,54 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{
MethodName: "HasLocalBranches", MethodName: "HasLocalBranches",
Handler: _RepositoryService_HasLocalBranches_Handler, 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: "IsSquashInProgress",
Handler: _RepositoryService_IsSquashInProgress_Handler,
},
{
MethodName: "CreateRepositoryFromURL",
Handler: _RepositoryService_CreateRepositoryFromURL_Handler,
},
{
MethodName: "WriteConfig",
Handler: _RepositoryService_WriteConfig_Handler,
},
{
MethodName: "FindLicense",
Handler: _RepositoryService_FindLicense_Handler,
},
{
MethodName: "CalculateChecksum",
Handler: _RepositoryService_CalculateChecksum_Handler,
},
{
MethodName: "Cleanup",
Handler: _RepositoryService_Cleanup_Handler,
},
}, },
Streams: []grpc.StreamDesc{ Streams: []grpc.StreamDesc{
{ {
...@@ -830,61 +2018,127 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{ ...@@ -830,61 +2018,127 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{
Handler: _RepositoryService_GetArchive_Handler, Handler: _RepositoryService_GetArchive_Handler,
ServerStreams: true, ServerStreams: true,
}, },
{
StreamName: "CreateBundle",
Handler: _RepositoryService_CreateBundle_Handler,
ServerStreams: true,
},
{
StreamName: "CreateRepositoryFromBundle",
Handler: _RepositoryService_CreateRepositoryFromBundle_Handler,
ClientStreams: true,
},
{
StreamName: "GetInfoAttributes",
Handler: _RepositoryService_GetInfoAttributes_Handler,
ServerStreams: true,
},
}, },
Metadata: "repository-service.proto", Metadata: "repository-service.proto",
} }
func init() { proto.RegisterFile("repository-service.proto", fileDescriptor8) } func init() { proto.RegisterFile("repository-service.proto", fileDescriptor10) }
var fileDescriptor8 = []byte{ var fileDescriptor10 = []byte{
// 777 bytes of a gzipped FileDescriptorProto // 1587 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x4f, 0x6f, 0xda, 0x4a, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xef, 0x6e, 0xdb, 0x36,
0x10, 0x87, 0x10, 0x4c, 0x32, 0xf0, 0x22, 0xb2, 0x2f, 0x7f, 0x1c, 0xe7, 0xbd, 0x17, 0x9e, 0x7b, 0x10, 0xb7, 0xf3, 0xd7, 0xbe, 0xb8, 0xad, 0xc3, 0xfc, 0x93, 0x95, 0xb4, 0x49, 0xb8, 0x62, 0xcb,
0xc9, 0xa1, 0x45, 0x11, 0xb9, 0xf4, 0x4a, 0xa2, 0x84, 0x44, 0x69, 0xaa, 0xd6, 0x8d, 0x14, 0x09, 0xda, 0x2e, 0x28, 0x92, 0x0f, 0x1b, 0xb0, 0x0d, 0x45, 0x92, 0x35, 0x89, 0xd7, 0xa6, 0xc8, 0x94,
0xa9, 0x42, 0x8b, 0xd9, 0xc0, 0x0a, 0xe3, 0x75, 0x77, 0x17, 0x1a, 0xf2, 0x4d, 0x7b, 0xee, 0xb1, 0x0e, 0x05, 0x82, 0x0d, 0x86, 0x22, 0xd3, 0xb6, 0x60, 0x59, 0x72, 0x49, 0x2a, 0x6d, 0xfa, 0x79,
0x5f, 0xa2, 0xf2, 0xda, 0xd8, 0x06, 0x9b, 0x5c, 0xac, 0xde, 0x76, 0x66, 0x67, 0x7e, 0x33, 0x3b, 0x1f, 0xf6, 0x5c, 0x7d, 0x85, 0x3d,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85, 0x44, 0x50,
0x15, 0x43, 0x31, 0x7b, 0x8b, 0xe0, 0x27, 0x09, 0x53, 0x12, 0xbe, 0x80, 0xba, 0x25, 0xe1, 0x8b,
0xf8, 0x16, 0xae, 0x20, 0x27, 0xfb, 0x27, 0x41, 0x12, 0x1d, 0xf4, 0x65, 0x51, 0x1d, 0xa4, 0x19,
0x97, 0xfe, 0xd5, 0xbf, 0xea, 0xc5, 0xd6, 0xce, 0xa0, 0x91, 0x24, 0x3a, 0x68, 0x3d, 0x7d, 0x34,
0x45, 0x18, 0xf4, 0x8d, 0xfc, 0xcd, 0x44, 0xf1, 0xbc, 0x03, 0xbd, 0x98, 0x0a, 0xa0, 0xaf, 0x6f,
0xf3, 0x2b, 0x6d, 0xea, 0xd1, 0xa7, 0xa8, 0x46, 0x86, 0x77, 0xaa, 0x41, 0x87, 0x4a, 0xb0, 0x23,
0xd5, 0xa1, 0xb2, 0xcc, 0x4c, 0x75, 0xa8, 0x1c, 0x3a, 0x25, 0x7b, 0x9d, 0x62, 0x17, 0x89, 0x5e,
0x97, 0x21, 0x2f, 0x89, 0x5e, 0x97, 0xa5, 0x23, 0xb8, 0x82, 0x7e, 0x13, 0xff, 0x69, 0xd2, 0x94,
0x00, 0x25, 0x7f, 0x97, 0xe4, 0xb2, 0x0f, 0x55, 0xf0, 0x85, 0x7c, 0x42, 0x84, 0xfa, 0x12, 0x16,
0x33, 0xdf, 0x78, 0x85, 0x5e, 0x44, 0x27, 0x14, 0x7a, 0x21, 0x41, 0xc0, 0x15, 0xf4, 0x03, 0xcc,
0xcb, 0x9f, 0xa0, 0x68, 0x35, 0xd6, 0x4f, 0xfd, 0x5b, 0xd5, 0xd7, 0x32, 0xf2, 0xe8, 0xf4, 0xd5,
0x9c, 0xf8, 0x1f, 0xbf, 0xff, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x23, 0xc7, 0xc8, 0xe3, 0xc1,
0x17, 0x00, 0x00,
} }
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: server.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 ServerInfoRequest struct {
}
func (m *ServerInfoRequest) Reset() { *m = ServerInfoRequest{} }
func (m *ServerInfoRequest) String() string { return proto.CompactTextString(m) }
func (*ServerInfoRequest) ProtoMessage() {}
func (*ServerInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{0} }
type ServerInfoResponse struct {
ServerVersion string `protobuf:"bytes,1,opt,name=server_version,json=serverVersion" json:"server_version,omitempty"`
GitVersion string `protobuf:"bytes,2,opt,name=git_version,json=gitVersion" json:"git_version,omitempty"`
}
func (m *ServerInfoResponse) Reset() { *m = ServerInfoResponse{} }
func (m *ServerInfoResponse) String() string { return proto.CompactTextString(m) }
func (*ServerInfoResponse) ProtoMessage() {}
func (*ServerInfoResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{1} }
func (m *ServerInfoResponse) GetServerVersion() string {
if m != nil {
return m.ServerVersion
}
return ""
}
func (m *ServerInfoResponse) GetGitVersion() string {
if m != nil {
return m.GitVersion
}
return ""
}
func init() {
proto.RegisterType((*ServerInfoRequest)(nil), "gitaly.ServerInfoRequest")
proto.RegisterType((*ServerInfoResponse)(nil), "gitaly.ServerInfoResponse")
}
// 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 ServerService service
type ServerServiceClient interface {
ServerInfo(ctx context.Context, in *ServerInfoRequest, opts ...grpc.CallOption) (*ServerInfoResponse, error)
}
type serverServiceClient struct {
cc *grpc.ClientConn
}
func NewServerServiceClient(cc *grpc.ClientConn) ServerServiceClient {
return &serverServiceClient{cc}
}
func (c *serverServiceClient) ServerInfo(ctx context.Context, in *ServerInfoRequest, opts ...grpc.CallOption) (*ServerInfoResponse, error) {
out := new(ServerInfoResponse)
err := grpc.Invoke(ctx, "/gitaly.ServerService/ServerInfo", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for ServerService service
type ServerServiceServer interface {
ServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error)
}
func RegisterServerServiceServer(s *grpc.Server, srv ServerServiceServer) {
s.RegisterService(&_ServerService_serviceDesc, srv)
}
func _ServerService_ServerInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ServerInfoRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServerServiceServer).ServerInfo(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.ServerService/ServerInfo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServerServiceServer).ServerInfo(ctx, req.(*ServerInfoRequest))
}
return interceptor(ctx, in, info, handler)
}
var _ServerService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.ServerService",
HandlerType: (*ServerServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ServerInfo",
Handler: _ServerService_ServerInfo_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "server.proto",
}
func init() { proto.RegisterFile("server.proto", fileDescriptor11) }
var fileDescriptor11 = []byte{
// 160 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x29, 0x4e, 0x2d, 0x2a,
0x4b, 0x2d, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x4b, 0xcf, 0x2c, 0x49, 0xcc, 0xa9,
0x54, 0x12, 0xe6, 0x12, 0x0c, 0x06, 0x8b, 0x7b, 0xe6, 0xa5, 0xe5, 0x07, 0xa5, 0x16, 0x96, 0xa6,
0x16, 0x97, 0x28, 0xc5, 0x70, 0x09, 0x21, 0x0b, 0x16, 0x17, 0xe4, 0xe7, 0x15, 0xa7, 0x0a, 0xa9,
0x72, 0xf1, 0x41, 0x8c, 0x88, 0x2f, 0x4b, 0x2d, 0x2a, 0xce, 0xcc, 0xcf, 0x93, 0x60, 0x54, 0x60,
0xd4, 0xe0, 0x0c, 0xe2, 0x85, 0x88, 0x86, 0x41, 0x04, 0x85, 0xe4, 0xb9, 0xb8, 0xd3, 0x33, 0x4b,
0xe0, 0x6a, 0x98, 0xc0, 0x6a, 0xb8, 0xd2, 0x33, 0x4b, 0xa0, 0x0a, 0x8c, 0xc2, 0xb8, 0x78, 0x21,
0xa6, 0x83, 0xc8, 0xcc, 0xe4, 0x54, 0x21, 0x57, 0x2e, 0x2e, 0x84, 0x75, 0x42, 0x92, 0x7a, 0x10,
0xa7, 0xe9, 0x61, 0xb8, 0x4b, 0x4a, 0x0a, 0x9b, 0x14, 0xc4, 0x75, 0x4a, 0x0c, 0x49, 0x6c, 0x60,
0x9f, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa0, 0x30, 0xe2, 0x5e, 0xe9, 0x00, 0x00, 0x00,
}
...@@ -30,7 +30,7 @@ type Repository struct { ...@@ -30,7 +30,7 @@ type Repository struct {
func (m *Repository) Reset() { *m = Repository{} } func (m *Repository) Reset() { *m = Repository{} }
func (m *Repository) String() string { return proto.CompactTextString(m) } func (m *Repository) String() string { return proto.CompactTextString(m) }
func (*Repository) ProtoMessage() {} func (*Repository) ProtoMessage() {}
func (*Repository) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{0} } func (*Repository) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{0} }
func (m *Repository) GetStorageName() string { func (m *Repository) GetStorageName() string {
if m != nil { if m != nil {
...@@ -75,12 +75,16 @@ type GitCommit struct { ...@@ -75,12 +75,16 @@ type GitCommit struct {
Author *CommitAuthor `protobuf:"bytes,4,opt,name=author" json:"author,omitempty"` Author *CommitAuthor `protobuf:"bytes,4,opt,name=author" json:"author,omitempty"`
Committer *CommitAuthor `protobuf:"bytes,5,opt,name=committer" json:"committer,omitempty"` Committer *CommitAuthor `protobuf:"bytes,5,opt,name=committer" json:"committer,omitempty"`
ParentIds []string `protobuf:"bytes,6,rep,name=parent_ids,json=parentIds" json:"parent_ids,omitempty"` ParentIds []string `protobuf:"bytes,6,rep,name=parent_ids,json=parentIds" json:"parent_ids,omitempty"`
// If body exceeds a certain threshold, it will be nullified,
// but its size will be set in body_size so we can know if
// a commit had a body in the first place.
BodySize int64 `protobuf:"varint,7,opt,name=body_size,json=bodySize" json:"body_size,omitempty"`
} }
func (m *GitCommit) Reset() { *m = GitCommit{} } func (m *GitCommit) Reset() { *m = GitCommit{} }
func (m *GitCommit) String() string { return proto.CompactTextString(m) } func (m *GitCommit) String() string { return proto.CompactTextString(m) }
func (*GitCommit) ProtoMessage() {} func (*GitCommit) ProtoMessage() {}
func (*GitCommit) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{1} } func (*GitCommit) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{1} }
func (m *GitCommit) GetId() string { func (m *GitCommit) GetId() string {
if m != nil { if m != nil {
...@@ -124,6 +128,13 @@ func (m *GitCommit) GetParentIds() []string { ...@@ -124,6 +128,13 @@ func (m *GitCommit) GetParentIds() []string {
return nil return nil
} }
func (m *GitCommit) GetBodySize() int64 {
if m != nil {
return m.BodySize
}
return 0
}
type CommitAuthor struct { type CommitAuthor struct {
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
...@@ -133,7 +144,7 @@ type CommitAuthor struct { ...@@ -133,7 +144,7 @@ type CommitAuthor struct {
func (m *CommitAuthor) Reset() { *m = CommitAuthor{} } func (m *CommitAuthor) Reset() { *m = CommitAuthor{} }
func (m *CommitAuthor) String() string { return proto.CompactTextString(m) } func (m *CommitAuthor) String() string { return proto.CompactTextString(m) }
func (*CommitAuthor) ProtoMessage() {} func (*CommitAuthor) ProtoMessage() {}
func (*CommitAuthor) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{2} } func (*CommitAuthor) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{2} }
func (m *CommitAuthor) GetName() []byte { func (m *CommitAuthor) GetName() []byte {
if m != nil { if m != nil {
...@@ -163,7 +174,7 @@ type ExitStatus struct { ...@@ -163,7 +174,7 @@ type ExitStatus struct {
func (m *ExitStatus) Reset() { *m = ExitStatus{} } func (m *ExitStatus) Reset() { *m = ExitStatus{} }
func (m *ExitStatus) String() string { return proto.CompactTextString(m) } func (m *ExitStatus) String() string { return proto.CompactTextString(m) }
func (*ExitStatus) ProtoMessage() {} func (*ExitStatus) ProtoMessage() {}
func (*ExitStatus) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{3} } func (*ExitStatus) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{3} }
func (m *ExitStatus) GetValue() int32 { func (m *ExitStatus) GetValue() int32 {
if m != nil { if m != nil {
...@@ -181,7 +192,7 @@ type Branch struct { ...@@ -181,7 +192,7 @@ type Branch struct {
func (m *Branch) Reset() { *m = Branch{} } func (m *Branch) Reset() { *m = Branch{} }
func (m *Branch) String() string { return proto.CompactTextString(m) } func (m *Branch) String() string { return proto.CompactTextString(m) }
func (*Branch) ProtoMessage() {} func (*Branch) ProtoMessage() {}
func (*Branch) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{4} } func (*Branch) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{4} }
func (m *Branch) GetName() []byte { func (m *Branch) GetName() []byte {
if m != nil { if m != nil {
...@@ -201,13 +212,17 @@ type Tag struct { ...@@ -201,13 +212,17 @@ type Tag struct {
Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id" json:"id,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"` 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"` // If message exceeds a certain threshold, it will be nullified,
// but its size will be set in message_size so we can know if
// a tag had a message in the first place.
Message []byte `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
MessageSize int64 `protobuf:"varint,5,opt,name=message_size,json=messageSize" json:"message_size,omitempty"`
} }
func (m *Tag) Reset() { *m = Tag{} } func (m *Tag) Reset() { *m = Tag{} }
func (m *Tag) String() string { return proto.CompactTextString(m) } func (m *Tag) String() string { return proto.CompactTextString(m) }
func (*Tag) ProtoMessage() {} func (*Tag) ProtoMessage() {}
func (*Tag) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{5} } func (*Tag) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{5} }
func (m *Tag) GetName() []byte { func (m *Tag) GetName() []byte {
if m != nil { if m != nil {
...@@ -237,16 +252,24 @@ func (m *Tag) GetMessage() []byte { ...@@ -237,16 +252,24 @@ func (m *Tag) GetMessage() []byte {
return nil return nil
} }
func (m *Tag) GetMessageSize() int64 {
if m != nil {
return m.MessageSize
}
return 0
}
type User struct { type User struct {
GlId string `protobuf:"bytes,1,opt,name=gl_id,json=glId" json:"gl_id,omitempty"` 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"` Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Email []byte `protobuf:"bytes,3,opt,name=email,proto3" json:"email,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) Reset() { *m = User{} }
func (m *User) String() string { return proto.CompactTextString(m) } func (m *User) String() string { return proto.CompactTextString(m) }
func (*User) ProtoMessage() {} func (*User) ProtoMessage() {}
func (*User) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{6} } func (*User) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{6} }
func (m *User) GetGlId() string { func (m *User) GetGlId() string {
if m != nil { if m != nil {
...@@ -269,6 +292,13 @@ func (m *User) GetEmail() []byte { ...@@ -269,6 +292,13 @@ func (m *User) GetEmail() []byte {
return nil return nil
} }
func (m *User) GetGlUsername() string {
if m != nil {
return m.GlUsername
}
return ""
}
func init() { func init() {
proto.RegisterType((*Repository)(nil), "gitaly.Repository") proto.RegisterType((*Repository)(nil), "gitaly.Repository")
proto.RegisterType((*GitCommit)(nil), "gitaly.GitCommit") proto.RegisterType((*GitCommit)(nil), "gitaly.GitCommit")
...@@ -279,40 +309,43 @@ func init() { ...@@ -279,40 +309,43 @@ func init() {
proto.RegisterType((*User)(nil), "gitaly.User") proto.RegisterType((*User)(nil), "gitaly.User")
} }
func init() { proto.RegisterFile("shared.proto", fileDescriptor9) } func init() { proto.RegisterFile("shared.proto", fileDescriptor12) }
var fileDescriptor9 = []byte{ var fileDescriptor12 = []byte{
// 500 bytes of a gzipped FileDescriptorProto // 553 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xc1, 0x6e, 0xd3, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x5d, 0x6f, 0xd3, 0x30,
0x10, 0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xf4, 0x36, 0xa7, 0xbc,
0xb6, 0x17, 0x89, 0xdf, 0xeb, 0xcb, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xaa, 0x7f, 0xf5, 0xea, 0x0f, 0xdd, 0xff, 0xe9, 0x8e, 0xc1, 0x81, 0xa1, 0x77, 0x60, 0xd2, 0x61, 0xde, 0x84, 0x6b, 0x48,
0xb7, 0x03, 0x00, 0x00, 0xae, 0x2c, 0x1a, 0xf6, 0x14, 0x86, 0x52, 0x97, 0x9b, 0x5d, 0x4b, 0xa4, 0x3e, 0xaf, 0x36, 0x53,
0xc7, 0xdb, 0x1c, 0x19, 0x3c, 0x74, 0xe4, 0x08, 0x26, 0x52, 0x97, 0xad, 0x75, 0xdf, 0xa0, 0xc6,
0xee, 0x63, 0x81, 0xd4, 0x57, 0x1d, 0x32, 0x1f, 0x79, 0x73, 0x5e, 0xff, 0x0a, 0x00, 0x00, 0xff,
0xff, 0x82, 0x4d, 0xcd, 0xe4, 0x19, 0x04, 0x00, 0x00,
} }
...@@ -26,7 +26,7 @@ type InfoRefsRequest struct { ...@@ -26,7 +26,7 @@ type InfoRefsRequest struct {
func (m *InfoRefsRequest) Reset() { *m = InfoRefsRequest{} } func (m *InfoRefsRequest) Reset() { *m = InfoRefsRequest{} }
func (m *InfoRefsRequest) String() string { return proto.CompactTextString(m) } func (m *InfoRefsRequest) String() string { return proto.CompactTextString(m) }
func (*InfoRefsRequest) ProtoMessage() {} func (*InfoRefsRequest) ProtoMessage() {}
func (*InfoRefsRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{0} } func (*InfoRefsRequest) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{0} }
func (m *InfoRefsRequest) GetRepository() *Repository { func (m *InfoRefsRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -49,7 +49,7 @@ type InfoRefsResponse struct { ...@@ -49,7 +49,7 @@ type InfoRefsResponse struct {
func (m *InfoRefsResponse) Reset() { *m = InfoRefsResponse{} } func (m *InfoRefsResponse) Reset() { *m = InfoRefsResponse{} }
func (m *InfoRefsResponse) String() string { return proto.CompactTextString(m) } func (m *InfoRefsResponse) String() string { return proto.CompactTextString(m) }
func (*InfoRefsResponse) ProtoMessage() {} func (*InfoRefsResponse) ProtoMessage() {}
func (*InfoRefsResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{1} } func (*InfoRefsResponse) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{1} }
func (m *InfoRefsResponse) GetData() []byte { func (m *InfoRefsResponse) GetData() []byte {
if m != nil { if m != nil {
...@@ -70,7 +70,7 @@ type PostUploadPackRequest struct { ...@@ -70,7 +70,7 @@ type PostUploadPackRequest struct {
func (m *PostUploadPackRequest) Reset() { *m = PostUploadPackRequest{} } func (m *PostUploadPackRequest) Reset() { *m = PostUploadPackRequest{} }
func (m *PostUploadPackRequest) String() string { return proto.CompactTextString(m) } func (m *PostUploadPackRequest) String() string { return proto.CompactTextString(m) }
func (*PostUploadPackRequest) ProtoMessage() {} func (*PostUploadPackRequest) ProtoMessage() {}
func (*PostUploadPackRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{2} } func (*PostUploadPackRequest) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{2} }
func (m *PostUploadPackRequest) GetRepository() *Repository { func (m *PostUploadPackRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -101,7 +101,7 @@ type PostUploadPackResponse struct { ...@@ -101,7 +101,7 @@ type PostUploadPackResponse struct {
func (m *PostUploadPackResponse) Reset() { *m = PostUploadPackResponse{} } func (m *PostUploadPackResponse) Reset() { *m = PostUploadPackResponse{} }
func (m *PostUploadPackResponse) String() string { return proto.CompactTextString(m) } func (m *PostUploadPackResponse) String() string { return proto.CompactTextString(m) }
func (*PostUploadPackResponse) ProtoMessage() {} func (*PostUploadPackResponse) ProtoMessage() {}
func (*PostUploadPackResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{3} } func (*PostUploadPackResponse) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{3} }
func (m *PostUploadPackResponse) GetData() []byte { func (m *PostUploadPackResponse) GetData() []byte {
if m != nil { if m != nil {
...@@ -125,7 +125,7 @@ type PostReceivePackRequest struct { ...@@ -125,7 +125,7 @@ type PostReceivePackRequest struct {
func (m *PostReceivePackRequest) Reset() { *m = PostReceivePackRequest{} } func (m *PostReceivePackRequest) Reset() { *m = PostReceivePackRequest{} }
func (m *PostReceivePackRequest) String() string { return proto.CompactTextString(m) } func (m *PostReceivePackRequest) String() string { return proto.CompactTextString(m) }
func (*PostReceivePackRequest) ProtoMessage() {} func (*PostReceivePackRequest) ProtoMessage() {}
func (*PostReceivePackRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{4} } func (*PostReceivePackRequest) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{4} }
func (m *PostReceivePackRequest) GetRepository() *Repository { func (m *PostReceivePackRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -170,7 +170,7 @@ type PostReceivePackResponse struct { ...@@ -170,7 +170,7 @@ type PostReceivePackResponse struct {
func (m *PostReceivePackResponse) Reset() { *m = PostReceivePackResponse{} } func (m *PostReceivePackResponse) Reset() { *m = PostReceivePackResponse{} }
func (m *PostReceivePackResponse) String() string { return proto.CompactTextString(m) } func (m *PostReceivePackResponse) String() string { return proto.CompactTextString(m) }
func (*PostReceivePackResponse) ProtoMessage() {} func (*PostReceivePackResponse) ProtoMessage() {}
func (*PostReceivePackResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{5} } func (*PostReceivePackResponse) Descriptor() ([]byte, []int) { return fileDescriptor13, []int{5} }
func (m *PostReceivePackResponse) GetData() []byte { func (m *PostReceivePackResponse) GetData() []byte {
if m != nil { if m != nil {
...@@ -485,9 +485,9 @@ var _SmartHTTPService_serviceDesc = grpc.ServiceDesc{ ...@@ -485,9 +485,9 @@ var _SmartHTTPService_serviceDesc = grpc.ServiceDesc{
Metadata: "smarthttp.proto", Metadata: "smarthttp.proto",
} }
func init() { proto.RegisterFile("smarthttp.proto", fileDescriptor10) } func init() { proto.RegisterFile("smarthttp.proto", fileDescriptor13) }
var fileDescriptor10 = []byte{ var fileDescriptor13 = []byte{
// 386 bytes of a gzipped FileDescriptorProto // 386 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x93, 0xdd, 0xee, 0xd2, 0x40, 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, 0x10, 0xc5, 0x5d, 0xbe, 0x12, 0x06, 0x14, 0x32, 0x44, 0x69, 0x9a, 0x28, 0xa4, 0x26, 0xa6, 0x17,
......
...@@ -29,7 +29,7 @@ type SSHUploadPackRequest struct { ...@@ -29,7 +29,7 @@ type SSHUploadPackRequest struct {
func (m *SSHUploadPackRequest) Reset() { *m = SSHUploadPackRequest{} } func (m *SSHUploadPackRequest) Reset() { *m = SSHUploadPackRequest{} }
func (m *SSHUploadPackRequest) String() string { return proto.CompactTextString(m) } func (m *SSHUploadPackRequest) String() string { return proto.CompactTextString(m) }
func (*SSHUploadPackRequest) ProtoMessage() {} func (*SSHUploadPackRequest) ProtoMessage() {}
func (*SSHUploadPackRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{0} } func (*SSHUploadPackRequest) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{0} }
func (m *SSHUploadPackRequest) GetRepository() *Repository { func (m *SSHUploadPackRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -65,7 +65,7 @@ type SSHUploadPackResponse struct { ...@@ -65,7 +65,7 @@ type SSHUploadPackResponse struct {
func (m *SSHUploadPackResponse) Reset() { *m = SSHUploadPackResponse{} } func (m *SSHUploadPackResponse) Reset() { *m = SSHUploadPackResponse{} }
func (m *SSHUploadPackResponse) String() string { return proto.CompactTextString(m) } func (m *SSHUploadPackResponse) String() string { return proto.CompactTextString(m) }
func (*SSHUploadPackResponse) ProtoMessage() {} func (*SSHUploadPackResponse) ProtoMessage() {}
func (*SSHUploadPackResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{1} } func (*SSHUploadPackResponse) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{1} }
func (m *SSHUploadPackResponse) GetStdout() []byte { func (m *SSHUploadPackResponse) GetStdout() []byte {
if m != nil { if m != nil {
...@@ -103,7 +103,7 @@ type SSHReceivePackRequest struct { ...@@ -103,7 +103,7 @@ type SSHReceivePackRequest struct {
func (m *SSHReceivePackRequest) Reset() { *m = SSHReceivePackRequest{} } func (m *SSHReceivePackRequest) Reset() { *m = SSHReceivePackRequest{} }
func (m *SSHReceivePackRequest) String() string { return proto.CompactTextString(m) } func (m *SSHReceivePackRequest) String() string { return proto.CompactTextString(m) }
func (*SSHReceivePackRequest) ProtoMessage() {} func (*SSHReceivePackRequest) ProtoMessage() {}
func (*SSHReceivePackRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{2} } func (*SSHReceivePackRequest) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{2} }
func (m *SSHReceivePackRequest) GetRepository() *Repository { func (m *SSHReceivePackRequest) GetRepository() *Repository {
if m != nil { if m != nil {
...@@ -153,7 +153,7 @@ type SSHReceivePackResponse struct { ...@@ -153,7 +153,7 @@ type SSHReceivePackResponse struct {
func (m *SSHReceivePackResponse) Reset() { *m = SSHReceivePackResponse{} } func (m *SSHReceivePackResponse) Reset() { *m = SSHReceivePackResponse{} }
func (m *SSHReceivePackResponse) String() string { return proto.CompactTextString(m) } func (m *SSHReceivePackResponse) String() string { return proto.CompactTextString(m) }
func (*SSHReceivePackResponse) ProtoMessage() {} func (*SSHReceivePackResponse) ProtoMessage() {}
func (*SSHReceivePackResponse) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{3} } func (*SSHReceivePackResponse) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{3} }
func (m *SSHReceivePackResponse) GetStdout() []byte { func (m *SSHReceivePackResponse) GetStdout() []byte {
if m != nil { if m != nil {
...@@ -176,11 +176,74 @@ func (m *SSHReceivePackResponse) GetExitStatus() *ExitStatus { ...@@ -176,11 +176,74 @@ func (m *SSHReceivePackResponse) GetExitStatus() *ExitStatus {
return nil return nil
} }
type SSHUploadArchiveRequest struct {
// 'repository' must be present in the first message.
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// A chunk of raw data to be copied to 'git upload-archive' standard input
Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"`
}
func (m *SSHUploadArchiveRequest) Reset() { *m = SSHUploadArchiveRequest{} }
func (m *SSHUploadArchiveRequest) String() string { return proto.CompactTextString(m) }
func (*SSHUploadArchiveRequest) ProtoMessage() {}
func (*SSHUploadArchiveRequest) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{4} }
func (m *SSHUploadArchiveRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *SSHUploadArchiveRequest) GetStdin() []byte {
if m != nil {
return m.Stdin
}
return nil
}
type SSHUploadArchiveResponse struct {
// A chunk of raw data from 'git upload-archive' standard output
Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
// A chunk of raw data from 'git upload-archive' standard error
Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
// This value will only be set on the last message
ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus" json:"exit_status,omitempty"`
}
func (m *SSHUploadArchiveResponse) Reset() { *m = SSHUploadArchiveResponse{} }
func (m *SSHUploadArchiveResponse) String() string { return proto.CompactTextString(m) }
func (*SSHUploadArchiveResponse) ProtoMessage() {}
func (*SSHUploadArchiveResponse) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{5} }
func (m *SSHUploadArchiveResponse) GetStdout() []byte {
if m != nil {
return m.Stdout
}
return nil
}
func (m *SSHUploadArchiveResponse) GetStderr() []byte {
if m != nil {
return m.Stderr
}
return nil
}
func (m *SSHUploadArchiveResponse) GetExitStatus() *ExitStatus {
if m != nil {
return m.ExitStatus
}
return nil
}
func init() { func init() {
proto.RegisterType((*SSHUploadPackRequest)(nil), "gitaly.SSHUploadPackRequest") proto.RegisterType((*SSHUploadPackRequest)(nil), "gitaly.SSHUploadPackRequest")
proto.RegisterType((*SSHUploadPackResponse)(nil), "gitaly.SSHUploadPackResponse") proto.RegisterType((*SSHUploadPackResponse)(nil), "gitaly.SSHUploadPackResponse")
proto.RegisterType((*SSHReceivePackRequest)(nil), "gitaly.SSHReceivePackRequest") proto.RegisterType((*SSHReceivePackRequest)(nil), "gitaly.SSHReceivePackRequest")
proto.RegisterType((*SSHReceivePackResponse)(nil), "gitaly.SSHReceivePackResponse") proto.RegisterType((*SSHReceivePackResponse)(nil), "gitaly.SSHReceivePackResponse")
proto.RegisterType((*SSHUploadArchiveRequest)(nil), "gitaly.SSHUploadArchiveRequest")
proto.RegisterType((*SSHUploadArchiveResponse)(nil), "gitaly.SSHUploadArchiveResponse")
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
...@@ -198,6 +261,8 @@ type SSHServiceClient interface { ...@@ -198,6 +261,8 @@ type SSHServiceClient interface {
SSHUploadPack(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHUploadPackClient, error) SSHUploadPack(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHUploadPackClient, error)
// To forward 'git receive-pack' to Gitaly for SSH sessions // To forward 'git receive-pack' to Gitaly for SSH sessions
SSHReceivePack(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHReceivePackClient, error) SSHReceivePack(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHReceivePackClient, error)
// To forward 'git upload-archive' to Gitaly for SSH sessions
SSHUploadArchive(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHUploadArchiveClient, error)
} }
type sSHServiceClient struct { type sSHServiceClient struct {
...@@ -270,6 +335,37 @@ func (x *sSHServiceSSHReceivePackClient) Recv() (*SSHReceivePackResponse, error) ...@@ -270,6 +335,37 @@ func (x *sSHServiceSSHReceivePackClient) Recv() (*SSHReceivePackResponse, error)
return m, nil return m, nil
} }
func (c *sSHServiceClient) SSHUploadArchive(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHUploadArchiveClient, error) {
stream, err := grpc.NewClientStream(ctx, &_SSHService_serviceDesc.Streams[2], c.cc, "/gitaly.SSHService/SSHUploadArchive", opts...)
if err != nil {
return nil, err
}
x := &sSHServiceSSHUploadArchiveClient{stream}
return x, nil
}
type SSHService_SSHUploadArchiveClient interface {
Send(*SSHUploadArchiveRequest) error
Recv() (*SSHUploadArchiveResponse, error)
grpc.ClientStream
}
type sSHServiceSSHUploadArchiveClient struct {
grpc.ClientStream
}
func (x *sSHServiceSSHUploadArchiveClient) Send(m *SSHUploadArchiveRequest) error {
return x.ClientStream.SendMsg(m)
}
func (x *sSHServiceSSHUploadArchiveClient) Recv() (*SSHUploadArchiveResponse, error) {
m := new(SSHUploadArchiveResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
// Server API for SSHService service // Server API for SSHService service
type SSHServiceServer interface { type SSHServiceServer interface {
...@@ -277,6 +373,8 @@ type SSHServiceServer interface { ...@@ -277,6 +373,8 @@ type SSHServiceServer interface {
SSHUploadPack(SSHService_SSHUploadPackServer) error SSHUploadPack(SSHService_SSHUploadPackServer) error
// To forward 'git receive-pack' to Gitaly for SSH sessions // To forward 'git receive-pack' to Gitaly for SSH sessions
SSHReceivePack(SSHService_SSHReceivePackServer) error SSHReceivePack(SSHService_SSHReceivePackServer) error
// To forward 'git upload-archive' to Gitaly for SSH sessions
SSHUploadArchive(SSHService_SSHUploadArchiveServer) error
} }
func RegisterSSHServiceServer(s *grpc.Server, srv SSHServiceServer) { func RegisterSSHServiceServer(s *grpc.Server, srv SSHServiceServer) {
...@@ -335,6 +433,32 @@ func (x *sSHServiceSSHReceivePackServer) Recv() (*SSHReceivePackRequest, error) ...@@ -335,6 +433,32 @@ func (x *sSHServiceSSHReceivePackServer) Recv() (*SSHReceivePackRequest, error)
return m, nil return m, nil
} }
func _SSHService_SSHUploadArchive_Handler(srv interface{}, stream grpc.ServerStream) error {
return srv.(SSHServiceServer).SSHUploadArchive(&sSHServiceSSHUploadArchiveServer{stream})
}
type SSHService_SSHUploadArchiveServer interface {
Send(*SSHUploadArchiveResponse) error
Recv() (*SSHUploadArchiveRequest, error)
grpc.ServerStream
}
type sSHServiceSSHUploadArchiveServer struct {
grpc.ServerStream
}
func (x *sSHServiceSSHUploadArchiveServer) Send(m *SSHUploadArchiveResponse) error {
return x.ServerStream.SendMsg(m)
}
func (x *sSHServiceSSHUploadArchiveServer) Recv() (*SSHUploadArchiveRequest, error) {
m := new(SSHUploadArchiveRequest)
if err := x.ServerStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
var _SSHService_serviceDesc = grpc.ServiceDesc{ var _SSHService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.SSHService", ServiceName: "gitaly.SSHService",
HandlerType: (*SSHServiceServer)(nil), HandlerType: (*SSHServiceServer)(nil),
...@@ -352,36 +476,45 @@ var _SSHService_serviceDesc = grpc.ServiceDesc{ ...@@ -352,36 +476,45 @@ var _SSHService_serviceDesc = grpc.ServiceDesc{
ServerStreams: true, ServerStreams: true,
ClientStreams: true, ClientStreams: true,
}, },
{
StreamName: "SSHUploadArchive",
Handler: _SSHService_SSHUploadArchive_Handler,
ServerStreams: true,
ClientStreams: true,
},
}, },
Metadata: "ssh.proto", Metadata: "ssh.proto",
} }
func init() { proto.RegisterFile("ssh.proto", fileDescriptor11) } func init() { proto.RegisterFile("ssh.proto", fileDescriptor14) }
var fileDescriptor11 = []byte{ var fileDescriptor14 = []byte{
// 377 bytes of a gzipped FileDescriptorProto // 423 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x53, 0xcd, 0xce, 0xd2, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x54, 0xcd, 0x6e, 0xd3, 0x40,
0x14, 0x75, 0xa4, 0x10, 0xb9, 0xf4, 0x33, 0x64, 0x04, 0xd2, 0x10, 0x7f, 0x48, 0xdd, 0x74, 0x61, 0x10, 0xc6, 0x8d, 0x13, 0x91, 0x89, 0x8b, 0xa2, 0xa5, 0x2d, 0x96, 0x05, 0xd4, 0x32, 0x17, 0x1f,
0x88, 0x81, 0x47, 0x30, 0x26, 0xe8, 0x46, 0x33, 0x0d, 0xeb, 0x66, 0x6c, 0xaf, 0xc3, 0xc4, 0xa1, 0x50, 0x84, 0xd2, 0x27, 0x40, 0x08, 0xa9, 0x70, 0x01, 0xad, 0x95, 0x13, 0x07, 0x6b, 0xb1, 0x87,
0x53, 0x67, 0xa6, 0x04, 0x12, 0x7d, 0x22, 0x1f, 0xc0, 0x8d, 0x0f, 0x67, 0x32, 0xad, 0x58, 0x50, 0xcd, 0x8a, 0xad, 0xd7, 0xec, 0xae, 0xa3, 0x56, 0x02, 0xf1, 0x12, 0xbc, 0x05, 0xaf, 0xc0, 0xc3,
0x96, 0xba, 0xeb, 0x3d, 0xe7, 0xfe, 0x9c, 0x73, 0x6f, 0x07, 0x86, 0xd6, 0xee, 0x96, 0x95, 0xd1, 0x21, 0xad, 0x4d, 0xb0, 0x13, 0x72, 0xa3, 0xbd, 0x79, 0xe6, 0x9b, 0x9f, 0x6f, 0xbe, 0x19, 0x2f,
0x4e, 0xd3, 0x81, 0x90, 0x8e, 0xab, 0xd3, 0x3c, 0xb4, 0x3b, 0x6e, 0xb0, 0x68, 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fc, 0x27, 0xff, 0x5f, 0x3f, 0x5d, 0xf4, 0xe4, 0x00, 0xda, 0x4e, 0x90, 0xdc, 0x4b,
0xff, 0x1b, 0x65, 0x3d, 0xab, 0x4d, 0x03, 0x00, 0x00, 0xbd, 0x17, 0x1e, 0x59, 0xc1, 0x83, 0xe1, 0x1e, 0x49, 0x3f, 0x6d, 0xff, 0x3a, 0xa3, 0xa7, 0x87,
0xe0, 0x41, 0xd9, 0x0f, 0x30, 0xdf, 0x95, 0x8e, 0x9c, 0xef, 0xf1, 0x19, 0x6e, 0x2e, 0x8a, 0x0f,
0x07, 0xf4, 0x8b, 0x7f, 0x9c, 0xb8, 0xd7, 0xe6, 0xe2, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe6,
0xa6, 0x53, 0xee, 0x90, 0x04, 0x00, 0x00,
} }
...@@ -17,104 +17,866 @@ var _ = proto.Marshal ...@@ -17,104 +17,866 @@ var _ = proto.Marshal
var _ = fmt.Errorf var _ = fmt.Errorf
var _ = math.Inf 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 fileDescriptor15, []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 { type WikiPageVersion struct {
Commit *GitCommit `protobuf:"bytes,1,opt,name=commit" json:"commit,omitempty"` Commit *GitCommit `protobuf:"bytes,1,opt,name=commit" json:"commit,omitempty"`
Format string `protobuf:"bytes,2,opt,name=format" json:"format,omitempty"` Format string `protobuf:"bytes,2,opt,name=format" json:"format,omitempty"`
} }
func (m *WikiPageVersion) Reset() { *m = WikiPageVersion{} } func (m *WikiPageVersion) Reset() { *m = WikiPageVersion{} }
func (m *WikiPageVersion) String() string { return proto.CompactTextString(m) } func (m *WikiPageVersion) String() string { return proto.CompactTextString(m) }
func (*WikiPageVersion) ProtoMessage() {} func (*WikiPageVersion) ProtoMessage() {}
func (*WikiPageVersion) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{0} } func (*WikiPageVersion) Descriptor() ([]byte, []int) { return fileDescriptor15, []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 fileDescriptor15, []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 fileDescriptor15, []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 fileDescriptor15, []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 fileDescriptor15, []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 fileDescriptor15, []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 fileDescriptor15, []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 fileDescriptor15, []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 fileDescriptor15, []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 fileDescriptor15, []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 fileDescriptor15, []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 fileDescriptor15, []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 fileDescriptor15, []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 fileDescriptor15, []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 fileDescriptor15, []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 fileDescriptor15, []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
}
type WikiGetFormattedDataRequest 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 *WikiGetFormattedDataRequest) Reset() { *m = WikiGetFormattedDataRequest{} }
func (m *WikiGetFormattedDataRequest) String() string { return proto.CompactTextString(m) }
func (*WikiGetFormattedDataRequest) ProtoMessage() {}
func (*WikiGetFormattedDataRequest) Descriptor() ([]byte, []int) { return fileDescriptor15, []int{17} }
func (m *WikiGetFormattedDataRequest) GetRepository() *Repository {
if m != nil {
return m.Repository
}
return nil
}
func (m *WikiGetFormattedDataRequest) GetTitle() []byte {
if m != nil {
return m.Title
}
return nil
}
func (m *WikiGetFormattedDataRequest) GetRevision() []byte {
if m != nil {
return m.Revision
}
return nil
}
func (m *WikiGetFormattedDataRequest) GetDirectory() []byte {
if m != nil {
return m.Directory
}
return nil
}
type WikiGetFormattedDataResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (m *WikiGetFormattedDataResponse) Reset() { *m = WikiGetFormattedDataResponse{} }
func (m *WikiGetFormattedDataResponse) String() string { return proto.CompactTextString(m) }
func (*WikiGetFormattedDataResponse) ProtoMessage() {}
func (*WikiGetFormattedDataResponse) Descriptor() ([]byte, []int) { return fileDescriptor15, []int{18} }
func (m *WikiGetFormattedDataResponse) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
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")
proto.RegisterType((*WikiGetFormattedDataRequest)(nil), "gitaly.WikiGetFormattedDataRequest")
proto.RegisterType((*WikiGetFormattedDataResponse)(nil), "gitaly.WikiGetFormattedDataResponse")
}
// 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)
WikiGetFormattedData(ctx context.Context, in *WikiGetFormattedDataRequest, opts ...grpc.CallOption) (WikiService_WikiGetFormattedDataClient, 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 (m *WikiPageVersion) GetCommit() *GitCommit { func (x *wikiServiceWikiWritePageClient) Send(m *WikiWritePageRequest) error {
if m != nil { return x.ClientStream.SendMsg(m)
return m.Commit }
func (x *wikiServiceWikiWritePageClient) CloseAndRecv() (*WikiWritePageResponse, error) {
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
} }
return nil m := new(WikiWritePageResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
} }
func (m *WikiPageVersion) GetFormat() string { func (c *wikiServiceClient) WikiUpdatePage(ctx context.Context, opts ...grpc.CallOption) (WikiService_WikiUpdatePageClient, error) {
if m != nil { stream, err := grpc.NewClientStream(ctx, &_WikiService_serviceDesc.Streams[2], c.cc, "/gitaly.WikiService/WikiUpdatePage", opts...)
return m.Format if err != nil {
return nil, err
} }
return "" x := &wikiServiceWikiUpdatePageClient{stream}
return x, nil
} }
type WikiGetPageVersionsRequest struct { type WikiService_WikiUpdatePageClient interface {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` Send(*WikiUpdatePageRequest) error
PagePath []byte `protobuf:"bytes,2,opt,name=page_path,json=pagePath,proto3" json:"page_path,omitempty"` CloseAndRecv() (*WikiUpdatePageResponse, error)
grpc.ClientStream
} }
func (m *WikiGetPageVersionsRequest) Reset() { *m = WikiGetPageVersionsRequest{} } type wikiServiceWikiUpdatePageClient struct {
func (m *WikiGetPageVersionsRequest) String() string { return proto.CompactTextString(m) } grpc.ClientStream
func (*WikiGetPageVersionsRequest) ProtoMessage() {} }
func (*WikiGetPageVersionsRequest) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{1} }
func (m *WikiGetPageVersionsRequest) GetRepository() *Repository { func (x *wikiServiceWikiUpdatePageClient) Send(m *WikiUpdatePageRequest) error {
if m != nil { return x.ClientStream.SendMsg(m)
return m.Repository }
func (x *wikiServiceWikiUpdatePageClient) CloseAndRecv() (*WikiUpdatePageResponse, error) {
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
} }
return nil m := new(WikiUpdatePageResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
} }
func (m *WikiGetPageVersionsRequest) GetPagePath() []byte { func (c *wikiServiceClient) WikiDeletePage(ctx context.Context, in *WikiDeletePageRequest, opts ...grpc.CallOption) (*WikiDeletePageResponse, error) {
if m != nil { out := new(WikiDeletePageResponse)
return m.PagePath err := grpc.Invoke(ctx, "/gitaly.WikiService/WikiDeletePage", in, out, c.cc, opts...)
if err != nil {
return nil, err
} }
return nil return out, nil
} }
type WikiGetPageVersionsResponse struct { func (c *wikiServiceClient) WikiFindPage(ctx context.Context, in *WikiFindPageRequest, opts ...grpc.CallOption) (WikiService_WikiFindPageClient, error) {
Versions []*WikiPageVersion `protobuf:"bytes,1,rep,name=versions" json:"versions,omitempty"` 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
} }
func (m *WikiGetPageVersionsResponse) Reset() { *m = WikiGetPageVersionsResponse{} } type WikiService_WikiFindPageClient interface {
func (m *WikiGetPageVersionsResponse) String() string { return proto.CompactTextString(m) } Recv() (*WikiFindPageResponse, error)
func (*WikiGetPageVersionsResponse) ProtoMessage() {} grpc.ClientStream
func (*WikiGetPageVersionsResponse) Descriptor() ([]byte, []int) { return fileDescriptor12, []int{2} } }
func (m *WikiGetPageVersionsResponse) GetVersions() []*WikiPageVersion { type wikiServiceWikiFindPageClient struct {
if m != nil { grpc.ClientStream
return m.Versions }
func (x *wikiServiceWikiFindPageClient) Recv() (*WikiFindPageResponse, error) {
m := new(WikiFindPageResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
} }
return nil return m, nil
} }
func init() { func (c *wikiServiceClient) WikiFindFile(ctx context.Context, in *WikiFindFileRequest, opts ...grpc.CallOption) (WikiService_WikiFindFileClient, error) {
proto.RegisterType((*WikiPageVersion)(nil), "gitaly.WikiPageVersion") stream, err := grpc.NewClientStream(ctx, &_WikiService_serviceDesc.Streams[4], c.cc, "/gitaly.WikiService/WikiFindFile", opts...)
proto.RegisterType((*WikiGetPageVersionsRequest)(nil), "gitaly.WikiGetPageVersionsRequest") if err != nil {
proto.RegisterType((*WikiGetPageVersionsResponse)(nil), "gitaly.WikiGetPageVersionsResponse") 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
} }
// Reference imports to suppress errors if they are not otherwise used. type WikiService_WikiFindFileClient interface {
var _ context.Context Recv() (*WikiFindFileResponse, error)
var _ grpc.ClientConn grpc.ClientStream
}
// This is a compile-time assertion to ensure that this generated file type wikiServiceWikiFindFileClient struct {
// is compatible with the grpc package it is being compiled against. grpc.ClientStream
const _ = grpc.SupportPackageIsVersion4 }
// Client API for WikiService service func (x *wikiServiceWikiFindFileClient) Recv() (*WikiFindFileResponse, error) {
m := new(WikiFindFileResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
type WikiServiceClient interface { func (c *wikiServiceClient) WikiGetAllPages(ctx context.Context, in *WikiGetAllPagesRequest, opts ...grpc.CallOption) (WikiService_WikiGetAllPagesClient, error) {
WikiGetPageVersions(ctx context.Context, in *WikiGetPageVersionsRequest, opts ...grpc.CallOption) (WikiService_WikiGetPageVersionsClient, 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 wikiServiceClient struct { type WikiService_WikiGetAllPagesClient interface {
cc *grpc.ClientConn Recv() (*WikiGetAllPagesResponse, error)
grpc.ClientStream
} }
func NewWikiServiceClient(cc *grpc.ClientConn) WikiServiceClient { type wikiServiceWikiGetAllPagesClient struct {
return &wikiServiceClient{cc} grpc.ClientStream
} }
func (c *wikiServiceClient) WikiGetPageVersions(ctx context.Context, in *WikiGetPageVersionsRequest, opts ...grpc.CallOption) (WikiService_WikiGetPageVersionsClient, error) { func (x *wikiServiceWikiGetAllPagesClient) Recv() (*WikiGetAllPagesResponse, error) {
stream, err := grpc.NewClientStream(ctx, &_WikiService_serviceDesc.Streams[0], c.cc, "/gitaly.WikiService/WikiGetPageVersions", opts...) m := new(WikiGetAllPagesResponse)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *wikiServiceClient) WikiGetFormattedData(ctx context.Context, in *WikiGetFormattedDataRequest, opts ...grpc.CallOption) (WikiService_WikiGetFormattedDataClient, error) {
stream, err := grpc.NewClientStream(ctx, &_WikiService_serviceDesc.Streams[6], c.cc, "/gitaly.WikiService/WikiGetFormattedData", opts...)
if err != nil { if err != nil {
return nil, err return nil, err
} }
x := &wikiServiceWikiGetPageVersionsClient{stream} x := &wikiServiceWikiGetFormattedDataClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil { if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err return nil, err
} }
...@@ -124,17 +886,17 @@ func (c *wikiServiceClient) WikiGetPageVersions(ctx context.Context, in *WikiGet ...@@ -124,17 +886,17 @@ func (c *wikiServiceClient) WikiGetPageVersions(ctx context.Context, in *WikiGet
return x, nil return x, nil
} }
type WikiService_WikiGetPageVersionsClient interface { type WikiService_WikiGetFormattedDataClient interface {
Recv() (*WikiGetPageVersionsResponse, error) Recv() (*WikiGetFormattedDataResponse, error)
grpc.ClientStream grpc.ClientStream
} }
type wikiServiceWikiGetPageVersionsClient struct { type wikiServiceWikiGetFormattedDataClient struct {
grpc.ClientStream grpc.ClientStream
} }
func (x *wikiServiceWikiGetPageVersionsClient) Recv() (*WikiGetPageVersionsResponse, error) { func (x *wikiServiceWikiGetFormattedDataClient) Recv() (*WikiGetFormattedDataResponse, error) {
m := new(WikiGetPageVersionsResponse) m := new(WikiGetFormattedDataResponse)
if err := x.ClientStream.RecvMsg(m); err != nil { if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err return nil, err
} }
...@@ -145,6 +907,14 @@ func (x *wikiServiceWikiGetPageVersionsClient) Recv() (*WikiGetPageVersionsRespo ...@@ -145,6 +907,14 @@ func (x *wikiServiceWikiGetPageVersionsClient) Recv() (*WikiGetPageVersionsRespo
type WikiServiceServer interface { type WikiServiceServer interface {
WikiGetPageVersions(*WikiGetPageVersionsRequest, WikiService_WikiGetPageVersionsServer) error 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
WikiGetFormattedData(*WikiGetFormattedDataRequest, WikiService_WikiGetFormattedDataServer) error
} }
func RegisterWikiServiceServer(s *grpc.Server, srv WikiServiceServer) { func RegisterWikiServiceServer(s *grpc.Server, srv WikiServiceServer) {
...@@ -172,39 +942,267 @@ func (x *wikiServiceWikiGetPageVersionsServer) Send(m *WikiGetPageVersionsRespon ...@@ -172,39 +942,267 @@ func (x *wikiServiceWikiGetPageVersionsServer) Send(m *WikiGetPageVersionsRespon
return x.ServerStream.SendMsg(m) 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)
}
func _WikiService_WikiGetFormattedData_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(WikiGetFormattedDataRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(WikiServiceServer).WikiGetFormattedData(m, &wikiServiceWikiGetFormattedDataServer{stream})
}
type WikiService_WikiGetFormattedDataServer interface {
Send(*WikiGetFormattedDataResponse) error
grpc.ServerStream
}
type wikiServiceWikiGetFormattedDataServer struct {
grpc.ServerStream
}
func (x *wikiServiceWikiGetFormattedDataServer) Send(m *WikiGetFormattedDataResponse) error {
return x.ServerStream.SendMsg(m)
}
var _WikiService_serviceDesc = grpc.ServiceDesc{ var _WikiService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.WikiService", ServiceName: "gitaly.WikiService",
HandlerType: (*WikiServiceServer)(nil), HandlerType: (*WikiServiceServer)(nil),
Methods: []grpc.MethodDesc{}, Methods: []grpc.MethodDesc{
{
MethodName: "WikiDeletePage",
Handler: _WikiService_WikiDeletePage_Handler,
},
},
Streams: []grpc.StreamDesc{ Streams: []grpc.StreamDesc{
{ {
StreamName: "WikiGetPageVersions", StreamName: "WikiGetPageVersions",
Handler: _WikiService_WikiGetPageVersions_Handler, Handler: _WikiService_WikiGetPageVersions_Handler,
ServerStreams: true, 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,
},
{
StreamName: "WikiGetFormattedData",
Handler: _WikiService_WikiGetFormattedData_Handler,
ServerStreams: true,
},
}, },
Metadata: "wiki.proto", Metadata: "wiki.proto",
} }
func init() { proto.RegisterFile("wiki.proto", fileDescriptor12) } func init() { proto.RegisterFile("wiki.proto", fileDescriptor15) }
var fileDescriptor12 = []byte{ var fileDescriptor15 = []byte{
// 258 bytes of a gzipped FileDescriptorProto // 893 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xcf, 0x4a, 0xf3, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xcd, 0x72, 0xdc, 0x44,
0x14, 0xc5, 0xbf, 0x7c, 0x42, 0x68, 0x6f, 0x0a, 0xe2, 0x08, 0x1a, 0xd2, 0x4d, 0x18, 0x37, 0x71, 0x10, 0x8e, 0xbc, 0x7f, 0xda, 0xb6, 0xe3, 0x90, 0x21, 0x24, 0x8a, 0x6c, 0x8c, 0x6b, 0x48, 0x15,
0x13, 0x24, 0x7d, 0x04, 0x17, 0xdd, 0x96, 0x51, 0x74, 0x29, 0xd3, 0x7a, 0x4d, 0x2e, 0x35, 0x9d, 0xe6, 0xe2, 0x82, 0xcd, 0x95, 0x43, 0x28, 0x8c, 0x7d, 0x81, 0xc2, 0x28, 0x21, 0x3e, 0xaa, 0x26,
0xe9, 0xcc, 0xb5, 0xd2, 0xb7, 0x97, 0xfc, 0x69, 0x09, 0x12, 0x5c, 0xce, 0x39, 0x67, 0xce, 0x6f, 0xab, 0xb6, 0x3d, 0x15, 0xfd, 0x31, 0x1a, 0xdb, 0xb5, 0x8f, 0x42, 0x15, 0x17, 0xae, 0x3c, 0x09,
0x0e, 0x03, 0xf0, 0x4d, 0x5b, 0xca, 0xad, 0x33, 0x6c, 0x44, 0x58, 0x12, 0xeb, 0xcf, 0x63, 0x32, 0x67, 0xde, 0x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x96, 0xeb, 0x12, 0x64, 0xc7, 0xfd, 0xa2,
0x63, 0x6b, 0xe1, 0x6e, 0xff, 0xa6, 0x23, 0xa4, 0x03, 0xa7, 0x7a, 0x77, 0x15, 0xce, 0x31, 0x93,
0x55, 0x38, 0xb7, 0xdd, 0x35, 0xdc, 0x6b, 0xf3, 0xbf, 0xd4, 0x69, 0x22, 0xb2, 0xd7, 0xa9, 0x69,
0xa7, 0x57, 0xc3, 0x8f, 0x6e, 0xdd, 0x77, 0x70, 0xd1, 0x58, 0x4c, 0xf7, 0x5d, 0x92, 0xee, 0x83,
0xe9, 0x6b, 0xac, 0xf0, 0xd9, 0xfa, 0x43, 0xcd, 0x35, 0x6f, 0xc6, 0xfa, 0x6f, 0xfb, 0xf3, 0xbf,
0x02, 0x00, 0x00, 0xff, 0xff, 0xf7, 0x50, 0x3d, 0x3a, 0xda, 0x0b, 0x00, 0x00,
} }
...@@ -197,12 +197,12 @@ ...@@ -197,12 +197,12 @@
"revisionTime": "2016-11-17T07:43:51Z" "revisionTime": "2016-11-17T07:43:51Z"
}, },
{ {
"checksumSHA1": "3b0dq1/Vmln2vOY8upDIrDlucyo=", "checksumSHA1": "MVrf0BwLEpU3uGHmYOrIWVoJGCk=",
"path": "gitlab.com/gitlab-org/gitaly-proto/go", "path": "gitlab.com/gitlab-org/gitaly-proto/go",
"revision": "e3cc4aa1f29786b725db87b5f55f15aeb8670555", "revision": "00d4006669b30b6a0fe66aaa9fa72285d18616fb",
"revisionTime": "2017-10-12T15:06:35Z", "revisionTime": "2018-04-03T14:25:38Z",
"version": "v0.44.0", "version": "v0.95.0",
"versionExact": "v0.44.0" "versionExact": "v0.95.0"
}, },
{ {
"checksumSHA1": "dUHJbKas746n5fLzlwxHb6FOCxs=", "checksumSHA1": "dUHJbKas746n5fLzlwxHb6FOCxs=",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment