Commit 3005778d authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)

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

Update gitaly proto to v0.109.0

See merge request gitlab-org/gitlab-workhorse!277
parents 26428d2e 7ab09b55
...@@ -436,6 +436,38 @@ func (s *GitalyTestServer) CreateRepositoryFromSnapshot(context.Context, *pb.Cre ...@@ -436,6 +436,38 @@ func (s *GitalyTestServer) CreateRepositoryFromSnapshot(context.Context, *pb.Cre
return nil, nil return nil, nil
} }
func (s *GitalyTestServer) BackupCustomHooks(*pb.BackupCustomHooksRequest, pb.RepositoryService_BackupCustomHooksServer) error {
return nil
}
func (s *GitalyTestServer) DeleteConfig(context.Context, *pb.DeleteConfigRequest) (*pb.DeleteConfigResponse, error) {
return nil, nil
}
func (s *GitalyTestServer) GetRawChanges(*pb.GetRawChangesRequest, pb.RepositoryService_GetRawChangesServer) error {
return nil
}
func (s *GitalyTestServer) RestoreCustomHooks(pb.RepositoryService_RestoreCustomHooksServer) error {
return nil
}
func (s *GitalyTestServer) SearchFilesByContent(*pb.SearchFilesByContentRequest, pb.RepositoryService_SearchFilesByContentServer) error {
return nil
}
func (s *GitalyTestServer) SearchFilesByName(*pb.SearchFilesByNameRequest, pb.RepositoryService_SearchFilesByNameServer) error {
return nil
}
func (s *GitalyTestServer) SetConfig(context.Context, *pb.SetConfigRequest) (*pb.SetConfigResponse, error) {
return nil, nil
}
func (s *GitalyTestServer) DiffStats(*pb.DiffStatsRequest, pb.DiffService_DiffStatsServer) error {
return 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
......
...@@ -20,6 +20,7 @@ It is generated from these files: ...@@ -20,6 +20,7 @@ It is generated from these files:
shared.proto shared.proto
smarthttp.proto smarthttp.proto
ssh.proto ssh.proto
storage.proto
wiki.proto wiki.proto
It has these top-level messages: It has these top-level messages:
...@@ -91,6 +92,9 @@ It has these top-level messages: ...@@ -91,6 +92,9 @@ It has these top-level messages:
RawDiffResponse RawDiffResponse
RawPatchRequest RawPatchRequest
RawPatchResponse RawPatchResponse
DiffStatsRequest
DiffStats
DiffStatsResponse
AddNamespaceRequest AddNamespaceRequest
RemoveNamespaceRequest RemoveNamespaceRequest
RenameNamespaceRequest RenameNamespaceRequest
...@@ -103,6 +107,8 @@ It has these top-level messages: ...@@ -103,6 +107,8 @@ It has these top-level messages:
PostReceiveResponse PostReceiveResponse
UserCreateBranchRequest UserCreateBranchRequest
UserCreateBranchResponse UserCreateBranchResponse
UserUpdateBranchRequest
UserUpdateBranchResponse
UserDeleteBranchRequest UserDeleteBranchRequest
UserDeleteBranchResponse UserDeleteBranchResponse
UserDeleteTagRequest UserDeleteTagRequest
...@@ -159,6 +165,10 @@ It has these top-level messages: ...@@ -159,6 +165,10 @@ It has these top-level messages:
ListTagNamesContainingCommitResponse ListTagNamesContainingCommitResponse
GetTagMessagesRequest GetTagMessagesRequest
GetTagMessagesResponse GetTagMessagesResponse
ListNewCommitsRequest
ListNewCommitsResponse
FindAllRemoteBranchesRequest
FindAllRemoteBranchesResponse
AddRemoteRequest AddRemoteRequest
AddRemoteResponse AddRemoteResponse
RemoveRemoteRequest RemoveRemoteRequest
...@@ -211,6 +221,14 @@ It has these top-level messages: ...@@ -211,6 +221,14 @@ It has these top-level messages:
CreateBundleResponse CreateBundleResponse
WriteConfigRequest WriteConfigRequest
WriteConfigResponse WriteConfigResponse
SetConfigRequest
SetConfigResponse
DeleteConfigRequest
DeleteConfigResponse
RestoreCustomHooksRequest
RestoreCustomHooksResponse
BackupCustomHooksRequest
BackupCustomHooksResponse
CreateRepositoryFromBundleRequest CreateRepositoryFromBundleRequest
CreateRepositoryFromBundleResponse CreateRepositoryFromBundleResponse
FindLicenseRequest FindLicenseRequest
...@@ -223,6 +241,12 @@ It has these top-level messages: ...@@ -223,6 +241,12 @@ It has these top-level messages:
GetSnapshotResponse GetSnapshotResponse
CreateRepositoryFromSnapshotRequest CreateRepositoryFromSnapshotRequest
CreateRepositoryFromSnapshotResponse CreateRepositoryFromSnapshotResponse
GetRawChangesRequest
GetRawChangesResponse
SearchFilesByNameRequest
SearchFilesByNameResponse
SearchFilesByContentRequest
SearchFilesByContentResponse
ServerInfoRequest ServerInfoRequest
ServerInfoResponse ServerInfoResponse
Repository Repository
...@@ -244,6 +268,8 @@ It has these top-level messages: ...@@ -244,6 +268,8 @@ It has these top-level messages:
SSHReceivePackResponse SSHReceivePackResponse
SSHUploadArchiveRequest SSHUploadArchiveRequest
SSHUploadArchiveResponse SSHUploadArchiveResponse
DeleteAllRepositoriesRequest
DeleteAllRepositoriesResponse
WikiCommitDetails WikiCommitDetails
WikiPageVersion WikiPageVersion
WikiPage WikiPage
......
...@@ -109,9 +109,7 @@ func (m *ConflictFile) String() string { return proto.CompactTextStri ...@@ -109,9 +109,7 @@ func (m *ConflictFile) String() string { return proto.CompactTextStri
func (*ConflictFile) ProtoMessage() {} func (*ConflictFile) ProtoMessage() {}
func (*ConflictFile) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} } func (*ConflictFile) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
type isConflictFile_ConflictFilePayload interface { type isConflictFile_ConflictFilePayload interface{ isConflictFile_ConflictFilePayload() }
isConflictFile_ConflictFilePayload()
}
type ConflictFile_Header struct { type ConflictFile_Header struct {
Header *ConflictFileHeader `protobuf:"bytes,1,opt,name=header,oneof"` Header *ConflictFileHeader `protobuf:"bytes,1,opt,name=header,oneof"`
...@@ -314,9 +312,7 @@ func (m *ResolveConflictsRequest) String() string { return proto.Comp ...@@ -314,9 +312,7 @@ func (m *ResolveConflictsRequest) String() string { return proto.Comp
func (*ResolveConflictsRequest) ProtoMessage() {} func (*ResolveConflictsRequest) ProtoMessage() {}
func (*ResolveConflictsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} } func (*ResolveConflictsRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} }
type isResolveConflictsRequest_ResolveConflictsRequestPayload interface { type isResolveConflictsRequest_ResolveConflictsRequestPayload interface{ isResolveConflictsRequest_ResolveConflictsRequestPayload() }
isResolveConflictsRequest_ResolveConflictsRequestPayload()
}
type ResolveConflictsRequest_Header struct { type ResolveConflictsRequest_Header struct {
Header *ResolveConflictsRequestHeader `protobuf:"bytes,1,opt,name=header,oneof"` Header *ResolveConflictsRequestHeader `protobuf:"bytes,1,opt,name=header,oneof"`
......
...@@ -26,8 +26,9 @@ func (*ServerInfoRequest) ProtoMessage() {} ...@@ -26,8 +26,9 @@ func (*ServerInfoRequest) ProtoMessage() {}
func (*ServerInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{0} } func (*ServerInfoRequest) Descriptor() ([]byte, []int) { return fileDescriptor11, []int{0} }
type ServerInfoResponse struct { type ServerInfoResponse struct {
ServerVersion string `protobuf:"bytes,1,opt,name=server_version,json=serverVersion" json:"server_version,omitempty"` 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"` GitVersion string `protobuf:"bytes,2,opt,name=git_version,json=gitVersion" json:"git_version,omitempty"`
StorageStatuses []*ServerInfoResponse_StorageStatus `protobuf:"bytes,3,rep,name=storage_statuses,json=storageStatuses" json:"storage_statuses,omitempty"`
} }
func (m *ServerInfoResponse) Reset() { *m = ServerInfoResponse{} } func (m *ServerInfoResponse) Reset() { *m = ServerInfoResponse{} }
...@@ -49,9 +50,51 @@ func (m *ServerInfoResponse) GetGitVersion() string { ...@@ -49,9 +50,51 @@ func (m *ServerInfoResponse) GetGitVersion() string {
return "" return ""
} }
func (m *ServerInfoResponse) GetStorageStatuses() []*ServerInfoResponse_StorageStatus {
if m != nil {
return m.StorageStatuses
}
return nil
}
type ServerInfoResponse_StorageStatus struct {
StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName" json:"storage_name,omitempty"`
Readable bool `protobuf:"varint,2,opt,name=readable" json:"readable,omitempty"`
Writeable bool `protobuf:"varint,3,opt,name=writeable" json:"writeable,omitempty"`
}
func (m *ServerInfoResponse_StorageStatus) Reset() { *m = ServerInfoResponse_StorageStatus{} }
func (m *ServerInfoResponse_StorageStatus) String() string { return proto.CompactTextString(m) }
func (*ServerInfoResponse_StorageStatus) ProtoMessage() {}
func (*ServerInfoResponse_StorageStatus) Descriptor() ([]byte, []int) {
return fileDescriptor11, []int{1, 0}
}
func (m *ServerInfoResponse_StorageStatus) GetStorageName() string {
if m != nil {
return m.StorageName
}
return ""
}
func (m *ServerInfoResponse_StorageStatus) GetReadable() bool {
if m != nil {
return m.Readable
}
return false
}
func (m *ServerInfoResponse_StorageStatus) GetWriteable() bool {
if m != nil {
return m.Writeable
}
return false
}
func init() { func init() {
proto.RegisterType((*ServerInfoRequest)(nil), "gitaly.ServerInfoRequest") proto.RegisterType((*ServerInfoRequest)(nil), "gitaly.ServerInfoRequest")
proto.RegisterType((*ServerInfoResponse)(nil), "gitaly.ServerInfoResponse") proto.RegisterType((*ServerInfoResponse)(nil), "gitaly.ServerInfoResponse")
proto.RegisterType((*ServerInfoResponse_StorageStatus)(nil), "gitaly.ServerInfoResponse.StorageStatus")
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
...@@ -129,15 +172,22 @@ var _ServerService_serviceDesc = grpc.ServiceDesc{ ...@@ -129,15 +172,22 @@ var _ServerService_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("server.proto", fileDescriptor11) } func init() { proto.RegisterFile("server.proto", fileDescriptor11) }
var fileDescriptor11 = []byte{ var fileDescriptor11 = []byte{
// 160 bytes of a gzipped FileDescriptorProto // 258 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff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, 0x9f, 0xf6, 0x99, 0xf0,
0x01, 0xe0, 0xe8, 0x19, 0xaf, 0xfe, 0xca, 0xa1, 0x6f, 0x9b, 0xa6, 0xff, 0x47, 0xcc, 0x4e, 0x96,
0x03, 0xfd, 0x9d, 0xfb, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcc, 0xe4, 0x68, 0x27, 0xad, 0x01,
0x00, 0x00,
} }
...@@ -21,6 +21,8 @@ type InfoRefsRequest struct { ...@@ -21,6 +21,8 @@ type InfoRefsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// Parameters to use with git -c (key=value pairs) // Parameters to use with git -c (key=value pairs)
GitConfigOptions []string `protobuf:"bytes,2,rep,name=git_config_options,json=gitConfigOptions" json:"git_config_options,omitempty"` GitConfigOptions []string `protobuf:"bytes,2,rep,name=git_config_options,json=gitConfigOptions" json:"git_config_options,omitempty"`
// Git protocol version
GitProtocol string `protobuf:"bytes,3,opt,name=git_protocol,json=gitProtocol" json:"git_protocol,omitempty"`
} }
func (m *InfoRefsRequest) Reset() { *m = InfoRefsRequest{} } func (m *InfoRefsRequest) Reset() { *m = InfoRefsRequest{} }
...@@ -42,6 +44,13 @@ func (m *InfoRefsRequest) GetGitConfigOptions() []string { ...@@ -42,6 +44,13 @@ func (m *InfoRefsRequest) GetGitConfigOptions() []string {
return nil return nil
} }
func (m *InfoRefsRequest) GetGitProtocol() string {
if m != nil {
return m.GitProtocol
}
return ""
}
type InfoRefsResponse struct { type InfoRefsResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
} }
...@@ -65,6 +74,8 @@ type PostUploadPackRequest struct { ...@@ -65,6 +74,8 @@ type PostUploadPackRequest struct {
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// Parameters to use with git -c (key=value pairs) // Parameters to use with git -c (key=value pairs)
GitConfigOptions []string `protobuf:"bytes,3,rep,name=git_config_options,json=gitConfigOptions" json:"git_config_options,omitempty"` GitConfigOptions []string `protobuf:"bytes,3,rep,name=git_config_options,json=gitConfigOptions" json:"git_config_options,omitempty"`
// Git protocol version
GitProtocol string `protobuf:"bytes,4,opt,name=git_protocol,json=gitProtocol" json:"git_protocol,omitempty"`
} }
func (m *PostUploadPackRequest) Reset() { *m = PostUploadPackRequest{} } func (m *PostUploadPackRequest) Reset() { *m = PostUploadPackRequest{} }
...@@ -93,6 +104,13 @@ func (m *PostUploadPackRequest) GetGitConfigOptions() []string { ...@@ -93,6 +104,13 @@ func (m *PostUploadPackRequest) GetGitConfigOptions() []string {
return nil return nil
} }
func (m *PostUploadPackRequest) GetGitProtocol() string {
if m != nil {
return m.GitProtocol
}
return ""
}
type PostUploadPackResponse struct { type PostUploadPackResponse struct {
// Raw data from stdout of 'git upload-pack' // Raw data from stdout of 'git upload-pack'
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
...@@ -120,6 +138,8 @@ type PostReceivePackRequest struct { ...@@ -120,6 +138,8 @@ type PostReceivePackRequest struct {
GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId" json:"gl_id,omitempty"` GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId" json:"gl_id,omitempty"`
GlRepository string `protobuf:"bytes,4,opt,name=gl_repository,json=glRepository" json:"gl_repository,omitempty"` GlRepository string `protobuf:"bytes,4,opt,name=gl_repository,json=glRepository" json:"gl_repository,omitempty"`
GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername" json:"gl_username,omitempty"` GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername" json:"gl_username,omitempty"`
// Git protocol version
GitProtocol string `protobuf:"bytes,6,opt,name=git_protocol,json=gitProtocol" json:"git_protocol,omitempty"`
} }
func (m *PostReceivePackRequest) Reset() { *m = PostReceivePackRequest{} } func (m *PostReceivePackRequest) Reset() { *m = PostReceivePackRequest{} }
...@@ -162,6 +182,13 @@ func (m *PostReceivePackRequest) GetGlUsername() string { ...@@ -162,6 +182,13 @@ func (m *PostReceivePackRequest) GetGlUsername() string {
return "" return ""
} }
func (m *PostReceivePackRequest) GetGitProtocol() string {
if m != nil {
return m.GitProtocol
}
return ""
}
type PostReceivePackResponse struct { type PostReceivePackResponse struct {
// Raw data from stdout of 'git receive-pack' // Raw data from stdout of 'git receive-pack'
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
...@@ -488,30 +515,31 @@ var _SmartHTTPService_serviceDesc = grpc.ServiceDesc{ ...@@ -488,30 +515,31 @@ var _SmartHTTPService_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("smarthttp.proto", fileDescriptor13) } func init() { proto.RegisterFile("smarthttp.proto", fileDescriptor13) }
var fileDescriptor13 = []byte{ var fileDescriptor13 = []byte{
// 386 bytes of a gzipped FileDescriptorProto // 413 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, 0x52, 0xd1, 0x8a, 0xd3, 0x40,
0x10, 0xc5, 0x5d, 0xbe, 0x12, 0x06, 0x14, 0x32, 0x44, 0x69, 0x9a, 0x28, 0xa4, 0x26, 0xa6, 0x17, 0x14, 0x75, 0xda, 0x6e, 0x61, 0x6f, 0xa3, 0x2d, 0x77, 0xd1, 0x0d, 0x01, 0xdd, 0x1a, 0x41, 0xf2,
0x48, 0x08, 0x3e, 0x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est struct { ...@@ -24,6 +24,8 @@ type SSHUploadPackRequest struct {
Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"` Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"`
// Parameters to use with git -c (key=value pairs) // Parameters to use with git -c (key=value pairs)
GitConfigOptions []string `protobuf:"bytes,4,rep,name=git_config_options,json=gitConfigOptions" json:"git_config_options,omitempty"` GitConfigOptions []string `protobuf:"bytes,4,rep,name=git_config_options,json=gitConfigOptions" json:"git_config_options,omitempty"`
// Git protocol version
GitProtocol string `protobuf:"bytes,5,opt,name=git_protocol,json=gitProtocol" json:"git_protocol,omitempty"`
} }
func (m *SSHUploadPackRequest) Reset() { *m = SSHUploadPackRequest{} } func (m *SSHUploadPackRequest) Reset() { *m = SSHUploadPackRequest{} }
...@@ -52,6 +54,13 @@ func (m *SSHUploadPackRequest) GetGitConfigOptions() []string { ...@@ -52,6 +54,13 @@ func (m *SSHUploadPackRequest) GetGitConfigOptions() []string {
return nil return nil
} }
func (m *SSHUploadPackRequest) GetGitProtocol() string {
if m != nil {
return m.GitProtocol
}
return ""
}
type SSHUploadPackResponse struct { type SSHUploadPackResponse struct {
// A chunk of raw data from 'git upload-pack' standard output // A chunk of raw data from 'git upload-pack' standard output
Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
...@@ -98,6 +107,8 @@ type SSHReceivePackRequest struct { ...@@ -98,6 +107,8 @@ type SSHReceivePackRequest struct {
GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId" json:"gl_id,omitempty"` GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId" json:"gl_id,omitempty"`
GlRepository string `protobuf:"bytes,4,opt,name=gl_repository,json=glRepository" json:"gl_repository,omitempty"` GlRepository string `protobuf:"bytes,4,opt,name=gl_repository,json=glRepository" json:"gl_repository,omitempty"`
GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername" json:"gl_username,omitempty"` GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername" json:"gl_username,omitempty"`
// Git protocol version
GitProtocol string `protobuf:"bytes,6,opt,name=git_protocol,json=gitProtocol" json:"git_protocol,omitempty"`
} }
func (m *SSHReceivePackRequest) Reset() { *m = SSHReceivePackRequest{} } func (m *SSHReceivePackRequest) Reset() { *m = SSHReceivePackRequest{} }
...@@ -140,6 +151,13 @@ func (m *SSHReceivePackRequest) GetGlUsername() string { ...@@ -140,6 +151,13 @@ func (m *SSHReceivePackRequest) GetGlUsername() string {
return "" return ""
} }
func (m *SSHReceivePackRequest) GetGitProtocol() string {
if m != nil {
return m.GitProtocol
}
return ""
}
type SSHReceivePackResponse struct { type SSHReceivePackResponse struct {
// A chunk of raw data from 'git receive-pack' standard output // A chunk of raw data from 'git receive-pack' standard output
Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
...@@ -489,32 +507,33 @@ var _SSHService_serviceDesc = grpc.ServiceDesc{ ...@@ -489,32 +507,33 @@ var _SSHService_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("ssh.proto", fileDescriptor14) } func init() { proto.RegisterFile("ssh.proto", fileDescriptor14) }
var fileDescriptor14 = []byte{ var fileDescriptor14 = []byte{
// 423 bytes of a gzipped FileDescriptorProto // 445 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x54, 0xcd, 0x6e, 0xd3, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x53, 0xc1, 0x6e, 0xd3, 0x40,
0x10, 0xc6, 0x8d, 0x13, 0x91, 0x89, 0x8b, 0xa2, 0xa5, 0x2d,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 0x6e, 0x2e, 0x8a, 0x0f, 0xd1, 0x1e, 0xb4, 0x56, 0x10, 0xde, 0x89, 0x9c, 0xe7, 0x0e, 0x5b, 0xc2, 0xbd, 0xee, 0x1e, 0x59,
0x07, 0xf4, 0x8b, 0x7f, 0x9c, 0xb8, 0xd7, 0xe6, 0xe2, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe6, 0xfb, 0x59, 0xff, 0x80, 0x67, 0x8f, 0xf7, 0xc1, 0x1d, 0xda, 0x77, 0x30, 0xdd, 0xb5, 0x8e, 0x9d,
0xa6, 0x53, 0xee, 0x90, 0x04, 0x00, 0x00, 0xf7, 0xe6, 0xe9, 0x6e, 0x6e, 0x16, 0xec, 0x2f, 0x68, 0x93, 0xbf, 0x1f, 0x55, 0x87, 0x79, 0xf1,
0x33, 0x00, 0x00, 0xff, 0xff, 0xf7, 0x9a, 0x40, 0x97, 0xd6, 0x04, 0x00, 0x00,
} }
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: storage.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 DeleteAllRepositoriesRequest struct {
StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName" json:"storage_name,omitempty"`
}
func (m *DeleteAllRepositoriesRequest) Reset() { *m = DeleteAllRepositoriesRequest{} }
func (m *DeleteAllRepositoriesRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteAllRepositoriesRequest) ProtoMessage() {}
func (*DeleteAllRepositoriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor15, []int{0} }
func (m *DeleteAllRepositoriesRequest) GetStorageName() string {
if m != nil {
return m.StorageName
}
return ""
}
type DeleteAllRepositoriesResponse struct {
}
func (m *DeleteAllRepositoriesResponse) Reset() { *m = DeleteAllRepositoriesResponse{} }
func (m *DeleteAllRepositoriesResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteAllRepositoriesResponse) ProtoMessage() {}
func (*DeleteAllRepositoriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor15, []int{1} }
func init() {
proto.RegisterType((*DeleteAllRepositoriesRequest)(nil), "gitaly.DeleteAllRepositoriesRequest")
proto.RegisterType((*DeleteAllRepositoriesResponse)(nil), "gitaly.DeleteAllRepositoriesResponse")
}
// 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 StorageService service
type StorageServiceClient interface {
DeleteAllRepositories(ctx context.Context, in *DeleteAllRepositoriesRequest, opts ...grpc.CallOption) (*DeleteAllRepositoriesResponse, error)
}
type storageServiceClient struct {
cc *grpc.ClientConn
}
func NewStorageServiceClient(cc *grpc.ClientConn) StorageServiceClient {
return &storageServiceClient{cc}
}
func (c *storageServiceClient) DeleteAllRepositories(ctx context.Context, in *DeleteAllRepositoriesRequest, opts ...grpc.CallOption) (*DeleteAllRepositoriesResponse, error) {
out := new(DeleteAllRepositoriesResponse)
err := grpc.Invoke(ctx, "/gitaly.StorageService/DeleteAllRepositories", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for StorageService service
type StorageServiceServer interface {
DeleteAllRepositories(context.Context, *DeleteAllRepositoriesRequest) (*DeleteAllRepositoriesResponse, error)
}
func RegisterStorageServiceServer(s *grpc.Server, srv StorageServiceServer) {
s.RegisterService(&_StorageService_serviceDesc, srv)
}
func _StorageService_DeleteAllRepositories_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteAllRepositoriesRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(StorageServiceServer).DeleteAllRepositories(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitaly.StorageService/DeleteAllRepositories",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(StorageServiceServer).DeleteAllRepositories(ctx, req.(*DeleteAllRepositoriesRequest))
}
return interceptor(ctx, in, info, handler)
}
var _StorageService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.StorageService",
HandlerType: (*StorageServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "DeleteAllRepositories",
Handler: _StorageService_DeleteAllRepositories_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "storage.proto",
}
func init() { proto.RegisterFile("storage.proto", fileDescriptor15) }
var fileDescriptor15 = []byte{
// 159 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2d, 0x2e, 0xc9, 0x2f,
0x4a, 0x4c, 0x4f, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x4b, 0xcf, 0x2c, 0x49, 0xcc,
0xa9, 0x54, 0x72, 0xe4, 0x92, 0x71, 0x49, 0xcd, 0x49, 0x2d, 0x49, 0x75, 0xcc, 0xc9, 0x09, 0x4a,
0x2d, 0xc8, 0x2f, 0xce, 0x2c, 0xc9, 0x2f, 0xca, 0x4c, 0x2d, 0x0e, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d,
0x2e, 0x11, 0x52, 0xe4, 0xe2, 0x81, 0x6a, 0x8c, 0xcf, 0x4b, 0xcc, 0x4d, 0x95, 0x60, 0x54, 0x60,
0xd4, 0xe0, 0x0c, 0xe2, 0x86, 0x8a, 0xf9, 0x25, 0xe6, 0xa6, 0x2a, 0xc9, 0x73, 0xc9, 0xe2, 0x30,
0xa2, 0xb8, 0x20, 0x3f, 0xaf, 0x38, 0xd5, 0xa8, 0x82, 0x8b, 0x2f, 0x18, 0xa2, 0x3e, 0x38, 0xb5,
0xa8, 0x2c, 0x33, 0x39, 0x55, 0x28, 0x8d, 0x4b, 0x14, 0xab, 0x16, 0x21, 0x15, 0x3d, 0x88, 0xbb,
0xf4, 0xf0, 0x39, 0x4a, 0x4a, 0x95, 0x80, 0x2a, 0x88, 0xbd, 0x4a, 0x0c, 0x49, 0x6c, 0x60, 0xcf,
0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x3d, 0x21, 0xd8, 0x88, 0xfd, 0x00, 0x00, 0x00,
}
...@@ -205,12 +205,12 @@ ...@@ -205,12 +205,12 @@
"revisionTime": "2016-11-17T07:43:51Z" "revisionTime": "2016-11-17T07:43:51Z"
}, },
{ {
"checksumSHA1": "B+FjK1qIgELTplSb/hl3ZHGHjl0=", "checksumSHA1": "Fg2NgzFX3C4iQo07Ft1WtaI1+SI=",
"path": "gitlab.com/gitlab-org/gitaly-proto/go", "path": "gitlab.com/gitlab-org/gitaly-proto/go",
"revision": "8680efed3cdd68f3a2d4ccd56fb6684a6761d59e", "revision": "db2cc649cf77ebe5b3b2672672888522060145d6",
"revisionTime": "2018-04-05T16:15:56Z", "revisionTime": "2018-07-20T09:14:50Z",
"version": "v0.96.0", "version": "v0.109.0",
"versionExact": "v0.96.0" "versionExact": "v0.109.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