Documentation ¶
Index ¶
- Variables
- func RegisterBlobServiceServer(s grpc.ServiceRegistrar, srv BlobServiceServer)
- func RegisterCleanupServiceServer(s grpc.ServiceRegistrar, srv CleanupServiceServer)
- func RegisterCommitServiceServer(s grpc.ServiceRegistrar, srv CommitServiceServer)
- func RegisterConflictsServiceServer(s grpc.ServiceRegistrar, srv ConflictsServiceServer)
- func RegisterDiffServiceServer(s grpc.ServiceRegistrar, srv DiffServiceServer)
- func RegisterHookServiceServer(s grpc.ServiceRegistrar, srv HookServiceServer)
- func RegisterInternalGitalyServer(s grpc.ServiceRegistrar, srv InternalGitalyServer)
- func RegisterNamespaceServiceServer(s grpc.ServiceRegistrar, srv NamespaceServiceServer)
- func RegisterObjectPoolServiceServer(s grpc.ServiceRegistrar, srv ObjectPoolServiceServer)
- func RegisterOperationServiceServer(s grpc.ServiceRegistrar, srv OperationServiceServer)
- func RegisterPraefectInfoServiceServer(s grpc.ServiceRegistrar, srv PraefectInfoServiceServer)
- func RegisterRefServiceServer(s grpc.ServiceRegistrar, srv RefServiceServer)
- func RegisterRefTransactionServer(s grpc.ServiceRegistrar, srv RefTransactionServer)
- func RegisterRemoteServiceServer(s grpc.ServiceRegistrar, srv RemoteServiceServer)
- func RegisterRepositoryServiceServer(s grpc.ServiceRegistrar, srv RepositoryServiceServer)
- func RegisterSSHServiceServer(s grpc.ServiceRegistrar, srv SSHServiceServer)
- func RegisterServerServiceServer(s grpc.ServiceRegistrar, srv ServerServiceServer)
- func RegisterSmartHTTPServiceServer(s grpc.ServiceRegistrar, srv SmartHTTPServiceServer)
- type AccessCheckError
- func (*AccessCheckError) Descriptor() ([]byte, []int)deprecated
- func (x *AccessCheckError) GetChanges() []byte
- func (x *AccessCheckError) GetErrorMessage() string
- func (x *AccessCheckError) GetProtocol() string
- func (x *AccessCheckError) GetUserId() string
- func (*AccessCheckError) ProtoMessage()
- func (x *AccessCheckError) ProtoReflect() protoreflect.Message
- func (x *AccessCheckError) Reset()
- func (x *AccessCheckError) String() string
- type AddNamespaceRequest
- func (*AddNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddNamespaceRequest) GetName() string
- func (x *AddNamespaceRequest) GetStorageName() string
- func (*AddNamespaceRequest) ProtoMessage()
- func (x *AddNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *AddNamespaceRequest) Reset()
- func (x *AddNamespaceRequest) String() string
- type AddNamespaceResponse
- type ApplyBfgObjectMapStreamRequest
- func (*ApplyBfgObjectMapStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyBfgObjectMapStreamRequest) GetObjectMap() []byte
- func (x *ApplyBfgObjectMapStreamRequest) GetRepository() *Repository
- func (*ApplyBfgObjectMapStreamRequest) ProtoMessage()
- func (x *ApplyBfgObjectMapStreamRequest) ProtoReflect() protoreflect.Message
- func (x *ApplyBfgObjectMapStreamRequest) Reset()
- func (x *ApplyBfgObjectMapStreamRequest) String() string
- type ApplyBfgObjectMapStreamResponse
- func (*ApplyBfgObjectMapStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyBfgObjectMapStreamResponse) GetEntries() []*ApplyBfgObjectMapStreamResponse_Entry
- func (*ApplyBfgObjectMapStreamResponse) ProtoMessage()
- func (x *ApplyBfgObjectMapStreamResponse) ProtoReflect() protoreflect.Message
- func (x *ApplyBfgObjectMapStreamResponse) Reset()
- func (x *ApplyBfgObjectMapStreamResponse) String() string
- type ApplyBfgObjectMapStreamResponse_Entry
- func (*ApplyBfgObjectMapStreamResponse_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyBfgObjectMapStreamResponse_Entry) GetNewOid() string
- func (x *ApplyBfgObjectMapStreamResponse_Entry) GetOldOid() string
- func (x *ApplyBfgObjectMapStreamResponse_Entry) GetType() ObjectType
- func (*ApplyBfgObjectMapStreamResponse_Entry) ProtoMessage()
- func (x *ApplyBfgObjectMapStreamResponse_Entry) ProtoReflect() protoreflect.Message
- func (x *ApplyBfgObjectMapStreamResponse_Entry) Reset()
- func (x *ApplyBfgObjectMapStreamResponse_Entry) String() string
- type ApplyGitattributesRequest
- func (*ApplyGitattributesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyGitattributesRequest) GetRepository() *Repository
- func (x *ApplyGitattributesRequest) GetRevision() []byte
- func (*ApplyGitattributesRequest) ProtoMessage()
- func (x *ApplyGitattributesRequest) ProtoReflect() protoreflect.Message
- func (x *ApplyGitattributesRequest) Reset()
- func (x *ApplyGitattributesRequest) String() string
- type ApplyGitattributesResponse
- type BackupCustomHooksRequest
- func (*BackupCustomHooksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BackupCustomHooksRequest) GetRepository() *Repository
- func (*BackupCustomHooksRequest) ProtoMessage()
- func (x *BackupCustomHooksRequest) ProtoReflect() protoreflect.Message
- func (x *BackupCustomHooksRequest) Reset()
- func (x *BackupCustomHooksRequest) String() string
- type BackupCustomHooksResponse
- func (*BackupCustomHooksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BackupCustomHooksResponse) GetData() []byte
- func (*BackupCustomHooksResponse) ProtoMessage()
- func (x *BackupCustomHooksResponse) ProtoReflect() protoreflect.Message
- func (x *BackupCustomHooksResponse) Reset()
- func (x *BackupCustomHooksResponse) String() string
- type BackupRepositoryRequest
- func (*BackupRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BackupRepositoryRequest) GetBackupId() string
- func (x *BackupRepositoryRequest) GetRepository() *Repository
- func (x *BackupRepositoryRequest) GetVanityRepository() *Repository
- func (*BackupRepositoryRequest) ProtoMessage()
- func (x *BackupRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *BackupRepositoryRequest) Reset()
- func (x *BackupRepositoryRequest) String() string
- type BackupRepositoryResponse
- type BackupRepositoryResponse_SkippedError
- func (*BackupRepositoryResponse_SkippedError) Descriptor() ([]byte, []int)deprecated
- func (*BackupRepositoryResponse_SkippedError) ProtoMessage()
- func (x *BackupRepositoryResponse_SkippedError) ProtoReflect() protoreflect.Message
- func (x *BackupRepositoryResponse_SkippedError) Reset()
- func (x *BackupRepositoryResponse_SkippedError) String() string
- type BlobServiceClient
- type BlobServiceServer
- type BlobService_GetBlobClient
- type BlobService_GetBlobServer
- type BlobService_GetBlobsClient
- type BlobService_GetBlobsServer
- type BlobService_GetLFSPointersClient
- type BlobService_GetLFSPointersServer
- type BlobService_ListAllBlobsClient
- type BlobService_ListAllBlobsServer
- type BlobService_ListAllLFSPointersClient
- type BlobService_ListAllLFSPointersServer
- type BlobService_ListBlobsClient
- type BlobService_ListBlobsServer
- type BlobService_ListLFSPointersClient
- type BlobService_ListLFSPointersServer
- type Branch
- type CalculateChecksumRequest
- func (*CalculateChecksumRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CalculateChecksumRequest) GetRepository() *Repository
- func (*CalculateChecksumRequest) ProtoMessage()
- func (x *CalculateChecksumRequest) ProtoReflect() protoreflect.Message
- func (x *CalculateChecksumRequest) Reset()
- func (x *CalculateChecksumRequest) String() string
- type CalculateChecksumResponse
- func (*CalculateChecksumResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CalculateChecksumResponse) GetChecksum() string
- func (*CalculateChecksumResponse) ProtoMessage()
- func (x *CalculateChecksumResponse) ProtoReflect() protoreflect.Message
- func (x *CalculateChecksumResponse) Reset()
- func (x *CalculateChecksumResponse) String() string
- type ChangedPaths
- func (*ChangedPaths) Descriptor() ([]byte, []int)deprecated
- func (x *ChangedPaths) GetNewMode() int32
- func (x *ChangedPaths) GetOldMode() int32
- func (x *ChangedPaths) GetPath() []byte
- func (x *ChangedPaths) GetStatus() ChangedPaths_Status
- func (*ChangedPaths) ProtoMessage()
- func (x *ChangedPaths) ProtoReflect() protoreflect.Message
- func (x *ChangedPaths) Reset()
- func (x *ChangedPaths) String() string
- type ChangedPaths_Status
- func (ChangedPaths_Status) Descriptor() protoreflect.EnumDescriptor
- func (x ChangedPaths_Status) Enum() *ChangedPaths_Status
- func (ChangedPaths_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChangedPaths_Status) Number() protoreflect.EnumNumber
- func (x ChangedPaths_Status) String() string
- func (ChangedPaths_Status) Type() protoreflect.EnumType
- type ChangesAlreadyAppliedError
- type CheckObjectsExistRequest
- func (*CheckObjectsExistRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckObjectsExistRequest) GetRepository() *Repository
- func (x *CheckObjectsExistRequest) GetRevisions() [][]byte
- func (*CheckObjectsExistRequest) ProtoMessage()
- func (x *CheckObjectsExistRequest) ProtoReflect() protoreflect.Message
- func (x *CheckObjectsExistRequest) Reset()
- func (x *CheckObjectsExistRequest) String() string
- type CheckObjectsExistResponse
- func (*CheckObjectsExistResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckObjectsExistResponse) GetRevisions() []*CheckObjectsExistResponse_RevisionExistence
- func (*CheckObjectsExistResponse) ProtoMessage()
- func (x *CheckObjectsExistResponse) ProtoReflect() protoreflect.Message
- func (x *CheckObjectsExistResponse) Reset()
- func (x *CheckObjectsExistResponse) String() string
- type CheckObjectsExistResponse_RevisionExistence
- func (*CheckObjectsExistResponse_RevisionExistence) Descriptor() ([]byte, []int)deprecated
- func (x *CheckObjectsExistResponse_RevisionExistence) GetExists() bool
- func (x *CheckObjectsExistResponse_RevisionExistence) GetName() []byte
- func (*CheckObjectsExistResponse_RevisionExistence) ProtoMessage()
- func (x *CheckObjectsExistResponse_RevisionExistence) ProtoReflect() protoreflect.Message
- func (x *CheckObjectsExistResponse_RevisionExistence) Reset()
- func (x *CheckObjectsExistResponse_RevisionExistence) String() string
- type CleanupServiceClient
- type CleanupServiceServer
- type CleanupService_ApplyBfgObjectMapStreamClient
- type CleanupService_ApplyBfgObjectMapStreamServer
- type ClockSyncedRequest
- func (*ClockSyncedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClockSyncedRequest) GetDriftThreshold() *durationpb.Duration
- func (x *ClockSyncedRequest) GetNtpHost() string
- func (*ClockSyncedRequest) ProtoMessage()
- func (x *ClockSyncedRequest) ProtoReflect() protoreflect.Message
- func (x *ClockSyncedRequest) Reset()
- func (x *ClockSyncedRequest) String() string
- type ClockSyncedResponse
- func (*ClockSyncedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClockSyncedResponse) GetSynced() bool
- func (*ClockSyncedResponse) ProtoMessage()
- func (x *ClockSyncedResponse) ProtoReflect() protoreflect.Message
- func (x *ClockSyncedResponse) Reset()
- func (x *ClockSyncedResponse) String() string
- type CommitAuthor
- func (*CommitAuthor) Descriptor() ([]byte, []int)deprecated
- func (x *CommitAuthor) GetDate() *timestamppb.Timestamp
- func (x *CommitAuthor) GetEmail() []byte
- func (x *CommitAuthor) GetName() []byte
- func (x *CommitAuthor) GetTimezone() []byte
- func (*CommitAuthor) ProtoMessage()
- func (x *CommitAuthor) ProtoReflect() protoreflect.Message
- func (x *CommitAuthor) Reset()
- func (x *CommitAuthor) String() string
- type CommitDelta
- func (*CommitDelta) Descriptor() ([]byte, []int)deprecated
- func (x *CommitDelta) GetFromId() string
- func (x *CommitDelta) GetFromPath() []byte
- func (x *CommitDelta) GetNewMode() int32
- func (x *CommitDelta) GetOldMode() int32
- func (x *CommitDelta) GetToId() string
- func (x *CommitDelta) GetToPath() []byte
- func (*CommitDelta) ProtoMessage()
- func (x *CommitDelta) ProtoReflect() protoreflect.Message
- func (x *CommitDelta) Reset()
- func (x *CommitDelta) String() string
- type CommitDeltaRequest
- func (*CommitDeltaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitDeltaRequest) GetLeftCommitId() string
- func (x *CommitDeltaRequest) GetPaths() [][]byte
- func (x *CommitDeltaRequest) GetRepository() *Repository
- func (x *CommitDeltaRequest) GetRightCommitId() string
- func (*CommitDeltaRequest) ProtoMessage()
- func (x *CommitDeltaRequest) ProtoReflect() protoreflect.Message
- func (x *CommitDeltaRequest) Reset()
- func (x *CommitDeltaRequest) String() string
- type CommitDeltaResponse
- func (*CommitDeltaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommitDeltaResponse) GetDeltas() []*CommitDelta
- func (*CommitDeltaResponse) ProtoMessage()
- func (x *CommitDeltaResponse) ProtoReflect() protoreflect.Message
- func (x *CommitDeltaResponse) Reset()
- func (x *CommitDeltaResponse) String() string
- type CommitDiffRequest
- func (*CommitDiffRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitDiffRequest) GetCollapseDiffs() bool
- func (x *CommitDiffRequest) GetCollectAllPaths() bool
- func (x *CommitDiffRequest) GetDiffMode() CommitDiffRequest_DiffMode
- func (x *CommitDiffRequest) GetEnforceLimits() bool
- func (x *CommitDiffRequest) GetLeftCommitId() string
- func (x *CommitDiffRequest) GetMaxBytes() int32
- func (x *CommitDiffRequest) GetMaxFiles() int32
- func (x *CommitDiffRequest) GetMaxLines() int32
- func (x *CommitDiffRequest) GetMaxPatchBytes() int32
- func (x *CommitDiffRequest) GetMaxPatchBytesForFileExtension() map[string]int32
- func (x *CommitDiffRequest) GetPaths() [][]byte
- func (x *CommitDiffRequest) GetRepository() *Repository
- func (x *CommitDiffRequest) GetRightCommitId() string
- func (x *CommitDiffRequest) GetSafeMaxBytes() int32
- func (x *CommitDiffRequest) GetSafeMaxFiles() int32
- func (x *CommitDiffRequest) GetSafeMaxLines() int32
- func (x *CommitDiffRequest) GetWhitespaceChanges() CommitDiffRequest_WhitespaceChanges
- func (*CommitDiffRequest) ProtoMessage()
- func (x *CommitDiffRequest) ProtoReflect() protoreflect.Message
- func (x *CommitDiffRequest) Reset()
- func (x *CommitDiffRequest) String() string
- type CommitDiffRequest_DiffMode
- func (CommitDiffRequest_DiffMode) Descriptor() protoreflect.EnumDescriptor
- func (x CommitDiffRequest_DiffMode) Enum() *CommitDiffRequest_DiffMode
- func (CommitDiffRequest_DiffMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommitDiffRequest_DiffMode) Number() protoreflect.EnumNumber
- func (x CommitDiffRequest_DiffMode) String() string
- func (CommitDiffRequest_DiffMode) Type() protoreflect.EnumType
- type CommitDiffRequest_WhitespaceChanges
- func (CommitDiffRequest_WhitespaceChanges) Descriptor() protoreflect.EnumDescriptor
- func (x CommitDiffRequest_WhitespaceChanges) Enum() *CommitDiffRequest_WhitespaceChanges
- func (CommitDiffRequest_WhitespaceChanges) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommitDiffRequest_WhitespaceChanges) Number() protoreflect.EnumNumber
- func (x CommitDiffRequest_WhitespaceChanges) String() string
- func (CommitDiffRequest_WhitespaceChanges) Type() protoreflect.EnumType
- type CommitDiffResponse
- func (*CommitDiffResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommitDiffResponse) GetBinary() bool
- func (x *CommitDiffResponse) GetCollapsed() bool
- func (x *CommitDiffResponse) GetEndOfPatch() bool
- func (x *CommitDiffResponse) GetFromId() string
- func (x *CommitDiffResponse) GetFromPath() []byte
- func (x *CommitDiffResponse) GetNewMode() int32
- func (x *CommitDiffResponse) GetOldMode() int32
- func (x *CommitDiffResponse) GetOverflowMarker() bool
- func (x *CommitDiffResponse) GetRawPatchData() []byte
- func (x *CommitDiffResponse) GetToId() string
- func (x *CommitDiffResponse) GetToPath() []byte
- func (x *CommitDiffResponse) GetTooLarge() bool
- func (*CommitDiffResponse) ProtoMessage()
- func (x *CommitDiffResponse) ProtoReflect() protoreflect.Message
- func (x *CommitDiffResponse) Reset()
- func (x *CommitDiffResponse) String() string
- type CommitIsAncestorRequest
- func (*CommitIsAncestorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitIsAncestorRequest) GetAncestorId() string
- func (x *CommitIsAncestorRequest) GetChildId() string
- func (x *CommitIsAncestorRequest) GetRepository() *Repository
- func (*CommitIsAncestorRequest) ProtoMessage()
- func (x *CommitIsAncestorRequest) ProtoReflect() protoreflect.Message
- func (x *CommitIsAncestorRequest) Reset()
- func (x *CommitIsAncestorRequest) String() string
- type CommitIsAncestorResponse
- func (*CommitIsAncestorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommitIsAncestorResponse) GetValue() bool
- func (*CommitIsAncestorResponse) ProtoMessage()
- func (x *CommitIsAncestorResponse) ProtoReflect() protoreflect.Message
- func (x *CommitIsAncestorResponse) Reset()
- func (x *CommitIsAncestorResponse) String() string
- type CommitLanguagesRequest
- func (*CommitLanguagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitLanguagesRequest) GetRepository() *Repository
- func (x *CommitLanguagesRequest) GetRevision() []byte
- func (*CommitLanguagesRequest) ProtoMessage()
- func (x *CommitLanguagesRequest) ProtoReflect() protoreflect.Message
- func (x *CommitLanguagesRequest) Reset()
- func (x *CommitLanguagesRequest) String() string
- type CommitLanguagesResponse
- func (*CommitLanguagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommitLanguagesResponse) GetLanguages() []*CommitLanguagesResponse_Language
- func (*CommitLanguagesResponse) ProtoMessage()
- func (x *CommitLanguagesResponse) ProtoReflect() protoreflect.Message
- func (x *CommitLanguagesResponse) Reset()
- func (x *CommitLanguagesResponse) String() string
- type CommitLanguagesResponse_Language
- func (*CommitLanguagesResponse_Language) Descriptor() ([]byte, []int)deprecated
- func (x *CommitLanguagesResponse_Language) GetBytes() uint64
- func (x *CommitLanguagesResponse_Language) GetColor() string
- func (x *CommitLanguagesResponse_Language) GetName() string
- func (x *CommitLanguagesResponse_Language) GetShare() float32
- func (*CommitLanguagesResponse_Language) ProtoMessage()
- func (x *CommitLanguagesResponse_Language) ProtoReflect() protoreflect.Message
- func (x *CommitLanguagesResponse_Language) Reset()
- func (x *CommitLanguagesResponse_Language) String() string
- type CommitServiceClient
- type CommitServiceServer
- type CommitService_CheckObjectsExistClient
- type CommitService_CheckObjectsExistServer
- type CommitService_CommitsByMessageClient
- type CommitService_CommitsByMessageServer
- type CommitService_FilterShasWithSignaturesClient
- type CommitService_FilterShasWithSignaturesServer
- type CommitService_FindAllCommitsClient
- type CommitService_FindAllCommitsServer
- type CommitService_FindCommitsClient
- type CommitService_FindCommitsServer
- type CommitService_GetCommitMessagesClient
- type CommitService_GetCommitMessagesServer
- type CommitService_GetCommitSignaturesClient
- type CommitService_GetCommitSignaturesServer
- type CommitService_GetTreeEntriesClient
- type CommitService_GetTreeEntriesServer
- type CommitService_ListAllCommitsClient
- type CommitService_ListAllCommitsServer
- type CommitService_ListCommitsByOidClient
- type CommitService_ListCommitsByOidServer
- type CommitService_ListCommitsByRefNameClient
- type CommitService_ListCommitsByRefNameServer
- type CommitService_ListCommitsClient
- type CommitService_ListCommitsServer
- type CommitService_ListFilesClient
- type CommitService_ListFilesServer
- type CommitService_ListLastCommitsForTreeClient
- type CommitService_ListLastCommitsForTreeServer
- type CommitService_RawBlameClient
- type CommitService_RawBlameServer
- type CommitService_TreeEntryClient
- type CommitService_TreeEntryServer
- type CommitStatInfo
- func (*CommitStatInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CommitStatInfo) GetAdditions() int32
- func (x *CommitStatInfo) GetChangedFiles() int32
- func (x *CommitStatInfo) GetDeletions() int32
- func (*CommitStatInfo) ProtoMessage()
- func (x *CommitStatInfo) ProtoReflect() protoreflect.Message
- func (x *CommitStatInfo) Reset()
- func (x *CommitStatInfo) String() string
- type CommitStatsRequest
- func (*CommitStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitStatsRequest) GetRepository() *Repository
- func (x *CommitStatsRequest) GetRevision() []byte
- func (*CommitStatsRequest) ProtoMessage()
- func (x *CommitStatsRequest) ProtoReflect() protoreflect.Message
- func (x *CommitStatsRequest) Reset()
- func (x *CommitStatsRequest) String() string
- type CommitStatsResponse
- func (*CommitStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommitStatsResponse) GetAdditions() int32
- func (x *CommitStatsResponse) GetDeletions() int32
- func (x *CommitStatsResponse) GetOid() string
- func (*CommitStatsResponse) ProtoMessage()
- func (x *CommitStatsResponse) ProtoReflect() protoreflect.Message
- func (x *CommitStatsResponse) Reset()
- func (x *CommitStatsResponse) String() string
- type CommitTrailer
- func (*CommitTrailer) Descriptor() ([]byte, []int)deprecated
- func (x *CommitTrailer) GetKey() []byte
- func (x *CommitTrailer) GetValue() []byte
- func (*CommitTrailer) ProtoMessage()
- func (x *CommitTrailer) ProtoReflect() protoreflect.Message
- func (x *CommitTrailer) Reset()
- func (x *CommitTrailer) String() string
- type CommitsByMessageRequest
- func (*CommitsByMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitsByMessageRequest) GetGlobalOptions() *GlobalOptions
- func (x *CommitsByMessageRequest) GetLimit() int32
- func (x *CommitsByMessageRequest) GetOffset() int32
- func (x *CommitsByMessageRequest) GetPath() []byte
- func (x *CommitsByMessageRequest) GetQuery() string
- func (x *CommitsByMessageRequest) GetRepository() *Repository
- func (x *CommitsByMessageRequest) GetRevision() []byte
- func (*CommitsByMessageRequest) ProtoMessage()
- func (x *CommitsByMessageRequest) ProtoReflect() protoreflect.Message
- func (x *CommitsByMessageRequest) Reset()
- func (x *CommitsByMessageRequest) String() string
- type CommitsByMessageResponse
- func (*CommitsByMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommitsByMessageResponse) GetCommits() []*GitCommit
- func (*CommitsByMessageResponse) ProtoMessage()
- func (x *CommitsByMessageResponse) ProtoReflect() protoreflect.Message
- func (x *CommitsByMessageResponse) Reset()
- func (x *CommitsByMessageResponse) String() string
- type ConflictFile
- func (*ConflictFile) Descriptor() ([]byte, []int)deprecated
- func (m *ConflictFile) GetConflictFilePayload() isConflictFile_ConflictFilePayload
- func (x *ConflictFile) GetContent() []byte
- func (x *ConflictFile) GetHeader() *ConflictFileHeader
- func (*ConflictFile) ProtoMessage()
- func (x *ConflictFile) ProtoReflect() protoreflect.Message
- func (x *ConflictFile) Reset()
- func (x *ConflictFile) String() string
- type ConflictFileHeader
- func (*ConflictFileHeader) Descriptor() ([]byte, []int)deprecated
- func (x *ConflictFileHeader) GetAncestorPath() []byte
- func (x *ConflictFileHeader) GetCommitOid() string
- func (x *ConflictFileHeader) GetOurMode() int32
- func (x *ConflictFileHeader) GetOurPath() []byte
- func (x *ConflictFileHeader) GetTheirPath() []byte
- func (*ConflictFileHeader) ProtoMessage()
- func (x *ConflictFileHeader) ProtoReflect() protoreflect.Message
- func (x *ConflictFileHeader) Reset()
- func (x *ConflictFileHeader) String() string
- type ConflictFile_Content
- type ConflictFile_Header
- type ConflictsServiceClient
- type ConflictsServiceServer
- type ConflictsService_ListConflictFilesClient
- type ConflictsService_ListConflictFilesServer
- type ConflictsService_ResolveConflictsClient
- type ConflictsService_ResolveConflictsServer
- type CountCommitsRequest
- func (*CountCommitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CountCommitsRequest) GetAfter() *timestamppb.Timestamp
- func (x *CountCommitsRequest) GetAll() bool
- func (x *CountCommitsRequest) GetBefore() *timestamppb.Timestamp
- func (x *CountCommitsRequest) GetFirstParent() bool
- func (x *CountCommitsRequest) GetGlobalOptions() *GlobalOptions
- func (x *CountCommitsRequest) GetMaxCount() int32
- func (x *CountCommitsRequest) GetPath() []byte
- func (x *CountCommitsRequest) GetRepository() *Repository
- func (x *CountCommitsRequest) GetRevision() []byte
- func (*CountCommitsRequest) ProtoMessage()
- func (x *CountCommitsRequest) ProtoReflect() protoreflect.Message
- func (x *CountCommitsRequest) Reset()
- func (x *CountCommitsRequest) String() string
- type CountCommitsResponse
- func (*CountCommitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountCommitsResponse) GetCount() int32
- func (*CountCommitsResponse) ProtoMessage()
- func (x *CountCommitsResponse) ProtoReflect() protoreflect.Message
- func (x *CountCommitsResponse) Reset()
- func (x *CountCommitsResponse) String() string
- type CountDivergingCommitsRequest
- func (*CountDivergingCommitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CountDivergingCommitsRequest) GetFrom() []byte
- func (x *CountDivergingCommitsRequest) GetMaxCount() int32
- func (x *CountDivergingCommitsRequest) GetRepository() *Repository
- func (x *CountDivergingCommitsRequest) GetTo() []byte
- func (*CountDivergingCommitsRequest) ProtoMessage()
- func (x *CountDivergingCommitsRequest) ProtoReflect() protoreflect.Message
- func (x *CountDivergingCommitsRequest) Reset()
- func (x *CountDivergingCommitsRequest) String() string
- type CountDivergingCommitsResponse
- func (*CountDivergingCommitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountDivergingCommitsResponse) GetLeftCount() int32
- func (x *CountDivergingCommitsResponse) GetRightCount() int32
- func (*CountDivergingCommitsResponse) ProtoMessage()
- func (x *CountDivergingCommitsResponse) ProtoReflect() protoreflect.Message
- func (x *CountDivergingCommitsResponse) Reset()
- func (x *CountDivergingCommitsResponse) String() string
- type CreateBranchRequest
- func (*CreateBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBranchRequest) GetName() []byte
- func (x *CreateBranchRequest) GetRepository() *Repository
- func (x *CreateBranchRequest) GetStartPoint() []byte
- func (*CreateBranchRequest) ProtoMessage()
- func (x *CreateBranchRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBranchRequest) Reset()
- func (x *CreateBranchRequest) String() string
- type CreateBranchResponse
- func (*CreateBranchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBranchResponse) GetBranch() *Branch
- func (x *CreateBranchResponse) GetStatus() CreateBranchResponse_Status
- func (*CreateBranchResponse) ProtoMessage()
- func (x *CreateBranchResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBranchResponse) Reset()
- func (x *CreateBranchResponse) String() string
- type CreateBranchResponse_Status
- func (CreateBranchResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x CreateBranchResponse_Status) Enum() *CreateBranchResponse_Status
- func (CreateBranchResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x CreateBranchResponse_Status) Number() protoreflect.EnumNumber
- func (x CreateBranchResponse_Status) String() string
- func (CreateBranchResponse_Status) Type() protoreflect.EnumType
- type CreateBundleFromRefListRequest
- func (*CreateBundleFromRefListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBundleFromRefListRequest) GetPatterns() [][]byte
- func (x *CreateBundleFromRefListRequest) GetRepository() *Repository
- func (*CreateBundleFromRefListRequest) ProtoMessage()
- func (x *CreateBundleFromRefListRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBundleFromRefListRequest) Reset()
- func (x *CreateBundleFromRefListRequest) String() string
- type CreateBundleFromRefListResponse
- func (*CreateBundleFromRefListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBundleFromRefListResponse) GetData() []byte
- func (*CreateBundleFromRefListResponse) ProtoMessage()
- func (x *CreateBundleFromRefListResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBundleFromRefListResponse) Reset()
- func (x *CreateBundleFromRefListResponse) String() string
- type CreateBundleRequest
- func (*CreateBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBundleRequest) GetRepository() *Repository
- func (*CreateBundleRequest) ProtoMessage()
- func (x *CreateBundleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBundleRequest) Reset()
- func (x *CreateBundleRequest) String() string
- type CreateBundleResponse
- func (*CreateBundleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBundleResponse) GetData() []byte
- func (*CreateBundleResponse) ProtoMessage()
- func (x *CreateBundleResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBundleResponse) Reset()
- func (x *CreateBundleResponse) String() string
- type CreateForkRequest
- func (*CreateForkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateForkRequest) GetRepository() *Repository
- func (x *CreateForkRequest) GetRevision() []byte
- func (x *CreateForkRequest) GetSourceRepository() *Repository
- func (*CreateForkRequest) ProtoMessage()
- func (x *CreateForkRequest) ProtoReflect() protoreflect.Message
- func (x *CreateForkRequest) Reset()
- func (x *CreateForkRequest) String() string
- type CreateForkResponse
- type CreateObjectPoolRequest
- func (*CreateObjectPoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateObjectPoolRequest) GetObjectPool() *ObjectPool
- func (x *CreateObjectPoolRequest) GetOrigin() *Repository
- func (*CreateObjectPoolRequest) ProtoMessage()
- func (x *CreateObjectPoolRequest) ProtoReflect() protoreflect.Message
- func (x *CreateObjectPoolRequest) Reset()
- func (x *CreateObjectPoolRequest) String() string
- type CreateObjectPoolResponse
- type CreateRepositoryFromBundleRequest
- func (*CreateRepositoryFromBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepositoryFromBundleRequest) GetData() []byte
- func (x *CreateRepositoryFromBundleRequest) GetRepository() *Repository
- func (*CreateRepositoryFromBundleRequest) ProtoMessage()
- func (x *CreateRepositoryFromBundleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryFromBundleRequest) Reset()
- func (x *CreateRepositoryFromBundleRequest) String() string
- type CreateRepositoryFromBundleResponse
- func (*CreateRepositoryFromBundleResponse) Descriptor() ([]byte, []int)deprecated
- func (*CreateRepositoryFromBundleResponse) ProtoMessage()
- func (x *CreateRepositoryFromBundleResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryFromBundleResponse) Reset()
- func (x *CreateRepositoryFromBundleResponse) String() string
- type CreateRepositoryFromSnapshotRequest
- func (*CreateRepositoryFromSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepositoryFromSnapshotRequest) GetHttpAuth() string
- func (x *CreateRepositoryFromSnapshotRequest) GetHttpUrl() string
- func (x *CreateRepositoryFromSnapshotRequest) GetRepository() *Repository
- func (x *CreateRepositoryFromSnapshotRequest) GetResolvedAddress() string
- func (*CreateRepositoryFromSnapshotRequest) ProtoMessage()
- func (x *CreateRepositoryFromSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryFromSnapshotRequest) Reset()
- func (x *CreateRepositoryFromSnapshotRequest) String() string
- type CreateRepositoryFromSnapshotResponse
- func (*CreateRepositoryFromSnapshotResponse) Descriptor() ([]byte, []int)deprecated
- func (*CreateRepositoryFromSnapshotResponse) ProtoMessage()
- func (x *CreateRepositoryFromSnapshotResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryFromSnapshotResponse) Reset()
- func (x *CreateRepositoryFromSnapshotResponse) String() string
- type CreateRepositoryFromURLRequest
- func (*CreateRepositoryFromURLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepositoryFromURLRequest) GetHttpAuthorizationHeader() string
- func (x *CreateRepositoryFromURLRequest) GetMirror() bool
- func (x *CreateRepositoryFromURLRequest) GetRepository() *Repository
- func (x *CreateRepositoryFromURLRequest) GetResolvedAddress() string
- func (x *CreateRepositoryFromURLRequest) GetUrl() string
- func (*CreateRepositoryFromURLRequest) ProtoMessage()
- func (x *CreateRepositoryFromURLRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryFromURLRequest) Reset()
- func (x *CreateRepositoryFromURLRequest) String() string
- type CreateRepositoryFromURLResponse
- func (*CreateRepositoryFromURLResponse) Descriptor() ([]byte, []int)deprecated
- func (*CreateRepositoryFromURLResponse) ProtoMessage()
- func (x *CreateRepositoryFromURLResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryFromURLResponse) Reset()
- func (x *CreateRepositoryFromURLResponse) String() string
- type CreateRepositoryRequest
- func (*CreateRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepositoryRequest) GetDefaultBranch() []byte
- func (x *CreateRepositoryRequest) GetObjectFormat() ObjectFormat
- func (x *CreateRepositoryRequest) GetRepository() *Repository
- func (*CreateRepositoryRequest) ProtoMessage()
- func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryRequest) Reset()
- func (x *CreateRepositoryRequest) String() string
- type CreateRepositoryResponse
- type CustomHookError
- func (*CustomHookError) Descriptor() ([]byte, []int)deprecated
- func (x *CustomHookError) GetHookType() CustomHookError_HookType
- func (x *CustomHookError) GetStderr() []byte
- func (x *CustomHookError) GetStdout() []byte
- func (*CustomHookError) ProtoMessage()
- func (x *CustomHookError) ProtoReflect() protoreflect.Message
- func (x *CustomHookError) Reset()
- func (x *CustomHookError) String() string
- type CustomHookError_HookType
- func (CustomHookError_HookType) Descriptor() protoreflect.EnumDescriptor
- func (x CustomHookError_HookType) Enum() *CustomHookError_HookType
- func (CustomHookError_HookType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CustomHookError_HookType) Number() protoreflect.EnumNumber
- func (x CustomHookError_HookType) String() string
- func (CustomHookError_HookType) Type() protoreflect.EnumType
- type DatalossCheckRequestdeprecated
- func (*DatalossCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DatalossCheckRequest) GetIncludePartiallyReplicated() bool
- func (x *DatalossCheckRequest) GetVirtualStorage() string
- func (*DatalossCheckRequest) ProtoMessage()
- func (x *DatalossCheckRequest) ProtoReflect() protoreflect.Message
- func (x *DatalossCheckRequest) Reset()
- func (x *DatalossCheckRequest) String() string
- type DatalossCheckResponsedeprecated
- func (*DatalossCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DatalossCheckResponse) GetRepositories() []*DatalossCheckResponse_Repository
- func (*DatalossCheckResponse) ProtoMessage()
- func (x *DatalossCheckResponse) ProtoReflect() protoreflect.Message
- func (x *DatalossCheckResponse) Reset()
- func (x *DatalossCheckResponse) String() string
- type DatalossCheckResponse_Repository
- func (*DatalossCheckResponse_Repository) Descriptor() ([]byte, []int)deprecated
- func (x *DatalossCheckResponse_Repository) GetPrimary() string
- func (x *DatalossCheckResponse_Repository) GetRelativePath() string
- func (x *DatalossCheckResponse_Repository) GetStorages() []*DatalossCheckResponse_Repository_Storage
- func (x *DatalossCheckResponse_Repository) GetUnavailable() bool
- func (*DatalossCheckResponse_Repository) ProtoMessage()
- func (x *DatalossCheckResponse_Repository) ProtoReflect() protoreflect.Message
- func (x *DatalossCheckResponse_Repository) Reset()
- func (x *DatalossCheckResponse_Repository) String() string
- type DatalossCheckResponse_Repository_Storage
- func (*DatalossCheckResponse_Repository_Storage) Descriptor() ([]byte, []int)deprecated
- func (x *DatalossCheckResponse_Repository_Storage) GetAssigned() bool
- func (x *DatalossCheckResponse_Repository_Storage) GetBehindBy() int64
- func (x *DatalossCheckResponse_Repository_Storage) GetHealthy() bool
- func (x *DatalossCheckResponse_Repository_Storage) GetName() string
- func (x *DatalossCheckResponse_Repository_Storage) GetValidPrimary() bool
- func (*DatalossCheckResponse_Repository_Storage) ProtoMessage()
- func (x *DatalossCheckResponse_Repository_Storage) ProtoReflect() protoreflect.Message
- func (x *DatalossCheckResponse_Repository_Storage) Reset()
- func (x *DatalossCheckResponse_Repository_Storage) String() string
- type DatalossRequest
- func (*DatalossRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DatalossRequest) GetIncludePartiallyReplicated() bool
- func (x *DatalossRequest) GetVirtualStorage() string
- func (*DatalossRequest) ProtoMessage()
- func (x *DatalossRequest) ProtoReflect() protoreflect.Message
- func (x *DatalossRequest) Reset()
- func (x *DatalossRequest) String() string
- type DatalossResponse
- func (*DatalossResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DatalossResponse) GetRepositories() []*DatalossResponse_Repository
- func (*DatalossResponse) ProtoMessage()
- func (x *DatalossResponse) ProtoReflect() protoreflect.Message
- func (x *DatalossResponse) Reset()
- func (x *DatalossResponse) String() string
- type DatalossResponse_Repository
- func (*DatalossResponse_Repository) Descriptor() ([]byte, []int)deprecated
- func (x *DatalossResponse_Repository) GetPrimary() string
- func (x *DatalossResponse_Repository) GetRelativePath() string
- func (x *DatalossResponse_Repository) GetStorages() []*DatalossResponse_Repository_Storage
- func (x *DatalossResponse_Repository) GetUnavailable() bool
- func (*DatalossResponse_Repository) ProtoMessage()
- func (x *DatalossResponse_Repository) ProtoReflect() protoreflect.Message
- func (x *DatalossResponse_Repository) Reset()
- func (x *DatalossResponse_Repository) String() string
- type DatalossResponse_Repository_Storage
- func (*DatalossResponse_Repository_Storage) Descriptor() ([]byte, []int)deprecated
- func (x *DatalossResponse_Repository_Storage) GetAssigned() bool
- func (x *DatalossResponse_Repository_Storage) GetBehindBy() int64
- func (x *DatalossResponse_Repository_Storage) GetHealthy() bool
- func (x *DatalossResponse_Repository_Storage) GetName() string
- func (x *DatalossResponse_Repository_Storage) GetValidPrimary() bool
- func (*DatalossResponse_Repository_Storage) ProtoMessage()
- func (x *DatalossResponse_Repository_Storage) ProtoReflect() protoreflect.Message
- func (x *DatalossResponse_Repository_Storage) Reset()
- func (x *DatalossResponse_Repository_Storage) String() string
- type DeleteBranchRequest
- func (*DeleteBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBranchRequest) GetName() []byte
- func (x *DeleteBranchRequest) GetRepository() *Repository
- func (*DeleteBranchRequest) ProtoMessage()
- func (x *DeleteBranchRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBranchRequest) Reset()
- func (x *DeleteBranchRequest) String() string
- type DeleteBranchResponse
- type DeleteObjectPoolRequest
- func (*DeleteObjectPoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteObjectPoolRequest) GetObjectPool() *ObjectPool
- func (*DeleteObjectPoolRequest) ProtoMessage()
- func (x *DeleteObjectPoolRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteObjectPoolRequest) Reset()
- func (x *DeleteObjectPoolRequest) String() string
- type DeleteObjectPoolResponse
- type DeleteRefsError
- func (*DeleteRefsError) Descriptor() ([]byte, []int)deprecated
- func (m *DeleteRefsError) GetError() isDeleteRefsError_Error
- func (x *DeleteRefsError) GetInvalidFormat() *InvalidRefFormatError
- func (x *DeleteRefsError) GetReferencesLocked() *ReferencesLockedError
- func (*DeleteRefsError) ProtoMessage()
- func (x *DeleteRefsError) ProtoReflect() protoreflect.Message
- func (x *DeleteRefsError) Reset()
- func (x *DeleteRefsError) String() string
- type DeleteRefsError_InvalidFormat
- type DeleteRefsError_ReferencesLocked
- type DeleteRefsRequest
- func (*DeleteRefsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRefsRequest) GetExceptWithPrefix() [][]byte
- func (x *DeleteRefsRequest) GetRefs() [][]byte
- func (x *DeleteRefsRequest) GetRepository() *Repository
- func (*DeleteRefsRequest) ProtoMessage()
- func (x *DeleteRefsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRefsRequest) Reset()
- func (x *DeleteRefsRequest) String() string
- type DeleteRefsResponse
- func (*DeleteRefsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRefsResponse) GetGitError() string
- func (*DeleteRefsResponse) ProtoMessage()
- func (x *DeleteRefsResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteRefsResponse) Reset()
- func (x *DeleteRefsResponse) String() string
- type DiffServiceClient
- type DiffServiceServer
- type DiffService_CommitDeltaClient
- type DiffService_CommitDeltaServer
- type DiffService_CommitDiffClient
- type DiffService_CommitDiffServer
- type DiffService_DiffStatsClient
- type DiffService_DiffStatsServer
- type DiffService_FindChangedPathsClient
- type DiffService_FindChangedPathsServer
- type DiffService_RawDiffClient
- type DiffService_RawDiffServer
- type DiffService_RawPatchClient
- type DiffService_RawPatchServer
- type DiffStats
- func (*DiffStats) Descriptor() ([]byte, []int)deprecated
- func (x *DiffStats) GetAdditions() int32
- func (x *DiffStats) GetDeletions() int32
- func (x *DiffStats) GetOldPath() []byte
- func (x *DiffStats) GetPath() []byte
- func (*DiffStats) ProtoMessage()
- func (x *DiffStats) ProtoReflect() protoreflect.Message
- func (x *DiffStats) Reset()
- func (x *DiffStats) String() string
- type DiffStatsRequest
- func (*DiffStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DiffStatsRequest) GetLeftCommitId() string
- func (x *DiffStatsRequest) GetRepository() *Repository
- func (x *DiffStatsRequest) GetRightCommitId() string
- func (*DiffStatsRequest) ProtoMessage()
- func (x *DiffStatsRequest) ProtoReflect() protoreflect.Message
- func (x *DiffStatsRequest) Reset()
- func (x *DiffStatsRequest) String() string
- type DiffStatsResponse
- func (*DiffStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DiffStatsResponse) GetStats() []*DiffStats
- func (*DiffStatsResponse) ProtoMessage()
- func (x *DiffStatsResponse) ProtoReflect() protoreflect.Message
- func (x *DiffStatsResponse) Reset()
- func (x *DiffStatsResponse) String() string
- type DisconnectGitAlternatesRequest
- func (*DisconnectGitAlternatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisconnectGitAlternatesRequest) GetRepository() *Repository
- func (*DisconnectGitAlternatesRequest) ProtoMessage()
- func (x *DisconnectGitAlternatesRequest) ProtoReflect() protoreflect.Message
- func (x *DisconnectGitAlternatesRequest) Reset()
- func (x *DisconnectGitAlternatesRequest) String() string
- type DisconnectGitAlternatesResponse
- func (*DisconnectGitAlternatesResponse) Descriptor() ([]byte, []int)deprecated
- func (*DisconnectGitAlternatesResponse) ProtoMessage()
- func (x *DisconnectGitAlternatesResponse) ProtoReflect() protoreflect.Message
- func (x *DisconnectGitAlternatesResponse) Reset()
- func (x *DisconnectGitAlternatesResponse) String() string
- type DiskStatisticsRequest
- type DiskStatisticsResponse
- func (*DiskStatisticsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DiskStatisticsResponse) GetStorageStatuses() []*DiskStatisticsResponse_StorageStatus
- func (*DiskStatisticsResponse) ProtoMessage()
- func (x *DiskStatisticsResponse) ProtoReflect() protoreflect.Message
- func (x *DiskStatisticsResponse) Reset()
- func (x *DiskStatisticsResponse) String() string
- type DiskStatisticsResponse_StorageStatus
- func (*DiskStatisticsResponse_StorageStatus) Descriptor() ([]byte, []int)deprecated
- func (x *DiskStatisticsResponse_StorageStatus) GetAvailable() int64
- func (x *DiskStatisticsResponse_StorageStatus) GetStorageName() string
- func (x *DiskStatisticsResponse_StorageStatus) GetUsed() int64
- func (*DiskStatisticsResponse_StorageStatus) ProtoMessage()
- func (x *DiskStatisticsResponse_StorageStatus) ProtoReflect() protoreflect.Message
- func (x *DiskStatisticsResponse_StorageStatus) Reset()
- func (x *DiskStatisticsResponse_StorageStatus) String() string
- type ExitStatus
- type ExtractCommitSignatureRequest
- func (*ExtractCommitSignatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExtractCommitSignatureRequest) GetCommitId() string
- func (x *ExtractCommitSignatureRequest) GetRepository() *Repository
- func (*ExtractCommitSignatureRequest) ProtoMessage()
- func (x *ExtractCommitSignatureRequest) ProtoReflect() protoreflect.Message
- func (x *ExtractCommitSignatureRequest) Reset()
- func (x *ExtractCommitSignatureRequest) String() string
- type ExtractCommitSignatureResponse
- func (*ExtractCommitSignatureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExtractCommitSignatureResponse) GetSignature() []byte
- func (x *ExtractCommitSignatureResponse) GetSignedText() []byte
- func (*ExtractCommitSignatureResponse) ProtoMessage()
- func (x *ExtractCommitSignatureResponse) ProtoReflect() protoreflect.Message
- func (x *ExtractCommitSignatureResponse) Reset()
- func (x *ExtractCommitSignatureResponse) String() string
- type FetchBundleRequest
- func (*FetchBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchBundleRequest) GetData() []byte
- func (x *FetchBundleRequest) GetRepository() *Repository
- func (x *FetchBundleRequest) GetUpdateHead() bool
- func (*FetchBundleRequest) ProtoMessage()
- func (x *FetchBundleRequest) ProtoReflect() protoreflect.Message
- func (x *FetchBundleRequest) Reset()
- func (x *FetchBundleRequest) String() string
- type FetchBundleResponse
- type FetchIntoObjectPoolRequest
- func (*FetchIntoObjectPoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchIntoObjectPoolRequest) GetObjectPool() *ObjectPool
- func (x *FetchIntoObjectPoolRequest) GetOrigin() *Repository
- func (*FetchIntoObjectPoolRequest) ProtoMessage()
- func (x *FetchIntoObjectPoolRequest) ProtoReflect() protoreflect.Message
- func (x *FetchIntoObjectPoolRequest) Reset()
- func (x *FetchIntoObjectPoolRequest) String() string
- type FetchIntoObjectPoolResponse
- type FetchRemoteRequest
- func (*FetchRemoteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchRemoteRequest) GetCheckTagsChanged() bool
- func (x *FetchRemoteRequest) GetForce() bool
- func (x *FetchRemoteRequest) GetKnownHosts() string
- func (x *FetchRemoteRequest) GetNoPrune() bool
- func (x *FetchRemoteRequest) GetNoTags() bool
- func (x *FetchRemoteRequest) GetRemoteParams() *Remote
- func (x *FetchRemoteRequest) GetRepository() *Repository
- func (x *FetchRemoteRequest) GetSshKey() string
- func (x *FetchRemoteRequest) GetTimeout() int32
- func (*FetchRemoteRequest) ProtoMessage()
- func (x *FetchRemoteRequest) ProtoReflect() protoreflect.Message
- func (x *FetchRemoteRequest) Reset()
- func (x *FetchRemoteRequest) String() string
- type FetchRemoteResponse
- func (*FetchRemoteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchRemoteResponse) GetTagsChanged() bool
- func (*FetchRemoteResponse) ProtoMessage()
- func (x *FetchRemoteResponse) ProtoReflect() protoreflect.Message
- func (x *FetchRemoteResponse) Reset()
- func (x *FetchRemoteResponse) String() string
- type FetchSourceBranchRequest
- func (*FetchSourceBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchSourceBranchRequest) GetRepository() *Repository
- func (x *FetchSourceBranchRequest) GetSourceBranch() []byte
- func (x *FetchSourceBranchRequest) GetSourceRepository() *Repository
- func (x *FetchSourceBranchRequest) GetTargetRef() []byte
- func (*FetchSourceBranchRequest) ProtoMessage()
- func (x *FetchSourceBranchRequest) ProtoReflect() protoreflect.Message
- func (x *FetchSourceBranchRequest) Reset()
- func (x *FetchSourceBranchRequest) String() string
- type FetchSourceBranchResponse
- func (*FetchSourceBranchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchSourceBranchResponse) GetResult() bool
- func (*FetchSourceBranchResponse) ProtoMessage()
- func (x *FetchSourceBranchResponse) ProtoReflect() protoreflect.Message
- func (x *FetchSourceBranchResponse) Reset()
- func (x *FetchSourceBranchResponse) String() string
- type FilterShasWithSignaturesRequest
- func (*FilterShasWithSignaturesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FilterShasWithSignaturesRequest) GetRepository() *Repository
- func (x *FilterShasWithSignaturesRequest) GetShas() [][]byte
- func (*FilterShasWithSignaturesRequest) ProtoMessage()
- func (x *FilterShasWithSignaturesRequest) ProtoReflect() protoreflect.Message
- func (x *FilterShasWithSignaturesRequest) Reset()
- func (x *FilterShasWithSignaturesRequest) String() string
- type FilterShasWithSignaturesResponse
- func (*FilterShasWithSignaturesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FilterShasWithSignaturesResponse) GetShas() [][]byte
- func (*FilterShasWithSignaturesResponse) ProtoMessage()
- func (x *FilterShasWithSignaturesResponse) ProtoReflect() protoreflect.Message
- func (x *FilterShasWithSignaturesResponse) Reset()
- func (x *FilterShasWithSignaturesResponse) String() string
- type FindAllBranchesRequest
- func (*FindAllBranchesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindAllBranchesRequest) GetMergedBranches() [][]byte
- func (x *FindAllBranchesRequest) GetMergedOnly() bool
- func (x *FindAllBranchesRequest) GetRepository() *Repository
- func (*FindAllBranchesRequest) ProtoMessage()
- func (x *FindAllBranchesRequest) ProtoReflect() protoreflect.Message
- func (x *FindAllBranchesRequest) Reset()
- func (x *FindAllBranchesRequest) String() string
- type FindAllBranchesResponse
- func (*FindAllBranchesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindAllBranchesResponse) GetBranches() []*FindAllBranchesResponse_Branch
- func (*FindAllBranchesResponse) ProtoMessage()
- func (x *FindAllBranchesResponse) ProtoReflect() protoreflect.Message
- func (x *FindAllBranchesResponse) Reset()
- func (x *FindAllBranchesResponse) String() string
- type FindAllBranchesResponse_Branch
- func (*FindAllBranchesResponse_Branch) Descriptor() ([]byte, []int)deprecated
- func (x *FindAllBranchesResponse_Branch) GetName() []byte
- func (x *FindAllBranchesResponse_Branch) GetTarget() *GitCommit
- func (*FindAllBranchesResponse_Branch) ProtoMessage()
- func (x *FindAllBranchesResponse_Branch) ProtoReflect() protoreflect.Message
- func (x *FindAllBranchesResponse_Branch) Reset()
- func (x *FindAllBranchesResponse_Branch) String() string
- type FindAllCommitsRequest
- func (*FindAllCommitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindAllCommitsRequest) GetMaxCount() int32
- func (x *FindAllCommitsRequest) GetOrder() FindAllCommitsRequest_Order
- func (x *FindAllCommitsRequest) GetRepository() *Repository
- func (x *FindAllCommitsRequest) GetRevision() []byte
- func (x *FindAllCommitsRequest) GetSkip() int32
- func (*FindAllCommitsRequest) ProtoMessage()
- func (x *FindAllCommitsRequest) ProtoReflect() protoreflect.Message
- func (x *FindAllCommitsRequest) Reset()
- func (x *FindAllCommitsRequest) String() string
- type FindAllCommitsRequest_Order
- func (FindAllCommitsRequest_Order) Descriptor() protoreflect.EnumDescriptor
- func (x FindAllCommitsRequest_Order) Enum() *FindAllCommitsRequest_Order
- func (FindAllCommitsRequest_Order) EnumDescriptor() ([]byte, []int)deprecated
- func (x FindAllCommitsRequest_Order) Number() protoreflect.EnumNumber
- func (x FindAllCommitsRequest_Order) String() string
- func (FindAllCommitsRequest_Order) Type() protoreflect.EnumType
- type FindAllCommitsResponse
- func (*FindAllCommitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindAllCommitsResponse) GetCommits() []*GitCommit
- func (*FindAllCommitsResponse) ProtoMessage()
- func (x *FindAllCommitsResponse) ProtoReflect() protoreflect.Message
- func (x *FindAllCommitsResponse) Reset()
- func (x *FindAllCommitsResponse) String() string
- type FindAllRemoteBranchesRequest
- func (*FindAllRemoteBranchesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindAllRemoteBranchesRequest) GetRemoteName() string
- func (x *FindAllRemoteBranchesRequest) GetRepository() *Repository
- func (*FindAllRemoteBranchesRequest) ProtoMessage()
- func (x *FindAllRemoteBranchesRequest) ProtoReflect() protoreflect.Message
- func (x *FindAllRemoteBranchesRequest) Reset()
- func (x *FindAllRemoteBranchesRequest) String() string
- type FindAllRemoteBranchesResponse
- func (*FindAllRemoteBranchesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindAllRemoteBranchesResponse) GetBranches() []*Branch
- func (*FindAllRemoteBranchesResponse) ProtoMessage()
- func (x *FindAllRemoteBranchesResponse) ProtoReflect() protoreflect.Message
- func (x *FindAllRemoteBranchesResponse) Reset()
- func (x *FindAllRemoteBranchesResponse) String() string
- type FindAllTagsRequest
- func (*FindAllTagsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindAllTagsRequest) GetPaginationParams() *PaginationParameter
- func (x *FindAllTagsRequest) GetRepository() *Repository
- func (x *FindAllTagsRequest) GetSortBy() *FindAllTagsRequest_SortBy
- func (*FindAllTagsRequest) ProtoMessage()
- func (x *FindAllTagsRequest) ProtoReflect() protoreflect.Message
- func (x *FindAllTagsRequest) Reset()
- func (x *FindAllTagsRequest) String() string
- type FindAllTagsRequest_SortBy
- func (*FindAllTagsRequest_SortBy) Descriptor() ([]byte, []int)deprecated
- func (x *FindAllTagsRequest_SortBy) GetDirection() SortDirection
- func (x *FindAllTagsRequest_SortBy) GetKey() FindAllTagsRequest_SortBy_Key
- func (*FindAllTagsRequest_SortBy) ProtoMessage()
- func (x *FindAllTagsRequest_SortBy) ProtoReflect() protoreflect.Message
- func (x *FindAllTagsRequest_SortBy) Reset()
- func (x *FindAllTagsRequest_SortBy) String() string
- type FindAllTagsRequest_SortBy_Key
- func (FindAllTagsRequest_SortBy_Key) Descriptor() protoreflect.EnumDescriptor
- func (x FindAllTagsRequest_SortBy_Key) Enum() *FindAllTagsRequest_SortBy_Key
- func (FindAllTagsRequest_SortBy_Key) EnumDescriptor() ([]byte, []int)deprecated
- func (x FindAllTagsRequest_SortBy_Key) Number() protoreflect.EnumNumber
- func (x FindAllTagsRequest_SortBy_Key) String() string
- func (FindAllTagsRequest_SortBy_Key) Type() protoreflect.EnumType
- type FindAllTagsResponse
- func (*FindAllTagsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindAllTagsResponse) GetTags() []*Tag
- func (*FindAllTagsResponse) ProtoMessage()
- func (x *FindAllTagsResponse) ProtoReflect() protoreflect.Message
- func (x *FindAllTagsResponse) Reset()
- func (x *FindAllTagsResponse) String() string
- type FindBranchRequest
- func (*FindBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindBranchRequest) GetName() []byte
- func (x *FindBranchRequest) GetRepository() *Repository
- func (*FindBranchRequest) ProtoMessage()
- func (x *FindBranchRequest) ProtoReflect() protoreflect.Message
- func (x *FindBranchRequest) Reset()
- func (x *FindBranchRequest) String() string
- type FindBranchResponse
- func (*FindBranchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindBranchResponse) GetBranch() *Branch
- func (*FindBranchResponse) ProtoMessage()
- func (x *FindBranchResponse) ProtoReflect() protoreflect.Message
- func (x *FindBranchResponse) Reset()
- func (x *FindBranchResponse) String() string
- type FindChangedPathsRequest
- func (*FindChangedPathsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindChangedPathsRequest) GetCommits() []stringdeprecated
- func (x *FindChangedPathsRequest) GetMergeCommitDiffMode() FindChangedPathsRequest_MergeCommitDiffMode
- func (x *FindChangedPathsRequest) GetRepository() *Repository
- func (x *FindChangedPathsRequest) GetRequests() []*FindChangedPathsRequest_Request
- func (*FindChangedPathsRequest) ProtoMessage()
- func (x *FindChangedPathsRequest) ProtoReflect() protoreflect.Message
- func (x *FindChangedPathsRequest) Reset()
- func (x *FindChangedPathsRequest) String() string
- type FindChangedPathsRequest_MergeCommitDiffMode
- func (FindChangedPathsRequest_MergeCommitDiffMode) Descriptor() protoreflect.EnumDescriptor
- func (x FindChangedPathsRequest_MergeCommitDiffMode) Enum() *FindChangedPathsRequest_MergeCommitDiffMode
- func (FindChangedPathsRequest_MergeCommitDiffMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x FindChangedPathsRequest_MergeCommitDiffMode) Number() protoreflect.EnumNumber
- func (x FindChangedPathsRequest_MergeCommitDiffMode) String() string
- func (FindChangedPathsRequest_MergeCommitDiffMode) Type() protoreflect.EnumType
- type FindChangedPathsRequest_Request
- func (*FindChangedPathsRequest_Request) Descriptor() ([]byte, []int)deprecated
- func (x *FindChangedPathsRequest_Request) GetCommitRequest() *FindChangedPathsRequest_Request_CommitRequest
- func (x *FindChangedPathsRequest_Request) GetTreeRequest() *FindChangedPathsRequest_Request_TreeRequest
- func (m *FindChangedPathsRequest_Request) GetType() isFindChangedPathsRequest_Request_Type
- func (*FindChangedPathsRequest_Request) ProtoMessage()
- func (x *FindChangedPathsRequest_Request) ProtoReflect() protoreflect.Message
- func (x *FindChangedPathsRequest_Request) Reset()
- func (x *FindChangedPathsRequest_Request) String() string
- type FindChangedPathsRequest_Request_CommitRequest
- func (*FindChangedPathsRequest_Request_CommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindChangedPathsRequest_Request_CommitRequest) GetCommitRevision() string
- func (x *FindChangedPathsRequest_Request_CommitRequest) GetParentCommitRevisions() []string
- func (*FindChangedPathsRequest_Request_CommitRequest) ProtoMessage()
- func (x *FindChangedPathsRequest_Request_CommitRequest) ProtoReflect() protoreflect.Message
- func (x *FindChangedPathsRequest_Request_CommitRequest) Reset()
- func (x *FindChangedPathsRequest_Request_CommitRequest) String() string
- type FindChangedPathsRequest_Request_CommitRequest_
- type FindChangedPathsRequest_Request_TreeRequest
- func (*FindChangedPathsRequest_Request_TreeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindChangedPathsRequest_Request_TreeRequest) GetLeftTreeRevision() string
- func (x *FindChangedPathsRequest_Request_TreeRequest) GetRightTreeRevision() string
- func (*FindChangedPathsRequest_Request_TreeRequest) ProtoMessage()
- func (x *FindChangedPathsRequest_Request_TreeRequest) ProtoReflect() protoreflect.Message
- func (x *FindChangedPathsRequest_Request_TreeRequest) Reset()
- func (x *FindChangedPathsRequest_Request_TreeRequest) String() string
- type FindChangedPathsRequest_Request_TreeRequest_
- type FindChangedPathsResponse
- func (*FindChangedPathsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindChangedPathsResponse) GetPaths() []*ChangedPaths
- func (*FindChangedPathsResponse) ProtoMessage()
- func (x *FindChangedPathsResponse) ProtoReflect() protoreflect.Message
- func (x *FindChangedPathsResponse) Reset()
- func (x *FindChangedPathsResponse) String() string
- type FindCommitRequest
- func (*FindCommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindCommitRequest) GetRepository() *Repository
- func (x *FindCommitRequest) GetRevision() []byte
- func (x *FindCommitRequest) GetTrailers() bool
- func (*FindCommitRequest) ProtoMessage()
- func (x *FindCommitRequest) ProtoReflect() protoreflect.Message
- func (x *FindCommitRequest) Reset()
- func (x *FindCommitRequest) String() string
- type FindCommitResponse
- func (*FindCommitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindCommitResponse) GetCommit() *GitCommit
- func (*FindCommitResponse) ProtoMessage()
- func (x *FindCommitResponse) ProtoReflect() protoreflect.Message
- func (x *FindCommitResponse) Reset()
- func (x *FindCommitResponse) String() string
- type FindCommitsRequest
- func (*FindCommitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindCommitsRequest) GetAfter() *timestamppb.Timestamp
- func (x *FindCommitsRequest) GetAll() bool
- func (x *FindCommitsRequest) GetAuthor() []byte
- func (x *FindCommitsRequest) GetBefore() *timestamppb.Timestamp
- func (x *FindCommitsRequest) GetDisableWalk() booldeprecated
- func (x *FindCommitsRequest) GetFirstParent() bool
- func (x *FindCommitsRequest) GetFollow() bool
- func (x *FindCommitsRequest) GetGlobalOptions() *GlobalOptions
- func (x *FindCommitsRequest) GetIncludeReferencedBy() [][]byte
- func (x *FindCommitsRequest) GetIncludeShortstat() bool
- func (x *FindCommitsRequest) GetLimit() int32
- func (x *FindCommitsRequest) GetOffset() int32
- func (x *FindCommitsRequest) GetOrder() FindCommitsRequest_Order
- func (x *FindCommitsRequest) GetPaths() [][]byte
- func (x *FindCommitsRequest) GetRepository() *Repository
- func (x *FindCommitsRequest) GetRevision() []byte
- func (x *FindCommitsRequest) GetSkipMerges() bool
- func (x *FindCommitsRequest) GetTrailers() bool
- func (*FindCommitsRequest) ProtoMessage()
- func (x *FindCommitsRequest) ProtoReflect() protoreflect.Message
- func (x *FindCommitsRequest) Reset()
- func (x *FindCommitsRequest) String() string
- type FindCommitsRequest_Order
- func (FindCommitsRequest_Order) Descriptor() protoreflect.EnumDescriptor
- func (x FindCommitsRequest_Order) Enum() *FindCommitsRequest_Order
- func (FindCommitsRequest_Order) EnumDescriptor() ([]byte, []int)deprecated
- func (x FindCommitsRequest_Order) Number() protoreflect.EnumNumber
- func (x FindCommitsRequest_Order) String() string
- func (FindCommitsRequest_Order) Type() protoreflect.EnumType
- type FindCommitsResponse
- func (*FindCommitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindCommitsResponse) GetCommits() []*GitCommit
- func (*FindCommitsResponse) ProtoMessage()
- func (x *FindCommitsResponse) ProtoReflect() protoreflect.Message
- func (x *FindCommitsResponse) Reset()
- func (x *FindCommitsResponse) String() string
- type FindDefaultBranchNameRequest
- func (*FindDefaultBranchNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindDefaultBranchNameRequest) GetHeadOnly() bool
- func (x *FindDefaultBranchNameRequest) GetRepository() *Repository
- func (*FindDefaultBranchNameRequest) ProtoMessage()
- func (x *FindDefaultBranchNameRequest) ProtoReflect() protoreflect.Message
- func (x *FindDefaultBranchNameRequest) Reset()
- func (x *FindDefaultBranchNameRequest) String() string
- type FindDefaultBranchNameResponse
- func (*FindDefaultBranchNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindDefaultBranchNameResponse) GetName() []byte
- func (*FindDefaultBranchNameResponse) ProtoMessage()
- func (x *FindDefaultBranchNameResponse) ProtoReflect() protoreflect.Message
- func (x *FindDefaultBranchNameResponse) Reset()
- func (x *FindDefaultBranchNameResponse) String() string
- type FindLicenseRequest
- func (*FindLicenseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindLicenseRequest) GetRepository() *Repository
- func (*FindLicenseRequest) ProtoMessage()
- func (x *FindLicenseRequest) ProtoReflect() protoreflect.Message
- func (x *FindLicenseRequest) Reset()
- func (x *FindLicenseRequest) String() string
- type FindLicenseResponse
- func (*FindLicenseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindLicenseResponse) GetLicenseName() string
- func (x *FindLicenseResponse) GetLicenseNickname() string
- func (x *FindLicenseResponse) GetLicensePath() string
- func (x *FindLicenseResponse) GetLicenseShortName() string
- func (x *FindLicenseResponse) GetLicenseUrl() string
- func (*FindLicenseResponse) ProtoMessage()
- func (x *FindLicenseResponse) ProtoReflect() protoreflect.Message
- func (x *FindLicenseResponse) Reset()
- func (x *FindLicenseResponse) String() string
- type FindLocalBranchesRequest
- func (*FindLocalBranchesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindLocalBranchesRequest) GetPaginationParams() *PaginationParameter
- func (x *FindLocalBranchesRequest) GetRepository() *Repository
- func (x *FindLocalBranchesRequest) GetSortBy() FindLocalBranchesRequest_SortBy
- func (*FindLocalBranchesRequest) ProtoMessage()
- func (x *FindLocalBranchesRequest) ProtoReflect() protoreflect.Message
- func (x *FindLocalBranchesRequest) Reset()
- func (x *FindLocalBranchesRequest) String() string
- type FindLocalBranchesRequest_SortBy
- func (FindLocalBranchesRequest_SortBy) Descriptor() protoreflect.EnumDescriptor
- func (x FindLocalBranchesRequest_SortBy) Enum() *FindLocalBranchesRequest_SortBy
- func (FindLocalBranchesRequest_SortBy) EnumDescriptor() ([]byte, []int)deprecated
- func (x FindLocalBranchesRequest_SortBy) Number() protoreflect.EnumNumber
- func (x FindLocalBranchesRequest_SortBy) String() string
- func (FindLocalBranchesRequest_SortBy) Type() protoreflect.EnumType
- type FindLocalBranchesResponse
- func (*FindLocalBranchesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindLocalBranchesResponse) GetLocalBranches() []*Branch
- func (*FindLocalBranchesResponse) ProtoMessage()
- func (x *FindLocalBranchesResponse) ProtoReflect() protoreflect.Message
- func (x *FindLocalBranchesResponse) Reset()
- func (x *FindLocalBranchesResponse) String() string
- type FindMergeBaseRequest
- func (*FindMergeBaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindMergeBaseRequest) GetRepository() *Repository
- func (x *FindMergeBaseRequest) GetRevisions() [][]byte
- func (*FindMergeBaseRequest) ProtoMessage()
- func (x *FindMergeBaseRequest) ProtoReflect() protoreflect.Message
- func (x *FindMergeBaseRequest) Reset()
- func (x *FindMergeBaseRequest) String() string
- type FindMergeBaseResponse
- func (*FindMergeBaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindMergeBaseResponse) GetBase() string
- func (*FindMergeBaseResponse) ProtoMessage()
- func (x *FindMergeBaseResponse) ProtoReflect() protoreflect.Message
- func (x *FindMergeBaseResponse) Reset()
- func (x *FindMergeBaseResponse) String() string
- type FindRefsByOIDRequest
- func (*FindRefsByOIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindRefsByOIDRequest) GetLimit() uint32
- func (x *FindRefsByOIDRequest) GetOid() string
- func (x *FindRefsByOIDRequest) GetRefPatterns() []string
- func (x *FindRefsByOIDRequest) GetRepository() *Repository
- func (x *FindRefsByOIDRequest) GetSortField() string
- func (*FindRefsByOIDRequest) ProtoMessage()
- func (x *FindRefsByOIDRequest) ProtoReflect() protoreflect.Message
- func (x *FindRefsByOIDRequest) Reset()
- func (x *FindRefsByOIDRequest) String() string
- type FindRefsByOIDResponse
- func (*FindRefsByOIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindRefsByOIDResponse) GetRefs() []string
- func (*FindRefsByOIDResponse) ProtoMessage()
- func (x *FindRefsByOIDResponse) ProtoReflect() protoreflect.Message
- func (x *FindRefsByOIDResponse) Reset()
- func (x *FindRefsByOIDResponse) String() string
- type FindRemoteRepositoryRequest
- func (*FindRemoteRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindRemoteRepositoryRequest) GetRemote() string
- func (x *FindRemoteRepositoryRequest) GetStorageName() string
- func (*FindRemoteRepositoryRequest) ProtoMessage()
- func (x *FindRemoteRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *FindRemoteRepositoryRequest) Reset()
- func (x *FindRemoteRepositoryRequest) String() string
- type FindRemoteRepositoryResponse
- func (*FindRemoteRepositoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindRemoteRepositoryResponse) GetExists() bool
- func (*FindRemoteRepositoryResponse) ProtoMessage()
- func (x *FindRemoteRepositoryResponse) ProtoReflect() protoreflect.Message
- func (x *FindRemoteRepositoryResponse) Reset()
- func (x *FindRemoteRepositoryResponse) String() string
- type FindRemoteRootRefRequest
- func (*FindRemoteRootRefRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindRemoteRootRefRequest) GetHttpAuthorizationHeader() string
- func (x *FindRemoteRootRefRequest) GetRemoteUrl() string
- func (x *FindRemoteRootRefRequest) GetRepository() *Repository
- func (x *FindRemoteRootRefRequest) GetResolvedAddress() string
- func (*FindRemoteRootRefRequest) ProtoMessage()
- func (x *FindRemoteRootRefRequest) ProtoReflect() protoreflect.Message
- func (x *FindRemoteRootRefRequest) Reset()
- func (x *FindRemoteRootRefRequest) String() string
- type FindRemoteRootRefResponse
- func (*FindRemoteRootRefResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindRemoteRootRefResponse) GetRef() string
- func (*FindRemoteRootRefResponse) ProtoMessage()
- func (x *FindRemoteRootRefResponse) ProtoReflect() protoreflect.Message
- func (x *FindRemoteRootRefResponse) Reset()
- func (x *FindRemoteRootRefResponse) String() string
- type FindTagError
- func (*FindTagError) Descriptor() ([]byte, []int)deprecated
- func (m *FindTagError) GetError() isFindTagError_Error
- func (x *FindTagError) GetTagNotFound() *ReferenceNotFoundError
- func (*FindTagError) ProtoMessage()
- func (x *FindTagError) ProtoReflect() protoreflect.Message
- func (x *FindTagError) Reset()
- func (x *FindTagError) String() string
- type FindTagError_TagNotFound
- type FindTagRequest
- func (*FindTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindTagRequest) GetRepository() *Repository
- func (x *FindTagRequest) GetTagName() []byte
- func (*FindTagRequest) ProtoMessage()
- func (x *FindTagRequest) ProtoReflect() protoreflect.Message
- func (x *FindTagRequest) Reset()
- func (x *FindTagRequest) String() string
- type FindTagResponse
- type FsckRequest
- type FsckResponse
- type FullPathRequest
- type FullPathResponse
- type GetArchiveRequest
- func (*GetArchiveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetArchiveRequest) GetCommitId() string
- func (x *GetArchiveRequest) GetElidePath() bool
- func (x *GetArchiveRequest) GetExclude() [][]byte
- func (x *GetArchiveRequest) GetFormat() GetArchiveRequest_Format
- func (x *GetArchiveRequest) GetIncludeLfsBlobs() bool
- func (x *GetArchiveRequest) GetPath() []byte
- func (x *GetArchiveRequest) GetPrefix() string
- func (x *GetArchiveRequest) GetRepository() *Repository
- func (*GetArchiveRequest) ProtoMessage()
- func (x *GetArchiveRequest) ProtoReflect() protoreflect.Message
- func (x *GetArchiveRequest) Reset()
- func (x *GetArchiveRequest) String() string
- type GetArchiveRequest_Format
- func (GetArchiveRequest_Format) Descriptor() protoreflect.EnumDescriptor
- func (x GetArchiveRequest_Format) Enum() *GetArchiveRequest_Format
- func (GetArchiveRequest_Format) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetArchiveRequest_Format) Number() protoreflect.EnumNumber
- func (x GetArchiveRequest_Format) String() string
- func (GetArchiveRequest_Format) Type() protoreflect.EnumType
- type GetArchiveResponse
- func (*GetArchiveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetArchiveResponse) GetData() []byte
- func (*GetArchiveResponse) ProtoMessage()
- func (x *GetArchiveResponse) ProtoReflect() protoreflect.Message
- func (x *GetArchiveResponse) Reset()
- func (x *GetArchiveResponse) String() string
- type GetBlobRequest
- func (*GetBlobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlobRequest) GetLimit() int64
- func (x *GetBlobRequest) GetOid() string
- func (x *GetBlobRequest) GetRepository() *Repository
- func (*GetBlobRequest) ProtoMessage()
- func (x *GetBlobRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlobRequest) Reset()
- func (x *GetBlobRequest) String() string
- type GetBlobResponse
- func (*GetBlobResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlobResponse) GetData() []byte
- func (x *GetBlobResponse) GetOid() string
- func (x *GetBlobResponse) GetSize() int64
- func (*GetBlobResponse) ProtoMessage()
- func (x *GetBlobResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlobResponse) Reset()
- func (x *GetBlobResponse) String() string
- type GetBlobsRequest
- func (*GetBlobsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlobsRequest) GetLimit() int64
- func (x *GetBlobsRequest) GetRepository() *Repository
- func (x *GetBlobsRequest) GetRevisionPaths() []*GetBlobsRequest_RevisionPath
- func (*GetBlobsRequest) ProtoMessage()
- func (x *GetBlobsRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlobsRequest) Reset()
- func (x *GetBlobsRequest) String() string
- type GetBlobsRequest_RevisionPath
- func (*GetBlobsRequest_RevisionPath) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlobsRequest_RevisionPath) GetPath() []byte
- func (x *GetBlobsRequest_RevisionPath) GetRevision() string
- func (*GetBlobsRequest_RevisionPath) ProtoMessage()
- func (x *GetBlobsRequest_RevisionPath) ProtoReflect() protoreflect.Message
- func (x *GetBlobsRequest_RevisionPath) Reset()
- func (x *GetBlobsRequest_RevisionPath) String() string
- type GetBlobsResponse
- func (*GetBlobsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlobsResponse) GetData() []byte
- func (x *GetBlobsResponse) GetIsSubmodule() bool
- func (x *GetBlobsResponse) GetMode() int32
- func (x *GetBlobsResponse) GetOid() string
- func (x *GetBlobsResponse) GetPath() []byte
- func (x *GetBlobsResponse) GetRevision() string
- func (x *GetBlobsResponse) GetSize() int64
- func (x *GetBlobsResponse) GetType() ObjectType
- func (*GetBlobsResponse) ProtoMessage()
- func (x *GetBlobsResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlobsResponse) Reset()
- func (x *GetBlobsResponse) String() string
- type GetCommitMessagesRequest
- func (*GetCommitMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommitMessagesRequest) GetCommitIds() []string
- func (x *GetCommitMessagesRequest) GetRepository() *Repository
- func (*GetCommitMessagesRequest) ProtoMessage()
- func (x *GetCommitMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetCommitMessagesRequest) Reset()
- func (x *GetCommitMessagesRequest) String() string
- type GetCommitMessagesResponse
- func (*GetCommitMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommitMessagesResponse) GetCommitId() string
- func (x *GetCommitMessagesResponse) GetMessage() []byte
- func (*GetCommitMessagesResponse) ProtoMessage()
- func (x *GetCommitMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *GetCommitMessagesResponse) Reset()
- func (x *GetCommitMessagesResponse) String() string
- type GetCommitSignaturesRequest
- func (*GetCommitSignaturesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommitSignaturesRequest) GetCommitIds() []string
- func (x *GetCommitSignaturesRequest) GetRepository() *Repository
- func (*GetCommitSignaturesRequest) ProtoMessage()
- func (x *GetCommitSignaturesRequest) ProtoReflect() protoreflect.Message
- func (x *GetCommitSignaturesRequest) Reset()
- func (x *GetCommitSignaturesRequest) String() string
- type GetCommitSignaturesResponse
- func (*GetCommitSignaturesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommitSignaturesResponse) GetCommitId() string
- func (x *GetCommitSignaturesResponse) GetSignature() []byte
- func (x *GetCommitSignaturesResponse) GetSignedText() []byte
- func (x *GetCommitSignaturesResponse) GetSigner() GetCommitSignaturesResponse_Signer
- func (*GetCommitSignaturesResponse) ProtoMessage()
- func (x *GetCommitSignaturesResponse) ProtoReflect() protoreflect.Message
- func (x *GetCommitSignaturesResponse) Reset()
- func (x *GetCommitSignaturesResponse) String() string
- type GetCommitSignaturesResponse_Signer
- func (GetCommitSignaturesResponse_Signer) Descriptor() protoreflect.EnumDescriptor
- func (x GetCommitSignaturesResponse_Signer) Enum() *GetCommitSignaturesResponse_Signer
- func (GetCommitSignaturesResponse_Signer) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetCommitSignaturesResponse_Signer) Number() protoreflect.EnumNumber
- func (x GetCommitSignaturesResponse_Signer) String() string
- func (GetCommitSignaturesResponse_Signer) Type() protoreflect.EnumType
- type GetConfigRequest
- type GetConfigResponse
- type GetCustomHooksRequest
- func (*GetCustomHooksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCustomHooksRequest) GetRepository() *Repository
- func (*GetCustomHooksRequest) ProtoMessage()
- func (x *GetCustomHooksRequest) ProtoReflect() protoreflect.Message
- func (x *GetCustomHooksRequest) Reset()
- func (x *GetCustomHooksRequest) String() string
- type GetCustomHooksResponse
- func (*GetCustomHooksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCustomHooksResponse) GetData() []byte
- func (*GetCustomHooksResponse) ProtoMessage()
- func (x *GetCustomHooksResponse) ProtoReflect() protoreflect.Message
- func (x *GetCustomHooksResponse) Reset()
- func (x *GetCustomHooksResponse) String() string
- type GetFileAttributesRequest
- func (*GetFileAttributesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileAttributesRequest) GetAttributes() []string
- func (x *GetFileAttributesRequest) GetPaths() []string
- func (x *GetFileAttributesRequest) GetRepository() *Repository
- func (x *GetFileAttributesRequest) GetRevision() []byte
- func (*GetFileAttributesRequest) ProtoMessage()
- func (x *GetFileAttributesRequest) ProtoReflect() protoreflect.Message
- func (x *GetFileAttributesRequest) Reset()
- func (x *GetFileAttributesRequest) String() string
- type GetFileAttributesResponse
- func (*GetFileAttributesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileAttributesResponse) GetAttributeInfos() []*GetFileAttributesResponse_AttributeInfo
- func (*GetFileAttributesResponse) ProtoMessage()
- func (x *GetFileAttributesResponse) ProtoReflect() protoreflect.Message
- func (x *GetFileAttributesResponse) Reset()
- func (x *GetFileAttributesResponse) String() string
- type GetFileAttributesResponse_AttributeInfo
- func (*GetFileAttributesResponse_AttributeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileAttributesResponse_AttributeInfo) GetAttribute() string
- func (x *GetFileAttributesResponse_AttributeInfo) GetPath() string
- func (x *GetFileAttributesResponse_AttributeInfo) GetValue() string
- func (*GetFileAttributesResponse_AttributeInfo) ProtoMessage()
- func (x *GetFileAttributesResponse_AttributeInfo) ProtoReflect() protoreflect.Message
- func (x *GetFileAttributesResponse_AttributeInfo) Reset()
- func (x *GetFileAttributesResponse_AttributeInfo) String() string
- type GetInfoAttributesRequest
- func (*GetInfoAttributesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInfoAttributesRequest) GetRepository() *Repository
- func (*GetInfoAttributesRequest) ProtoMessage()
- func (x *GetInfoAttributesRequest) ProtoReflect() protoreflect.Message
- func (x *GetInfoAttributesRequest) Reset()
- func (x *GetInfoAttributesRequest) String() string
- type GetInfoAttributesResponse
- func (*GetInfoAttributesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInfoAttributesResponse) GetAttributes() []byte
- func (*GetInfoAttributesResponse) ProtoMessage()
- func (x *GetInfoAttributesResponse) ProtoReflect() protoreflect.Message
- func (x *GetInfoAttributesResponse) Reset()
- func (x *GetInfoAttributesResponse) String() string
- type GetLFSPointersRequest
- func (*GetLFSPointersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLFSPointersRequest) GetBlobIds() []string
- func (x *GetLFSPointersRequest) GetRepository() *Repository
- func (*GetLFSPointersRequest) ProtoMessage()
- func (x *GetLFSPointersRequest) ProtoReflect() protoreflect.Message
- func (x *GetLFSPointersRequest) Reset()
- func (x *GetLFSPointersRequest) String() string
- type GetLFSPointersResponse
- func (*GetLFSPointersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLFSPointersResponse) GetLfsPointers() []*LFSPointer
- func (*GetLFSPointersResponse) ProtoMessage()
- func (x *GetLFSPointersResponse) ProtoReflect() protoreflect.Message
- func (x *GetLFSPointersResponse) Reset()
- func (x *GetLFSPointersResponse) String() string
- type GetObjectDirectorySizeRequest
- func (*GetObjectDirectorySizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectDirectorySizeRequest) GetRepository() *Repository
- func (*GetObjectDirectorySizeRequest) ProtoMessage()
- func (x *GetObjectDirectorySizeRequest) ProtoReflect() protoreflect.Message
- func (x *GetObjectDirectorySizeRequest) Reset()
- func (x *GetObjectDirectorySizeRequest) String() string
- type GetObjectDirectorySizeResponse
- func (*GetObjectDirectorySizeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectDirectorySizeResponse) GetSize() int64
- func (*GetObjectDirectorySizeResponse) ProtoMessage()
- func (x *GetObjectDirectorySizeResponse) ProtoReflect() protoreflect.Message
- func (x *GetObjectDirectorySizeResponse) Reset()
- func (x *GetObjectDirectorySizeResponse) String() string
- type GetObjectPoolRequest
- func (*GetObjectPoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectPoolRequest) GetRepository() *Repository
- func (*GetObjectPoolRequest) ProtoMessage()
- func (x *GetObjectPoolRequest) ProtoReflect() protoreflect.Message
- func (x *GetObjectPoolRequest) Reset()
- func (x *GetObjectPoolRequest) String() string
- type GetObjectPoolResponse
- func (*GetObjectPoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetObjectPoolResponse) GetObjectPool() *ObjectPool
- func (*GetObjectPoolResponse) ProtoMessage()
- func (x *GetObjectPoolResponse) ProtoReflect() protoreflect.Message
- func (x *GetObjectPoolResponse) Reset()
- func (x *GetObjectPoolResponse) String() string
- type GetPatchIDRequest
- func (*GetPatchIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPatchIDRequest) GetNewRevision() []byte
- func (x *GetPatchIDRequest) GetOldRevision() []byte
- func (x *GetPatchIDRequest) GetRepository() *Repository
- func (*GetPatchIDRequest) ProtoMessage()
- func (x *GetPatchIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetPatchIDRequest) Reset()
- func (x *GetPatchIDRequest) String() string
- type GetPatchIDResponse
- func (*GetPatchIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPatchIDResponse) GetPatchId() string
- func (*GetPatchIDResponse) ProtoMessage()
- func (x *GetPatchIDResponse) ProtoReflect() protoreflect.Message
- func (x *GetPatchIDResponse) Reset()
- func (x *GetPatchIDResponse) String() string
- type GetRawChangesRequest
- func (*GetRawChangesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRawChangesRequest) GetFromRevision() string
- func (x *GetRawChangesRequest) GetRepository() *Repository
- func (x *GetRawChangesRequest) GetToRevision() string
- func (*GetRawChangesRequest) ProtoMessage()
- func (x *GetRawChangesRequest) ProtoReflect() protoreflect.Message
- func (x *GetRawChangesRequest) Reset()
- func (x *GetRawChangesRequest) String() string
- type GetRawChangesResponse
- func (*GetRawChangesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRawChangesResponse) GetRawChanges() []*GetRawChangesResponse_RawChange
- func (*GetRawChangesResponse) ProtoMessage()
- func (x *GetRawChangesResponse) ProtoReflect() protoreflect.Message
- func (x *GetRawChangesResponse) Reset()
- func (x *GetRawChangesResponse) String() string
- type GetRawChangesResponse_RawChange
- func (*GetRawChangesResponse_RawChange) Descriptor() ([]byte, []int)deprecated
- func (x *GetRawChangesResponse_RawChange) GetBlobId() string
- func (x *GetRawChangesResponse_RawChange) GetNewMode() int32
- func (x *GetRawChangesResponse_RawChange) GetNewPathBytes() []byte
- func (x *GetRawChangesResponse_RawChange) GetOldMode() int32
- func (x *GetRawChangesResponse_RawChange) GetOldPathBytes() []byte
- func (x *GetRawChangesResponse_RawChange) GetOperation() GetRawChangesResponse_RawChange_Operation
- func (x *GetRawChangesResponse_RawChange) GetRawOperation() string
- func (x *GetRawChangesResponse_RawChange) GetSize() int64
- func (*GetRawChangesResponse_RawChange) ProtoMessage()
- func (x *GetRawChangesResponse_RawChange) ProtoReflect() protoreflect.Message
- func (x *GetRawChangesResponse_RawChange) Reset()
- func (x *GetRawChangesResponse_RawChange) String() string
- type GetRawChangesResponse_RawChange_Operation
- func (GetRawChangesResponse_RawChange_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x GetRawChangesResponse_RawChange_Operation) Enum() *GetRawChangesResponse_RawChange_Operation
- func (GetRawChangesResponse_RawChange_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetRawChangesResponse_RawChange_Operation) Number() protoreflect.EnumNumber
- func (x GetRawChangesResponse_RawChange_Operation) String() string
- func (GetRawChangesResponse_RawChange_Operation) Type() protoreflect.EnumType
- type GetRepositoryMetadataRequest
- func (*GetRepositoryMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryMetadataRequest) GetPath() *GetRepositoryMetadataRequest_Path
- func (m *GetRepositoryMetadataRequest) GetQuery() isGetRepositoryMetadataRequest_Query
- func (x *GetRepositoryMetadataRequest) GetRepositoryId() int64
- func (*GetRepositoryMetadataRequest) ProtoMessage()
- func (x *GetRepositoryMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryMetadataRequest) Reset()
- func (x *GetRepositoryMetadataRequest) String() string
- type GetRepositoryMetadataRequest_Path
- func (*GetRepositoryMetadataRequest_Path) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryMetadataRequest_Path) GetRelativePath() string
- func (x *GetRepositoryMetadataRequest_Path) GetVirtualStorage() string
- func (*GetRepositoryMetadataRequest_Path) ProtoMessage()
- func (x *GetRepositoryMetadataRequest_Path) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryMetadataRequest_Path) Reset()
- func (x *GetRepositoryMetadataRequest_Path) String() string
- type GetRepositoryMetadataRequest_Path_
- type GetRepositoryMetadataRequest_RepositoryId
- type GetRepositoryMetadataResponse
- func (*GetRepositoryMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryMetadataResponse) GetGeneration() int64
- func (x *GetRepositoryMetadataResponse) GetPrimary() string
- func (x *GetRepositoryMetadataResponse) GetRelativePath() string
- func (x *GetRepositoryMetadataResponse) GetReplicaPath() string
- func (x *GetRepositoryMetadataResponse) GetReplicas() []*GetRepositoryMetadataResponse_Replica
- func (x *GetRepositoryMetadataResponse) GetRepositoryId() int64
- func (x *GetRepositoryMetadataResponse) GetVirtualStorage() string
- func (*GetRepositoryMetadataResponse) ProtoMessage()
- func (x *GetRepositoryMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryMetadataResponse) Reset()
- func (x *GetRepositoryMetadataResponse) String() string
- type GetRepositoryMetadataResponse_Replica
- func (*GetRepositoryMetadataResponse_Replica) Descriptor() ([]byte, []int)deprecated
- func (x *GetRepositoryMetadataResponse_Replica) GetAssigned() bool
- func (x *GetRepositoryMetadataResponse_Replica) GetGeneration() int64
- func (x *GetRepositoryMetadataResponse_Replica) GetHealthy() bool
- func (x *GetRepositoryMetadataResponse_Replica) GetStorage() string
- func (x *GetRepositoryMetadataResponse_Replica) GetValidPrimary() bool
- func (x *GetRepositoryMetadataResponse_Replica) GetVerifiedAt() *timestamppb.Timestamp
- func (*GetRepositoryMetadataResponse_Replica) ProtoMessage()
- func (x *GetRepositoryMetadataResponse_Replica) ProtoReflect() protoreflect.Message
- func (x *GetRepositoryMetadataResponse_Replica) Reset()
- func (x *GetRepositoryMetadataResponse_Replica) String() string
- type GetSnapshotRequest
- func (*GetSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSnapshotRequest) GetRepository() *Repository
- func (*GetSnapshotRequest) ProtoMessage()
- func (x *GetSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *GetSnapshotRequest) Reset()
- func (x *GetSnapshotRequest) String() string
- type GetSnapshotResponse
- func (*GetSnapshotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSnapshotResponse) GetData() []byte
- func (*GetSnapshotResponse) ProtoMessage()
- func (x *GetSnapshotResponse) ProtoReflect() protoreflect.Message
- func (x *GetSnapshotResponse) Reset()
- func (x *GetSnapshotResponse) String() string
- type GetTagMessagesRequest
- func (*GetTagMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTagMessagesRequest) GetRepository() *Repository
- func (x *GetTagMessagesRequest) GetTagIds() []string
- func (*GetTagMessagesRequest) ProtoMessage()
- func (x *GetTagMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetTagMessagesRequest) Reset()
- func (x *GetTagMessagesRequest) String() string
- type GetTagMessagesResponse
- func (*GetTagMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTagMessagesResponse) GetMessage() []byte
- func (x *GetTagMessagesResponse) GetTagId() string
- func (*GetTagMessagesResponse) ProtoMessage()
- func (x *GetTagMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *GetTagMessagesResponse) Reset()
- func (x *GetTagMessagesResponse) String() string
- type GetTagSignaturesRequest
- func (*GetTagSignaturesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTagSignaturesRequest) GetRepository() *Repository
- func (x *GetTagSignaturesRequest) GetTagRevisions() []string
- func (*GetTagSignaturesRequest) ProtoMessage()
- func (x *GetTagSignaturesRequest) ProtoReflect() protoreflect.Message
- func (x *GetTagSignaturesRequest) Reset()
- func (x *GetTagSignaturesRequest) String() string
- type GetTagSignaturesResponse
- func (*GetTagSignaturesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTagSignaturesResponse) GetSignatures() []*GetTagSignaturesResponse_TagSignature
- func (*GetTagSignaturesResponse) ProtoMessage()
- func (x *GetTagSignaturesResponse) ProtoReflect() protoreflect.Message
- func (x *GetTagSignaturesResponse) Reset()
- func (x *GetTagSignaturesResponse) String() string
- type GetTagSignaturesResponse_TagSignature
- func (*GetTagSignaturesResponse_TagSignature) Descriptor() ([]byte, []int)deprecated
- func (x *GetTagSignaturesResponse_TagSignature) GetContent() []byte
- func (x *GetTagSignaturesResponse_TagSignature) GetSignature() []byte
- func (x *GetTagSignaturesResponse_TagSignature) GetTagId() string
- func (*GetTagSignaturesResponse_TagSignature) ProtoMessage()
- func (x *GetTagSignaturesResponse_TagSignature) ProtoReflect() protoreflect.Message
- func (x *GetTagSignaturesResponse_TagSignature) Reset()
- func (x *GetTagSignaturesResponse_TagSignature) String() string
- type GetTreeEntriesError
- func (*GetTreeEntriesError) Descriptor() ([]byte, []int)deprecated
- func (m *GetTreeEntriesError) GetError() isGetTreeEntriesError_Error
- func (x *GetTreeEntriesError) GetPath() *PathError
- func (x *GetTreeEntriesError) GetResolveTree() *ResolveRevisionError
- func (*GetTreeEntriesError) ProtoMessage()
- func (x *GetTreeEntriesError) ProtoReflect() protoreflect.Message
- func (x *GetTreeEntriesError) Reset()
- func (x *GetTreeEntriesError) String() string
- type GetTreeEntriesError_Path
- type GetTreeEntriesError_ResolveTree
- type GetTreeEntriesRequest
- func (*GetTreeEntriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTreeEntriesRequest) GetPaginationParams() *PaginationParameter
- func (x *GetTreeEntriesRequest) GetPath() []byte
- func (x *GetTreeEntriesRequest) GetRecursive() bool
- func (x *GetTreeEntriesRequest) GetRepository() *Repository
- func (x *GetTreeEntriesRequest) GetRevision() []byte
- func (x *GetTreeEntriesRequest) GetSkipFlatPaths() bool
- func (x *GetTreeEntriesRequest) GetSort() GetTreeEntriesRequest_SortBy
- func (*GetTreeEntriesRequest) ProtoMessage()
- func (x *GetTreeEntriesRequest) ProtoReflect() protoreflect.Message
- func (x *GetTreeEntriesRequest) Reset()
- func (x *GetTreeEntriesRequest) String() string
- type GetTreeEntriesRequest_SortBy
- func (GetTreeEntriesRequest_SortBy) Descriptor() protoreflect.EnumDescriptor
- func (x GetTreeEntriesRequest_SortBy) Enum() *GetTreeEntriesRequest_SortBy
- func (GetTreeEntriesRequest_SortBy) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetTreeEntriesRequest_SortBy) Number() protoreflect.EnumNumber
- func (x GetTreeEntriesRequest_SortBy) String() string
- func (GetTreeEntriesRequest_SortBy) Type() protoreflect.EnumType
- type GetTreeEntriesResponse
- func (*GetTreeEntriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTreeEntriesResponse) GetEntries() []*TreeEntry
- func (x *GetTreeEntriesResponse) GetPaginationCursor() *PaginationCursor
- func (*GetTreeEntriesResponse) ProtoMessage()
- func (x *GetTreeEntriesResponse) ProtoReflect() protoreflect.Message
- func (x *GetTreeEntriesResponse) Reset()
- func (x *GetTreeEntriesResponse) String() string
- type GitCommit
- func (*GitCommit) Descriptor() ([]byte, []int)deprecated
- func (x *GitCommit) GetAuthor() *CommitAuthor
- func (x *GitCommit) GetBody() []byte
- func (x *GitCommit) GetBodySize() int64
- func (x *GitCommit) GetCommitter() *CommitAuthor
- func (x *GitCommit) GetEncoding() string
- func (x *GitCommit) GetId() string
- func (x *GitCommit) GetParentIds() []string
- func (x *GitCommit) GetReferencedBy() [][]byte
- func (x *GitCommit) GetShortStats() *CommitStatInfo
- func (x *GitCommit) GetSignatureType() SignatureType
- func (x *GitCommit) GetSubject() []byte
- func (x *GitCommit) GetTrailers() []*CommitTrailer
- func (x *GitCommit) GetTreeId() string
- func (*GitCommit) ProtoMessage()
- func (x *GitCommit) ProtoReflect() protoreflect.Message
- func (x *GitCommit) Reset()
- func (x *GitCommit) String() string
- type GlobalOptions
- type HasLocalBranchesRequest
- func (*HasLocalBranchesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HasLocalBranchesRequest) GetRepository() *Repository
- func (*HasLocalBranchesRequest) ProtoMessage()
- func (x *HasLocalBranchesRequest) ProtoReflect() protoreflect.Message
- func (x *HasLocalBranchesRequest) Reset()
- func (x *HasLocalBranchesRequest) String() string
- type HasLocalBranchesResponse
- func (*HasLocalBranchesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HasLocalBranchesResponse) GetValue() bool
- func (*HasLocalBranchesResponse) ProtoMessage()
- func (x *HasLocalBranchesResponse) ProtoReflect() protoreflect.Message
- func (x *HasLocalBranchesResponse) Reset()
- func (x *HasLocalBranchesResponse) String() string
- type HookServiceClient
- type HookServiceServer
- type HookService_PostReceiveHookClient
- type HookService_PostReceiveHookServer
- type HookService_PreReceiveHookClient
- type HookService_PreReceiveHookServer
- type HookService_ReferenceTransactionHookClient
- type HookService_ReferenceTransactionHookServer
- type HookService_UpdateHookClient
- type HookService_UpdateHookServer
- type IndexError
- func (*IndexError) Descriptor() ([]byte, []int)deprecated
- func (x *IndexError) GetErrorType() IndexError_ErrorType
- func (x *IndexError) GetPath() []byte
- func (*IndexError) ProtoMessage()
- func (x *IndexError) ProtoReflect() protoreflect.Message
- func (x *IndexError) Reset()
- func (x *IndexError) String() string
- type IndexError_ErrorType
- func (IndexError_ErrorType) Descriptor() protoreflect.EnumDescriptor
- func (x IndexError_ErrorType) Enum() *IndexError_ErrorType
- func (IndexError_ErrorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x IndexError_ErrorType) Number() protoreflect.EnumNumber
- func (x IndexError_ErrorType) String() string
- func (IndexError_ErrorType) Type() protoreflect.EnumType
- type InfoRefsRequest
- func (*InfoRefsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InfoRefsRequest) GetGitConfigOptions() []string
- func (x *InfoRefsRequest) GetGitProtocol() string
- func (x *InfoRefsRequest) GetRepository() *Repository
- func (*InfoRefsRequest) ProtoMessage()
- func (x *InfoRefsRequest) ProtoReflect() protoreflect.Message
- func (x *InfoRefsRequest) Reset()
- func (x *InfoRefsRequest) String() string
- type InfoRefsResponse
- type InternalGitalyClient
- type InternalGitalyServer
- type InternalGitaly_WalkReposClient
- type InternalGitaly_WalkReposServer
- type InvalidRefFormatError
- func (*InvalidRefFormatError) Descriptor() ([]byte, []int)deprecated
- func (x *InvalidRefFormatError) GetRefs() [][]byte
- func (*InvalidRefFormatError) ProtoMessage()
- func (x *InvalidRefFormatError) ProtoReflect() protoreflect.Message
- func (x *InvalidRefFormatError) Reset()
- func (x *InvalidRefFormatError) String() string
- type LFSPointer
- func (*LFSPointer) Descriptor() ([]byte, []int)deprecated
- func (x *LFSPointer) GetData() []byte
- func (x *LFSPointer) GetOid() string
- func (x *LFSPointer) GetSize() int64
- func (*LFSPointer) ProtoMessage()
- func (x *LFSPointer) ProtoReflect() protoreflect.Message
- func (x *LFSPointer) Reset()
- func (x *LFSPointer) String() string
- type LastCommitForPathRequest
- func (*LastCommitForPathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LastCommitForPathRequest) GetGlobalOptions() *GlobalOptions
- func (x *LastCommitForPathRequest) GetLiteralPathspec() bool
- func (x *LastCommitForPathRequest) GetPath() []byte
- func (x *LastCommitForPathRequest) GetRepository() *Repository
- func (x *LastCommitForPathRequest) GetRevision() []byte
- func (*LastCommitForPathRequest) ProtoMessage()
- func (x *LastCommitForPathRequest) ProtoReflect() protoreflect.Message
- func (x *LastCommitForPathRequest) Reset()
- func (x *LastCommitForPathRequest) String() string
- type LastCommitForPathResponse
- func (*LastCommitForPathResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LastCommitForPathResponse) GetCommit() *GitCommit
- func (*LastCommitForPathResponse) ProtoMessage()
- func (x *LastCommitForPathResponse) ProtoReflect() protoreflect.Message
- func (x *LastCommitForPathResponse) Reset()
- func (x *LastCommitForPathResponse) String() string
- type LimitError
- func (*LimitError) Descriptor() ([]byte, []int)deprecated
- func (x *LimitError) GetErrorMessage() string
- func (x *LimitError) GetRetryAfter() *durationpb.Duration
- func (*LimitError) ProtoMessage()
- func (x *LimitError) ProtoReflect() protoreflect.Message
- func (x *LimitError) Reset()
- func (x *LimitError) String() string
- type LinkRepositoryToObjectPoolRequest
- func (*LinkRepositoryToObjectPoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinkRepositoryToObjectPoolRequest) GetObjectPool() *ObjectPool
- func (x *LinkRepositoryToObjectPoolRequest) GetRepository() *Repository
- func (*LinkRepositoryToObjectPoolRequest) ProtoMessage()
- func (x *LinkRepositoryToObjectPoolRequest) ProtoReflect() protoreflect.Message
- func (x *LinkRepositoryToObjectPoolRequest) Reset()
- func (x *LinkRepositoryToObjectPoolRequest) String() string
- type LinkRepositoryToObjectPoolResponse
- func (*LinkRepositoryToObjectPoolResponse) Descriptor() ([]byte, []int)deprecated
- func (*LinkRepositoryToObjectPoolResponse) ProtoMessage()
- func (x *LinkRepositoryToObjectPoolResponse) ProtoReflect() protoreflect.Message
- func (x *LinkRepositoryToObjectPoolResponse) Reset()
- func (x *LinkRepositoryToObjectPoolResponse) String() string
- type ListAllBlobsRequest
- func (*ListAllBlobsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAllBlobsRequest) GetBytesLimit() int64
- func (x *ListAllBlobsRequest) GetLimit() uint32
- func (x *ListAllBlobsRequest) GetRepository() *Repository
- func (*ListAllBlobsRequest) ProtoMessage()
- func (x *ListAllBlobsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAllBlobsRequest) Reset()
- func (x *ListAllBlobsRequest) String() string
- type ListAllBlobsResponse
- func (*ListAllBlobsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAllBlobsResponse) GetBlobs() []*ListAllBlobsResponse_Blob
- func (*ListAllBlobsResponse) ProtoMessage()
- func (x *ListAllBlobsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAllBlobsResponse) Reset()
- func (x *ListAllBlobsResponse) String() string
- type ListAllBlobsResponse_Blob
- func (*ListAllBlobsResponse_Blob) Descriptor() ([]byte, []int)deprecated
- func (x *ListAllBlobsResponse_Blob) GetData() []byte
- func (x *ListAllBlobsResponse_Blob) GetOid() string
- func (x *ListAllBlobsResponse_Blob) GetSize() int64
- func (*ListAllBlobsResponse_Blob) ProtoMessage()
- func (x *ListAllBlobsResponse_Blob) ProtoReflect() protoreflect.Message
- func (x *ListAllBlobsResponse_Blob) Reset()
- func (x *ListAllBlobsResponse_Blob) String() string
- type ListAllCommitsRequest
- func (*ListAllCommitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAllCommitsRequest) GetPaginationParams() *PaginationParameter
- func (x *ListAllCommitsRequest) GetRepository() *Repository
- func (*ListAllCommitsRequest) ProtoMessage()
- func (x *ListAllCommitsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAllCommitsRequest) Reset()
- func (x *ListAllCommitsRequest) String() string
- type ListAllCommitsResponse
- func (*ListAllCommitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAllCommitsResponse) GetCommits() []*GitCommit
- func (*ListAllCommitsResponse) ProtoMessage()
- func (x *ListAllCommitsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAllCommitsResponse) Reset()
- func (x *ListAllCommitsResponse) String() string
- type ListAllLFSPointersRequest
- func (*ListAllLFSPointersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAllLFSPointersRequest) GetLimit() int32
- func (x *ListAllLFSPointersRequest) GetRepository() *Repository
- func (*ListAllLFSPointersRequest) ProtoMessage()
- func (x *ListAllLFSPointersRequest) ProtoReflect() protoreflect.Message
- func (x *ListAllLFSPointersRequest) Reset()
- func (x *ListAllLFSPointersRequest) String() string
- type ListAllLFSPointersResponse
- func (*ListAllLFSPointersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAllLFSPointersResponse) GetLfsPointers() []*LFSPointer
- func (*ListAllLFSPointersResponse) ProtoMessage()
- func (x *ListAllLFSPointersResponse) ProtoReflect() protoreflect.Message
- func (x *ListAllLFSPointersResponse) Reset()
- func (x *ListAllLFSPointersResponse) String() string
- type ListBlobsRequest
- func (*ListBlobsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBlobsRequest) GetBytesLimit() int64
- func (x *ListBlobsRequest) GetLimit() uint32
- func (x *ListBlobsRequest) GetRepository() *Repository
- func (x *ListBlobsRequest) GetRevisions() []string
- func (x *ListBlobsRequest) GetWithPaths() bool
- func (*ListBlobsRequest) ProtoMessage()
- func (x *ListBlobsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBlobsRequest) Reset()
- func (x *ListBlobsRequest) String() string
- type ListBlobsResponse
- func (*ListBlobsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBlobsResponse) GetBlobs() []*ListBlobsResponse_Blob
- func (*ListBlobsResponse) ProtoMessage()
- func (x *ListBlobsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBlobsResponse) Reset()
- func (x *ListBlobsResponse) String() string
- type ListBlobsResponse_Blob
- func (*ListBlobsResponse_Blob) Descriptor() ([]byte, []int)deprecated
- func (x *ListBlobsResponse_Blob) GetData() []byte
- func (x *ListBlobsResponse_Blob) GetOid() string
- func (x *ListBlobsResponse_Blob) GetPath() []byte
- func (x *ListBlobsResponse_Blob) GetSize() int64
- func (*ListBlobsResponse_Blob) ProtoMessage()
- func (x *ListBlobsResponse_Blob) ProtoReflect() protoreflect.Message
- func (x *ListBlobsResponse_Blob) Reset()
- func (x *ListBlobsResponse_Blob) String() string
- type ListBranchNamesContainingCommitRequest
- func (*ListBranchNamesContainingCommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBranchNamesContainingCommitRequest) GetCommitId() string
- func (x *ListBranchNamesContainingCommitRequest) GetLimit() uint32
- func (x *ListBranchNamesContainingCommitRequest) GetRepository() *Repository
- func (*ListBranchNamesContainingCommitRequest) ProtoMessage()
- func (x *ListBranchNamesContainingCommitRequest) ProtoReflect() protoreflect.Message
- func (x *ListBranchNamesContainingCommitRequest) Reset()
- func (x *ListBranchNamesContainingCommitRequest) String() string
- type ListBranchNamesContainingCommitResponse
- func (*ListBranchNamesContainingCommitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBranchNamesContainingCommitResponse) GetBranchNames() [][]byte
- func (*ListBranchNamesContainingCommitResponse) ProtoMessage()
- func (x *ListBranchNamesContainingCommitResponse) ProtoReflect() protoreflect.Message
- func (x *ListBranchNamesContainingCommitResponse) Reset()
- func (x *ListBranchNamesContainingCommitResponse) String() string
- type ListCommitsByOidRequest
- func (*ListCommitsByOidRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommitsByOidRequest) GetOid() []string
- func (x *ListCommitsByOidRequest) GetRepository() *Repository
- func (*ListCommitsByOidRequest) ProtoMessage()
- func (x *ListCommitsByOidRequest) ProtoReflect() protoreflect.Message
- func (x *ListCommitsByOidRequest) Reset()
- func (x *ListCommitsByOidRequest) String() string
- type ListCommitsByOidResponse
- func (*ListCommitsByOidResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommitsByOidResponse) GetCommits() []*GitCommit
- func (*ListCommitsByOidResponse) ProtoMessage()
- func (x *ListCommitsByOidResponse) ProtoReflect() protoreflect.Message
- func (x *ListCommitsByOidResponse) Reset()
- func (x *ListCommitsByOidResponse) String() string
- type ListCommitsByRefNameRequest
- func (*ListCommitsByRefNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommitsByRefNameRequest) GetRefNames() [][]byte
- func (x *ListCommitsByRefNameRequest) GetRepository() *Repository
- func (*ListCommitsByRefNameRequest) ProtoMessage()
- func (x *ListCommitsByRefNameRequest) ProtoReflect() protoreflect.Message
- func (x *ListCommitsByRefNameRequest) Reset()
- func (x *ListCommitsByRefNameRequest) String() string
- type ListCommitsByRefNameResponse
- func (*ListCommitsByRefNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommitsByRefNameResponse) GetCommitRefs() []*ListCommitsByRefNameResponse_CommitForRef
- func (*ListCommitsByRefNameResponse) ProtoMessage()
- func (x *ListCommitsByRefNameResponse) ProtoReflect() protoreflect.Message
- func (x *ListCommitsByRefNameResponse) Reset()
- func (x *ListCommitsByRefNameResponse) String() string
- type ListCommitsByRefNameResponse_CommitForRef
- func (*ListCommitsByRefNameResponse_CommitForRef) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommitsByRefNameResponse_CommitForRef) GetCommit() *GitCommit
- func (x *ListCommitsByRefNameResponse_CommitForRef) GetRefName() []byte
- func (*ListCommitsByRefNameResponse_CommitForRef) ProtoMessage()
- func (x *ListCommitsByRefNameResponse_CommitForRef) ProtoReflect() protoreflect.Message
- func (x *ListCommitsByRefNameResponse_CommitForRef) Reset()
- func (x *ListCommitsByRefNameResponse_CommitForRef) String() string
- type ListCommitsRequest
- func (*ListCommitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommitsRequest) GetAfter() *timestamppb.Timestamp
- func (x *ListCommitsRequest) GetAuthor() []byte
- func (x *ListCommitsRequest) GetBefore() *timestamppb.Timestamp
- func (x *ListCommitsRequest) GetCommitMessagePatterns() [][]byte
- func (x *ListCommitsRequest) GetDisableWalk() bool
- func (x *ListCommitsRequest) GetFirstParent() bool
- func (x *ListCommitsRequest) GetIgnoreCase() bool
- func (x *ListCommitsRequest) GetMaxParents() uint32
- func (x *ListCommitsRequest) GetOrder() ListCommitsRequest_Order
- func (x *ListCommitsRequest) GetPaginationParams() *PaginationParameter
- func (x *ListCommitsRequest) GetRepository() *Repository
- func (x *ListCommitsRequest) GetReverse() bool
- func (x *ListCommitsRequest) GetRevisions() []string
- func (*ListCommitsRequest) ProtoMessage()
- func (x *ListCommitsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCommitsRequest) Reset()
- func (x *ListCommitsRequest) String() string
- type ListCommitsRequest_Order
- func (ListCommitsRequest_Order) Descriptor() protoreflect.EnumDescriptor
- func (x ListCommitsRequest_Order) Enum() *ListCommitsRequest_Order
- func (ListCommitsRequest_Order) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListCommitsRequest_Order) Number() protoreflect.EnumNumber
- func (x ListCommitsRequest_Order) String() string
- func (ListCommitsRequest_Order) Type() protoreflect.EnumType
- type ListCommitsResponse
- func (*ListCommitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommitsResponse) GetCommits() []*GitCommit
- func (*ListCommitsResponse) ProtoMessage()
- func (x *ListCommitsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCommitsResponse) Reset()
- func (x *ListCommitsResponse) String() string
- type ListConflictFilesRequest
- func (*ListConflictFilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListConflictFilesRequest) GetAllowTreeConflicts() bool
- func (x *ListConflictFilesRequest) GetOurCommitOid() string
- func (x *ListConflictFilesRequest) GetRepository() *Repository
- func (x *ListConflictFilesRequest) GetSkipContent() bool
- func (x *ListConflictFilesRequest) GetTheirCommitOid() string
- func (*ListConflictFilesRequest) ProtoMessage()
- func (x *ListConflictFilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListConflictFilesRequest) Reset()
- func (x *ListConflictFilesRequest) String() string
- type ListConflictFilesResponse
- func (*ListConflictFilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListConflictFilesResponse) GetFiles() []*ConflictFile
- func (*ListConflictFilesResponse) ProtoMessage()
- func (x *ListConflictFilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListConflictFilesResponse) Reset()
- func (x *ListConflictFilesResponse) String() string
- type ListFilesRequest
- func (*ListFilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFilesRequest) GetRepository() *Repository
- func (x *ListFilesRequest) GetRevision() []byte
- func (*ListFilesRequest) ProtoMessage()
- func (x *ListFilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListFilesRequest) Reset()
- func (x *ListFilesRequest) String() string
- type ListFilesResponse
- type ListLFSPointersRequest
- func (*ListLFSPointersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListLFSPointersRequest) GetLimit() int32
- func (x *ListLFSPointersRequest) GetRepository() *Repository
- func (x *ListLFSPointersRequest) GetRevisions() []string
- func (*ListLFSPointersRequest) ProtoMessage()
- func (x *ListLFSPointersRequest) ProtoReflect() protoreflect.Message
- func (x *ListLFSPointersRequest) Reset()
- func (x *ListLFSPointersRequest) String() string
- type ListLFSPointersResponse
- func (*ListLFSPointersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListLFSPointersResponse) GetLfsPointers() []*LFSPointer
- func (*ListLFSPointersResponse) ProtoMessage()
- func (x *ListLFSPointersResponse) ProtoReflect() protoreflect.Message
- func (x *ListLFSPointersResponse) Reset()
- func (x *ListLFSPointersResponse) String() string
- type ListLastCommitsForTreeRequest
- func (*ListLastCommitsForTreeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListLastCommitsForTreeRequest) GetGlobalOptions() *GlobalOptions
- func (x *ListLastCommitsForTreeRequest) GetLimit() int32
- func (x *ListLastCommitsForTreeRequest) GetLiteralPathspec() booldeprecated
- func (x *ListLastCommitsForTreeRequest) GetOffset() int32
- func (x *ListLastCommitsForTreeRequest) GetPath() []byte
- func (x *ListLastCommitsForTreeRequest) GetRepository() *Repository
- func (x *ListLastCommitsForTreeRequest) GetRevision() string
- func (*ListLastCommitsForTreeRequest) ProtoMessage()
- func (x *ListLastCommitsForTreeRequest) ProtoReflect() protoreflect.Message
- func (x *ListLastCommitsForTreeRequest) Reset()
- func (x *ListLastCommitsForTreeRequest) String() string
- type ListLastCommitsForTreeResponse
- func (*ListLastCommitsForTreeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListLastCommitsForTreeResponse) GetCommits() []*ListLastCommitsForTreeResponse_CommitForTree
- func (*ListLastCommitsForTreeResponse) ProtoMessage()
- func (x *ListLastCommitsForTreeResponse) ProtoReflect() protoreflect.Message
- func (x *ListLastCommitsForTreeResponse) Reset()
- func (x *ListLastCommitsForTreeResponse) String() string
- type ListLastCommitsForTreeResponse_CommitForTree
- func (*ListLastCommitsForTreeResponse_CommitForTree) Descriptor() ([]byte, []int)deprecated
- func (x *ListLastCommitsForTreeResponse_CommitForTree) GetCommit() *GitCommit
- func (x *ListLastCommitsForTreeResponse_CommitForTree) GetPathBytes() []byte
- func (*ListLastCommitsForTreeResponse_CommitForTree) ProtoMessage()
- func (x *ListLastCommitsForTreeResponse_CommitForTree) ProtoReflect() protoreflect.Message
- func (x *ListLastCommitsForTreeResponse_CommitForTree) Reset()
- func (x *ListLastCommitsForTreeResponse_CommitForTree) String() string
- type ListRefsRequest
- func (*ListRefsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRefsRequest) GetHead() bool
- func (x *ListRefsRequest) GetPatterns() [][]byte
- func (x *ListRefsRequest) GetPeelTags() bool
- func (x *ListRefsRequest) GetPointingAtOids() [][]byte
- func (x *ListRefsRequest) GetRepository() *Repository
- func (x *ListRefsRequest) GetSortBy() *ListRefsRequest_SortBy
- func (*ListRefsRequest) ProtoMessage()
- func (x *ListRefsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRefsRequest) Reset()
- func (x *ListRefsRequest) String() string
- type ListRefsRequest_SortBy
- func (*ListRefsRequest_SortBy) Descriptor() ([]byte, []int)deprecated
- func (x *ListRefsRequest_SortBy) GetDirection() SortDirection
- func (x *ListRefsRequest_SortBy) GetKey() ListRefsRequest_SortBy_Key
- func (*ListRefsRequest_SortBy) ProtoMessage()
- func (x *ListRefsRequest_SortBy) ProtoReflect() protoreflect.Message
- func (x *ListRefsRequest_SortBy) Reset()
- func (x *ListRefsRequest_SortBy) String() string
- type ListRefsRequest_SortBy_Key
- func (ListRefsRequest_SortBy_Key) Descriptor() protoreflect.EnumDescriptor
- func (x ListRefsRequest_SortBy_Key) Enum() *ListRefsRequest_SortBy_Key
- func (ListRefsRequest_SortBy_Key) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListRefsRequest_SortBy_Key) Number() protoreflect.EnumNumber
- func (x ListRefsRequest_SortBy_Key) String() string
- func (ListRefsRequest_SortBy_Key) Type() protoreflect.EnumType
- type ListRefsResponse
- func (*ListRefsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRefsResponse) GetReferences() []*ListRefsResponse_Reference
- func (*ListRefsResponse) ProtoMessage()
- func (x *ListRefsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRefsResponse) Reset()
- func (x *ListRefsResponse) String() string
- type ListRefsResponse_Reference
- func (*ListRefsResponse_Reference) Descriptor() ([]byte, []int)deprecated
- func (x *ListRefsResponse_Reference) GetName() []byte
- func (x *ListRefsResponse_Reference) GetPeeledTarget() string
- func (x *ListRefsResponse_Reference) GetTarget() string
- func (*ListRefsResponse_Reference) ProtoMessage()
- func (x *ListRefsResponse_Reference) ProtoReflect() protoreflect.Message
- func (x *ListRefsResponse_Reference) Reset()
- func (x *ListRefsResponse_Reference) String() string
- type ListTagNamesContainingCommitRequest
- func (*ListTagNamesContainingCommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagNamesContainingCommitRequest) GetCommitId() string
- func (x *ListTagNamesContainingCommitRequest) GetLimit() uint32
- func (x *ListTagNamesContainingCommitRequest) GetRepository() *Repository
- func (*ListTagNamesContainingCommitRequest) ProtoMessage()
- func (x *ListTagNamesContainingCommitRequest) ProtoReflect() protoreflect.Message
- func (x *ListTagNamesContainingCommitRequest) Reset()
- func (x *ListTagNamesContainingCommitRequest) String() string
- type ListTagNamesContainingCommitResponse
- func (*ListTagNamesContainingCommitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagNamesContainingCommitResponse) GetTagNames() [][]byte
- func (*ListTagNamesContainingCommitResponse) ProtoMessage()
- func (x *ListTagNamesContainingCommitResponse) ProtoReflect() protoreflect.Message
- func (x *ListTagNamesContainingCommitResponse) Reset()
- func (x *ListTagNamesContainingCommitResponse) String() string
- type LoadBalancingConfig
- func (*LoadBalancingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancingConfig) GetPickFirst() *PickFirstConfig
- func (m *LoadBalancingConfig) GetPolicy() isLoadBalancingConfig_Policy
- func (x *LoadBalancingConfig) GetRoundRobin() *RoundRobinConfig
- func (*LoadBalancingConfig) ProtoMessage()
- func (x *LoadBalancingConfig) ProtoReflect() protoreflect.Message
- func (x *LoadBalancingConfig) Reset()
- func (x *LoadBalancingConfig) String() string
- type LoadBalancingConfig_PickFirst
- type LoadBalancingConfig_RoundRobin
- type LogEntry
- func (*LogEntry) Descriptor() ([]byte, []int)deprecated
- func (x *LogEntry) GetCustomHooksUpdate() *LogEntry_CustomHooksUpdate
- func (x *LogEntry) GetDefaultBranchUpdate() *LogEntry_DefaultBranchUpdate
- func (x *LogEntry) GetPackPrefix() string
- func (x *LogEntry) GetReferenceUpdates() []*LogEntry_ReferenceUpdate
- func (x *LogEntry) GetRelativePath() string
- func (x *LogEntry) GetRepositoryDeletion() *LogEntry_RepositoryDeletion
- func (*LogEntry) ProtoMessage()
- func (x *LogEntry) ProtoReflect() protoreflect.Message
- func (x *LogEntry) Reset()
- func (x *LogEntry) String() string
- type LogEntry_CustomHooksUpdate
- func (*LogEntry_CustomHooksUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *LogEntry_CustomHooksUpdate) GetCustomHooksTar() []byte
- func (*LogEntry_CustomHooksUpdate) ProtoMessage()
- func (x *LogEntry_CustomHooksUpdate) ProtoReflect() protoreflect.Message
- func (x *LogEntry_CustomHooksUpdate) Reset()
- func (x *LogEntry_CustomHooksUpdate) String() string
- type LogEntry_DefaultBranchUpdate
- func (*LogEntry_DefaultBranchUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *LogEntry_DefaultBranchUpdate) GetReferenceName() []byte
- func (*LogEntry_DefaultBranchUpdate) ProtoMessage()
- func (x *LogEntry_DefaultBranchUpdate) ProtoReflect() protoreflect.Message
- func (x *LogEntry_DefaultBranchUpdate) Reset()
- func (x *LogEntry_DefaultBranchUpdate) String() string
- type LogEntry_ReferenceUpdate
- func (*LogEntry_ReferenceUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *LogEntry_ReferenceUpdate) GetNewOid() []byte
- func (x *LogEntry_ReferenceUpdate) GetReferenceName() []byte
- func (*LogEntry_ReferenceUpdate) ProtoMessage()
- func (x *LogEntry_ReferenceUpdate) ProtoReflect() protoreflect.Message
- func (x *LogEntry_ReferenceUpdate) Reset()
- func (x *LogEntry_ReferenceUpdate) String() string
- type LogEntry_RepositoryDeletion
- type LogIndex
- type MarkUnverifiedRequest
- func (*MarkUnverifiedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MarkUnverifiedRequest) GetRepositoryId() int64
- func (m *MarkUnverifiedRequest) GetSelector() isMarkUnverifiedRequest_Selector
- func (x *MarkUnverifiedRequest) GetStorage() *MarkUnverifiedRequest_Storage
- func (x *MarkUnverifiedRequest) GetVirtualStorage() string
- func (*MarkUnverifiedRequest) ProtoMessage()
- func (x *MarkUnverifiedRequest) ProtoReflect() protoreflect.Message
- func (x *MarkUnverifiedRequest) Reset()
- func (x *MarkUnverifiedRequest) String() string
- type MarkUnverifiedRequest_RepositoryId
- type MarkUnverifiedRequest_Storage
- func (*MarkUnverifiedRequest_Storage) Descriptor() ([]byte, []int)deprecated
- func (x *MarkUnverifiedRequest_Storage) GetStorage() string
- func (x *MarkUnverifiedRequest_Storage) GetVirtualStorage() string
- func (*MarkUnverifiedRequest_Storage) ProtoMessage()
- func (x *MarkUnverifiedRequest_Storage) ProtoReflect() protoreflect.Message
- func (x *MarkUnverifiedRequest_Storage) Reset()
- func (x *MarkUnverifiedRequest_Storage) String() string
- type MarkUnverifiedRequest_Storage_
- type MarkUnverifiedRequest_VirtualStorage
- type MarkUnverifiedResponse
- func (*MarkUnverifiedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MarkUnverifiedResponse) GetReplicasMarked() int64
- func (*MarkUnverifiedResponse) ProtoMessage()
- func (x *MarkUnverifiedResponse) ProtoReflect() protoreflect.Message
- func (x *MarkUnverifiedResponse) Reset()
- func (x *MarkUnverifiedResponse) String() string
- type MergeConflictError
- func (*MergeConflictError) Descriptor() ([]byte, []int)deprecated
- func (x *MergeConflictError) GetConflictingCommitIds() []string
- func (x *MergeConflictError) GetConflictingFiles() [][]byte
- func (*MergeConflictError) ProtoMessage()
- func (x *MergeConflictError) ProtoReflect() protoreflect.Message
- func (x *MergeConflictError) Reset()
- func (x *MergeConflictError) String() string
- type MethodConfig
- func (*MethodConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MethodConfig) GetMaxRequestMessageBytes() *wrapperspb.UInt32Value
- func (x *MethodConfig) GetMaxResponseMessageBytes() *wrapperspb.UInt32Value
- func (x *MethodConfig) GetName() []*MethodConfig_Name
- func (x *MethodConfig) GetRetryPolicy() *MethodConfig_RetryPolicy
- func (x *MethodConfig) GetTimeout() *durationpb.Duration
- func (x *MethodConfig) GetWaitForReady() *wrapperspb.BoolValue
- func (*MethodConfig) ProtoMessage()
- func (x *MethodConfig) ProtoReflect() protoreflect.Message
- func (x *MethodConfig) Reset()
- func (x *MethodConfig) String() string
- type MethodConfig_Name
- func (*MethodConfig_Name) Descriptor() ([]byte, []int)deprecated
- func (x *MethodConfig_Name) GetMethod() string
- func (x *MethodConfig_Name) GetService() string
- func (*MethodConfig_Name) ProtoMessage()
- func (x *MethodConfig_Name) ProtoReflect() protoreflect.Message
- func (x *MethodConfig_Name) Reset()
- func (x *MethodConfig_Name) String() string
- type MethodConfig_RetryPolicy
- func (*MethodConfig_RetryPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *MethodConfig_RetryPolicy) GetBackoffMultiplier() float32
- func (x *MethodConfig_RetryPolicy) GetInitialBackoff() *durationpb.Duration
- func (x *MethodConfig_RetryPolicy) GetMaxAttempts() uint32
- func (x *MethodConfig_RetryPolicy) GetMaxBackoff() *durationpb.Duration
- func (x *MethodConfig_RetryPolicy) GetRetryableStatusCodes() []string
- func (*MethodConfig_RetryPolicy) ProtoMessage()
- func (x *MethodConfig_RetryPolicy) ProtoReflect() protoreflect.Message
- func (x *MethodConfig_RetryPolicy) Reset()
- func (x *MethodConfig_RetryPolicy) String() string
- type NamespaceExistsRequest
- func (*NamespaceExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceExistsRequest) GetName() string
- func (x *NamespaceExistsRequest) GetStorageName() string
- func (*NamespaceExistsRequest) ProtoMessage()
- func (x *NamespaceExistsRequest) ProtoReflect() protoreflect.Message
- func (x *NamespaceExistsRequest) Reset()
- func (x *NamespaceExistsRequest) String() string
- type NamespaceExistsResponse
- func (*NamespaceExistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceExistsResponse) GetExists() bool
- func (*NamespaceExistsResponse) ProtoMessage()
- func (x *NamespaceExistsResponse) ProtoReflect() protoreflect.Message
- func (x *NamespaceExistsResponse) Reset()
- func (x *NamespaceExistsResponse) String() string
- type NamespaceServiceClient
- type NamespaceServiceServer
- type NotAncestorError
- func (*NotAncestorError) Descriptor() ([]byte, []int)deprecated
- func (x *NotAncestorError) GetChildRevision() []byte
- func (x *NotAncestorError) GetParentRevision() []byte
- func (*NotAncestorError) ProtoMessage()
- func (x *NotAncestorError) ProtoReflect() protoreflect.Message
- func (x *NotAncestorError) Reset()
- func (x *NotAncestorError) String() string
- type ObjectFormat
- func (ObjectFormat) Descriptor() protoreflect.EnumDescriptor
- func (x ObjectFormat) Enum() *ObjectFormat
- func (ObjectFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x ObjectFormat) Number() protoreflect.EnumNumber
- func (x ObjectFormat) String() string
- func (ObjectFormat) Type() protoreflect.EnumType
- type ObjectFormatRequest
- func (*ObjectFormatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectFormatRequest) GetRepository() *Repository
- func (*ObjectFormatRequest) ProtoMessage()
- func (x *ObjectFormatRequest) ProtoReflect() protoreflect.Message
- func (x *ObjectFormatRequest) Reset()
- func (x *ObjectFormatRequest) String() string
- type ObjectFormatResponse
- func (*ObjectFormatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectFormatResponse) GetFormat() ObjectFormat
- func (*ObjectFormatResponse) ProtoMessage()
- func (x *ObjectFormatResponse) ProtoReflect() protoreflect.Message
- func (x *ObjectFormatResponse) Reset()
- func (x *ObjectFormatResponse) String() string
- type ObjectPool
- type ObjectPoolServiceClient
- type ObjectPoolServiceServer
- type ObjectType
- type ObjectsSizeRequest
- func (*ObjectsSizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectsSizeRequest) GetRepository() *Repository
- func (x *ObjectsSizeRequest) GetRevisions() [][]byte
- func (*ObjectsSizeRequest) ProtoMessage()
- func (x *ObjectsSizeRequest) ProtoReflect() protoreflect.Message
- func (x *ObjectsSizeRequest) Reset()
- func (x *ObjectsSizeRequest) String() string
- type ObjectsSizeResponse
- func (*ObjectsSizeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectsSizeResponse) GetSize() uint64
- func (*ObjectsSizeResponse) ProtoMessage()
- func (x *ObjectsSizeResponse) ProtoReflect() protoreflect.Message
- func (x *ObjectsSizeResponse) Reset()
- func (x *ObjectsSizeResponse) String() string
- type OperationBranchUpdate
- func (*OperationBranchUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *OperationBranchUpdate) GetBranchCreated() bool
- func (x *OperationBranchUpdate) GetCommitId() string
- func (x *OperationBranchUpdate) GetRepoCreated() bool
- func (*OperationBranchUpdate) ProtoMessage()
- func (x *OperationBranchUpdate) ProtoReflect() protoreflect.Message
- func (x *OperationBranchUpdate) Reset()
- func (x *OperationBranchUpdate) String() string
- type OperationMsg
- func (*OperationMsg) Descriptor() ([]byte, []int)deprecated
- func (x *OperationMsg) GetOp() OperationMsg_Operation
- func (x *OperationMsg) GetScopeLevel() OperationMsg_Scope
- func (*OperationMsg) ProtoMessage()
- func (x *OperationMsg) ProtoReflect() protoreflect.Message
- func (x *OperationMsg) Reset()
- func (x *OperationMsg) String() string
- type OperationMsg_Operation
- func (OperationMsg_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x OperationMsg_Operation) Enum() *OperationMsg_Operation
- func (OperationMsg_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperationMsg_Operation) Number() protoreflect.EnumNumber
- func (x OperationMsg_Operation) String() string
- func (OperationMsg_Operation) Type() protoreflect.EnumType
- type OperationMsg_Scope
- func (OperationMsg_Scope) Descriptor() protoreflect.EnumDescriptor
- func (x OperationMsg_Scope) Enum() *OperationMsg_Scope
- func (OperationMsg_Scope) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperationMsg_Scope) Number() protoreflect.EnumNumber
- func (x OperationMsg_Scope) String() string
- func (OperationMsg_Scope) Type() protoreflect.EnumType
- type OperationServiceClient
- type OperationServiceServer
- type OperationService_UserApplyPatchClient
- type OperationService_UserApplyPatchServer
- type OperationService_UserCommitFilesClient
- type OperationService_UserCommitFilesServer
- type OperationService_UserMergeBranchClient
- type OperationService_UserMergeBranchServer
- type OperationService_UserRebaseConfirmableClient
- type OperationService_UserRebaseConfirmableServer
- type OptimizeRepositoryRequest
- func (*OptimizeRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OptimizeRepositoryRequest) GetRepository() *Repository
- func (x *OptimizeRepositoryRequest) GetStrategy() OptimizeRepositoryRequest_Strategy
- func (*OptimizeRepositoryRequest) ProtoMessage()
- func (x *OptimizeRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *OptimizeRepositoryRequest) Reset()
- func (x *OptimizeRepositoryRequest) String() string
- type OptimizeRepositoryRequest_Strategy
- func (OptimizeRepositoryRequest_Strategy) Descriptor() protoreflect.EnumDescriptor
- func (x OptimizeRepositoryRequest_Strategy) Enum() *OptimizeRepositoryRequest_Strategy
- func (OptimizeRepositoryRequest_Strategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x OptimizeRepositoryRequest_Strategy) Number() protoreflect.EnumNumber
- func (x OptimizeRepositoryRequest_Strategy) String() string
- func (OptimizeRepositoryRequest_Strategy) Type() protoreflect.EnumType
- type OptimizeRepositoryResponse
- type PackObjectsHookWithSidechannelRequest
- func (*PackObjectsHookWithSidechannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PackObjectsHookWithSidechannelRequest) GetArgs() []string
- func (x *PackObjectsHookWithSidechannelRequest) GetGitProtocol() string
- func (x *PackObjectsHookWithSidechannelRequest) GetGlId() string
- func (x *PackObjectsHookWithSidechannelRequest) GetGlUsername() string
- func (x *PackObjectsHookWithSidechannelRequest) GetRemoteIp() string
- func (x *PackObjectsHookWithSidechannelRequest) GetRepository() *Repository
- func (*PackObjectsHookWithSidechannelRequest) ProtoMessage()
- func (x *PackObjectsHookWithSidechannelRequest) ProtoReflect() protoreflect.Message
- func (x *PackObjectsHookWithSidechannelRequest) Reset()
- func (x *PackObjectsHookWithSidechannelRequest) String() string
- type PackObjectsHookWithSidechannelResponse
- func (*PackObjectsHookWithSidechannelResponse) Descriptor() ([]byte, []int)deprecated
- func (*PackObjectsHookWithSidechannelResponse) ProtoMessage()
- func (x *PackObjectsHookWithSidechannelResponse) ProtoReflect() protoreflect.Message
- func (x *PackObjectsHookWithSidechannelResponse) Reset()
- func (x *PackObjectsHookWithSidechannelResponse) String() string
- type PackfileNegotiationStatistics
- func (*PackfileNegotiationStatistics) Descriptor() ([]byte, []int)deprecated
- func (x *PackfileNegotiationStatistics) GetCaps() []string
- func (x *PackfileNegotiationStatistics) GetDeepen() string
- func (x *PackfileNegotiationStatistics) GetFilter() string
- func (x *PackfileNegotiationStatistics) GetHaves() int64
- func (x *PackfileNegotiationStatistics) GetPackets() int64
- func (x *PackfileNegotiationStatistics) GetPayloadSize() int64
- func (x *PackfileNegotiationStatistics) GetShallows() int64
- func (x *PackfileNegotiationStatistics) GetWants() int64
- func (*PackfileNegotiationStatistics) ProtoMessage()
- func (x *PackfileNegotiationStatistics) ProtoReflect() protoreflect.Message
- func (x *PackfileNegotiationStatistics) Reset()
- func (x *PackfileNegotiationStatistics) String() string
- type PaginationCursor
- type PaginationParameter
- func (*PaginationParameter) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationParameter) GetLimit() int32
- func (x *PaginationParameter) GetPageToken() string
- func (*PaginationParameter) ProtoMessage()
- func (x *PaginationParameter) ProtoReflect() protoreflect.Message
- func (x *PaginationParameter) Reset()
- func (x *PaginationParameter) String() string
- type PathError
- func (*PathError) Descriptor() ([]byte, []int)deprecated
- func (x *PathError) GetErrorType() PathError_ErrorType
- func (x *PathError) GetPath() []byte
- func (*PathError) ProtoMessage()
- func (x *PathError) ProtoReflect() protoreflect.Message
- func (x *PathError) Reset()
- func (x *PathError) String() string
- type PathError_ErrorType
- func (PathError_ErrorType) Descriptor() protoreflect.EnumDescriptor
- func (x PathError_ErrorType) Enum() *PathError_ErrorType
- func (PathError_ErrorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PathError_ErrorType) Number() protoreflect.EnumNumber
- func (x PathError_ErrorType) String() string
- func (PathError_ErrorType) Type() protoreflect.EnumType
- type PathNotFoundError
- type PickFirstConfig
- type PostReceiveHookRequest
- func (*PostReceiveHookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PostReceiveHookRequest) GetEnvironmentVariables() []string
- func (x *PostReceiveHookRequest) GetGitPushOptions() []string
- func (x *PostReceiveHookRequest) GetRepository() *Repository
- func (x *PostReceiveHookRequest) GetStdin() []byte
- func (*PostReceiveHookRequest) ProtoMessage()
- func (x *PostReceiveHookRequest) ProtoReflect() protoreflect.Message
- func (x *PostReceiveHookRequest) Reset()
- func (x *PostReceiveHookRequest) String() string
- type PostReceiveHookResponse
- func (*PostReceiveHookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PostReceiveHookResponse) GetExitStatus() *ExitStatus
- func (x *PostReceiveHookResponse) GetStderr() []byte
- func (x *PostReceiveHookResponse) GetStdout() []byte
- func (*PostReceiveHookResponse) ProtoMessage()
- func (x *PostReceiveHookResponse) ProtoReflect() protoreflect.Message
- func (x *PostReceiveHookResponse) Reset()
- func (x *PostReceiveHookResponse) String() string
- type PostReceivePackRequest
- func (*PostReceivePackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PostReceivePackRequest) GetData() []byte
- func (x *PostReceivePackRequest) GetGitConfigOptions() []string
- func (x *PostReceivePackRequest) GetGitProtocol() string
- func (x *PostReceivePackRequest) GetGlId() string
- func (x *PostReceivePackRequest) GetGlRepository() string
- func (x *PostReceivePackRequest) GetGlUsername() string
- func (x *PostReceivePackRequest) GetRepository() *Repository
- func (*PostReceivePackRequest) ProtoMessage()
- func (x *PostReceivePackRequest) ProtoReflect() protoreflect.Message
- func (x *PostReceivePackRequest) Reset()
- func (x *PostReceivePackRequest) String() string
- type PostReceivePackResponse
- func (*PostReceivePackResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PostReceivePackResponse) GetData() []byte
- func (*PostReceivePackResponse) ProtoMessage()
- func (x *PostReceivePackResponse) ProtoReflect() protoreflect.Message
- func (x *PostReceivePackResponse) Reset()
- func (x *PostReceivePackResponse) String() string
- type PostUploadPackWithSidechannelRequest
- func (*PostUploadPackWithSidechannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PostUploadPackWithSidechannelRequest) GetGitConfigOptions() []string
- func (x *PostUploadPackWithSidechannelRequest) GetGitProtocol() string
- func (x *PostUploadPackWithSidechannelRequest) GetRepository() *Repository
- func (*PostUploadPackWithSidechannelRequest) ProtoMessage()
- func (x *PostUploadPackWithSidechannelRequest) ProtoReflect() protoreflect.Message
- func (x *PostUploadPackWithSidechannelRequest) Reset()
- func (x *PostUploadPackWithSidechannelRequest) String() string
- type PostUploadPackWithSidechannelResponse
- func (*PostUploadPackWithSidechannelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PostUploadPackWithSidechannelResponse) GetPackfileNegotiationStatistics() *PackfileNegotiationStatistics
- func (*PostUploadPackWithSidechannelResponse) ProtoMessage()
- func (x *PostUploadPackWithSidechannelResponse) ProtoReflect() protoreflect.Message
- func (x *PostUploadPackWithSidechannelResponse) Reset()
- func (x *PostUploadPackWithSidechannelResponse) String() string
- type PraefectInfoServiceClient
- type PraefectInfoServiceServer
- type PraefectInfoService_DatalossClient
- type PraefectInfoService_DatalossServer
- type PreReceiveHookRequest
- func (*PreReceiveHookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PreReceiveHookRequest) GetEnvironmentVariables() []string
- func (x *PreReceiveHookRequest) GetGitPushOptions() []string
- func (x *PreReceiveHookRequest) GetRepository() *Repository
- func (x *PreReceiveHookRequest) GetStdin() []byte
- func (*PreReceiveHookRequest) ProtoMessage()
- func (x *PreReceiveHookRequest) ProtoReflect() protoreflect.Message
- func (x *PreReceiveHookRequest) Reset()
- func (x *PreReceiveHookRequest) String() string
- type PreReceiveHookResponse
- func (*PreReceiveHookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PreReceiveHookResponse) GetExitStatus() *ExitStatus
- func (x *PreReceiveHookResponse) GetStderr() []byte
- func (x *PreReceiveHookResponse) GetStdout() []byte
- func (*PreReceiveHookResponse) ProtoMessage()
- func (x *PreReceiveHookResponse) ProtoReflect() protoreflect.Message
- func (x *PreReceiveHookResponse) Reset()
- func (x *PreReceiveHookResponse) String() string
- type PruneUnreachableObjectsRequest
- func (*PruneUnreachableObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PruneUnreachableObjectsRequest) GetRepository() *Repository
- func (*PruneUnreachableObjectsRequest) ProtoMessage()
- func (x *PruneUnreachableObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *PruneUnreachableObjectsRequest) Reset()
- func (x *PruneUnreachableObjectsRequest) String() string
- type PruneUnreachableObjectsResponse
- func (*PruneUnreachableObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (*PruneUnreachableObjectsResponse) ProtoMessage()
- func (x *PruneUnreachableObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *PruneUnreachableObjectsResponse) Reset()
- func (x *PruneUnreachableObjectsResponse) String() string
- type RawBlameError
- func (*RawBlameError) Descriptor() ([]byte, []int)deprecated
- func (m *RawBlameError) GetError() isRawBlameError_Error
- func (x *RawBlameError) GetOutOfRange() *RawBlameError_OutOfRangeError
- func (x *RawBlameError) GetPathNotFound() *PathNotFoundError
- func (*RawBlameError) ProtoMessage()
- func (x *RawBlameError) ProtoReflect() protoreflect.Message
- func (x *RawBlameError) Reset()
- func (x *RawBlameError) String() string
- type RawBlameError_OutOfRange
- type RawBlameError_OutOfRangeError
- func (*RawBlameError_OutOfRangeError) Descriptor() ([]byte, []int)deprecated
- func (x *RawBlameError_OutOfRangeError) GetActualLines() uint64
- func (*RawBlameError_OutOfRangeError) ProtoMessage()
- func (x *RawBlameError_OutOfRangeError) ProtoReflect() protoreflect.Message
- func (x *RawBlameError_OutOfRangeError) Reset()
- func (x *RawBlameError_OutOfRangeError) String() string
- type RawBlameError_PathNotFound
- type RawBlameRequest
- func (*RawBlameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RawBlameRequest) GetPath() []byte
- func (x *RawBlameRequest) GetRange() []byte
- func (x *RawBlameRequest) GetRepository() *Repository
- func (x *RawBlameRequest) GetRevision() []byte
- func (*RawBlameRequest) ProtoMessage()
- func (x *RawBlameRequest) ProtoReflect() protoreflect.Message
- func (x *RawBlameRequest) Reset()
- func (x *RawBlameRequest) String() string
- type RawBlameResponse
- type RawDiffRequest
- func (*RawDiffRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RawDiffRequest) GetLeftCommitId() string
- func (x *RawDiffRequest) GetRepository() *Repository
- func (x *RawDiffRequest) GetRightCommitId() string
- func (*RawDiffRequest) ProtoMessage()
- func (x *RawDiffRequest) ProtoReflect() protoreflect.Message
- func (x *RawDiffRequest) Reset()
- func (x *RawDiffRequest) String() string
- type RawDiffResponse
- type RawPatchRequest
- func (*RawPatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RawPatchRequest) GetLeftCommitId() string
- func (x *RawPatchRequest) GetRepository() *Repository
- func (x *RawPatchRequest) GetRightCommitId() string
- func (*RawPatchRequest) ProtoMessage()
- func (x *RawPatchRequest) ProtoReflect() protoreflect.Message
- func (x *RawPatchRequest) Reset()
- func (x *RawPatchRequest) String() string
- type RawPatchResponse
- type ReadinessCheckRequest
- func (*ReadinessCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadinessCheckRequest) GetTimeout() *durationpb.Duration
- func (*ReadinessCheckRequest) ProtoMessage()
- func (x *ReadinessCheckRequest) ProtoReflect() protoreflect.Message
- func (x *ReadinessCheckRequest) Reset()
- func (x *ReadinessCheckRequest) String() string
- type ReadinessCheckResponse
- func (*ReadinessCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadinessCheckResponse) GetFailureResponse() *ReadinessCheckResponse_Failure
- func (x *ReadinessCheckResponse) GetOkResponse() *ReadinessCheckResponse_Ok
- func (m *ReadinessCheckResponse) GetResult() isReadinessCheckResponse_Result
- func (*ReadinessCheckResponse) ProtoMessage()
- func (x *ReadinessCheckResponse) ProtoReflect() protoreflect.Message
- func (x *ReadinessCheckResponse) Reset()
- func (x *ReadinessCheckResponse) String() string
- type ReadinessCheckResponse_Failure
- func (*ReadinessCheckResponse_Failure) Descriptor() ([]byte, []int)deprecated
- func (x *ReadinessCheckResponse_Failure) GetFailedChecks() []*ReadinessCheckResponse_Failure_Response
- func (*ReadinessCheckResponse_Failure) ProtoMessage()
- func (x *ReadinessCheckResponse_Failure) ProtoReflect() protoreflect.Message
- func (x *ReadinessCheckResponse_Failure) Reset()
- func (x *ReadinessCheckResponse_Failure) String() string
- type ReadinessCheckResponse_FailureResponse
- type ReadinessCheckResponse_Failure_Response
- func (*ReadinessCheckResponse_Failure_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ReadinessCheckResponse_Failure_Response) GetErrorMessage() string
- func (x *ReadinessCheckResponse_Failure_Response) GetName() string
- func (*ReadinessCheckResponse_Failure_Response) ProtoMessage()
- func (x *ReadinessCheckResponse_Failure_Response) ProtoReflect() protoreflect.Message
- func (x *ReadinessCheckResponse_Failure_Response) Reset()
- func (x *ReadinessCheckResponse_Failure_Response) String() string
- type ReadinessCheckResponse_Ok
- type ReadinessCheckResponse_OkResponse
- type RefExistsRequest
- func (*RefExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefExistsRequest) GetRef() []byte
- func (x *RefExistsRequest) GetRepository() *Repository
- func (*RefExistsRequest) ProtoMessage()
- func (x *RefExistsRequest) ProtoReflect() protoreflect.Message
- func (x *RefExistsRequest) Reset()
- func (x *RefExistsRequest) String() string
- type RefExistsResponse
- type RefServiceClient
- type RefServiceServer
- type RefService_FindAllBranchesClient
- type RefService_FindAllBranchesServer
- type RefService_FindAllRemoteBranchesClient
- type RefService_FindAllRemoteBranchesServer
- type RefService_FindAllTagsClient
- type RefService_FindAllTagsServer
- type RefService_FindLocalBranchesClient
- type RefService_FindLocalBranchesServer
- type RefService_GetTagMessagesClient
- type RefService_GetTagMessagesServer
- type RefService_GetTagSignaturesClient
- type RefService_GetTagSignaturesServer
- type RefService_ListBranchNamesContainingCommitClient
- type RefService_ListBranchNamesContainingCommitServer
- type RefService_ListRefsClient
- type RefService_ListRefsServer
- type RefService_ListTagNamesContainingCommitClient
- type RefService_ListTagNamesContainingCommitServer
- type RefService_UpdateReferencesClient
- type RefService_UpdateReferencesServer
- type RefTransactionClient
- type RefTransactionServer
- type ReferenceExistsError
- func (*ReferenceExistsError) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceExistsError) GetOid() string
- func (x *ReferenceExistsError) GetReferenceName() []byte
- func (*ReferenceExistsError) ProtoMessage()
- func (x *ReferenceExistsError) ProtoReflect() protoreflect.Message
- func (x *ReferenceExistsError) Reset()
- func (x *ReferenceExistsError) String() string
- type ReferenceNotFoundError
- func (*ReferenceNotFoundError) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceNotFoundError) GetReferenceName() []byte
- func (*ReferenceNotFoundError) ProtoMessage()
- func (x *ReferenceNotFoundError) ProtoReflect() protoreflect.Message
- func (x *ReferenceNotFoundError) Reset()
- func (x *ReferenceNotFoundError) String() string
- type ReferenceStateMismatchError
- func (*ReferenceStateMismatchError) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceStateMismatchError) GetActualObjectId() []byte
- func (x *ReferenceStateMismatchError) GetExpectedObjectId() []byte
- func (x *ReferenceStateMismatchError) GetReferenceName() []byte
- func (*ReferenceStateMismatchError) ProtoMessage()
- func (x *ReferenceStateMismatchError) ProtoReflect() protoreflect.Message
- func (x *ReferenceStateMismatchError) Reset()
- func (x *ReferenceStateMismatchError) String() string
- type ReferenceTransactionHookRequest
- func (*ReferenceTransactionHookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceTransactionHookRequest) GetEnvironmentVariables() []string
- func (x *ReferenceTransactionHookRequest) GetRepository() *Repository
- func (x *ReferenceTransactionHookRequest) GetState() ReferenceTransactionHookRequest_State
- func (x *ReferenceTransactionHookRequest) GetStdin() []byte
- func (*ReferenceTransactionHookRequest) ProtoMessage()
- func (x *ReferenceTransactionHookRequest) ProtoReflect() protoreflect.Message
- func (x *ReferenceTransactionHookRequest) Reset()
- func (x *ReferenceTransactionHookRequest) String() string
- type ReferenceTransactionHookRequest_State
- func (ReferenceTransactionHookRequest_State) Descriptor() protoreflect.EnumDescriptor
- func (x ReferenceTransactionHookRequest_State) Enum() *ReferenceTransactionHookRequest_State
- func (ReferenceTransactionHookRequest_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReferenceTransactionHookRequest_State) Number() protoreflect.EnumNumber
- func (x ReferenceTransactionHookRequest_State) String() string
- func (ReferenceTransactionHookRequest_State) Type() protoreflect.EnumType
- type ReferenceTransactionHookResponse
- func (*ReferenceTransactionHookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceTransactionHookResponse) GetExitStatus() *ExitStatus
- func (x *ReferenceTransactionHookResponse) GetStderr() []byte
- func (x *ReferenceTransactionHookResponse) GetStdout() []byte
- func (*ReferenceTransactionHookResponse) ProtoMessage()
- func (x *ReferenceTransactionHookResponse) ProtoReflect() protoreflect.Message
- func (x *ReferenceTransactionHookResponse) Reset()
- func (x *ReferenceTransactionHookResponse) String() string
- type ReferenceUpdateError
- func (*ReferenceUpdateError) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceUpdateError) GetNewOid() string
- func (x *ReferenceUpdateError) GetOldOid() string
- func (x *ReferenceUpdateError) GetReferenceName() []byte
- func (*ReferenceUpdateError) ProtoMessage()
- func (x *ReferenceUpdateError) ProtoReflect() protoreflect.Message
- func (x *ReferenceUpdateError) Reset()
- func (x *ReferenceUpdateError) String() string
- type ReferencesLockedError
- func (*ReferencesLockedError) Descriptor() ([]byte, []int)deprecated
- func (x *ReferencesLockedError) GetRefs() [][]byte
- func (*ReferencesLockedError) ProtoMessage()
- func (x *ReferencesLockedError) ProtoReflect() protoreflect.Message
- func (x *ReferencesLockedError) Reset()
- func (x *ReferencesLockedError) String() string
- type Remote
- func (*Remote) Descriptor() ([]byte, []int)deprecated
- func (x *Remote) GetHttpAuthorizationHeader() string
- func (x *Remote) GetMirrorRefmaps() []string
- func (x *Remote) GetResolvedAddress() string
- func (x *Remote) GetUrl() string
- func (*Remote) ProtoMessage()
- func (x *Remote) ProtoReflect() protoreflect.Message
- func (x *Remote) Reset()
- func (x *Remote) String() string
- type RemoteServiceClient
- type RemoteServiceServer
- type RemoteService_UpdateRemoteMirrorClient
- type RemoteService_UpdateRemoteMirrorServer
- type RemoveAllRequest
- type RemoveAllResponse
- type RemoveNamespaceRequest
- func (*RemoveNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveNamespaceRequest) GetName() string
- func (x *RemoveNamespaceRequest) GetStorageName() string
- func (*RemoveNamespaceRequest) ProtoMessage()
- func (x *RemoveNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveNamespaceRequest) Reset()
- func (x *RemoveNamespaceRequest) String() string
- type RemoveNamespaceResponse
- type RemoveRepositoryRequest
- func (*RemoveRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRepositoryRequest) GetRepository() *Repository
- func (*RemoveRepositoryRequest) ProtoMessage()
- func (x *RemoveRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRepositoryRequest) Reset()
- func (x *RemoveRepositoryRequest) String() string
- type RemoveRepositoryResponse
- type RenameNamespaceRequest
- func (*RenameNamespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenameNamespaceRequest) GetFrom() string
- func (x *RenameNamespaceRequest) GetStorageName() string
- func (x *RenameNamespaceRequest) GetTo() string
- func (*RenameNamespaceRequest) ProtoMessage()
- func (x *RenameNamespaceRequest) ProtoReflect() protoreflect.Message
- func (x *RenameNamespaceRequest) Reset()
- func (x *RenameNamespaceRequest) String() string
- type RenameNamespaceResponse
- type RenameRepositoryRequest
- func (*RenameRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenameRepositoryRequest) GetRelativePath() string
- func (x *RenameRepositoryRequest) GetRepository() *Repository
- func (*RenameRepositoryRequest) ProtoMessage()
- func (x *RenameRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *RenameRepositoryRequest) Reset()
- func (x *RenameRepositoryRequest) String() string
- type RenameRepositoryResponse
- type ReplicateRepositoryRequest
- func (*ReplicateRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReplicateRepositoryRequest) GetReplicateObjectDeduplicationNetworkMembership() bool
- func (x *ReplicateRepositoryRequest) GetRepository() *Repository
- func (x *ReplicateRepositoryRequest) GetSource() *Repository
- func (*ReplicateRepositoryRequest) ProtoMessage()
- func (x *ReplicateRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *ReplicateRepositoryRequest) Reset()
- func (x *ReplicateRepositoryRequest) String() string
- type ReplicateRepositoryResponse
- type Repository
- func (*Repository) Descriptor() ([]byte, []int)deprecated
- func (x *Repository) GetGitAlternateObjectDirectories() []string
- func (x *Repository) GetGitObjectDirectory() string
- func (x *Repository) GetGlProjectPath() string
- func (x *Repository) GetGlRepository() string
- func (x *Repository) GetRelativePath() string
- func (x *Repository) GetStorageName() string
- func (*Repository) ProtoMessage()
- func (x *Repository) ProtoReflect() protoreflect.Message
- func (x *Repository) Reset()
- func (x *Repository) String() string
- type RepositoryExistsRequest
- func (*RepositoryExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryExistsRequest) GetRepository() *Repository
- func (*RepositoryExistsRequest) ProtoMessage()
- func (x *RepositoryExistsRequest) ProtoReflect() protoreflect.Message
- func (x *RepositoryExistsRequest) Reset()
- func (x *RepositoryExistsRequest) String() string
- type RepositoryExistsResponse
- func (*RepositoryExistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryExistsResponse) GetExists() bool
- func (*RepositoryExistsResponse) ProtoMessage()
- func (x *RepositoryExistsResponse) ProtoReflect() protoreflect.Message
- func (x *RepositoryExistsResponse) Reset()
- func (x *RepositoryExistsResponse) String() string
- type RepositoryInfoRequest
- func (*RepositoryInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryInfoRequest) GetRepository() *Repository
- func (*RepositoryInfoRequest) ProtoMessage()
- func (x *RepositoryInfoRequest) ProtoReflect() protoreflect.Message
- func (x *RepositoryInfoRequest) Reset()
- func (x *RepositoryInfoRequest) String() string
- type RepositoryInfoResponse
- func (*RepositoryInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryInfoResponse) GetObjects() *RepositoryInfoResponse_ObjectsInfo
- func (x *RepositoryInfoResponse) GetReferences() *RepositoryInfoResponse_ReferencesInfo
- func (x *RepositoryInfoResponse) GetSize() uint64
- func (*RepositoryInfoResponse) ProtoMessage()
- func (x *RepositoryInfoResponse) ProtoReflect() protoreflect.Message
- func (x *RepositoryInfoResponse) Reset()
- func (x *RepositoryInfoResponse) String() string
- type RepositoryInfoResponse_ObjectsInfo
- func (*RepositoryInfoResponse_ObjectsInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryInfoResponse_ObjectsInfo) GetKeepSize() uint64
- func (x *RepositoryInfoResponse_ObjectsInfo) GetRecentSize() uint64
- func (x *RepositoryInfoResponse_ObjectsInfo) GetSize() uint64
- func (x *RepositoryInfoResponse_ObjectsInfo) GetStaleSize() uint64
- func (*RepositoryInfoResponse_ObjectsInfo) ProtoMessage()
- func (x *RepositoryInfoResponse_ObjectsInfo) ProtoReflect() protoreflect.Message
- func (x *RepositoryInfoResponse_ObjectsInfo) Reset()
- func (x *RepositoryInfoResponse_ObjectsInfo) String() string
- type RepositoryInfoResponse_ReferencesInfo
- func (*RepositoryInfoResponse_ReferencesInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryInfoResponse_ReferencesInfo) GetLooseCount() uint64
- func (x *RepositoryInfoResponse_ReferencesInfo) GetPackedSize() uint64
- func (*RepositoryInfoResponse_ReferencesInfo) ProtoMessage()
- func (x *RepositoryInfoResponse_ReferencesInfo) ProtoReflect() protoreflect.Message
- func (x *RepositoryInfoResponse_ReferencesInfo) Reset()
- func (x *RepositoryInfoResponse_ReferencesInfo) String() string
- type RepositoryReplicasRequest
- func (*RepositoryReplicasRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryReplicasRequest) GetRepository() *Repository
- func (*RepositoryReplicasRequest) ProtoMessage()
- func (x *RepositoryReplicasRequest) ProtoReflect() protoreflect.Message
- func (x *RepositoryReplicasRequest) Reset()
- func (x *RepositoryReplicasRequest) String() string
- type RepositoryReplicasResponse
- func (*RepositoryReplicasResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryReplicasResponse) GetPrimary() *RepositoryReplicasResponse_RepositoryDetails
- func (x *RepositoryReplicasResponse) GetReplicas() []*RepositoryReplicasResponse_RepositoryDetails
- func (*RepositoryReplicasResponse) ProtoMessage()
- func (x *RepositoryReplicasResponse) ProtoReflect() protoreflect.Message
- func (x *RepositoryReplicasResponse) Reset()
- func (x *RepositoryReplicasResponse) String() string
- type RepositoryReplicasResponse_RepositoryDetails
- func (*RepositoryReplicasResponse_RepositoryDetails) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryReplicasResponse_RepositoryDetails) GetChecksum() string
- func (x *RepositoryReplicasResponse_RepositoryDetails) GetRepository() *Repository
- func (*RepositoryReplicasResponse_RepositoryDetails) ProtoMessage()
- func (x *RepositoryReplicasResponse_RepositoryDetails) ProtoReflect() protoreflect.Message
- func (x *RepositoryReplicasResponse_RepositoryDetails) Reset()
- func (x *RepositoryReplicasResponse_RepositoryDetails) String() string
- type RepositoryServiceClient
- type RepositoryServiceServer
- type RepositoryService_BackupCustomHooksClient
- type RepositoryService_BackupCustomHooksServer
- type RepositoryService_CreateBundleClient
- type RepositoryService_CreateBundleFromRefListClient
- type RepositoryService_CreateBundleFromRefListServer
- type RepositoryService_CreateBundleServer
- type RepositoryService_CreateRepositoryFromBundleClient
- type RepositoryService_CreateRepositoryFromBundleServer
- type RepositoryService_FetchBundleClient
- type RepositoryService_FetchBundleServer
- type RepositoryService_GetArchiveClient
- type RepositoryService_GetArchiveServer
- type RepositoryService_GetConfigClient
- type RepositoryService_GetConfigServer
- type RepositoryService_GetCustomHooksClient
- type RepositoryService_GetCustomHooksServer
- type RepositoryService_GetInfoAttributesClient
- type RepositoryService_GetInfoAttributesServer
- type RepositoryService_GetRawChangesClient
- type RepositoryService_GetRawChangesServer
- type RepositoryService_GetSnapshotClient
- type RepositoryService_GetSnapshotServer
- type RepositoryService_ObjectsSizeClient
- type RepositoryService_ObjectsSizeServer
- type RepositoryService_RestoreCustomHooksClient
- type RepositoryService_RestoreCustomHooksServer
- type RepositoryService_SearchFilesByContentClient
- type RepositoryService_SearchFilesByContentServer
- type RepositoryService_SearchFilesByNameClient
- type RepositoryService_SearchFilesByNameServer
- type RepositoryService_SetCustomHooksClient
- type RepositoryService_SetCustomHooksServer
- type RepositorySizeRequest
- func (*RepositorySizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RepositorySizeRequest) GetRepository() *Repository
- func (*RepositorySizeRequest) ProtoMessage()
- func (x *RepositorySizeRequest) ProtoReflect() protoreflect.Message
- func (x *RepositorySizeRequest) Reset()
- func (x *RepositorySizeRequest) String() string
- type RepositorySizeResponse
- func (*RepositorySizeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RepositorySizeResponse) GetSize() int64
- func (*RepositorySizeResponse) ProtoMessage()
- func (x *RepositorySizeResponse) ProtoReflect() protoreflect.Message
- func (x *RepositorySizeResponse) Reset()
- func (x *RepositorySizeResponse) String() string
- type ResolveConflictsRequest
- func (*ResolveConflictsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveConflictsRequest) GetFilesJson() []byte
- func (x *ResolveConflictsRequest) GetHeader() *ResolveConflictsRequestHeader
- func (m *ResolveConflictsRequest) GetResolveConflictsRequestPayload() isResolveConflictsRequest_ResolveConflictsRequestPayload
- func (*ResolveConflictsRequest) ProtoMessage()
- func (x *ResolveConflictsRequest) ProtoReflect() protoreflect.Message
- func (x *ResolveConflictsRequest) Reset()
- func (x *ResolveConflictsRequest) String() string
- type ResolveConflictsRequestHeader
- func (*ResolveConflictsRequestHeader) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveConflictsRequestHeader) GetCommitMessage() []byte
- func (x *ResolveConflictsRequestHeader) GetOurCommitOid() string
- func (x *ResolveConflictsRequestHeader) GetRepository() *Repository
- func (x *ResolveConflictsRequestHeader) GetSourceBranch() []byte
- func (x *ResolveConflictsRequestHeader) GetTargetBranch() []byte
- func (x *ResolveConflictsRequestHeader) GetTargetRepository() *Repository
- func (x *ResolveConflictsRequestHeader) GetTheirCommitOid() string
- func (x *ResolveConflictsRequestHeader) GetTimestamp() *timestamppb.Timestamp
- func (x *ResolveConflictsRequestHeader) GetUser() *User
- func (*ResolveConflictsRequestHeader) ProtoMessage()
- func (x *ResolveConflictsRequestHeader) ProtoReflect() protoreflect.Message
- func (x *ResolveConflictsRequestHeader) Reset()
- func (x *ResolveConflictsRequestHeader) String() string
- type ResolveConflictsRequest_FilesJson
- type ResolveConflictsRequest_Header
- type ResolveConflictsResponse
- func (*ResolveConflictsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveConflictsResponse) GetResolutionError() string
- func (*ResolveConflictsResponse) ProtoMessage()
- func (x *ResolveConflictsResponse) ProtoReflect() protoreflect.Message
- func (x *ResolveConflictsResponse) Reset()
- func (x *ResolveConflictsResponse) String() string
- type ResolveRevisionError
- func (*ResolveRevisionError) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveRevisionError) GetRevision() []byte
- func (*ResolveRevisionError) ProtoMessage()
- func (x *ResolveRevisionError) ProtoReflect() protoreflect.Message
- func (x *ResolveRevisionError) Reset()
- func (x *ResolveRevisionError) String() string
- type RestoreCustomHooksRequest
- func (*RestoreCustomHooksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreCustomHooksRequest) GetData() []byte
- func (x *RestoreCustomHooksRequest) GetRepository() *Repository
- func (*RestoreCustomHooksRequest) ProtoMessage()
- func (x *RestoreCustomHooksRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreCustomHooksRequest) Reset()
- func (x *RestoreCustomHooksRequest) String() string
- type RestoreCustomHooksResponse
- type RestoreRepositoryRequest
- func (*RestoreRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreRepositoryRequest) GetAlwaysCreate() bool
- func (x *RestoreRepositoryRequest) GetBackupId() string
- func (x *RestoreRepositoryRequest) GetRepository() *Repository
- func (x *RestoreRepositoryRequest) GetVanityRepository() *Repository
- func (*RestoreRepositoryRequest) ProtoMessage()
- func (x *RestoreRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreRepositoryRequest) Reset()
- func (x *RestoreRepositoryRequest) String() string
- type RestoreRepositoryResponse
- type RestoreRepositoryResponse_SkippedError
- func (*RestoreRepositoryResponse_SkippedError) Descriptor() ([]byte, []int)deprecated
- func (*RestoreRepositoryResponse_SkippedError) ProtoMessage()
- func (x *RestoreRepositoryResponse_SkippedError) ProtoReflect() protoreflect.Message
- func (x *RestoreRepositoryResponse_SkippedError) Reset()
- func (x *RestoreRepositoryResponse_SkippedError) String() string
- type RoundRobinConfig
- type SSHReceivePackRequest
- func (*SSHReceivePackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SSHReceivePackRequest) GetGitConfigOptions() []string
- func (x *SSHReceivePackRequest) GetGitProtocol() string
- func (x *SSHReceivePackRequest) GetGlId() string
- func (x *SSHReceivePackRequest) GetGlRepository() string
- func (x *SSHReceivePackRequest) GetGlUsername() string
- func (x *SSHReceivePackRequest) GetRepository() *Repository
- func (x *SSHReceivePackRequest) GetStdin() []byte
- func (*SSHReceivePackRequest) ProtoMessage()
- func (x *SSHReceivePackRequest) ProtoReflect() protoreflect.Message
- func (x *SSHReceivePackRequest) Reset()
- func (x *SSHReceivePackRequest) String() string
- type SSHReceivePackResponse
- func (*SSHReceivePackResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SSHReceivePackResponse) GetExitStatus() *ExitStatus
- func (x *SSHReceivePackResponse) GetStderr() []byte
- func (x *SSHReceivePackResponse) GetStdout() []byte
- func (*SSHReceivePackResponse) ProtoMessage()
- func (x *SSHReceivePackResponse) ProtoReflect() protoreflect.Message
- func (x *SSHReceivePackResponse) Reset()
- func (x *SSHReceivePackResponse) String() string
- type SSHServiceClient
- type SSHServiceServer
- type SSHService_SSHReceivePackClient
- type SSHService_SSHReceivePackServer
- type SSHService_SSHUploadArchiveClient
- type SSHService_SSHUploadArchiveServer
- type SSHService_SSHUploadPackClient
- type SSHService_SSHUploadPackServer
- type SSHUploadArchiveRequest
- func (*SSHUploadArchiveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SSHUploadArchiveRequest) GetRepository() *Repository
- func (x *SSHUploadArchiveRequest) GetStdin() []byte
- func (*SSHUploadArchiveRequest) ProtoMessage()
- func (x *SSHUploadArchiveRequest) ProtoReflect() protoreflect.Message
- func (x *SSHUploadArchiveRequest) Reset()
- func (x *SSHUploadArchiveRequest) String() string
- type SSHUploadArchiveResponse
- func (*SSHUploadArchiveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SSHUploadArchiveResponse) GetExitStatus() *ExitStatus
- func (x *SSHUploadArchiveResponse) GetStderr() []byte
- func (x *SSHUploadArchiveResponse) GetStdout() []byte
- func (*SSHUploadArchiveResponse) ProtoMessage()
- func (x *SSHUploadArchiveResponse) ProtoReflect() protoreflect.Message
- func (x *SSHUploadArchiveResponse) Reset()
- func (x *SSHUploadArchiveResponse) String() string
- type SSHUploadPackRequest
- func (*SSHUploadPackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SSHUploadPackRequest) GetGitConfigOptions() []string
- func (x *SSHUploadPackRequest) GetGitProtocol() string
- func (x *SSHUploadPackRequest) GetRepository() *Repository
- func (x *SSHUploadPackRequest) GetStdin() []byte
- func (*SSHUploadPackRequest) ProtoMessage()
- func (x *SSHUploadPackRequest) ProtoReflect() protoreflect.Message
- func (x *SSHUploadPackRequest) Reset()
- func (x *SSHUploadPackRequest) String() string
- type SSHUploadPackResponse
- func (*SSHUploadPackResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SSHUploadPackResponse) GetExitStatus() *ExitStatus
- func (x *SSHUploadPackResponse) GetStderr() []byte
- func (x *SSHUploadPackResponse) GetStdout() []byte
- func (*SSHUploadPackResponse) ProtoMessage()
- func (x *SSHUploadPackResponse) ProtoReflect() protoreflect.Message
- func (x *SSHUploadPackResponse) Reset()
- func (x *SSHUploadPackResponse) String() string
- type SSHUploadPackWithSidechannelRequest
- func (*SSHUploadPackWithSidechannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SSHUploadPackWithSidechannelRequest) GetGitConfigOptions() []string
- func (x *SSHUploadPackWithSidechannelRequest) GetGitProtocol() string
- func (x *SSHUploadPackWithSidechannelRequest) GetRepository() *Repository
- func (*SSHUploadPackWithSidechannelRequest) ProtoMessage()
- func (x *SSHUploadPackWithSidechannelRequest) ProtoReflect() protoreflect.Message
- func (x *SSHUploadPackWithSidechannelRequest) Reset()
- func (x *SSHUploadPackWithSidechannelRequest) String() string
- type SSHUploadPackWithSidechannelResponse
- func (*SSHUploadPackWithSidechannelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SSHUploadPackWithSidechannelResponse) GetPackfileNegotiationStatistics() *PackfileNegotiationStatistics
- func (*SSHUploadPackWithSidechannelResponse) ProtoMessage()
- func (x *SSHUploadPackWithSidechannelResponse) ProtoReflect() protoreflect.Message
- func (x *SSHUploadPackWithSidechannelResponse) Reset()
- func (x *SSHUploadPackWithSidechannelResponse) String() string
- type SearchFilesByContentRequest
- func (*SearchFilesByContentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchFilesByContentRequest) GetChunkedResponse() bool
- func (x *SearchFilesByContentRequest) GetQuery() string
- func (x *SearchFilesByContentRequest) GetRef() []byte
- func (x *SearchFilesByContentRequest) GetRepository() *Repository
- func (*SearchFilesByContentRequest) ProtoMessage()
- func (x *SearchFilesByContentRequest) ProtoReflect() protoreflect.Message
- func (x *SearchFilesByContentRequest) Reset()
- func (x *SearchFilesByContentRequest) String() string
- type SearchFilesByContentResponse
- func (*SearchFilesByContentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchFilesByContentResponse) GetEndOfMatch() bool
- func (x *SearchFilesByContentResponse) GetMatchData() []byte
- func (x *SearchFilesByContentResponse) GetMatches() [][]byte
- func (*SearchFilesByContentResponse) ProtoMessage()
- func (x *SearchFilesByContentResponse) ProtoReflect() protoreflect.Message
- func (x *SearchFilesByContentResponse) Reset()
- func (x *SearchFilesByContentResponse) String() string
- type SearchFilesByNameRequest
- func (*SearchFilesByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchFilesByNameRequest) GetFilter() string
- func (x *SearchFilesByNameRequest) GetLimit() uint32
- func (x *SearchFilesByNameRequest) GetOffset() uint32
- func (x *SearchFilesByNameRequest) GetQuery() string
- func (x *SearchFilesByNameRequest) GetRef() []byte
- func (x *SearchFilesByNameRequest) GetRepository() *Repository
- func (*SearchFilesByNameRequest) ProtoMessage()
- func (x *SearchFilesByNameRequest) ProtoReflect() protoreflect.Message
- func (x *SearchFilesByNameRequest) Reset()
- func (x *SearchFilesByNameRequest) String() string
- type SearchFilesByNameResponse
- func (*SearchFilesByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchFilesByNameResponse) GetFiles() [][]byte
- func (*SearchFilesByNameResponse) ProtoMessage()
- func (x *SearchFilesByNameResponse) ProtoReflect() protoreflect.Message
- func (x *SearchFilesByNameResponse) Reset()
- func (x *SearchFilesByNameResponse) String() string
- type ServerInfoRequest
- type ServerInfoResponse
- func (*ServerInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServerInfoResponse) GetGitVersion() string
- func (x *ServerInfoResponse) GetServerVersion() string
- func (x *ServerInfoResponse) GetStorageStatuses() []*ServerInfoResponse_StorageStatus
- func (*ServerInfoResponse) ProtoMessage()
- func (x *ServerInfoResponse) ProtoReflect() protoreflect.Message
- func (x *ServerInfoResponse) Reset()
- func (x *ServerInfoResponse) String() string
- type ServerInfoResponse_StorageStatus
- func (*ServerInfoResponse_StorageStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ServerInfoResponse_StorageStatus) GetFilesystemId() string
- func (x *ServerInfoResponse_StorageStatus) GetFsType() string
- func (x *ServerInfoResponse_StorageStatus) GetReadable() bool
- func (x *ServerInfoResponse_StorageStatus) GetReplicationFactor() uint32
- func (x *ServerInfoResponse_StorageStatus) GetStorageName() string
- func (x *ServerInfoResponse_StorageStatus) GetWriteable() bool
- func (*ServerInfoResponse_StorageStatus) ProtoMessage()
- func (x *ServerInfoResponse_StorageStatus) ProtoReflect() protoreflect.Message
- func (x *ServerInfoResponse_StorageStatus) Reset()
- func (x *ServerInfoResponse_StorageStatus) String() string
- type ServerServiceClient
- type ServerServiceServer
- type ServiceConfig
- func (*ServiceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceConfig) GetLoadBalancingConfig() []*LoadBalancingConfig
- func (x *ServiceConfig) GetMethodConfig() []*MethodConfig
- func (*ServiceConfig) ProtoMessage()
- func (x *ServiceConfig) ProtoReflect() protoreflect.Message
- func (x *ServiceConfig) Reset()
- func (x *ServiceConfig) String() string
- type SetAuthoritativeStorageRequest
- func (*SetAuthoritativeStorageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetAuthoritativeStorageRequest) GetAuthoritativeStorage() string
- func (x *SetAuthoritativeStorageRequest) GetRelativePath() string
- func (x *SetAuthoritativeStorageRequest) GetVirtualStorage() string
- func (*SetAuthoritativeStorageRequest) ProtoMessage()
- func (x *SetAuthoritativeStorageRequest) ProtoReflect() protoreflect.Message
- func (x *SetAuthoritativeStorageRequest) Reset()
- func (x *SetAuthoritativeStorageRequest) String() string
- type SetAuthoritativeStorageResponse
- func (*SetAuthoritativeStorageResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetAuthoritativeStorageResponse) ProtoMessage()
- func (x *SetAuthoritativeStorageResponse) ProtoReflect() protoreflect.Message
- func (x *SetAuthoritativeStorageResponse) Reset()
- func (x *SetAuthoritativeStorageResponse) String() string
- type SetCustomHooksRequest
- func (*SetCustomHooksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetCustomHooksRequest) GetData() []byte
- func (x *SetCustomHooksRequest) GetRepository() *Repository
- func (*SetCustomHooksRequest) ProtoMessage()
- func (x *SetCustomHooksRequest) ProtoReflect() protoreflect.Message
- func (x *SetCustomHooksRequest) Reset()
- func (x *SetCustomHooksRequest) String() string
- type SetCustomHooksResponse
- type SetFullPathRequest
- func (*SetFullPathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetFullPathRequest) GetPath() string
- func (x *SetFullPathRequest) GetRepository() *Repository
- func (*SetFullPathRequest) ProtoMessage()
- func (x *SetFullPathRequest) ProtoReflect() protoreflect.Message
- func (x *SetFullPathRequest) Reset()
- func (x *SetFullPathRequest) String() string
- type SetFullPathResponse
- type SetReplicationFactorRequest
- func (*SetReplicationFactorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetReplicationFactorRequest) GetRelativePath() string
- func (x *SetReplicationFactorRequest) GetReplicationFactor() int32
- func (x *SetReplicationFactorRequest) GetVirtualStorage() string
- func (*SetReplicationFactorRequest) ProtoMessage()
- func (x *SetReplicationFactorRequest) ProtoReflect() protoreflect.Message
- func (x *SetReplicationFactorRequest) Reset()
- func (x *SetReplicationFactorRequest) String() string
- type SetReplicationFactorResponse
- func (*SetReplicationFactorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetReplicationFactorResponse) GetStorages() []string
- func (*SetReplicationFactorResponse) ProtoMessage()
- func (x *SetReplicationFactorResponse) ProtoReflect() protoreflect.Message
- func (x *SetReplicationFactorResponse) Reset()
- func (x *SetReplicationFactorResponse) String() string
- type SignatureType
- func (SignatureType) Descriptor() protoreflect.EnumDescriptor
- func (x SignatureType) Enum() *SignatureType
- func (SignatureType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignatureType) Number() protoreflect.EnumNumber
- func (x SignatureType) String() string
- func (SignatureType) Type() protoreflect.EnumType
- type SmartHTTPServiceClient
- type SmartHTTPServiceServer
- type SmartHTTPService_InfoRefsReceivePackClient
- type SmartHTTPService_InfoRefsReceivePackServer
- type SmartHTTPService_InfoRefsUploadPackClient
- type SmartHTTPService_InfoRefsUploadPackServer
- type SmartHTTPService_PostReceivePackClient
- type SmartHTTPService_PostReceivePackServer
- type SortDirection
- func (SortDirection) Descriptor() protoreflect.EnumDescriptor
- func (x SortDirection) Enum() *SortDirection
- func (SortDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x SortDirection) Number() protoreflect.EnumNumber
- func (x SortDirection) String() string
- func (SortDirection) Type() protoreflect.EnumType
- type StopTransactionRequest
- func (*StopTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopTransactionRequest) GetRepository() *Repository
- func (x *StopTransactionRequest) GetTransactionId() uint64
- func (*StopTransactionRequest) ProtoMessage()
- func (x *StopTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *StopTransactionRequest) Reset()
- func (x *StopTransactionRequest) String() string
- type StopTransactionResponse
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)deprecated
- func (x *Tag) GetId() string
- func (x *Tag) GetMessage() []byte
- func (x *Tag) GetMessageSize() int64
- func (x *Tag) GetName() []byte
- func (x *Tag) GetSignatureType() SignatureType
- func (x *Tag) GetTagger() *CommitAuthor
- func (x *Tag) GetTargetCommit() *GitCommit
- func (*Tag) ProtoMessage()
- func (x *Tag) ProtoReflect() protoreflect.Message
- func (x *Tag) Reset()
- func (x *Tag) String() string
- type TreeEntry
- func (*TreeEntry) Descriptor() ([]byte, []int)deprecated
- func (x *TreeEntry) GetCommitOid() string
- func (x *TreeEntry) GetFlatPath() []byte
- func (x *TreeEntry) GetMode() int32
- func (x *TreeEntry) GetOid() string
- func (x *TreeEntry) GetPath() []byte
- func (x *TreeEntry) GetType() TreeEntry_EntryType
- func (*TreeEntry) ProtoMessage()
- func (x *TreeEntry) ProtoReflect() protoreflect.Message
- func (x *TreeEntry) Reset()
- func (x *TreeEntry) String() string
- type TreeEntryRequest
- func (*TreeEntryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TreeEntryRequest) GetLimit() int64
- func (x *TreeEntryRequest) GetMaxSize() int64
- func (x *TreeEntryRequest) GetPath() []byte
- func (x *TreeEntryRequest) GetRepository() *Repository
- func (x *TreeEntryRequest) GetRevision() []byte
- func (*TreeEntryRequest) ProtoMessage()
- func (x *TreeEntryRequest) ProtoReflect() protoreflect.Message
- func (x *TreeEntryRequest) Reset()
- func (x *TreeEntryRequest) String() string
- type TreeEntryResponse
- func (*TreeEntryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TreeEntryResponse) GetData() []byte
- func (x *TreeEntryResponse) GetMode() int32
- func (x *TreeEntryResponse) GetOid() string
- func (x *TreeEntryResponse) GetSize() int64
- func (x *TreeEntryResponse) GetType() TreeEntryResponse_ObjectType
- func (*TreeEntryResponse) ProtoMessage()
- func (x *TreeEntryResponse) ProtoReflect() protoreflect.Message
- func (x *TreeEntryResponse) Reset()
- func (x *TreeEntryResponse) String() string
- type TreeEntryResponse_ObjectType
- func (TreeEntryResponse_ObjectType) Descriptor() protoreflect.EnumDescriptor
- func (x TreeEntryResponse_ObjectType) Enum() *TreeEntryResponse_ObjectType
- func (TreeEntryResponse_ObjectType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TreeEntryResponse_ObjectType) Number() protoreflect.EnumNumber
- func (x TreeEntryResponse_ObjectType) String() string
- func (TreeEntryResponse_ObjectType) Type() protoreflect.EnumType
- type TreeEntry_EntryType
- func (TreeEntry_EntryType) Descriptor() protoreflect.EnumDescriptor
- func (x TreeEntry_EntryType) Enum() *TreeEntry_EntryType
- func (TreeEntry_EntryType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TreeEntry_EntryType) Number() protoreflect.EnumNumber
- func (x TreeEntry_EntryType) String() string
- func (TreeEntry_EntryType) Type() protoreflect.EnumType
- type UnimplementedBlobServiceServer
- func (UnimplementedBlobServiceServer) GetBlob(*GetBlobRequest, BlobService_GetBlobServer) error
- func (UnimplementedBlobServiceServer) GetBlobs(*GetBlobsRequest, BlobService_GetBlobsServer) error
- func (UnimplementedBlobServiceServer) GetLFSPointers(*GetLFSPointersRequest, BlobService_GetLFSPointersServer) error
- func (UnimplementedBlobServiceServer) ListAllBlobs(*ListAllBlobsRequest, BlobService_ListAllBlobsServer) error
- func (UnimplementedBlobServiceServer) ListAllLFSPointers(*ListAllLFSPointersRequest, BlobService_ListAllLFSPointersServer) error
- func (UnimplementedBlobServiceServer) ListBlobs(*ListBlobsRequest, BlobService_ListBlobsServer) error
- func (UnimplementedBlobServiceServer) ListLFSPointers(*ListLFSPointersRequest, BlobService_ListLFSPointersServer) error
- type UnimplementedCleanupServiceServer
- type UnimplementedCommitServiceServer
- func (UnimplementedCommitServiceServer) CheckObjectsExist(CommitService_CheckObjectsExistServer) error
- func (UnimplementedCommitServiceServer) CommitIsAncestor(context.Context, *CommitIsAncestorRequest) (*CommitIsAncestorResponse, error)
- func (UnimplementedCommitServiceServer) CommitLanguages(context.Context, *CommitLanguagesRequest) (*CommitLanguagesResponse, error)
- func (UnimplementedCommitServiceServer) CommitStats(context.Context, *CommitStatsRequest) (*CommitStatsResponse, error)
- func (UnimplementedCommitServiceServer) CommitsByMessage(*CommitsByMessageRequest, CommitService_CommitsByMessageServer) error
- func (UnimplementedCommitServiceServer) CountCommits(context.Context, *CountCommitsRequest) (*CountCommitsResponse, error)
- func (UnimplementedCommitServiceServer) CountDivergingCommits(context.Context, *CountDivergingCommitsRequest) (*CountDivergingCommitsResponse, error)
- func (UnimplementedCommitServiceServer) FilterShasWithSignatures(CommitService_FilterShasWithSignaturesServer) error
- func (UnimplementedCommitServiceServer) FindAllCommits(*FindAllCommitsRequest, CommitService_FindAllCommitsServer) error
- func (UnimplementedCommitServiceServer) FindCommit(context.Context, *FindCommitRequest) (*FindCommitResponse, error)
- func (UnimplementedCommitServiceServer) FindCommits(*FindCommitsRequest, CommitService_FindCommitsServer) error
- func (UnimplementedCommitServiceServer) GetCommitMessages(*GetCommitMessagesRequest, CommitService_GetCommitMessagesServer) error
- func (UnimplementedCommitServiceServer) GetCommitSignatures(*GetCommitSignaturesRequest, CommitService_GetCommitSignaturesServer) error
- func (UnimplementedCommitServiceServer) GetTreeEntries(*GetTreeEntriesRequest, CommitService_GetTreeEntriesServer) error
- func (UnimplementedCommitServiceServer) LastCommitForPath(context.Context, *LastCommitForPathRequest) (*LastCommitForPathResponse, error)
- func (UnimplementedCommitServiceServer) ListAllCommits(*ListAllCommitsRequest, CommitService_ListAllCommitsServer) error
- func (UnimplementedCommitServiceServer) ListCommits(*ListCommitsRequest, CommitService_ListCommitsServer) error
- func (UnimplementedCommitServiceServer) ListCommitsByOid(*ListCommitsByOidRequest, CommitService_ListCommitsByOidServer) error
- func (UnimplementedCommitServiceServer) ListCommitsByRefName(*ListCommitsByRefNameRequest, CommitService_ListCommitsByRefNameServer) error
- func (UnimplementedCommitServiceServer) ListFiles(*ListFilesRequest, CommitService_ListFilesServer) error
- func (UnimplementedCommitServiceServer) ListLastCommitsForTree(*ListLastCommitsForTreeRequest, CommitService_ListLastCommitsForTreeServer) error
- func (UnimplementedCommitServiceServer) RawBlame(*RawBlameRequest, CommitService_RawBlameServer) error
- func (UnimplementedCommitServiceServer) TreeEntry(*TreeEntryRequest, CommitService_TreeEntryServer) error
- type UnimplementedConflictsServiceServer
- type UnimplementedDiffServiceServer
- func (UnimplementedDiffServiceServer) CommitDelta(*CommitDeltaRequest, DiffService_CommitDeltaServer) error
- func (UnimplementedDiffServiceServer) CommitDiff(*CommitDiffRequest, DiffService_CommitDiffServer) error
- func (UnimplementedDiffServiceServer) DiffStats(*DiffStatsRequest, DiffService_DiffStatsServer) error
- func (UnimplementedDiffServiceServer) FindChangedPaths(*FindChangedPathsRequest, DiffService_FindChangedPathsServer) error
- func (UnimplementedDiffServiceServer) GetPatchID(context.Context, *GetPatchIDRequest) (*GetPatchIDResponse, error)
- func (UnimplementedDiffServiceServer) RawDiff(*RawDiffRequest, DiffService_RawDiffServer) error
- func (UnimplementedDiffServiceServer) RawPatch(*RawPatchRequest, DiffService_RawPatchServer) error
- type UnimplementedHookServiceServer
- func (UnimplementedHookServiceServer) PackObjectsHookWithSidechannel(context.Context, *PackObjectsHookWithSidechannelRequest) (*PackObjectsHookWithSidechannelResponse, error)
- func (UnimplementedHookServiceServer) PostReceiveHook(HookService_PostReceiveHookServer) error
- func (UnimplementedHookServiceServer) PreReceiveHook(HookService_PreReceiveHookServer) error
- func (UnimplementedHookServiceServer) ReferenceTransactionHook(HookService_ReferenceTransactionHookServer) error
- func (UnimplementedHookServiceServer) UpdateHook(*UpdateHookRequest, HookService_UpdateHookServer) error
- type UnimplementedInternalGitalyServer
- type UnimplementedNamespaceServiceServer
- func (UnimplementedNamespaceServiceServer) AddNamespace(context.Context, *AddNamespaceRequest) (*AddNamespaceResponse, error)
- func (UnimplementedNamespaceServiceServer) NamespaceExists(context.Context, *NamespaceExistsRequest) (*NamespaceExistsResponse, error)
- func (UnimplementedNamespaceServiceServer) RemoveNamespace(context.Context, *RemoveNamespaceRequest) (*RemoveNamespaceResponse, error)
- func (UnimplementedNamespaceServiceServer) RenameNamespace(context.Context, *RenameNamespaceRequest) (*RenameNamespaceResponse, error)
- type UnimplementedObjectPoolServiceServer
- func (UnimplementedObjectPoolServiceServer) CreateObjectPool(context.Context, *CreateObjectPoolRequest) (*CreateObjectPoolResponse, error)
- func (UnimplementedObjectPoolServiceServer) DeleteObjectPool(context.Context, *DeleteObjectPoolRequest) (*DeleteObjectPoolResponse, error)
- func (UnimplementedObjectPoolServiceServer) DisconnectGitAlternates(context.Context, *DisconnectGitAlternatesRequest) (*DisconnectGitAlternatesResponse, error)
- func (UnimplementedObjectPoolServiceServer) FetchIntoObjectPool(context.Context, *FetchIntoObjectPoolRequest) (*FetchIntoObjectPoolResponse, error)
- func (UnimplementedObjectPoolServiceServer) GetObjectPool(context.Context, *GetObjectPoolRequest) (*GetObjectPoolResponse, error)
- func (UnimplementedObjectPoolServiceServer) LinkRepositoryToObjectPool(context.Context, *LinkRepositoryToObjectPoolRequest) (*LinkRepositoryToObjectPoolResponse, error)
- type UnimplementedOperationServiceServer
- func (UnimplementedOperationServiceServer) UserApplyPatch(OperationService_UserApplyPatchServer) error
- func (UnimplementedOperationServiceServer) UserCherryPick(context.Context, *UserCherryPickRequest) (*UserCherryPickResponse, error)
- func (UnimplementedOperationServiceServer) UserCommitFiles(OperationService_UserCommitFilesServer) error
- func (UnimplementedOperationServiceServer) UserCreateBranch(context.Context, *UserCreateBranchRequest) (*UserCreateBranchResponse, error)
- func (UnimplementedOperationServiceServer) UserCreateTag(context.Context, *UserCreateTagRequest) (*UserCreateTagResponse, error)
- func (UnimplementedOperationServiceServer) UserDeleteBranch(context.Context, *UserDeleteBranchRequest) (*UserDeleteBranchResponse, error)
- func (UnimplementedOperationServiceServer) UserDeleteTag(context.Context, *UserDeleteTagRequest) (*UserDeleteTagResponse, error)
- func (UnimplementedOperationServiceServer) UserFFBranch(context.Context, *UserFFBranchRequest) (*UserFFBranchResponse, error)
- func (UnimplementedOperationServiceServer) UserMergeBranch(OperationService_UserMergeBranchServer) error
- func (UnimplementedOperationServiceServer) UserMergeToRef(context.Context, *UserMergeToRefRequest) (*UserMergeToRefResponse, error)
- func (UnimplementedOperationServiceServer) UserRebaseConfirmable(OperationService_UserRebaseConfirmableServer) error
- func (UnimplementedOperationServiceServer) UserRebaseToRef(context.Context, *UserRebaseToRefRequest) (*UserRebaseToRefResponse, error)
- func (UnimplementedOperationServiceServer) UserRevert(context.Context, *UserRevertRequest) (*UserRevertResponse, error)
- func (UnimplementedOperationServiceServer) UserSquash(context.Context, *UserSquashRequest) (*UserSquashResponse, error)
- func (UnimplementedOperationServiceServer) UserUpdateBranch(context.Context, *UserUpdateBranchRequest) (*UserUpdateBranchResponse, error)
- func (UnimplementedOperationServiceServer) UserUpdateSubmodule(context.Context, *UserUpdateSubmoduleRequest) (*UserUpdateSubmoduleResponse, error)
- type UnimplementedPraefectInfoServiceServer
- func (UnimplementedPraefectInfoServiceServer) Dataloss(*DatalossRequest, PraefectInfoService_DatalossServer) error
- func (UnimplementedPraefectInfoServiceServer) DatalossCheck(context.Context, *DatalossCheckRequest) (*DatalossCheckResponse, error)
- func (UnimplementedPraefectInfoServiceServer) GetRepositoryMetadata(context.Context, *GetRepositoryMetadataRequest) (*GetRepositoryMetadataResponse, error)
- func (UnimplementedPraefectInfoServiceServer) MarkUnverified(context.Context, *MarkUnverifiedRequest) (*MarkUnverifiedResponse, error)
- func (UnimplementedPraefectInfoServiceServer) RepositoryReplicas(context.Context, *RepositoryReplicasRequest) (*RepositoryReplicasResponse, error)
- func (UnimplementedPraefectInfoServiceServer) SetAuthoritativeStorage(context.Context, *SetAuthoritativeStorageRequest) (*SetAuthoritativeStorageResponse, error)
- func (UnimplementedPraefectInfoServiceServer) SetReplicationFactor(context.Context, *SetReplicationFactorRequest) (*SetReplicationFactorResponse, error)
- type UnimplementedRefServiceServer
- func (UnimplementedRefServiceServer) DeleteRefs(context.Context, *DeleteRefsRequest) (*DeleteRefsResponse, error)
- func (UnimplementedRefServiceServer) FindAllBranches(*FindAllBranchesRequest, RefService_FindAllBranchesServer) error
- func (UnimplementedRefServiceServer) FindAllRemoteBranches(*FindAllRemoteBranchesRequest, RefService_FindAllRemoteBranchesServer) error
- func (UnimplementedRefServiceServer) FindAllTags(*FindAllTagsRequest, RefService_FindAllTagsServer) error
- func (UnimplementedRefServiceServer) FindBranch(context.Context, *FindBranchRequest) (*FindBranchResponse, error)
- func (UnimplementedRefServiceServer) FindDefaultBranchName(context.Context, *FindDefaultBranchNameRequest) (*FindDefaultBranchNameResponse, error)
- func (UnimplementedRefServiceServer) FindLocalBranches(*FindLocalBranchesRequest, RefService_FindLocalBranchesServer) error
- func (UnimplementedRefServiceServer) FindRefsByOID(context.Context, *FindRefsByOIDRequest) (*FindRefsByOIDResponse, error)
- func (UnimplementedRefServiceServer) FindTag(context.Context, *FindTagRequest) (*FindTagResponse, error)
- func (UnimplementedRefServiceServer) GetTagMessages(*GetTagMessagesRequest, RefService_GetTagMessagesServer) error
- func (UnimplementedRefServiceServer) GetTagSignatures(*GetTagSignaturesRequest, RefService_GetTagSignaturesServer) error
- func (UnimplementedRefServiceServer) ListBranchNamesContainingCommit(*ListBranchNamesContainingCommitRequest, ...) error
- func (UnimplementedRefServiceServer) ListRefs(*ListRefsRequest, RefService_ListRefsServer) error
- func (UnimplementedRefServiceServer) ListTagNamesContainingCommit(*ListTagNamesContainingCommitRequest, ...) error
- func (UnimplementedRefServiceServer) RefExists(context.Context, *RefExistsRequest) (*RefExistsResponse, error)
- func (UnimplementedRefServiceServer) UpdateReferences(RefService_UpdateReferencesServer) error
- type UnimplementedRefTransactionServer
- type UnimplementedRemoteServiceServer
- func (UnimplementedRemoteServiceServer) FindRemoteRepository(context.Context, *FindRemoteRepositoryRequest) (*FindRemoteRepositoryResponse, error)
- func (UnimplementedRemoteServiceServer) FindRemoteRootRef(context.Context, *FindRemoteRootRefRequest) (*FindRemoteRootRefResponse, error)
- func (UnimplementedRemoteServiceServer) UpdateRemoteMirror(RemoteService_UpdateRemoteMirrorServer) error
- type UnimplementedRepositoryServiceServer
- func (UnimplementedRepositoryServiceServer) ApplyGitattributes(context.Context, *ApplyGitattributesRequest) (*ApplyGitattributesResponse, error)
- func (UnimplementedRepositoryServiceServer) BackupCustomHooks(*BackupCustomHooksRequest, RepositoryService_BackupCustomHooksServer) error
- func (UnimplementedRepositoryServiceServer) BackupRepository(context.Context, *BackupRepositoryRequest) (*BackupRepositoryResponse, error)
- func (UnimplementedRepositoryServiceServer) CalculateChecksum(context.Context, *CalculateChecksumRequest) (*CalculateChecksumResponse, error)
- func (UnimplementedRepositoryServiceServer) CreateBundle(*CreateBundleRequest, RepositoryService_CreateBundleServer) error
- func (UnimplementedRepositoryServiceServer) CreateBundleFromRefList(RepositoryService_CreateBundleFromRefListServer) error
- func (UnimplementedRepositoryServiceServer) CreateFork(context.Context, *CreateForkRequest) (*CreateForkResponse, error)
- func (UnimplementedRepositoryServiceServer) CreateRepository(context.Context, *CreateRepositoryRequest) (*CreateRepositoryResponse, error)
- func (UnimplementedRepositoryServiceServer) CreateRepositoryFromBundle(RepositoryService_CreateRepositoryFromBundleServer) error
- func (UnimplementedRepositoryServiceServer) CreateRepositoryFromSnapshot(context.Context, *CreateRepositoryFromSnapshotRequest) (*CreateRepositoryFromSnapshotResponse, error)
- func (UnimplementedRepositoryServiceServer) CreateRepositoryFromURL(context.Context, *CreateRepositoryFromURLRequest) (*CreateRepositoryFromURLResponse, error)
- func (UnimplementedRepositoryServiceServer) FetchBundle(RepositoryService_FetchBundleServer) error
- func (UnimplementedRepositoryServiceServer) FetchRemote(context.Context, *FetchRemoteRequest) (*FetchRemoteResponse, error)
- func (UnimplementedRepositoryServiceServer) FetchSourceBranch(context.Context, *FetchSourceBranchRequest) (*FetchSourceBranchResponse, error)
- func (UnimplementedRepositoryServiceServer) FindLicense(context.Context, *FindLicenseRequest) (*FindLicenseResponse, error)
- func (UnimplementedRepositoryServiceServer) FindMergeBase(context.Context, *FindMergeBaseRequest) (*FindMergeBaseResponse, error)
- func (UnimplementedRepositoryServiceServer) Fsck(context.Context, *FsckRequest) (*FsckResponse, error)
- func (UnimplementedRepositoryServiceServer) FullPath(context.Context, *FullPathRequest) (*FullPathResponse, error)
- func (UnimplementedRepositoryServiceServer) GetArchive(*GetArchiveRequest, RepositoryService_GetArchiveServer) error
- func (UnimplementedRepositoryServiceServer) GetConfig(*GetConfigRequest, RepositoryService_GetConfigServer) error
- func (UnimplementedRepositoryServiceServer) GetCustomHooks(*GetCustomHooksRequest, RepositoryService_GetCustomHooksServer) error
- func (UnimplementedRepositoryServiceServer) GetFileAttributes(context.Context, *GetFileAttributesRequest) (*GetFileAttributesResponse, error)
- func (UnimplementedRepositoryServiceServer) GetInfoAttributes(*GetInfoAttributesRequest, RepositoryService_GetInfoAttributesServer) error
- func (UnimplementedRepositoryServiceServer) GetObjectDirectorySize(context.Context, *GetObjectDirectorySizeRequest) (*GetObjectDirectorySizeResponse, error)
- func (UnimplementedRepositoryServiceServer) GetRawChanges(*GetRawChangesRequest, RepositoryService_GetRawChangesServer) error
- func (UnimplementedRepositoryServiceServer) GetSnapshot(*GetSnapshotRequest, RepositoryService_GetSnapshotServer) error
- func (UnimplementedRepositoryServiceServer) HasLocalBranches(context.Context, *HasLocalBranchesRequest) (*HasLocalBranchesResponse, error)
- func (UnimplementedRepositoryServiceServer) ObjectFormat(context.Context, *ObjectFormatRequest) (*ObjectFormatResponse, error)
- func (UnimplementedRepositoryServiceServer) ObjectsSize(RepositoryService_ObjectsSizeServer) error
- func (UnimplementedRepositoryServiceServer) OptimizeRepository(context.Context, *OptimizeRepositoryRequest) (*OptimizeRepositoryResponse, error)
- func (UnimplementedRepositoryServiceServer) PruneUnreachableObjects(context.Context, *PruneUnreachableObjectsRequest) (*PruneUnreachableObjectsResponse, error)
- func (UnimplementedRepositoryServiceServer) RemoveAll(context.Context, *RemoveAllRequest) (*RemoveAllResponse, error)
- func (UnimplementedRepositoryServiceServer) RemoveRepository(context.Context, *RemoveRepositoryRequest) (*RemoveRepositoryResponse, error)
- func (UnimplementedRepositoryServiceServer) RenameRepository(context.Context, *RenameRepositoryRequest) (*RenameRepositoryResponse, error)
- func (UnimplementedRepositoryServiceServer) ReplicateRepository(context.Context, *ReplicateRepositoryRequest) (*ReplicateRepositoryResponse, error)
- func (UnimplementedRepositoryServiceServer) RepositoryExists(context.Context, *RepositoryExistsRequest) (*RepositoryExistsResponse, error)
- func (UnimplementedRepositoryServiceServer) RepositoryInfo(context.Context, *RepositoryInfoRequest) (*RepositoryInfoResponse, error)
- func (UnimplementedRepositoryServiceServer) RepositorySize(context.Context, *RepositorySizeRequest) (*RepositorySizeResponse, error)
- func (UnimplementedRepositoryServiceServer) RestoreCustomHooks(RepositoryService_RestoreCustomHooksServer) error
- func (UnimplementedRepositoryServiceServer) RestoreRepository(context.Context, *RestoreRepositoryRequest) (*RestoreRepositoryResponse, error)
- func (UnimplementedRepositoryServiceServer) SearchFilesByContent(*SearchFilesByContentRequest, RepositoryService_SearchFilesByContentServer) error
- func (UnimplementedRepositoryServiceServer) SearchFilesByName(*SearchFilesByNameRequest, RepositoryService_SearchFilesByNameServer) error
- func (UnimplementedRepositoryServiceServer) SetCustomHooks(RepositoryService_SetCustomHooksServer) error
- func (UnimplementedRepositoryServiceServer) SetFullPath(context.Context, *SetFullPathRequest) (*SetFullPathResponse, error)
- func (UnimplementedRepositoryServiceServer) WriteRef(context.Context, *WriteRefRequest) (*WriteRefResponse, error)
- type UnimplementedSSHServiceServer
- func (UnimplementedSSHServiceServer) SSHReceivePack(SSHService_SSHReceivePackServer) error
- func (UnimplementedSSHServiceServer) SSHUploadArchive(SSHService_SSHUploadArchiveServer) error
- func (UnimplementedSSHServiceServer) SSHUploadPack(SSHService_SSHUploadPackServer) error
- func (UnimplementedSSHServiceServer) SSHUploadPackWithSidechannel(context.Context, *SSHUploadPackWithSidechannelRequest) (*SSHUploadPackWithSidechannelResponse, error)
- type UnimplementedServerServiceServer
- func (UnimplementedServerServiceServer) ClockSynced(context.Context, *ClockSyncedRequest) (*ClockSyncedResponse, error)
- func (UnimplementedServerServiceServer) DiskStatistics(context.Context, *DiskStatisticsRequest) (*DiskStatisticsResponse, error)
- func (UnimplementedServerServiceServer) ReadinessCheck(context.Context, *ReadinessCheckRequest) (*ReadinessCheckResponse, error)
- func (UnimplementedServerServiceServer) ServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error)
- type UnimplementedSmartHTTPServiceServer
- func (UnimplementedSmartHTTPServiceServer) InfoRefsReceivePack(*InfoRefsRequest, SmartHTTPService_InfoRefsReceivePackServer) error
- func (UnimplementedSmartHTTPServiceServer) InfoRefsUploadPack(*InfoRefsRequest, SmartHTTPService_InfoRefsUploadPackServer) error
- func (UnimplementedSmartHTTPServiceServer) PostReceivePack(SmartHTTPService_PostReceivePackServer) error
- func (UnimplementedSmartHTTPServiceServer) PostUploadPackWithSidechannel(context.Context, *PostUploadPackWithSidechannelRequest) (*PostUploadPackWithSidechannelResponse, error)
- type UnsafeBlobServiceServer
- type UnsafeCleanupServiceServer
- type UnsafeCommitServiceServer
- type UnsafeConflictsServiceServer
- type UnsafeDiffServiceServer
- type UnsafeHookServiceServer
- type UnsafeInternalGitalyServer
- type UnsafeNamespaceServiceServer
- type UnsafeObjectPoolServiceServer
- type UnsafeOperationServiceServer
- type UnsafePraefectInfoServiceServer
- type UnsafeRefServiceServer
- type UnsafeRefTransactionServer
- type UnsafeRemoteServiceServer
- type UnsafeRepositoryServiceServer
- type UnsafeSSHServiceServer
- type UnsafeServerServiceServer
- type UnsafeSmartHTTPServiceServer
- type UpdateHookRequest
- func (*UpdateHookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateHookRequest) GetEnvironmentVariables() []string
- func (x *UpdateHookRequest) GetNewValue() string
- func (x *UpdateHookRequest) GetOldValue() string
- func (x *UpdateHookRequest) GetRef() []byte
- func (x *UpdateHookRequest) GetRepository() *Repository
- func (*UpdateHookRequest) ProtoMessage()
- func (x *UpdateHookRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateHookRequest) Reset()
- func (x *UpdateHookRequest) String() string
- type UpdateHookResponse
- func (*UpdateHookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateHookResponse) GetExitStatus() *ExitStatus
- func (x *UpdateHookResponse) GetStderr() []byte
- func (x *UpdateHookResponse) GetStdout() []byte
- func (*UpdateHookResponse) ProtoMessage()
- func (x *UpdateHookResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateHookResponse) Reset()
- func (x *UpdateHookResponse) String() string
- type UpdateReferencesError
- func (*UpdateReferencesError) Descriptor() ([]byte, []int)deprecated
- func (m *UpdateReferencesError) GetError() isUpdateReferencesError_Error
- func (x *UpdateReferencesError) GetInvalidFormat() *InvalidRefFormatError
- func (x *UpdateReferencesError) GetReferenceStateMismatch() *ReferenceStateMismatchError
- func (x *UpdateReferencesError) GetReferencesLocked() *ReferencesLockedError
- func (*UpdateReferencesError) ProtoMessage()
- func (x *UpdateReferencesError) ProtoReflect() protoreflect.Message
- func (x *UpdateReferencesError) Reset()
- func (x *UpdateReferencesError) String() string
- type UpdateReferencesError_InvalidFormat
- type UpdateReferencesError_ReferenceStateMismatch
- type UpdateReferencesError_ReferencesLocked
- type UpdateReferencesRequest
- func (*UpdateReferencesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateReferencesRequest) GetRepository() *Repository
- func (x *UpdateReferencesRequest) GetUpdates() []*UpdateReferencesRequest_Update
- func (*UpdateReferencesRequest) ProtoMessage()
- func (x *UpdateReferencesRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateReferencesRequest) Reset()
- func (x *UpdateReferencesRequest) String() string
- type UpdateReferencesRequest_Update
- func (*UpdateReferencesRequest_Update) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateReferencesRequest_Update) GetNewObjectId() []byte
- func (x *UpdateReferencesRequest_Update) GetOldObjectId() []byte
- func (x *UpdateReferencesRequest_Update) GetReference() []byte
- func (*UpdateReferencesRequest_Update) ProtoMessage()
- func (x *UpdateReferencesRequest_Update) ProtoReflect() protoreflect.Message
- func (x *UpdateReferencesRequest_Update) Reset()
- func (x *UpdateReferencesRequest_Update) String() string
- type UpdateReferencesResponse
- type UpdateRemoteMirrorRequest
- func (*UpdateRemoteMirrorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRemoteMirrorRequest) GetKeepDivergentRefs() bool
- func (x *UpdateRemoteMirrorRequest) GetKnownHosts() string
- func (x *UpdateRemoteMirrorRequest) GetOnlyBranchesMatching() [][]byte
- func (x *UpdateRemoteMirrorRequest) GetRemote() *UpdateRemoteMirrorRequest_Remote
- func (x *UpdateRemoteMirrorRequest) GetRepository() *Repository
- func (x *UpdateRemoteMirrorRequest) GetSshKey() string
- func (*UpdateRemoteMirrorRequest) ProtoMessage()
- func (x *UpdateRemoteMirrorRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRemoteMirrorRequest) Reset()
- func (x *UpdateRemoteMirrorRequest) String() string
- type UpdateRemoteMirrorRequest_Remote
- func (*UpdateRemoteMirrorRequest_Remote) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRemoteMirrorRequest_Remote) GetHttpAuthorizationHeader() string
- func (x *UpdateRemoteMirrorRequest_Remote) GetResolvedAddress() string
- func (x *UpdateRemoteMirrorRequest_Remote) GetUrl() string
- func (*UpdateRemoteMirrorRequest_Remote) ProtoMessage()
- func (x *UpdateRemoteMirrorRequest_Remote) ProtoReflect() protoreflect.Message
- func (x *UpdateRemoteMirrorRequest_Remote) Reset()
- func (x *UpdateRemoteMirrorRequest_Remote) String() string
- type UpdateRemoteMirrorResponse
- func (*UpdateRemoteMirrorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRemoteMirrorResponse) GetDivergentRefs() [][]byte
- func (*UpdateRemoteMirrorResponse) ProtoMessage()
- func (x *UpdateRemoteMirrorResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRemoteMirrorResponse) Reset()
- func (x *UpdateRemoteMirrorResponse) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetEmail() []byte
- func (x *User) GetGlId() string
- func (x *User) GetGlUsername() string
- func (x *User) GetName() []byte
- func (x *User) GetTimezone() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserApplyPatchRequest
- func (*UserApplyPatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserApplyPatchRequest) GetHeader() *UserApplyPatchRequest_Header
- func (x *UserApplyPatchRequest) GetPatches() []byte
- func (m *UserApplyPatchRequest) GetUserApplyPatchRequestPayload() isUserApplyPatchRequest_UserApplyPatchRequestPayload
- func (*UserApplyPatchRequest) ProtoMessage()
- func (x *UserApplyPatchRequest) ProtoReflect() protoreflect.Message
- func (x *UserApplyPatchRequest) Reset()
- func (x *UserApplyPatchRequest) String() string
- type UserApplyPatchRequest_Header
- func (*UserApplyPatchRequest_Header) Descriptor() ([]byte, []int)deprecated
- func (x *UserApplyPatchRequest_Header) GetExpectedOldOid() string
- func (x *UserApplyPatchRequest_Header) GetRepository() *Repository
- func (x *UserApplyPatchRequest_Header) GetTargetBranch() []byte
- func (x *UserApplyPatchRequest_Header) GetTimestamp() *timestamppb.Timestamp
- func (x *UserApplyPatchRequest_Header) GetUser() *User
- func (*UserApplyPatchRequest_Header) ProtoMessage()
- func (x *UserApplyPatchRequest_Header) ProtoReflect() protoreflect.Message
- func (x *UserApplyPatchRequest_Header) Reset()
- func (x *UserApplyPatchRequest_Header) String() string
- type UserApplyPatchRequest_Header_
- type UserApplyPatchRequest_Patches
- type UserApplyPatchResponse
- func (*UserApplyPatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserApplyPatchResponse) GetBranchUpdate() *OperationBranchUpdate
- func (*UserApplyPatchResponse) ProtoMessage()
- func (x *UserApplyPatchResponse) ProtoReflect() protoreflect.Message
- func (x *UserApplyPatchResponse) Reset()
- func (x *UserApplyPatchResponse) String() string
- type UserCherryPickError
- func (*UserCherryPickError) Descriptor() ([]byte, []int)deprecated
- func (x *UserCherryPickError) GetAccessCheck() *AccessCheckError
- func (x *UserCherryPickError) GetChangesAlreadyApplied() *ChangesAlreadyAppliedError
- func (x *UserCherryPickError) GetCherryPickConflict() *MergeConflictError
- func (m *UserCherryPickError) GetError() isUserCherryPickError_Error
- func (x *UserCherryPickError) GetTargetBranchDiverged() *NotAncestorError
- func (*UserCherryPickError) ProtoMessage()
- func (x *UserCherryPickError) ProtoReflect() protoreflect.Message
- func (x *UserCherryPickError) Reset()
- func (x *UserCherryPickError) String() string
- type UserCherryPickError_AccessCheck
- type UserCherryPickError_ChangesAlreadyApplied
- type UserCherryPickError_CherryPickConflict
- type UserCherryPickError_TargetBranchDiverged
- type UserCherryPickRequest
- func (*UserCherryPickRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserCherryPickRequest) GetBranchName() []byte
- func (x *UserCherryPickRequest) GetCommit() *GitCommit
- func (x *UserCherryPickRequest) GetDryRun() bool
- func (x *UserCherryPickRequest) GetExpectedOldOid() string
- func (x *UserCherryPickRequest) GetMessage() []byte
- func (x *UserCherryPickRequest) GetRepository() *Repository
- func (x *UserCherryPickRequest) GetStartBranchName() []byte
- func (x *UserCherryPickRequest) GetStartRepository() *Repository
- func (x *UserCherryPickRequest) GetTimestamp() *timestamppb.Timestamp
- func (x *UserCherryPickRequest) GetUser() *User
- func (*UserCherryPickRequest) ProtoMessage()
- func (x *UserCherryPickRequest) ProtoReflect() protoreflect.Message
- func (x *UserCherryPickRequest) Reset()
- func (x *UserCherryPickRequest) String() string
- type UserCherryPickResponse
- func (*UserCherryPickResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserCherryPickResponse) GetBranchUpdate() *OperationBranchUpdate
- func (*UserCherryPickResponse) ProtoMessage()
- func (x *UserCherryPickResponse) ProtoReflect() protoreflect.Message
- func (x *UserCherryPickResponse) Reset()
- func (x *UserCherryPickResponse) String() string
- type UserCommitFilesAction
- func (*UserCommitFilesAction) Descriptor() ([]byte, []int)deprecated
- func (x *UserCommitFilesAction) GetContent() []byte
- func (x *UserCommitFilesAction) GetHeader() *UserCommitFilesActionHeader
- func (m *UserCommitFilesAction) GetUserCommitFilesActionPayload() isUserCommitFilesAction_UserCommitFilesActionPayload
- func (*UserCommitFilesAction) ProtoMessage()
- func (x *UserCommitFilesAction) ProtoReflect() protoreflect.Message
- func (x *UserCommitFilesAction) Reset()
- func (x *UserCommitFilesAction) String() string
- type UserCommitFilesActionHeader
- func (*UserCommitFilesActionHeader) Descriptor() ([]byte, []int)deprecated
- func (x *UserCommitFilesActionHeader) GetAction() UserCommitFilesActionHeader_ActionType
- func (x *UserCommitFilesActionHeader) GetBase64Content() bool
- func (x *UserCommitFilesActionHeader) GetExecuteFilemode() bool
- func (x *UserCommitFilesActionHeader) GetFilePath() []byte
- func (x *UserCommitFilesActionHeader) GetInferContent() bool
- func (x *UserCommitFilesActionHeader) GetPreviousPath() []byte
- func (*UserCommitFilesActionHeader) ProtoMessage()
- func (x *UserCommitFilesActionHeader) ProtoReflect() protoreflect.Message
- func (x *UserCommitFilesActionHeader) Reset()
- func (x *UserCommitFilesActionHeader) String() string
- type UserCommitFilesActionHeader_ActionType
- func (UserCommitFilesActionHeader_ActionType) Descriptor() protoreflect.EnumDescriptor
- func (x UserCommitFilesActionHeader_ActionType) Enum() *UserCommitFilesActionHeader_ActionType
- func (UserCommitFilesActionHeader_ActionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserCommitFilesActionHeader_ActionType) Number() protoreflect.EnumNumber
- func (x UserCommitFilesActionHeader_ActionType) String() string
- func (UserCommitFilesActionHeader_ActionType) Type() protoreflect.EnumType
- type UserCommitFilesAction_Content
- type UserCommitFilesAction_Header
- type UserCommitFilesError
- func (*UserCommitFilesError) Descriptor() ([]byte, []int)deprecated
- func (x *UserCommitFilesError) GetAccessCheck() *AccessCheckError
- func (x *UserCommitFilesError) GetCustomHook() *CustomHookError
- func (m *UserCommitFilesError) GetError() isUserCommitFilesError_Error
- func (x *UserCommitFilesError) GetIndexUpdate() *IndexError
- func (*UserCommitFilesError) ProtoMessage()
- func (x *UserCommitFilesError) ProtoReflect() protoreflect.Message
- func (x *UserCommitFilesError) Reset()
- func (x *UserCommitFilesError) String() string
- type UserCommitFilesError_AccessCheck
- type UserCommitFilesError_CustomHook
- type UserCommitFilesError_IndexUpdate
- type UserCommitFilesRequest
- func (*UserCommitFilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserCommitFilesRequest) GetAction() *UserCommitFilesAction
- func (x *UserCommitFilesRequest) GetHeader() *UserCommitFilesRequestHeader
- func (m *UserCommitFilesRequest) GetUserCommitFilesRequestPayload() isUserCommitFilesRequest_UserCommitFilesRequestPayload
- func (*UserCommitFilesRequest) ProtoMessage()
- func (x *UserCommitFilesRequest) ProtoReflect() protoreflect.Message
- func (x *UserCommitFilesRequest) Reset()
- func (x *UserCommitFilesRequest) String() string
- type UserCommitFilesRequestHeader
- func (*UserCommitFilesRequestHeader) Descriptor() ([]byte, []int)deprecated
- func (x *UserCommitFilesRequestHeader) GetBranchName() []byte
- func (x *UserCommitFilesRequestHeader) GetCommitAuthorEmail() []byte
- func (x *UserCommitFilesRequestHeader) GetCommitAuthorName() []byte
- func (x *UserCommitFilesRequestHeader) GetCommitMessage() []byte
- func (x *UserCommitFilesRequestHeader) GetExpectedOldOid() string
- func (x *UserCommitFilesRequestHeader) GetForce() bool
- func (x *UserCommitFilesRequestHeader) GetRepository() *Repository
- func (x *UserCommitFilesRequestHeader) GetStartBranchName() []byte
- func (x *UserCommitFilesRequestHeader) GetStartRepository() *Repository
- func (x *UserCommitFilesRequestHeader) GetStartSha() string
- func (x *UserCommitFilesRequestHeader) GetTimestamp() *timestamppb.Timestamp
- func (x *UserCommitFilesRequestHeader) GetUser() *User
- func (*UserCommitFilesRequestHeader) ProtoMessage()
- func (x *UserCommitFilesRequestHeader) ProtoReflect() protoreflect.Message
- func (x *UserCommitFilesRequestHeader) Reset()
- func (x *UserCommitFilesRequestHeader) String() string
- type UserCommitFilesRequest_Action
- type UserCommitFilesRequest_Header
- type UserCommitFilesResponse
- func (*UserCommitFilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserCommitFilesResponse) GetBranchUpdate() *OperationBranchUpdate
- func (x *UserCommitFilesResponse) GetIndexError() string
- func (x *UserCommitFilesResponse) GetPreReceiveError() string
- func (*UserCommitFilesResponse) ProtoMessage()
- func (x *UserCommitFilesResponse) ProtoReflect() protoreflect.Message
- func (x *UserCommitFilesResponse) Reset()
- func (x *UserCommitFilesResponse) String() string
- type UserCreateBranchError
- func (*UserCreateBranchError) Descriptor() ([]byte, []int)deprecated
- func (x *UserCreateBranchError) GetCustomHook() *CustomHookError
- func (m *UserCreateBranchError) GetError() isUserCreateBranchError_Error
- func (*UserCreateBranchError) ProtoMessage()
- func (x *UserCreateBranchError) ProtoReflect() protoreflect.Message
- func (x *UserCreateBranchError) Reset()
- func (x *UserCreateBranchError) String() string
- type UserCreateBranchError_CustomHook
- type UserCreateBranchRequest
- func (*UserCreateBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserCreateBranchRequest) GetBranchName() []byte
- func (x *UserCreateBranchRequest) GetRepository() *Repository
- func (x *UserCreateBranchRequest) GetStartPoint() []byte
- func (x *UserCreateBranchRequest) GetUser() *User
- func (*UserCreateBranchRequest) ProtoMessage()
- func (x *UserCreateBranchRequest) ProtoReflect() protoreflect.Message
- func (x *UserCreateBranchRequest) Reset()
- func (x *UserCreateBranchRequest) String() string
- type UserCreateBranchResponse
- func (*UserCreateBranchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserCreateBranchResponse) GetBranch() *Branch
- func (*UserCreateBranchResponse) ProtoMessage()
- func (x *UserCreateBranchResponse) ProtoReflect() protoreflect.Message
- func (x *UserCreateBranchResponse) Reset()
- func (x *UserCreateBranchResponse) String() string
- type UserCreateTagError
- func (*UserCreateTagError) Descriptor() ([]byte, []int)deprecated
- func (x *UserCreateTagError) GetAccessCheck() *AccessCheckError
- func (x *UserCreateTagError) GetCustomHook() *CustomHookError
- func (m *UserCreateTagError) GetError() isUserCreateTagError_Error
- func (x *UserCreateTagError) GetReferenceExists() *ReferenceExistsError
- func (x *UserCreateTagError) GetReferenceUpdate() *ReferenceUpdateError
- func (*UserCreateTagError) ProtoMessage()
- func (x *UserCreateTagError) ProtoReflect() protoreflect.Message
- func (x *UserCreateTagError) Reset()
- func (x *UserCreateTagError) String() string
- type UserCreateTagError_AccessCheck
- type UserCreateTagError_CustomHook
- type UserCreateTagError_ReferenceExists
- type UserCreateTagError_ReferenceUpdate
- type UserCreateTagRequest
- func (*UserCreateTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserCreateTagRequest) GetMessage() []byte
- func (x *UserCreateTagRequest) GetRepository() *Repository
- func (x *UserCreateTagRequest) GetTagName() []byte
- func (x *UserCreateTagRequest) GetTargetRevision() []byte
- func (x *UserCreateTagRequest) GetTimestamp() *timestamppb.Timestamp
- func (x *UserCreateTagRequest) GetUser() *User
- func (*UserCreateTagRequest) ProtoMessage()
- func (x *UserCreateTagRequest) ProtoReflect() protoreflect.Message
- func (x *UserCreateTagRequest) Reset()
- func (x *UserCreateTagRequest) String() string
- type UserCreateTagResponse
- func (*UserCreateTagResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserCreateTagResponse) GetTag() *Tag
- func (*UserCreateTagResponse) ProtoMessage()
- func (x *UserCreateTagResponse) ProtoReflect() protoreflect.Message
- func (x *UserCreateTagResponse) Reset()
- func (x *UserCreateTagResponse) String() string
- type UserDeleteBranchError
- func (*UserDeleteBranchError) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeleteBranchError) GetAccessCheck() *AccessCheckError
- func (x *UserDeleteBranchError) GetCustomHook() *CustomHookError
- func (m *UserDeleteBranchError) GetError() isUserDeleteBranchError_Error
- func (x *UserDeleteBranchError) GetReferenceUpdate() *ReferenceUpdateError
- func (*UserDeleteBranchError) ProtoMessage()
- func (x *UserDeleteBranchError) ProtoReflect() protoreflect.Message
- func (x *UserDeleteBranchError) Reset()
- func (x *UserDeleteBranchError) String() string
- type UserDeleteBranchError_AccessCheck
- type UserDeleteBranchError_CustomHook
- type UserDeleteBranchError_ReferenceUpdate
- type UserDeleteBranchRequest
- func (*UserDeleteBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeleteBranchRequest) GetBranchName() []byte
- func (x *UserDeleteBranchRequest) GetExpectedOldOid() string
- func (x *UserDeleteBranchRequest) GetRepository() *Repository
- func (x *UserDeleteBranchRequest) GetUser() *User
- func (*UserDeleteBranchRequest) ProtoMessage()
- func (x *UserDeleteBranchRequest) ProtoReflect() protoreflect.Message
- func (x *UserDeleteBranchRequest) Reset()
- func (x *UserDeleteBranchRequest) String() string
- type UserDeleteBranchResponse
- type UserDeleteTagRequest
- func (*UserDeleteTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeleteTagRequest) GetExpectedOldOid() string
- func (x *UserDeleteTagRequest) GetRepository() *Repository
- func (x *UserDeleteTagRequest) GetTagName() []byte
- func (x *UserDeleteTagRequest) GetUser() *User
- func (*UserDeleteTagRequest) ProtoMessage()
- func (x *UserDeleteTagRequest) ProtoReflect() protoreflect.Message
- func (x *UserDeleteTagRequest) Reset()
- func (x *UserDeleteTagRequest) String() string
- type UserDeleteTagResponse
- func (*UserDeleteTagResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserDeleteTagResponse) GetPreReceiveError() string
- func (*UserDeleteTagResponse) ProtoMessage()
- func (x *UserDeleteTagResponse) ProtoReflect() protoreflect.Message
- func (x *UserDeleteTagResponse) Reset()
- func (x *UserDeleteTagResponse) String() string
- type UserFFBranchRequest
- func (*UserFFBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserFFBranchRequest) GetBranch() []byte
- func (x *UserFFBranchRequest) GetCommitId() string
- func (x *UserFFBranchRequest) GetExpectedOldOid() string
- func (x *UserFFBranchRequest) GetRepository() *Repository
- func (x *UserFFBranchRequest) GetUser() *User
- func (*UserFFBranchRequest) ProtoMessage()
- func (x *UserFFBranchRequest) ProtoReflect() protoreflect.Message
- func (x *UserFFBranchRequest) Reset()
- func (x *UserFFBranchRequest) String() string
- type UserFFBranchResponse
- func (*UserFFBranchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserFFBranchResponse) GetBranchUpdate() *OperationBranchUpdate
- func (x *UserFFBranchResponse) GetPreReceiveError() string
- func (*UserFFBranchResponse) ProtoMessage()
- func (x *UserFFBranchResponse) ProtoReflect() protoreflect.Message
- func (x *UserFFBranchResponse) Reset()
- func (x *UserFFBranchResponse) String() string
- type UserMergeBranchError
- func (*UserMergeBranchError) Descriptor() ([]byte, []int)deprecated
- func (x *UserMergeBranchError) GetAccessCheck() *AccessCheckError
- func (x *UserMergeBranchError) GetCustomHook() *CustomHookError
- func (m *UserMergeBranchError) GetError() isUserMergeBranchError_Error
- func (x *UserMergeBranchError) GetMergeConflict() *MergeConflictError
- func (x *UserMergeBranchError) GetReferenceUpdate() *ReferenceUpdateError
- func (*UserMergeBranchError) ProtoMessage()
- func (x *UserMergeBranchError) ProtoReflect() protoreflect.Message
- func (x *UserMergeBranchError) Reset()
- func (x *UserMergeBranchError) String() string
- type UserMergeBranchError_AccessCheck
- type UserMergeBranchError_CustomHook
- type UserMergeBranchError_MergeConflict
- type UserMergeBranchError_ReferenceUpdate
- type UserMergeBranchRequest
- func (*UserMergeBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserMergeBranchRequest) GetApply() bool
- func (x *UserMergeBranchRequest) GetBranch() []byte
- func (x *UserMergeBranchRequest) GetCommitId() string
- func (x *UserMergeBranchRequest) GetExpectedOldOid() string
- func (x *UserMergeBranchRequest) GetMessage() []byte
- func (x *UserMergeBranchRequest) GetRepository() *Repository
- func (x *UserMergeBranchRequest) GetTimestamp() *timestamppb.Timestamp
- func (x *UserMergeBranchRequest) GetUser() *User
- func (*UserMergeBranchRequest) ProtoMessage()
- func (x *UserMergeBranchRequest) ProtoReflect() protoreflect.Message
- func (x *UserMergeBranchRequest) Reset()
- func (x *UserMergeBranchRequest) String() string
- type UserMergeBranchResponse
- func (*UserMergeBranchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserMergeBranchResponse) GetBranchUpdate() *OperationBranchUpdate
- func (x *UserMergeBranchResponse) GetCommitId() string
- func (*UserMergeBranchResponse) ProtoMessage()
- func (x *UserMergeBranchResponse) ProtoReflect() protoreflect.Message
- func (x *UserMergeBranchResponse) Reset()
- func (x *UserMergeBranchResponse) String() string
- type UserMergeToRefRequest
- func (*UserMergeToRefRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserMergeToRefRequest) GetAllowConflicts() booldeprecated
- func (x *UserMergeToRefRequest) GetBranch() []byte
- func (x *UserMergeToRefRequest) GetExpectedOldOid() string
- func (x *UserMergeToRefRequest) GetFirstParentRef() []byte
- func (x *UserMergeToRefRequest) GetMessage() []byte
- func (x *UserMergeToRefRequest) GetRepository() *Repository
- func (x *UserMergeToRefRequest) GetSourceSha() string
- func (x *UserMergeToRefRequest) GetTargetRef() []byte
- func (x *UserMergeToRefRequest) GetTimestamp() *timestamppb.Timestamp
- func (x *UserMergeToRefRequest) GetUser() *User
- func (*UserMergeToRefRequest) ProtoMessage()
- func (x *UserMergeToRefRequest) ProtoReflect() protoreflect.Message
- func (x *UserMergeToRefRequest) Reset()
- func (x *UserMergeToRefRequest) String() string
- type UserMergeToRefResponse
- func (*UserMergeToRefResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserMergeToRefResponse) GetCommitId() string
- func (*UserMergeToRefResponse) ProtoMessage()
- func (x *UserMergeToRefResponse) ProtoReflect() protoreflect.Message
- func (x *UserMergeToRefResponse) Reset()
- func (x *UserMergeToRefResponse) String() string
- type UserRebaseConfirmableError
- func (*UserRebaseConfirmableError) Descriptor() ([]byte, []int)deprecated
- func (x *UserRebaseConfirmableError) GetAccessCheck() *AccessCheckError
- func (m *UserRebaseConfirmableError) GetError() isUserRebaseConfirmableError_Error
- func (x *UserRebaseConfirmableError) GetRebaseConflict() *MergeConflictError
- func (*UserRebaseConfirmableError) ProtoMessage()
- func (x *UserRebaseConfirmableError) ProtoReflect() protoreflect.Message
- func (x *UserRebaseConfirmableError) Reset()
- func (x *UserRebaseConfirmableError) String() string
- type UserRebaseConfirmableError_AccessCheck
- type UserRebaseConfirmableError_RebaseConflict
- type UserRebaseConfirmableRequest
- func (*UserRebaseConfirmableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserRebaseConfirmableRequest) GetApply() bool
- func (x *UserRebaseConfirmableRequest) GetHeader() *UserRebaseConfirmableRequest_Header
- func (m *UserRebaseConfirmableRequest) GetUserRebaseConfirmableRequestPayload() isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload
- func (*UserRebaseConfirmableRequest) ProtoMessage()
- func (x *UserRebaseConfirmableRequest) ProtoReflect() protoreflect.Message
- func (x *UserRebaseConfirmableRequest) Reset()
- func (x *UserRebaseConfirmableRequest) String() string
- type UserRebaseConfirmableRequest_Apply
- type UserRebaseConfirmableRequest_Header
- func (*UserRebaseConfirmableRequest_Header) Descriptor() ([]byte, []int)deprecated
- func (x *UserRebaseConfirmableRequest_Header) GetBranch() []byte
- func (x *UserRebaseConfirmableRequest_Header) GetBranchSha() string
- func (x *UserRebaseConfirmableRequest_Header) GetGitPushOptions() []string
- func (x *UserRebaseConfirmableRequest_Header) GetRebaseId() stringdeprecated
- func (x *UserRebaseConfirmableRequest_Header) GetRemoteBranch() []byte
- func (x *UserRebaseConfirmableRequest_Header) GetRemoteRepository() *Repository
- func (x *UserRebaseConfirmableRequest_Header) GetRepository() *Repository
- func (x *UserRebaseConfirmableRequest_Header) GetTimestamp() *timestamppb.Timestamp
- func (x *UserRebaseConfirmableRequest_Header) GetUser() *User
- func (*UserRebaseConfirmableRequest_Header) ProtoMessage()
- func (x *UserRebaseConfirmableRequest_Header) ProtoReflect() protoreflect.Message
- func (x *UserRebaseConfirmableRequest_Header) Reset()
- func (x *UserRebaseConfirmableRequest_Header) String() string
- type UserRebaseConfirmableRequest_Header_
- type UserRebaseConfirmableResponse
- func (*UserRebaseConfirmableResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserRebaseConfirmableResponse) GetGitError() string
- func (x *UserRebaseConfirmableResponse) GetPreReceiveError() string
- func (x *UserRebaseConfirmableResponse) GetRebaseApplied() bool
- func (x *UserRebaseConfirmableResponse) GetRebaseSha() string
- func (m *UserRebaseConfirmableResponse) GetUserRebaseConfirmableResponsePayload() isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload
- func (*UserRebaseConfirmableResponse) ProtoMessage()
- func (x *UserRebaseConfirmableResponse) ProtoReflect() protoreflect.Message
- func (x *UserRebaseConfirmableResponse) Reset()
- func (x *UserRebaseConfirmableResponse) String() string
- type UserRebaseConfirmableResponse_RebaseApplied
- type UserRebaseConfirmableResponse_RebaseSha
- type UserRebaseToRefRequest
- func (*UserRebaseToRefRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserRebaseToRefRequest) GetExpectedOldOid() string
- func (x *UserRebaseToRefRequest) GetFirstParentRef() []byte
- func (x *UserRebaseToRefRequest) GetRepository() *Repository
- func (x *UserRebaseToRefRequest) GetSourceSha() string
- func (x *UserRebaseToRefRequest) GetTargetRef() []byte
- func (x *UserRebaseToRefRequest) GetTimestamp() *timestamppb.Timestamp
- func (x *UserRebaseToRefRequest) GetUser() *User
- func (*UserRebaseToRefRequest) ProtoMessage()
- func (x *UserRebaseToRefRequest) ProtoReflect() protoreflect.Message
- func (x *UserRebaseToRefRequest) Reset()
- func (x *UserRebaseToRefRequest) String() string
- type UserRebaseToRefResponse
- func (*UserRebaseToRefResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserRebaseToRefResponse) GetCommitId() string
- func (*UserRebaseToRefResponse) ProtoMessage()
- func (x *UserRebaseToRefResponse) ProtoReflect() protoreflect.Message
- func (x *UserRebaseToRefResponse) Reset()
- func (x *UserRebaseToRefResponse) String() string
- type UserRevertRequest
- func (*UserRevertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserRevertRequest) GetBranchName() []byte
- func (x *UserRevertRequest) GetCommit() *GitCommit
- func (x *UserRevertRequest) GetDryRun() bool
- func (x *UserRevertRequest) GetExpectedOldOid() string
- func (x *UserRevertRequest) GetMessage() []byte
- func (x *UserRevertRequest) GetRepository() *Repository
- func (x *UserRevertRequest) GetStartBranchName() []byte
- func (x *UserRevertRequest) GetStartRepository() *Repository
- func (x *UserRevertRequest) GetTimestamp() *timestamppb.Timestamp
- func (x *UserRevertRequest) GetUser() *User
- func (*UserRevertRequest) ProtoMessage()
- func (x *UserRevertRequest) ProtoReflect() protoreflect.Message
- func (x *UserRevertRequest) Reset()
- func (x *UserRevertRequest) String() string
- type UserRevertResponse
- func (*UserRevertResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserRevertResponse) GetBranchUpdate() *OperationBranchUpdate
- func (x *UserRevertResponse) GetCommitError() string
- func (x *UserRevertResponse) GetCreateTreeError() string
- func (x *UserRevertResponse) GetCreateTreeErrorCode() UserRevertResponse_CreateTreeError
- func (x *UserRevertResponse) GetPreReceiveError() string
- func (*UserRevertResponse) ProtoMessage()
- func (x *UserRevertResponse) ProtoReflect() protoreflect.Message
- func (x *UserRevertResponse) Reset()
- func (x *UserRevertResponse) String() string
- type UserRevertResponse_CreateTreeError
- func (UserRevertResponse_CreateTreeError) Descriptor() protoreflect.EnumDescriptor
- func (x UserRevertResponse_CreateTreeError) Enum() *UserRevertResponse_CreateTreeError
- func (UserRevertResponse_CreateTreeError) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserRevertResponse_CreateTreeError) Number() protoreflect.EnumNumber
- func (x UserRevertResponse_CreateTreeError) String() string
- func (UserRevertResponse_CreateTreeError) Type() protoreflect.EnumType
- type UserSquashError
- func (*UserSquashError) Descriptor() ([]byte, []int)deprecated
- func (m *UserSquashError) GetError() isUserSquashError_Error
- func (x *UserSquashError) GetRebaseConflict() *MergeConflictError
- func (x *UserSquashError) GetResolveRevision() *ResolveRevisionError
- func (*UserSquashError) ProtoMessage()
- func (x *UserSquashError) ProtoReflect() protoreflect.Message
- func (x *UserSquashError) Reset()
- func (x *UserSquashError) String() string
- type UserSquashError_RebaseConflict
- type UserSquashError_ResolveRevision
- type UserSquashRequest
- func (*UserSquashRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserSquashRequest) GetAuthor() *User
- func (x *UserSquashRequest) GetCommitMessage() []byte
- func (x *UserSquashRequest) GetEndSha() string
- func (x *UserSquashRequest) GetRepository() *Repository
- func (x *UserSquashRequest) GetStartSha() string
- func (x *UserSquashRequest) GetTimestamp() *timestamppb.Timestamp
- func (x *UserSquashRequest) GetUser() *User
- func (*UserSquashRequest) ProtoMessage()
- func (x *UserSquashRequest) ProtoReflect() protoreflect.Message
- func (x *UserSquashRequest) Reset()
- func (x *UserSquashRequest) String() string
- type UserSquashResponse
- func (*UserSquashResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserSquashResponse) GetSquashSha() string
- func (*UserSquashResponse) ProtoMessage()
- func (x *UserSquashResponse) ProtoReflect() protoreflect.Message
- func (x *UserSquashResponse) Reset()
- func (x *UserSquashResponse) String() string
- type UserUpdateBranchRequest
- func (*UserUpdateBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserUpdateBranchRequest) GetBranchName() []byte
- func (x *UserUpdateBranchRequest) GetNewrev() []byte
- func (x *UserUpdateBranchRequest) GetOldrev() []byte
- func (x *UserUpdateBranchRequest) GetRepository() *Repository
- func (x *UserUpdateBranchRequest) GetUser() *User
- func (*UserUpdateBranchRequest) ProtoMessage()
- func (x *UserUpdateBranchRequest) ProtoReflect() protoreflect.Message
- func (x *UserUpdateBranchRequest) Reset()
- func (x *UserUpdateBranchRequest) String() string
- type UserUpdateBranchResponse
- func (*UserUpdateBranchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserUpdateBranchResponse) GetPreReceiveError() string
- func (*UserUpdateBranchResponse) ProtoMessage()
- func (x *UserUpdateBranchResponse) ProtoReflect() protoreflect.Message
- func (x *UserUpdateBranchResponse) Reset()
- func (x *UserUpdateBranchResponse) String() string
- type UserUpdateSubmoduleRequest
- func (*UserUpdateSubmoduleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserUpdateSubmoduleRequest) GetBranch() []byte
- func (x *UserUpdateSubmoduleRequest) GetCommitMessage() []byte
- func (x *UserUpdateSubmoduleRequest) GetCommitSha() string
- func (x *UserUpdateSubmoduleRequest) GetExpectedOldOid() string
- func (x *UserUpdateSubmoduleRequest) GetRepository() *Repository
- func (x *UserUpdateSubmoduleRequest) GetSubmodule() []byte
- func (x *UserUpdateSubmoduleRequest) GetTimestamp() *timestamppb.Timestamp
- func (x *UserUpdateSubmoduleRequest) GetUser() *User
- func (*UserUpdateSubmoduleRequest) ProtoMessage()
- func (x *UserUpdateSubmoduleRequest) ProtoReflect() protoreflect.Message
- func (x *UserUpdateSubmoduleRequest) Reset()
- func (x *UserUpdateSubmoduleRequest) String() string
- type UserUpdateSubmoduleResponse
- func (*UserUpdateSubmoduleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserUpdateSubmoduleResponse) GetBranchUpdate() *OperationBranchUpdate
- func (x *UserUpdateSubmoduleResponse) GetCommitError() string
- func (x *UserUpdateSubmoduleResponse) GetPreReceiveError() string
- func (*UserUpdateSubmoduleResponse) ProtoMessage()
- func (x *UserUpdateSubmoduleResponse) ProtoReflect() protoreflect.Message
- func (x *UserUpdateSubmoduleResponse) Reset()
- func (x *UserUpdateSubmoduleResponse) String() string
- type VoteTransactionRequest
- func (*VoteTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VoteTransactionRequest) GetNode() string
- func (x *VoteTransactionRequest) GetPhase() VoteTransactionRequest_Phase
- func (x *VoteTransactionRequest) GetReferenceUpdatesHash() []byte
- func (x *VoteTransactionRequest) GetRepository() *Repository
- func (x *VoteTransactionRequest) GetTransactionId() uint64
- func (*VoteTransactionRequest) ProtoMessage()
- func (x *VoteTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *VoteTransactionRequest) Reset()
- func (x *VoteTransactionRequest) String() string
- type VoteTransactionRequest_Phase
- func (VoteTransactionRequest_Phase) Descriptor() protoreflect.EnumDescriptor
- func (x VoteTransactionRequest_Phase) Enum() *VoteTransactionRequest_Phase
- func (VoteTransactionRequest_Phase) EnumDescriptor() ([]byte, []int)deprecated
- func (x VoteTransactionRequest_Phase) Number() protoreflect.EnumNumber
- func (x VoteTransactionRequest_Phase) String() string
- func (VoteTransactionRequest_Phase) Type() protoreflect.EnumType
- type VoteTransactionResponse
- func (*VoteTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VoteTransactionResponse) GetState() VoteTransactionResponse_TransactionState
- func (*VoteTransactionResponse) ProtoMessage()
- func (x *VoteTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *VoteTransactionResponse) Reset()
- func (x *VoteTransactionResponse) String() string
- type VoteTransactionResponse_TransactionState
- func (VoteTransactionResponse_TransactionState) Descriptor() protoreflect.EnumDescriptor
- func (x VoteTransactionResponse_TransactionState) Enum() *VoteTransactionResponse_TransactionState
- func (VoteTransactionResponse_TransactionState) EnumDescriptor() ([]byte, []int)deprecated
- func (x VoteTransactionResponse_TransactionState) Number() protoreflect.EnumNumber
- func (x VoteTransactionResponse_TransactionState) String() string
- func (VoteTransactionResponse_TransactionState) Type() protoreflect.EnumType
- type WalkReposRequest
- type WalkReposResponse
- func (*WalkReposResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WalkReposResponse) GetModificationTime() *timestamppb.Timestamp
- func (x *WalkReposResponse) GetRelativePath() string
- func (*WalkReposResponse) ProtoMessage()
- func (x *WalkReposResponse) ProtoReflect() protoreflect.Message
- func (x *WalkReposResponse) Reset()
- func (x *WalkReposResponse) String() string
- type WriteRefRequest
- func (*WriteRefRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteRefRequest) GetForce() bool
- func (x *WriteRefRequest) GetOldRevision() []byte
- func (x *WriteRefRequest) GetRef() []byte
- func (x *WriteRefRequest) GetRepository() *Repository
- func (x *WriteRefRequest) GetRevision() []byte
- func (*WriteRefRequest) ProtoMessage()
- func (x *WriteRefRequest) ProtoReflect() protoreflect.Message
- func (x *WriteRefRequest) Reset()
- func (x *WriteRefRequest) String() string
- type WriteRefResponse
Constants ¶
This section is empty.
Variables ¶
var ( ListCommitsRequest_Order_name = map[int32]string{ 0: "NONE", 1: "TOPO", 2: "DATE", } ListCommitsRequest_Order_value = map[string]int32{ "NONE": 0, "TOPO": 1, "DATE": 2, } )
Enum value maps for ListCommitsRequest_Order.
var ( TreeEntryResponse_ObjectType_name = map[int32]string{ 0: "COMMIT", 1: "BLOB", 2: "TREE", 3: "TAG", } TreeEntryResponse_ObjectType_value = map[string]int32{ "COMMIT": 0, "BLOB": 1, "TREE": 2, "TAG": 3, } )
Enum value maps for TreeEntryResponse_ObjectType.
var ( TreeEntry_EntryType_name = map[int32]string{ 0: "BLOB", 1: "TREE", 3: "COMMIT", } TreeEntry_EntryType_value = map[string]int32{ "BLOB": 0, "TREE": 1, "COMMIT": 3, } )
Enum value maps for TreeEntry_EntryType.
var ( GetTreeEntriesRequest_SortBy_name = map[int32]string{ 0: "DEFAULT", 1: "TREES_FIRST", } GetTreeEntriesRequest_SortBy_value = map[string]int32{ "DEFAULT": 0, "TREES_FIRST": 1, } )
Enum value maps for GetTreeEntriesRequest_SortBy.
var ( FindAllCommitsRequest_Order_name = map[int32]string{ 0: "NONE", 1: "TOPO", 2: "DATE", } FindAllCommitsRequest_Order_value = map[string]int32{ "NONE": 0, "TOPO": 1, "DATE": 2, } )
Enum value maps for FindAllCommitsRequest_Order.
var ( FindCommitsRequest_Order_name = map[int32]string{ 0: "NONE", 1: "TOPO", } FindCommitsRequest_Order_value = map[string]int32{ "NONE": 0, "TOPO": 1, } )
Enum value maps for FindCommitsRequest_Order.
var ( GetCommitSignaturesResponse_Signer_name = map[int32]string{ 0: "SIGNER_UNSPECIFIED", 1: "SIGNER_USER", 2: "SIGNER_SYSTEM", } GetCommitSignaturesResponse_Signer_value = map[string]int32{ "SIGNER_UNSPECIFIED": 0, "SIGNER_USER": 1, "SIGNER_SYSTEM": 2, } )
Enum value maps for GetCommitSignaturesResponse_Signer.
var ( CommitDiffRequest_DiffMode_name = map[int32]string{ 0: "DEFAULT", 1: "WORDDIFF", } CommitDiffRequest_DiffMode_value = map[string]int32{ "DEFAULT": 0, "WORDDIFF": 1, } )
Enum value maps for CommitDiffRequest_DiffMode.
var ( CommitDiffRequest_WhitespaceChanges_name = map[int32]string{ 0: "WHITESPACE_CHANGES_UNSPECIFIED", 1: "WHITESPACE_CHANGES_IGNORE", 2: "WHITESPACE_CHANGES_IGNORE_ALL", } CommitDiffRequest_WhitespaceChanges_value = map[string]int32{ "WHITESPACE_CHANGES_UNSPECIFIED": 0, "WHITESPACE_CHANGES_IGNORE": 1, "WHITESPACE_CHANGES_IGNORE_ALL": 2, } )
Enum value maps for CommitDiffRequest_WhitespaceChanges.
var ( FindChangedPathsRequest_MergeCommitDiffMode_name = map[int32]string{ 0: "MERGE_COMMIT_DIFF_MODE_UNSPECIFIED", 1: "MERGE_COMMIT_DIFF_MODE_INCLUDE_MERGES", 2: "MERGE_COMMIT_DIFF_MODE_ALL_PARENTS", } FindChangedPathsRequest_MergeCommitDiffMode_value = map[string]int32{ "MERGE_COMMIT_DIFF_MODE_UNSPECIFIED": 0, "MERGE_COMMIT_DIFF_MODE_INCLUDE_MERGES": 1, "MERGE_COMMIT_DIFF_MODE_ALL_PARENTS": 2, } )
Enum value maps for FindChangedPathsRequest_MergeCommitDiffMode.
var ( ChangedPaths_Status_name = map[int32]string{ 0: "ADDED", 1: "MODIFIED", 2: "DELETED", 3: "TYPE_CHANGE", 4: "COPIED", } ChangedPaths_Status_value = map[string]int32{ "ADDED": 0, "MODIFIED": 1, "DELETED": 2, "TYPE_CHANGE": 3, "COPIED": 4, } )
Enum value maps for ChangedPaths_Status.
var ( IndexError_ErrorType_name = map[int32]string{ 0: "ERROR_TYPE_UNSPECIFIED", 1: "ERROR_TYPE_EMPTY_PATH", 2: "ERROR_TYPE_INVALID_PATH", 3: "ERROR_TYPE_DIRECTORY_EXISTS", 4: "ERROR_TYPE_DIRECTORY_TRAVERSAL", 5: "ERROR_TYPE_FILE_EXISTS", 6: "ERROR_TYPE_FILE_NOT_FOUND", } IndexError_ErrorType_value = map[string]int32{ "ERROR_TYPE_UNSPECIFIED": 0, "ERROR_TYPE_EMPTY_PATH": 1, "ERROR_TYPE_INVALID_PATH": 2, "ERROR_TYPE_DIRECTORY_EXISTS": 3, "ERROR_TYPE_DIRECTORY_TRAVERSAL": 4, "ERROR_TYPE_FILE_EXISTS": 5, "ERROR_TYPE_FILE_NOT_FOUND": 6, } )
Enum value maps for IndexError_ErrorType.
var ( CustomHookError_HookType_name = map[int32]string{ 0: "HOOK_TYPE_UNSPECIFIED", 1: "HOOK_TYPE_PRERECEIVE", 2: "HOOK_TYPE_UPDATE", 3: "HOOK_TYPE_POSTRECEIVE", } CustomHookError_HookType_value = map[string]int32{ "HOOK_TYPE_UNSPECIFIED": 0, "HOOK_TYPE_PRERECEIVE": 1, "HOOK_TYPE_UPDATE": 2, "HOOK_TYPE_POSTRECEIVE": 3, } )
Enum value maps for CustomHookError_HookType.
var ( PathError_ErrorType_name = map[int32]string{ 0: "ERROR_TYPE_UNSPECIFIED", 1: "ERROR_TYPE_EMPTY_PATH", 2: "ERROR_TYPE_RELATIVE_PATH_ESCAPES_REPOSITORY", 3: "ERROR_TYPE_ABSOLUTE_PATH", 4: "ERROR_TYPE_LONG_PATH", } PathError_ErrorType_value = map[string]int32{ "ERROR_TYPE_UNSPECIFIED": 0, "ERROR_TYPE_EMPTY_PATH": 1, "ERROR_TYPE_RELATIVE_PATH_ESCAPES_REPOSITORY": 2, "ERROR_TYPE_ABSOLUTE_PATH": 3, "ERROR_TYPE_LONG_PATH": 4, } )
Enum value maps for PathError_ErrorType.
var ( ReferenceTransactionHookRequest_State_name = map[int32]string{ 0: "PREPARED", 1: "COMMITTED", 2: "ABORTED", } ReferenceTransactionHookRequest_State_value = map[string]int32{ "PREPARED": 0, "COMMITTED": 1, "ABORTED": 2, } )
Enum value maps for ReferenceTransactionHookRequest_State.
var ( OperationMsg_Operation_name = map[int32]string{ 0: "UNKNOWN", 1: "MUTATOR", 2: "ACCESSOR", 3: "MAINTENANCE", } OperationMsg_Operation_value = map[string]int32{ "UNKNOWN": 0, "MUTATOR": 1, "ACCESSOR": 2, "MAINTENANCE": 3, } )
Enum value maps for OperationMsg_Operation.
var ( OperationMsg_Scope_name = map[int32]string{ 0: "REPOSITORY", 2: "STORAGE", } OperationMsg_Scope_value = map[string]int32{ "REPOSITORY": 0, "STORAGE": 2, } )
Enum value maps for OperationMsg_Scope.
var ( // storage is used to mark field containing name of affected storage. // // optional bool storage = 91233; E_Storage = &file_lint_proto_extTypes[2] // Random high number.. // repository annotation is used mark field used as repository // when parent message is marked as target or additional repository // If this operation modifies a repository, this annotations // will specify the location of the Repository field within // the request message. // // optional bool repository = 91234; E_Repository = &file_lint_proto_extTypes[3] // target_repository is used to mark target repository. // // optional bool target_repository = 91235; E_TargetRepository = &file_lint_proto_extTypes[4] // additional_repository is used to mark additional repository. // // optional bool additional_repository = 91236; E_AdditionalRepository = &file_lint_proto_extTypes[5] )
Extension fields to descriptorpb.FieldOptions.
var ( UserRevertResponse_CreateTreeError_name = map[int32]string{ 0: "NONE", 1: "EMPTY", 2: "CONFLICT", } UserRevertResponse_CreateTreeError_value = map[string]int32{ "NONE": 0, "EMPTY": 1, "CONFLICT": 2, } )
Enum value maps for UserRevertResponse_CreateTreeError.
var ( UserCommitFilesActionHeader_ActionType_name = map[int32]string{ 0: "CREATE", 1: "CREATE_DIR", 2: "UPDATE", 3: "MOVE", 4: "DELETE", 5: "CHMOD", } UserCommitFilesActionHeader_ActionType_value = map[string]int32{ "CREATE": 0, "CREATE_DIR": 1, "UPDATE": 2, "MOVE": 3, "DELETE": 4, "CHMOD": 5, } )
Enum value maps for UserCommitFilesActionHeader_ActionType.
var ( FindLocalBranchesRequest_SortBy_name = map[int32]string{ 0: "NAME", 1: "UPDATED_ASC", 2: "UPDATED_DESC", } FindLocalBranchesRequest_SortBy_value = map[string]int32{ "NAME": 0, "UPDATED_ASC": 1, "UPDATED_DESC": 2, } )
Enum value maps for FindLocalBranchesRequest_SortBy.
var ( FindAllTagsRequest_SortBy_Key_name = map[int32]string{ 0: "REFNAME", 1: "CREATORDATE", 2: "VERSION_REFNAME", } FindAllTagsRequest_SortBy_Key_value = map[string]int32{ "REFNAME": 0, "CREATORDATE": 1, "VERSION_REFNAME": 2, } )
Enum value maps for FindAllTagsRequest_SortBy_Key.
var ( CreateBranchResponse_Status_name = map[int32]string{ 0: "OK", 1: "ERR_EXISTS", 2: "ERR_INVALID", 3: "ERR_INVALID_START_POINT", } CreateBranchResponse_Status_value = map[string]int32{ "OK": 0, "ERR_EXISTS": 1, "ERR_INVALID": 2, "ERR_INVALID_START_POINT": 3, } )
Enum value maps for CreateBranchResponse_Status.
var ( ListRefsRequest_SortBy_Key_name = map[int32]string{ 0: "REFNAME", 1: "CREATORDATE", 2: "AUTHORDATE", 3: "COMMITTERDATE", } ListRefsRequest_SortBy_Key_value = map[string]int32{ "REFNAME": 0, "CREATORDATE": 1, "AUTHORDATE": 2, "COMMITTERDATE": 3, } )
Enum value maps for ListRefsRequest_SortBy_Key.
var ( GetArchiveRequest_Format_name = map[int32]string{ 0: "ZIP", 1: "TAR", 2: "TAR_GZ", 3: "TAR_BZ2", } GetArchiveRequest_Format_value = map[string]int32{ "ZIP": 0, "TAR": 1, "TAR_GZ": 2, "TAR_BZ2": 3, } )
Enum value maps for GetArchiveRequest_Format.
var ( GetRawChangesResponse_RawChange_Operation_name = map[int32]string{ 0: "UNKNOWN", 1: "ADDED", 2: "COPIED", 3: "DELETED", 4: "MODIFIED", 5: "RENAMED", 6: "TYPE_CHANGED", } GetRawChangesResponse_RawChange_Operation_value = map[string]int32{ "UNKNOWN": 0, "ADDED": 1, "COPIED": 2, "DELETED": 3, "MODIFIED": 4, "RENAMED": 5, "TYPE_CHANGED": 6, } )
Enum value maps for GetRawChangesResponse_RawChange_Operation.
var ( OptimizeRepositoryRequest_Strategy_name = map[int32]string{ 0: "STRATEGY_UNSPECIFIED", 1: "STRATEGY_HEURISTICAL", 2: "STRATEGY_EAGER", } OptimizeRepositoryRequest_Strategy_value = map[string]int32{ "STRATEGY_UNSPECIFIED": 0, "STRATEGY_HEURISTICAL": 1, "STRATEGY_EAGER": 2, } )
Enum value maps for OptimizeRepositoryRequest_Strategy.
var ( ObjectType_name = map[int32]string{ 0: "UNKNOWN", 1: "COMMIT", 2: "BLOB", 3: "TREE", 4: "TAG", } ObjectType_value = map[string]int32{ "UNKNOWN": 0, "COMMIT": 1, "BLOB": 2, "TREE": 3, "TAG": 4, } )
Enum value maps for ObjectType.
var ( ObjectFormat_name = map[int32]string{ 0: "OBJECT_FORMAT_UNSPECIFIED", 1: "OBJECT_FORMAT_SHA1", 2: "OBJECT_FORMAT_SHA256", } ObjectFormat_value = map[string]int32{ "OBJECT_FORMAT_UNSPECIFIED": 0, "OBJECT_FORMAT_SHA1": 1, "OBJECT_FORMAT_SHA256": 2, } )
Enum value maps for ObjectFormat.
var ( SignatureType_name = map[int32]string{ 0: "NONE", 1: "PGP", 2: "X509", 3: "SSH", } SignatureType_value = map[string]int32{ "NONE": 0, "PGP": 1, "X509": 2, "SSH": 3, } )
Enum value maps for SignatureType.
var ( SortDirection_name = map[int32]string{ 0: "ASCENDING", 1: "DESCENDING", } SortDirection_value = map[string]int32{ "ASCENDING": 0, "DESCENDING": 1, } )
Enum value maps for SortDirection.
var ( VoteTransactionRequest_Phase_name = map[int32]string{ 0: "UNKNOWN_PHASE", 1: "PREPARED_PHASE", 2: "COMMITTED_PHASE", 3: "SYNCHRONIZED_PHASE", } VoteTransactionRequest_Phase_value = map[string]int32{ "UNKNOWN_PHASE": 0, "PREPARED_PHASE": 1, "COMMITTED_PHASE": 2, "SYNCHRONIZED_PHASE": 3, } )
Enum value maps for VoteTransactionRequest_Phase.
var ( VoteTransactionResponse_TransactionState_name = map[int32]string{ 0: "COMMIT", 1: "ABORT", 2: "STOP", } VoteTransactionResponse_TransactionState_value = map[string]int32{ "COMMIT": 0, "ABORT": 1, "STOP": 2, } )
Enum value maps for VoteTransactionResponse_TransactionState.
var BlobService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.BlobService", HandlerType: (*BlobServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "GetBlob", Handler: _BlobService_GetBlob_Handler, ServerStreams: true, }, { StreamName: "GetBlobs", Handler: _BlobService_GetBlobs_Handler, ServerStreams: true, }, { StreamName: "ListBlobs", Handler: _BlobService_ListBlobs_Handler, ServerStreams: true, }, { StreamName: "ListAllBlobs", Handler: _BlobService_ListAllBlobs_Handler, ServerStreams: true, }, { StreamName: "GetLFSPointers", Handler: _BlobService_GetLFSPointers_Handler, ServerStreams: true, }, { StreamName: "ListLFSPointers", Handler: _BlobService_ListLFSPointers_Handler, ServerStreams: true, }, { StreamName: "ListAllLFSPointers", Handler: _BlobService_ListAllLFSPointers_Handler, ServerStreams: true, }, }, Metadata: "blob.proto", }
BlobService_ServiceDesc is the grpc.ServiceDesc for BlobService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CleanupService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.CleanupService", HandlerType: (*CleanupServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "ApplyBfgObjectMapStream", Handler: _CleanupService_ApplyBfgObjectMapStream_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "cleanup.proto", }
CleanupService_ServiceDesc is the grpc.ServiceDesc for CleanupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CommitService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.CommitService", HandlerType: (*CommitServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CommitIsAncestor", Handler: _CommitService_CommitIsAncestor_Handler, }, { MethodName: "CountCommits", Handler: _CommitService_CountCommits_Handler, }, { MethodName: "CountDivergingCommits", Handler: _CommitService_CountDivergingCommits_Handler, }, { MethodName: "FindCommit", Handler: _CommitService_FindCommit_Handler, }, { MethodName: "CommitStats", Handler: _CommitService_CommitStats_Handler, }, { MethodName: "CommitLanguages", Handler: _CommitService_CommitLanguages_Handler, }, { MethodName: "LastCommitForPath", Handler: _CommitService_LastCommitForPath_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ListCommits", Handler: _CommitService_ListCommits_Handler, ServerStreams: true, }, { StreamName: "ListAllCommits", Handler: _CommitService_ListAllCommits_Handler, ServerStreams: true, }, { StreamName: "TreeEntry", Handler: _CommitService_TreeEntry_Handler, ServerStreams: true, }, { StreamName: "GetTreeEntries", Handler: _CommitService_GetTreeEntries_Handler, ServerStreams: true, }, { StreamName: "ListFiles", Handler: _CommitService_ListFiles_Handler, ServerStreams: true, }, { StreamName: "FindAllCommits", Handler: _CommitService_FindAllCommits_Handler, ServerStreams: true, }, { StreamName: "FindCommits", Handler: _CommitService_FindCommits_Handler, ServerStreams: true, }, { StreamName: "RawBlame", Handler: _CommitService_RawBlame_Handler, ServerStreams: true, }, { StreamName: "ListLastCommitsForTree", Handler: _CommitService_ListLastCommitsForTree_Handler, ServerStreams: true, }, { StreamName: "CommitsByMessage", Handler: _CommitService_CommitsByMessage_Handler, ServerStreams: true, }, { StreamName: "ListCommitsByOid", Handler: _CommitService_ListCommitsByOid_Handler, ServerStreams: true, }, { StreamName: "ListCommitsByRefName", Handler: _CommitService_ListCommitsByRefName_Handler, ServerStreams: true, }, { StreamName: "FilterShasWithSignatures", Handler: _CommitService_FilterShasWithSignatures_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "GetCommitSignatures", Handler: _CommitService_GetCommitSignatures_Handler, ServerStreams: true, }, { StreamName: "GetCommitMessages", Handler: _CommitService_GetCommitMessages_Handler, ServerStreams: true, }, { StreamName: "CheckObjectsExist", Handler: _CommitService_CheckObjectsExist_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "commit.proto", }
CommitService_ServiceDesc is the grpc.ServiceDesc for CommitService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
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", }
ConflictsService_ServiceDesc is the grpc.ServiceDesc for ConflictsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DiffService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.DiffService", HandlerType: (*DiffServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPatchID", Handler: _DiffService_GetPatchID_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "CommitDiff", Handler: _DiffService_CommitDiff_Handler, ServerStreams: true, }, { StreamName: "CommitDelta", Handler: _DiffService_CommitDelta_Handler, ServerStreams: true, }, { StreamName: "RawDiff", Handler: _DiffService_RawDiff_Handler, ServerStreams: true, }, { StreamName: "RawPatch", Handler: _DiffService_RawPatch_Handler, ServerStreams: true, }, { StreamName: "DiffStats", Handler: _DiffService_DiffStats_Handler, ServerStreams: true, }, { StreamName: "FindChangedPaths", Handler: _DiffService_FindChangedPaths_Handler, ServerStreams: true, }, }, Metadata: "diff.proto", }
DiffService_ServiceDesc is the grpc.ServiceDesc for DiffService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ( // intercepted indicates whether the proxy intercepts and handles the call // instead of proxying. Intercepted services do not require scope or operation // annotations. // // optional bool intercepted = 82302; E_Intercepted = &file_lint_proto_extTypes[0] )
Extension fields to descriptorpb.ServiceOptions.
var ( // op_type ... // // optional gitaly.OperationMsg op_type = 82303; E_OpType = &file_lint_proto_extTypes[1] // Random high number.. )
Extension fields to descriptorpb.MethodOptions.
var File_blob_proto protoreflect.FileDescriptor
var File_cleanup_proto protoreflect.FileDescriptor
var File_commit_proto protoreflect.FileDescriptor
var File_conflicts_proto protoreflect.FileDescriptor
var File_diff_proto protoreflect.FileDescriptor
var File_errors_proto protoreflect.FileDescriptor
var File_hook_proto protoreflect.FileDescriptor
var File_internal_proto protoreflect.FileDescriptor
var File_lint_proto protoreflect.FileDescriptor
var File_log_proto protoreflect.FileDescriptor
var File_namespace_proto protoreflect.FileDescriptor
var File_objectpool_proto protoreflect.FileDescriptor
var File_operations_proto protoreflect.FileDescriptor
var File_packfile_proto protoreflect.FileDescriptor
var File_praefect_proto protoreflect.FileDescriptor
var File_ref_proto protoreflect.FileDescriptor
var File_remote_proto protoreflect.FileDescriptor
var File_repository_proto protoreflect.FileDescriptor
var File_server_proto protoreflect.FileDescriptor
var File_service_config_proto protoreflect.FileDescriptor
var File_smarthttp_proto protoreflect.FileDescriptor
var File_ssh_proto protoreflect.FileDescriptor
var File_transaction_proto protoreflect.FileDescriptor
var GitalyProtos = []string{
"blob.proto",
"cleanup.proto",
"commit.proto",
"conflicts.proto",
"diff.proto",
"errors.proto",
"hook.proto",
"internal.proto",
"lint.proto",
"log.proto",
"namespace.proto",
"objectpool.proto",
"operations.proto",
"packfile.proto",
"praefect.proto",
"ref.proto",
"remote.proto",
"repository.proto",
"server.proto",
"service_config.proto",
"shared.proto",
"smarthttp.proto",
"ssh.proto",
"transaction.proto",
}
GitalyProtos is a list of gitaly protobuf files
var HookService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.HookService", HandlerType: (*HookServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PackObjectsHookWithSidechannel", Handler: _HookService_PackObjectsHookWithSidechannel_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PreReceiveHook", Handler: _HookService_PreReceiveHook_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "PostReceiveHook", Handler: _HookService_PostReceiveHook_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "UpdateHook", Handler: _HookService_UpdateHook_Handler, ServerStreams: true, }, { StreamName: "ReferenceTransactionHook", Handler: _HookService_ReferenceTransactionHook_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "hook.proto", }
HookService_ServiceDesc is the grpc.ServiceDesc for HookService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var InternalGitaly_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.InternalGitaly", HandlerType: (*InternalGitalyServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "WalkRepos", Handler: _InternalGitaly_WalkRepos_Handler, ServerStreams: true, }, }, Metadata: "internal.proto", }
InternalGitaly_ServiceDesc is the grpc.ServiceDesc for InternalGitaly service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var NamespaceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.NamespaceService", HandlerType: (*NamespaceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddNamespace", Handler: _NamespaceService_AddNamespace_Handler, }, { MethodName: "RemoveNamespace", Handler: _NamespaceService_RemoveNamespace_Handler, }, { MethodName: "RenameNamespace", Handler: _NamespaceService_RenameNamespace_Handler, }, { MethodName: "NamespaceExists", Handler: _NamespaceService_NamespaceExists_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "namespace.proto", }
NamespaceService_ServiceDesc is the grpc.ServiceDesc for NamespaceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ObjectPoolService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.ObjectPoolService", HandlerType: (*ObjectPoolServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateObjectPool", Handler: _ObjectPoolService_CreateObjectPool_Handler, }, { MethodName: "DeleteObjectPool", Handler: _ObjectPoolService_DeleteObjectPool_Handler, }, { MethodName: "LinkRepositoryToObjectPool", Handler: _ObjectPoolService_LinkRepositoryToObjectPool_Handler, }, { MethodName: "DisconnectGitAlternates", Handler: _ObjectPoolService_DisconnectGitAlternates_Handler, }, { MethodName: "FetchIntoObjectPool", Handler: _ObjectPoolService_FetchIntoObjectPool_Handler, }, { MethodName: "GetObjectPool", Handler: _ObjectPoolService_GetObjectPool_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "objectpool.proto", }
ObjectPoolService_ServiceDesc is the grpc.ServiceDesc for ObjectPoolService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var OperationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.OperationService", HandlerType: (*OperationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UserCreateBranch", Handler: _OperationService_UserCreateBranch_Handler, }, { MethodName: "UserUpdateBranch", Handler: _OperationService_UserUpdateBranch_Handler, }, { MethodName: "UserDeleteBranch", Handler: _OperationService_UserDeleteBranch_Handler, }, { MethodName: "UserCreateTag", Handler: _OperationService_UserCreateTag_Handler, }, { MethodName: "UserDeleteTag", Handler: _OperationService_UserDeleteTag_Handler, }, { MethodName: "UserMergeToRef", Handler: _OperationService_UserMergeToRef_Handler, }, { MethodName: "UserRebaseToRef", Handler: _OperationService_UserRebaseToRef_Handler, }, { MethodName: "UserFFBranch", Handler: _OperationService_UserFFBranch_Handler, }, { MethodName: "UserCherryPick", Handler: _OperationService_UserCherryPick_Handler, }, { MethodName: "UserRevert", Handler: _OperationService_UserRevert_Handler, }, { MethodName: "UserSquash", Handler: _OperationService_UserSquash_Handler, }, { MethodName: "UserUpdateSubmodule", Handler: _OperationService_UserUpdateSubmodule_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "UserMergeBranch", Handler: _OperationService_UserMergeBranch_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "UserCommitFiles", Handler: _OperationService_UserCommitFiles_Handler, ClientStreams: true, }, { StreamName: "UserRebaseConfirmable", Handler: _OperationService_UserRebaseConfirmable_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "UserApplyPatch", Handler: _OperationService_UserApplyPatch_Handler, ClientStreams: true, }, }, Metadata: "operations.proto", }
OperationService_ServiceDesc is the grpc.ServiceDesc for OperationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PraefectInfoService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.PraefectInfoService", HandlerType: (*PraefectInfoServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RepositoryReplicas", Handler: _PraefectInfoService_RepositoryReplicas_Handler, }, { MethodName: "DatalossCheck", Handler: _PraefectInfoService_DatalossCheck_Handler, }, { MethodName: "SetAuthoritativeStorage", Handler: _PraefectInfoService_SetAuthoritativeStorage_Handler, }, { MethodName: "MarkUnverified", Handler: _PraefectInfoService_MarkUnverified_Handler, }, { MethodName: "SetReplicationFactor", Handler: _PraefectInfoService_SetReplicationFactor_Handler, }, { MethodName: "GetRepositoryMetadata", Handler: _PraefectInfoService_GetRepositoryMetadata_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Dataloss", Handler: _PraefectInfoService_Dataloss_Handler, ServerStreams: true, }, }, Metadata: "praefect.proto", }
PraefectInfoService_ServiceDesc is the grpc.ServiceDesc for PraefectInfoService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RefService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.RefService", HandlerType: (*RefServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FindDefaultBranchName", Handler: _RefService_FindDefaultBranchName_Handler, }, { MethodName: "FindTag", Handler: _RefService_FindTag_Handler, }, { MethodName: "RefExists", Handler: _RefService_RefExists_Handler, }, { MethodName: "FindBranch", Handler: _RefService_FindBranch_Handler, }, { MethodName: "DeleteRefs", Handler: _RefService_DeleteRefs_Handler, }, { MethodName: "FindRefsByOID", Handler: _RefService_FindRefsByOID_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "FindLocalBranches", Handler: _RefService_FindLocalBranches_Handler, ServerStreams: true, }, { StreamName: "FindAllBranches", Handler: _RefService_FindAllBranches_Handler, ServerStreams: true, }, { StreamName: "FindAllTags", Handler: _RefService_FindAllTags_Handler, ServerStreams: true, }, { StreamName: "FindAllRemoteBranches", Handler: _RefService_FindAllRemoteBranches_Handler, ServerStreams: true, }, { StreamName: "UpdateReferences", Handler: _RefService_UpdateReferences_Handler, ClientStreams: true, }, { StreamName: "ListBranchNamesContainingCommit", Handler: _RefService_ListBranchNamesContainingCommit_Handler, ServerStreams: true, }, { StreamName: "ListTagNamesContainingCommit", Handler: _RefService_ListTagNamesContainingCommit_Handler, ServerStreams: true, }, { StreamName: "GetTagSignatures", Handler: _RefService_GetTagSignatures_Handler, ServerStreams: true, }, { StreamName: "GetTagMessages", Handler: _RefService_GetTagMessages_Handler, ServerStreams: true, }, { StreamName: "ListRefs", Handler: _RefService_ListRefs_Handler, ServerStreams: true, }, }, Metadata: "ref.proto", }
RefService_ServiceDesc is the grpc.ServiceDesc for RefService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RefTransaction_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.RefTransaction", HandlerType: (*RefTransactionServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "VoteTransaction", Handler: _RefTransaction_VoteTransaction_Handler, }, { MethodName: "StopTransaction", Handler: _RefTransaction_StopTransaction_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "transaction.proto", }
RefTransaction_ServiceDesc is the grpc.ServiceDesc for RefTransaction service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RemoteService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.RemoteService", HandlerType: (*RemoteServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FindRemoteRepository", Handler: _RemoteService_FindRemoteRepository_Handler, }, { MethodName: "FindRemoteRootRef", Handler: _RemoteService_FindRemoteRootRef_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "UpdateRemoteMirror", Handler: _RemoteService_UpdateRemoteMirror_Handler, ClientStreams: true, }, }, Metadata: "remote.proto", }
RemoteService_ServiceDesc is the grpc.ServiceDesc for RemoteService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RepositoryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.RepositoryService", HandlerType: (*RepositoryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RepositoryExists", Handler: _RepositoryService_RepositoryExists_Handler, }, { MethodName: "RepositorySize", Handler: _RepositoryService_RepositorySize_Handler, }, { MethodName: "RepositoryInfo", Handler: _RepositoryService_RepositoryInfo_Handler, }, { MethodName: "ObjectFormat", Handler: _RepositoryService_ObjectFormat_Handler, }, { MethodName: "ApplyGitattributes", Handler: _RepositoryService_ApplyGitattributes_Handler, }, { MethodName: "FetchRemote", Handler: _RepositoryService_FetchRemote_Handler, }, { MethodName: "CreateRepository", Handler: _RepositoryService_CreateRepository_Handler, }, { MethodName: "HasLocalBranches", Handler: _RepositoryService_HasLocalBranches_Handler, }, { MethodName: "FetchSourceBranch", Handler: _RepositoryService_FetchSourceBranch_Handler, }, { MethodName: "Fsck", Handler: _RepositoryService_Fsck_Handler, }, { MethodName: "WriteRef", Handler: _RepositoryService_WriteRef_Handler, }, { MethodName: "FindMergeBase", Handler: _RepositoryService_FindMergeBase_Handler, }, { MethodName: "CreateFork", Handler: _RepositoryService_CreateFork_Handler, }, { MethodName: "CreateRepositoryFromURL", Handler: _RepositoryService_CreateRepositoryFromURL_Handler, }, { MethodName: "FindLicense", Handler: _RepositoryService_FindLicense_Handler, }, { MethodName: "CalculateChecksum", Handler: _RepositoryService_CalculateChecksum_Handler, }, { MethodName: "CreateRepositoryFromSnapshot", Handler: _RepositoryService_CreateRepositoryFromSnapshot_Handler, }, { MethodName: "GetObjectDirectorySize", Handler: _RepositoryService_GetObjectDirectorySize_Handler, }, { MethodName: "RemoveRepository", Handler: _RepositoryService_RemoveRepository_Handler, }, { MethodName: "RenameRepository", Handler: _RepositoryService_RenameRepository_Handler, }, { MethodName: "ReplicateRepository", Handler: _RepositoryService_ReplicateRepository_Handler, }, { MethodName: "OptimizeRepository", Handler: _RepositoryService_OptimizeRepository_Handler, }, { MethodName: "PruneUnreachableObjects", Handler: _RepositoryService_PruneUnreachableObjects_Handler, }, { MethodName: "SetFullPath", Handler: _RepositoryService_SetFullPath_Handler, }, { MethodName: "FullPath", Handler: _RepositoryService_FullPath_Handler, }, { MethodName: "RemoveAll", Handler: _RepositoryService_RemoveAll_Handler, }, { MethodName: "BackupRepository", Handler: _RepositoryService_BackupRepository_Handler, }, { MethodName: "RestoreRepository", Handler: _RepositoryService_RestoreRepository_Handler, }, { MethodName: "GetFileAttributes", Handler: _RepositoryService_GetFileAttributes_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ObjectsSize", Handler: _RepositoryService_ObjectsSize_Handler, ClientStreams: true, }, { StreamName: "GetArchive", Handler: _RepositoryService_GetArchive_Handler, ServerStreams: true, }, { StreamName: "CreateBundle", Handler: _RepositoryService_CreateBundle_Handler, ServerStreams: true, }, { StreamName: "CreateBundleFromRefList", Handler: _RepositoryService_CreateBundleFromRefList_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "FetchBundle", Handler: _RepositoryService_FetchBundle_Handler, ClientStreams: true, }, { StreamName: "CreateRepositoryFromBundle", Handler: _RepositoryService_CreateRepositoryFromBundle_Handler, ClientStreams: true, }, { StreamName: "GetConfig", Handler: _RepositoryService_GetConfig_Handler, ServerStreams: true, }, { StreamName: "GetInfoAttributes", Handler: _RepositoryService_GetInfoAttributes_Handler, ServerStreams: true, }, { StreamName: "GetSnapshot", Handler: _RepositoryService_GetSnapshot_Handler, ServerStreams: true, }, { StreamName: "GetRawChanges", Handler: _RepositoryService_GetRawChanges_Handler, ServerStreams: true, }, { StreamName: "SearchFilesByContent", Handler: _RepositoryService_SearchFilesByContent_Handler, ServerStreams: true, }, { StreamName: "SearchFilesByName", Handler: _RepositoryService_SearchFilesByName_Handler, ServerStreams: true, }, { StreamName: "RestoreCustomHooks", Handler: _RepositoryService_RestoreCustomHooks_Handler, ClientStreams: true, }, { StreamName: "SetCustomHooks", Handler: _RepositoryService_SetCustomHooks_Handler, ClientStreams: true, }, { StreamName: "BackupCustomHooks", Handler: _RepositoryService_BackupCustomHooks_Handler, ServerStreams: true, }, { StreamName: "GetCustomHooks", Handler: _RepositoryService_GetCustomHooks_Handler, ServerStreams: true, }, }, Metadata: "repository.proto", }
RepositoryService_ServiceDesc is the grpc.ServiceDesc for RepositoryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SSHService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.SSHService", HandlerType: (*SSHServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SSHUploadPackWithSidechannel", Handler: _SSHService_SSHUploadPackWithSidechannel_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SSHUploadPack", Handler: _SSHService_SSHUploadPack_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "SSHReceivePack", Handler: _SSHService_SSHReceivePack_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "SSHUploadArchive", Handler: _SSHService_SSHUploadArchive_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "ssh.proto", }
SSHService_ServiceDesc is the grpc.ServiceDesc for SSHService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ServerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.ServerService", HandlerType: (*ServerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ServerInfo", Handler: _ServerService_ServerInfo_Handler, }, { MethodName: "DiskStatistics", Handler: _ServerService_DiskStatistics_Handler, }, { MethodName: "ClockSynced", Handler: _ServerService_ClockSynced_Handler, }, { MethodName: "ReadinessCheck", Handler: _ServerService_ReadinessCheck_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "server.proto", }
ServerService_ServiceDesc is the grpc.ServiceDesc for ServerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SmartHTTPService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.SmartHTTPService", HandlerType: (*SmartHTTPServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PostUploadPackWithSidechannel", Handler: _SmartHTTPService_PostUploadPackWithSidechannel_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "InfoRefsUploadPack", Handler: _SmartHTTPService_InfoRefsUploadPack_Handler, ServerStreams: true, }, { StreamName: "InfoRefsReceivePack", Handler: _SmartHTTPService_InfoRefsReceivePack_Handler, ServerStreams: true, }, { StreamName: "PostReceivePack", Handler: _SmartHTTPService_PostReceivePack_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "smarthttp.proto", }
SmartHTTPService_ServiceDesc is the grpc.ServiceDesc for SmartHTTPService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterBlobServiceServer ¶
func RegisterBlobServiceServer(s grpc.ServiceRegistrar, srv BlobServiceServer)
func RegisterCleanupServiceServer ¶
func RegisterCleanupServiceServer(s grpc.ServiceRegistrar, srv CleanupServiceServer)
func RegisterCommitServiceServer ¶
func RegisterCommitServiceServer(s grpc.ServiceRegistrar, srv CommitServiceServer)
func RegisterConflictsServiceServer ¶
func RegisterConflictsServiceServer(s grpc.ServiceRegistrar, srv ConflictsServiceServer)
func RegisterDiffServiceServer ¶
func RegisterDiffServiceServer(s grpc.ServiceRegistrar, srv DiffServiceServer)
func RegisterHookServiceServer ¶
func RegisterHookServiceServer(s grpc.ServiceRegistrar, srv HookServiceServer)
func RegisterInternalGitalyServer ¶
func RegisterInternalGitalyServer(s grpc.ServiceRegistrar, srv InternalGitalyServer)
func RegisterNamespaceServiceServer ¶
func RegisterNamespaceServiceServer(s grpc.ServiceRegistrar, srv NamespaceServiceServer)
func RegisterObjectPoolServiceServer ¶
func RegisterObjectPoolServiceServer(s grpc.ServiceRegistrar, srv ObjectPoolServiceServer)
func RegisterOperationServiceServer ¶
func RegisterOperationServiceServer(s grpc.ServiceRegistrar, srv OperationServiceServer)
func RegisterPraefectInfoServiceServer ¶
func RegisterPraefectInfoServiceServer(s grpc.ServiceRegistrar, srv PraefectInfoServiceServer)
func RegisterRefServiceServer ¶
func RegisterRefServiceServer(s grpc.ServiceRegistrar, srv RefServiceServer)
func RegisterRefTransactionServer ¶
func RegisterRefTransactionServer(s grpc.ServiceRegistrar, srv RefTransactionServer)
func RegisterRemoteServiceServer ¶
func RegisterRemoteServiceServer(s grpc.ServiceRegistrar, srv RemoteServiceServer)
func RegisterRepositoryServiceServer ¶
func RegisterRepositoryServiceServer(s grpc.ServiceRegistrar, srv RepositoryServiceServer)
func RegisterSSHServiceServer ¶
func RegisterSSHServiceServer(s grpc.ServiceRegistrar, srv SSHServiceServer)
func RegisterServerServiceServer ¶
func RegisterServerServiceServer(s grpc.ServiceRegistrar, srv ServerServiceServer)
func RegisterSmartHTTPServiceServer ¶
func RegisterSmartHTTPServiceServer(s grpc.ServiceRegistrar, srv SmartHTTPServiceServer)
Types ¶
type AccessCheckError ¶
type AccessCheckError struct { // error_message is the error message as returned by the endpoint. ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // protocol is the protocol used. Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` // user_id is the user ID as which changes had been pushed. UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // changes is the set of changes which have failed the access check. Changes []byte `protobuf:"bytes,4,opt,name=changes,proto3" json:"changes,omitempty"` // contains filtered or unexported fields }
AccessCheckError is an error returned by GitLab's `/internal/allowed` endpoint.
func (*AccessCheckError) Descriptor
deprecated
func (*AccessCheckError) Descriptor() ([]byte, []int)
Deprecated: Use AccessCheckError.ProtoReflect.Descriptor instead.
func (*AccessCheckError) GetChanges ¶
func (x *AccessCheckError) GetChanges() []byte
func (*AccessCheckError) GetErrorMessage ¶
func (x *AccessCheckError) GetErrorMessage() string
func (*AccessCheckError) GetProtocol ¶
func (x *AccessCheckError) GetProtocol() string
func (*AccessCheckError) GetUserId ¶
func (x *AccessCheckError) GetUserId() string
func (*AccessCheckError) ProtoMessage ¶
func (*AccessCheckError) ProtoMessage()
func (*AccessCheckError) ProtoReflect ¶
func (x *AccessCheckError) ProtoReflect() protoreflect.Message
func (*AccessCheckError) Reset ¶
func (x *AccessCheckError) Reset()
func (*AccessCheckError) String ¶
func (x *AccessCheckError) String() string
type AddNamespaceRequest ¶
type AddNamespaceRequest struct { // storage_name ... StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` // name ... Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
AddNamespaceRequest ...
func (*AddNamespaceRequest) Descriptor
deprecated
func (*AddNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddNamespaceRequest.ProtoReflect.Descriptor instead.
func (*AddNamespaceRequest) GetName ¶
func (x *AddNamespaceRequest) GetName() string
func (*AddNamespaceRequest) GetStorageName ¶
func (x *AddNamespaceRequest) GetStorageName() string
func (*AddNamespaceRequest) ProtoMessage ¶
func (*AddNamespaceRequest) ProtoMessage()
func (*AddNamespaceRequest) ProtoReflect ¶
func (x *AddNamespaceRequest) ProtoReflect() protoreflect.Message
func (*AddNamespaceRequest) Reset ¶
func (x *AddNamespaceRequest) Reset()
func (*AddNamespaceRequest) String ¶
func (x *AddNamespaceRequest) String() string
type AddNamespaceResponse ¶
type AddNamespaceResponse struct {
// contains filtered or unexported fields
}
AddNamespaceResponse ...
func (*AddNamespaceResponse) Descriptor
deprecated
func (*AddNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddNamespaceResponse.ProtoReflect.Descriptor instead.
func (*AddNamespaceResponse) ProtoMessage ¶
func (*AddNamespaceResponse) ProtoMessage()
func (*AddNamespaceResponse) ProtoReflect ¶
func (x *AddNamespaceResponse) ProtoReflect() protoreflect.Message
func (*AddNamespaceResponse) Reset ¶
func (x *AddNamespaceResponse) Reset()
func (*AddNamespaceResponse) String ¶
func (x *AddNamespaceResponse) String() string
type ApplyBfgObjectMapStreamRequest ¶
type ApplyBfgObjectMapStreamRequest struct { // repository ... // Only available on the first message Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // object_map is a raw object-map file as generated by BFG: https://rtyley.github.io/bfg-repo-cleaner // Each line in the file has two object SHAs, space-separated - the original // SHA of the object, and the SHA after BFG has rewritten the object. ObjectMap []byte `protobuf:"bytes,2,opt,name=object_map,json=objectMap,proto3" json:"object_map,omitempty"` // contains filtered or unexported fields }
ApplyBfgObjectMapStreamRequest ...
func (*ApplyBfgObjectMapStreamRequest) Descriptor
deprecated
func (*ApplyBfgObjectMapStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplyBfgObjectMapStreamRequest.ProtoReflect.Descriptor instead.
func (*ApplyBfgObjectMapStreamRequest) GetObjectMap ¶
func (x *ApplyBfgObjectMapStreamRequest) GetObjectMap() []byte
func (*ApplyBfgObjectMapStreamRequest) GetRepository ¶
func (x *ApplyBfgObjectMapStreamRequest) GetRepository() *Repository
func (*ApplyBfgObjectMapStreamRequest) ProtoMessage ¶
func (*ApplyBfgObjectMapStreamRequest) ProtoMessage()
func (*ApplyBfgObjectMapStreamRequest) ProtoReflect ¶
func (x *ApplyBfgObjectMapStreamRequest) ProtoReflect() protoreflect.Message
func (*ApplyBfgObjectMapStreamRequest) Reset ¶
func (x *ApplyBfgObjectMapStreamRequest) Reset()
func (*ApplyBfgObjectMapStreamRequest) String ¶
func (x *ApplyBfgObjectMapStreamRequest) String() string
type ApplyBfgObjectMapStreamResponse ¶
type ApplyBfgObjectMapStreamResponse struct { // entries ... Entries []*ApplyBfgObjectMapStreamResponse_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
ApplyBfgObjectMapStreamResponse ...
func (*ApplyBfgObjectMapStreamResponse) Descriptor
deprecated
func (*ApplyBfgObjectMapStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApplyBfgObjectMapStreamResponse.ProtoReflect.Descriptor instead.
func (*ApplyBfgObjectMapStreamResponse) GetEntries ¶
func (x *ApplyBfgObjectMapStreamResponse) GetEntries() []*ApplyBfgObjectMapStreamResponse_Entry
func (*ApplyBfgObjectMapStreamResponse) ProtoMessage ¶
func (*ApplyBfgObjectMapStreamResponse) ProtoMessage()
func (*ApplyBfgObjectMapStreamResponse) ProtoReflect ¶
func (x *ApplyBfgObjectMapStreamResponse) ProtoReflect() protoreflect.Message
func (*ApplyBfgObjectMapStreamResponse) Reset ¶
func (x *ApplyBfgObjectMapStreamResponse) Reset()
func (*ApplyBfgObjectMapStreamResponse) String ¶
func (x *ApplyBfgObjectMapStreamResponse) String() string
type ApplyBfgObjectMapStreamResponse_Entry ¶
type ApplyBfgObjectMapStreamResponse_Entry struct { // type ... Type ObjectType `protobuf:"varint,1,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"` // old_oid ... OldOid string `protobuf:"bytes,2,opt,name=old_oid,json=oldOid,proto3" json:"old_oid,omitempty"` // new_oid ... NewOid string `protobuf:"bytes,3,opt,name=new_oid,json=newOid,proto3" json:"new_oid,omitempty"` // contains filtered or unexported fields }
Entry refers to each parsed entry in the request's object map so the client can take action.
func (*ApplyBfgObjectMapStreamResponse_Entry) Descriptor
deprecated
func (*ApplyBfgObjectMapStreamResponse_Entry) Descriptor() ([]byte, []int)
Deprecated: Use ApplyBfgObjectMapStreamResponse_Entry.ProtoReflect.Descriptor instead.
func (*ApplyBfgObjectMapStreamResponse_Entry) GetNewOid ¶
func (x *ApplyBfgObjectMapStreamResponse_Entry) GetNewOid() string
func (*ApplyBfgObjectMapStreamResponse_Entry) GetOldOid ¶
func (x *ApplyBfgObjectMapStreamResponse_Entry) GetOldOid() string
func (*ApplyBfgObjectMapStreamResponse_Entry) GetType ¶
func (x *ApplyBfgObjectMapStreamResponse_Entry) GetType() ObjectType
func (*ApplyBfgObjectMapStreamResponse_Entry) ProtoMessage ¶
func (*ApplyBfgObjectMapStreamResponse_Entry) ProtoMessage()
func (*ApplyBfgObjectMapStreamResponse_Entry) ProtoReflect ¶
func (x *ApplyBfgObjectMapStreamResponse_Entry) ProtoReflect() protoreflect.Message
func (*ApplyBfgObjectMapStreamResponse_Entry) Reset ¶
func (x *ApplyBfgObjectMapStreamResponse_Entry) Reset()
func (*ApplyBfgObjectMapStreamResponse_Entry) String ¶
func (x *ApplyBfgObjectMapStreamResponse_Entry) String() string
type ApplyGitattributesRequest ¶
type ApplyGitattributesRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revision ... Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
ApplyGitattributesRequest ...
func (*ApplyGitattributesRequest) Descriptor
deprecated
func (*ApplyGitattributesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplyGitattributesRequest.ProtoReflect.Descriptor instead.
func (*ApplyGitattributesRequest) GetRepository ¶
func (x *ApplyGitattributesRequest) GetRepository() *Repository
func (*ApplyGitattributesRequest) GetRevision ¶
func (x *ApplyGitattributesRequest) GetRevision() []byte
func (*ApplyGitattributesRequest) ProtoMessage ¶
func (*ApplyGitattributesRequest) ProtoMessage()
func (*ApplyGitattributesRequest) ProtoReflect ¶
func (x *ApplyGitattributesRequest) ProtoReflect() protoreflect.Message
func (*ApplyGitattributesRequest) Reset ¶
func (x *ApplyGitattributesRequest) Reset()
func (*ApplyGitattributesRequest) String ¶
func (x *ApplyGitattributesRequest) String() string
type ApplyGitattributesResponse ¶
type ApplyGitattributesResponse struct {
// contains filtered or unexported fields
}
ApplyGitattributesResponse ...
func (*ApplyGitattributesResponse) Descriptor
deprecated
func (*ApplyGitattributesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApplyGitattributesResponse.ProtoReflect.Descriptor instead.
func (*ApplyGitattributesResponse) ProtoMessage ¶
func (*ApplyGitattributesResponse) ProtoMessage()
func (*ApplyGitattributesResponse) ProtoReflect ¶
func (x *ApplyGitattributesResponse) ProtoReflect() protoreflect.Message
func (*ApplyGitattributesResponse) Reset ¶
func (x *ApplyGitattributesResponse) Reset()
func (*ApplyGitattributesResponse) String ¶
func (x *ApplyGitattributesResponse) String() string
type BackupCustomHooksRequest ¶
type BackupCustomHooksRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
BackupCustomHooksRequest ...
func (*BackupCustomHooksRequest) Descriptor
deprecated
func (*BackupCustomHooksRequest) Descriptor() ([]byte, []int)
Deprecated: Use BackupCustomHooksRequest.ProtoReflect.Descriptor instead.
func (*BackupCustomHooksRequest) GetRepository ¶
func (x *BackupCustomHooksRequest) GetRepository() *Repository
func (*BackupCustomHooksRequest) ProtoMessage ¶
func (*BackupCustomHooksRequest) ProtoMessage()
func (*BackupCustomHooksRequest) ProtoReflect ¶
func (x *BackupCustomHooksRequest) ProtoReflect() protoreflect.Message
func (*BackupCustomHooksRequest) Reset ¶
func (x *BackupCustomHooksRequest) Reset()
func (*BackupCustomHooksRequest) String ¶
func (x *BackupCustomHooksRequest) String() string
type BackupCustomHooksResponse ¶
type BackupCustomHooksResponse struct { // data ... Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
BackupCustomHooksResponse ...
func (*BackupCustomHooksResponse) Descriptor
deprecated
func (*BackupCustomHooksResponse) Descriptor() ([]byte, []int)
Deprecated: Use BackupCustomHooksResponse.ProtoReflect.Descriptor instead.
func (*BackupCustomHooksResponse) GetData ¶
func (x *BackupCustomHooksResponse) GetData() []byte
func (*BackupCustomHooksResponse) ProtoMessage ¶
func (*BackupCustomHooksResponse) ProtoMessage()
func (*BackupCustomHooksResponse) ProtoReflect ¶
func (x *BackupCustomHooksResponse) ProtoReflect() protoreflect.Message
func (*BackupCustomHooksResponse) Reset ¶
func (x *BackupCustomHooksResponse) Reset()
func (*BackupCustomHooksResponse) String ¶
func (x *BackupCustomHooksResponse) String() string
type BackupRepositoryRequest ¶ added in v16.2.0
type BackupRepositoryRequest struct { // repository is the repository to be backed up. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // vanity_repository is used to determine the backup path. VanityRepository *Repository `protobuf:"bytes,2,opt,name=vanity_repository,json=vanityRepository,proto3" json:"vanity_repository,omitempty"` // backup_id is the label used to identify this backup when restoring. BackupId string `protobuf:"bytes,3,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` // contains filtered or unexported fields }
BackupRepositoryRequest is a request for the BackupRepository RPC.
func (*BackupRepositoryRequest) Descriptor
deprecated
added in
v16.2.0
func (*BackupRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use BackupRepositoryRequest.ProtoReflect.Descriptor instead.
func (*BackupRepositoryRequest) GetBackupId ¶ added in v16.2.0
func (x *BackupRepositoryRequest) GetBackupId() string
func (*BackupRepositoryRequest) GetRepository ¶ added in v16.2.0
func (x *BackupRepositoryRequest) GetRepository() *Repository
func (*BackupRepositoryRequest) GetVanityRepository ¶ added in v16.2.0
func (x *BackupRepositoryRequest) GetVanityRepository() *Repository
func (*BackupRepositoryRequest) ProtoMessage ¶ added in v16.2.0
func (*BackupRepositoryRequest) ProtoMessage()
func (*BackupRepositoryRequest) ProtoReflect ¶ added in v16.2.0
func (x *BackupRepositoryRequest) ProtoReflect() protoreflect.Message
func (*BackupRepositoryRequest) Reset ¶ added in v16.2.0
func (x *BackupRepositoryRequest) Reset()
func (*BackupRepositoryRequest) String ¶ added in v16.2.0
func (x *BackupRepositoryRequest) String() string
type BackupRepositoryResponse ¶ added in v16.2.0
type BackupRepositoryResponse struct {
// contains filtered or unexported fields
}
BackupRepositoryResponse is a response for the BackupRepository RPC.
func (*BackupRepositoryResponse) Descriptor
deprecated
added in
v16.2.0
func (*BackupRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use BackupRepositoryResponse.ProtoReflect.Descriptor instead.
func (*BackupRepositoryResponse) ProtoMessage ¶ added in v16.2.0
func (*BackupRepositoryResponse) ProtoMessage()
func (*BackupRepositoryResponse) ProtoReflect ¶ added in v16.2.0
func (x *BackupRepositoryResponse) ProtoReflect() protoreflect.Message
func (*BackupRepositoryResponse) Reset ¶ added in v16.2.0
func (x *BackupRepositoryResponse) Reset()
func (*BackupRepositoryResponse) String ¶ added in v16.2.0
func (x *BackupRepositoryResponse) String() string
type BackupRepositoryResponse_SkippedError ¶ added in v16.2.0
type BackupRepositoryResponse_SkippedError struct {
// contains filtered or unexported fields
}
SkippedError is returned when the repository backup has been skipped.
func (*BackupRepositoryResponse_SkippedError) Descriptor
deprecated
added in
v16.2.0
func (*BackupRepositoryResponse_SkippedError) Descriptor() ([]byte, []int)
Deprecated: Use BackupRepositoryResponse_SkippedError.ProtoReflect.Descriptor instead.
func (*BackupRepositoryResponse_SkippedError) ProtoMessage ¶ added in v16.2.0
func (*BackupRepositoryResponse_SkippedError) ProtoMessage()
func (*BackupRepositoryResponse_SkippedError) ProtoReflect ¶ added in v16.2.0
func (x *BackupRepositoryResponse_SkippedError) ProtoReflect() protoreflect.Message
func (*BackupRepositoryResponse_SkippedError) Reset ¶ added in v16.2.0
func (x *BackupRepositoryResponse_SkippedError) Reset()
func (*BackupRepositoryResponse_SkippedError) String ¶ added in v16.2.0
func (x *BackupRepositoryResponse_SkippedError) String() string
type BlobServiceClient ¶
type BlobServiceClient interface { // GetBlob returns the contents of a blob object referenced by its object // ID. We use a stream to return a chunked arbitrarily large binary // response GetBlob(ctx context.Context, in *GetBlobRequest, opts ...grpc.CallOption) (BlobService_GetBlobClient, error) // GetBlobs returns blobs identified via a revision and path. // // Note that the behaviour of this RPC is quite weird: it does not only return blobs, but will also return submodules // as commits and trees. It's use is thus discouraged in favor of ListBlobs, which behaves more sanely. GetBlobs(ctx context.Context, in *GetBlobsRequest, opts ...grpc.CallOption) (BlobService_GetBlobsClient, error) // ListBlobs will list all blobs reachable from a given set of revisions by // doing a graph walk. It is not valid to pass revisions which do not resolve // to an existing object. ListBlobs(ctx context.Context, in *ListBlobsRequest, opts ...grpc.CallOption) (BlobService_ListBlobsClient, error) // ListAllBlobs retrieves all blobs pointers in the repository, including // those not reachable by any reference. ListAllBlobs(ctx context.Context, in *ListAllBlobsRequest, opts ...grpc.CallOption) (BlobService_ListAllBlobsClient, error) // GetLFSPointers retrieves LFS pointers from a given set of object IDs. // This RPC filters all requested objects and only returns those which refer // to a valid LFS pointer. GetLFSPointers(ctx context.Context, in *GetLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetLFSPointersClient, error) // ListLFSPointers retrieves LFS pointers reachable from a given set of // revisions by doing a graph walk. This includes both normal revisions like // an object ID or branch, but also the pseudo-revisions "--all" and "--not" // as documented in git-rev-parse(1). Revisions which don't directly or // transitively reference any LFS pointers are ignored. It is not valid to // pass revisions which do not resolve to an existing object. ListLFSPointers(ctx context.Context, in *ListLFSPointersRequest, opts ...grpc.CallOption) (BlobService_ListLFSPointersClient, error) // ListAllLFSPointers retrieves all LFS pointers in the repository, including // those not reachable by any reference. ListAllLFSPointers(ctx context.Context, in *ListAllLFSPointersRequest, opts ...grpc.CallOption) (BlobService_ListAllLFSPointersClient, error) }
BlobServiceClient is the client API for BlobService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBlobServiceClient ¶
func NewBlobServiceClient(cc grpc.ClientConnInterface) BlobServiceClient
type BlobServiceServer ¶
type BlobServiceServer interface { // GetBlob returns the contents of a blob object referenced by its object // ID. We use a stream to return a chunked arbitrarily large binary // response GetBlob(*GetBlobRequest, BlobService_GetBlobServer) error // GetBlobs returns blobs identified via a revision and path. // // Note that the behaviour of this RPC is quite weird: it does not only return blobs, but will also return submodules // as commits and trees. It's use is thus discouraged in favor of ListBlobs, which behaves more sanely. GetBlobs(*GetBlobsRequest, BlobService_GetBlobsServer) error // ListBlobs will list all blobs reachable from a given set of revisions by // doing a graph walk. It is not valid to pass revisions which do not resolve // to an existing object. ListBlobs(*ListBlobsRequest, BlobService_ListBlobsServer) error // ListAllBlobs retrieves all blobs pointers in the repository, including // those not reachable by any reference. ListAllBlobs(*ListAllBlobsRequest, BlobService_ListAllBlobsServer) error // GetLFSPointers retrieves LFS pointers from a given set of object IDs. // This RPC filters all requested objects and only returns those which refer // to a valid LFS pointer. GetLFSPointers(*GetLFSPointersRequest, BlobService_GetLFSPointersServer) error // ListLFSPointers retrieves LFS pointers reachable from a given set of // revisions by doing a graph walk. This includes both normal revisions like // an object ID or branch, but also the pseudo-revisions "--all" and "--not" // as documented in git-rev-parse(1). Revisions which don't directly or // transitively reference any LFS pointers are ignored. It is not valid to // pass revisions which do not resolve to an existing object. ListLFSPointers(*ListLFSPointersRequest, BlobService_ListLFSPointersServer) error // ListAllLFSPointers retrieves all LFS pointers in the repository, including // those not reachable by any reference. ListAllLFSPointers(*ListAllLFSPointersRequest, BlobService_ListAllLFSPointersServer) error // contains filtered or unexported methods }
BlobServiceServer is the server API for BlobService service. All implementations must embed UnimplementedBlobServiceServer for forward compatibility
type BlobService_GetBlobClient ¶
type BlobService_GetBlobClient interface { Recv() (*GetBlobResponse, error) grpc.ClientStream }
type BlobService_GetBlobServer ¶
type BlobService_GetBlobServer interface { Send(*GetBlobResponse) error grpc.ServerStream }
type BlobService_GetBlobsClient ¶
type BlobService_GetBlobsClient interface { Recv() (*GetBlobsResponse, error) grpc.ClientStream }
type BlobService_GetBlobsServer ¶
type BlobService_GetBlobsServer interface { Send(*GetBlobsResponse) error grpc.ServerStream }
type BlobService_GetLFSPointersClient ¶
type BlobService_GetLFSPointersClient interface { Recv() (*GetLFSPointersResponse, error) grpc.ClientStream }
type BlobService_GetLFSPointersServer ¶
type BlobService_GetLFSPointersServer interface { Send(*GetLFSPointersResponse) error grpc.ServerStream }
type BlobService_ListAllBlobsClient ¶
type BlobService_ListAllBlobsClient interface { Recv() (*ListAllBlobsResponse, error) grpc.ClientStream }
type BlobService_ListAllBlobsServer ¶
type BlobService_ListAllBlobsServer interface { Send(*ListAllBlobsResponse) error grpc.ServerStream }
type BlobService_ListAllLFSPointersClient ¶
type BlobService_ListAllLFSPointersClient interface { Recv() (*ListAllLFSPointersResponse, error) grpc.ClientStream }
type BlobService_ListAllLFSPointersServer ¶
type BlobService_ListAllLFSPointersServer interface { Send(*ListAllLFSPointersResponse) error grpc.ServerStream }
type BlobService_ListBlobsClient ¶
type BlobService_ListBlobsClient interface { Recv() (*ListBlobsResponse, error) grpc.ClientStream }
type BlobService_ListBlobsServer ¶
type BlobService_ListBlobsServer interface { Send(*ListBlobsResponse) error grpc.ServerStream }
type BlobService_ListLFSPointersClient ¶
type BlobService_ListLFSPointersClient interface { Recv() (*ListLFSPointersResponse, error) grpc.ClientStream }
type BlobService_ListLFSPointersServer ¶
type BlobService_ListLFSPointersServer interface { Send(*ListLFSPointersResponse) error grpc.ServerStream }
type Branch ¶
type Branch struct { // name ... Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // target_commit ... TargetCommit *GitCommit `protobuf:"bytes,2,opt,name=target_commit,json=targetCommit,proto3" json:"target_commit,omitempty"` // contains filtered or unexported fields }
Branch corresponds to Gitlab::Git::Branch
func (*Branch) Descriptor
deprecated
func (*Branch) GetTargetCommit ¶
func (*Branch) ProtoMessage ¶
func (*Branch) ProtoMessage()
func (*Branch) ProtoReflect ¶
func (x *Branch) ProtoReflect() protoreflect.Message
type CalculateChecksumRequest ¶
type CalculateChecksumRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
CalculateChecksumRequest ...
func (*CalculateChecksumRequest) Descriptor
deprecated
func (*CalculateChecksumRequest) Descriptor() ([]byte, []int)
Deprecated: Use CalculateChecksumRequest.ProtoReflect.Descriptor instead.
func (*CalculateChecksumRequest) GetRepository ¶
func (x *CalculateChecksumRequest) GetRepository() *Repository
func (*CalculateChecksumRequest) ProtoMessage ¶
func (*CalculateChecksumRequest) ProtoMessage()
func (*CalculateChecksumRequest) ProtoReflect ¶
func (x *CalculateChecksumRequest) ProtoReflect() protoreflect.Message
func (*CalculateChecksumRequest) Reset ¶
func (x *CalculateChecksumRequest) Reset()
func (*CalculateChecksumRequest) String ¶
func (x *CalculateChecksumRequest) String() string
type CalculateChecksumResponse ¶
type CalculateChecksumResponse struct { // checksum ... Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"` // contains filtered or unexported fields }
CalculateChecksumResponse ...
func (*CalculateChecksumResponse) Descriptor
deprecated
func (*CalculateChecksumResponse) Descriptor() ([]byte, []int)
Deprecated: Use CalculateChecksumResponse.ProtoReflect.Descriptor instead.
func (*CalculateChecksumResponse) GetChecksum ¶
func (x *CalculateChecksumResponse) GetChecksum() string
func (*CalculateChecksumResponse) ProtoMessage ¶
func (*CalculateChecksumResponse) ProtoMessage()
func (*CalculateChecksumResponse) ProtoReflect ¶
func (x *CalculateChecksumResponse) ProtoReflect() protoreflect.Message
func (*CalculateChecksumResponse) Reset ¶
func (x *CalculateChecksumResponse) Reset()
func (*CalculateChecksumResponse) String ¶
func (x *CalculateChecksumResponse) String() string
type ChangedPaths ¶
type ChangedPaths struct { // path ... Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // status ... Status ChangedPaths_Status `protobuf:"varint,2,opt,name=status,proto3,enum=gitaly.ChangedPaths_Status" json:"status,omitempty"` // old_mode is the mode of the changed path previous to the change. May be one of the following values: // // - 0o000000 if the path does not exist. // - 0o100644 if the path refers to a normal file. // - 0o100755 if the path refers to an executable file. // - 0o040000 if the path refers to a tree entry. // - 0o160000 if the path refers to a submodule. OldMode int32 `protobuf:"varint,3,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` // new_mode is the mode of the changed path after the change. Please refer to `old_mode` for a list of potential values. NewMode int32 `protobuf:"varint,4,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` // contains filtered or unexported fields }
ChangedPaths includes the path of the file, and the status of the change.
func (*ChangedPaths) Descriptor
deprecated
func (*ChangedPaths) Descriptor() ([]byte, []int)
Deprecated: Use ChangedPaths.ProtoReflect.Descriptor instead.
func (*ChangedPaths) GetNewMode ¶
func (x *ChangedPaths) GetNewMode() int32
func (*ChangedPaths) GetOldMode ¶
func (x *ChangedPaths) GetOldMode() int32
func (*ChangedPaths) GetPath ¶
func (x *ChangedPaths) GetPath() []byte
func (*ChangedPaths) GetStatus ¶
func (x *ChangedPaths) GetStatus() ChangedPaths_Status
func (*ChangedPaths) ProtoMessage ¶
func (*ChangedPaths) ProtoMessage()
func (*ChangedPaths) ProtoReflect ¶
func (x *ChangedPaths) ProtoReflect() protoreflect.Message
func (*ChangedPaths) Reset ¶
func (x *ChangedPaths) Reset()
func (*ChangedPaths) String ¶
func (x *ChangedPaths) String() string
type ChangedPaths_Status ¶
type ChangedPaths_Status int32
Status ...
const ( // ADDED ... ChangedPaths_ADDED ChangedPaths_Status = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // MODIFIED ... ChangedPaths_MODIFIED ChangedPaths_Status = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // DELETED ... ChangedPaths_DELETED ChangedPaths_Status = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // TYPE_CHANGE ... ChangedPaths_TYPE_CHANGE ChangedPaths_Status = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // COPIED ... ChangedPaths_COPIED ChangedPaths_Status = 4 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (ChangedPaths_Status) Descriptor ¶
func (ChangedPaths_Status) Descriptor() protoreflect.EnumDescriptor
func (ChangedPaths_Status) Enum ¶
func (x ChangedPaths_Status) Enum() *ChangedPaths_Status
func (ChangedPaths_Status) EnumDescriptor
deprecated
func (ChangedPaths_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChangedPaths_Status.Descriptor instead.
func (ChangedPaths_Status) Number ¶
func (x ChangedPaths_Status) Number() protoreflect.EnumNumber
func (ChangedPaths_Status) String ¶
func (x ChangedPaths_Status) String() string
func (ChangedPaths_Status) Type ¶
func (ChangedPaths_Status) Type() protoreflect.EnumType
type ChangesAlreadyAppliedError ¶
type ChangesAlreadyAppliedError struct {
// contains filtered or unexported fields
}
ChangesAlreadyAppliedError is an error returned when the operation would have resulted in no changes because these changes have already been applied.
func (*ChangesAlreadyAppliedError) Descriptor
deprecated
func (*ChangesAlreadyAppliedError) Descriptor() ([]byte, []int)
Deprecated: Use ChangesAlreadyAppliedError.ProtoReflect.Descriptor instead.
func (*ChangesAlreadyAppliedError) ProtoMessage ¶
func (*ChangesAlreadyAppliedError) ProtoMessage()
func (*ChangesAlreadyAppliedError) ProtoReflect ¶
func (x *ChangesAlreadyAppliedError) ProtoReflect() protoreflect.Message
func (*ChangesAlreadyAppliedError) Reset ¶
func (x *ChangesAlreadyAppliedError) Reset()
func (*ChangesAlreadyAppliedError) String ¶
func (x *ChangesAlreadyAppliedError) String() string
type CheckObjectsExistRequest ¶
type CheckObjectsExistRequest struct { // repository is the repository in which existence of objects and refs // are checked. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revisions contains the revisions that shall be checked for existence. This accepts all revisions // as documented in gitrevisions(7) Revisions [][]byte `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` // contains filtered or unexported fields }
CheckObjectsExistRequest is a request for the CheckObjectsExist RPC. Only the initial request must contain a repository, the repository of all subsequent requests will be ignored.
func (*CheckObjectsExistRequest) Descriptor
deprecated
func (*CheckObjectsExistRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckObjectsExistRequest.ProtoReflect.Descriptor instead.
func (*CheckObjectsExistRequest) GetRepository ¶
func (x *CheckObjectsExistRequest) GetRepository() *Repository
func (*CheckObjectsExistRequest) GetRevisions ¶
func (x *CheckObjectsExistRequest) GetRevisions() [][]byte
func (*CheckObjectsExistRequest) ProtoMessage ¶
func (*CheckObjectsExistRequest) ProtoMessage()
func (*CheckObjectsExistRequest) ProtoReflect ¶
func (x *CheckObjectsExistRequest) ProtoReflect() protoreflect.Message
func (*CheckObjectsExistRequest) Reset ¶
func (x *CheckObjectsExistRequest) Reset()
func (*CheckObjectsExistRequest) String ¶
func (x *CheckObjectsExistRequest) String() string
type CheckObjectsExistResponse ¶
type CheckObjectsExistResponse struct { // revisions ... Revisions []*CheckObjectsExistResponse_RevisionExistence `protobuf:"bytes,1,rep,name=revisions,proto3" json:"revisions,omitempty"` // contains filtered or unexported fields }
CheckObjectsExistResponse ...
func (*CheckObjectsExistResponse) Descriptor
deprecated
func (*CheckObjectsExistResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckObjectsExistResponse.ProtoReflect.Descriptor instead.
func (*CheckObjectsExistResponse) GetRevisions ¶
func (x *CheckObjectsExistResponse) GetRevisions() []*CheckObjectsExistResponse_RevisionExistence
func (*CheckObjectsExistResponse) ProtoMessage ¶
func (*CheckObjectsExistResponse) ProtoMessage()
func (*CheckObjectsExistResponse) ProtoReflect ¶
func (x *CheckObjectsExistResponse) ProtoReflect() protoreflect.Message
func (*CheckObjectsExistResponse) Reset ¶
func (x *CheckObjectsExistResponse) Reset()
func (*CheckObjectsExistResponse) String ¶
func (x *CheckObjectsExistResponse) String() string
type CheckObjectsExistResponse_RevisionExistence ¶
type CheckObjectsExistResponse_RevisionExistence struct { // name ... Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // exists ... Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
RevisionExistence ...
func (*CheckObjectsExistResponse_RevisionExistence) Descriptor
deprecated
func (*CheckObjectsExistResponse_RevisionExistence) Descriptor() ([]byte, []int)
Deprecated: Use CheckObjectsExistResponse_RevisionExistence.ProtoReflect.Descriptor instead.
func (*CheckObjectsExistResponse_RevisionExistence) GetExists ¶
func (x *CheckObjectsExistResponse_RevisionExistence) GetExists() bool
func (*CheckObjectsExistResponse_RevisionExistence) GetName ¶
func (x *CheckObjectsExistResponse_RevisionExistence) GetName() []byte
func (*CheckObjectsExistResponse_RevisionExistence) ProtoMessage ¶
func (*CheckObjectsExistResponse_RevisionExistence) ProtoMessage()
func (*CheckObjectsExistResponse_RevisionExistence) ProtoReflect ¶
func (x *CheckObjectsExistResponse_RevisionExistence) ProtoReflect() protoreflect.Message
func (*CheckObjectsExistResponse_RevisionExistence) Reset ¶
func (x *CheckObjectsExistResponse_RevisionExistence) Reset()
func (*CheckObjectsExistResponse_RevisionExistence) String ¶
func (x *CheckObjectsExistResponse_RevisionExistence) String() string
type CleanupServiceClient ¶
type CleanupServiceClient interface { // ApplyBfgObjectMapStream ... ApplyBfgObjectMapStream(ctx context.Context, opts ...grpc.CallOption) (CleanupService_ApplyBfgObjectMapStreamClient, error) }
CleanupServiceClient is the client API for CleanupService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCleanupServiceClient ¶
func NewCleanupServiceClient(cc grpc.ClientConnInterface) CleanupServiceClient
type CleanupServiceServer ¶
type CleanupServiceServer interface { // ApplyBfgObjectMapStream ... ApplyBfgObjectMapStream(CleanupService_ApplyBfgObjectMapStreamServer) error // contains filtered or unexported methods }
CleanupServiceServer is the server API for CleanupService service. All implementations must embed UnimplementedCleanupServiceServer for forward compatibility
type CleanupService_ApplyBfgObjectMapStreamClient ¶
type CleanupService_ApplyBfgObjectMapStreamClient interface { Send(*ApplyBfgObjectMapStreamRequest) error Recv() (*ApplyBfgObjectMapStreamResponse, error) grpc.ClientStream }
type CleanupService_ApplyBfgObjectMapStreamServer ¶
type CleanupService_ApplyBfgObjectMapStreamServer interface { Send(*ApplyBfgObjectMapStreamResponse) error Recv() (*ApplyBfgObjectMapStreamRequest, error) grpc.ServerStream }
type ClockSyncedRequest ¶
type ClockSyncedRequest struct { // ntp_host is a URL to the external NTP service that should be used for clock sync check. // Default is "pool.ntp.org" NtpHost string `protobuf:"bytes,1,opt,name=ntp_host,json=ntpHost,proto3" json:"ntp_host,omitempty"` // drift_threshold is an allowed drift from the NTP service. DriftThreshold *durationpb.Duration `protobuf:"bytes,3,opt,name=drift_threshold,json=driftThreshold,proto3" json:"drift_threshold,omitempty"` // contains filtered or unexported fields }
ClockSyncedRequest contains settings to be used for the system clock synchronisation check.
func (*ClockSyncedRequest) Descriptor
deprecated
func (*ClockSyncedRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClockSyncedRequest.ProtoReflect.Descriptor instead.
func (*ClockSyncedRequest) GetDriftThreshold ¶
func (x *ClockSyncedRequest) GetDriftThreshold() *durationpb.Duration
func (*ClockSyncedRequest) GetNtpHost ¶
func (x *ClockSyncedRequest) GetNtpHost() string
func (*ClockSyncedRequest) ProtoMessage ¶
func (*ClockSyncedRequest) ProtoMessage()
func (*ClockSyncedRequest) ProtoReflect ¶
func (x *ClockSyncedRequest) ProtoReflect() protoreflect.Message
func (*ClockSyncedRequest) Reset ¶
func (x *ClockSyncedRequest) Reset()
func (*ClockSyncedRequest) String ¶
func (x *ClockSyncedRequest) String() string
type ClockSyncedResponse ¶
type ClockSyncedResponse struct { // synced is set to true if system clock has an affordable drift compared to NTP service. Synced bool `protobuf:"varint,1,opt,name=synced,proto3" json:"synced,omitempty"` // contains filtered or unexported fields }
ClockSyncedResponse represents result of the system clock synchronisation check.
func (*ClockSyncedResponse) Descriptor
deprecated
func (*ClockSyncedResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClockSyncedResponse.ProtoReflect.Descriptor instead.
func (*ClockSyncedResponse) GetSynced ¶
func (x *ClockSyncedResponse) GetSynced() bool
func (*ClockSyncedResponse) ProtoMessage ¶
func (*ClockSyncedResponse) ProtoMessage()
func (*ClockSyncedResponse) ProtoReflect ¶
func (x *ClockSyncedResponse) ProtoReflect() protoreflect.Message
func (*ClockSyncedResponse) Reset ¶
func (x *ClockSyncedResponse) Reset()
func (*ClockSyncedResponse) String ¶
func (x *ClockSyncedResponse) String() string
type CommitAuthor ¶
type CommitAuthor struct { // name ... Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // email ... Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // date ... Date *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` // timezone ... Timezone []byte `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"` // contains filtered or unexported fields }
CommitAuthor ...
func (*CommitAuthor) Descriptor
deprecated
func (*CommitAuthor) Descriptor() ([]byte, []int)
Deprecated: Use CommitAuthor.ProtoReflect.Descriptor instead.
func (*CommitAuthor) GetDate ¶
func (x *CommitAuthor) GetDate() *timestamppb.Timestamp
func (*CommitAuthor) GetEmail ¶
func (x *CommitAuthor) GetEmail() []byte
func (*CommitAuthor) GetName ¶
func (x *CommitAuthor) GetName() []byte
func (*CommitAuthor) GetTimezone ¶
func (x *CommitAuthor) GetTimezone() []byte
func (*CommitAuthor) ProtoMessage ¶
func (*CommitAuthor) ProtoMessage()
func (*CommitAuthor) ProtoReflect ¶
func (x *CommitAuthor) ProtoReflect() protoreflect.Message
func (*CommitAuthor) Reset ¶
func (x *CommitAuthor) Reset()
func (*CommitAuthor) String ¶
func (x *CommitAuthor) String() string
type CommitDelta ¶
type CommitDelta struct { // from_path ... FromPath []byte `protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"` // to_path ... ToPath []byte `protobuf:"bytes,2,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"` // from_id is the blob ID as returned via `git diff --full-index`. FromId string `protobuf:"bytes,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` // to_id ... ToId string `protobuf:"bytes,4,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"` // old_mode ... OldMode int32 `protobuf:"varint,5,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` // new_mode ... NewMode int32 `protobuf:"varint,6,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` // contains filtered or unexported fields }
CommitDelta ...
func (*CommitDelta) Descriptor
deprecated
func (*CommitDelta) Descriptor() ([]byte, []int)
Deprecated: Use CommitDelta.ProtoReflect.Descriptor instead.
func (*CommitDelta) GetFromId ¶
func (x *CommitDelta) GetFromId() string
func (*CommitDelta) GetFromPath ¶
func (x *CommitDelta) GetFromPath() []byte
func (*CommitDelta) GetNewMode ¶
func (x *CommitDelta) GetNewMode() int32
func (*CommitDelta) GetOldMode ¶
func (x *CommitDelta) GetOldMode() int32
func (*CommitDelta) GetToId ¶
func (x *CommitDelta) GetToId() string
func (*CommitDelta) GetToPath ¶
func (x *CommitDelta) GetToPath() []byte
func (*CommitDelta) ProtoMessage ¶
func (*CommitDelta) ProtoMessage()
func (*CommitDelta) ProtoReflect ¶
func (x *CommitDelta) ProtoReflect() protoreflect.Message
func (*CommitDelta) Reset ¶
func (x *CommitDelta) Reset()
func (*CommitDelta) String ¶
func (x *CommitDelta) String() string
type CommitDeltaRequest ¶
type CommitDeltaRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // left_commit_id ... LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` // right_commit_id ... RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` // paths ... Paths [][]byte `protobuf:"bytes,4,rep,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
CommitDeltaRequest ...
func (*CommitDeltaRequest) Descriptor
deprecated
func (*CommitDeltaRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitDeltaRequest.ProtoReflect.Descriptor instead.
func (*CommitDeltaRequest) GetLeftCommitId ¶
func (x *CommitDeltaRequest) GetLeftCommitId() string
func (*CommitDeltaRequest) GetPaths ¶
func (x *CommitDeltaRequest) GetPaths() [][]byte
func (*CommitDeltaRequest) GetRepository ¶
func (x *CommitDeltaRequest) GetRepository() *Repository
func (*CommitDeltaRequest) GetRightCommitId ¶
func (x *CommitDeltaRequest) GetRightCommitId() string
func (*CommitDeltaRequest) ProtoMessage ¶
func (*CommitDeltaRequest) ProtoMessage()
func (*CommitDeltaRequest) ProtoReflect ¶
func (x *CommitDeltaRequest) ProtoReflect() protoreflect.Message
func (*CommitDeltaRequest) Reset ¶
func (x *CommitDeltaRequest) Reset()
func (*CommitDeltaRequest) String ¶
func (x *CommitDeltaRequest) String() string
type CommitDeltaResponse ¶
type CommitDeltaResponse struct { // deltas ... Deltas []*CommitDelta `protobuf:"bytes,1,rep,name=deltas,proto3" json:"deltas,omitempty"` // contains filtered or unexported fields }
CommitDeltaResponse ...
func (*CommitDeltaResponse) Descriptor
deprecated
func (*CommitDeltaResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitDeltaResponse.ProtoReflect.Descriptor instead.
func (*CommitDeltaResponse) GetDeltas ¶
func (x *CommitDeltaResponse) GetDeltas() []*CommitDelta
func (*CommitDeltaResponse) ProtoMessage ¶
func (*CommitDeltaResponse) ProtoMessage()
func (*CommitDeltaResponse) ProtoReflect ¶
func (x *CommitDeltaResponse) ProtoReflect() protoreflect.Message
func (*CommitDeltaResponse) Reset ¶
func (x *CommitDeltaResponse) Reset()
func (*CommitDeltaResponse) String ¶
func (x *CommitDeltaResponse) String() string
type CommitDiffRequest ¶
type CommitDiffRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // left_commit_id ... LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` // right_commit_id ... RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` // paths ... Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"` // collapse_diffs ... CollapseDiffs bool `protobuf:"varint,6,opt,name=collapse_diffs,json=collapseDiffs,proto3" json:"collapse_diffs,omitempty"` // enforce_limits ... EnforceLimits bool `protobuf:"varint,7,opt,name=enforce_limits,json=enforceLimits,proto3" json:"enforce_limits,omitempty"` // max_files ... // The following set of limits are only enforced when enforce_limits == true. MaxFiles int32 `protobuf:"varint,8,opt,name=max_files,json=maxFiles,proto3" json:"max_files,omitempty"` // max_lines ... MaxLines int32 `protobuf:"varint,9,opt,name=max_lines,json=maxLines,proto3" json:"max_lines,omitempty"` // max_bytes ... MaxBytes int32 `protobuf:"varint,10,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"` // max_patch_bytes is the limitation of a single diff patch, // patches surpassing this limit are pruned by default. // If this is 0 you will get back empty patches. MaxPatchBytes int32 `protobuf:"varint,14,opt,name=max_patch_bytes,json=maxPatchBytes,proto3" json:"max_patch_bytes,omitempty"` // safe_max_files... // These limits are only enforced if collapse_diffs == true. SafeMaxFiles int32 `protobuf:"varint,11,opt,name=safe_max_files,json=safeMaxFiles,proto3" json:"safe_max_files,omitempty"` // safe_max_lines ... SafeMaxLines int32 `protobuf:"varint,12,opt,name=safe_max_lines,json=safeMaxLines,proto3" json:"safe_max_lines,omitempty"` // safe_max_bytes ... SafeMaxBytes int32 `protobuf:"varint,13,opt,name=safe_max_bytes,json=safeMaxBytes,proto3" json:"safe_max_bytes,omitempty"` // diff_mode is the mode used for generating the diff. Please refer to the enum declaration for supported modes. DiffMode CommitDiffRequest_DiffMode `` /* 126-byte string literal not displayed */ // max_patch_bytes_for_file_extension is a map of file extension to max patch bytes for // that extension. It overrides max patch bytes for file extension. If the file does not // have an extension (eg Dockerfile), then the file name is used for matching. // For files with more than on extension (eg file.html.tmpl) only the last extension is matched. MaxPatchBytesForFileExtension map[string]int32 `` /* 246-byte string literal not displayed */ // whitespace_changes states which whitespace changes should be included in the diff. // Please refer to the enum declaration for supported modes. WhitespaceChanges CommitDiffRequest_WhitespaceChanges `` /* 162-byte string literal not displayed */ // collect_all_paths can be set when you want to get back all files, // even when the enforced limits are hit. Responses sent when the limits // were hit will have the path filled in, have the `overflow_marker` set, // but have no patch data. CollectAllPaths bool `protobuf:"varint,18,opt,name=collect_all_paths,json=collectAllPaths,proto3" json:"collect_all_paths,omitempty"` // contains filtered or unexported fields }
CommitDiffRequest ...
func (*CommitDiffRequest) Descriptor
deprecated
func (*CommitDiffRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitDiffRequest.ProtoReflect.Descriptor instead.
func (*CommitDiffRequest) GetCollapseDiffs ¶
func (x *CommitDiffRequest) GetCollapseDiffs() bool
func (*CommitDiffRequest) GetCollectAllPaths ¶ added in v16.1.0
func (x *CommitDiffRequest) GetCollectAllPaths() bool
func (*CommitDiffRequest) GetDiffMode ¶
func (x *CommitDiffRequest) GetDiffMode() CommitDiffRequest_DiffMode
func (*CommitDiffRequest) GetEnforceLimits ¶
func (x *CommitDiffRequest) GetEnforceLimits() bool
func (*CommitDiffRequest) GetLeftCommitId ¶
func (x *CommitDiffRequest) GetLeftCommitId() string
func (*CommitDiffRequest) GetMaxBytes ¶
func (x *CommitDiffRequest) GetMaxBytes() int32
func (*CommitDiffRequest) GetMaxFiles ¶
func (x *CommitDiffRequest) GetMaxFiles() int32
func (*CommitDiffRequest) GetMaxLines ¶
func (x *CommitDiffRequest) GetMaxLines() int32
func (*CommitDiffRequest) GetMaxPatchBytes ¶
func (x *CommitDiffRequest) GetMaxPatchBytes() int32
func (*CommitDiffRequest) GetMaxPatchBytesForFileExtension ¶
func (x *CommitDiffRequest) GetMaxPatchBytesForFileExtension() map[string]int32
func (*CommitDiffRequest) GetPaths ¶
func (x *CommitDiffRequest) GetPaths() [][]byte
func (*CommitDiffRequest) GetRepository ¶
func (x *CommitDiffRequest) GetRepository() *Repository
func (*CommitDiffRequest) GetRightCommitId ¶
func (x *CommitDiffRequest) GetRightCommitId() string
func (*CommitDiffRequest) GetSafeMaxBytes ¶
func (x *CommitDiffRequest) GetSafeMaxBytes() int32
func (*CommitDiffRequest) GetSafeMaxFiles ¶
func (x *CommitDiffRequest) GetSafeMaxFiles() int32
func (*CommitDiffRequest) GetSafeMaxLines ¶
func (x *CommitDiffRequest) GetSafeMaxLines() int32
func (*CommitDiffRequest) GetWhitespaceChanges ¶
func (x *CommitDiffRequest) GetWhitespaceChanges() CommitDiffRequest_WhitespaceChanges
func (*CommitDiffRequest) ProtoMessage ¶
func (*CommitDiffRequest) ProtoMessage()
func (*CommitDiffRequest) ProtoReflect ¶
func (x *CommitDiffRequest) ProtoReflect() protoreflect.Message
func (*CommitDiffRequest) Reset ¶
func (x *CommitDiffRequest) Reset()
func (*CommitDiffRequest) String ¶
func (x *CommitDiffRequest) String() string
type CommitDiffRequest_DiffMode ¶
type CommitDiffRequest_DiffMode int32
DiffMode ...
const ( // DEFAULT is the standard diff mode and results in a linewise diff for textfiles. CommitDiffRequest_DEFAULT CommitDiffRequest_DiffMode = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // WORDDIFF is a word diff and computes the diff for whitespace separated words instead of for whole lines. CommitDiffRequest_WORDDIFF CommitDiffRequest_DiffMode = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (CommitDiffRequest_DiffMode) Descriptor ¶
func (CommitDiffRequest_DiffMode) Descriptor() protoreflect.EnumDescriptor
func (CommitDiffRequest_DiffMode) Enum ¶
func (x CommitDiffRequest_DiffMode) Enum() *CommitDiffRequest_DiffMode
func (CommitDiffRequest_DiffMode) EnumDescriptor
deprecated
func (CommitDiffRequest_DiffMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommitDiffRequest_DiffMode.Descriptor instead.
func (CommitDiffRequest_DiffMode) Number ¶
func (x CommitDiffRequest_DiffMode) Number() protoreflect.EnumNumber
func (CommitDiffRequest_DiffMode) String ¶
func (x CommitDiffRequest_DiffMode) String() string
func (CommitDiffRequest_DiffMode) Type ¶
func (CommitDiffRequest_DiffMode) Type() protoreflect.EnumType
type CommitDiffRequest_WhitespaceChanges ¶
type CommitDiffRequest_WhitespaceChanges int32
WhitespaceChanges states which whitespace changes we should ignore. These options correlate to the ones present in git-diff(1).
const ( // WHITESPACE_CHANGES_UNSPECIFIED is used to not ignore any whitespace changes. CommitDiffRequest_WHITESPACE_CHANGES_UNSPECIFIED CommitDiffRequest_WhitespaceChanges = 0 // WHITESPACE_CHANGES_IGNORE specifies to use the `--ignore-space-change` flag of git-diff(1). // Only changes in amount of whitespace are ignored. CommitDiffRequest_WHITESPACE_CHANGES_IGNORE CommitDiffRequest_WhitespaceChanges = 1 // WHITESPACE_CHANGES_IGNORE_ALL specifies to use the `--ignore-all-space` flag of git-diff(1). // all whitespace characters are ignored when comparing lines. CommitDiffRequest_WHITESPACE_CHANGES_IGNORE_ALL CommitDiffRequest_WhitespaceChanges = 2 )
func (CommitDiffRequest_WhitespaceChanges) Descriptor ¶
func (CommitDiffRequest_WhitespaceChanges) Descriptor() protoreflect.EnumDescriptor
func (CommitDiffRequest_WhitespaceChanges) Enum ¶
func (x CommitDiffRequest_WhitespaceChanges) Enum() *CommitDiffRequest_WhitespaceChanges
func (CommitDiffRequest_WhitespaceChanges) EnumDescriptor
deprecated
func (CommitDiffRequest_WhitespaceChanges) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommitDiffRequest_WhitespaceChanges.Descriptor instead.
func (CommitDiffRequest_WhitespaceChanges) Number ¶
func (x CommitDiffRequest_WhitespaceChanges) Number() protoreflect.EnumNumber
func (CommitDiffRequest_WhitespaceChanges) String ¶
func (x CommitDiffRequest_WhitespaceChanges) String() string
func (CommitDiffRequest_WhitespaceChanges) Type ¶
func (CommitDiffRequest_WhitespaceChanges) Type() protoreflect.EnumType
type CommitDiffResponse ¶
type CommitDiffResponse struct { // from_path ... FromPath []byte `protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"` // to_path ... ToPath []byte `protobuf:"bytes,2,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"` // from_id is the blob ID as returned via `git diff --full-index`. FromId string `protobuf:"bytes,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` // to_id ... ToId string `protobuf:"bytes,4,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"` // old_mode ... OldMode int32 `protobuf:"varint,5,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` // new_mode ... NewMode int32 `protobuf:"varint,6,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` // binary ... Binary bool `protobuf:"varint,7,opt,name=binary,proto3" json:"binary,omitempty"` // raw_patch_data ... RawPatchData []byte `protobuf:"bytes,9,opt,name=raw_patch_data,json=rawPatchData,proto3" json:"raw_patch_data,omitempty"` // end_of_patch ... EndOfPatch bool `protobuf:"varint,10,opt,name=end_of_patch,json=endOfPatch,proto3" json:"end_of_patch,omitempty"` // overflow_marker Indicates if the diff file exceeded limitations, in which case // there will be no patch data sent, only information about the patch. OverflowMarker bool `protobuf:"varint,11,opt,name=overflow_marker,json=overflowMarker,proto3" json:"overflow_marker,omitempty"` // collapsed indicates the patch surpassed a "safe" limit and was therefore pruned, but // the client may still request the full patch on a separate request. Collapsed bool `protobuf:"varint,12,opt,name=collapsed,proto3" json:"collapsed,omitempty"` // too_large indicates the patch was pruned since it surpassed a hard limit, and can // therefore not be expanded. TooLarge bool `protobuf:"varint,13,opt,name=too_large,json=tooLarge,proto3" json:"too_large,omitempty"` // contains filtered or unexported fields }
CommitDiffResponse corresponds to a single changed file in a commit.
func (*CommitDiffResponse) Descriptor
deprecated
func (*CommitDiffResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitDiffResponse.ProtoReflect.Descriptor instead.
func (*CommitDiffResponse) GetBinary ¶
func (x *CommitDiffResponse) GetBinary() bool
func (*CommitDiffResponse) GetCollapsed ¶
func (x *CommitDiffResponse) GetCollapsed() bool
func (*CommitDiffResponse) GetEndOfPatch ¶
func (x *CommitDiffResponse) GetEndOfPatch() bool
func (*CommitDiffResponse) GetFromId ¶
func (x *CommitDiffResponse) GetFromId() string
func (*CommitDiffResponse) GetFromPath ¶
func (x *CommitDiffResponse) GetFromPath() []byte
func (*CommitDiffResponse) GetNewMode ¶
func (x *CommitDiffResponse) GetNewMode() int32
func (*CommitDiffResponse) GetOldMode ¶
func (x *CommitDiffResponse) GetOldMode() int32
func (*CommitDiffResponse) GetOverflowMarker ¶
func (x *CommitDiffResponse) GetOverflowMarker() bool
func (*CommitDiffResponse) GetRawPatchData ¶
func (x *CommitDiffResponse) GetRawPatchData() []byte
func (*CommitDiffResponse) GetToId ¶
func (x *CommitDiffResponse) GetToId() string
func (*CommitDiffResponse) GetToPath ¶
func (x *CommitDiffResponse) GetToPath() []byte
func (*CommitDiffResponse) GetTooLarge ¶
func (x *CommitDiffResponse) GetTooLarge() bool
func (*CommitDiffResponse) ProtoMessage ¶
func (*CommitDiffResponse) ProtoMessage()
func (*CommitDiffResponse) ProtoReflect ¶
func (x *CommitDiffResponse) ProtoReflect() protoreflect.Message
func (*CommitDiffResponse) Reset ¶
func (x *CommitDiffResponse) Reset()
func (*CommitDiffResponse) String ¶
func (x *CommitDiffResponse) String() string
type CommitIsAncestorRequest ¶
type CommitIsAncestorRequest struct { // repository is the repository for which we need to check the ancestory. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // ancestor_id is the object ID of the commit which needs to be checked as ancestor. AncestorId string `protobuf:"bytes,2,opt,name=ancestor_id,json=ancestorId,proto3" json:"ancestor_id,omitempty"` // child_id is the object ID of the commit whose ancestor needs to be confirmed. ChildId string `protobuf:"bytes,3,opt,name=child_id,json=childId,proto3" json:"child_id,omitempty"` // contains filtered or unexported fields }
CommitIsAncestorRequest is the request for the CommitIsAncestor RPC.
func (*CommitIsAncestorRequest) Descriptor
deprecated
func (*CommitIsAncestorRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitIsAncestorRequest.ProtoReflect.Descriptor instead.
func (*CommitIsAncestorRequest) GetAncestorId ¶
func (x *CommitIsAncestorRequest) GetAncestorId() string
func (*CommitIsAncestorRequest) GetChildId ¶
func (x *CommitIsAncestorRequest) GetChildId() string
func (*CommitIsAncestorRequest) GetRepository ¶
func (x *CommitIsAncestorRequest) GetRepository() *Repository
func (*CommitIsAncestorRequest) ProtoMessage ¶
func (*CommitIsAncestorRequest) ProtoMessage()
func (*CommitIsAncestorRequest) ProtoReflect ¶
func (x *CommitIsAncestorRequest) ProtoReflect() protoreflect.Message
func (*CommitIsAncestorRequest) Reset ¶
func (x *CommitIsAncestorRequest) Reset()
func (*CommitIsAncestorRequest) String ¶
func (x *CommitIsAncestorRequest) String() string
type CommitIsAncestorResponse ¶
type CommitIsAncestorResponse struct { // value denotes whether the provided commit is the ancestor or not. Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
CommitIsAncestorResponse is the response for the CommitIsAncestor RPC.
func (*CommitIsAncestorResponse) Descriptor
deprecated
func (*CommitIsAncestorResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitIsAncestorResponse.ProtoReflect.Descriptor instead.
func (*CommitIsAncestorResponse) GetValue ¶
func (x *CommitIsAncestorResponse) GetValue() bool
func (*CommitIsAncestorResponse) ProtoMessage ¶
func (*CommitIsAncestorResponse) ProtoMessage()
func (*CommitIsAncestorResponse) ProtoReflect ¶
func (x *CommitIsAncestorResponse) ProtoReflect() protoreflect.Message
func (*CommitIsAncestorResponse) Reset ¶
func (x *CommitIsAncestorResponse) Reset()
func (*CommitIsAncestorResponse) String ¶
func (x *CommitIsAncestorResponse) String() string
type CommitLanguagesRequest ¶
type CommitLanguagesRequest struct { // repository is the repository where to detect the languages in. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revision tells for which commitish the languages should be detected. If it's // omitted, the HEAD commit of the default branch is used. Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
CommitLanguagesRequest requests to detect the source code languages.
func (*CommitLanguagesRequest) Descriptor
deprecated
func (*CommitLanguagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitLanguagesRequest.ProtoReflect.Descriptor instead.
func (*CommitLanguagesRequest) GetRepository ¶
func (x *CommitLanguagesRequest) GetRepository() *Repository
func (*CommitLanguagesRequest) GetRevision ¶
func (x *CommitLanguagesRequest) GetRevision() []byte
func (*CommitLanguagesRequest) ProtoMessage ¶
func (*CommitLanguagesRequest) ProtoMessage()
func (*CommitLanguagesRequest) ProtoReflect ¶
func (x *CommitLanguagesRequest) ProtoReflect() protoreflect.Message
func (*CommitLanguagesRequest) Reset ¶
func (x *CommitLanguagesRequest) Reset()
func (*CommitLanguagesRequest) String ¶
func (x *CommitLanguagesRequest) String() string
type CommitLanguagesResponse ¶
type CommitLanguagesResponse struct { // languages is a set of all the detected languages and their statistics. Languages []*CommitLanguagesResponse_Language `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` // contains filtered or unexported fields }
CommitLanguagesResponse returns the language statistics.
func (*CommitLanguagesResponse) Descriptor
deprecated
func (*CommitLanguagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitLanguagesResponse.ProtoReflect.Descriptor instead.
func (*CommitLanguagesResponse) GetLanguages ¶
func (x *CommitLanguagesResponse) GetLanguages() []*CommitLanguagesResponse_Language
func (*CommitLanguagesResponse) ProtoMessage ¶
func (*CommitLanguagesResponse) ProtoMessage()
func (*CommitLanguagesResponse) ProtoReflect ¶
func (x *CommitLanguagesResponse) ProtoReflect() protoreflect.Message
func (*CommitLanguagesResponse) Reset ¶
func (x *CommitLanguagesResponse) Reset()
func (*CommitLanguagesResponse) String ¶
func (x *CommitLanguagesResponse) String() string
type CommitLanguagesResponse_Language ¶
type CommitLanguagesResponse_Language struct { // name is the name of the detected language, for example: Ruby, Go, HTML // A full list of language names can be found at: // https://github.com/github/linguist/blob/master/lib/linguist/languages.yml Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // in relation to other languages that exist in the given revision. Share float32 `protobuf:"fixed32,2,opt,name=share,proto3" json:"share,omitempty"` // color specifies the associated color for this language, for example #3fd5e0. Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` // bytes is the total amount of bytes written in this language Bytes uint64 `protobuf:"varint,5,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
Language specifies the statistics for one language.
func (*CommitLanguagesResponse_Language) Descriptor
deprecated
func (*CommitLanguagesResponse_Language) Descriptor() ([]byte, []int)
Deprecated: Use CommitLanguagesResponse_Language.ProtoReflect.Descriptor instead.
func (*CommitLanguagesResponse_Language) GetBytes ¶
func (x *CommitLanguagesResponse_Language) GetBytes() uint64
func (*CommitLanguagesResponse_Language) GetColor ¶
func (x *CommitLanguagesResponse_Language) GetColor() string
func (*CommitLanguagesResponse_Language) GetName ¶
func (x *CommitLanguagesResponse_Language) GetName() string
func (*CommitLanguagesResponse_Language) GetShare ¶
func (x *CommitLanguagesResponse_Language) GetShare() float32
func (*CommitLanguagesResponse_Language) ProtoMessage ¶
func (*CommitLanguagesResponse_Language) ProtoMessage()
func (*CommitLanguagesResponse_Language) ProtoReflect ¶
func (x *CommitLanguagesResponse_Language) ProtoReflect() protoreflect.Message
func (*CommitLanguagesResponse_Language) Reset ¶
func (x *CommitLanguagesResponse_Language) Reset()
func (*CommitLanguagesResponse_Language) String ¶
func (x *CommitLanguagesResponse_Language) String() string
type CommitServiceClient ¶
type CommitServiceClient interface { // ListCommits lists all commits reachable via a set of references by doing a // graph walk. This deprecates FindAllCommits and FindCommits (except Follow // is not yet supported). Any unknown revisions will cause the RPC to fail. ListCommits(ctx context.Context, in *ListCommitsRequest, opts ...grpc.CallOption) (CommitService_ListCommitsClient, error) // ListAllCommits lists all commits present in the repository, including // those not reachable by any reference. ListAllCommits(ctx context.Context, in *ListAllCommitsRequest, opts ...grpc.CallOption) (CommitService_ListAllCommitsClient, error) // CommitIsAncestor checks whether a provided commit is the ancestor of // another commit. CommitIsAncestor(ctx context.Context, in *CommitIsAncestorRequest, opts ...grpc.CallOption) (*CommitIsAncestorResponse, error) // TreeEntry provides the tree entry for the provided path and revision. The data // is broken into chunks and streamed. TreeEntry(ctx context.Context, in *TreeEntryRequest, opts ...grpc.CallOption) (CommitService_TreeEntryClient, error) // CountCommits provides the number of commits which adhere to the given filters. CountCommits(ctx context.Context, in *CountCommitsRequest, opts ...grpc.CallOption) (*CountCommitsResponse, error) // CountDivergingCommits provides the number of diverging commits between two revisions. CountDivergingCommits(ctx context.Context, in *CountDivergingCommitsRequest, opts ...grpc.CallOption) (*CountDivergingCommitsResponse, error) // GetTreeEntries provides the tree entries for the provided path and revision. This includes // subtrees present under the tree with the option of recursive fetching. GetTreeEntries(ctx context.Context, in *GetTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_GetTreeEntriesClient, error) // ListFiles lists all the files (including files in sub-dirs) present in the working tree // for a given revision. ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (CommitService_ListFilesClient, error) // FindCommit finds a commit for a given commitish. Returns nil if the commit is not found. FindCommit(ctx context.Context, in *FindCommitRequest, opts ...grpc.CallOption) (*FindCommitResponse, error) // CommitStats provides the stats for a given commitish. CommitStats(ctx context.Context, in *CommitStatsRequest, opts ...grpc.CallOption) (*CommitStatsResponse, error) // FindAllCommits lists all the commits for the provided revision. FindAllCommits(ctx context.Context, in *FindAllCommitsRequest, opts ...grpc.CallOption) (CommitService_FindAllCommitsClient, error) // FindCommits lists all the commits which are associated with the provided revision // and paths. If no revision is provided, the commits on the default branch of the // repository are listed. FindCommits(ctx context.Context, in *FindCommitsRequest, opts ...grpc.CallOption) (CommitService_FindCommitsClient, error) // CommitLanguages detects the source code languages of the whole tree for a // given commit. Returns an error in case no languages could be detected. CommitLanguages(ctx context.Context, in *CommitLanguagesRequest, opts ...grpc.CallOption) (*CommitLanguagesResponse, error) // RawBlame blames lines in a blob to when they have last been changed. Returns the raw output of the git-blame(1) // command. RawBlame(ctx context.Context, in *RawBlameRequest, opts ...grpc.CallOption) (CommitService_RawBlameClient, error) // LastCommitForPath returns the last commit that has changed a given path. // // The following special cases apply and have grown historically: // // - Absolute paths that or relative paths that escape the repository root will cause an error. // - A nonexistent path inside the repostiory leads to a successful but empty response. LastCommitForPath(ctx context.Context, in *LastCommitForPathRequest, opts ...grpc.CallOption) (*LastCommitForPathResponse, error) // ListLastCommitsForTree ... ListLastCommitsForTree(ctx context.Context, in *ListLastCommitsForTreeRequest, opts ...grpc.CallOption) (CommitService_ListLastCommitsForTreeClient, error) // CommitsByMessage ... CommitsByMessage(ctx context.Context, in *CommitsByMessageRequest, opts ...grpc.CallOption) (CommitService_CommitsByMessageClient, error) // ListCommitsByOid ... ListCommitsByOid(ctx context.Context, in *ListCommitsByOidRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByOidClient, error) // ListCommitsByRefName ... ListCommitsByRefName(ctx context.Context, in *ListCommitsByRefNameRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByRefNameClient, error) // FilterShasWithSignatures ... FilterShasWithSignatures(ctx context.Context, opts ...grpc.CallOption) (CommitService_FilterShasWithSignaturesClient, error) // GetCommitSignatures ... GetCommitSignatures(ctx context.Context, in *GetCommitSignaturesRequest, opts ...grpc.CallOption) (CommitService_GetCommitSignaturesClient, error) // GetCommitMessages ... GetCommitMessages(ctx context.Context, in *GetCommitMessagesRequest, opts ...grpc.CallOption) (CommitService_GetCommitMessagesClient, error) // CheckObjectsExist will check for the existence of revisions against a // repository. It returns two sets of data. An array containing the revisions // fromm the input that it found on the repository, and an array that contains all // revisions from the input it did not find on the repository. CheckObjectsExist(ctx context.Context, opts ...grpc.CallOption) (CommitService_CheckObjectsExistClient, error) }
CommitServiceClient is the client API for CommitService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCommitServiceClient ¶
func NewCommitServiceClient(cc grpc.ClientConnInterface) CommitServiceClient
type CommitServiceServer ¶
type CommitServiceServer interface { // ListCommits lists all commits reachable via a set of references by doing a // graph walk. This deprecates FindAllCommits and FindCommits (except Follow // is not yet supported). Any unknown revisions will cause the RPC to fail. ListCommits(*ListCommitsRequest, CommitService_ListCommitsServer) error // ListAllCommits lists all commits present in the repository, including // those not reachable by any reference. ListAllCommits(*ListAllCommitsRequest, CommitService_ListAllCommitsServer) error // CommitIsAncestor checks whether a provided commit is the ancestor of // another commit. CommitIsAncestor(context.Context, *CommitIsAncestorRequest) (*CommitIsAncestorResponse, error) // TreeEntry provides the tree entry for the provided path and revision. The data // is broken into chunks and streamed. TreeEntry(*TreeEntryRequest, CommitService_TreeEntryServer) error // CountCommits provides the number of commits which adhere to the given filters. CountCommits(context.Context, *CountCommitsRequest) (*CountCommitsResponse, error) // CountDivergingCommits provides the number of diverging commits between two revisions. CountDivergingCommits(context.Context, *CountDivergingCommitsRequest) (*CountDivergingCommitsResponse, error) // GetTreeEntries provides the tree entries for the provided path and revision. This includes // subtrees present under the tree with the option of recursive fetching. GetTreeEntries(*GetTreeEntriesRequest, CommitService_GetTreeEntriesServer) error // ListFiles lists all the files (including files in sub-dirs) present in the working tree // for a given revision. ListFiles(*ListFilesRequest, CommitService_ListFilesServer) error // FindCommit finds a commit for a given commitish. Returns nil if the commit is not found. FindCommit(context.Context, *FindCommitRequest) (*FindCommitResponse, error) // CommitStats provides the stats for a given commitish. CommitStats(context.Context, *CommitStatsRequest) (*CommitStatsResponse, error) // FindAllCommits lists all the commits for the provided revision. FindAllCommits(*FindAllCommitsRequest, CommitService_FindAllCommitsServer) error // FindCommits lists all the commits which are associated with the provided revision // and paths. If no revision is provided, the commits on the default branch of the // repository are listed. FindCommits(*FindCommitsRequest, CommitService_FindCommitsServer) error // CommitLanguages detects the source code languages of the whole tree for a // given commit. Returns an error in case no languages could be detected. CommitLanguages(context.Context, *CommitLanguagesRequest) (*CommitLanguagesResponse, error) // RawBlame blames lines in a blob to when they have last been changed. Returns the raw output of the git-blame(1) // command. RawBlame(*RawBlameRequest, CommitService_RawBlameServer) error // LastCommitForPath returns the last commit that has changed a given path. // // The following special cases apply and have grown historically: // // - Absolute paths that or relative paths that escape the repository root will cause an error. // - A nonexistent path inside the repostiory leads to a successful but empty response. LastCommitForPath(context.Context, *LastCommitForPathRequest) (*LastCommitForPathResponse, error) // ListLastCommitsForTree ... ListLastCommitsForTree(*ListLastCommitsForTreeRequest, CommitService_ListLastCommitsForTreeServer) error // CommitsByMessage ... CommitsByMessage(*CommitsByMessageRequest, CommitService_CommitsByMessageServer) error // ListCommitsByOid ... ListCommitsByOid(*ListCommitsByOidRequest, CommitService_ListCommitsByOidServer) error // ListCommitsByRefName ... ListCommitsByRefName(*ListCommitsByRefNameRequest, CommitService_ListCommitsByRefNameServer) error // FilterShasWithSignatures ... FilterShasWithSignatures(CommitService_FilterShasWithSignaturesServer) error // GetCommitSignatures ... GetCommitSignatures(*GetCommitSignaturesRequest, CommitService_GetCommitSignaturesServer) error // GetCommitMessages ... GetCommitMessages(*GetCommitMessagesRequest, CommitService_GetCommitMessagesServer) error // CheckObjectsExist will check for the existence of revisions against a // repository. It returns two sets of data. An array containing the revisions // fromm the input that it found on the repository, and an array that contains all // revisions from the input it did not find on the repository. CheckObjectsExist(CommitService_CheckObjectsExistServer) error // contains filtered or unexported methods }
CommitServiceServer is the server API for CommitService service. All implementations must embed UnimplementedCommitServiceServer for forward compatibility
type CommitService_CheckObjectsExistClient ¶
type CommitService_CheckObjectsExistClient interface { Send(*CheckObjectsExistRequest) error Recv() (*CheckObjectsExistResponse, error) grpc.ClientStream }
type CommitService_CheckObjectsExistServer ¶
type CommitService_CheckObjectsExistServer interface { Send(*CheckObjectsExistResponse) error Recv() (*CheckObjectsExistRequest, error) grpc.ServerStream }
type CommitService_CommitsByMessageClient ¶
type CommitService_CommitsByMessageClient interface { Recv() (*CommitsByMessageResponse, error) grpc.ClientStream }
type CommitService_CommitsByMessageServer ¶
type CommitService_CommitsByMessageServer interface { Send(*CommitsByMessageResponse) error grpc.ServerStream }
type CommitService_FilterShasWithSignaturesClient ¶
type CommitService_FilterShasWithSignaturesClient interface { Send(*FilterShasWithSignaturesRequest) error Recv() (*FilterShasWithSignaturesResponse, error) grpc.ClientStream }
type CommitService_FilterShasWithSignaturesServer ¶
type CommitService_FilterShasWithSignaturesServer interface { Send(*FilterShasWithSignaturesResponse) error Recv() (*FilterShasWithSignaturesRequest, error) grpc.ServerStream }
type CommitService_FindAllCommitsClient ¶
type CommitService_FindAllCommitsClient interface { Recv() (*FindAllCommitsResponse, error) grpc.ClientStream }
type CommitService_FindAllCommitsServer ¶
type CommitService_FindAllCommitsServer interface { Send(*FindAllCommitsResponse) error grpc.ServerStream }
type CommitService_FindCommitsClient ¶
type CommitService_FindCommitsClient interface { Recv() (*FindCommitsResponse, error) grpc.ClientStream }
type CommitService_FindCommitsServer ¶
type CommitService_FindCommitsServer interface { Send(*FindCommitsResponse) error grpc.ServerStream }
type CommitService_GetCommitMessagesClient ¶
type CommitService_GetCommitMessagesClient interface { Recv() (*GetCommitMessagesResponse, error) grpc.ClientStream }
type CommitService_GetCommitMessagesServer ¶
type CommitService_GetCommitMessagesServer interface { Send(*GetCommitMessagesResponse) error grpc.ServerStream }
type CommitService_GetCommitSignaturesClient ¶
type CommitService_GetCommitSignaturesClient interface { Recv() (*GetCommitSignaturesResponse, error) grpc.ClientStream }
type CommitService_GetCommitSignaturesServer ¶
type CommitService_GetCommitSignaturesServer interface { Send(*GetCommitSignaturesResponse) error grpc.ServerStream }
type CommitService_GetTreeEntriesClient ¶
type CommitService_GetTreeEntriesClient interface { Recv() (*GetTreeEntriesResponse, error) grpc.ClientStream }
type CommitService_GetTreeEntriesServer ¶
type CommitService_GetTreeEntriesServer interface { Send(*GetTreeEntriesResponse) error grpc.ServerStream }
type CommitService_ListAllCommitsClient ¶
type CommitService_ListAllCommitsClient interface { Recv() (*ListAllCommitsResponse, error) grpc.ClientStream }
type CommitService_ListAllCommitsServer ¶
type CommitService_ListAllCommitsServer interface { Send(*ListAllCommitsResponse) error grpc.ServerStream }
type CommitService_ListCommitsByOidClient ¶
type CommitService_ListCommitsByOidClient interface { Recv() (*ListCommitsByOidResponse, error) grpc.ClientStream }
type CommitService_ListCommitsByOidServer ¶
type CommitService_ListCommitsByOidServer interface { Send(*ListCommitsByOidResponse) error grpc.ServerStream }
type CommitService_ListCommitsByRefNameClient ¶
type CommitService_ListCommitsByRefNameClient interface { Recv() (*ListCommitsByRefNameResponse, error) grpc.ClientStream }
type CommitService_ListCommitsByRefNameServer ¶
type CommitService_ListCommitsByRefNameServer interface { Send(*ListCommitsByRefNameResponse) error grpc.ServerStream }
type CommitService_ListCommitsClient ¶
type CommitService_ListCommitsClient interface { Recv() (*ListCommitsResponse, error) grpc.ClientStream }
type CommitService_ListCommitsServer ¶
type CommitService_ListCommitsServer interface { Send(*ListCommitsResponse) error grpc.ServerStream }
type CommitService_ListFilesClient ¶
type CommitService_ListFilesClient interface { Recv() (*ListFilesResponse, error) grpc.ClientStream }
type CommitService_ListFilesServer ¶
type CommitService_ListFilesServer interface { Send(*ListFilesResponse) error grpc.ServerStream }
type CommitService_ListLastCommitsForTreeClient ¶
type CommitService_ListLastCommitsForTreeClient interface { Recv() (*ListLastCommitsForTreeResponse, error) grpc.ClientStream }
type CommitService_ListLastCommitsForTreeServer ¶
type CommitService_ListLastCommitsForTreeServer interface { Send(*ListLastCommitsForTreeResponse) error grpc.ServerStream }
type CommitService_RawBlameClient ¶
type CommitService_RawBlameClient interface { Recv() (*RawBlameResponse, error) grpc.ClientStream }
type CommitService_RawBlameServer ¶
type CommitService_RawBlameServer interface { Send(*RawBlameResponse) error grpc.ServerStream }
type CommitService_TreeEntryClient ¶
type CommitService_TreeEntryClient interface { Recv() (*TreeEntryResponse, error) grpc.ClientStream }
type CommitService_TreeEntryServer ¶
type CommitService_TreeEntryServer interface { Send(*TreeEntryResponse) error grpc.ServerStream }
type CommitStatInfo ¶
type CommitStatInfo struct { // additions is the number of line additions in the commit. Additions int32 `protobuf:"varint,1,opt,name=additions,proto3" json:"additions,omitempty"` // deletions is the number of lines deleted in the commit. Deletions int32 `protobuf:"varint,2,opt,name=deletions,proto3" json:"deletions,omitempty"` // changed_files is the number of files changed in the commit. ChangedFiles int32 `protobuf:"varint,3,opt,name=changed_files,json=changedFiles,proto3" json:"changed_files,omitempty"` // contains filtered or unexported fields }
CommitStatInfo includes the number of changed lines and files in the commit.
func (*CommitStatInfo) Descriptor
deprecated
func (*CommitStatInfo) Descriptor() ([]byte, []int)
Deprecated: Use CommitStatInfo.ProtoReflect.Descriptor instead.
func (*CommitStatInfo) GetAdditions ¶
func (x *CommitStatInfo) GetAdditions() int32
func (*CommitStatInfo) GetChangedFiles ¶
func (x *CommitStatInfo) GetChangedFiles() int32
func (*CommitStatInfo) GetDeletions ¶
func (x *CommitStatInfo) GetDeletions() int32
func (*CommitStatInfo) ProtoMessage ¶
func (*CommitStatInfo) ProtoMessage()
func (*CommitStatInfo) ProtoReflect ¶
func (x *CommitStatInfo) ProtoReflect() protoreflect.Message
func (*CommitStatInfo) Reset ¶
func (x *CommitStatInfo) Reset()
func (*CommitStatInfo) String ¶
func (x *CommitStatInfo) String() string
type CommitStatsRequest ¶
type CommitStatsRequest struct { // repository is the repository in which the commit is present. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revision is a commitish for which we want to get the stats. Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
CommitStatsRequest is the request for the CommitStats RPC.
func (*CommitStatsRequest) Descriptor
deprecated
func (*CommitStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitStatsRequest.ProtoReflect.Descriptor instead.
func (*CommitStatsRequest) GetRepository ¶
func (x *CommitStatsRequest) GetRepository() *Repository
func (*CommitStatsRequest) GetRevision ¶
func (x *CommitStatsRequest) GetRevision() []byte
func (*CommitStatsRequest) ProtoMessage ¶
func (*CommitStatsRequest) ProtoMessage()
func (*CommitStatsRequest) ProtoReflect ¶
func (x *CommitStatsRequest) ProtoReflect() protoreflect.Message
func (*CommitStatsRequest) Reset ¶
func (x *CommitStatsRequest) Reset()
func (*CommitStatsRequest) String ¶
func (x *CommitStatsRequest) String() string
type CommitStatsResponse ¶
type CommitStatsResponse struct { // oid is the commit object ID. It is empty if the commit is not found. Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` // additions refers to the number of lines added in the commit. Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"` // deletions refers to the number of lines deleted in the commit. Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"` // contains filtered or unexported fields }
CommitStatsResponse is the request for the CommitStats RPC.
func (*CommitStatsResponse) Descriptor
deprecated
func (*CommitStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitStatsResponse.ProtoReflect.Descriptor instead.
func (*CommitStatsResponse) GetAdditions ¶
func (x *CommitStatsResponse) GetAdditions() int32
func (*CommitStatsResponse) GetDeletions ¶
func (x *CommitStatsResponse) GetDeletions() int32
func (*CommitStatsResponse) GetOid ¶
func (x *CommitStatsResponse) GetOid() string
func (*CommitStatsResponse) ProtoMessage ¶
func (*CommitStatsResponse) ProtoMessage()
func (*CommitStatsResponse) ProtoReflect ¶
func (x *CommitStatsResponse) ProtoReflect() protoreflect.Message
func (*CommitStatsResponse) Reset ¶
func (x *CommitStatsResponse) Reset()
func (*CommitStatsResponse) String ¶
func (x *CommitStatsResponse) String() string
type CommitTrailer ¶
type CommitTrailer struct { // key is the key of the trailer, such as `Signed-off-by`. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // value is the value of the trailer, such as `Alice <alice@gmail.com>`. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
CommitTrailer is a single Git trailer (https://git-scm.com/docs/git-interpret-trailers) key-value pair.
func (*CommitTrailer) Descriptor
deprecated
func (*CommitTrailer) Descriptor() ([]byte, []int)
Deprecated: Use CommitTrailer.ProtoReflect.Descriptor instead.
func (*CommitTrailer) GetKey ¶
func (x *CommitTrailer) GetKey() []byte
func (*CommitTrailer) GetValue ¶
func (x *CommitTrailer) GetValue() []byte
func (*CommitTrailer) ProtoMessage ¶
func (*CommitTrailer) ProtoMessage()
func (*CommitTrailer) ProtoReflect ¶
func (x *CommitTrailer) ProtoReflect() protoreflect.Message
func (*CommitTrailer) Reset ¶
func (x *CommitTrailer) Reset()
func (*CommitTrailer) String ¶
func (x *CommitTrailer) String() string
type CommitsByMessageRequest ¶
type CommitsByMessageRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revision ... Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // offset ... Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` // limit ... Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // path ... Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` // query ... Query string `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"` // global_options ... GlobalOptions *GlobalOptions `protobuf:"bytes,7,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` // contains filtered or unexported fields }
CommitsByMessageRequest ...
func (*CommitsByMessageRequest) Descriptor
deprecated
func (*CommitsByMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitsByMessageRequest.ProtoReflect.Descriptor instead.
func (*CommitsByMessageRequest) GetGlobalOptions ¶
func (x *CommitsByMessageRequest) GetGlobalOptions() *GlobalOptions
func (*CommitsByMessageRequest) GetLimit ¶
func (x *CommitsByMessageRequest) GetLimit() int32
func (*CommitsByMessageRequest) GetOffset ¶
func (x *CommitsByMessageRequest) GetOffset() int32
func (*CommitsByMessageRequest) GetPath ¶
func (x *CommitsByMessageRequest) GetPath() []byte
func (*CommitsByMessageRequest) GetQuery ¶
func (x *CommitsByMessageRequest) GetQuery() string
func (*CommitsByMessageRequest) GetRepository ¶
func (x *CommitsByMessageRequest) GetRepository() *Repository
func (*CommitsByMessageRequest) GetRevision ¶
func (x *CommitsByMessageRequest) GetRevision() []byte
func (*CommitsByMessageRequest) ProtoMessage ¶
func (*CommitsByMessageRequest) ProtoMessage()
func (*CommitsByMessageRequest) ProtoReflect ¶
func (x *CommitsByMessageRequest) ProtoReflect() protoreflect.Message
func (*CommitsByMessageRequest) Reset ¶
func (x *CommitsByMessageRequest) Reset()
func (*CommitsByMessageRequest) String ¶
func (x *CommitsByMessageRequest) String() string
type CommitsByMessageResponse ¶
type CommitsByMessageResponse struct { // commits ... Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` // contains filtered or unexported fields }
CommitsByMessageResponse is the response for the CommitsByMessage RPC. One 'page' of the paginated response of CommitsByMessage
func (*CommitsByMessageResponse) Descriptor
deprecated
func (*CommitsByMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitsByMessageResponse.ProtoReflect.Descriptor instead.
func (*CommitsByMessageResponse) GetCommits ¶
func (x *CommitsByMessageResponse) GetCommits() []*GitCommit
func (*CommitsByMessageResponse) ProtoMessage ¶
func (*CommitsByMessageResponse) ProtoMessage()
func (*CommitsByMessageResponse) ProtoReflect ¶
func (x *CommitsByMessageResponse) ProtoReflect() protoreflect.Message
func (*CommitsByMessageResponse) Reset ¶
func (x *CommitsByMessageResponse) Reset()
func (*CommitsByMessageResponse) String ¶
func (x *CommitsByMessageResponse) String() string
type ConflictFile ¶
type ConflictFile struct { // Types that are assignable to ConflictFilePayload: // // *ConflictFile_Header // *ConflictFile_Content ConflictFilePayload isConflictFile_ConflictFilePayload `protobuf_oneof:"conflict_file_payload"` // contains filtered or unexported fields }
ConflictFile ...
func (*ConflictFile) Descriptor
deprecated
func (*ConflictFile) Descriptor() ([]byte, []int)
Deprecated: Use ConflictFile.ProtoReflect.Descriptor instead.
func (*ConflictFile) GetConflictFilePayload ¶
func (m *ConflictFile) GetConflictFilePayload() isConflictFile_ConflictFilePayload
func (*ConflictFile) GetContent ¶
func (x *ConflictFile) GetContent() []byte
func (*ConflictFile) GetHeader ¶
func (x *ConflictFile) GetHeader() *ConflictFileHeader
func (*ConflictFile) ProtoMessage ¶
func (*ConflictFile) ProtoMessage()
func (*ConflictFile) ProtoReflect ¶
func (x *ConflictFile) ProtoReflect() protoreflect.Message
func (*ConflictFile) Reset ¶
func (x *ConflictFile) Reset()
func (*ConflictFile) String ¶
func (x *ConflictFile) String() string
type ConflictFileHeader ¶
type ConflictFileHeader struct { // commit_oid ... CommitOid string `protobuf:"bytes,2,opt,name=commit_oid,json=commitOid,proto3" json:"commit_oid,omitempty"` // their_path ... TheirPath []byte `protobuf:"bytes,3,opt,name=their_path,json=theirPath,proto3" json:"their_path,omitempty"` // our_path ... OurPath []byte `protobuf:"bytes,4,opt,name=our_path,json=ourPath,proto3" json:"our_path,omitempty"` // our_mode ... OurMode int32 `protobuf:"varint,5,opt,name=our_mode,json=ourMode,proto3" json:"our_mode,omitempty"` // ancestor_path ... AncestorPath []byte `protobuf:"bytes,6,opt,name=ancestor_path,json=ancestorPath,proto3" json:"ancestor_path,omitempty"` // contains filtered or unexported fields }
ConflictFileHeader ...
func (*ConflictFileHeader) Descriptor
deprecated
func (*ConflictFileHeader) Descriptor() ([]byte, []int)
Deprecated: Use ConflictFileHeader.ProtoReflect.Descriptor instead.
func (*ConflictFileHeader) GetAncestorPath ¶
func (x *ConflictFileHeader) GetAncestorPath() []byte
func (*ConflictFileHeader) GetCommitOid ¶
func (x *ConflictFileHeader) GetCommitOid() string
func (*ConflictFileHeader) GetOurMode ¶
func (x *ConflictFileHeader) GetOurMode() int32
func (*ConflictFileHeader) GetOurPath ¶
func (x *ConflictFileHeader) GetOurPath() []byte
func (*ConflictFileHeader) GetTheirPath ¶
func (x *ConflictFileHeader) GetTheirPath() []byte
func (*ConflictFileHeader) ProtoMessage ¶
func (*ConflictFileHeader) ProtoMessage()
func (*ConflictFileHeader) ProtoReflect ¶
func (x *ConflictFileHeader) ProtoReflect() protoreflect.Message
func (*ConflictFileHeader) Reset ¶
func (x *ConflictFileHeader) Reset()
func (*ConflictFileHeader) String ¶
func (x *ConflictFileHeader) String() string
type ConflictFile_Content ¶
type ConflictFile_Content struct { // content ... Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"` }
type ConflictFile_Header ¶
type ConflictFile_Header struct { // header ... Header *ConflictFileHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` }
type ConflictsServiceClient ¶
type ConflictsServiceClient interface { // ListConflictFiles returns all conflicting files which result from a merge // of two specified commit objects. ListConflictFiles(ctx context.Context, in *ListConflictFilesRequest, opts ...grpc.CallOption) (ConflictsService_ListConflictFilesClient, error) // ResolveConflicts tries to resolve a conflicting merge with a set of // user-provided merge resolutions. If resolving the conflict succeeds, the // result will be a new merge commit. ResolveConflicts(ctx context.Context, opts ...grpc.CallOption) (ConflictsService_ResolveConflictsClient, error) }
ConflictsServiceClient is the client API for ConflictsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewConflictsServiceClient ¶
func NewConflictsServiceClient(cc grpc.ClientConnInterface) ConflictsServiceClient
type ConflictsServiceServer ¶
type ConflictsServiceServer interface { // ListConflictFiles returns all conflicting files which result from a merge // of two specified commit objects. ListConflictFiles(*ListConflictFilesRequest, ConflictsService_ListConflictFilesServer) error // ResolveConflicts tries to resolve a conflicting merge with a set of // user-provided merge resolutions. If resolving the conflict succeeds, the // result will be a new merge commit. ResolveConflicts(ConflictsService_ResolveConflictsServer) error // contains filtered or unexported methods }
ConflictsServiceServer is the server API for ConflictsService service. All implementations must embed UnimplementedConflictsServiceServer for forward compatibility
type ConflictsService_ListConflictFilesClient ¶
type ConflictsService_ListConflictFilesClient interface { Recv() (*ListConflictFilesResponse, error) grpc.ClientStream }
type ConflictsService_ListConflictFilesServer ¶
type ConflictsService_ListConflictFilesServer interface { Send(*ListConflictFilesResponse) error grpc.ServerStream }
type ConflictsService_ResolveConflictsClient ¶
type ConflictsService_ResolveConflictsClient interface { Send(*ResolveConflictsRequest) error CloseAndRecv() (*ResolveConflictsResponse, error) grpc.ClientStream }
type ConflictsService_ResolveConflictsServer ¶
type ConflictsService_ResolveConflictsServer interface { SendAndClose(*ResolveConflictsResponse) error Recv() (*ResolveConflictsRequest, error) grpc.ServerStream }
type CountCommitsRequest ¶
type CountCommitsRequest struct { // repository is the repository in which we want to count the number of commits. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revision is a commitish which is the start point for the traversal of commits. Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // after is used to filter commits more recent than a specific date. After *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=after,proto3" json:"after,omitempty"` // before is used to filter commits older than a specific date. Before *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=before,proto3" json:"before,omitempty"` // path is used to filter commits which modify the provided path. Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` // max_count is used to cap the number of commits. MaxCount int32 `protobuf:"varint,6,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` // all is used to consider all refs (including HEAD) as the start point for the traversal. // all and Revision options are mutually exclusive. All bool `protobuf:"varint,7,opt,name=all,proto3" json:"all,omitempty"` // first_parent ensures that only the first parent commit is followed in the traversal. FirstParent bool `protobuf:"varint,8,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"` // global_options contains the global options used to modify the behaviour of Git. GlobalOptions *GlobalOptions `protobuf:"bytes,9,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` // contains filtered or unexported fields }
CountCommitsRequest is the request for the CountCommits RPC.
func (*CountCommitsRequest) Descriptor
deprecated
func (*CountCommitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountCommitsRequest.ProtoReflect.Descriptor instead.
func (*CountCommitsRequest) GetAfter ¶
func (x *CountCommitsRequest) GetAfter() *timestamppb.Timestamp
func (*CountCommitsRequest) GetAll ¶
func (x *CountCommitsRequest) GetAll() bool
func (*CountCommitsRequest) GetBefore ¶
func (x *CountCommitsRequest) GetBefore() *timestamppb.Timestamp
func (*CountCommitsRequest) GetFirstParent ¶
func (x *CountCommitsRequest) GetFirstParent() bool
func (*CountCommitsRequest) GetGlobalOptions ¶
func (x *CountCommitsRequest) GetGlobalOptions() *GlobalOptions
func (*CountCommitsRequest) GetMaxCount ¶
func (x *CountCommitsRequest) GetMaxCount() int32
func (*CountCommitsRequest) GetPath ¶
func (x *CountCommitsRequest) GetPath() []byte
func (*CountCommitsRequest) GetRepository ¶
func (x *CountCommitsRequest) GetRepository() *Repository
func (*CountCommitsRequest) GetRevision ¶
func (x *CountCommitsRequest) GetRevision() []byte
func (*CountCommitsRequest) ProtoMessage ¶
func (*CountCommitsRequest) ProtoMessage()
func (*CountCommitsRequest) ProtoReflect ¶
func (x *CountCommitsRequest) ProtoReflect() protoreflect.Message
func (*CountCommitsRequest) Reset ¶
func (x *CountCommitsRequest) Reset()
func (*CountCommitsRequest) String ¶
func (x *CountCommitsRequest) String() string
type CountCommitsResponse ¶
type CountCommitsResponse struct { // count denotes the number of commits found as per the given filters. Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
CountCommitsResponse is the response for the CountCommits RPC.
func (*CountCommitsResponse) Descriptor
deprecated
func (*CountCommitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountCommitsResponse.ProtoReflect.Descriptor instead.
func (*CountCommitsResponse) GetCount ¶
func (x *CountCommitsResponse) GetCount() int32
func (*CountCommitsResponse) ProtoMessage ¶
func (*CountCommitsResponse) ProtoMessage()
func (*CountCommitsResponse) ProtoReflect ¶
func (x *CountCommitsResponse) ProtoReflect() protoreflect.Message
func (*CountCommitsResponse) Reset ¶
func (x *CountCommitsResponse) Reset()
func (*CountCommitsResponse) String ¶
func (x *CountCommitsResponse) String() string
type CountDivergingCommitsRequest ¶
type CountDivergingCommitsRequest struct { // repository is the repository in which we want to find the number of diverging commits. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // from is the object ID of one of the commits against which we want to check the // number of diverging commits. The From and To fields are interchangeable. From []byte `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // to is the object ID of one of the commits against which we want to check the // number of diverging commits. The To and From fields are interchangeable. To []byte `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` // max_count denotes the cap for the number of diverging commits to be reported. MaxCount int32 `protobuf:"varint,7,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` // contains filtered or unexported fields }
CountDivergingCommitsRequest is the request for the CountDivergingCommits RPC.
func (*CountDivergingCommitsRequest) Descriptor
deprecated
func (*CountDivergingCommitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountDivergingCommitsRequest.ProtoReflect.Descriptor instead.
func (*CountDivergingCommitsRequest) GetFrom ¶
func (x *CountDivergingCommitsRequest) GetFrom() []byte
func (*CountDivergingCommitsRequest) GetMaxCount ¶
func (x *CountDivergingCommitsRequest) GetMaxCount() int32
func (*CountDivergingCommitsRequest) GetRepository ¶
func (x *CountDivergingCommitsRequest) GetRepository() *Repository
func (*CountDivergingCommitsRequest) GetTo ¶
func (x *CountDivergingCommitsRequest) GetTo() []byte
func (*CountDivergingCommitsRequest) ProtoMessage ¶
func (*CountDivergingCommitsRequest) ProtoMessage()
func (*CountDivergingCommitsRequest) ProtoReflect ¶
func (x *CountDivergingCommitsRequest) ProtoReflect() protoreflect.Message
func (*CountDivergingCommitsRequest) Reset ¶
func (x *CountDivergingCommitsRequest) Reset()
func (*CountDivergingCommitsRequest) String ¶
func (x *CountDivergingCommitsRequest) String() string
type CountDivergingCommitsResponse ¶
type CountDivergingCommitsResponse struct { // left_count denotes the number of diverging commits present in the 'From' commit provided. LeftCount int32 `protobuf:"varint,1,opt,name=left_count,json=leftCount,proto3" json:"left_count,omitempty"` // right_count denotes the number of diverging commits present in the 'To' commit provided. RightCount int32 `protobuf:"varint,2,opt,name=right_count,json=rightCount,proto3" json:"right_count,omitempty"` // contains filtered or unexported fields }
CountDivergingCommitsResponse is the response for the CountDivergingCommits RPC.
func (*CountDivergingCommitsResponse) Descriptor
deprecated
func (*CountDivergingCommitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountDivergingCommitsResponse.ProtoReflect.Descriptor instead.
func (*CountDivergingCommitsResponse) GetLeftCount ¶
func (x *CountDivergingCommitsResponse) GetLeftCount() int32
func (*CountDivergingCommitsResponse) GetRightCount ¶
func (x *CountDivergingCommitsResponse) GetRightCount() int32
func (*CountDivergingCommitsResponse) ProtoMessage ¶
func (*CountDivergingCommitsResponse) ProtoMessage()
func (*CountDivergingCommitsResponse) ProtoReflect ¶
func (x *CountDivergingCommitsResponse) ProtoReflect() protoreflect.Message
func (*CountDivergingCommitsResponse) Reset ¶
func (x *CountDivergingCommitsResponse) Reset()
func (*CountDivergingCommitsResponse) String ¶
func (x *CountDivergingCommitsResponse) String() string
type CreateBranchRequest ¶
type CreateBranchRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // name ... Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // start_point ... StartPoint []byte `protobuf:"bytes,3,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"` // contains filtered or unexported fields }
CreateBranchRequest ...
func (*CreateBranchRequest) Descriptor
deprecated
func (*CreateBranchRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBranchRequest.ProtoReflect.Descriptor instead.
func (*CreateBranchRequest) GetName ¶
func (x *CreateBranchRequest) GetName() []byte
func (*CreateBranchRequest) GetRepository ¶
func (x *CreateBranchRequest) GetRepository() *Repository
func (*CreateBranchRequest) GetStartPoint ¶
func (x *CreateBranchRequest) GetStartPoint() []byte
func (*CreateBranchRequest) ProtoMessage ¶
func (*CreateBranchRequest) ProtoMessage()
func (*CreateBranchRequest) ProtoReflect ¶
func (x *CreateBranchRequest) ProtoReflect() protoreflect.Message
func (*CreateBranchRequest) Reset ¶
func (x *CreateBranchRequest) Reset()
func (*CreateBranchRequest) String ¶
func (x *CreateBranchRequest) String() string
type CreateBranchResponse ¶
type CreateBranchResponse struct { // status ... Status CreateBranchResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=gitaly.CreateBranchResponse_Status" json:"status,omitempty"` // branch ... Branch *Branch `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` // contains filtered or unexported fields }
CreateBranchResponse ...
func (*CreateBranchResponse) Descriptor
deprecated
func (*CreateBranchResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBranchResponse.ProtoReflect.Descriptor instead.
func (*CreateBranchResponse) GetBranch ¶
func (x *CreateBranchResponse) GetBranch() *Branch
func (*CreateBranchResponse) GetStatus ¶
func (x *CreateBranchResponse) GetStatus() CreateBranchResponse_Status
func (*CreateBranchResponse) ProtoMessage ¶
func (*CreateBranchResponse) ProtoMessage()
func (*CreateBranchResponse) ProtoReflect ¶
func (x *CreateBranchResponse) ProtoReflect() protoreflect.Message
func (*CreateBranchResponse) Reset ¶
func (x *CreateBranchResponse) Reset()
func (*CreateBranchResponse) String ¶
func (x *CreateBranchResponse) String() string
type CreateBranchResponse_Status ¶
type CreateBranchResponse_Status int32
Status ...
const ( // OK ... CreateBranchResponse_OK CreateBranchResponse_Status = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // ERR_EXISTS ... CreateBranchResponse_ERR_EXISTS CreateBranchResponse_Status = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // ERR_INVALID ... CreateBranchResponse_ERR_INVALID CreateBranchResponse_Status = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // ERR_INVALID_START_POINT ... CreateBranchResponse_ERR_INVALID_START_POINT CreateBranchResponse_Status = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (CreateBranchResponse_Status) Descriptor ¶
func (CreateBranchResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (CreateBranchResponse_Status) Enum ¶
func (x CreateBranchResponse_Status) Enum() *CreateBranchResponse_Status
func (CreateBranchResponse_Status) EnumDescriptor
deprecated
func (CreateBranchResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use CreateBranchResponse_Status.Descriptor instead.
func (CreateBranchResponse_Status) Number ¶
func (x CreateBranchResponse_Status) Number() protoreflect.EnumNumber
func (CreateBranchResponse_Status) String ¶
func (x CreateBranchResponse_Status) String() string
func (CreateBranchResponse_Status) Type ¶
func (CreateBranchResponse_Status) Type() protoreflect.EnumType
type CreateBundleFromRefListRequest ¶
type CreateBundleFromRefListRequest struct { // repository is the repository that the bundle is created from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // patterns contains all patterns which shall be bundled. Patterns should be // in the format accepted by git-rev-list(1). Patterns which don't match any // reference will be silently ignored. Patterns [][]byte `protobuf:"bytes,2,rep,name=patterns,proto3" json:"patterns,omitempty"` // contains filtered or unexported fields }
CreateBundleFromRefListRequest ...
func (*CreateBundleFromRefListRequest) Descriptor
deprecated
func (*CreateBundleFromRefListRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBundleFromRefListRequest.ProtoReflect.Descriptor instead.
func (*CreateBundleFromRefListRequest) GetPatterns ¶
func (x *CreateBundleFromRefListRequest) GetPatterns() [][]byte
func (*CreateBundleFromRefListRequest) GetRepository ¶
func (x *CreateBundleFromRefListRequest) GetRepository() *Repository
func (*CreateBundleFromRefListRequest) ProtoMessage ¶
func (*CreateBundleFromRefListRequest) ProtoMessage()
func (*CreateBundleFromRefListRequest) ProtoReflect ¶
func (x *CreateBundleFromRefListRequest) ProtoReflect() protoreflect.Message
func (*CreateBundleFromRefListRequest) Reset ¶
func (x *CreateBundleFromRefListRequest) Reset()
func (*CreateBundleFromRefListRequest) String ¶
func (x *CreateBundleFromRefListRequest) String() string
type CreateBundleFromRefListResponse ¶
type CreateBundleFromRefListResponse struct { // data ... Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
CreateBundleFromRefListResponse ...
func (*CreateBundleFromRefListResponse) Descriptor
deprecated
func (*CreateBundleFromRefListResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBundleFromRefListResponse.ProtoReflect.Descriptor instead.
func (*CreateBundleFromRefListResponse) GetData ¶
func (x *CreateBundleFromRefListResponse) GetData() []byte
func (*CreateBundleFromRefListResponse) ProtoMessage ¶
func (*CreateBundleFromRefListResponse) ProtoMessage()
func (*CreateBundleFromRefListResponse) ProtoReflect ¶
func (x *CreateBundleFromRefListResponse) ProtoReflect() protoreflect.Message
func (*CreateBundleFromRefListResponse) Reset ¶
func (x *CreateBundleFromRefListResponse) Reset()
func (*CreateBundleFromRefListResponse) String ¶
func (x *CreateBundleFromRefListResponse) String() string
type CreateBundleRequest ¶
type CreateBundleRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
CreateBundleRequest ...
func (*CreateBundleRequest) Descriptor
deprecated
func (*CreateBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBundleRequest.ProtoReflect.Descriptor instead.
func (*CreateBundleRequest) GetRepository ¶
func (x *CreateBundleRequest) GetRepository() *Repository
func (*CreateBundleRequest) ProtoMessage ¶
func (*CreateBundleRequest) ProtoMessage()
func (*CreateBundleRequest) ProtoReflect ¶
func (x *CreateBundleRequest) ProtoReflect() protoreflect.Message
func (*CreateBundleRequest) Reset ¶
func (x *CreateBundleRequest) Reset()
func (*CreateBundleRequest) String ¶
func (x *CreateBundleRequest) String() string
type CreateBundleResponse ¶
type CreateBundleResponse struct { // data ... Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
CreateBundleResponse ...
func (*CreateBundleResponse) Descriptor
deprecated
func (*CreateBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBundleResponse.ProtoReflect.Descriptor instead.
func (*CreateBundleResponse) GetData ¶
func (x *CreateBundleResponse) GetData() []byte
func (*CreateBundleResponse) ProtoMessage ¶
func (*CreateBundleResponse) ProtoMessage()
func (*CreateBundleResponse) ProtoReflect ¶
func (x *CreateBundleResponse) ProtoReflect() protoreflect.Message
func (*CreateBundleResponse) Reset ¶
func (x *CreateBundleResponse) Reset()
func (*CreateBundleResponse) String ¶
func (x *CreateBundleResponse) String() string
type CreateForkRequest ¶
type CreateForkRequest struct { // repository is the repository that shall be created. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // source_repository is the repository that shall be forked. // // Note that the source repository is intentionally not marked as an additional repository that is // to be rewritten by Praefect. This is because Gitaly will use the source repository to perform a // gRPC call, which must use the original non-rewritten repository. SourceRepository *Repository `protobuf:"bytes,2,opt,name=source_repository,json=sourceRepository,proto3" json:"source_repository,omitempty"` // revision to create the fork from. If set, the resulting fork will only have a single branch // that matches the upstream revision. This revision will be the default branch of the repository. // This field should be set to the unqualified revision, not the full reference name. Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
CreateForkRequest is a request for the CreateFork RPC.
func (*CreateForkRequest) Descriptor
deprecated
func (*CreateForkRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateForkRequest.ProtoReflect.Descriptor instead.
func (*CreateForkRequest) GetRepository ¶
func (x *CreateForkRequest) GetRepository() *Repository
func (*CreateForkRequest) GetRevision ¶ added in v16.4.0
func (x *CreateForkRequest) GetRevision() []byte
func (*CreateForkRequest) GetSourceRepository ¶
func (x *CreateForkRequest) GetSourceRepository() *Repository
func (*CreateForkRequest) ProtoMessage ¶
func (*CreateForkRequest) ProtoMessage()
func (*CreateForkRequest) ProtoReflect ¶
func (x *CreateForkRequest) ProtoReflect() protoreflect.Message
func (*CreateForkRequest) Reset ¶
func (x *CreateForkRequest) Reset()
func (*CreateForkRequest) String ¶
func (x *CreateForkRequest) String() string
type CreateForkResponse ¶
type CreateForkResponse struct {
// contains filtered or unexported fields
}
CreateForkResponse is a response for the CreateFork RPC.
func (*CreateForkResponse) Descriptor
deprecated
func (*CreateForkResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateForkResponse.ProtoReflect.Descriptor instead.
func (*CreateForkResponse) ProtoMessage ¶
func (*CreateForkResponse) ProtoMessage()
func (*CreateForkResponse) ProtoReflect ¶
func (x *CreateForkResponse) ProtoReflect() protoreflect.Message
func (*CreateForkResponse) Reset ¶
func (x *CreateForkResponse) Reset()
func (*CreateForkResponse) String ¶
func (x *CreateForkResponse) String() string
type CreateObjectPoolRequest ¶
type CreateObjectPoolRequest struct { // object_pool is the object pool to create. This field controls where exactly the object pool will // be created. ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` // origin is the repository from which the object pool shall be created. Origin *Repository `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
CreateObjectPoolRequest is a request for the CreateObjectPool RPC.
func (*CreateObjectPoolRequest) Descriptor
deprecated
func (*CreateObjectPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateObjectPoolRequest.ProtoReflect.Descriptor instead.
func (*CreateObjectPoolRequest) GetObjectPool ¶
func (x *CreateObjectPoolRequest) GetObjectPool() *ObjectPool
func (*CreateObjectPoolRequest) GetOrigin ¶
func (x *CreateObjectPoolRequest) GetOrigin() *Repository
func (*CreateObjectPoolRequest) ProtoMessage ¶
func (*CreateObjectPoolRequest) ProtoMessage()
func (*CreateObjectPoolRequest) ProtoReflect ¶
func (x *CreateObjectPoolRequest) ProtoReflect() protoreflect.Message
func (*CreateObjectPoolRequest) Reset ¶
func (x *CreateObjectPoolRequest) Reset()
func (*CreateObjectPoolRequest) String ¶
func (x *CreateObjectPoolRequest) String() string
type CreateObjectPoolResponse ¶
type CreateObjectPoolResponse struct {
// contains filtered or unexported fields
}
CreateObjectPoolResponse is a response for the CreateObjectPool RPC.
func (*CreateObjectPoolResponse) Descriptor
deprecated
func (*CreateObjectPoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateObjectPoolResponse.ProtoReflect.Descriptor instead.
func (*CreateObjectPoolResponse) ProtoMessage ¶
func (*CreateObjectPoolResponse) ProtoMessage()
func (*CreateObjectPoolResponse) ProtoReflect ¶
func (x *CreateObjectPoolResponse) ProtoReflect() protoreflect.Message
func (*CreateObjectPoolResponse) Reset ¶
func (x *CreateObjectPoolResponse) Reset()
func (*CreateObjectPoolResponse) String ¶
func (x *CreateObjectPoolResponse) String() string
type CreateRepositoryFromBundleRequest ¶
type CreateRepositoryFromBundleRequest struct { // repository is the repository to be created from the Git bundle. Repository should only be // present in the first message of the stream. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // data contains bytes of the Git bundle file being streamed. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
CreateRepositoryFromBundleRequest is a request for the CreateRepositoryFromBundle RPC.
func (*CreateRepositoryFromBundleRequest) Descriptor
deprecated
func (*CreateRepositoryFromBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryFromBundleRequest.ProtoReflect.Descriptor instead.
func (*CreateRepositoryFromBundleRequest) GetData ¶
func (x *CreateRepositoryFromBundleRequest) GetData() []byte
func (*CreateRepositoryFromBundleRequest) GetRepository ¶
func (x *CreateRepositoryFromBundleRequest) GetRepository() *Repository
func (*CreateRepositoryFromBundleRequest) ProtoMessage ¶
func (*CreateRepositoryFromBundleRequest) ProtoMessage()
func (*CreateRepositoryFromBundleRequest) ProtoReflect ¶
func (x *CreateRepositoryFromBundleRequest) ProtoReflect() protoreflect.Message
func (*CreateRepositoryFromBundleRequest) Reset ¶
func (x *CreateRepositoryFromBundleRequest) Reset()
func (*CreateRepositoryFromBundleRequest) String ¶
func (x *CreateRepositoryFromBundleRequest) String() string
type CreateRepositoryFromBundleResponse ¶
type CreateRepositoryFromBundleResponse struct {
// contains filtered or unexported fields
}
CreateRepositoryFromBundleResponse is a response for the CreateRepositoryFromBundle RPC.
func (*CreateRepositoryFromBundleResponse) Descriptor
deprecated
func (*CreateRepositoryFromBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryFromBundleResponse.ProtoReflect.Descriptor instead.
func (*CreateRepositoryFromBundleResponse) ProtoMessage ¶
func (*CreateRepositoryFromBundleResponse) ProtoMessage()
func (*CreateRepositoryFromBundleResponse) ProtoReflect ¶
func (x *CreateRepositoryFromBundleResponse) ProtoReflect() protoreflect.Message
func (*CreateRepositoryFromBundleResponse) Reset ¶
func (x *CreateRepositoryFromBundleResponse) Reset()
func (*CreateRepositoryFromBundleResponse) String ¶
func (x *CreateRepositoryFromBundleResponse) String() string
type CreateRepositoryFromSnapshotRequest ¶
type CreateRepositoryFromSnapshotRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // http_url ... HttpUrl string `protobuf:"bytes,2,opt,name=http_url,json=httpUrl,proto3" json:"http_url,omitempty"` // http_auth ... HttpAuth string `protobuf:"bytes,3,opt,name=http_auth,json=httpAuth,proto3" json:"http_auth,omitempty"` // resolved_address holds the resolved IP address of the remote_url. This is // used to avoid DNS rebinding by mapping the url to the resolved address. // Only IPv4 dotted decimal ("192.0.2.1"), IPv6 ("2001:db8::68"), or IPv4-mapped // IPv6 ("::ffff:192.0.2.1") forms are supported. // Works with HTTP/HTTPS protocols. // Optional. ResolvedAddress string `protobuf:"bytes,5,opt,name=resolved_address,json=resolvedAddress,proto3" json:"resolved_address,omitempty"` // contains filtered or unexported fields }
CreateRepositoryFromSnapshotRequest ...
func (*CreateRepositoryFromSnapshotRequest) Descriptor
deprecated
func (*CreateRepositoryFromSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryFromSnapshotRequest.ProtoReflect.Descriptor instead.
func (*CreateRepositoryFromSnapshotRequest) GetHttpAuth ¶
func (x *CreateRepositoryFromSnapshotRequest) GetHttpAuth() string
func (*CreateRepositoryFromSnapshotRequest) GetHttpUrl ¶
func (x *CreateRepositoryFromSnapshotRequest) GetHttpUrl() string
func (*CreateRepositoryFromSnapshotRequest) GetRepository ¶
func (x *CreateRepositoryFromSnapshotRequest) GetRepository() *Repository
func (*CreateRepositoryFromSnapshotRequest) GetResolvedAddress ¶
func (x *CreateRepositoryFromSnapshotRequest) GetResolvedAddress() string
func (*CreateRepositoryFromSnapshotRequest) ProtoMessage ¶
func (*CreateRepositoryFromSnapshotRequest) ProtoMessage()
func (*CreateRepositoryFromSnapshotRequest) ProtoReflect ¶
func (x *CreateRepositoryFromSnapshotRequest) ProtoReflect() protoreflect.Message
func (*CreateRepositoryFromSnapshotRequest) Reset ¶
func (x *CreateRepositoryFromSnapshotRequest) Reset()
func (*CreateRepositoryFromSnapshotRequest) String ¶
func (x *CreateRepositoryFromSnapshotRequest) String() string
type CreateRepositoryFromSnapshotResponse ¶
type CreateRepositoryFromSnapshotResponse struct {
// contains filtered or unexported fields
}
CreateRepositoryFromSnapshotResponse ...
func (*CreateRepositoryFromSnapshotResponse) Descriptor
deprecated
func (*CreateRepositoryFromSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryFromSnapshotResponse.ProtoReflect.Descriptor instead.
func (*CreateRepositoryFromSnapshotResponse) ProtoMessage ¶
func (*CreateRepositoryFromSnapshotResponse) ProtoMessage()
func (*CreateRepositoryFromSnapshotResponse) ProtoReflect ¶
func (x *CreateRepositoryFromSnapshotResponse) ProtoReflect() protoreflect.Message
func (*CreateRepositoryFromSnapshotResponse) Reset ¶
func (x *CreateRepositoryFromSnapshotResponse) Reset()
func (*CreateRepositoryFromSnapshotResponse) String ¶
func (x *CreateRepositoryFromSnapshotResponse) String() string
type CreateRepositoryFromURLRequest ¶
type CreateRepositoryFromURLRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // url ... Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // http_authorization_header is the HTTP header which can be added to // the request in order to authenticate against the repository. HttpAuthorizationHeader string `` /* 132-byte string literal not displayed */ // mirror defines whether to clone with `--mirror` flag or `--bare`. The default // value `false` will cause us to use `--bare`, which results in a clone that // contains only branches (`refs/heads/`) and tags (`refs/tags/`) of the remote // repository. If set to `true`, create a complete mirror-clone which maps all // remote references into the local repository. Mirror bool `protobuf:"varint,5,opt,name=mirror,proto3" json:"mirror,omitempty"` // resolved_address holds the resolved IP address of the remote_url. This is // used to avoid DNS rebinding by mapping the url to the resolved address. // Only IPv4 dotted decimal ("192.0.2.1"), IPv6 ("2001:db8::68"), or IPv4-mapped // IPv6 ("::ffff:192.0.2.1") forms are supported. // Works with HTTP/HTTPS/Git/SSH protocols. // Optional. ResolvedAddress string `protobuf:"bytes,6,opt,name=resolved_address,json=resolvedAddress,proto3" json:"resolved_address,omitempty"` // contains filtered or unexported fields }
CreateRepositoryFromURLRequest ...
func (*CreateRepositoryFromURLRequest) Descriptor
deprecated
func (*CreateRepositoryFromURLRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryFromURLRequest.ProtoReflect.Descriptor instead.
func (*CreateRepositoryFromURLRequest) GetHttpAuthorizationHeader ¶
func (x *CreateRepositoryFromURLRequest) GetHttpAuthorizationHeader() string
func (*CreateRepositoryFromURLRequest) GetMirror ¶
func (x *CreateRepositoryFromURLRequest) GetMirror() bool
func (*CreateRepositoryFromURLRequest) GetRepository ¶
func (x *CreateRepositoryFromURLRequest) GetRepository() *Repository
func (*CreateRepositoryFromURLRequest) GetResolvedAddress ¶
func (x *CreateRepositoryFromURLRequest) GetResolvedAddress() string
func (*CreateRepositoryFromURLRequest) GetUrl ¶
func (x *CreateRepositoryFromURLRequest) GetUrl() string
func (*CreateRepositoryFromURLRequest) ProtoMessage ¶
func (*CreateRepositoryFromURLRequest) ProtoMessage()
func (*CreateRepositoryFromURLRequest) ProtoReflect ¶
func (x *CreateRepositoryFromURLRequest) ProtoReflect() protoreflect.Message
func (*CreateRepositoryFromURLRequest) Reset ¶
func (x *CreateRepositoryFromURLRequest) Reset()
func (*CreateRepositoryFromURLRequest) String ¶
func (x *CreateRepositoryFromURLRequest) String() string
type CreateRepositoryFromURLResponse ¶
type CreateRepositoryFromURLResponse struct {
// contains filtered or unexported fields
}
CreateRepositoryFromURLResponse ...
func (*CreateRepositoryFromURLResponse) Descriptor
deprecated
func (*CreateRepositoryFromURLResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryFromURLResponse.ProtoReflect.Descriptor instead.
func (*CreateRepositoryFromURLResponse) ProtoMessage ¶
func (*CreateRepositoryFromURLResponse) ProtoMessage()
func (*CreateRepositoryFromURLResponse) ProtoReflect ¶
func (x *CreateRepositoryFromURLResponse) ProtoReflect() protoreflect.Message
func (*CreateRepositoryFromURLResponse) Reset ¶
func (x *CreateRepositoryFromURLResponse) Reset()
func (*CreateRepositoryFromURLResponse) String ¶
func (x *CreateRepositoryFromURLResponse) String() string
type CreateRepositoryRequest ¶
type CreateRepositoryRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // default_branch is the branch name to set as the default branch of the newly created // repository. Note, this will be treated as the branch name and not a // fully qualified reference. DefaultBranch []byte `protobuf:"bytes,2,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"` // object_format is the object format the repository should be created with. Note that this is // experimental and should not be used by callers yet. It is mostly intended for internal testing // purposes in Gitaly right now. ObjectFormat ObjectFormat `protobuf:"varint,3,opt,name=object_format,json=objectFormat,proto3,enum=gitaly.ObjectFormat" json:"object_format,omitempty"` // contains filtered or unexported fields }
CreateRepositoryRequest ...
func (*CreateRepositoryRequest) Descriptor
deprecated
func (*CreateRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryRequest.ProtoReflect.Descriptor instead.
func (*CreateRepositoryRequest) GetDefaultBranch ¶
func (x *CreateRepositoryRequest) GetDefaultBranch() []byte
func (*CreateRepositoryRequest) GetObjectFormat ¶
func (x *CreateRepositoryRequest) GetObjectFormat() ObjectFormat
func (*CreateRepositoryRequest) GetRepository ¶
func (x *CreateRepositoryRequest) GetRepository() *Repository
func (*CreateRepositoryRequest) ProtoMessage ¶
func (*CreateRepositoryRequest) ProtoMessage()
func (*CreateRepositoryRequest) ProtoReflect ¶
func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message
func (*CreateRepositoryRequest) Reset ¶
func (x *CreateRepositoryRequest) Reset()
func (*CreateRepositoryRequest) String ¶
func (x *CreateRepositoryRequest) String() string
type CreateRepositoryResponse ¶
type CreateRepositoryResponse struct {
// contains filtered or unexported fields
}
CreateRepositoryResponse ...
func (*CreateRepositoryResponse) Descriptor
deprecated
func (*CreateRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryResponse.ProtoReflect.Descriptor instead.
func (*CreateRepositoryResponse) ProtoMessage ¶
func (*CreateRepositoryResponse) ProtoMessage()
func (*CreateRepositoryResponse) ProtoReflect ¶
func (x *CreateRepositoryResponse) ProtoReflect() protoreflect.Message
func (*CreateRepositoryResponse) Reset ¶
func (x *CreateRepositoryResponse) Reset()
func (*CreateRepositoryResponse) String ¶
func (x *CreateRepositoryResponse) String() string
type CustomHookError ¶
type CustomHookError struct { // stdout is the standard output of the hook that has failed, if any. Data may be truncated. Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // stderr is the standard error of the hook that has failed, if any. Data may be truncated. Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // hook_type is the type of the hook. HookType CustomHookError_HookType `protobuf:"varint,3,opt,name=hook_type,json=hookType,proto3,enum=gitaly.CustomHookError_HookType" json:"hook_type,omitempty"` // contains filtered or unexported fields }
CustomHookError is an error returned when Gitaly executes a custom hook and the hook returns a non-zero return code.
func (*CustomHookError) Descriptor
deprecated
func (*CustomHookError) Descriptor() ([]byte, []int)
Deprecated: Use CustomHookError.ProtoReflect.Descriptor instead.
func (*CustomHookError) GetHookType ¶
func (x *CustomHookError) GetHookType() CustomHookError_HookType
func (*CustomHookError) GetStderr ¶
func (x *CustomHookError) GetStderr() []byte
func (*CustomHookError) GetStdout ¶
func (x *CustomHookError) GetStdout() []byte
func (*CustomHookError) ProtoMessage ¶
func (*CustomHookError) ProtoMessage()
func (*CustomHookError) ProtoReflect ¶
func (x *CustomHookError) ProtoReflect() protoreflect.Message
func (*CustomHookError) Reset ¶
func (x *CustomHookError) Reset()
func (*CustomHookError) String ¶
func (x *CustomHookError) String() string
type CustomHookError_HookType ¶
type CustomHookError_HookType int32
HookType is the type of the hook that has been running. Please consult githooks(5) for more information about the specific types.
const ( // HOOK_TYPE_UNSPECIFIED is the default hook type and should never be set. CustomHookError_HOOK_TYPE_UNSPECIFIED CustomHookError_HookType = 0 // HOOK_TYPE_PRERECEIVE is executed after all changes have been written into a temporary staging // directory, but before any references in the repository have been updated. It is executed with // all references that are about to be updated at once. If this hook exits, then no references // will have been updated in the repository and staged objects will have been discarded. CustomHookError_HOOK_TYPE_PRERECEIVE CustomHookError_HookType = 1 // HOOK_TYPE_UPDATE is executed after the pre-receive hook. It is executed per reference that is // about to be updated and can be used to reject only a subset of reference updates. If this // hook error is raised then a subset of references may have already been updated. CustomHookError_HOOK_TYPE_UPDATE CustomHookError_HookType = 2 // HOOK_TYPE_POSTRECEIVE is executed after objects have been migrated into the repository and // after references have been updated. An error in this hook will not impact the changes // anymore as everything has already been persisted. CustomHookError_HOOK_TYPE_POSTRECEIVE CustomHookError_HookType = 3 )
func (CustomHookError_HookType) Descriptor ¶
func (CustomHookError_HookType) Descriptor() protoreflect.EnumDescriptor
func (CustomHookError_HookType) Enum ¶
func (x CustomHookError_HookType) Enum() *CustomHookError_HookType
func (CustomHookError_HookType) EnumDescriptor
deprecated
func (CustomHookError_HookType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CustomHookError_HookType.Descriptor instead.
func (CustomHookError_HookType) Number ¶
func (x CustomHookError_HookType) Number() protoreflect.EnumNumber
func (CustomHookError_HookType) String ¶
func (x CustomHookError_HookType) String() string
func (CustomHookError_HookType) Type ¶
func (CustomHookError_HookType) Type() protoreflect.EnumType
type DatalossCheckRequest
deprecated
type DatalossCheckRequest struct { // virtual_storage ... VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` // include_partially_replicated indicates whether to include repositories which are available but // are unavailable on some assigned storages. IncludePartiallyReplicated bool `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
DatalossCheckRequest ...
Deprecated: Marked as deprecated in praefect.proto.
func (*DatalossCheckRequest) Descriptor
deprecated
func (*DatalossCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use DatalossCheckRequest.ProtoReflect.Descriptor instead.
func (*DatalossCheckRequest) GetIncludePartiallyReplicated ¶
func (x *DatalossCheckRequest) GetIncludePartiallyReplicated() bool
func (*DatalossCheckRequest) GetVirtualStorage ¶
func (x *DatalossCheckRequest) GetVirtualStorage() string
func (*DatalossCheckRequest) ProtoMessage ¶
func (*DatalossCheckRequest) ProtoMessage()
func (*DatalossCheckRequest) ProtoReflect ¶
func (x *DatalossCheckRequest) ProtoReflect() protoreflect.Message
func (*DatalossCheckRequest) Reset ¶
func (x *DatalossCheckRequest) Reset()
func (*DatalossCheckRequest) String ¶
func (x *DatalossCheckRequest) String() string
type DatalossCheckResponse
deprecated
type DatalossCheckResponse struct { // repositories with data loss Repositories []*DatalossCheckResponse_Repository `protobuf:"bytes,2,rep,name=repositories,proto3" json:"repositories,omitempty"` // contains filtered or unexported fields }
DatalossCheckResponse ...
Deprecated: Marked as deprecated in praefect.proto.
func (*DatalossCheckResponse) Descriptor
deprecated
func (*DatalossCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use DatalossCheckResponse.ProtoReflect.Descriptor instead.
func (*DatalossCheckResponse) GetRepositories ¶
func (x *DatalossCheckResponse) GetRepositories() []*DatalossCheckResponse_Repository
func (*DatalossCheckResponse) ProtoMessage ¶
func (*DatalossCheckResponse) ProtoMessage()
func (*DatalossCheckResponse) ProtoReflect ¶
func (x *DatalossCheckResponse) ProtoReflect() protoreflect.Message
func (*DatalossCheckResponse) Reset ¶
func (x *DatalossCheckResponse) Reset()
func (*DatalossCheckResponse) String ¶
func (x *DatalossCheckResponse) String() string
type DatalossCheckResponse_Repository ¶
type DatalossCheckResponse_Repository struct { // relative_path of the repository with outdated replicas RelativePath string `protobuf:"bytes,1,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // storages on which the repository is outdated Storages []*DatalossCheckResponse_Repository_Storage `protobuf:"bytes,2,rep,name=storages,proto3" json:"storages,omitempty"` Unavailable bool `protobuf:"varint,3,opt,name=unavailable,proto3" json:"unavailable,omitempty"` // primary is the current primary storage of the repository. Primary string `protobuf:"bytes,4,opt,name=primary,proto3" json:"primary,omitempty"` // contains filtered or unexported fields }
Repository ...
func (*DatalossCheckResponse_Repository) Descriptor
deprecated
func (*DatalossCheckResponse_Repository) Descriptor() ([]byte, []int)
Deprecated: Use DatalossCheckResponse_Repository.ProtoReflect.Descriptor instead.
func (*DatalossCheckResponse_Repository) GetPrimary ¶
func (x *DatalossCheckResponse_Repository) GetPrimary() string
func (*DatalossCheckResponse_Repository) GetRelativePath ¶
func (x *DatalossCheckResponse_Repository) GetRelativePath() string
func (*DatalossCheckResponse_Repository) GetStorages ¶
func (x *DatalossCheckResponse_Repository) GetStorages() []*DatalossCheckResponse_Repository_Storage
func (*DatalossCheckResponse_Repository) GetUnavailable ¶
func (x *DatalossCheckResponse_Repository) GetUnavailable() bool
func (*DatalossCheckResponse_Repository) ProtoMessage ¶
func (*DatalossCheckResponse_Repository) ProtoMessage()
func (*DatalossCheckResponse_Repository) ProtoReflect ¶
func (x *DatalossCheckResponse_Repository) ProtoReflect() protoreflect.Message
func (*DatalossCheckResponse_Repository) Reset ¶
func (x *DatalossCheckResponse_Repository) Reset()
func (*DatalossCheckResponse_Repository) String ¶
func (x *DatalossCheckResponse_Repository) String() string
type DatalossCheckResponse_Repository_Storage ¶
type DatalossCheckResponse_Repository_Storage struct { // name of the storage Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // behind_by indicates how many generations this storage is behind. BehindBy int64 `protobuf:"varint,2,opt,name=behind_by,json=behindBy,proto3" json:"behind_by,omitempty"` // assigned indicates whether the storage is assigned to host the repository. Assigned bool `protobuf:"varint,3,opt,name=assigned,proto3" json:"assigned,omitempty"` // healthy indicates whether the storage is considered healthy by the consensus of Praefect nodes. Healthy bool `protobuf:"varint,4,opt,name=healthy,proto3" json:"healthy,omitempty"` // valid_primary indicates whether the storage is ready to act as the primary if necessary. ValidPrimary bool `protobuf:"varint,5,opt,name=valid_primary,json=validPrimary,proto3" json:"valid_primary,omitempty"` // contains filtered or unexported fields }
Storage ...
func (*DatalossCheckResponse_Repository_Storage) Descriptor
deprecated
func (*DatalossCheckResponse_Repository_Storage) Descriptor() ([]byte, []int)
Deprecated: Use DatalossCheckResponse_Repository_Storage.ProtoReflect.Descriptor instead.
func (*DatalossCheckResponse_Repository_Storage) GetAssigned ¶
func (x *DatalossCheckResponse_Repository_Storage) GetAssigned() bool
func (*DatalossCheckResponse_Repository_Storage) GetBehindBy ¶
func (x *DatalossCheckResponse_Repository_Storage) GetBehindBy() int64
func (*DatalossCheckResponse_Repository_Storage) GetHealthy ¶
func (x *DatalossCheckResponse_Repository_Storage) GetHealthy() bool
func (*DatalossCheckResponse_Repository_Storage) GetName ¶
func (x *DatalossCheckResponse_Repository_Storage) GetName() string
func (*DatalossCheckResponse_Repository_Storage) GetValidPrimary ¶
func (x *DatalossCheckResponse_Repository_Storage) GetValidPrimary() bool
func (*DatalossCheckResponse_Repository_Storage) ProtoMessage ¶
func (*DatalossCheckResponse_Repository_Storage) ProtoMessage()
func (*DatalossCheckResponse_Repository_Storage) ProtoReflect ¶
func (x *DatalossCheckResponse_Repository_Storage) ProtoReflect() protoreflect.Message
func (*DatalossCheckResponse_Repository_Storage) Reset ¶
func (x *DatalossCheckResponse_Repository_Storage) Reset()
func (*DatalossCheckResponse_Repository_Storage) String ¶
func (x *DatalossCheckResponse_Repository_Storage) String() string
type DatalossRequest ¶ added in v16.4.0
type DatalossRequest struct { // virtual_storage is the virtual storage to get dataloss information for. VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` // include_partially_replicated indicates whether to include repositories which are available but // are unavailable on some assigned storages. IncludePartiallyReplicated bool `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
DatalossRequest is the request for data loss information
func (*DatalossRequest) Descriptor
deprecated
added in
v16.4.0
func (*DatalossRequest) Descriptor() ([]byte, []int)
Deprecated: Use DatalossRequest.ProtoReflect.Descriptor instead.
func (*DatalossRequest) GetIncludePartiallyReplicated ¶ added in v16.4.0
func (x *DatalossRequest) GetIncludePartiallyReplicated() bool
func (*DatalossRequest) GetVirtualStorage ¶ added in v16.4.0
func (x *DatalossRequest) GetVirtualStorage() string
func (*DatalossRequest) ProtoMessage ¶ added in v16.4.0
func (*DatalossRequest) ProtoMessage()
func (*DatalossRequest) ProtoReflect ¶ added in v16.4.0
func (x *DatalossRequest) ProtoReflect() protoreflect.Message
func (*DatalossRequest) Reset ¶ added in v16.4.0
func (x *DatalossRequest) Reset()
func (*DatalossRequest) String ¶ added in v16.4.0
func (x *DatalossRequest) String() string
type DatalossResponse ¶ added in v16.4.0
type DatalossResponse struct { // repositories with data loss Repositories []*DatalossResponse_Repository `protobuf:"bytes,2,rep,name=repositories,proto3" json:"repositories,omitempty"` // contains filtered or unexported fields }
DatalossResponse contains information about a repository that may be behind the primary.
func (*DatalossResponse) Descriptor
deprecated
added in
v16.4.0
func (*DatalossResponse) Descriptor() ([]byte, []int)
Deprecated: Use DatalossResponse.ProtoReflect.Descriptor instead.
func (*DatalossResponse) GetRepositories ¶ added in v16.4.0
func (x *DatalossResponse) GetRepositories() []*DatalossResponse_Repository
func (*DatalossResponse) ProtoMessage ¶ added in v16.4.0
func (*DatalossResponse) ProtoMessage()
func (*DatalossResponse) ProtoReflect ¶ added in v16.4.0
func (x *DatalossResponse) ProtoReflect() protoreflect.Message
func (*DatalossResponse) Reset ¶ added in v16.4.0
func (x *DatalossResponse) Reset()
func (*DatalossResponse) String ¶ added in v16.4.0
func (x *DatalossResponse) String() string
type DatalossResponse_Repository ¶ added in v16.4.0
type DatalossResponse_Repository struct { // relative_path of the repository with outdated replicas RelativePath string `protobuf:"bytes,1,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // storages on which the repository is outdated Storages []*DatalossResponse_Repository_Storage `protobuf:"bytes,2,rep,name=storages,proto3" json:"storages,omitempty"` Unavailable bool `protobuf:"varint,3,opt,name=unavailable,proto3" json:"unavailable,omitempty"` // primary is the current primary storage of the repository. Primary string `protobuf:"bytes,4,opt,name=primary,proto3" json:"primary,omitempty"` // contains filtered or unexported fields }
Repository is the status of a repository
func (*DatalossResponse_Repository) Descriptor
deprecated
added in
v16.4.0
func (*DatalossResponse_Repository) Descriptor() ([]byte, []int)
Deprecated: Use DatalossResponse_Repository.ProtoReflect.Descriptor instead.
func (*DatalossResponse_Repository) GetPrimary ¶ added in v16.4.0
func (x *DatalossResponse_Repository) GetPrimary() string
func (*DatalossResponse_Repository) GetRelativePath ¶ added in v16.4.0
func (x *DatalossResponse_Repository) GetRelativePath() string
func (*DatalossResponse_Repository) GetStorages ¶ added in v16.4.0
func (x *DatalossResponse_Repository) GetStorages() []*DatalossResponse_Repository_Storage
func (*DatalossResponse_Repository) GetUnavailable ¶ added in v16.4.0
func (x *DatalossResponse_Repository) GetUnavailable() bool
func (*DatalossResponse_Repository) ProtoMessage ¶ added in v16.4.0
func (*DatalossResponse_Repository) ProtoMessage()
func (*DatalossResponse_Repository) ProtoReflect ¶ added in v16.4.0
func (x *DatalossResponse_Repository) ProtoReflect() protoreflect.Message
func (*DatalossResponse_Repository) Reset ¶ added in v16.4.0
func (x *DatalossResponse_Repository) Reset()
func (*DatalossResponse_Repository) String ¶ added in v16.4.0
func (x *DatalossResponse_Repository) String() string
type DatalossResponse_Repository_Storage ¶ added in v16.4.0
type DatalossResponse_Repository_Storage struct { // name of the storage Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // behind_by indicates how many generations this storage is behind. BehindBy int64 `protobuf:"varint,2,opt,name=behind_by,json=behindBy,proto3" json:"behind_by,omitempty"` // assigned indicates whether the storage is assigned to host the repository. Assigned bool `protobuf:"varint,3,opt,name=assigned,proto3" json:"assigned,omitempty"` // healthy indicates whether the storage is considered healthy by the consensus of Praefect nodes. Healthy bool `protobuf:"varint,4,opt,name=healthy,proto3" json:"healthy,omitempty"` // valid_primary indicates whether the storage is ready to act as the primary if necessary. ValidPrimary bool `protobuf:"varint,5,opt,name=valid_primary,json=validPrimary,proto3" json:"valid_primary,omitempty"` // contains filtered or unexported fields }
Storage ...
func (*DatalossResponse_Repository_Storage) Descriptor
deprecated
added in
v16.4.0
func (*DatalossResponse_Repository_Storage) Descriptor() ([]byte, []int)
Deprecated: Use DatalossResponse_Repository_Storage.ProtoReflect.Descriptor instead.
func (*DatalossResponse_Repository_Storage) GetAssigned ¶ added in v16.4.0
func (x *DatalossResponse_Repository_Storage) GetAssigned() bool
func (*DatalossResponse_Repository_Storage) GetBehindBy ¶ added in v16.4.0
func (x *DatalossResponse_Repository_Storage) GetBehindBy() int64
func (*DatalossResponse_Repository_Storage) GetHealthy ¶ added in v16.4.0
func (x *DatalossResponse_Repository_Storage) GetHealthy() bool
func (*DatalossResponse_Repository_Storage) GetName ¶ added in v16.4.0
func (x *DatalossResponse_Repository_Storage) GetName() string
func (*DatalossResponse_Repository_Storage) GetValidPrimary ¶ added in v16.4.0
func (x *DatalossResponse_Repository_Storage) GetValidPrimary() bool
func (*DatalossResponse_Repository_Storage) ProtoMessage ¶ added in v16.4.0
func (*DatalossResponse_Repository_Storage) ProtoMessage()
func (*DatalossResponse_Repository_Storage) ProtoReflect ¶ added in v16.4.0
func (x *DatalossResponse_Repository_Storage) ProtoReflect() protoreflect.Message
func (*DatalossResponse_Repository_Storage) Reset ¶ added in v16.4.0
func (x *DatalossResponse_Repository_Storage) Reset()
func (*DatalossResponse_Repository_Storage) String ¶ added in v16.4.0
func (x *DatalossResponse_Repository_Storage) String() string
type DeleteBranchRequest ¶
type DeleteBranchRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // name ... Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
DeleteBranchRequest ...
func (*DeleteBranchRequest) Descriptor
deprecated
func (*DeleteBranchRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBranchRequest.ProtoReflect.Descriptor instead.
func (*DeleteBranchRequest) GetName ¶
func (x *DeleteBranchRequest) GetName() []byte
func (*DeleteBranchRequest) GetRepository ¶
func (x *DeleteBranchRequest) GetRepository() *Repository
func (*DeleteBranchRequest) ProtoMessage ¶
func (*DeleteBranchRequest) ProtoMessage()
func (*DeleteBranchRequest) ProtoReflect ¶
func (x *DeleteBranchRequest) ProtoReflect() protoreflect.Message
func (*DeleteBranchRequest) Reset ¶
func (x *DeleteBranchRequest) Reset()
func (*DeleteBranchRequest) String ¶
func (x *DeleteBranchRequest) String() string
type DeleteBranchResponse ¶
type DeleteBranchResponse struct {
// contains filtered or unexported fields
}
DeleteBranchResponse ... Not clear if we need to do status signaling; we can add fields later.
func (*DeleteBranchResponse) Descriptor
deprecated
func (*DeleteBranchResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBranchResponse.ProtoReflect.Descriptor instead.
func (*DeleteBranchResponse) ProtoMessage ¶
func (*DeleteBranchResponse) ProtoMessage()
func (*DeleteBranchResponse) ProtoReflect ¶
func (x *DeleteBranchResponse) ProtoReflect() protoreflect.Message
func (*DeleteBranchResponse) Reset ¶
func (x *DeleteBranchResponse) Reset()
func (*DeleteBranchResponse) String ¶
func (x *DeleteBranchResponse) String() string
type DeleteObjectPoolRequest ¶
type DeleteObjectPoolRequest struct { // object_pool is the object pool that shall be deleted. ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` // contains filtered or unexported fields }
DeleteObjectPoolRequest is a request for the DeleteObjectPool RPC.
func (*DeleteObjectPoolRequest) Descriptor
deprecated
func (*DeleteObjectPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObjectPoolRequest.ProtoReflect.Descriptor instead.
func (*DeleteObjectPoolRequest) GetObjectPool ¶
func (x *DeleteObjectPoolRequest) GetObjectPool() *ObjectPool
func (*DeleteObjectPoolRequest) ProtoMessage ¶
func (*DeleteObjectPoolRequest) ProtoMessage()
func (*DeleteObjectPoolRequest) ProtoReflect ¶
func (x *DeleteObjectPoolRequest) ProtoReflect() protoreflect.Message
func (*DeleteObjectPoolRequest) Reset ¶
func (x *DeleteObjectPoolRequest) Reset()
func (*DeleteObjectPoolRequest) String ¶
func (x *DeleteObjectPoolRequest) String() string
type DeleteObjectPoolResponse ¶
type DeleteObjectPoolResponse struct {
// contains filtered or unexported fields
}
DeleteObjectPoolResponse is a response for the DeleteObjectPool RPC.
func (*DeleteObjectPoolResponse) Descriptor
deprecated
func (*DeleteObjectPoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObjectPoolResponse.ProtoReflect.Descriptor instead.
func (*DeleteObjectPoolResponse) ProtoMessage ¶
func (*DeleteObjectPoolResponse) ProtoMessage()
func (*DeleteObjectPoolResponse) ProtoReflect ¶
func (x *DeleteObjectPoolResponse) ProtoReflect() protoreflect.Message
func (*DeleteObjectPoolResponse) Reset ¶
func (x *DeleteObjectPoolResponse) Reset()
func (*DeleteObjectPoolResponse) String ¶
func (x *DeleteObjectPoolResponse) String() string
type DeleteRefsError ¶
type DeleteRefsError struct { // Types that are assignable to Error: // // *DeleteRefsError_InvalidFormat // *DeleteRefsError_ReferencesLocked Error isDeleteRefsError_Error `protobuf_oneof:"error"` // contains filtered or unexported fields }
DeleteRefsError is returned when DeleteRefs fails to delete refs
func (*DeleteRefsError) Descriptor
deprecated
func (*DeleteRefsError) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRefsError.ProtoReflect.Descriptor instead.
func (*DeleteRefsError) GetError ¶
func (m *DeleteRefsError) GetError() isDeleteRefsError_Error
func (*DeleteRefsError) GetInvalidFormat ¶
func (x *DeleteRefsError) GetInvalidFormat() *InvalidRefFormatError
func (*DeleteRefsError) GetReferencesLocked ¶
func (x *DeleteRefsError) GetReferencesLocked() *ReferencesLockedError
func (*DeleteRefsError) ProtoMessage ¶
func (*DeleteRefsError) ProtoMessage()
func (*DeleteRefsError) ProtoReflect ¶
func (x *DeleteRefsError) ProtoReflect() protoreflect.Message
func (*DeleteRefsError) Reset ¶
func (x *DeleteRefsError) Reset()
func (*DeleteRefsError) String ¶
func (x *DeleteRefsError) String() string
type DeleteRefsError_InvalidFormat ¶
type DeleteRefsError_InvalidFormat struct { // invalid_format is returned when one or more of the refs to be deleted // have an invalid format. InvalidFormat *InvalidRefFormatError `protobuf:"bytes,1,opt,name=invalid_format,json=invalidFormat,proto3,oneof"` }
type DeleteRefsError_ReferencesLocked ¶
type DeleteRefsError_ReferencesLocked struct { // references_locked is returned when the references to be deleted are already // locked by another process. ReferencesLocked *ReferencesLockedError `protobuf:"bytes,2,opt,name=references_locked,json=referencesLocked,proto3,oneof"` }
type DeleteRefsRequest ¶
type DeleteRefsRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // except_with_prefix ... // 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"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED // refs ... Refs [][]byte `protobuf:"bytes,3,rep,name=refs,proto3" json:"refs,omitempty"` // contains filtered or unexported fields }
DeleteRefsRequest ...
func (*DeleteRefsRequest) Descriptor
deprecated
func (*DeleteRefsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRefsRequest.ProtoReflect.Descriptor instead.
func (*DeleteRefsRequest) GetExceptWithPrefix ¶
func (x *DeleteRefsRequest) GetExceptWithPrefix() [][]byte
func (*DeleteRefsRequest) GetRefs ¶
func (x *DeleteRefsRequest) GetRefs() [][]byte
func (*DeleteRefsRequest) GetRepository ¶
func (x *DeleteRefsRequest) GetRepository() *Repository
func (*DeleteRefsRequest) ProtoMessage ¶
func (*DeleteRefsRequest) ProtoMessage()
func (*DeleteRefsRequest) ProtoReflect ¶
func (x *DeleteRefsRequest) ProtoReflect() protoreflect.Message
func (*DeleteRefsRequest) Reset ¶
func (x *DeleteRefsRequest) Reset()
func (*DeleteRefsRequest) String ¶
func (x *DeleteRefsRequest) String() string
type DeleteRefsResponse ¶
type DeleteRefsResponse struct { // git_error ... GitError string `protobuf:"bytes,1,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` // contains filtered or unexported fields }
DeleteRefsResponse ...
func (*DeleteRefsResponse) Descriptor
deprecated
func (*DeleteRefsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRefsResponse.ProtoReflect.Descriptor instead.
func (*DeleteRefsResponse) GetGitError ¶
func (x *DeleteRefsResponse) GetGitError() string
func (*DeleteRefsResponse) ProtoMessage ¶
func (*DeleteRefsResponse) ProtoMessage()
func (*DeleteRefsResponse) ProtoReflect ¶
func (x *DeleteRefsResponse) ProtoReflect() protoreflect.Message
func (*DeleteRefsResponse) Reset ¶
func (x *DeleteRefsResponse) Reset()
func (*DeleteRefsResponse) String ¶
func (x *DeleteRefsResponse) String() string
type DiffServiceClient ¶
type DiffServiceClient interface { // CommitDiff returns stream of CommitDiffResponse with patches chunked over messages. CommitDiff(ctx context.Context, in *CommitDiffRequest, opts ...grpc.CallOption) (DiffService_CommitDiffClient, error) // CommitDelta returns a stream so we can divide the response in chunks of deltas. CommitDelta(ctx context.Context, in *CommitDeltaRequest, opts ...grpc.CallOption) (DiffService_CommitDeltaClient, error) // RawDiff ... RawDiff(ctx context.Context, in *RawDiffRequest, opts ...grpc.CallOption) (DiffService_RawDiffClient, error) // RawPatch ... RawPatch(ctx context.Context, in *RawPatchRequest, opts ...grpc.CallOption) (DiffService_RawPatchClient, error) // DiffStats ... DiffStats(ctx context.Context, in *DiffStatsRequest, opts ...grpc.CallOption) (DiffService_DiffStatsClient, error) // FindChangedPaths returns a list of files changed along with the status of each file FindChangedPaths(ctx context.Context, in *FindChangedPathsRequest, opts ...grpc.CallOption) (DiffService_FindChangedPathsClient, error) // GetPatchID computes a patch ID for a patch. Patch IDs are a unique ID computed by hashing // a patch with some parameters like line numbers ignored. The patch ID can thus be used to compare // whether diffs make the same change. Please refer to git-patch-id(1) for further information. // If the difference between old and new change is empty then this RPC returns an error. GetPatchID(ctx context.Context, in *GetPatchIDRequest, opts ...grpc.CallOption) (*GetPatchIDResponse, error) }
DiffServiceClient is the client API for DiffService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDiffServiceClient ¶
func NewDiffServiceClient(cc grpc.ClientConnInterface) DiffServiceClient
type DiffServiceServer ¶
type DiffServiceServer interface { // CommitDiff returns stream of CommitDiffResponse with patches chunked over messages. CommitDiff(*CommitDiffRequest, DiffService_CommitDiffServer) error // CommitDelta returns a stream so we can divide the response in chunks of deltas. CommitDelta(*CommitDeltaRequest, DiffService_CommitDeltaServer) error // RawDiff ... RawDiff(*RawDiffRequest, DiffService_RawDiffServer) error // RawPatch ... RawPatch(*RawPatchRequest, DiffService_RawPatchServer) error // DiffStats ... DiffStats(*DiffStatsRequest, DiffService_DiffStatsServer) error // FindChangedPaths returns a list of files changed along with the status of each file FindChangedPaths(*FindChangedPathsRequest, DiffService_FindChangedPathsServer) error // GetPatchID computes a patch ID for a patch. Patch IDs are a unique ID computed by hashing // a patch with some parameters like line numbers ignored. The patch ID can thus be used to compare // whether diffs make the same change. Please refer to git-patch-id(1) for further information. // If the difference between old and new change is empty then this RPC returns an error. GetPatchID(context.Context, *GetPatchIDRequest) (*GetPatchIDResponse, error) // contains filtered or unexported methods }
DiffServiceServer is the server API for DiffService service. All implementations must embed UnimplementedDiffServiceServer for forward compatibility
type DiffService_CommitDeltaClient ¶
type DiffService_CommitDeltaClient interface { Recv() (*CommitDeltaResponse, error) grpc.ClientStream }
type DiffService_CommitDeltaServer ¶
type DiffService_CommitDeltaServer interface { Send(*CommitDeltaResponse) error grpc.ServerStream }
type DiffService_CommitDiffClient ¶
type DiffService_CommitDiffClient interface { Recv() (*CommitDiffResponse, error) grpc.ClientStream }
type DiffService_CommitDiffServer ¶
type DiffService_CommitDiffServer interface { Send(*CommitDiffResponse) error grpc.ServerStream }
type DiffService_DiffStatsClient ¶
type DiffService_DiffStatsClient interface { Recv() (*DiffStatsResponse, error) grpc.ClientStream }
type DiffService_DiffStatsServer ¶
type DiffService_DiffStatsServer interface { Send(*DiffStatsResponse) error grpc.ServerStream }
type DiffService_FindChangedPathsClient ¶
type DiffService_FindChangedPathsClient interface { Recv() (*FindChangedPathsResponse, error) grpc.ClientStream }
type DiffService_FindChangedPathsServer ¶
type DiffService_FindChangedPathsServer interface { Send(*FindChangedPathsResponse) error grpc.ServerStream }
type DiffService_RawDiffClient ¶
type DiffService_RawDiffClient interface { Recv() (*RawDiffResponse, error) grpc.ClientStream }
type DiffService_RawDiffServer ¶
type DiffService_RawDiffServer interface { Send(*RawDiffResponse) error grpc.ServerStream }
type DiffService_RawPatchClient ¶
type DiffService_RawPatchClient interface { Recv() (*RawPatchResponse, error) grpc.ClientStream }
type DiffService_RawPatchServer ¶
type DiffService_RawPatchServer interface { Send(*RawPatchResponse) error grpc.ServerStream }
type DiffStats ¶
type DiffStats struct { // path ... Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // additions ... Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"` // deletions ... Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"` // old_path ... OldPath []byte `protobuf:"bytes,4,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"` // contains filtered or unexported fields }
DiffStats ...
func (*DiffStats) Descriptor
deprecated
func (*DiffStats) GetAdditions ¶
func (*DiffStats) GetDeletions ¶
func (*DiffStats) GetOldPath ¶
func (*DiffStats) ProtoMessage ¶
func (*DiffStats) ProtoMessage()
func (*DiffStats) ProtoReflect ¶
func (x *DiffStats) ProtoReflect() protoreflect.Message
type DiffStatsRequest ¶
type DiffStatsRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // left_commit_id ... LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` // right_commit_id ... RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` // contains filtered or unexported fields }
DiffStatsRequest ...
func (*DiffStatsRequest) Descriptor
deprecated
func (*DiffStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DiffStatsRequest.ProtoReflect.Descriptor instead.
func (*DiffStatsRequest) GetLeftCommitId ¶
func (x *DiffStatsRequest) GetLeftCommitId() string
func (*DiffStatsRequest) GetRepository ¶
func (x *DiffStatsRequest) GetRepository() *Repository
func (*DiffStatsRequest) GetRightCommitId ¶
func (x *DiffStatsRequest) GetRightCommitId() string
func (*DiffStatsRequest) ProtoMessage ¶
func (*DiffStatsRequest) ProtoMessage()
func (*DiffStatsRequest) ProtoReflect ¶
func (x *DiffStatsRequest) ProtoReflect() protoreflect.Message
func (*DiffStatsRequest) Reset ¶
func (x *DiffStatsRequest) Reset()
func (*DiffStatsRequest) String ¶
func (x *DiffStatsRequest) String() string
type DiffStatsResponse ¶
type DiffStatsResponse struct { // stats ... Stats []*DiffStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` // contains filtered or unexported fields }
DiffStatsResponse ...
func (*DiffStatsResponse) Descriptor
deprecated
func (*DiffStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DiffStatsResponse.ProtoReflect.Descriptor instead.
func (*DiffStatsResponse) GetStats ¶
func (x *DiffStatsResponse) GetStats() []*DiffStats
func (*DiffStatsResponse) ProtoMessage ¶
func (*DiffStatsResponse) ProtoMessage()
func (*DiffStatsResponse) ProtoReflect ¶
func (x *DiffStatsResponse) ProtoReflect() protoreflect.Message
func (*DiffStatsResponse) Reset ¶
func (x *DiffStatsResponse) Reset()
func (*DiffStatsResponse) String ¶
func (x *DiffStatsResponse) String() string
type DisconnectGitAlternatesRequest ¶
type DisconnectGitAlternatesRequest struct { // repository is th repository that shall be disconnected from its object pool. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
DisconnectGitAlternatesRequest is a request for the DisconnectGitAlternates RPC.
func (*DisconnectGitAlternatesRequest) Descriptor
deprecated
func (*DisconnectGitAlternatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectGitAlternatesRequest.ProtoReflect.Descriptor instead.
func (*DisconnectGitAlternatesRequest) GetRepository ¶
func (x *DisconnectGitAlternatesRequest) GetRepository() *Repository
func (*DisconnectGitAlternatesRequest) ProtoMessage ¶
func (*DisconnectGitAlternatesRequest) ProtoMessage()
func (*DisconnectGitAlternatesRequest) ProtoReflect ¶
func (x *DisconnectGitAlternatesRequest) ProtoReflect() protoreflect.Message
func (*DisconnectGitAlternatesRequest) Reset ¶
func (x *DisconnectGitAlternatesRequest) Reset()
func (*DisconnectGitAlternatesRequest) String ¶
func (x *DisconnectGitAlternatesRequest) String() string
type DisconnectGitAlternatesResponse ¶
type DisconnectGitAlternatesResponse struct {
// contains filtered or unexported fields
}
DisconnectGitAlternatesResponse is a response for the DisconnectGitAlternates RPC.
func (*DisconnectGitAlternatesResponse) Descriptor
deprecated
func (*DisconnectGitAlternatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectGitAlternatesResponse.ProtoReflect.Descriptor instead.
func (*DisconnectGitAlternatesResponse) ProtoMessage ¶
func (*DisconnectGitAlternatesResponse) ProtoMessage()
func (*DisconnectGitAlternatesResponse) ProtoReflect ¶
func (x *DisconnectGitAlternatesResponse) ProtoReflect() protoreflect.Message
func (*DisconnectGitAlternatesResponse) Reset ¶
func (x *DisconnectGitAlternatesResponse) Reset()
func (*DisconnectGitAlternatesResponse) String ¶
func (x *DisconnectGitAlternatesResponse) String() string
type DiskStatisticsRequest ¶
type DiskStatisticsRequest struct {
// contains filtered or unexported fields
}
DiskStatisticsRequest ...
func (*DiskStatisticsRequest) Descriptor
deprecated
func (*DiskStatisticsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DiskStatisticsRequest.ProtoReflect.Descriptor instead.
func (*DiskStatisticsRequest) ProtoMessage ¶
func (*DiskStatisticsRequest) ProtoMessage()
func (*DiskStatisticsRequest) ProtoReflect ¶
func (x *DiskStatisticsRequest) ProtoReflect() protoreflect.Message
func (*DiskStatisticsRequest) Reset ¶
func (x *DiskStatisticsRequest) Reset()
func (*DiskStatisticsRequest) String ¶
func (x *DiskStatisticsRequest) String() string
type DiskStatisticsResponse ¶
type DiskStatisticsResponse struct { // storage_statuses ... StorageStatuses []*DiskStatisticsResponse_StorageStatus `protobuf:"bytes,1,rep,name=storage_statuses,json=storageStatuses,proto3" json:"storage_statuses,omitempty"` // contains filtered or unexported fields }
DiskStatisticsResponse ...
func (*DiskStatisticsResponse) Descriptor
deprecated
func (*DiskStatisticsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DiskStatisticsResponse.ProtoReflect.Descriptor instead.
func (*DiskStatisticsResponse) GetStorageStatuses ¶
func (x *DiskStatisticsResponse) GetStorageStatuses() []*DiskStatisticsResponse_StorageStatus
func (*DiskStatisticsResponse) ProtoMessage ¶
func (*DiskStatisticsResponse) ProtoMessage()
func (*DiskStatisticsResponse) ProtoReflect ¶
func (x *DiskStatisticsResponse) ProtoReflect() protoreflect.Message
func (*DiskStatisticsResponse) Reset ¶
func (x *DiskStatisticsResponse) Reset()
func (*DiskStatisticsResponse) String ¶
func (x *DiskStatisticsResponse) String() string
type DiskStatisticsResponse_StorageStatus ¶
type DiskStatisticsResponse_StorageStatus struct { // storage_name ... StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` // available ... Available int64 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` // used ... Used int64 `protobuf:"varint,3,opt,name=used,proto3" json:"used,omitempty"` // contains filtered or unexported fields }
StorageStatus ... When both available and used fields are equal 0 that means that Gitaly was unable to determine storage stats.
func (*DiskStatisticsResponse_StorageStatus) Descriptor
deprecated
func (*DiskStatisticsResponse_StorageStatus) Descriptor() ([]byte, []int)
Deprecated: Use DiskStatisticsResponse_StorageStatus.ProtoReflect.Descriptor instead.
func (*DiskStatisticsResponse_StorageStatus) GetAvailable ¶
func (x *DiskStatisticsResponse_StorageStatus) GetAvailable() int64
func (*DiskStatisticsResponse_StorageStatus) GetStorageName ¶
func (x *DiskStatisticsResponse_StorageStatus) GetStorageName() string
func (*DiskStatisticsResponse_StorageStatus) GetUsed ¶
func (x *DiskStatisticsResponse_StorageStatus) GetUsed() int64
func (*DiskStatisticsResponse_StorageStatus) ProtoMessage ¶
func (*DiskStatisticsResponse_StorageStatus) ProtoMessage()
func (*DiskStatisticsResponse_StorageStatus) ProtoReflect ¶
func (x *DiskStatisticsResponse_StorageStatus) ProtoReflect() protoreflect.Message
func (*DiskStatisticsResponse_StorageStatus) Reset ¶
func (x *DiskStatisticsResponse_StorageStatus) Reset()
func (*DiskStatisticsResponse_StorageStatus) String ¶
func (x *DiskStatisticsResponse_StorageStatus) String() string
type ExitStatus ¶
type ExitStatus struct { // value ... Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
ExitStatus ...
func (*ExitStatus) Descriptor
deprecated
func (*ExitStatus) Descriptor() ([]byte, []int)
Deprecated: Use ExitStatus.ProtoReflect.Descriptor instead.
func (*ExitStatus) GetValue ¶
func (x *ExitStatus) GetValue() int32
func (*ExitStatus) ProtoMessage ¶
func (*ExitStatus) ProtoMessage()
func (*ExitStatus) ProtoReflect ¶
func (x *ExitStatus) ProtoReflect() protoreflect.Message
func (*ExitStatus) Reset ¶
func (x *ExitStatus) Reset()
func (*ExitStatus) String ¶
func (x *ExitStatus) String() string
type ExtractCommitSignatureRequest ¶
type ExtractCommitSignatureRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // commit_id ... CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // contains filtered or unexported fields }
ExtractCommitSignatureRequest ...
func (*ExtractCommitSignatureRequest) Descriptor
deprecated
func (*ExtractCommitSignatureRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExtractCommitSignatureRequest.ProtoReflect.Descriptor instead.
func (*ExtractCommitSignatureRequest) GetCommitId ¶
func (x *ExtractCommitSignatureRequest) GetCommitId() string
func (*ExtractCommitSignatureRequest) GetRepository ¶
func (x *ExtractCommitSignatureRequest) GetRepository() *Repository
func (*ExtractCommitSignatureRequest) ProtoMessage ¶
func (*ExtractCommitSignatureRequest) ProtoMessage()
func (*ExtractCommitSignatureRequest) ProtoReflect ¶
func (x *ExtractCommitSignatureRequest) ProtoReflect() protoreflect.Message
func (*ExtractCommitSignatureRequest) Reset ¶
func (x *ExtractCommitSignatureRequest) Reset()
func (*ExtractCommitSignatureRequest) String ¶
func (x *ExtractCommitSignatureRequest) String() string
type ExtractCommitSignatureResponse ¶
type ExtractCommitSignatureResponse struct { // signature ... Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` // signed_text ... SignedText []byte `protobuf:"bytes,2,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"` // contains filtered or unexported fields }
ExtractCommitSignatureResponse is the response for the ExtractCommitSignature RPC. Either of the 'signature' and 'signed_text' fields may be present. It is up to the caller to stitch them together.
func (*ExtractCommitSignatureResponse) Descriptor
deprecated
func (*ExtractCommitSignatureResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExtractCommitSignatureResponse.ProtoReflect.Descriptor instead.
func (*ExtractCommitSignatureResponse) GetSignature ¶
func (x *ExtractCommitSignatureResponse) GetSignature() []byte
func (*ExtractCommitSignatureResponse) GetSignedText ¶
func (x *ExtractCommitSignatureResponse) GetSignedText() []byte
func (*ExtractCommitSignatureResponse) ProtoMessage ¶
func (*ExtractCommitSignatureResponse) ProtoMessage()
func (*ExtractCommitSignatureResponse) ProtoReflect ¶
func (x *ExtractCommitSignatureResponse) ProtoReflect() protoreflect.Message
func (*ExtractCommitSignatureResponse) Reset ¶
func (x *ExtractCommitSignatureResponse) Reset()
func (*ExtractCommitSignatureResponse) String ¶
func (x *ExtractCommitSignatureResponse) String() string
type FetchBundleRequest ¶
type FetchBundleRequest struct { // repository into which the reference shall be fetched. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // data is the bundle file stream. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // update_head will update HEAD if there is a HEAD reference listed in the bundle UpdateHead bool `protobuf:"varint,3,opt,name=update_head,json=updateHead,proto3" json:"update_head,omitempty"` // contains filtered or unexported fields }
FetchBundleRequest ...
func (*FetchBundleRequest) Descriptor
deprecated
func (*FetchBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchBundleRequest.ProtoReflect.Descriptor instead.
func (*FetchBundleRequest) GetData ¶
func (x *FetchBundleRequest) GetData() []byte
func (*FetchBundleRequest) GetRepository ¶
func (x *FetchBundleRequest) GetRepository() *Repository
func (*FetchBundleRequest) GetUpdateHead ¶
func (x *FetchBundleRequest) GetUpdateHead() bool
func (*FetchBundleRequest) ProtoMessage ¶
func (*FetchBundleRequest) ProtoMessage()
func (*FetchBundleRequest) ProtoReflect ¶
func (x *FetchBundleRequest) ProtoReflect() protoreflect.Message
func (*FetchBundleRequest) Reset ¶
func (x *FetchBundleRequest) Reset()
func (*FetchBundleRequest) String ¶
func (x *FetchBundleRequest) String() string
type FetchBundleResponse ¶
type FetchBundleResponse struct {
// contains filtered or unexported fields
}
FetchBundleResponse ...
func (*FetchBundleResponse) Descriptor
deprecated
func (*FetchBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchBundleResponse.ProtoReflect.Descriptor instead.
func (*FetchBundleResponse) ProtoMessage ¶
func (*FetchBundleResponse) ProtoMessage()
func (*FetchBundleResponse) ProtoReflect ¶
func (x *FetchBundleResponse) ProtoReflect() protoreflect.Message
func (*FetchBundleResponse) Reset ¶
func (x *FetchBundleResponse) Reset()
func (*FetchBundleResponse) String ¶
func (x *FetchBundleResponse) String() string
type FetchIntoObjectPoolRequest ¶
type FetchIntoObjectPoolRequest struct { // origin is the repository to fetch changes from. Origin *Repository `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` // object_pool is the repository to fetch changes into. ObjectPool *ObjectPool `protobuf:"bytes,2,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` // contains filtered or unexported fields }
FetchIntoObjectPoolRequest is a request for the FetchIntoObjectPool RPC.
func (*FetchIntoObjectPoolRequest) Descriptor
deprecated
func (*FetchIntoObjectPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchIntoObjectPoolRequest.ProtoReflect.Descriptor instead.
func (*FetchIntoObjectPoolRequest) GetObjectPool ¶
func (x *FetchIntoObjectPoolRequest) GetObjectPool() *ObjectPool
func (*FetchIntoObjectPoolRequest) GetOrigin ¶
func (x *FetchIntoObjectPoolRequest) GetOrigin() *Repository
func (*FetchIntoObjectPoolRequest) ProtoMessage ¶
func (*FetchIntoObjectPoolRequest) ProtoMessage()
func (*FetchIntoObjectPoolRequest) ProtoReflect ¶
func (x *FetchIntoObjectPoolRequest) ProtoReflect() protoreflect.Message
func (*FetchIntoObjectPoolRequest) Reset ¶
func (x *FetchIntoObjectPoolRequest) Reset()
func (*FetchIntoObjectPoolRequest) String ¶
func (x *FetchIntoObjectPoolRequest) String() string
type FetchIntoObjectPoolResponse ¶
type FetchIntoObjectPoolResponse struct {
// contains filtered or unexported fields
}
FetchIntoObjectPoolResponse is a response for the FetchIntoObjectPool RPC.
func (*FetchIntoObjectPoolResponse) Descriptor
deprecated
func (*FetchIntoObjectPoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchIntoObjectPoolResponse.ProtoReflect.Descriptor instead.
func (*FetchIntoObjectPoolResponse) ProtoMessage ¶
func (*FetchIntoObjectPoolResponse) ProtoMessage()
func (*FetchIntoObjectPoolResponse) ProtoReflect ¶
func (x *FetchIntoObjectPoolResponse) ProtoReflect() protoreflect.Message
func (*FetchIntoObjectPoolResponse) Reset ¶
func (x *FetchIntoObjectPoolResponse) Reset()
func (*FetchIntoObjectPoolResponse) String ¶
func (x *FetchIntoObjectPoolResponse) String() string
type FetchRemoteRequest ¶
type FetchRemoteRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // force determines if references should be force-updated in case they have // diverged. Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` // no_tags determines whether tags should be fetched. NoTags bool `protobuf:"varint,4,opt,name=no_tags,json=noTags,proto3" json:"no_tags,omitempty"` // timeout specifies a timeout for the fetch. Timeout int32 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"` // ssh_key ... SshKey string `protobuf:"bytes,6,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"` // known_hosts ... KnownHosts string `protobuf:"bytes,7,opt,name=known_hosts,json=knownHosts,proto3" json:"known_hosts,omitempty"` // no_prune will the fetch to not prune remote references which do not exist // in the remote repository anymore. NoPrune bool `protobuf:"varint,9,opt,name=no_prune,json=noPrune,proto3" json:"no_prune,omitempty"` // remote_params specifies the remote repository which should be fetched // from. RemoteParams *Remote `protobuf:"bytes,10,opt,name=remote_params,json=remoteParams,proto3" json:"remote_params,omitempty"` // check_tags_changed defined whether to check if any tags were modified, // returning the result in the tags_changed field of FetchRemoteResponse. CheckTagsChanged bool `protobuf:"varint,11,opt,name=check_tags_changed,json=checkTagsChanged,proto3" json:"check_tags_changed,omitempty"` // contains filtered or unexported fields }
FetchRemoteRequest ...
func (*FetchRemoteRequest) Descriptor
deprecated
func (*FetchRemoteRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchRemoteRequest.ProtoReflect.Descriptor instead.
func (*FetchRemoteRequest) GetCheckTagsChanged ¶
func (x *FetchRemoteRequest) GetCheckTagsChanged() bool
func (*FetchRemoteRequest) GetForce ¶
func (x *FetchRemoteRequest) GetForce() bool
func (*FetchRemoteRequest) GetKnownHosts ¶
func (x *FetchRemoteRequest) GetKnownHosts() string
func (*FetchRemoteRequest) GetNoPrune ¶
func (x *FetchRemoteRequest) GetNoPrune() bool
func (*FetchRemoteRequest) GetNoTags ¶
func (x *FetchRemoteRequest) GetNoTags() bool
func (*FetchRemoteRequest) GetRemoteParams ¶
func (x *FetchRemoteRequest) GetRemoteParams() *Remote
func (*FetchRemoteRequest) GetRepository ¶
func (x *FetchRemoteRequest) GetRepository() *Repository
func (*FetchRemoteRequest) GetSshKey ¶
func (x *FetchRemoteRequest) GetSshKey() string
func (*FetchRemoteRequest) GetTimeout ¶
func (x *FetchRemoteRequest) GetTimeout() int32
func (*FetchRemoteRequest) ProtoMessage ¶
func (*FetchRemoteRequest) ProtoMessage()
func (*FetchRemoteRequest) ProtoReflect ¶
func (x *FetchRemoteRequest) ProtoReflect() protoreflect.Message
func (*FetchRemoteRequest) Reset ¶
func (x *FetchRemoteRequest) Reset()
func (*FetchRemoteRequest) String ¶
func (x *FetchRemoteRequest) String() string
type FetchRemoteResponse ¶
type FetchRemoteResponse struct { // tags_changed is set based to true if tags were changed or cannot be determined // and false when no tags were change. It is only calculated when check_tags_changed // was set in the FetchRemoteRequest. TagsChanged bool `protobuf:"varint,1,opt,name=tags_changed,json=tagsChanged,proto3" json:"tags_changed,omitempty"` // contains filtered or unexported fields }
FetchRemoteResponse ...
func (*FetchRemoteResponse) Descriptor
deprecated
func (*FetchRemoteResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchRemoteResponse.ProtoReflect.Descriptor instead.
func (*FetchRemoteResponse) GetTagsChanged ¶
func (x *FetchRemoteResponse) GetTagsChanged() bool
func (*FetchRemoteResponse) ProtoMessage ¶
func (*FetchRemoteResponse) ProtoMessage()
func (*FetchRemoteResponse) ProtoReflect ¶
func (x *FetchRemoteResponse) ProtoReflect() protoreflect.Message
func (*FetchRemoteResponse) Reset ¶
func (x *FetchRemoteResponse) Reset()
func (*FetchRemoteResponse) String ¶
func (x *FetchRemoteResponse) String() string
type FetchSourceBranchRequest ¶
type FetchSourceBranchRequest struct { // repository into which the reference shall be fetched. After a successful // call, it should contain the target reference which points to the same // commit as the source repository's source branch. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // source_repository is the repository from which to fetch the source branch from. SourceRepository *Repository `protobuf:"bytes,2,opt,name=source_repository,json=sourceRepository,proto3" json:"source_repository,omitempty"` // source_branch is the name of the branch in the source repository which should be fetched. SourceBranch []byte `protobuf:"bytes,3,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"` // target_ref is the name of the reference which shall be newly created in the target // repository. TargetRef []byte `protobuf:"bytes,4,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"` // contains filtered or unexported fields }
FetchSourceBranchRequest ...
func (*FetchSourceBranchRequest) Descriptor
deprecated
func (*FetchSourceBranchRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchSourceBranchRequest.ProtoReflect.Descriptor instead.
func (*FetchSourceBranchRequest) GetRepository ¶
func (x *FetchSourceBranchRequest) GetRepository() *Repository
func (*FetchSourceBranchRequest) GetSourceBranch ¶
func (x *FetchSourceBranchRequest) GetSourceBranch() []byte
func (*FetchSourceBranchRequest) GetSourceRepository ¶
func (x *FetchSourceBranchRequest) GetSourceRepository() *Repository
func (*FetchSourceBranchRequest) GetTargetRef ¶
func (x *FetchSourceBranchRequest) GetTargetRef() []byte
func (*FetchSourceBranchRequest) ProtoMessage ¶
func (*FetchSourceBranchRequest) ProtoMessage()
func (*FetchSourceBranchRequest) ProtoReflect ¶
func (x *FetchSourceBranchRequest) ProtoReflect() protoreflect.Message
func (*FetchSourceBranchRequest) Reset ¶
func (x *FetchSourceBranchRequest) Reset()
func (*FetchSourceBranchRequest) String ¶
func (x *FetchSourceBranchRequest) String() string
type FetchSourceBranchResponse ¶
type FetchSourceBranchResponse struct { // result denotes if the source branch was successfully fetched into the target // repository. It is false if resolving the remote reference or fetching it failed. Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
FetchSourceBranchResponse ...
func (*FetchSourceBranchResponse) Descriptor
deprecated
func (*FetchSourceBranchResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchSourceBranchResponse.ProtoReflect.Descriptor instead.
func (*FetchSourceBranchResponse) GetResult ¶
func (x *FetchSourceBranchResponse) GetResult() bool
func (*FetchSourceBranchResponse) ProtoMessage ¶
func (*FetchSourceBranchResponse) ProtoMessage()
func (*FetchSourceBranchResponse) ProtoReflect ¶
func (x *FetchSourceBranchResponse) ProtoReflect() protoreflect.Message
func (*FetchSourceBranchResponse) Reset ¶
func (x *FetchSourceBranchResponse) Reset()
func (*FetchSourceBranchResponse) String ¶
func (x *FetchSourceBranchResponse) String() string
type FilterShasWithSignaturesRequest ¶
type FilterShasWithSignaturesRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // shas ... Shas [][]byte `protobuf:"bytes,2,rep,name=shas,proto3" json:"shas,omitempty"` // contains filtered or unexported fields }
FilterShasWithSignaturesRequest ...
func (*FilterShasWithSignaturesRequest) Descriptor
deprecated
func (*FilterShasWithSignaturesRequest) Descriptor() ([]byte, []int)
Deprecated: Use FilterShasWithSignaturesRequest.ProtoReflect.Descriptor instead.
func (*FilterShasWithSignaturesRequest) GetRepository ¶
func (x *FilterShasWithSignaturesRequest) GetRepository() *Repository
func (*FilterShasWithSignaturesRequest) GetShas ¶
func (x *FilterShasWithSignaturesRequest) GetShas() [][]byte
func (*FilterShasWithSignaturesRequest) ProtoMessage ¶
func (*FilterShasWithSignaturesRequest) ProtoMessage()
func (*FilterShasWithSignaturesRequest) ProtoReflect ¶
func (x *FilterShasWithSignaturesRequest) ProtoReflect() protoreflect.Message
func (*FilterShasWithSignaturesRequest) Reset ¶
func (x *FilterShasWithSignaturesRequest) Reset()
func (*FilterShasWithSignaturesRequest) String ¶
func (x *FilterShasWithSignaturesRequest) String() string
type FilterShasWithSignaturesResponse ¶
type FilterShasWithSignaturesResponse struct { // shas ... Shas [][]byte `protobuf:"bytes,1,rep,name=shas,proto3" json:"shas,omitempty"` // contains filtered or unexported fields }
FilterShasWithSignaturesResponse ...
func (*FilterShasWithSignaturesResponse) Descriptor
deprecated
func (*FilterShasWithSignaturesResponse) Descriptor() ([]byte, []int)
Deprecated: Use FilterShasWithSignaturesResponse.ProtoReflect.Descriptor instead.
func (*FilterShasWithSignaturesResponse) GetShas ¶
func (x *FilterShasWithSignaturesResponse) GetShas() [][]byte
func (*FilterShasWithSignaturesResponse) ProtoMessage ¶
func (*FilterShasWithSignaturesResponse) ProtoMessage()
func (*FilterShasWithSignaturesResponse) ProtoReflect ¶
func (x *FilterShasWithSignaturesResponse) ProtoReflect() protoreflect.Message
func (*FilterShasWithSignaturesResponse) Reset ¶
func (x *FilterShasWithSignaturesResponse) Reset()
func (*FilterShasWithSignaturesResponse) String ¶
func (x *FilterShasWithSignaturesResponse) String() string
type FindAllBranchesRequest ¶
type FindAllBranchesRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // merged_only if set, will only return branches that are merged into root ref. MergedOnly bool `protobuf:"varint,2,opt,name=merged_only,json=mergedOnly,proto3" json:"merged_only,omitempty"` // merged_branches is the list of branches from which we return those merged into // the root ref. Used only when merged_only is set to true. MergedBranches [][]byte `protobuf:"bytes,3,rep,name=merged_branches,json=mergedBranches,proto3" json:"merged_branches,omitempty"` // contains filtered or unexported fields }
FindAllBranchesRequest ...
func (*FindAllBranchesRequest) Descriptor
deprecated
func (*FindAllBranchesRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindAllBranchesRequest.ProtoReflect.Descriptor instead.
func (*FindAllBranchesRequest) GetMergedBranches ¶
func (x *FindAllBranchesRequest) GetMergedBranches() [][]byte
func (*FindAllBranchesRequest) GetMergedOnly ¶
func (x *FindAllBranchesRequest) GetMergedOnly() bool
func (*FindAllBranchesRequest) GetRepository ¶
func (x *FindAllBranchesRequest) GetRepository() *Repository
func (*FindAllBranchesRequest) ProtoMessage ¶
func (*FindAllBranchesRequest) ProtoMessage()
func (*FindAllBranchesRequest) ProtoReflect ¶
func (x *FindAllBranchesRequest) ProtoReflect() protoreflect.Message
func (*FindAllBranchesRequest) Reset ¶
func (x *FindAllBranchesRequest) Reset()
func (*FindAllBranchesRequest) String ¶
func (x *FindAllBranchesRequest) String() string
type FindAllBranchesResponse ¶
type FindAllBranchesResponse struct { // branches ... Branches []*FindAllBranchesResponse_Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` // contains filtered or unexported fields }
FindAllBranchesResponse ...
func (*FindAllBranchesResponse) Descriptor
deprecated
func (*FindAllBranchesResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindAllBranchesResponse.ProtoReflect.Descriptor instead.
func (*FindAllBranchesResponse) GetBranches ¶
func (x *FindAllBranchesResponse) GetBranches() []*FindAllBranchesResponse_Branch
func (*FindAllBranchesResponse) ProtoMessage ¶
func (*FindAllBranchesResponse) ProtoMessage()
func (*FindAllBranchesResponse) ProtoReflect ¶
func (x *FindAllBranchesResponse) ProtoReflect() protoreflect.Message
func (*FindAllBranchesResponse) Reset ¶
func (x *FindAllBranchesResponse) Reset()
func (*FindAllBranchesResponse) String ¶
func (x *FindAllBranchesResponse) String() string
type FindAllBranchesResponse_Branch ¶
type FindAllBranchesResponse_Branch struct { // name ... Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // target ... Target *GitCommit `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
Branch ...
func (*FindAllBranchesResponse_Branch) Descriptor
deprecated
func (*FindAllBranchesResponse_Branch) Descriptor() ([]byte, []int)
Deprecated: Use FindAllBranchesResponse_Branch.ProtoReflect.Descriptor instead.
func (*FindAllBranchesResponse_Branch) GetName ¶
func (x *FindAllBranchesResponse_Branch) GetName() []byte
func (*FindAllBranchesResponse_Branch) GetTarget ¶
func (x *FindAllBranchesResponse_Branch) GetTarget() *GitCommit
func (*FindAllBranchesResponse_Branch) ProtoMessage ¶
func (*FindAllBranchesResponse_Branch) ProtoMessage()
func (*FindAllBranchesResponse_Branch) ProtoReflect ¶
func (x *FindAllBranchesResponse_Branch) ProtoReflect() protoreflect.Message
func (*FindAllBranchesResponse_Branch) Reset ¶
func (x *FindAllBranchesResponse_Branch) Reset()
func (*FindAllBranchesResponse_Branch) String ¶
func (x *FindAllBranchesResponse_Branch) String() string
type FindAllCommitsRequest ¶
type FindAllCommitsRequest struct { // repository is the repository from which we will list the commits. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revision is the commitish which is the starting point for the traversal. When nil, // return all commits reachable by any branch in the repo. Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // max_count is the maximum number of commits to list. MaxCount int32 `protobuf:"varint,3,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` // skip is the number of commits to skip before starting to show the // commit output. Skip int32 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"` // order is the order in which commits should be traversed. Refer to // the enum's documentation for further information. Order FindAllCommitsRequest_Order `protobuf:"varint,5,opt,name=order,proto3,enum=gitaly.FindAllCommitsRequest_Order" json:"order,omitempty"` // contains filtered or unexported fields }
FindAllCommitsRequest is the request for the FindAllCommits RPC.
func (*FindAllCommitsRequest) Descriptor
deprecated
func (*FindAllCommitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindAllCommitsRequest.ProtoReflect.Descriptor instead.
func (*FindAllCommitsRequest) GetMaxCount ¶
func (x *FindAllCommitsRequest) GetMaxCount() int32
func (*FindAllCommitsRequest) GetOrder ¶
func (x *FindAllCommitsRequest) GetOrder() FindAllCommitsRequest_Order
func (*FindAllCommitsRequest) GetRepository ¶
func (x *FindAllCommitsRequest) GetRepository() *Repository
func (*FindAllCommitsRequest) GetRevision ¶
func (x *FindAllCommitsRequest) GetRevision() []byte
func (*FindAllCommitsRequest) GetSkip ¶
func (x *FindAllCommitsRequest) GetSkip() int32
func (*FindAllCommitsRequest) ProtoMessage ¶
func (*FindAllCommitsRequest) ProtoMessage()
func (*FindAllCommitsRequest) ProtoReflect ¶
func (x *FindAllCommitsRequest) ProtoReflect() protoreflect.Message
func (*FindAllCommitsRequest) Reset ¶
func (x *FindAllCommitsRequest) Reset()
func (*FindAllCommitsRequest) String ¶
func (x *FindAllCommitsRequest) String() string
type FindAllCommitsRequest_Order ¶
type FindAllCommitsRequest_Order int32
Order is the order in which commits shoud be traversed.
const ( // NONE denotes the default ordering where the commits are shown in // reverse chronological order. FindAllCommitsRequest_NONE FindAllCommitsRequest_Order = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // TOPO order will cause no parents to be shown before all of its children // are shown. Furthermore, multiple lines of history will not be // intermixed. FindAllCommitsRequest_TOPO FindAllCommitsRequest_Order = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // DATE order will cause no parents to be shown before all of its children // are shown. Otherwise, commits are shown in commit timestamp order. This // can cause history to be shown intermixed. FindAllCommitsRequest_DATE FindAllCommitsRequest_Order = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (FindAllCommitsRequest_Order) Descriptor ¶
func (FindAllCommitsRequest_Order) Descriptor() protoreflect.EnumDescriptor
func (FindAllCommitsRequest_Order) Enum ¶
func (x FindAllCommitsRequest_Order) Enum() *FindAllCommitsRequest_Order
func (FindAllCommitsRequest_Order) EnumDescriptor
deprecated
func (FindAllCommitsRequest_Order) EnumDescriptor() ([]byte, []int)
Deprecated: Use FindAllCommitsRequest_Order.Descriptor instead.
func (FindAllCommitsRequest_Order) Number ¶
func (x FindAllCommitsRequest_Order) Number() protoreflect.EnumNumber
func (FindAllCommitsRequest_Order) String ¶
func (x FindAllCommitsRequest_Order) String() string
func (FindAllCommitsRequest_Order) Type ¶
func (FindAllCommitsRequest_Order) Type() protoreflect.EnumType
type FindAllCommitsResponse ¶
type FindAllCommitsResponse struct { // commits is a list of commits produced as per the request. Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` // contains filtered or unexported fields }
FindAllCommitsResponse is the response for the FindAllCommits RPC. The response will be chunked into multiple message if the returned data exceeds gRPC message limits.
func (*FindAllCommitsResponse) Descriptor
deprecated
func (*FindAllCommitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindAllCommitsResponse.ProtoReflect.Descriptor instead.
func (*FindAllCommitsResponse) GetCommits ¶
func (x *FindAllCommitsResponse) GetCommits() []*GitCommit
func (*FindAllCommitsResponse) ProtoMessage ¶
func (*FindAllCommitsResponse) ProtoMessage()
func (*FindAllCommitsResponse) ProtoReflect ¶
func (x *FindAllCommitsResponse) ProtoReflect() protoreflect.Message
func (*FindAllCommitsResponse) Reset ¶
func (x *FindAllCommitsResponse) Reset()
func (*FindAllCommitsResponse) String ¶
func (x *FindAllCommitsResponse) String() string
type FindAllRemoteBranchesRequest ¶
type FindAllRemoteBranchesRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // remote_name ... RemoteName string `protobuf:"bytes,2,opt,name=remote_name,json=remoteName,proto3" json:"remote_name,omitempty"` // contains filtered or unexported fields }
FindAllRemoteBranchesRequest ...
func (*FindAllRemoteBranchesRequest) Descriptor
deprecated
func (*FindAllRemoteBranchesRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindAllRemoteBranchesRequest.ProtoReflect.Descriptor instead.
func (*FindAllRemoteBranchesRequest) GetRemoteName ¶
func (x *FindAllRemoteBranchesRequest) GetRemoteName() string
func (*FindAllRemoteBranchesRequest) GetRepository ¶
func (x *FindAllRemoteBranchesRequest) GetRepository() *Repository
func (*FindAllRemoteBranchesRequest) ProtoMessage ¶
func (*FindAllRemoteBranchesRequest) ProtoMessage()
func (*FindAllRemoteBranchesRequest) ProtoReflect ¶
func (x *FindAllRemoteBranchesRequest) ProtoReflect() protoreflect.Message
func (*FindAllRemoteBranchesRequest) Reset ¶
func (x *FindAllRemoteBranchesRequest) Reset()
func (*FindAllRemoteBranchesRequest) String ¶
func (x *FindAllRemoteBranchesRequest) String() string
type FindAllRemoteBranchesResponse ¶
type FindAllRemoteBranchesResponse struct { // branches ... Branches []*Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` // contains filtered or unexported fields }
FindAllRemoteBranchesResponse ...
func (*FindAllRemoteBranchesResponse) Descriptor
deprecated
func (*FindAllRemoteBranchesResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindAllRemoteBranchesResponse.ProtoReflect.Descriptor instead.
func (*FindAllRemoteBranchesResponse) GetBranches ¶
func (x *FindAllRemoteBranchesResponse) GetBranches() []*Branch
func (*FindAllRemoteBranchesResponse) ProtoMessage ¶
func (*FindAllRemoteBranchesResponse) ProtoMessage()
func (*FindAllRemoteBranchesResponse) ProtoReflect ¶
func (x *FindAllRemoteBranchesResponse) ProtoReflect() protoreflect.Message
func (*FindAllRemoteBranchesResponse) Reset ¶
func (x *FindAllRemoteBranchesResponse) Reset()
func (*FindAllRemoteBranchesResponse) String ¶
func (x *FindAllRemoteBranchesResponse) String() string
type FindAllTagsRequest ¶
type FindAllTagsRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // sort_by allows to request tags in particular order. SortBy *FindAllTagsRequest_SortBy `protobuf:"bytes,2,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` // pagination_paramsi is used for pagination of the objects. // The page token is the tags name, with the `refs/tags/` prefix, for // example "refs/tags/v1.0.0". When the tag name matches the page token, // the tag following it will be the first result send as part of the response. PaginationParams *PaginationParameter `protobuf:"bytes,3,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` // contains filtered or unexported fields }
FindAllTagsRequest ...
func (*FindAllTagsRequest) Descriptor
deprecated
func (*FindAllTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindAllTagsRequest.ProtoReflect.Descriptor instead.
func (*FindAllTagsRequest) GetPaginationParams ¶
func (x *FindAllTagsRequest) GetPaginationParams() *PaginationParameter
func (*FindAllTagsRequest) GetRepository ¶
func (x *FindAllTagsRequest) GetRepository() *Repository
func (*FindAllTagsRequest) GetSortBy ¶
func (x *FindAllTagsRequest) GetSortBy() *FindAllTagsRequest_SortBy
func (*FindAllTagsRequest) ProtoMessage ¶
func (*FindAllTagsRequest) ProtoMessage()
func (*FindAllTagsRequest) ProtoReflect ¶
func (x *FindAllTagsRequest) ProtoReflect() protoreflect.Message
func (*FindAllTagsRequest) Reset ¶
func (x *FindAllTagsRequest) Reset()
func (*FindAllTagsRequest) String ¶
func (x *FindAllTagsRequest) String() string
type FindAllTagsRequest_SortBy ¶
type FindAllTagsRequest_SortBy struct { // key ... Key FindAllTagsRequest_SortBy_Key `protobuf:"varint,1,opt,name=key,proto3,enum=gitaly.FindAllTagsRequest_SortBy_Key" json:"key,omitempty"` // direction ... Direction SortDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=gitaly.SortDirection" json:"direction,omitempty"` // contains filtered or unexported fields }
SortBy allows to specify desired order of the elements.
func (*FindAllTagsRequest_SortBy) Descriptor
deprecated
func (*FindAllTagsRequest_SortBy) Descriptor() ([]byte, []int)
Deprecated: Use FindAllTagsRequest_SortBy.ProtoReflect.Descriptor instead.
func (*FindAllTagsRequest_SortBy) GetDirection ¶
func (x *FindAllTagsRequest_SortBy) GetDirection() SortDirection
func (*FindAllTagsRequest_SortBy) GetKey ¶
func (x *FindAllTagsRequest_SortBy) GetKey() FindAllTagsRequest_SortBy_Key
func (*FindAllTagsRequest_SortBy) ProtoMessage ¶
func (*FindAllTagsRequest_SortBy) ProtoMessage()
func (*FindAllTagsRequest_SortBy) ProtoReflect ¶
func (x *FindAllTagsRequest_SortBy) ProtoReflect() protoreflect.Message
func (*FindAllTagsRequest_SortBy) Reset ¶
func (x *FindAllTagsRequest_SortBy) Reset()
func (*FindAllTagsRequest_SortBy) String ¶
func (x *FindAllTagsRequest_SortBy) String() string
type FindAllTagsRequest_SortBy_Key ¶
type FindAllTagsRequest_SortBy_Key int32
Key is a key used for sorting.
const ( // REFNAME ... FindAllTagsRequest_SortBy_REFNAME FindAllTagsRequest_SortBy_Key = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // CREATORDATE ... FindAllTagsRequest_SortBy_CREATORDATE FindAllTagsRequest_SortBy_Key = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // VERSION_REFNAME sorts tags by their semantic versions (https://semver.org/). // tag names that are not semantic versions are sorted lexicographically. They come before // the semantic versions if the direction is ascending and after the semantic versions if // the direction is descending. FindAllTagsRequest_SortBy_VERSION_REFNAME FindAllTagsRequest_SortBy_Key = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (FindAllTagsRequest_SortBy_Key) Descriptor ¶
func (FindAllTagsRequest_SortBy_Key) Descriptor() protoreflect.EnumDescriptor
func (FindAllTagsRequest_SortBy_Key) Enum ¶
func (x FindAllTagsRequest_SortBy_Key) Enum() *FindAllTagsRequest_SortBy_Key
func (FindAllTagsRequest_SortBy_Key) EnumDescriptor
deprecated
func (FindAllTagsRequest_SortBy_Key) EnumDescriptor() ([]byte, []int)
Deprecated: Use FindAllTagsRequest_SortBy_Key.Descriptor instead.
func (FindAllTagsRequest_SortBy_Key) Number ¶
func (x FindAllTagsRequest_SortBy_Key) Number() protoreflect.EnumNumber
func (FindAllTagsRequest_SortBy_Key) String ¶
func (x FindAllTagsRequest_SortBy_Key) String() string
func (FindAllTagsRequest_SortBy_Key) Type ¶
func (FindAllTagsRequest_SortBy_Key) Type() protoreflect.EnumType
type FindAllTagsResponse ¶
type FindAllTagsResponse struct { // tags ... Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
FindAllTagsResponse ...
func (*FindAllTagsResponse) Descriptor
deprecated
func (*FindAllTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindAllTagsResponse.ProtoReflect.Descriptor instead.
func (*FindAllTagsResponse) GetTags ¶
func (x *FindAllTagsResponse) GetTags() []*Tag
func (*FindAllTagsResponse) ProtoMessage ¶
func (*FindAllTagsResponse) ProtoMessage()
func (*FindAllTagsResponse) ProtoReflect ¶
func (x *FindAllTagsResponse) ProtoReflect() protoreflect.Message
func (*FindAllTagsResponse) Reset ¶
func (x *FindAllTagsResponse) Reset()
func (*FindAllTagsResponse) String ¶
func (x *FindAllTagsResponse) String() string
type FindBranchRequest ¶
type FindBranchRequest struct { // repository is the repository in which the branch should be looked up. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // name is the name of the branch which should be looked up. This must be the // branch name only, it must not have the "refs/heads/" prefix. Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
FindBranchRequest ...
func (*FindBranchRequest) Descriptor
deprecated
func (*FindBranchRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindBranchRequest.ProtoReflect.Descriptor instead.
func (*FindBranchRequest) GetName ¶
func (x *FindBranchRequest) GetName() []byte
func (*FindBranchRequest) GetRepository ¶
func (x *FindBranchRequest) GetRepository() *Repository
func (*FindBranchRequest) ProtoMessage ¶
func (*FindBranchRequest) ProtoMessage()
func (*FindBranchRequest) ProtoReflect ¶
func (x *FindBranchRequest) ProtoReflect() protoreflect.Message
func (*FindBranchRequest) Reset ¶
func (x *FindBranchRequest) Reset()
func (*FindBranchRequest) String ¶
func (x *FindBranchRequest) String() string
type FindBranchResponse ¶
type FindBranchResponse struct { // branch ... Branch *Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` // contains filtered or unexported fields }
FindBranchResponse ...
func (*FindBranchResponse) Descriptor
deprecated
func (*FindBranchResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindBranchResponse.ProtoReflect.Descriptor instead.
func (*FindBranchResponse) GetBranch ¶
func (x *FindBranchResponse) GetBranch() *Branch
func (*FindBranchResponse) ProtoMessage ¶
func (*FindBranchResponse) ProtoMessage()
func (*FindBranchResponse) ProtoReflect ¶
func (x *FindBranchResponse) ProtoReflect() protoreflect.Message
func (*FindBranchResponse) Reset ¶
func (x *FindBranchResponse) Reset()
func (*FindBranchResponse) String ¶
func (x *FindBranchResponse) String() string
type FindChangedPathsRequest ¶
type FindChangedPathsRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // commits is the list of commits to compare to their parents. This field is deprecated. To adapt to the new calling // convention you can create one `CommitRequest` per commit, where each `CommitRequest` has only the `commit_revision` // field. // // Deprecated: Marked as deprecated in diff.proto. Commits []string `protobuf:"bytes,2,rep,name=commits,proto3" json:"commits,omitempty"` // requests specifies the requests of what to compare. Requests []*FindChangedPathsRequest_Request `protobuf:"bytes,3,rep,name=requests,proto3" json:"requests,omitempty"` // merge_commit_diff_mode controls how merge commits are treated. MergeCommitDiffMode FindChangedPathsRequest_MergeCommitDiffMode `` /* 179-byte string literal not displayed */ // contains filtered or unexported fields }
FindChangedPathsRequest is the request for the FindChangedPaths RPC. Given a list of commits, return the files changed. Each commit is compared to its parent. Merge commits will show files which are different to all of its parents.
func (*FindChangedPathsRequest) Descriptor
deprecated
func (*FindChangedPathsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindChangedPathsRequest.ProtoReflect.Descriptor instead.
func (*FindChangedPathsRequest) GetCommits
deprecated
func (x *FindChangedPathsRequest) GetCommits() []string
Deprecated: Marked as deprecated in diff.proto.
func (*FindChangedPathsRequest) GetMergeCommitDiffMode ¶
func (x *FindChangedPathsRequest) GetMergeCommitDiffMode() FindChangedPathsRequest_MergeCommitDiffMode
func (*FindChangedPathsRequest) GetRepository ¶
func (x *FindChangedPathsRequest) GetRepository() *Repository
func (*FindChangedPathsRequest) GetRequests ¶
func (x *FindChangedPathsRequest) GetRequests() []*FindChangedPathsRequest_Request
func (*FindChangedPathsRequest) ProtoMessage ¶
func (*FindChangedPathsRequest) ProtoMessage()
func (*FindChangedPathsRequest) ProtoReflect ¶
func (x *FindChangedPathsRequest) ProtoReflect() protoreflect.Message
func (*FindChangedPathsRequest) Reset ¶
func (x *FindChangedPathsRequest) Reset()
func (*FindChangedPathsRequest) String ¶
func (x *FindChangedPathsRequest) String() string
type FindChangedPathsRequest_MergeCommitDiffMode ¶
type FindChangedPathsRequest_MergeCommitDiffMode int32
MergeCommitDiffMode controls which mode to use to produce diff output for merge commits
const ( // MERGE_COMMIT_DIFF_MODE_UNSPECIFIED is the default value. // It is equivalent to DIFF_MODE_INCLUDE_MERGES. FindChangedPathsRequest_MERGE_COMMIT_DIFF_MODE_UNSPECIFIED FindChangedPathsRequest_MergeCommitDiffMode = 0 // MERGE_COMMIT_DIFF_MODE_INCLUDE_MERGES tells git to also show differences for merge commits. // Please refer to the documentation of the `-m` flag of git-diff-tree(1). FindChangedPathsRequest_MERGE_COMMIT_DIFF_MODE_INCLUDE_MERGES FindChangedPathsRequest_MergeCommitDiffMode = 1 // MERGE_COMMIT_DIFF_MODE_ALL_PARENTS tells git to only show differences for // files which were modified from all parents. // Please refer to the documentation of the `-c` flag of git-diff-tree(1). FindChangedPathsRequest_MERGE_COMMIT_DIFF_MODE_ALL_PARENTS FindChangedPathsRequest_MergeCommitDiffMode = 2 )
func (FindChangedPathsRequest_MergeCommitDiffMode) Descriptor ¶
func (FindChangedPathsRequest_MergeCommitDiffMode) Descriptor() protoreflect.EnumDescriptor
func (FindChangedPathsRequest_MergeCommitDiffMode) EnumDescriptor
deprecated
func (FindChangedPathsRequest_MergeCommitDiffMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use FindChangedPathsRequest_MergeCommitDiffMode.Descriptor instead.
func (FindChangedPathsRequest_MergeCommitDiffMode) Number ¶
func (x FindChangedPathsRequest_MergeCommitDiffMode) Number() protoreflect.EnumNumber
func (FindChangedPathsRequest_MergeCommitDiffMode) String ¶
func (x FindChangedPathsRequest_MergeCommitDiffMode) String() string
func (FindChangedPathsRequest_MergeCommitDiffMode) Type ¶
func (FindChangedPathsRequest_MergeCommitDiffMode) Type() protoreflect.EnumType
type FindChangedPathsRequest_Request ¶
type FindChangedPathsRequest_Request struct { // Types that are assignable to Type: // // *FindChangedPathsRequest_Request_TreeRequest_ // *FindChangedPathsRequest_Request_CommitRequest_ Type isFindChangedPathsRequest_Request_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Request is a single request to pass to git diff-tree.
func (*FindChangedPathsRequest_Request) Descriptor
deprecated
func (*FindChangedPathsRequest_Request) Descriptor() ([]byte, []int)
Deprecated: Use FindChangedPathsRequest_Request.ProtoReflect.Descriptor instead.
func (*FindChangedPathsRequest_Request) GetCommitRequest ¶
func (x *FindChangedPathsRequest_Request) GetCommitRequest() *FindChangedPathsRequest_Request_CommitRequest
func (*FindChangedPathsRequest_Request) GetTreeRequest ¶
func (x *FindChangedPathsRequest_Request) GetTreeRequest() *FindChangedPathsRequest_Request_TreeRequest
func (*FindChangedPathsRequest_Request) GetType ¶
func (m *FindChangedPathsRequest_Request) GetType() isFindChangedPathsRequest_Request_Type
func (*FindChangedPathsRequest_Request) ProtoMessage ¶
func (*FindChangedPathsRequest_Request) ProtoMessage()
func (*FindChangedPathsRequest_Request) ProtoReflect ¶
func (x *FindChangedPathsRequest_Request) ProtoReflect() protoreflect.Message
func (*FindChangedPathsRequest_Request) Reset ¶
func (x *FindChangedPathsRequest_Request) Reset()
func (*FindChangedPathsRequest_Request) String ¶
func (x *FindChangedPathsRequest_Request) String() string
type FindChangedPathsRequest_Request_CommitRequest ¶
type FindChangedPathsRequest_Request_CommitRequest struct { // commit_revision is the revision of the commit that should be compared. If no `parent_commit_revisions` // are given, then the commit will be compared against its parents. The revision needs to peel to a // commit object. CommitRevision string `protobuf:"bytes,1,opt,name=commit_revision,json=commitRevision,proto3" json:"commit_revision,omitempty"` // parent_commit_revisions are the revisions of commits to treat as the commit's parents. This is an // optional field: if not specified, the actual parents of the commit referred to by `commit_revision` // are used. ParentCommitRevisions []string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
CommitRequest compares a commit to its parents (or some other commits.)
func (*FindChangedPathsRequest_Request_CommitRequest) Descriptor
deprecated
func (*FindChangedPathsRequest_Request_CommitRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindChangedPathsRequest_Request_CommitRequest.ProtoReflect.Descriptor instead.
func (*FindChangedPathsRequest_Request_CommitRequest) GetCommitRevision ¶
func (x *FindChangedPathsRequest_Request_CommitRequest) GetCommitRevision() string
func (*FindChangedPathsRequest_Request_CommitRequest) GetParentCommitRevisions ¶
func (x *FindChangedPathsRequest_Request_CommitRequest) GetParentCommitRevisions() []string
func (*FindChangedPathsRequest_Request_CommitRequest) ProtoMessage ¶
func (*FindChangedPathsRequest_Request_CommitRequest) ProtoMessage()
func (*FindChangedPathsRequest_Request_CommitRequest) ProtoReflect ¶
func (x *FindChangedPathsRequest_Request_CommitRequest) ProtoReflect() protoreflect.Message
func (*FindChangedPathsRequest_Request_CommitRequest) Reset ¶
func (x *FindChangedPathsRequest_Request_CommitRequest) Reset()
func (*FindChangedPathsRequest_Request_CommitRequest) String ¶
func (x *FindChangedPathsRequest_Request_CommitRequest) String() string
type FindChangedPathsRequest_Request_CommitRequest_ ¶
type FindChangedPathsRequest_Request_CommitRequest_ struct { // commit_request is a request comparing one or more commits with each other. CommitRequest *FindChangedPathsRequest_Request_CommitRequest `protobuf:"bytes,2,opt,name=commit_request,json=commitRequest,proto3,oneof"` }
type FindChangedPathsRequest_Request_TreeRequest ¶
type FindChangedPathsRequest_Request_TreeRequest struct { // left_tree_revision is the revision of the left tree to compare. Accepts any revision that // peels to a tree object. LeftTreeRevision string `protobuf:"bytes,1,opt,name=left_tree_revision,json=leftTreeRevision,proto3" json:"left_tree_revision,omitempty"` // right_tree_revision is the revision of the right tree to compare. Accepts any revision that // peels to a tree object. RightTreeRevision string `protobuf:"bytes,2,opt,name=right_tree_revision,json=rightTreeRevision,proto3" json:"right_tree_revision,omitempty"` // contains filtered or unexported fields }
TreeRequest compares two trees.
func (*FindChangedPathsRequest_Request_TreeRequest) Descriptor
deprecated
func (*FindChangedPathsRequest_Request_TreeRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindChangedPathsRequest_Request_TreeRequest.ProtoReflect.Descriptor instead.
func (*FindChangedPathsRequest_Request_TreeRequest) GetLeftTreeRevision ¶
func (x *FindChangedPathsRequest_Request_TreeRequest) GetLeftTreeRevision() string
func (*FindChangedPathsRequest_Request_TreeRequest) GetRightTreeRevision ¶
func (x *FindChangedPathsRequest_Request_TreeRequest) GetRightTreeRevision() string
func (*FindChangedPathsRequest_Request_TreeRequest) ProtoMessage ¶
func (*FindChangedPathsRequest_Request_TreeRequest) ProtoMessage()
func (*FindChangedPathsRequest_Request_TreeRequest) ProtoReflect ¶
func (x *FindChangedPathsRequest_Request_TreeRequest) ProtoReflect() protoreflect.Message
func (*FindChangedPathsRequest_Request_TreeRequest) Reset ¶
func (x *FindChangedPathsRequest_Request_TreeRequest) Reset()
func (*FindChangedPathsRequest_Request_TreeRequest) String ¶
func (x *FindChangedPathsRequest_Request_TreeRequest) String() string
type FindChangedPathsRequest_Request_TreeRequest_ ¶
type FindChangedPathsRequest_Request_TreeRequest_ struct { // tree_request is a request comparing two trees with each other. TreeRequest *FindChangedPathsRequest_Request_TreeRequest `protobuf:"bytes,1,opt,name=tree_request,json=treeRequest,proto3,oneof"` }
type FindChangedPathsResponse ¶
type FindChangedPathsResponse struct { // paths contains the attributes for one changed file. In case of merge // commits, or when comparing three or more commits, a file might be included // more than once if it was changed between multiple commits. Paths []*ChangedPaths `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
FindChangedPathsResponse is the response for the FindChangedPaths RPC. Returns a list of files that have been changed in the commits given.
func (*FindChangedPathsResponse) Descriptor
deprecated
func (*FindChangedPathsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindChangedPathsResponse.ProtoReflect.Descriptor instead.
func (*FindChangedPathsResponse) GetPaths ¶
func (x *FindChangedPathsResponse) GetPaths() []*ChangedPaths
func (*FindChangedPathsResponse) ProtoMessage ¶
func (*FindChangedPathsResponse) ProtoMessage()
func (*FindChangedPathsResponse) ProtoReflect ¶
func (x *FindChangedPathsResponse) ProtoReflect() protoreflect.Message
func (*FindChangedPathsResponse) Reset ¶
func (x *FindChangedPathsResponse) Reset()
func (*FindChangedPathsResponse) String ¶
func (x *FindChangedPathsResponse) String() string
type FindCommitRequest ¶
type FindCommitRequest struct { // repository is the repository in which we want to find the commit. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revision is a commitish which is to be resolved to a commit. Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // trailers if set, parses and adds the trailing information of the commit. Trailers bool `protobuf:"varint,3,opt,name=trailers,proto3" json:"trailers,omitempty"` // contains filtered or unexported fields }
FindCommitRequest is the request for the FindCommit RPC.
func (*FindCommitRequest) Descriptor
deprecated
func (*FindCommitRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindCommitRequest.ProtoReflect.Descriptor instead.
func (*FindCommitRequest) GetRepository ¶
func (x *FindCommitRequest) GetRepository() *Repository
func (*FindCommitRequest) GetRevision ¶
func (x *FindCommitRequest) GetRevision() []byte
func (*FindCommitRequest) GetTrailers ¶
func (x *FindCommitRequest) GetTrailers() bool
func (*FindCommitRequest) ProtoMessage ¶
func (*FindCommitRequest) ProtoMessage()
func (*FindCommitRequest) ProtoReflect ¶
func (x *FindCommitRequest) ProtoReflect() protoreflect.Message
func (*FindCommitRequest) Reset ¶
func (x *FindCommitRequest) Reset()
func (*FindCommitRequest) String ¶
func (x *FindCommitRequest) String() string
type FindCommitResponse ¶
type FindCommitResponse struct { // commit is the requested commit, it is nil when the commit was not found. Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
FindCommitResponse is the request for the FindCommit RPC. Returns empty response if the commit is not found.
func (*FindCommitResponse) Descriptor
deprecated
func (*FindCommitResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindCommitResponse.ProtoReflect.Descriptor instead.
func (*FindCommitResponse) GetCommit ¶
func (x *FindCommitResponse) GetCommit() *GitCommit
func (*FindCommitResponse) ProtoMessage ¶
func (*FindCommitResponse) ProtoMessage()
func (*FindCommitResponse) ProtoReflect ¶
func (x *FindCommitResponse) ProtoReflect() protoreflect.Message
func (*FindCommitResponse) Reset ¶
func (x *FindCommitResponse) Reset()
func (*FindCommitResponse) String ¶
func (x *FindCommitResponse) String() string
type FindCommitsRequest ¶
type FindCommitsRequest struct { // repository is the repository from which the commits are listed. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revision is a commitish against which the commits for the provided // paths are listed. If there is no revision provided, the default branch // is considered. It is mutually exclusive with the `All` option. Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // limit is maximum number of commits to list. Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // offset is the number of commits to skip before starting the traversal. Offset int32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"` // paths is a list of non-empty paths for which we want to list commits. Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"` // follow is used to list the history of a file beyond renames (works only for // a single file). Follow bool `protobuf:"varint,6,opt,name=follow,proto3" json:"follow,omitempty"` // skip_merges is used to skip merge commits. SkipMerges bool `protobuf:"varint,7,opt,name=skip_merges,json=skipMerges,proto3" json:"skip_merges,omitempty"` // disable_walk is no longer supported. // // Deprecated: Marked as deprecated in commit.proto. DisableWalk bool `protobuf:"varint,8,opt,name=disable_walk,json=disableWalk,proto3" json:"disable_walk,omitempty"` // after will only list commits which are more recent than the specified date. After *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=after,proto3" json:"after,omitempty"` // before will only list commits which are older than the specified date. Before *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=before,proto3" json:"before,omitempty"` // all is used to consider all refs (including HEAD) as the start point for the traversal. // All and Revision options are mutually exclusive. All bool `protobuf:"varint,11,opt,name=all,proto3" json:"all,omitempty"` // first_parent ensures that only the first parent commit is followed in the traversal. FirstParent bool `protobuf:"varint,12,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"` // author will only list commits whose author matches the given pattern, // which is a regular expression. Author []byte `protobuf:"bytes,13,opt,name=author,proto3" json:"author,omitempty"` // order is the order in which commits should be traversed. Please refer to // the enum's documentation for further information. Order FindCommitsRequest_Order `protobuf:"varint,14,opt,name=order,proto3,enum=gitaly.FindCommitsRequest_Order" json:"order,omitempty"` // global_options contains the global options used to modify the behaviour of Git. GlobalOptions *GlobalOptions `protobuf:"bytes,15,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` // trailers if set, parses and adds the trailing information of the commit. Trailers bool `protobuf:"varint,16,opt,name=trailers,proto3" json:"trailers,omitempty"` // include_shortstat determines whether to include the number of lines and files // changed in the commits. Populates the `ShortStats` field. IncludeShortstat bool `protobuf:"varint,17,opt,name=include_shortstat,json=includeShortstat,proto3" json:"include_shortstat,omitempty"` // include_referenced_by determines whether to include references that point to a // commit in the response. The field contains patterns that are matched against // references. Only matching references are included in the response. For // example, one can get tags pointing to a commit with `refs/tags`, or branches // respectively with `refs/heads`. By sending both, the response will include all // references that match either pattern. IncludeReferencedBy [][]byte `protobuf:"bytes,18,rep,name=include_referenced_by,json=includeReferencedBy,proto3" json:"include_referenced_by,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED // contains filtered or unexported fields }
FindCommitsRequest is the request for the FindCommits RPC.
func (*FindCommitsRequest) Descriptor
deprecated
func (*FindCommitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindCommitsRequest.ProtoReflect.Descriptor instead.
func (*FindCommitsRequest) GetAfter ¶
func (x *FindCommitsRequest) GetAfter() *timestamppb.Timestamp
func (*FindCommitsRequest) GetAll ¶
func (x *FindCommitsRequest) GetAll() bool
func (*FindCommitsRequest) GetAuthor ¶
func (x *FindCommitsRequest) GetAuthor() []byte
func (*FindCommitsRequest) GetBefore ¶
func (x *FindCommitsRequest) GetBefore() *timestamppb.Timestamp
func (*FindCommitsRequest) GetDisableWalk
deprecated
func (x *FindCommitsRequest) GetDisableWalk() bool
Deprecated: Marked as deprecated in commit.proto.
func (*FindCommitsRequest) GetFirstParent ¶
func (x *FindCommitsRequest) GetFirstParent() bool
func (*FindCommitsRequest) GetFollow ¶
func (x *FindCommitsRequest) GetFollow() bool
func (*FindCommitsRequest) GetGlobalOptions ¶
func (x *FindCommitsRequest) GetGlobalOptions() *GlobalOptions
func (*FindCommitsRequest) GetIncludeReferencedBy ¶
func (x *FindCommitsRequest) GetIncludeReferencedBy() [][]byte
func (*FindCommitsRequest) GetIncludeShortstat ¶
func (x *FindCommitsRequest) GetIncludeShortstat() bool
func (*FindCommitsRequest) GetLimit ¶
func (x *FindCommitsRequest) GetLimit() int32
func (*FindCommitsRequest) GetOffset ¶
func (x *FindCommitsRequest) GetOffset() int32
func (*FindCommitsRequest) GetOrder ¶
func (x *FindCommitsRequest) GetOrder() FindCommitsRequest_Order
func (*FindCommitsRequest) GetPaths ¶
func (x *FindCommitsRequest) GetPaths() [][]byte
func (*FindCommitsRequest) GetRepository ¶
func (x *FindCommitsRequest) GetRepository() *Repository
func (*FindCommitsRequest) GetRevision ¶
func (x *FindCommitsRequest) GetRevision() []byte
func (*FindCommitsRequest) GetSkipMerges ¶
func (x *FindCommitsRequest) GetSkipMerges() bool
func (*FindCommitsRequest) GetTrailers ¶
func (x *FindCommitsRequest) GetTrailers() bool
func (*FindCommitsRequest) ProtoMessage ¶
func (*FindCommitsRequest) ProtoMessage()
func (*FindCommitsRequest) ProtoReflect ¶
func (x *FindCommitsRequest) ProtoReflect() protoreflect.Message
func (*FindCommitsRequest) Reset ¶
func (x *FindCommitsRequest) Reset()
func (*FindCommitsRequest) String ¶
func (x *FindCommitsRequest) String() string
type FindCommitsRequest_Order ¶
type FindCommitsRequest_Order int32
Order is the order in which commits shoud be traversed.
const ( // NONE defaults to reverse chronological order. FindCommitsRequest_NONE FindCommitsRequest_Order = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // TOPO order will cause no parents to be shown before all of its children // are shown. Furthermore, multiple lines of history will not be // intermixed. FindCommitsRequest_TOPO FindCommitsRequest_Order = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (FindCommitsRequest_Order) Descriptor ¶
func (FindCommitsRequest_Order) Descriptor() protoreflect.EnumDescriptor
func (FindCommitsRequest_Order) Enum ¶
func (x FindCommitsRequest_Order) Enum() *FindCommitsRequest_Order
func (FindCommitsRequest_Order) EnumDescriptor
deprecated
func (FindCommitsRequest_Order) EnumDescriptor() ([]byte, []int)
Deprecated: Use FindCommitsRequest_Order.Descriptor instead.
func (FindCommitsRequest_Order) Number ¶
func (x FindCommitsRequest_Order) Number() protoreflect.EnumNumber
func (FindCommitsRequest_Order) String ¶
func (x FindCommitsRequest_Order) String() string
func (FindCommitsRequest_Order) Type ¶
func (FindCommitsRequest_Order) Type() protoreflect.EnumType
type FindCommitsResponse ¶
type FindCommitsResponse struct { // commits is a list of commits produced as per the request. Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` // contains filtered or unexported fields }
FindCommitsResponse is the response for the FindCommits RPC. The response will be chunked into multiple message if the returned data exceeds gRPC message limits.
func (*FindCommitsResponse) Descriptor
deprecated
func (*FindCommitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindCommitsResponse.ProtoReflect.Descriptor instead.
func (*FindCommitsResponse) GetCommits ¶
func (x *FindCommitsResponse) GetCommits() []*GitCommit
func (*FindCommitsResponse) ProtoMessage ¶
func (*FindCommitsResponse) ProtoMessage()
func (*FindCommitsResponse) ProtoReflect ¶
func (x *FindCommitsResponse) ProtoReflect() protoreflect.Message
func (*FindCommitsResponse) Reset ¶
func (x *FindCommitsResponse) Reset()
func (*FindCommitsResponse) String ¶
func (x *FindCommitsResponse) String() string
type FindDefaultBranchNameRequest ¶
type FindDefaultBranchNameRequest struct { // repository is the repository to find the default branch from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // head_only when true will determine the default branch using HEAD only // instead of using the heuristic. The returned reference may not exist. HeadOnly bool `protobuf:"varint,2,opt,name=head_only,json=headOnly,proto3" json:"head_only,omitempty"` // contains filtered or unexported fields }
FindDefaultBranchNameRequest is the request for the FindDefaultBranchName RPC.
func (*FindDefaultBranchNameRequest) Descriptor
deprecated
func (*FindDefaultBranchNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindDefaultBranchNameRequest.ProtoReflect.Descriptor instead.
func (*FindDefaultBranchNameRequest) GetHeadOnly ¶ added in v16.1.0
func (x *FindDefaultBranchNameRequest) GetHeadOnly() bool
func (*FindDefaultBranchNameRequest) GetRepository ¶
func (x *FindDefaultBranchNameRequest) GetRepository() *Repository
func (*FindDefaultBranchNameRequest) ProtoMessage ¶
func (*FindDefaultBranchNameRequest) ProtoMessage()
func (*FindDefaultBranchNameRequest) ProtoReflect ¶
func (x *FindDefaultBranchNameRequest) ProtoReflect() protoreflect.Message
func (*FindDefaultBranchNameRequest) Reset ¶
func (x *FindDefaultBranchNameRequest) Reset()
func (*FindDefaultBranchNameRequest) String ¶
func (x *FindDefaultBranchNameRequest) String() string
type FindDefaultBranchNameResponse ¶
type FindDefaultBranchNameResponse struct { // name is the fully qualified default branch name. Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
FindDefaultBranchNameResponse is the response for the FindDefaultBranchName RPC.
func (*FindDefaultBranchNameResponse) Descriptor
deprecated
func (*FindDefaultBranchNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindDefaultBranchNameResponse.ProtoReflect.Descriptor instead.
func (*FindDefaultBranchNameResponse) GetName ¶
func (x *FindDefaultBranchNameResponse) GetName() []byte
func (*FindDefaultBranchNameResponse) ProtoMessage ¶
func (*FindDefaultBranchNameResponse) ProtoMessage()
func (*FindDefaultBranchNameResponse) ProtoReflect ¶
func (x *FindDefaultBranchNameResponse) ProtoReflect() protoreflect.Message
func (*FindDefaultBranchNameResponse) Reset ¶
func (x *FindDefaultBranchNameResponse) Reset()
func (*FindDefaultBranchNameResponse) String ¶
func (x *FindDefaultBranchNameResponse) String() string
type FindLicenseRequest ¶
type FindLicenseRequest struct { // repository is repository where to detect the license. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
FindLicenseRequest asks to detect the license for the given repository.
func (*FindLicenseRequest) Descriptor
deprecated
func (*FindLicenseRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindLicenseRequest.ProtoReflect.Descriptor instead.
func (*FindLicenseRequest) GetRepository ¶
func (x *FindLicenseRequest) GetRepository() *Repository
func (*FindLicenseRequest) ProtoMessage ¶
func (*FindLicenseRequest) ProtoMessage()
func (*FindLicenseRequest) ProtoReflect ¶
func (x *FindLicenseRequest) ProtoReflect() protoreflect.Message
func (*FindLicenseRequest) Reset ¶
func (x *FindLicenseRequest) Reset()
func (*FindLicenseRequest) String ¶
func (x *FindLicenseRequest) String() string
type FindLicenseResponse ¶
type FindLicenseResponse struct { // license_short_name is the license unique SPDX identifier or a short name. // It is always returned lower-cased. LicenseShortName string `protobuf:"bytes,1,opt,name=license_short_name,json=licenseShortName,proto3" json:"license_short_name,omitempty"` // license_name is the license full name. LicenseName string `protobuf:"bytes,2,opt,name=license_name,json=licenseName,proto3" json:"license_name,omitempty"` // license_url is a URL to the license on the internet. LicenseUrl string `protobuf:"bytes,3,opt,name=license_url,json=licenseUrl,proto3" json:"license_url,omitempty"` // license_path is a path to the file that contains the text of the license. // When a LICENSE file is found containing the filename of another file, // that filename will be returned, for example "mit.txt". LicensePath string `protobuf:"bytes,4,opt,name=license_path,json=licensePath,proto3" json:"license_path,omitempty"` // license_nickname is a shortened full name for better readability. // It exists only for a small set of licenses and an empty value is returned in most cases. LicenseNickname string `protobuf:"bytes,5,opt,name=license_nickname,json=licenseNickname,proto3" json:"license_nickname,omitempty"` // contains filtered or unexported fields }
FindLicenseResponse contains the result of detecting the license used in the repository. If there is nothing that looks like a license file, the empty response is returned. If there is something that looks like a license, but that license can't be found in the list of known licenses, we return a pre-defined response with "Other" license.
func (*FindLicenseResponse) Descriptor
deprecated
func (*FindLicenseResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindLicenseResponse.ProtoReflect.Descriptor instead.
func (*FindLicenseResponse) GetLicenseName ¶
func (x *FindLicenseResponse) GetLicenseName() string
func (*FindLicenseResponse) GetLicenseNickname ¶
func (x *FindLicenseResponse) GetLicenseNickname() string
func (*FindLicenseResponse) GetLicensePath ¶
func (x *FindLicenseResponse) GetLicensePath() string
func (*FindLicenseResponse) GetLicenseShortName ¶
func (x *FindLicenseResponse) GetLicenseShortName() string
func (*FindLicenseResponse) GetLicenseUrl ¶
func (x *FindLicenseResponse) GetLicenseUrl() string
func (*FindLicenseResponse) ProtoMessage ¶
func (*FindLicenseResponse) ProtoMessage()
func (*FindLicenseResponse) ProtoReflect ¶
func (x *FindLicenseResponse) ProtoReflect() protoreflect.Message
func (*FindLicenseResponse) Reset ¶
func (x *FindLicenseResponse) Reset()
func (*FindLicenseResponse) String ¶
func (x *FindLicenseResponse) String() string
type FindLocalBranchesRequest ¶
type FindLocalBranchesRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // sort_by ... SortBy FindLocalBranchesRequest_SortBy `protobuf:"varint,2,opt,name=sort_by,json=sortBy,proto3,enum=gitaly.FindLocalBranchesRequest_SortBy" json:"sort_by,omitempty"` // pagination_params is used for pagination of the objects. // The page token is the branch name, with the `refs/heads/` prefix, for // example "refs/heads/master". After the first branch name is encountered // which lexicographically exceeds the page token, it will be the first result // send as part of the response. PaginationParams *PaginationParameter `protobuf:"bytes,3,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` // contains filtered or unexported fields }
FindLocalBranchesRequest ...
func (*FindLocalBranchesRequest) Descriptor
deprecated
func (*FindLocalBranchesRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindLocalBranchesRequest.ProtoReflect.Descriptor instead.
func (*FindLocalBranchesRequest) GetPaginationParams ¶
func (x *FindLocalBranchesRequest) GetPaginationParams() *PaginationParameter
func (*FindLocalBranchesRequest) GetRepository ¶
func (x *FindLocalBranchesRequest) GetRepository() *Repository
func (*FindLocalBranchesRequest) GetSortBy ¶
func (x *FindLocalBranchesRequest) GetSortBy() FindLocalBranchesRequest_SortBy
func (*FindLocalBranchesRequest) ProtoMessage ¶
func (*FindLocalBranchesRequest) ProtoMessage()
func (*FindLocalBranchesRequest) ProtoReflect ¶
func (x *FindLocalBranchesRequest) ProtoReflect() protoreflect.Message
func (*FindLocalBranchesRequest) Reset ¶
func (x *FindLocalBranchesRequest) Reset()
func (*FindLocalBranchesRequest) String ¶
func (x *FindLocalBranchesRequest) String() string
type FindLocalBranchesRequest_SortBy ¶
type FindLocalBranchesRequest_SortBy int32
SortBy ...
const ( // NAME ... FindLocalBranchesRequest_NAME FindLocalBranchesRequest_SortBy = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // UPDATED_ASC ... FindLocalBranchesRequest_UPDATED_ASC FindLocalBranchesRequest_SortBy = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // UPDATED_DESC ... FindLocalBranchesRequest_UPDATED_DESC FindLocalBranchesRequest_SortBy = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (FindLocalBranchesRequest_SortBy) Descriptor ¶
func (FindLocalBranchesRequest_SortBy) Descriptor() protoreflect.EnumDescriptor
func (FindLocalBranchesRequest_SortBy) Enum ¶
func (x FindLocalBranchesRequest_SortBy) Enum() *FindLocalBranchesRequest_SortBy
func (FindLocalBranchesRequest_SortBy) EnumDescriptor
deprecated
func (FindLocalBranchesRequest_SortBy) EnumDescriptor() ([]byte, []int)
Deprecated: Use FindLocalBranchesRequest_SortBy.Descriptor instead.
func (FindLocalBranchesRequest_SortBy) Number ¶
func (x FindLocalBranchesRequest_SortBy) Number() protoreflect.EnumNumber
func (FindLocalBranchesRequest_SortBy) String ¶
func (x FindLocalBranchesRequest_SortBy) String() string
func (FindLocalBranchesRequest_SortBy) Type ¶
func (FindLocalBranchesRequest_SortBy) Type() protoreflect.EnumType
type FindLocalBranchesResponse ¶
type FindLocalBranchesResponse struct { // local_branches ... LocalBranches []*Branch `protobuf:"bytes,2,rep,name=local_branches,json=localBranches,proto3" json:"local_branches,omitempty"` // contains filtered or unexported fields }
FindLocalBranchesResponse ...
func (*FindLocalBranchesResponse) Descriptor
deprecated
func (*FindLocalBranchesResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindLocalBranchesResponse.ProtoReflect.Descriptor instead.
func (*FindLocalBranchesResponse) GetLocalBranches ¶
func (x *FindLocalBranchesResponse) GetLocalBranches() []*Branch
func (*FindLocalBranchesResponse) ProtoMessage ¶
func (*FindLocalBranchesResponse) ProtoMessage()
func (*FindLocalBranchesResponse) ProtoReflect ¶
func (x *FindLocalBranchesResponse) ProtoReflect() protoreflect.Message
func (*FindLocalBranchesResponse) Reset ¶
func (x *FindLocalBranchesResponse) Reset()
func (*FindLocalBranchesResponse) String ¶
func (x *FindLocalBranchesResponse) String() string
type FindMergeBaseRequest ¶
type FindMergeBaseRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revisions is the revisions to find the merge base for. // We use a repeated field because rugged supports finding a base // for more than 2 revisions, so if we needed that in the future we don't // need to change the protocol. Revisions [][]byte `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` // contains filtered or unexported fields }
FindMergeBaseRequest ...
func (*FindMergeBaseRequest) Descriptor
deprecated
func (*FindMergeBaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindMergeBaseRequest.ProtoReflect.Descriptor instead.
func (*FindMergeBaseRequest) GetRepository ¶
func (x *FindMergeBaseRequest) GetRepository() *Repository
func (*FindMergeBaseRequest) GetRevisions ¶
func (x *FindMergeBaseRequest) GetRevisions() [][]byte
func (*FindMergeBaseRequest) ProtoMessage ¶
func (*FindMergeBaseRequest) ProtoMessage()
func (*FindMergeBaseRequest) ProtoReflect ¶
func (x *FindMergeBaseRequest) ProtoReflect() protoreflect.Message
func (*FindMergeBaseRequest) Reset ¶
func (x *FindMergeBaseRequest) Reset()
func (*FindMergeBaseRequest) String ¶
func (x *FindMergeBaseRequest) String() string
type FindMergeBaseResponse ¶
type FindMergeBaseResponse struct { // base ... Base string `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` // contains filtered or unexported fields }
FindMergeBaseResponse ...
func (*FindMergeBaseResponse) Descriptor
deprecated
func (*FindMergeBaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindMergeBaseResponse.ProtoReflect.Descriptor instead.
func (*FindMergeBaseResponse) GetBase ¶
func (x *FindMergeBaseResponse) GetBase() string
func (*FindMergeBaseResponse) ProtoMessage ¶
func (*FindMergeBaseResponse) ProtoMessage()
func (*FindMergeBaseResponse) ProtoReflect ¶
func (x *FindMergeBaseResponse) ProtoReflect() protoreflect.Message
func (*FindMergeBaseResponse) Reset ¶
func (x *FindMergeBaseResponse) Reset()
func (*FindMergeBaseResponse) String ¶
func (x *FindMergeBaseResponse) String() string
type FindRefsByOIDRequest ¶
type FindRefsByOIDRequest struct { // repository is the repository in which references will be looked for. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // oid is an object ID to find references for. Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` // ref_patterns can be one of branch name, tag name or fully qualified ref name. // Providing more than one pattern will yield refs that match any of the given patterns. // If left empty, defaults to "refs/heads/" and "refs/tags/" RefPatterns []string `protobuf:"bytes,3,rep,name=ref_patterns,json=refPatterns,proto3" json:"ref_patterns,omitempty"` // sort_field determines the sort order of the resulting refs. // If left empty, defaults to "refname" (lexicographic refname order) SortField string `protobuf:"bytes,4,opt,name=sort_field,json=sortField,proto3" json:"sort_field,omitempty"` // limit limits the amount of results returned. 0 means no limit. Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
FindRefsByOIDRequest ...
func (*FindRefsByOIDRequest) Descriptor
deprecated
func (*FindRefsByOIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindRefsByOIDRequest.ProtoReflect.Descriptor instead.
func (*FindRefsByOIDRequest) GetLimit ¶
func (x *FindRefsByOIDRequest) GetLimit() uint32
func (*FindRefsByOIDRequest) GetOid ¶
func (x *FindRefsByOIDRequest) GetOid() string
func (*FindRefsByOIDRequest) GetRefPatterns ¶
func (x *FindRefsByOIDRequest) GetRefPatterns() []string
func (*FindRefsByOIDRequest) GetRepository ¶
func (x *FindRefsByOIDRequest) GetRepository() *Repository
func (*FindRefsByOIDRequest) GetSortField ¶
func (x *FindRefsByOIDRequest) GetSortField() string
func (*FindRefsByOIDRequest) ProtoMessage ¶
func (*FindRefsByOIDRequest) ProtoMessage()
func (*FindRefsByOIDRequest) ProtoReflect ¶
func (x *FindRefsByOIDRequest) ProtoReflect() protoreflect.Message
func (*FindRefsByOIDRequest) Reset ¶
func (x *FindRefsByOIDRequest) Reset()
func (*FindRefsByOIDRequest) String ¶
func (x *FindRefsByOIDRequest) String() string
type FindRefsByOIDResponse ¶
type FindRefsByOIDResponse struct { // refs is the set of fully-qualified references which have been found. Refs []string `protobuf:"bytes,1,rep,name=refs,proto3" json:"refs,omitempty"` // contains filtered or unexported fields }
FindRefsByOIDResponse ...
func (*FindRefsByOIDResponse) Descriptor
deprecated
func (*FindRefsByOIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindRefsByOIDResponse.ProtoReflect.Descriptor instead.
func (*FindRefsByOIDResponse) GetRefs ¶
func (x *FindRefsByOIDResponse) GetRefs() []string
func (*FindRefsByOIDResponse) ProtoMessage ¶
func (*FindRefsByOIDResponse) ProtoMessage()
func (*FindRefsByOIDResponse) ProtoReflect ¶
func (x *FindRefsByOIDResponse) ProtoReflect() protoreflect.Message
func (*FindRefsByOIDResponse) Reset ¶
func (x *FindRefsByOIDResponse) Reset()
func (*FindRefsByOIDResponse) String ¶
func (x *FindRefsByOIDResponse) String() string
type FindRemoteRepositoryRequest ¶
type FindRemoteRepositoryRequest struct { // remote ... Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` // storage_name is used to redirect request to proper storage where it can be handled. // As of now it doesn't matter what storage will be used, but it still must be a valid. // For more details: https://gitlab.com/gitlab-org/gitaly/-/issues/2442 StorageName string `protobuf:"bytes,2,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` // contains filtered or unexported fields }
FindRemoteRepositoryRequest ...
func (*FindRemoteRepositoryRequest) Descriptor
deprecated
func (*FindRemoteRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindRemoteRepositoryRequest.ProtoReflect.Descriptor instead.
func (*FindRemoteRepositoryRequest) GetRemote ¶
func (x *FindRemoteRepositoryRequest) GetRemote() string
func (*FindRemoteRepositoryRequest) GetStorageName ¶
func (x *FindRemoteRepositoryRequest) GetStorageName() string
func (*FindRemoteRepositoryRequest) ProtoMessage ¶
func (*FindRemoteRepositoryRequest) ProtoMessage()
func (*FindRemoteRepositoryRequest) ProtoReflect ¶
func (x *FindRemoteRepositoryRequest) ProtoReflect() protoreflect.Message
func (*FindRemoteRepositoryRequest) Reset ¶
func (x *FindRemoteRepositoryRequest) Reset()
func (*FindRemoteRepositoryRequest) String ¶
func (x *FindRemoteRepositoryRequest) String() string
type FindRemoteRepositoryResponse ¶
type FindRemoteRepositoryResponse struct { // exists ... Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
FindRemoteRepositoryResponse ... This migth throw a GRPC Unavailable code, to signal the request failure is transient.
func (*FindRemoteRepositoryResponse) Descriptor
deprecated
func (*FindRemoteRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindRemoteRepositoryResponse.ProtoReflect.Descriptor instead.
func (*FindRemoteRepositoryResponse) GetExists ¶
func (x *FindRemoteRepositoryResponse) GetExists() bool
func (*FindRemoteRepositoryResponse) ProtoMessage ¶
func (*FindRemoteRepositoryResponse) ProtoMessage()
func (*FindRemoteRepositoryResponse) ProtoReflect ¶
func (x *FindRemoteRepositoryResponse) ProtoReflect() protoreflect.Message
func (*FindRemoteRepositoryResponse) Reset ¶
func (x *FindRemoteRepositoryResponse) Reset()
func (*FindRemoteRepositoryResponse) String ¶
func (x *FindRemoteRepositoryResponse) String() string
type FindRemoteRootRefRequest ¶
type FindRemoteRootRefRequest struct { // repository is the repository in which the request shall be executed in. If // a remote name is given, then this is the repository in which the remote // will be looked up. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // remote_url specifies the remote repository URL which should be fetched from. RemoteUrl string `protobuf:"bytes,3,opt,name=remote_url,json=remoteUrl,proto3" json:"remote_url,omitempty"` // http_authorization_header is the HTTP header which should be added to the // request in order to authenticate against the repository. HttpAuthorizationHeader string `` /* 132-byte string literal not displayed */ // resolved_address holds the resolved IP address of the remote_url. This is // used to avoid DNS rebinding by mapping the url to the resolved address. // Only IPv4 dotted decimal ("192.0.2.1"), IPv6 ("2001:db8::68"), or IPv4-mapped // IPv6 ("::ffff:192.0.2.1") forms are supported. // Works with HTTP/HTTPS/Git/SSH protocols. // Optional. ResolvedAddress string `protobuf:"bytes,6,opt,name=resolved_address,json=resolvedAddress,proto3" json:"resolved_address,omitempty"` // contains filtered or unexported fields }
FindRemoteRootRefRequest represents a request for the FindRemoteRootRef RPC.
func (*FindRemoteRootRefRequest) Descriptor
deprecated
func (*FindRemoteRootRefRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindRemoteRootRefRequest.ProtoReflect.Descriptor instead.
func (*FindRemoteRootRefRequest) GetHttpAuthorizationHeader ¶
func (x *FindRemoteRootRefRequest) GetHttpAuthorizationHeader() string
func (*FindRemoteRootRefRequest) GetRemoteUrl ¶
func (x *FindRemoteRootRefRequest) GetRemoteUrl() string
func (*FindRemoteRootRefRequest) GetRepository ¶
func (x *FindRemoteRootRefRequest) GetRepository() *Repository
func (*FindRemoteRootRefRequest) GetResolvedAddress ¶
func (x *FindRemoteRootRefRequest) GetResolvedAddress() string
func (*FindRemoteRootRefRequest) ProtoMessage ¶
func (*FindRemoteRootRefRequest) ProtoMessage()
func (*FindRemoteRootRefRequest) ProtoReflect ¶
func (x *FindRemoteRootRefRequest) ProtoReflect() protoreflect.Message
func (*FindRemoteRootRefRequest) Reset ¶
func (x *FindRemoteRootRefRequest) Reset()
func (*FindRemoteRootRefRequest) String ¶
func (x *FindRemoteRootRefRequest) String() string
type FindRemoteRootRefResponse ¶
type FindRemoteRootRefResponse struct { // ref is the name of the remote root reference. Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
FindRemoteRootRefResponse represents the response for the FindRemoteRootRef request.
func (*FindRemoteRootRefResponse) Descriptor
deprecated
func (*FindRemoteRootRefResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindRemoteRootRefResponse.ProtoReflect.Descriptor instead.
func (*FindRemoteRootRefResponse) GetRef ¶
func (x *FindRemoteRootRefResponse) GetRef() string
func (*FindRemoteRootRefResponse) ProtoMessage ¶
func (*FindRemoteRootRefResponse) ProtoMessage()
func (*FindRemoteRootRefResponse) ProtoReflect ¶
func (x *FindRemoteRootRefResponse) ProtoReflect() protoreflect.Message
func (*FindRemoteRootRefResponse) Reset ¶
func (x *FindRemoteRootRefResponse) Reset()
func (*FindRemoteRootRefResponse) String ¶
func (x *FindRemoteRootRefResponse) String() string
type FindTagError ¶
type FindTagError struct { // Types that are assignable to Error: // // *FindTagError_TagNotFound Error isFindTagError_Error `protobuf_oneof:"error"` // contains filtered or unexported fields }
FindTagError is an error that will be returned by the FindTag RPC under specific error conditions.
func (*FindTagError) Descriptor
deprecated
func (*FindTagError) Descriptor() ([]byte, []int)
Deprecated: Use FindTagError.ProtoReflect.Descriptor instead.
func (*FindTagError) GetError ¶
func (m *FindTagError) GetError() isFindTagError_Error
func (*FindTagError) GetTagNotFound ¶
func (x *FindTagError) GetTagNotFound() *ReferenceNotFoundError
func (*FindTagError) ProtoMessage ¶
func (*FindTagError) ProtoMessage()
func (*FindTagError) ProtoReflect ¶
func (x *FindTagError) ProtoReflect() protoreflect.Message
func (*FindTagError) Reset ¶
func (x *FindTagError) Reset()
func (*FindTagError) String ¶
func (x *FindTagError) String() string
type FindTagError_TagNotFound ¶
type FindTagError_TagNotFound struct { // tag_not_found indicates that the tag was not found. TagNotFound *ReferenceNotFoundError `protobuf:"bytes,1,opt,name=tag_not_found,json=tagNotFound,proto3,oneof"` }
type FindTagRequest ¶
type FindTagRequest struct { // repository is the repository to look up the tag in. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // tag_name is the name of the tag that should be looked up. The caller is supposed to pass in the // tag name only, so if e.g. a tag `refs/tags/v1.0.0` exists, then the caller should pass `v1.0.0` // as argument. TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` // contains filtered or unexported fields }
FindTagRequest is a request for the FindTag RPC.
func (*FindTagRequest) Descriptor
deprecated
func (*FindTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindTagRequest.ProtoReflect.Descriptor instead.
func (*FindTagRequest) GetRepository ¶
func (x *FindTagRequest) GetRepository() *Repository
func (*FindTagRequest) GetTagName ¶
func (x *FindTagRequest) GetTagName() []byte
func (*FindTagRequest) ProtoMessage ¶
func (*FindTagRequest) ProtoMessage()
func (*FindTagRequest) ProtoReflect ¶
func (x *FindTagRequest) ProtoReflect() protoreflect.Message
func (*FindTagRequest) Reset ¶
func (x *FindTagRequest) Reset()
func (*FindTagRequest) String ¶
func (x *FindTagRequest) String() string
type FindTagResponse ¶
type FindTagResponse struct { // tag is the tag that was found. Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
FindTagResponse is a response for the FindTag RPC.
func (*FindTagResponse) Descriptor
deprecated
func (*FindTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindTagResponse.ProtoReflect.Descriptor instead.
func (*FindTagResponse) GetTag ¶
func (x *FindTagResponse) GetTag() *Tag
func (*FindTagResponse) ProtoMessage ¶
func (*FindTagResponse) ProtoMessage()
func (*FindTagResponse) ProtoReflect ¶
func (x *FindTagResponse) ProtoReflect() protoreflect.Message
func (*FindTagResponse) Reset ¶
func (x *FindTagResponse) Reset()
func (*FindTagResponse) String ¶
func (x *FindTagResponse) String() string
type FsckRequest ¶
type FsckRequest struct { // repository is the repository that shall be checked for consistency. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
FsckRequest is a request for the Fsck RPC.
func (*FsckRequest) Descriptor
deprecated
func (*FsckRequest) Descriptor() ([]byte, []int)
Deprecated: Use FsckRequest.ProtoReflect.Descriptor instead.
func (*FsckRequest) GetRepository ¶
func (x *FsckRequest) GetRepository() *Repository
func (*FsckRequest) ProtoMessage ¶
func (*FsckRequest) ProtoMessage()
func (*FsckRequest) ProtoReflect ¶
func (x *FsckRequest) ProtoReflect() protoreflect.Message
func (*FsckRequest) Reset ¶
func (x *FsckRequest) Reset()
func (*FsckRequest) String ¶
func (x *FsckRequest) String() string
type FsckResponse ¶
type FsckResponse struct { // error contains both stdout and stderr of git-fsck(1) in case it returned an error. Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
FsckResponse is a response for the Fsck RPC.
func (*FsckResponse) Descriptor
deprecated
func (*FsckResponse) Descriptor() ([]byte, []int)
Deprecated: Use FsckResponse.ProtoReflect.Descriptor instead.
func (*FsckResponse) GetError ¶
func (x *FsckResponse) GetError() []byte
func (*FsckResponse) ProtoMessage ¶
func (*FsckResponse) ProtoMessage()
func (*FsckResponse) ProtoReflect ¶
func (x *FsckResponse) ProtoReflect() protoreflect.Message
func (*FsckResponse) Reset ¶
func (x *FsckResponse) Reset()
func (*FsckResponse) String ¶
func (x *FsckResponse) String() string
type FullPathRequest ¶
type FullPathRequest struct { // repository is the repository whose gitconfig should be read. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
FullPathRequest is a request for the FullPath RPC.
func (*FullPathRequest) Descriptor
deprecated
func (*FullPathRequest) Descriptor() ([]byte, []int)
Deprecated: Use FullPathRequest.ProtoReflect.Descriptor instead.
func (*FullPathRequest) GetRepository ¶
func (x *FullPathRequest) GetRepository() *Repository
func (*FullPathRequest) ProtoMessage ¶
func (*FullPathRequest) ProtoMessage()
func (*FullPathRequest) ProtoReflect ¶
func (x *FullPathRequest) ProtoReflect() protoreflect.Message
func (*FullPathRequest) Reset ¶
func (x *FullPathRequest) Reset()
func (*FullPathRequest) String ¶
func (x *FullPathRequest) String() string
type FullPathResponse ¶
type FullPathResponse struct { // path read from the "gitlab.fullpath" config key. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
FullPathResponse is a response for the SetFullPath RPC.
func (*FullPathResponse) Descriptor
deprecated
func (*FullPathResponse) Descriptor() ([]byte, []int)
Deprecated: Use FullPathResponse.ProtoReflect.Descriptor instead.
func (*FullPathResponse) GetPath ¶
func (x *FullPathResponse) GetPath() string
func (*FullPathResponse) ProtoMessage ¶
func (*FullPathResponse) ProtoMessage()
func (*FullPathResponse) ProtoReflect ¶
func (x *FullPathResponse) ProtoReflect() protoreflect.Message
func (*FullPathResponse) Reset ¶
func (x *FullPathResponse) Reset()
func (*FullPathResponse) String ¶
func (x *FullPathResponse) String() string
type GetArchiveRequest ¶
type GetArchiveRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // commit_id ... CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // prefix ... Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` // format ... Format GetArchiveRequest_Format `protobuf:"varint,4,opt,name=format,proto3,enum=gitaly.GetArchiveRequest_Format" json:"format,omitempty"` // path ... Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` // exclude ... Exclude [][]byte `protobuf:"bytes,6,rep,name=exclude,proto3" json:"exclude,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED // elide_path whether to elide subdirectories. If it is true and `path` refers // to a subdirectory, that subdirectory will be elided from archive entries. // For example, if `dir` contains `README.md`, with `elide_path = false` the // corresponding entry will be `dir/README.md`; with `elide_path = true`, the // entry will be `README.md`. `elide_path` has no effect if `path` refers to the // repository root. `elide_path = true` is not supported if `path` refers to a file. ElidePath bool `protobuf:"varint,7,opt,name=elide_path,json=elidePath,proto3" json:"elide_path,omitempty"` // include_lfs_blobs ... IncludeLfsBlobs bool `protobuf:"varint,8,opt,name=include_lfs_blobs,json=includeLfsBlobs,proto3" json:"include_lfs_blobs,omitempty"` // contains filtered or unexported fields }
GetArchiveRequest ...
func (*GetArchiveRequest) Descriptor
deprecated
func (*GetArchiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetArchiveRequest.ProtoReflect.Descriptor instead.
func (*GetArchiveRequest) GetCommitId ¶
func (x *GetArchiveRequest) GetCommitId() string
func (*GetArchiveRequest) GetElidePath ¶
func (x *GetArchiveRequest) GetElidePath() bool
func (*GetArchiveRequest) GetExclude ¶
func (x *GetArchiveRequest) GetExclude() [][]byte
func (*GetArchiveRequest) GetFormat ¶
func (x *GetArchiveRequest) GetFormat() GetArchiveRequest_Format
func (*GetArchiveRequest) GetIncludeLfsBlobs ¶
func (x *GetArchiveRequest) GetIncludeLfsBlobs() bool
func (*GetArchiveRequest) GetPath ¶
func (x *GetArchiveRequest) GetPath() []byte
func (*GetArchiveRequest) GetPrefix ¶
func (x *GetArchiveRequest) GetPrefix() string
func (*GetArchiveRequest) GetRepository ¶
func (x *GetArchiveRequest) GetRepository() *Repository
func (*GetArchiveRequest) ProtoMessage ¶
func (*GetArchiveRequest) ProtoMessage()
func (*GetArchiveRequest) ProtoReflect ¶
func (x *GetArchiveRequest) ProtoReflect() protoreflect.Message
func (*GetArchiveRequest) Reset ¶
func (x *GetArchiveRequest) Reset()
func (*GetArchiveRequest) String ¶
func (x *GetArchiveRequest) String() string
type GetArchiveRequest_Format ¶
type GetArchiveRequest_Format int32
Format ...
const ( // ZIP ... GetArchiveRequest_ZIP GetArchiveRequest_Format = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // TAR ... GetArchiveRequest_TAR GetArchiveRequest_Format = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // TAR_GZ ... GetArchiveRequest_TAR_GZ GetArchiveRequest_Format = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // TAR_BZ2 ... GetArchiveRequest_TAR_BZ2 GetArchiveRequest_Format = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (GetArchiveRequest_Format) Descriptor ¶
func (GetArchiveRequest_Format) Descriptor() protoreflect.EnumDescriptor
func (GetArchiveRequest_Format) Enum ¶
func (x GetArchiveRequest_Format) Enum() *GetArchiveRequest_Format
func (GetArchiveRequest_Format) EnumDescriptor
deprecated
func (GetArchiveRequest_Format) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetArchiveRequest_Format.Descriptor instead.
func (GetArchiveRequest_Format) Number ¶
func (x GetArchiveRequest_Format) Number() protoreflect.EnumNumber
func (GetArchiveRequest_Format) String ¶
func (x GetArchiveRequest_Format) String() string
func (GetArchiveRequest_Format) Type ¶
func (GetArchiveRequest_Format) Type() protoreflect.EnumType
type GetArchiveResponse ¶
type GetArchiveResponse struct { // data ... Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
GetArchiveResponse ...
func (*GetArchiveResponse) Descriptor
deprecated
func (*GetArchiveResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetArchiveResponse.ProtoReflect.Descriptor instead.
func (*GetArchiveResponse) GetData ¶
func (x *GetArchiveResponse) GetData() []byte
func (*GetArchiveResponse) ProtoMessage ¶
func (*GetArchiveResponse) ProtoMessage()
func (*GetArchiveResponse) ProtoReflect ¶
func (x *GetArchiveResponse) ProtoReflect() protoreflect.Message
func (*GetArchiveResponse) Reset ¶
func (x *GetArchiveResponse) Reset()
func (*GetArchiveResponse) String ¶
func (x *GetArchiveResponse) String() string
type GetBlobRequest ¶
type GetBlobRequest struct { // repository is the repository that shall be searched. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // oid is the object ID of the blob we want to get. Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` // limit is the maximum number of bytes we want to receive. Use '-1' to get the full blob no matter how big. Setting // this to `0` will return no data. Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
GetBlobRequest is a request for the GetBlob RPC.
func (*GetBlobRequest) Descriptor
deprecated
func (*GetBlobRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlobRequest.ProtoReflect.Descriptor instead.
func (*GetBlobRequest) GetLimit ¶
func (x *GetBlobRequest) GetLimit() int64
func (*GetBlobRequest) GetOid ¶
func (x *GetBlobRequest) GetOid() string
func (*GetBlobRequest) GetRepository ¶
func (x *GetBlobRequest) GetRepository() *Repository
func (*GetBlobRequest) ProtoMessage ¶
func (*GetBlobRequest) ProtoMessage()
func (*GetBlobRequest) ProtoReflect ¶
func (x *GetBlobRequest) ProtoReflect() protoreflect.Message
func (*GetBlobRequest) Reset ¶
func (x *GetBlobRequest) Reset()
func (*GetBlobRequest) String ¶
func (x *GetBlobRequest) String() string
type GetBlobResponse ¶
type GetBlobResponse struct { // size is the size of the blob. Present only in first response message. Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // data is a chunk of data. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // oid of the actual blob returned. Empty if no blob was found. Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` // contains filtered or unexported fields }
GetBlobResponse is a response for the GetBlob RPC. Multiple responses will be returned when the blob is large and thus doesn't fit into a single response.
func (*GetBlobResponse) Descriptor
deprecated
func (*GetBlobResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlobResponse.ProtoReflect.Descriptor instead.
func (*GetBlobResponse) GetData ¶
func (x *GetBlobResponse) GetData() []byte
func (*GetBlobResponse) GetOid ¶
func (x *GetBlobResponse) GetOid() string
func (*GetBlobResponse) GetSize ¶
func (x *GetBlobResponse) GetSize() int64
func (*GetBlobResponse) ProtoMessage ¶
func (*GetBlobResponse) ProtoMessage()
func (*GetBlobResponse) ProtoReflect ¶
func (x *GetBlobResponse) ProtoReflect() protoreflect.Message
func (*GetBlobResponse) Reset ¶
func (x *GetBlobResponse) Reset()
func (*GetBlobResponse) String ¶
func (x *GetBlobResponse) String() string
type GetBlobsRequest ¶
type GetBlobsRequest struct { // repository is the repository that shall be searched. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revision_paths identifies the set of revision/path pairs that shall be searched for blobs. RevisionPaths []*GetBlobsRequest_RevisionPath `protobuf:"bytes,2,rep,name=revision_paths,json=revisionPaths,proto3" json:"revision_paths,omitempty"` // limit is the 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,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
GetBlobsRequest is a request for the GetBlobs RPC.
func (*GetBlobsRequest) Descriptor
deprecated
func (*GetBlobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlobsRequest.ProtoReflect.Descriptor instead.
func (*GetBlobsRequest) GetLimit ¶
func (x *GetBlobsRequest) GetLimit() int64
func (*GetBlobsRequest) GetRepository ¶
func (x *GetBlobsRequest) GetRepository() *Repository
func (*GetBlobsRequest) GetRevisionPaths ¶
func (x *GetBlobsRequest) GetRevisionPaths() []*GetBlobsRequest_RevisionPath
func (*GetBlobsRequest) ProtoMessage ¶
func (*GetBlobsRequest) ProtoMessage()
func (*GetBlobsRequest) ProtoReflect ¶
func (x *GetBlobsRequest) ProtoReflect() protoreflect.Message
func (*GetBlobsRequest) Reset ¶
func (x *GetBlobsRequest) Reset()
func (*GetBlobsRequest) String ¶
func (x *GetBlobsRequest) String() string
type GetBlobsRequest_RevisionPath ¶
type GetBlobsRequest_RevisionPath struct { // revision is the revision that identifies the tree-ish. Must not be empty. Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` // path is the path relative to the treeish revision that shall be searched for a blob. If the path is empty the // root directory of the tree-ish will be searched. Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
RevisionPath is a combination of revision and path. All objects reachable in the subdirectory of the treeish will be returned.
func (*GetBlobsRequest_RevisionPath) Descriptor
deprecated
func (*GetBlobsRequest_RevisionPath) Descriptor() ([]byte, []int)
Deprecated: Use GetBlobsRequest_RevisionPath.ProtoReflect.Descriptor instead.
func (*GetBlobsRequest_RevisionPath) GetPath ¶
func (x *GetBlobsRequest_RevisionPath) GetPath() []byte
func (*GetBlobsRequest_RevisionPath) GetRevision ¶
func (x *GetBlobsRequest_RevisionPath) GetRevision() string
func (*GetBlobsRequest_RevisionPath) ProtoMessage ¶
func (*GetBlobsRequest_RevisionPath) ProtoMessage()
func (*GetBlobsRequest_RevisionPath) ProtoReflect ¶
func (x *GetBlobsRequest_RevisionPath) ProtoReflect() protoreflect.Message
func (*GetBlobsRequest_RevisionPath) Reset ¶
func (x *GetBlobsRequest_RevisionPath) Reset()
func (*GetBlobsRequest_RevisionPath) String ¶
func (x *GetBlobsRequest_RevisionPath) String() string
type GetBlobsResponse ¶
type GetBlobsResponse struct { // size is the size of the blob. Present only on the first message per blob Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // data is a chunk of blob data, which could span over multiple messages. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // oid is the 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,proto3" json:"oid,omitempty"` // is_submodule indicates whether the blob is a submodule. IsSubmodule bool `protobuf:"varint,4,opt,name=is_submodule,json=isSubmodule,proto3" json:"is_submodule,omitempty"` // mode is the file mode of blob as present in the tree. It is typically one of: // // - 0o100644 for non-executable files. // - 0o100755 for executable files. // - 0o160000 for submodules. // - 0o040000 for subtrees. Mode int32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` // revision is the revision that this blob has been traversed from. Revision string `protobuf:"bytes,6,opt,name=revision,proto3" json:"revision,omitempty"` // path is the path of the blob inside of the tree. Path []byte `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"` // type is the type of the "blob". Type ObjectType `protobuf:"varint,8,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"` // contains filtered or unexported fields }
GetBlobsResponse is a response for the GetBlobs RPC and identifies a single blob. Multiple responses can be returned for the same blob in case its data is longer than the gRPC message limit. Subsequent messages for the same blob will only have their data field set. Blobs which cannot be found will only have their path and revision set, but will otherwise be empty.
func (*GetBlobsResponse) Descriptor
deprecated
func (*GetBlobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlobsResponse.ProtoReflect.Descriptor instead.
func (*GetBlobsResponse) GetData ¶
func (x *GetBlobsResponse) GetData() []byte
func (*GetBlobsResponse) GetIsSubmodule ¶
func (x *GetBlobsResponse) GetIsSubmodule() bool
func (*GetBlobsResponse) GetMode ¶
func (x *GetBlobsResponse) GetMode() int32
func (*GetBlobsResponse) GetOid ¶
func (x *GetBlobsResponse) GetOid() string
func (*GetBlobsResponse) GetPath ¶
func (x *GetBlobsResponse) GetPath() []byte
func (*GetBlobsResponse) GetRevision ¶
func (x *GetBlobsResponse) GetRevision() string
func (*GetBlobsResponse) GetSize ¶
func (x *GetBlobsResponse) GetSize() int64
func (*GetBlobsResponse) GetType ¶
func (x *GetBlobsResponse) GetType() ObjectType
func (*GetBlobsResponse) ProtoMessage ¶
func (*GetBlobsResponse) ProtoMessage()
func (*GetBlobsResponse) ProtoReflect ¶
func (x *GetBlobsResponse) ProtoReflect() protoreflect.Message
func (*GetBlobsResponse) Reset ¶
func (x *GetBlobsResponse) Reset()
func (*GetBlobsResponse) String ¶
func (x *GetBlobsResponse) String() string
type GetCommitMessagesRequest ¶
type GetCommitMessagesRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // commit_ids ... CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"` // contains filtered or unexported fields }
GetCommitMessagesRequest ...
func (*GetCommitMessagesRequest) Descriptor
deprecated
func (*GetCommitMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCommitMessagesRequest.ProtoReflect.Descriptor instead.
func (*GetCommitMessagesRequest) GetCommitIds ¶
func (x *GetCommitMessagesRequest) GetCommitIds() []string
func (*GetCommitMessagesRequest) GetRepository ¶
func (x *GetCommitMessagesRequest) GetRepository() *Repository
func (*GetCommitMessagesRequest) ProtoMessage ¶
func (*GetCommitMessagesRequest) ProtoMessage()
func (*GetCommitMessagesRequest) ProtoReflect ¶
func (x *GetCommitMessagesRequest) ProtoReflect() protoreflect.Message
func (*GetCommitMessagesRequest) Reset ¶
func (x *GetCommitMessagesRequest) Reset()
func (*GetCommitMessagesRequest) String ¶
func (x *GetCommitMessagesRequest) String() string
type GetCommitMessagesResponse ¶
type GetCommitMessagesResponse struct { // commit_id ... // Only present for a new commit message CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // message ... Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
GetCommitMessagesResponse ...
func (*GetCommitMessagesResponse) Descriptor
deprecated
func (*GetCommitMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCommitMessagesResponse.ProtoReflect.Descriptor instead.
func (*GetCommitMessagesResponse) GetCommitId ¶
func (x *GetCommitMessagesResponse) GetCommitId() string
func (*GetCommitMessagesResponse) GetMessage ¶
func (x *GetCommitMessagesResponse) GetMessage() []byte
func (*GetCommitMessagesResponse) ProtoMessage ¶
func (*GetCommitMessagesResponse) ProtoMessage()
func (*GetCommitMessagesResponse) ProtoReflect ¶
func (x *GetCommitMessagesResponse) ProtoReflect() protoreflect.Message
func (*GetCommitMessagesResponse) Reset ¶
func (x *GetCommitMessagesResponse) Reset()
func (*GetCommitMessagesResponse) String ¶
func (x *GetCommitMessagesResponse) String() string
type GetCommitSignaturesRequest ¶
type GetCommitSignaturesRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // commit_ids ... CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"` // contains filtered or unexported fields }
GetCommitSignaturesRequest ...
func (*GetCommitSignaturesRequest) Descriptor
deprecated
func (*GetCommitSignaturesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCommitSignaturesRequest.ProtoReflect.Descriptor instead.
func (*GetCommitSignaturesRequest) GetCommitIds ¶
func (x *GetCommitSignaturesRequest) GetCommitIds() []string
func (*GetCommitSignaturesRequest) GetRepository ¶
func (x *GetCommitSignaturesRequest) GetRepository() *Repository
func (*GetCommitSignaturesRequest) ProtoMessage ¶
func (*GetCommitSignaturesRequest) ProtoMessage()
func (*GetCommitSignaturesRequest) ProtoReflect ¶
func (x *GetCommitSignaturesRequest) ProtoReflect() protoreflect.Message
func (*GetCommitSignaturesRequest) Reset ¶
func (x *GetCommitSignaturesRequest) Reset()
func (*GetCommitSignaturesRequest) String ¶
func (x *GetCommitSignaturesRequest) String() string
type GetCommitSignaturesResponse ¶
type GetCommitSignaturesResponse struct { // commit_id of the signature. CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // signature of the commit (GPG or SSH). Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // signed_text is text that is used to verify the signature. SignedText []byte `protobuf:"bytes,3,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"` // signer of the commit Signer GetCommitSignaturesResponse_Signer `protobuf:"varint,4,opt,name=signer,proto3,enum=gitaly.GetCommitSignaturesResponse_Signer" json:"signer,omitempty"` // contains filtered or unexported fields }
GetCommitSignaturesResponse ...
func (*GetCommitSignaturesResponse) Descriptor
deprecated
func (*GetCommitSignaturesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCommitSignaturesResponse.ProtoReflect.Descriptor instead.
func (*GetCommitSignaturesResponse) GetCommitId ¶
func (x *GetCommitSignaturesResponse) GetCommitId() string
func (*GetCommitSignaturesResponse) GetSignature ¶
func (x *GetCommitSignaturesResponse) GetSignature() []byte
func (*GetCommitSignaturesResponse) GetSignedText ¶
func (x *GetCommitSignaturesResponse) GetSignedText() []byte
func (*GetCommitSignaturesResponse) GetSigner ¶ added in v16.2.0
func (x *GetCommitSignaturesResponse) GetSigner() GetCommitSignaturesResponse_Signer
func (*GetCommitSignaturesResponse) ProtoMessage ¶
func (*GetCommitSignaturesResponse) ProtoMessage()
func (*GetCommitSignaturesResponse) ProtoReflect ¶
func (x *GetCommitSignaturesResponse) ProtoReflect() protoreflect.Message
func (*GetCommitSignaturesResponse) Reset ¶
func (x *GetCommitSignaturesResponse) Reset()
func (*GetCommitSignaturesResponse) String ¶
func (x *GetCommitSignaturesResponse) String() string
type GetCommitSignaturesResponse_Signer ¶ added in v16.2.0
type GetCommitSignaturesResponse_Signer int32
Signer of the commit. A commit can be signed either by a user or by Gitaly itself.
const ( // SIGNER_UNSPECIFIED indicates that the signer has not been specified. GetCommitSignaturesResponse_SIGNER_UNSPECIFIED GetCommitSignaturesResponse_Signer = 0 // SIGNER_USER indicates that the commit has been signed by a user. GetCommitSignaturesResponse_SIGNER_USER GetCommitSignaturesResponse_Signer = 1 // SIGNER_SYSTEM indicates that the commit has been signed by Gitaly itself. GetCommitSignaturesResponse_SIGNER_SYSTEM GetCommitSignaturesResponse_Signer = 2 )
func (GetCommitSignaturesResponse_Signer) Descriptor ¶ added in v16.2.0
func (GetCommitSignaturesResponse_Signer) Descriptor() protoreflect.EnumDescriptor
func (GetCommitSignaturesResponse_Signer) Enum ¶ added in v16.2.0
func (x GetCommitSignaturesResponse_Signer) Enum() *GetCommitSignaturesResponse_Signer
func (GetCommitSignaturesResponse_Signer) EnumDescriptor
deprecated
added in
v16.2.0
func (GetCommitSignaturesResponse_Signer) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetCommitSignaturesResponse_Signer.Descriptor instead.
func (GetCommitSignaturesResponse_Signer) Number ¶ added in v16.2.0
func (x GetCommitSignaturesResponse_Signer) Number() protoreflect.EnumNumber
func (GetCommitSignaturesResponse_Signer) String ¶ added in v16.2.0
func (x GetCommitSignaturesResponse_Signer) String() string
func (GetCommitSignaturesResponse_Signer) Type ¶ added in v16.2.0
func (GetCommitSignaturesResponse_Signer) Type() protoreflect.EnumType
type GetConfigRequest ¶
type GetConfigRequest struct { // repository is the repository from which the configuration should be read // from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
GetConfigRequest is a request for the GetConfig RPC.
func (*GetConfigRequest) Descriptor
deprecated
func (*GetConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.
func (*GetConfigRequest) GetRepository ¶
func (x *GetConfigRequest) GetRepository() *Repository
func (*GetConfigRequest) ProtoMessage ¶
func (*GetConfigRequest) ProtoMessage()
func (*GetConfigRequest) ProtoReflect ¶
func (x *GetConfigRequest) ProtoReflect() protoreflect.Message
func (*GetConfigRequest) Reset ¶
func (x *GetConfigRequest) Reset()
func (*GetConfigRequest) String ¶
func (x *GetConfigRequest) String() string
type GetConfigResponse ¶
type GetConfigResponse struct { // data contains contents of the gitconfig. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
GetConfigResponse is a response for the GetConfig RPC.
func (*GetConfigResponse) Descriptor
deprecated
func (*GetConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead.
func (*GetConfigResponse) GetData ¶
func (x *GetConfigResponse) GetData() []byte
func (*GetConfigResponse) ProtoMessage ¶
func (*GetConfigResponse) ProtoMessage()
func (*GetConfigResponse) ProtoReflect ¶
func (x *GetConfigResponse) ProtoReflect() protoreflect.Message
func (*GetConfigResponse) Reset ¶
func (x *GetConfigResponse) Reset()
func (*GetConfigResponse) String ¶
func (x *GetConfigResponse) String() string
type GetCustomHooksRequest ¶
type GetCustomHooksRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
GetCustomHooksRequest ...
func (*GetCustomHooksRequest) Descriptor
deprecated
func (*GetCustomHooksRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCustomHooksRequest.ProtoReflect.Descriptor instead.
func (*GetCustomHooksRequest) GetRepository ¶
func (x *GetCustomHooksRequest) GetRepository() *Repository
func (*GetCustomHooksRequest) ProtoMessage ¶
func (*GetCustomHooksRequest) ProtoMessage()
func (*GetCustomHooksRequest) ProtoReflect ¶
func (x *GetCustomHooksRequest) ProtoReflect() protoreflect.Message
func (*GetCustomHooksRequest) Reset ¶
func (x *GetCustomHooksRequest) Reset()
func (*GetCustomHooksRequest) String ¶
func (x *GetCustomHooksRequest) String() string
type GetCustomHooksResponse ¶
type GetCustomHooksResponse struct { // data ... Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
GetCustomHooksResponse ...
func (*GetCustomHooksResponse) Descriptor
deprecated
func (*GetCustomHooksResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCustomHooksResponse.ProtoReflect.Descriptor instead.
func (*GetCustomHooksResponse) GetData ¶
func (x *GetCustomHooksResponse) GetData() []byte
func (*GetCustomHooksResponse) ProtoMessage ¶
func (*GetCustomHooksResponse) ProtoMessage()
func (*GetCustomHooksResponse) ProtoReflect ¶
func (x *GetCustomHooksResponse) ProtoReflect() protoreflect.Message
func (*GetCustomHooksResponse) Reset ¶
func (x *GetCustomHooksResponse) Reset()
func (*GetCustomHooksResponse) String ¶
func (x *GetCustomHooksResponse) String() string
type GetFileAttributesRequest ¶ added in v16.5.0
type GetFileAttributesRequest struct { // repository is the repository the file attributes shall be computed in. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revision is the revision where the file attributes shall be computed in. Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // attributes are the attributes that will be queried for. Attributes []string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"` // paths are the file paths that will be queried for. Paths []string `protobuf:"bytes,4,rep,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
GetFileAttributesRequest is a request for the GetFileAttributes RPC.
func (*GetFileAttributesRequest) Descriptor
deprecated
added in
v16.5.0
func (*GetFileAttributesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileAttributesRequest.ProtoReflect.Descriptor instead.
func (*GetFileAttributesRequest) GetAttributes ¶ added in v16.5.0
func (x *GetFileAttributesRequest) GetAttributes() []string
func (*GetFileAttributesRequest) GetPaths ¶ added in v16.5.0
func (x *GetFileAttributesRequest) GetPaths() []string
func (*GetFileAttributesRequest) GetRepository ¶ added in v16.5.0
func (x *GetFileAttributesRequest) GetRepository() *Repository
func (*GetFileAttributesRequest) GetRevision ¶ added in v16.5.0
func (x *GetFileAttributesRequest) GetRevision() []byte
func (*GetFileAttributesRequest) ProtoMessage ¶ added in v16.5.0
func (*GetFileAttributesRequest) ProtoMessage()
func (*GetFileAttributesRequest) ProtoReflect ¶ added in v16.5.0
func (x *GetFileAttributesRequest) ProtoReflect() protoreflect.Message
func (*GetFileAttributesRequest) Reset ¶ added in v16.5.0
func (x *GetFileAttributesRequest) Reset()
func (*GetFileAttributesRequest) String ¶ added in v16.5.0
func (x *GetFileAttributesRequest) String() string
type GetFileAttributesResponse ¶ added in v16.5.0
type GetFileAttributesResponse struct { // attribute_infos is the list of attributes that matches the given GetFileAttributesRequest AttributeInfos []*GetFileAttributesResponse_AttributeInfo `protobuf:"bytes,1,rep,name=attribute_infos,json=attributeInfos,proto3" json:"attribute_infos,omitempty"` // contains filtered or unexported fields }
GetFileAttributesResponse is a response for the GetFileAttributes RPC.
func (*GetFileAttributesResponse) Descriptor
deprecated
added in
v16.5.0
func (*GetFileAttributesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFileAttributesResponse.ProtoReflect.Descriptor instead.
func (*GetFileAttributesResponse) GetAttributeInfos ¶ added in v16.5.0
func (x *GetFileAttributesResponse) GetAttributeInfos() []*GetFileAttributesResponse_AttributeInfo
func (*GetFileAttributesResponse) ProtoMessage ¶ added in v16.5.0
func (*GetFileAttributesResponse) ProtoMessage()
func (*GetFileAttributesResponse) ProtoReflect ¶ added in v16.5.0
func (x *GetFileAttributesResponse) ProtoReflect() protoreflect.Message
func (*GetFileAttributesResponse) Reset ¶ added in v16.5.0
func (x *GetFileAttributesResponse) Reset()
func (*GetFileAttributesResponse) String ¶ added in v16.5.0
func (x *GetFileAttributesResponse) String() string
type GetFileAttributesResponse_AttributeInfo ¶ added in v16.5.0
type GetFileAttributesResponse_AttributeInfo struct { // path is the file path for the current attribute value. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // attribute is the name of the attribute. Attribute string `protobuf:"bytes,2,opt,name=attribute,proto3" json:"attribute,omitempty"` // value is the current value of the attribute. // "set" is used when the attribute is true, and "unset" when it's false. // See gitattributes(5) and git-check-attr(1) for more info. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
AttributeInfo is a specified git attribute for a given path.
func (*GetFileAttributesResponse_AttributeInfo) Descriptor
deprecated
added in
v16.5.0
func (*GetFileAttributesResponse_AttributeInfo) Descriptor() ([]byte, []int)
Deprecated: Use GetFileAttributesResponse_AttributeInfo.ProtoReflect.Descriptor instead.
func (*GetFileAttributesResponse_AttributeInfo) GetAttribute ¶ added in v16.5.0
func (x *GetFileAttributesResponse_AttributeInfo) GetAttribute() string
func (*GetFileAttributesResponse_AttributeInfo) GetPath ¶ added in v16.5.0
func (x *GetFileAttributesResponse_AttributeInfo) GetPath() string
func (*GetFileAttributesResponse_AttributeInfo) GetValue ¶ added in v16.5.0
func (x *GetFileAttributesResponse_AttributeInfo) GetValue() string
func (*GetFileAttributesResponse_AttributeInfo) ProtoMessage ¶ added in v16.5.0
func (*GetFileAttributesResponse_AttributeInfo) ProtoMessage()
func (*GetFileAttributesResponse_AttributeInfo) ProtoReflect ¶ added in v16.5.0
func (x *GetFileAttributesResponse_AttributeInfo) ProtoReflect() protoreflect.Message
func (*GetFileAttributesResponse_AttributeInfo) Reset ¶ added in v16.5.0
func (x *GetFileAttributesResponse_AttributeInfo) Reset()
func (*GetFileAttributesResponse_AttributeInfo) String ¶ added in v16.5.0
func (x *GetFileAttributesResponse_AttributeInfo) String() string
type GetInfoAttributesRequest ¶
type GetInfoAttributesRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
GetInfoAttributesRequest ...
func (*GetInfoAttributesRequest) Descriptor
deprecated
func (*GetInfoAttributesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoAttributesRequest.ProtoReflect.Descriptor instead.
func (*GetInfoAttributesRequest) GetRepository ¶
func (x *GetInfoAttributesRequest) GetRepository() *Repository
func (*GetInfoAttributesRequest) ProtoMessage ¶
func (*GetInfoAttributesRequest) ProtoMessage()
func (*GetInfoAttributesRequest) ProtoReflect ¶
func (x *GetInfoAttributesRequest) ProtoReflect() protoreflect.Message
func (*GetInfoAttributesRequest) Reset ¶
func (x *GetInfoAttributesRequest) Reset()
func (*GetInfoAttributesRequest) String ¶
func (x *GetInfoAttributesRequest) String() string
type GetInfoAttributesResponse ¶
type GetInfoAttributesResponse struct { // attributes ... Attributes []byte `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
GetInfoAttributesResponse ...
func (*GetInfoAttributesResponse) Descriptor
deprecated
func (*GetInfoAttributesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoAttributesResponse.ProtoReflect.Descriptor instead.
func (*GetInfoAttributesResponse) GetAttributes ¶
func (x *GetInfoAttributesResponse) GetAttributes() []byte
func (*GetInfoAttributesResponse) ProtoMessage ¶
func (*GetInfoAttributesResponse) ProtoMessage()
func (*GetInfoAttributesResponse) ProtoReflect ¶
func (x *GetInfoAttributesResponse) ProtoReflect() protoreflect.Message
func (*GetInfoAttributesResponse) Reset ¶
func (x *GetInfoAttributesResponse) Reset()
func (*GetInfoAttributesResponse) String ¶
func (x *GetInfoAttributesResponse) String() string
type GetLFSPointersRequest ¶
type GetLFSPointersRequest struct { // repository is the repository for which LFS pointers should be retrieved // from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // blob_ids is the list of blobs to retrieve LFS pointers from. Must be a // non-empty list of blobs IDs to fetch. BlobIds []string `protobuf:"bytes,2,rep,name=blob_ids,json=blobIds,proto3" json:"blob_ids,omitempty"` // contains filtered or unexported fields }
GetLFSPointersRequest is a request for the GetLFSPointers RPC.
func (*GetLFSPointersRequest) Descriptor
deprecated
func (*GetLFSPointersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLFSPointersRequest.ProtoReflect.Descriptor instead.
func (*GetLFSPointersRequest) GetBlobIds ¶
func (x *GetLFSPointersRequest) GetBlobIds() []string
func (*GetLFSPointersRequest) GetRepository ¶
func (x *GetLFSPointersRequest) GetRepository() *Repository
func (*GetLFSPointersRequest) ProtoMessage ¶
func (*GetLFSPointersRequest) ProtoMessage()
func (*GetLFSPointersRequest) ProtoReflect ¶
func (x *GetLFSPointersRequest) ProtoReflect() protoreflect.Message
func (*GetLFSPointersRequest) Reset ¶
func (x *GetLFSPointersRequest) Reset()
func (*GetLFSPointersRequest) String ¶
func (x *GetLFSPointersRequest) String() string
type GetLFSPointersResponse ¶
type GetLFSPointersResponse struct { // lfs_pointers is the list of LFS pointers which were requested. LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` // contains filtered or unexported fields }
GetLFSPointersResponse is a response for the GetLFSPointers RPC.
func (*GetLFSPointersResponse) Descriptor
deprecated
func (*GetLFSPointersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLFSPointersResponse.ProtoReflect.Descriptor instead.
func (*GetLFSPointersResponse) GetLfsPointers ¶
func (x *GetLFSPointersResponse) GetLfsPointers() []*LFSPointer
func (*GetLFSPointersResponse) ProtoMessage ¶
func (*GetLFSPointersResponse) ProtoMessage()
func (*GetLFSPointersResponse) ProtoReflect ¶
func (x *GetLFSPointersResponse) ProtoReflect() protoreflect.Message
func (*GetLFSPointersResponse) Reset ¶
func (x *GetLFSPointersResponse) Reset()
func (*GetLFSPointersResponse) String ¶
func (x *GetLFSPointersResponse) String() string
type GetObjectDirectorySizeRequest ¶
type GetObjectDirectorySizeRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
GetObjectDirectorySizeRequest ...
func (*GetObjectDirectorySizeRequest) Descriptor
deprecated
func (*GetObjectDirectorySizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectDirectorySizeRequest.ProtoReflect.Descriptor instead.
func (*GetObjectDirectorySizeRequest) GetRepository ¶
func (x *GetObjectDirectorySizeRequest) GetRepository() *Repository
func (*GetObjectDirectorySizeRequest) ProtoMessage ¶
func (*GetObjectDirectorySizeRequest) ProtoMessage()
func (*GetObjectDirectorySizeRequest) ProtoReflect ¶
func (x *GetObjectDirectorySizeRequest) ProtoReflect() protoreflect.Message
func (*GetObjectDirectorySizeRequest) Reset ¶
func (x *GetObjectDirectorySizeRequest) Reset()
func (*GetObjectDirectorySizeRequest) String ¶
func (x *GetObjectDirectorySizeRequest) String() string
type GetObjectDirectorySizeResponse ¶
type GetObjectDirectorySizeResponse struct { // size is the object directory size in kilobytes. Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
GetObjectDirectorySizeResponse ...
func (*GetObjectDirectorySizeResponse) Descriptor
deprecated
func (*GetObjectDirectorySizeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectDirectorySizeResponse.ProtoReflect.Descriptor instead.
func (*GetObjectDirectorySizeResponse) GetSize ¶
func (x *GetObjectDirectorySizeResponse) GetSize() int64
func (*GetObjectDirectorySizeResponse) ProtoMessage ¶
func (*GetObjectDirectorySizeResponse) ProtoMessage()
func (*GetObjectDirectorySizeResponse) ProtoReflect ¶
func (x *GetObjectDirectorySizeResponse) ProtoReflect() protoreflect.Message
func (*GetObjectDirectorySizeResponse) Reset ¶
func (x *GetObjectDirectorySizeResponse) Reset()
func (*GetObjectDirectorySizeResponse) String ¶
func (x *GetObjectDirectorySizeResponse) String() string
type GetObjectPoolRequest ¶
type GetObjectPoolRequest struct { // repository is the repository for which the object pool shall be retrieved. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
GetObjectPoolRequest is a request for the GetObjectPool RPC.
func (*GetObjectPoolRequest) Descriptor
deprecated
func (*GetObjectPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectPoolRequest.ProtoReflect.Descriptor instead.
func (*GetObjectPoolRequest) GetRepository ¶
func (x *GetObjectPoolRequest) GetRepository() *Repository
func (*GetObjectPoolRequest) ProtoMessage ¶
func (*GetObjectPoolRequest) ProtoMessage()
func (*GetObjectPoolRequest) ProtoReflect ¶
func (x *GetObjectPoolRequest) ProtoReflect() protoreflect.Message
func (*GetObjectPoolRequest) Reset ¶
func (x *GetObjectPoolRequest) Reset()
func (*GetObjectPoolRequest) String ¶
func (x *GetObjectPoolRequest) String() string
type GetObjectPoolResponse ¶
type GetObjectPoolResponse struct { // object_pool is the object pool the repository is connected to. If the repository is not // connected to any object pool, then this field will be empty. ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` // contains filtered or unexported fields }
GetObjectPoolResponse is a response for the GetObjectPool RPC.
func (*GetObjectPoolResponse) Descriptor
deprecated
func (*GetObjectPoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetObjectPoolResponse.ProtoReflect.Descriptor instead.
func (*GetObjectPoolResponse) GetObjectPool ¶
func (x *GetObjectPoolResponse) GetObjectPool() *ObjectPool
func (*GetObjectPoolResponse) ProtoMessage ¶
func (*GetObjectPoolResponse) ProtoMessage()
func (*GetObjectPoolResponse) ProtoReflect ¶
func (x *GetObjectPoolResponse) ProtoReflect() protoreflect.Message
func (*GetObjectPoolResponse) Reset ¶
func (x *GetObjectPoolResponse) Reset()
func (*GetObjectPoolResponse) String ¶
func (x *GetObjectPoolResponse) String() string
type GetPatchIDRequest ¶
type GetPatchIDRequest struct { // repository is the repository the patch ID shall be computed in. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // old_revision is the old revision that shall be used to compute the patch // from that will then be passed to git-patch-id(1). Accepts revisions as // specified in gitrevisions(5). OldRevision []byte `protobuf:"bytes,2,opt,name=old_revision,json=oldRevision,proto3" json:"old_revision,omitempty"` // new_revision is the new revision that shall be used to compute the patch // from that will then be passed to git-patch-id(1). Accepts revisions as // specified in gitrevisions(5). NewRevision []byte `protobuf:"bytes,3,opt,name=new_revision,json=newRevision,proto3" json:"new_revision,omitempty"` // contains filtered or unexported fields }
GetPatchIDRequest is a request for the GetPatchID RPC.
func (*GetPatchIDRequest) Descriptor
deprecated
func (*GetPatchIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPatchIDRequest.ProtoReflect.Descriptor instead.
func (*GetPatchIDRequest) GetNewRevision ¶
func (x *GetPatchIDRequest) GetNewRevision() []byte
func (*GetPatchIDRequest) GetOldRevision ¶
func (x *GetPatchIDRequest) GetOldRevision() []byte
func (*GetPatchIDRequest) GetRepository ¶
func (x *GetPatchIDRequest) GetRepository() *Repository
func (*GetPatchIDRequest) ProtoMessage ¶
func (*GetPatchIDRequest) ProtoMessage()
func (*GetPatchIDRequest) ProtoReflect ¶
func (x *GetPatchIDRequest) ProtoReflect() protoreflect.Message
func (*GetPatchIDRequest) Reset ¶
func (x *GetPatchIDRequest) Reset()
func (*GetPatchIDRequest) String ¶
func (x *GetPatchIDRequest) String() string
type GetPatchIDResponse ¶
type GetPatchIDResponse struct { // patch_id is the patch ID that was generated by hashing the diff of the // given old and new revision. PatchId string `protobuf:"bytes,1,opt,name=patch_id,json=patchId,proto3" json:"patch_id,omitempty"` // contains filtered or unexported fields }
GetPatchIDResponse is a response for the GetPatchID RPC.
func (*GetPatchIDResponse) Descriptor
deprecated
func (*GetPatchIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPatchIDResponse.ProtoReflect.Descriptor instead.
func (*GetPatchIDResponse) GetPatchId ¶
func (x *GetPatchIDResponse) GetPatchId() string
func (*GetPatchIDResponse) ProtoMessage ¶
func (*GetPatchIDResponse) ProtoMessage()
func (*GetPatchIDResponse) ProtoReflect ¶
func (x *GetPatchIDResponse) ProtoReflect() protoreflect.Message
func (*GetPatchIDResponse) Reset ¶
func (x *GetPatchIDResponse) Reset()
func (*GetPatchIDResponse) String ¶
func (x *GetPatchIDResponse) String() string
type GetRawChangesRequest ¶
type GetRawChangesRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // from_revision ... FromRevision string `protobuf:"bytes,2,opt,name=from_revision,json=fromRevision,proto3" json:"from_revision,omitempty"` // to_revision ... ToRevision string `protobuf:"bytes,3,opt,name=to_revision,json=toRevision,proto3" json:"to_revision,omitempty"` // contains filtered or unexported fields }
GetRawChangesRequest ...
func (*GetRawChangesRequest) Descriptor
deprecated
func (*GetRawChangesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRawChangesRequest.ProtoReflect.Descriptor instead.
func (*GetRawChangesRequest) GetFromRevision ¶
func (x *GetRawChangesRequest) GetFromRevision() string
func (*GetRawChangesRequest) GetRepository ¶
func (x *GetRawChangesRequest) GetRepository() *Repository
func (*GetRawChangesRequest) GetToRevision ¶
func (x *GetRawChangesRequest) GetToRevision() string
func (*GetRawChangesRequest) ProtoMessage ¶
func (*GetRawChangesRequest) ProtoMessage()
func (*GetRawChangesRequest) ProtoReflect ¶
func (x *GetRawChangesRequest) ProtoReflect() protoreflect.Message
func (*GetRawChangesRequest) Reset ¶
func (x *GetRawChangesRequest) Reset()
func (*GetRawChangesRequest) String ¶
func (x *GetRawChangesRequest) String() string
type GetRawChangesResponse ¶
type GetRawChangesResponse struct { // raw_changes ... RawChanges []*GetRawChangesResponse_RawChange `protobuf:"bytes,1,rep,name=raw_changes,json=rawChanges,proto3" json:"raw_changes,omitempty"` // contains filtered or unexported fields }
GetRawChangesResponse ...
func (*GetRawChangesResponse) Descriptor
deprecated
func (*GetRawChangesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRawChangesResponse.ProtoReflect.Descriptor instead.
func (*GetRawChangesResponse) GetRawChanges ¶
func (x *GetRawChangesResponse) GetRawChanges() []*GetRawChangesResponse_RawChange
func (*GetRawChangesResponse) ProtoMessage ¶
func (*GetRawChangesResponse) ProtoMessage()
func (*GetRawChangesResponse) ProtoReflect ¶
func (x *GetRawChangesResponse) ProtoReflect() protoreflect.Message
func (*GetRawChangesResponse) Reset ¶
func (x *GetRawChangesResponse) Reset()
func (*GetRawChangesResponse) String ¶
func (x *GetRawChangesResponse) String() string
type GetRawChangesResponse_RawChange ¶
type GetRawChangesResponse_RawChange struct { // blob_id ... BlobId string `protobuf:"bytes,1,opt,name=blob_id,json=blobId,proto3" json:"blob_id,omitempty"` // size ... Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // operation ... Operation GetRawChangesResponse_RawChange_Operation `` /* 126-byte string literal not displayed */ // raw_operation ... RawOperation string `protobuf:"bytes,6,opt,name=raw_operation,json=rawOperation,proto3" json:"raw_operation,omitempty"` // old_mode ... OldMode int32 `protobuf:"varint,7,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` // new_mode ... NewMode int32 `protobuf:"varint,8,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` // new_path_bytes ... // the following fields, 9 and 10, will eventually replace 3 and 4 NewPathBytes []byte `protobuf:"bytes,9,opt,name=new_path_bytes,json=newPathBytes,proto3" json:"new_path_bytes,omitempty"` // old_path_bytes ... OldPathBytes []byte `protobuf:"bytes,10,opt,name=old_path_bytes,json=oldPathBytes,proto3" json:"old_path_bytes,omitempty"` // contains filtered or unexported fields }
RawChange ...
func (*GetRawChangesResponse_RawChange) Descriptor
deprecated
func (*GetRawChangesResponse_RawChange) Descriptor() ([]byte, []int)
Deprecated: Use GetRawChangesResponse_RawChange.ProtoReflect.Descriptor instead.
func (*GetRawChangesResponse_RawChange) GetBlobId ¶
func (x *GetRawChangesResponse_RawChange) GetBlobId() string
func (*GetRawChangesResponse_RawChange) GetNewMode ¶
func (x *GetRawChangesResponse_RawChange) GetNewMode() int32
func (*GetRawChangesResponse_RawChange) GetNewPathBytes ¶
func (x *GetRawChangesResponse_RawChange) GetNewPathBytes() []byte
func (*GetRawChangesResponse_RawChange) GetOldMode ¶
func (x *GetRawChangesResponse_RawChange) GetOldMode() int32
func (*GetRawChangesResponse_RawChange) GetOldPathBytes ¶
func (x *GetRawChangesResponse_RawChange) GetOldPathBytes() []byte
func (*GetRawChangesResponse_RawChange) GetOperation ¶
func (x *GetRawChangesResponse_RawChange) GetOperation() GetRawChangesResponse_RawChange_Operation
func (*GetRawChangesResponse_RawChange) GetRawOperation ¶
func (x *GetRawChangesResponse_RawChange) GetRawOperation() string
func (*GetRawChangesResponse_RawChange) GetSize ¶
func (x *GetRawChangesResponse_RawChange) GetSize() int64
func (*GetRawChangesResponse_RawChange) ProtoMessage ¶
func (*GetRawChangesResponse_RawChange) ProtoMessage()
func (*GetRawChangesResponse_RawChange) ProtoReflect ¶
func (x *GetRawChangesResponse_RawChange) ProtoReflect() protoreflect.Message
func (*GetRawChangesResponse_RawChange) Reset ¶
func (x *GetRawChangesResponse_RawChange) Reset()
func (*GetRawChangesResponse_RawChange) String ¶
func (x *GetRawChangesResponse_RawChange) String() string
type GetRawChangesResponse_RawChange_Operation ¶
type GetRawChangesResponse_RawChange_Operation int32
Operation ...
const ( // UNKNOWN ... GetRawChangesResponse_RawChange_UNKNOWN GetRawChangesResponse_RawChange_Operation = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // ADDED ... GetRawChangesResponse_RawChange_ADDED GetRawChangesResponse_RawChange_Operation = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // COPIED ... GetRawChangesResponse_RawChange_COPIED GetRawChangesResponse_RawChange_Operation = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // DELETED ... GetRawChangesResponse_RawChange_DELETED GetRawChangesResponse_RawChange_Operation = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // MODIFIED ... GetRawChangesResponse_RawChange_MODIFIED GetRawChangesResponse_RawChange_Operation = 4 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // RENAMED ... GetRawChangesResponse_RawChange_RENAMED GetRawChangesResponse_RawChange_Operation = 5 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // TYPE_CHANGED ... GetRawChangesResponse_RawChange_TYPE_CHANGED GetRawChangesResponse_RawChange_Operation = 6 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (GetRawChangesResponse_RawChange_Operation) Descriptor ¶
func (GetRawChangesResponse_RawChange_Operation) Descriptor() protoreflect.EnumDescriptor
func (GetRawChangesResponse_RawChange_Operation) EnumDescriptor
deprecated
func (GetRawChangesResponse_RawChange_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetRawChangesResponse_RawChange_Operation.Descriptor instead.
func (GetRawChangesResponse_RawChange_Operation) Number ¶
func (x GetRawChangesResponse_RawChange_Operation) Number() protoreflect.EnumNumber
func (GetRawChangesResponse_RawChange_Operation) String ¶
func (x GetRawChangesResponse_RawChange_Operation) String() string
func (GetRawChangesResponse_RawChange_Operation) Type ¶
func (GetRawChangesResponse_RawChange_Operation) Type() protoreflect.EnumType
type GetRepositoryMetadataRequest ¶
type GetRepositoryMetadataRequest struct { // Types that are assignable to Query: // // *GetRepositoryMetadataRequest_RepositoryId // *GetRepositoryMetadataRequest_Path_ Query isGetRepositoryMetadataRequest_Query `protobuf_oneof:"query"` // contains filtered or unexported fields }
GetRepositoryMetadataRequest specifies the repository to retrieve metadata for.
func (*GetRepositoryMetadataRequest) Descriptor
deprecated
func (*GetRepositoryMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryMetadataRequest.ProtoReflect.Descriptor instead.
func (*GetRepositoryMetadataRequest) GetPath ¶
func (x *GetRepositoryMetadataRequest) GetPath() *GetRepositoryMetadataRequest_Path
func (*GetRepositoryMetadataRequest) GetQuery ¶
func (m *GetRepositoryMetadataRequest) GetQuery() isGetRepositoryMetadataRequest_Query
func (*GetRepositoryMetadataRequest) GetRepositoryId ¶
func (x *GetRepositoryMetadataRequest) GetRepositoryId() int64
func (*GetRepositoryMetadataRequest) ProtoMessage ¶
func (*GetRepositoryMetadataRequest) ProtoMessage()
func (*GetRepositoryMetadataRequest) ProtoReflect ¶
func (x *GetRepositoryMetadataRequest) ProtoReflect() protoreflect.Message
func (*GetRepositoryMetadataRequest) Reset ¶
func (x *GetRepositoryMetadataRequest) Reset()
func (*GetRepositoryMetadataRequest) String ¶
func (x *GetRepositoryMetadataRequest) String() string
type GetRepositoryMetadataRequest_Path ¶
type GetRepositoryMetadataRequest_Path struct { // virtual_storage is the virtual storage where the repository is. VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` // relative_path is the relative path of the repository in the virtual storage. RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // contains filtered or unexported fields }
Path ...
func (*GetRepositoryMetadataRequest_Path) Descriptor
deprecated
func (*GetRepositoryMetadataRequest_Path) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryMetadataRequest_Path.ProtoReflect.Descriptor instead.
func (*GetRepositoryMetadataRequest_Path) GetRelativePath ¶
func (x *GetRepositoryMetadataRequest_Path) GetRelativePath() string
func (*GetRepositoryMetadataRequest_Path) GetVirtualStorage ¶
func (x *GetRepositoryMetadataRequest_Path) GetVirtualStorage() string
func (*GetRepositoryMetadataRequest_Path) ProtoMessage ¶
func (*GetRepositoryMetadataRequest_Path) ProtoMessage()
func (*GetRepositoryMetadataRequest_Path) ProtoReflect ¶
func (x *GetRepositoryMetadataRequest_Path) ProtoReflect() protoreflect.Message
func (*GetRepositoryMetadataRequest_Path) Reset ¶
func (x *GetRepositoryMetadataRequest_Path) Reset()
func (*GetRepositoryMetadataRequest_Path) String ¶
func (x *GetRepositoryMetadataRequest_Path) String() string
type GetRepositoryMetadataRequest_Path_ ¶
type GetRepositoryMetadataRequest_Path_ struct { // path is the external path of the repository to retrieve information for. Path *GetRepositoryMetadataRequest_Path `protobuf:"bytes,2,opt,name=path,proto3,oneof"` }
type GetRepositoryMetadataRequest_RepositoryId ¶
type GetRepositoryMetadataRequest_RepositoryId struct { // repository_id is the ID of the repository to retrieve information for. RepositoryId int64 `protobuf:"varint,1,opt,name=repository_id,json=repositoryId,proto3,oneof"` }
type GetRepositoryMetadataResponse ¶
type GetRepositoryMetadataResponse struct { // repository_id is the internal ID of the repository. RepositoryId int64 `protobuf:"varint,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` // virtual_storage is the virtual storage in which the repository is located. VirtualStorage string `protobuf:"bytes,2,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` // relative_path is the relative path of the repository in the virtual storage. RelativePath string `protobuf:"bytes,3,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // replica_path is the path on the disk where the replicas are stored. ReplicaPath string `protobuf:"bytes,4,opt,name=replica_path,json=replicaPath,proto3" json:"replica_path,omitempty"` // primary is the current primary of the repository. Primary string `protobuf:"bytes,5,opt,name=primary,proto3" json:"primary,omitempty"` // generation is the repository's current generation. Generation int64 `protobuf:"varint,6,opt,name=generation,proto3" json:"generation,omitempty"` // replicas are the existing and supposed to exist replicas of this repository. Replicas []*GetRepositoryMetadataResponse_Replica `protobuf:"bytes,7,rep,name=replicas,proto3" json:"replicas,omitempty"` // contains filtered or unexported fields }
GetRepositoryMetadataResponse contains the repository's cluster metadata.
func (*GetRepositoryMetadataResponse) Descriptor
deprecated
func (*GetRepositoryMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryMetadataResponse.ProtoReflect.Descriptor instead.
func (*GetRepositoryMetadataResponse) GetGeneration ¶
func (x *GetRepositoryMetadataResponse) GetGeneration() int64
func (*GetRepositoryMetadataResponse) GetPrimary ¶
func (x *GetRepositoryMetadataResponse) GetPrimary() string
func (*GetRepositoryMetadataResponse) GetRelativePath ¶
func (x *GetRepositoryMetadataResponse) GetRelativePath() string
func (*GetRepositoryMetadataResponse) GetReplicaPath ¶
func (x *GetRepositoryMetadataResponse) GetReplicaPath() string
func (*GetRepositoryMetadataResponse) GetReplicas ¶
func (x *GetRepositoryMetadataResponse) GetReplicas() []*GetRepositoryMetadataResponse_Replica
func (*GetRepositoryMetadataResponse) GetRepositoryId ¶
func (x *GetRepositoryMetadataResponse) GetRepositoryId() int64
func (*GetRepositoryMetadataResponse) GetVirtualStorage ¶
func (x *GetRepositoryMetadataResponse) GetVirtualStorage() string
func (*GetRepositoryMetadataResponse) ProtoMessage ¶
func (*GetRepositoryMetadataResponse) ProtoMessage()
func (*GetRepositoryMetadataResponse) ProtoReflect ¶
func (x *GetRepositoryMetadataResponse) ProtoReflect() protoreflect.Message
func (*GetRepositoryMetadataResponse) Reset ¶
func (x *GetRepositoryMetadataResponse) Reset()
func (*GetRepositoryMetadataResponse) String ¶
func (x *GetRepositoryMetadataResponse) String() string
type GetRepositoryMetadataResponse_Replica ¶
type GetRepositoryMetadataResponse_Replica struct { // storage is the name of the replica's storage. Storage string `protobuf:"bytes,1,opt,name=storage,proto3" json:"storage,omitempty"` // assigned indicates whether the replica is on an assigned storage. Assigned bool `protobuf:"varint,2,opt,name=assigned,proto3" json:"assigned,omitempty"` // generation is the replicas confirmed generation. Generation is -1 if the replica // does not yet exist. Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` // healthy indicates whether the replica is on a healthy storage. Healthy bool `protobuf:"varint,5,opt,name=healthy,proto3" json:"healthy,omitempty"` // valid_primary indicates whether the replica is considered a valid primary. ValidPrimary bool `protobuf:"varint,6,opt,name=valid_primary,json=validPrimary,proto3" json:"valid_primary,omitempty"` // verified_at is the last successful verification time of the replica. VerifiedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=verified_at,json=verifiedAt,proto3" json:"verified_at,omitempty"` // contains filtered or unexported fields }
Replica ...
func (*GetRepositoryMetadataResponse_Replica) Descriptor
deprecated
func (*GetRepositoryMetadataResponse_Replica) Descriptor() ([]byte, []int)
Deprecated: Use GetRepositoryMetadataResponse_Replica.ProtoReflect.Descriptor instead.
func (*GetRepositoryMetadataResponse_Replica) GetAssigned ¶
func (x *GetRepositoryMetadataResponse_Replica) GetAssigned() bool
func (*GetRepositoryMetadataResponse_Replica) GetGeneration ¶
func (x *GetRepositoryMetadataResponse_Replica) GetGeneration() int64
func (*GetRepositoryMetadataResponse_Replica) GetHealthy ¶
func (x *GetRepositoryMetadataResponse_Replica) GetHealthy() bool
func (*GetRepositoryMetadataResponse_Replica) GetStorage ¶
func (x *GetRepositoryMetadataResponse_Replica) GetStorage() string
func (*GetRepositoryMetadataResponse_Replica) GetValidPrimary ¶
func (x *GetRepositoryMetadataResponse_Replica) GetValidPrimary() bool
func (*GetRepositoryMetadataResponse_Replica) GetVerifiedAt ¶
func (x *GetRepositoryMetadataResponse_Replica) GetVerifiedAt() *timestamppb.Timestamp
func (*GetRepositoryMetadataResponse_Replica) ProtoMessage ¶
func (*GetRepositoryMetadataResponse_Replica) ProtoMessage()
func (*GetRepositoryMetadataResponse_Replica) ProtoReflect ¶
func (x *GetRepositoryMetadataResponse_Replica) ProtoReflect() protoreflect.Message
func (*GetRepositoryMetadataResponse_Replica) Reset ¶
func (x *GetRepositoryMetadataResponse_Replica) Reset()
func (*GetRepositoryMetadataResponse_Replica) String ¶
func (x *GetRepositoryMetadataResponse_Replica) String() string
type GetSnapshotRequest ¶
type GetSnapshotRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
GetSnapshotRequest ...
func (*GetSnapshotRequest) Descriptor
deprecated
func (*GetSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSnapshotRequest.ProtoReflect.Descriptor instead.
func (*GetSnapshotRequest) GetRepository ¶
func (x *GetSnapshotRequest) GetRepository() *Repository
func (*GetSnapshotRequest) ProtoMessage ¶
func (*GetSnapshotRequest) ProtoMessage()
func (*GetSnapshotRequest) ProtoReflect ¶
func (x *GetSnapshotRequest) ProtoReflect() protoreflect.Message
func (*GetSnapshotRequest) Reset ¶
func (x *GetSnapshotRequest) Reset()
func (*GetSnapshotRequest) String ¶
func (x *GetSnapshotRequest) String() string
type GetSnapshotResponse ¶
type GetSnapshotResponse struct { // data ... Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
GetSnapshotResponse ...
func (*GetSnapshotResponse) Descriptor
deprecated
func (*GetSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSnapshotResponse.ProtoReflect.Descriptor instead.
func (*GetSnapshotResponse) GetData ¶
func (x *GetSnapshotResponse) GetData() []byte
func (*GetSnapshotResponse) ProtoMessage ¶
func (*GetSnapshotResponse) ProtoMessage()
func (*GetSnapshotResponse) ProtoReflect ¶
func (x *GetSnapshotResponse) ProtoReflect() protoreflect.Message
func (*GetSnapshotResponse) Reset ¶
func (x *GetSnapshotResponse) Reset()
func (*GetSnapshotResponse) String ¶
func (x *GetSnapshotResponse) String() string
type GetTagMessagesRequest ¶
type GetTagMessagesRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // tag_ids ... TagIds []string `protobuf:"bytes,3,rep,name=tag_ids,json=tagIds,proto3" json:"tag_ids,omitempty"` // contains filtered or unexported fields }
GetTagMessagesRequest ...
func (*GetTagMessagesRequest) Descriptor
deprecated
func (*GetTagMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTagMessagesRequest.ProtoReflect.Descriptor instead.
func (*GetTagMessagesRequest) GetRepository ¶
func (x *GetTagMessagesRequest) GetRepository() *Repository
func (*GetTagMessagesRequest) GetTagIds ¶
func (x *GetTagMessagesRequest) GetTagIds() []string
func (*GetTagMessagesRequest) ProtoMessage ¶
func (*GetTagMessagesRequest) ProtoMessage()
func (*GetTagMessagesRequest) ProtoReflect ¶
func (x *GetTagMessagesRequest) ProtoReflect() protoreflect.Message
func (*GetTagMessagesRequest) Reset ¶
func (x *GetTagMessagesRequest) Reset()
func (*GetTagMessagesRequest) String ¶
func (x *GetTagMessagesRequest) String() string
type GetTagMessagesResponse ¶
type GetTagMessagesResponse struct { // message ... Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // tag_id ... // Only present for a new tag message. TagId string `protobuf:"bytes,3,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"` // contains filtered or unexported fields }
GetTagMessagesResponse ...
func (*GetTagMessagesResponse) Descriptor
deprecated
func (*GetTagMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTagMessagesResponse.ProtoReflect.Descriptor instead.
func (*GetTagMessagesResponse) GetMessage ¶
func (x *GetTagMessagesResponse) GetMessage() []byte
func (*GetTagMessagesResponse) GetTagId ¶
func (x *GetTagMessagesResponse) GetTagId() string
func (*GetTagMessagesResponse) ProtoMessage ¶
func (*GetTagMessagesResponse) ProtoMessage()
func (*GetTagMessagesResponse) ProtoReflect ¶
func (x *GetTagMessagesResponse) ProtoReflect() protoreflect.Message
func (*GetTagMessagesResponse) Reset ¶
func (x *GetTagMessagesResponse) Reset()
func (*GetTagMessagesResponse) String ¶
func (x *GetTagMessagesResponse) String() string
type GetTagSignaturesRequest ¶
type GetTagSignaturesRequest struct { // repository is the repository in which tag signatures should be looked up. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // tag_revisions is the set of revisions which that should be looked up. Revisions // supports the syntax as specified by gitrevisions(7). All revisions are expected // to resolve to annotated tag objects. At least one revision must be provided. TagRevisions []string `protobuf:"bytes,2,rep,name=tag_revisions,json=tagRevisions,proto3" json:"tag_revisions,omitempty"` // contains filtered or unexported fields }
GetTagSignaturesRequest is a request for the GetTagSignatures RPC.
func (*GetTagSignaturesRequest) Descriptor
deprecated
func (*GetTagSignaturesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTagSignaturesRequest.ProtoReflect.Descriptor instead.
func (*GetTagSignaturesRequest) GetRepository ¶
func (x *GetTagSignaturesRequest) GetRepository() *Repository
func (*GetTagSignaturesRequest) GetTagRevisions ¶
func (x *GetTagSignaturesRequest) GetTagRevisions() []string
func (*GetTagSignaturesRequest) ProtoMessage ¶
func (*GetTagSignaturesRequest) ProtoMessage()
func (*GetTagSignaturesRequest) ProtoReflect ¶
func (x *GetTagSignaturesRequest) ProtoReflect() protoreflect.Message
func (*GetTagSignaturesRequest) Reset ¶
func (x *GetTagSignaturesRequest) Reset()
func (*GetTagSignaturesRequest) String ¶
func (x *GetTagSignaturesRequest) String() string
type GetTagSignaturesResponse ¶
type GetTagSignaturesResponse struct { // signatures is the set of signatures found. Signatures []*GetTagSignaturesResponse_TagSignature `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"` // contains filtered or unexported fields }
GetTagSignaturesResponse is a response for a GetTagSignatures request. Each response may contain multiple TagSignatures. In case TagSignatures don't fit into a single response, signatures will be batched in multiple responses.
func (*GetTagSignaturesResponse) Descriptor
deprecated
func (*GetTagSignaturesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTagSignaturesResponse.ProtoReflect.Descriptor instead.
func (*GetTagSignaturesResponse) GetSignatures ¶
func (x *GetTagSignaturesResponse) GetSignatures() []*GetTagSignaturesResponse_TagSignature
func (*GetTagSignaturesResponse) ProtoMessage ¶
func (*GetTagSignaturesResponse) ProtoMessage()
func (*GetTagSignaturesResponse) ProtoReflect ¶
func (x *GetTagSignaturesResponse) ProtoReflect() protoreflect.Message
func (*GetTagSignaturesResponse) Reset ¶
func (x *GetTagSignaturesResponse) Reset()
func (*GetTagSignaturesResponse) String ¶
func (x *GetTagSignaturesResponse) String() string
type GetTagSignaturesResponse_TagSignature ¶
type GetTagSignaturesResponse_TagSignature struct { // tag_id is the resolved object ID of the tag. TagId string `protobuf:"bytes,1,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"` // signature contains the cryptographic signature of the tag. If the tag is not // cryptographically signed, then the signature is unset. Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // content contains the contents which are signed by the signature. Contents // include both the commit message, but also the commit metadata like author and // subject. Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
TagSignature represents the signature of a signed tag.
func (*GetTagSignaturesResponse_TagSignature) Descriptor
deprecated
func (*GetTagSignaturesResponse_TagSignature) Descriptor() ([]byte, []int)
Deprecated: Use GetTagSignaturesResponse_TagSignature.ProtoReflect.Descriptor instead.
func (*GetTagSignaturesResponse_TagSignature) GetContent ¶
func (x *GetTagSignaturesResponse_TagSignature) GetContent() []byte
func (*GetTagSignaturesResponse_TagSignature) GetSignature ¶
func (x *GetTagSignaturesResponse_TagSignature) GetSignature() []byte
func (*GetTagSignaturesResponse_TagSignature) GetTagId ¶
func (x *GetTagSignaturesResponse_TagSignature) GetTagId() string
func (*GetTagSignaturesResponse_TagSignature) ProtoMessage ¶
func (*GetTagSignaturesResponse_TagSignature) ProtoMessage()
func (*GetTagSignaturesResponse_TagSignature) ProtoReflect ¶
func (x *GetTagSignaturesResponse_TagSignature) ProtoReflect() protoreflect.Message
func (*GetTagSignaturesResponse_TagSignature) Reset ¶
func (x *GetTagSignaturesResponse_TagSignature) Reset()
func (*GetTagSignaturesResponse_TagSignature) String ¶
func (x *GetTagSignaturesResponse_TagSignature) String() string
type GetTreeEntriesError ¶ added in v16.1.0
type GetTreeEntriesError struct { // Types that are assignable to Error: // // *GetTreeEntriesError_ResolveTree // *GetTreeEntriesError_Path Error isGetTreeEntriesError_Error `protobuf_oneof:"error"` // contains filtered or unexported fields }
GetTreeEntriesError may be returned when GetTreeEntries fails with a specific root cause.
func (*GetTreeEntriesError) Descriptor
deprecated
added in
v16.1.0
func (*GetTreeEntriesError) Descriptor() ([]byte, []int)
Deprecated: Use GetTreeEntriesError.ProtoReflect.Descriptor instead.
func (*GetTreeEntriesError) GetError ¶ added in v16.1.0
func (m *GetTreeEntriesError) GetError() isGetTreeEntriesError_Error
func (*GetTreeEntriesError) GetPath ¶ added in v16.1.0
func (x *GetTreeEntriesError) GetPath() *PathError
func (*GetTreeEntriesError) GetResolveTree ¶ added in v16.1.0
func (x *GetTreeEntriesError) GetResolveTree() *ResolveRevisionError
func (*GetTreeEntriesError) ProtoMessage ¶ added in v16.1.0
func (*GetTreeEntriesError) ProtoMessage()
func (*GetTreeEntriesError) ProtoReflect ¶ added in v16.1.0
func (x *GetTreeEntriesError) ProtoReflect() protoreflect.Message
func (*GetTreeEntriesError) Reset ¶ added in v16.1.0
func (x *GetTreeEntriesError) Reset()
func (*GetTreeEntriesError) String ¶ added in v16.1.0
func (x *GetTreeEntriesError) String() string
type GetTreeEntriesError_Path ¶ added in v16.1.0
type GetTreeEntriesError_Path struct { // path is set when the provided path is not valid. Path *PathError `protobuf:"bytes,2,opt,name=path,proto3,oneof"` }
type GetTreeEntriesError_ResolveTree ¶ added in v16.1.0
type GetTreeEntriesError_ResolveTree struct { // resolve_tree is set when the provided revision ID could not be resolved. ResolveTree *ResolveRevisionError `protobuf:"bytes,1,opt,name=resolve_tree,json=resolveTree,proto3,oneof"` }
type GetTreeEntriesRequest ¶
type GetTreeEntriesRequest struct { // repository is the repository to get the tree entries from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revision is the commitish at which the tree entries is to be read. Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // path is the path of the entry that shall be read, relative to the tree of the specified revision. Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // recursive denotes wether to recursively fetch sub-trees. Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"` // sort defines the sorting parameter. Sort GetTreeEntriesRequest_SortBy `protobuf:"varint,5,opt,name=sort,proto3,enum=gitaly.GetTreeEntriesRequest_SortBy" json:"sort,omitempty"` // pagination_params allows implementation of pagination. The page token is // the path of the last tree object that was sent. PaginationParams *PaginationParameter `protobuf:"bytes,6,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` // skip_flat_paths is an option to skip the expensive operation of populating flat paths. SkipFlatPaths bool `protobuf:"varint,7,opt,name=skip_flat_paths,json=skipFlatPaths,proto3" json:"skip_flat_paths,omitempty"` // contains filtered or unexported fields }
GetTreeEntriesRequest is the request for the GetTreeEntries RPC.
func (*GetTreeEntriesRequest) Descriptor
deprecated
func (*GetTreeEntriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTreeEntriesRequest.ProtoReflect.Descriptor instead.
func (*GetTreeEntriesRequest) GetPaginationParams ¶
func (x *GetTreeEntriesRequest) GetPaginationParams() *PaginationParameter
func (*GetTreeEntriesRequest) GetPath ¶
func (x *GetTreeEntriesRequest) GetPath() []byte
func (*GetTreeEntriesRequest) GetRecursive ¶
func (x *GetTreeEntriesRequest) GetRecursive() bool
func (*GetTreeEntriesRequest) GetRepository ¶
func (x *GetTreeEntriesRequest) GetRepository() *Repository
func (*GetTreeEntriesRequest) GetRevision ¶
func (x *GetTreeEntriesRequest) GetRevision() []byte
func (*GetTreeEntriesRequest) GetSkipFlatPaths ¶
func (x *GetTreeEntriesRequest) GetSkipFlatPaths() bool
func (*GetTreeEntriesRequest) GetSort ¶
func (x *GetTreeEntriesRequest) GetSort() GetTreeEntriesRequest_SortBy
func (*GetTreeEntriesRequest) ProtoMessage ¶
func (*GetTreeEntriesRequest) ProtoMessage()
func (*GetTreeEntriesRequest) ProtoReflect ¶
func (x *GetTreeEntriesRequest) ProtoReflect() protoreflect.Message
func (*GetTreeEntriesRequest) Reset ¶
func (x *GetTreeEntriesRequest) Reset()
func (*GetTreeEntriesRequest) String ¶
func (x *GetTreeEntriesRequest) String() string
type GetTreeEntriesRequest_SortBy ¶
type GetTreeEntriesRequest_SortBy int32
SortBy provides the sorting parameters.
const ( // DEFAULT preserves the order of git ls-tree. GetTreeEntriesRequest_DEFAULT GetTreeEntriesRequest_SortBy = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // TREES_FIRST sorts the entries by trees, blobs and submodules. GetTreeEntriesRequest_TREES_FIRST GetTreeEntriesRequest_SortBy = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (GetTreeEntriesRequest_SortBy) Descriptor ¶
func (GetTreeEntriesRequest_SortBy) Descriptor() protoreflect.EnumDescriptor
func (GetTreeEntriesRequest_SortBy) Enum ¶
func (x GetTreeEntriesRequest_SortBy) Enum() *GetTreeEntriesRequest_SortBy
func (GetTreeEntriesRequest_SortBy) EnumDescriptor
deprecated
func (GetTreeEntriesRequest_SortBy) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetTreeEntriesRequest_SortBy.Descriptor instead.
func (GetTreeEntriesRequest_SortBy) Number ¶
func (x GetTreeEntriesRequest_SortBy) Number() protoreflect.EnumNumber
func (GetTreeEntriesRequest_SortBy) String ¶
func (x GetTreeEntriesRequest_SortBy) String() string
func (GetTreeEntriesRequest_SortBy) Type ¶
func (GetTreeEntriesRequest_SortBy) Type() protoreflect.EnumType
type GetTreeEntriesResponse ¶
type GetTreeEntriesResponse struct { // entries denotes a list of tree entries. Entries []*TreeEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // pagination_cursor is a cursor to implement paginated requests. PaginationCursor *PaginationCursor `protobuf:"bytes,2,opt,name=pagination_cursor,json=paginationCursor,proto3" json:"pagination_cursor,omitempty"` // contains filtered or unexported fields }
GetTreeEntriesResponse is the response for the GetTreeEntries RPC. The response will be chunked into multiple message if the returned data exceeds gRPC message limits.
func (*GetTreeEntriesResponse) Descriptor
deprecated
func (*GetTreeEntriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTreeEntriesResponse.ProtoReflect.Descriptor instead.
func (*GetTreeEntriesResponse) GetEntries ¶
func (x *GetTreeEntriesResponse) GetEntries() []*TreeEntry
func (*GetTreeEntriesResponse) GetPaginationCursor ¶
func (x *GetTreeEntriesResponse) GetPaginationCursor() *PaginationCursor
func (*GetTreeEntriesResponse) ProtoMessage ¶
func (*GetTreeEntriesResponse) ProtoMessage()
func (*GetTreeEntriesResponse) ProtoReflect ¶
func (x *GetTreeEntriesResponse) ProtoReflect() protoreflect.Message
func (*GetTreeEntriesResponse) Reset ¶
func (x *GetTreeEntriesResponse) Reset()
func (*GetTreeEntriesResponse) String ¶
func (x *GetTreeEntriesResponse) String() string
type GitCommit ¶
type GitCommit struct { // id ... Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // subject ... Subject []byte `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` // body ... Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` // author ... Author *CommitAuthor `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"` // committer ... Committer *CommitAuthor `protobuf:"bytes,5,opt,name=committer,proto3" json:"committer,omitempty"` // parent_ids ... ParentIds []string `protobuf:"bytes,6,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` // body_size is the size of the commit body. 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,proto3" json:"body_size,omitempty"` // signature_type ... SignatureType SignatureType `` /* 127-byte string literal not displayed */ // tree_id is the object ID of the tree. The tree ID will always be filled, even // if the tree is empty. In that case the value will be `4b825dc642cb6eb9a060e54bf8d69288fbee4904`. // That value is equivalent to `git hash-object -t tree /dev/null`. TreeId string `protobuf:"bytes,9,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty"` // trailers is the list of Git trailers (https://git-scm.com/docs/git-interpret-trailers) // found in this commit's message. The number of trailers and their key/value // sizes are limited. If a trailer exceeds these size limits, it and any // trailers that follow it are not included. Trailers []*CommitTrailer `protobuf:"bytes,10,rep,name=trailers,proto3" json:"trailers,omitempty"` // short_stats are the git stats including additions, deletions and changed_files, // they are only set when `include_shortstat == true`. ShortStats *CommitStatInfo `protobuf:"bytes,11,opt,name=short_stats,json=shortStats,proto3" json:"short_stats,omitempty"` // referenced_by contains fully-qualified reference names (e.g refs/heads/main) // that point to the commit. ReferencedBy [][]byte `protobuf:"bytes,12,rep,name=referenced_by,json=referencedBy,proto3" json:"referenced_by,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED // encoding is the encoding of the commit message. This field will only be present if // `i18n.commitEncoding` was set to a value other than "UTF-8" at the time // this commit was made. // See: https://git-scm.com/docs/git-commit#_discussion Encoding string `protobuf:"bytes,13,opt,name=encoding,proto3" json:"encoding,omitempty"` // contains filtered or unexported fields }
GitCommit corresponds to Gitlab::Git::Commit
func (*GitCommit) Descriptor
deprecated
func (*GitCommit) GetAuthor ¶
func (x *GitCommit) GetAuthor() *CommitAuthor
func (*GitCommit) GetBodySize ¶
func (*GitCommit) GetCommitter ¶
func (x *GitCommit) GetCommitter() *CommitAuthor
func (*GitCommit) GetEncoding ¶
func (*GitCommit) GetParentIds ¶
func (*GitCommit) GetReferencedBy ¶
func (*GitCommit) GetShortStats ¶
func (x *GitCommit) GetShortStats() *CommitStatInfo
func (*GitCommit) GetSignatureType ¶
func (x *GitCommit) GetSignatureType() SignatureType
func (*GitCommit) GetSubject ¶
func (*GitCommit) GetTrailers ¶
func (x *GitCommit) GetTrailers() []*CommitTrailer
func (*GitCommit) ProtoMessage ¶
func (*GitCommit) ProtoMessage()
func (*GitCommit) ProtoReflect ¶
func (x *GitCommit) ProtoReflect() protoreflect.Message
type GlobalOptions ¶
type GlobalOptions struct { // literal_pathspecs should be set to treat pathspecs literally (i.e. no globbing, no pathspec magic). LiteralPathspecs bool `protobuf:"varint,1,opt,name=literal_pathspecs,json=literalPathspecs,proto3" json:"literal_pathspecs,omitempty"` // contains filtered or unexported fields }
GlobalOptions are additional git options as defined at https://git-scm.com/docs/git/#_options.
func (*GlobalOptions) Descriptor
deprecated
func (*GlobalOptions) Descriptor() ([]byte, []int)
Deprecated: Use GlobalOptions.ProtoReflect.Descriptor instead.
func (*GlobalOptions) GetLiteralPathspecs ¶
func (x *GlobalOptions) GetLiteralPathspecs() bool
func (*GlobalOptions) ProtoMessage ¶
func (*GlobalOptions) ProtoMessage()
func (*GlobalOptions) ProtoReflect ¶
func (x *GlobalOptions) ProtoReflect() protoreflect.Message
func (*GlobalOptions) Reset ¶
func (x *GlobalOptions) Reset()
func (*GlobalOptions) String ¶
func (x *GlobalOptions) String() string
type HasLocalBranchesRequest ¶
type HasLocalBranchesRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
HasLocalBranchesRequest ...
func (*HasLocalBranchesRequest) Descriptor
deprecated
func (*HasLocalBranchesRequest) Descriptor() ([]byte, []int)
Deprecated: Use HasLocalBranchesRequest.ProtoReflect.Descriptor instead.
func (*HasLocalBranchesRequest) GetRepository ¶
func (x *HasLocalBranchesRequest) GetRepository() *Repository
func (*HasLocalBranchesRequest) ProtoMessage ¶
func (*HasLocalBranchesRequest) ProtoMessage()
func (*HasLocalBranchesRequest) ProtoReflect ¶
func (x *HasLocalBranchesRequest) ProtoReflect() protoreflect.Message
func (*HasLocalBranchesRequest) Reset ¶
func (x *HasLocalBranchesRequest) Reset()
func (*HasLocalBranchesRequest) String ¶
func (x *HasLocalBranchesRequest) String() string
type HasLocalBranchesResponse ¶
type HasLocalBranchesResponse struct { // value ... Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
HasLocalBranchesResponse ...
func (*HasLocalBranchesResponse) Descriptor
deprecated
func (*HasLocalBranchesResponse) Descriptor() ([]byte, []int)
Deprecated: Use HasLocalBranchesResponse.ProtoReflect.Descriptor instead.
func (*HasLocalBranchesResponse) GetValue ¶
func (x *HasLocalBranchesResponse) GetValue() bool
func (*HasLocalBranchesResponse) ProtoMessage ¶
func (*HasLocalBranchesResponse) ProtoMessage()
func (*HasLocalBranchesResponse) ProtoReflect ¶
func (x *HasLocalBranchesResponse) ProtoReflect() protoreflect.Message
func (*HasLocalBranchesResponse) Reset ¶
func (x *HasLocalBranchesResponse) Reset()
func (*HasLocalBranchesResponse) String ¶
func (x *HasLocalBranchesResponse) String() string
type HookServiceClient ¶
type HookServiceClient interface { // PreReceiveHook ... PreReceiveHook(ctx context.Context, opts ...grpc.CallOption) (HookService_PreReceiveHookClient, error) // PostReceiveHook ... PostReceiveHook(ctx context.Context, opts ...grpc.CallOption) (HookService_PostReceiveHookClient, error) // UpdateHook ... UpdateHook(ctx context.Context, in *UpdateHookRequest, opts ...grpc.CallOption) (HookService_UpdateHookClient, error) // ReferenceTransactionHook ... ReferenceTransactionHook(ctx context.Context, opts ...grpc.CallOption) (HookService_ReferenceTransactionHookClient, error) // PackObjectsHookWithSidechannel is an optimized version of PackObjectsHook that uses // a unix socket side channel. PackObjectsHookWithSidechannel(ctx context.Context, in *PackObjectsHookWithSidechannelRequest, opts ...grpc.CallOption) (*PackObjectsHookWithSidechannelResponse, error) }
HookServiceClient is the client API for HookService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewHookServiceClient ¶
func NewHookServiceClient(cc grpc.ClientConnInterface) HookServiceClient
type HookServiceServer ¶
type HookServiceServer interface { // PreReceiveHook ... PreReceiveHook(HookService_PreReceiveHookServer) error // PostReceiveHook ... PostReceiveHook(HookService_PostReceiveHookServer) error // UpdateHook ... UpdateHook(*UpdateHookRequest, HookService_UpdateHookServer) error // ReferenceTransactionHook ... ReferenceTransactionHook(HookService_ReferenceTransactionHookServer) error // PackObjectsHookWithSidechannel is an optimized version of PackObjectsHook that uses // a unix socket side channel. PackObjectsHookWithSidechannel(context.Context, *PackObjectsHookWithSidechannelRequest) (*PackObjectsHookWithSidechannelResponse, error) // contains filtered or unexported methods }
HookServiceServer is the server API for HookService service. All implementations must embed UnimplementedHookServiceServer for forward compatibility
type HookService_PostReceiveHookClient ¶
type HookService_PostReceiveHookClient interface { Send(*PostReceiveHookRequest) error Recv() (*PostReceiveHookResponse, error) grpc.ClientStream }
type HookService_PostReceiveHookServer ¶
type HookService_PostReceiveHookServer interface { Send(*PostReceiveHookResponse) error Recv() (*PostReceiveHookRequest, error) grpc.ServerStream }
type HookService_PreReceiveHookClient ¶
type HookService_PreReceiveHookClient interface { Send(*PreReceiveHookRequest) error Recv() (*PreReceiveHookResponse, error) grpc.ClientStream }
type HookService_PreReceiveHookServer ¶
type HookService_PreReceiveHookServer interface { Send(*PreReceiveHookResponse) error Recv() (*PreReceiveHookRequest, error) grpc.ServerStream }
type HookService_ReferenceTransactionHookClient ¶
type HookService_ReferenceTransactionHookClient interface { Send(*ReferenceTransactionHookRequest) error Recv() (*ReferenceTransactionHookResponse, error) grpc.ClientStream }
type HookService_ReferenceTransactionHookServer ¶
type HookService_ReferenceTransactionHookServer interface { Send(*ReferenceTransactionHookResponse) error Recv() (*ReferenceTransactionHookRequest, error) grpc.ServerStream }
type HookService_UpdateHookClient ¶
type HookService_UpdateHookClient interface { Recv() (*UpdateHookResponse, error) grpc.ClientStream }
type HookService_UpdateHookServer ¶
type HookService_UpdateHookServer interface { Send(*UpdateHookResponse) error grpc.ServerStream }
type IndexError ¶
type IndexError struct { // path is the file or directory path that triggered the error. Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // error_type is the type of index error that occurred. ErrorType IndexError_ErrorType `protobuf:"varint,2,opt,name=error_type,json=errorType,proto3,enum=gitaly.IndexError_ErrorType" json:"error_type,omitempty"` // contains filtered or unexported fields }
IndexError is an error returned when an operation fails to due a conflict with the repository index.
func (*IndexError) Descriptor
deprecated
func (*IndexError) Descriptor() ([]byte, []int)
Deprecated: Use IndexError.ProtoReflect.Descriptor instead.
func (*IndexError) GetErrorType ¶
func (x *IndexError) GetErrorType() IndexError_ErrorType
func (*IndexError) GetPath ¶
func (x *IndexError) GetPath() []byte
func (*IndexError) ProtoMessage ¶
func (*IndexError) ProtoMessage()
func (*IndexError) ProtoReflect ¶
func (x *IndexError) ProtoReflect() protoreflect.Message
func (*IndexError) Reset ¶
func (x *IndexError) Reset()
func (*IndexError) String ¶
func (x *IndexError) String() string
type IndexError_ErrorType ¶
type IndexError_ErrorType int32
ErrorType is the type of error encountered on the index operation.
const ( // ERROR_TYPE_UNSPECIFIED is the default error type and should never be set. IndexError_ERROR_TYPE_UNSPECIFIED IndexError_ErrorType = 0 // ERROR_TYPE_EMPTY_PATH indicates an empty path was provided by the caller. IndexError_ERROR_TYPE_EMPTY_PATH IndexError_ErrorType = 1 // ERROR_TYPE_INVALID_PATH indicates a path either contained '.git', or was // incorrectly formated, e.g. invalid://file/path. IndexError_ERROR_TYPE_INVALID_PATH IndexError_ErrorType = 2 // ERROR_TYPE_DIRECTORY_EXISTS indicates the directory being created already exists. IndexError_ERROR_TYPE_DIRECTORY_EXISTS IndexError_ErrorType = 3 // ERROR_TYPE_DIRECTORY_TRAVERSAL indicates the path contains a directory traversal // sequence. IndexError_ERROR_TYPE_DIRECTORY_TRAVERSAL IndexError_ErrorType = 4 // ERROR_TYPE_FILE_EXISTS indicates the file being created already exists. IndexError_ERROR_TYPE_FILE_EXISTS IndexError_ErrorType = 5 // ERROR_TYPE_FILE_NOT_FOUND indicates the file being updated does not exist. IndexError_ERROR_TYPE_FILE_NOT_FOUND IndexError_ErrorType = 6 )
func (IndexError_ErrorType) Descriptor ¶
func (IndexError_ErrorType) Descriptor() protoreflect.EnumDescriptor
func (IndexError_ErrorType) Enum ¶
func (x IndexError_ErrorType) Enum() *IndexError_ErrorType
func (IndexError_ErrorType) EnumDescriptor
deprecated
func (IndexError_ErrorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use IndexError_ErrorType.Descriptor instead.
func (IndexError_ErrorType) Number ¶
func (x IndexError_ErrorType) Number() protoreflect.EnumNumber
func (IndexError_ErrorType) String ¶
func (x IndexError_ErrorType) String() string
func (IndexError_ErrorType) Type ¶
func (IndexError_ErrorType) Type() protoreflect.EnumType
type InfoRefsRequest ¶
type InfoRefsRequest struct { // repository is the repository on which to operate. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // git_config_options are parameters to use with git -c (key=value pairs). GitConfigOptions []string `protobuf:"bytes,2,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` // git_protocol is the git protocol version. GitProtocol string `protobuf:"bytes,3,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` // contains filtered or unexported fields }
InfoRefsRequest is a request for the InfoRefsUploadPack and InfoRefsUploadPack rpcs.
func (*InfoRefsRequest) Descriptor
deprecated
func (*InfoRefsRequest) Descriptor() ([]byte, []int)
Deprecated: Use InfoRefsRequest.ProtoReflect.Descriptor instead.
func (*InfoRefsRequest) GetGitConfigOptions ¶
func (x *InfoRefsRequest) GetGitConfigOptions() []string
func (*InfoRefsRequest) GetGitProtocol ¶
func (x *InfoRefsRequest) GetGitProtocol() string
func (*InfoRefsRequest) GetRepository ¶
func (x *InfoRefsRequest) GetRepository() *Repository
func (*InfoRefsRequest) ProtoMessage ¶
func (*InfoRefsRequest) ProtoMessage()
func (*InfoRefsRequest) ProtoReflect ¶
func (x *InfoRefsRequest) ProtoReflect() protoreflect.Message
func (*InfoRefsRequest) Reset ¶
func (x *InfoRefsRequest) Reset()
func (*InfoRefsRequest) String ¶
func (x *InfoRefsRequest) String() string
type InfoRefsResponse ¶
type InfoRefsResponse struct { // data is the raw data copied from the stdout of git-upload-pack(1) or // git-receive-pack(1) when used with the `--advertise-refs` flag. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
InfoRefsResponse is the response of InfoRefsUploadPack and InfoRefsUploadPack rpcs. It is used to provide the client with the servers advertised refs.
func (*InfoRefsResponse) Descriptor
deprecated
func (*InfoRefsResponse) Descriptor() ([]byte, []int)
Deprecated: Use InfoRefsResponse.ProtoReflect.Descriptor instead.
func (*InfoRefsResponse) GetData ¶
func (x *InfoRefsResponse) GetData() []byte
func (*InfoRefsResponse) ProtoMessage ¶
func (*InfoRefsResponse) ProtoMessage()
func (*InfoRefsResponse) ProtoReflect ¶
func (x *InfoRefsResponse) ProtoReflect() protoreflect.Message
func (*InfoRefsResponse) Reset ¶
func (x *InfoRefsResponse) Reset()
func (*InfoRefsResponse) String ¶
func (x *InfoRefsResponse) String() string
type InternalGitalyClient ¶
type InternalGitalyClient interface { // WalkRepos walks the storage and streams back all known git repos on the // requested storage WalkRepos(ctx context.Context, in *WalkReposRequest, opts ...grpc.CallOption) (InternalGitaly_WalkReposClient, error) }
InternalGitalyClient is the client API for InternalGitaly service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewInternalGitalyClient ¶
func NewInternalGitalyClient(cc grpc.ClientConnInterface) InternalGitalyClient
type InternalGitalyServer ¶
type InternalGitalyServer interface { // WalkRepos walks the storage and streams back all known git repos on the // requested storage WalkRepos(*WalkReposRequest, InternalGitaly_WalkReposServer) error // contains filtered or unexported methods }
InternalGitalyServer is the server API for InternalGitaly service. All implementations must embed UnimplementedInternalGitalyServer for forward compatibility
type InternalGitaly_WalkReposClient ¶
type InternalGitaly_WalkReposClient interface { Recv() (*WalkReposResponse, error) grpc.ClientStream }
type InternalGitaly_WalkReposServer ¶
type InternalGitaly_WalkReposServer interface { Send(*WalkReposResponse) error grpc.ServerStream }
type InvalidRefFormatError ¶
type InvalidRefFormatError struct { // refs are the offending refs with invalid formats. Refs [][]byte `protobuf:"bytes,2,rep,name=refs,proto3" json:"refs,omitempty"` // contains filtered or unexported fields }
InvalidRefFormatError is an error returned when refs have an invalid format.
func (*InvalidRefFormatError) Descriptor
deprecated
func (*InvalidRefFormatError) Descriptor() ([]byte, []int)
Deprecated: Use InvalidRefFormatError.ProtoReflect.Descriptor instead.
func (*InvalidRefFormatError) GetRefs ¶
func (x *InvalidRefFormatError) GetRefs() [][]byte
func (*InvalidRefFormatError) ProtoMessage ¶
func (*InvalidRefFormatError) ProtoMessage()
func (*InvalidRefFormatError) ProtoReflect ¶
func (x *InvalidRefFormatError) ProtoReflect() protoreflect.Message
func (*InvalidRefFormatError) Reset ¶
func (x *InvalidRefFormatError) Reset()
func (*InvalidRefFormatError) String ¶
func (x *InvalidRefFormatError) String() string
type LFSPointer ¶
type LFSPointer struct { // size is the size of the blob. This is not the size of the LFS object // pointed to. Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // data is the bare data of the LFS pointer blob. It contains the pointer to // the LFS data in the format specified by the LFS project. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // oid is the object ID of the blob. Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` // contains filtered or unexported fields }
LFSPointer is a git blob which points to an LFS object.
func (*LFSPointer) Descriptor
deprecated
func (*LFSPointer) Descriptor() ([]byte, []int)
Deprecated: Use LFSPointer.ProtoReflect.Descriptor instead.
func (*LFSPointer) GetData ¶
func (x *LFSPointer) GetData() []byte
func (*LFSPointer) GetOid ¶
func (x *LFSPointer) GetOid() string
func (*LFSPointer) GetSize ¶
func (x *LFSPointer) GetSize() int64
func (*LFSPointer) ProtoMessage ¶
func (*LFSPointer) ProtoMessage()
func (*LFSPointer) ProtoReflect ¶
func (x *LFSPointer) ProtoReflect() protoreflect.Message
func (*LFSPointer) Reset ¶
func (x *LFSPointer) Reset()
func (*LFSPointer) String ¶
func (x *LFSPointer) String() string
type LastCommitForPathRequest ¶
type LastCommitForPathRequest struct { // repository is the repository to run the query in. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revision is the commitish that is used as the start commit to perform the search. Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // path is the path for which the last commit should be searched. This path can either point to a blob or to a // tree. The path must be relative and must not escape the repository root. If the path is empty or "/", then the // repository root will be searched instead. Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // literal_pathspec will treat the path literally. No globbing or pathspec magic is performed. This option is // deprecated in favor of GlobalOptions. LiteralPathspec bool `protobuf:"varint,4,opt,name=literal_pathspec,json=literalPathspec,proto3" json:"literal_pathspec,omitempty"` // global_options contains the global options used to modify the behaviour of Git. GlobalOptions *GlobalOptions `protobuf:"bytes,5,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` // contains filtered or unexported fields }
LastCommitForPathRequest is a request for the LastCommitForPath RPC.
func (*LastCommitForPathRequest) Descriptor
deprecated
func (*LastCommitForPathRequest) Descriptor() ([]byte, []int)
Deprecated: Use LastCommitForPathRequest.ProtoReflect.Descriptor instead.
func (*LastCommitForPathRequest) GetGlobalOptions ¶
func (x *LastCommitForPathRequest) GetGlobalOptions() *GlobalOptions
func (*LastCommitForPathRequest) GetLiteralPathspec ¶
func (x *LastCommitForPathRequest) GetLiteralPathspec() bool
func (*LastCommitForPathRequest) GetPath ¶
func (x *LastCommitForPathRequest) GetPath() []byte
func (*LastCommitForPathRequest) GetRepository ¶
func (x *LastCommitForPathRequest) GetRepository() *Repository
func (*LastCommitForPathRequest) GetRevision ¶
func (x *LastCommitForPathRequest) GetRevision() []byte
func (*LastCommitForPathRequest) ProtoMessage ¶
func (*LastCommitForPathRequest) ProtoMessage()
func (*LastCommitForPathRequest) ProtoReflect ¶
func (x *LastCommitForPathRequest) ProtoReflect() protoreflect.Message
func (*LastCommitForPathRequest) Reset ¶
func (x *LastCommitForPathRequest) Reset()
func (*LastCommitForPathRequest) String ¶
func (x *LastCommitForPathRequest) String() string
type LastCommitForPathResponse ¶
type LastCommitForPathResponse struct { // commit is the commit that has last modified the given path. Unset in case the path could not be found. Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
LastCommitForPathResponse is a response for the LastCommitForPath RPC.
func (*LastCommitForPathResponse) Descriptor
deprecated
func (*LastCommitForPathResponse) Descriptor() ([]byte, []int)
Deprecated: Use LastCommitForPathResponse.ProtoReflect.Descriptor instead.
func (*LastCommitForPathResponse) GetCommit ¶
func (x *LastCommitForPathResponse) GetCommit() *GitCommit
func (*LastCommitForPathResponse) ProtoMessage ¶
func (*LastCommitForPathResponse) ProtoMessage()
func (*LastCommitForPathResponse) ProtoReflect ¶
func (x *LastCommitForPathResponse) ProtoReflect() protoreflect.Message
func (*LastCommitForPathResponse) Reset ¶
func (x *LastCommitForPathResponse) Reset()
func (*LastCommitForPathResponse) String ¶
func (x *LastCommitForPathResponse) String() string
type LimitError ¶
type LimitError struct { // error_message provides context into why a limit was enforced. ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // retry_after provides the duration after which a retry is safe. // 0 indicates non-retryable. RetryAfter *durationpb.Duration `protobuf:"bytes,2,opt,name=retry_after,json=retryAfter,proto3" json:"retry_after,omitempty"` // contains filtered or unexported fields }
LimitError is an error returned when Gitaly enforces request limits.
func (*LimitError) Descriptor
deprecated
func (*LimitError) Descriptor() ([]byte, []int)
Deprecated: Use LimitError.ProtoReflect.Descriptor instead.
func (*LimitError) GetErrorMessage ¶
func (x *LimitError) GetErrorMessage() string
func (*LimitError) GetRetryAfter ¶
func (x *LimitError) GetRetryAfter() *durationpb.Duration
func (*LimitError) ProtoMessage ¶
func (*LimitError) ProtoMessage()
func (*LimitError) ProtoReflect ¶
func (x *LimitError) ProtoReflect() protoreflect.Message
func (*LimitError) Reset ¶
func (x *LimitError) Reset()
func (*LimitError) String ¶
func (x *LimitError) String() string
type LinkRepositoryToObjectPoolRequest ¶
type LinkRepositoryToObjectPoolRequest struct { // object_pool is the object pool to which the repository shall be linked to. ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` // repository is the repository that shall be linked to the object pool. Repository *Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
LinkRepositoryToObjectPoolRequest is a request for the LinkRepositoryToObjectPool RPC.
func (*LinkRepositoryToObjectPoolRequest) Descriptor
deprecated
func (*LinkRepositoryToObjectPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use LinkRepositoryToObjectPoolRequest.ProtoReflect.Descriptor instead.
func (*LinkRepositoryToObjectPoolRequest) GetObjectPool ¶
func (x *LinkRepositoryToObjectPoolRequest) GetObjectPool() *ObjectPool
func (*LinkRepositoryToObjectPoolRequest) GetRepository ¶
func (x *LinkRepositoryToObjectPoolRequest) GetRepository() *Repository
func (*LinkRepositoryToObjectPoolRequest) ProtoMessage ¶
func (*LinkRepositoryToObjectPoolRequest) ProtoMessage()
func (*LinkRepositoryToObjectPoolRequest) ProtoReflect ¶
func (x *LinkRepositoryToObjectPoolRequest) ProtoReflect() protoreflect.Message
func (*LinkRepositoryToObjectPoolRequest) Reset ¶
func (x *LinkRepositoryToObjectPoolRequest) Reset()
func (*LinkRepositoryToObjectPoolRequest) String ¶
func (x *LinkRepositoryToObjectPoolRequest) String() string
type LinkRepositoryToObjectPoolResponse ¶
type LinkRepositoryToObjectPoolResponse struct {
// contains filtered or unexported fields
}
LinkRepositoryToObjectPoolResponse is a response for the LinkRepositoryToObjectPool RPC.
func (*LinkRepositoryToObjectPoolResponse) Descriptor
deprecated
func (*LinkRepositoryToObjectPoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use LinkRepositoryToObjectPoolResponse.ProtoReflect.Descriptor instead.
func (*LinkRepositoryToObjectPoolResponse) ProtoMessage ¶
func (*LinkRepositoryToObjectPoolResponse) ProtoMessage()
func (*LinkRepositoryToObjectPoolResponse) ProtoReflect ¶
func (x *LinkRepositoryToObjectPoolResponse) ProtoReflect() protoreflect.Message
func (*LinkRepositoryToObjectPoolResponse) Reset ¶
func (x *LinkRepositoryToObjectPoolResponse) Reset()
func (*LinkRepositoryToObjectPoolResponse) String ¶
func (x *LinkRepositoryToObjectPoolResponse) String() string
type ListAllBlobsRequest ¶
type ListAllBlobsRequest struct { // repository is the repository in which blobs should be enumerated. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // limit is the maximum number of blobs to return. If set to its default // (`0`), then all found blobs wll be returned. Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // bytes_limit is the maximum number of bytes to receive for each blob. If set // to `0`, then no blob data will be sent. If `-1`, then all blob data will // be sent without any limits. BytesLimit int64 `protobuf:"varint,3,opt,name=bytes_limit,json=bytesLimit,proto3" json:"bytes_limit,omitempty"` // contains filtered or unexported fields }
ListAllBlobsRequest is a request for the ListAllBlobs RPC.
func (*ListAllBlobsRequest) Descriptor
deprecated
func (*ListAllBlobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAllBlobsRequest.ProtoReflect.Descriptor instead.
func (*ListAllBlobsRequest) GetBytesLimit ¶
func (x *ListAllBlobsRequest) GetBytesLimit() int64
func (*ListAllBlobsRequest) GetLimit ¶
func (x *ListAllBlobsRequest) GetLimit() uint32
func (*ListAllBlobsRequest) GetRepository ¶
func (x *ListAllBlobsRequest) GetRepository() *Repository
func (*ListAllBlobsRequest) ProtoMessage ¶
func (*ListAllBlobsRequest) ProtoMessage()
func (*ListAllBlobsRequest) ProtoReflect ¶
func (x *ListAllBlobsRequest) ProtoReflect() protoreflect.Message
func (*ListAllBlobsRequest) Reset ¶
func (x *ListAllBlobsRequest) Reset()
func (*ListAllBlobsRequest) String ¶
func (x *ListAllBlobsRequest) String() string
type ListAllBlobsResponse ¶
type ListAllBlobsResponse struct { // blobs is the blobs which have been found. In case blob contents were // requested and contents of a blob exceed the maximum gRPC message size, // then this blob will be split up into multiple blob messages which span // across multiple responses. In that case, metadata of the blob will only be // sent on the first such message for this specific blob. Blobs []*ListAllBlobsResponse_Blob `protobuf:"bytes,1,rep,name=blobs,proto3" json:"blobs,omitempty"` // contains filtered or unexported fields }
ListAllBlobsResponse is a response for the ListAllBlobs RPC.
func (*ListAllBlobsResponse) Descriptor
deprecated
func (*ListAllBlobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAllBlobsResponse.ProtoReflect.Descriptor instead.
func (*ListAllBlobsResponse) GetBlobs ¶
func (x *ListAllBlobsResponse) GetBlobs() []*ListAllBlobsResponse_Blob
func (*ListAllBlobsResponse) ProtoMessage ¶
func (*ListAllBlobsResponse) ProtoMessage()
func (*ListAllBlobsResponse) ProtoReflect ¶
func (x *ListAllBlobsResponse) ProtoReflect() protoreflect.Message
func (*ListAllBlobsResponse) Reset ¶
func (x *ListAllBlobsResponse) Reset()
func (*ListAllBlobsResponse) String ¶
func (x *ListAllBlobsResponse) String() string
type ListAllBlobsResponse_Blob ¶
type ListAllBlobsResponse_Blob struct { // oid is the object ID of the blob. Will only be set for the first // message of each specific blob. Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` // size is the size of the blob. Will only be set for the first message // of each specific blob. Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // data is the contents of the blob. This field is optional and depends on // the BytesLimit in the original request. Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
Blob represents a Git blob object.
func (*ListAllBlobsResponse_Blob) Descriptor
deprecated
func (*ListAllBlobsResponse_Blob) Descriptor() ([]byte, []int)
Deprecated: Use ListAllBlobsResponse_Blob.ProtoReflect.Descriptor instead.
func (*ListAllBlobsResponse_Blob) GetData ¶
func (x *ListAllBlobsResponse_Blob) GetData() []byte
func (*ListAllBlobsResponse_Blob) GetOid ¶
func (x *ListAllBlobsResponse_Blob) GetOid() string
func (*ListAllBlobsResponse_Blob) GetSize ¶
func (x *ListAllBlobsResponse_Blob) GetSize() int64
func (*ListAllBlobsResponse_Blob) ProtoMessage ¶
func (*ListAllBlobsResponse_Blob) ProtoMessage()
func (*ListAllBlobsResponse_Blob) ProtoReflect ¶
func (x *ListAllBlobsResponse_Blob) ProtoReflect() protoreflect.Message
func (*ListAllBlobsResponse_Blob) Reset ¶
func (x *ListAllBlobsResponse_Blob) Reset()
func (*ListAllBlobsResponse_Blob) String ¶
func (x *ListAllBlobsResponse_Blob) String() string
type ListAllCommitsRequest ¶
type ListAllCommitsRequest struct { // repository is the repository in which commits should be searched for. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // pagination_params allows implementation of pagination. The page token is // the last commit OID that was sent. It's expected to be the full object ID // to guard against ambigious OIDs. PaginationParams *PaginationParameter `protobuf:"bytes,2,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` // contains filtered or unexported fields }
ListAllCommitsRequest is a request for the ListAllCommits RPC.
func (*ListAllCommitsRequest) Descriptor
deprecated
func (*ListAllCommitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAllCommitsRequest.ProtoReflect.Descriptor instead.
func (*ListAllCommitsRequest) GetPaginationParams ¶
func (x *ListAllCommitsRequest) GetPaginationParams() *PaginationParameter
func (*ListAllCommitsRequest) GetRepository ¶
func (x *ListAllCommitsRequest) GetRepository() *Repository
func (*ListAllCommitsRequest) ProtoMessage ¶
func (*ListAllCommitsRequest) ProtoMessage()
func (*ListAllCommitsRequest) ProtoReflect ¶
func (x *ListAllCommitsRequest) ProtoReflect() protoreflect.Message
func (*ListAllCommitsRequest) Reset ¶
func (x *ListAllCommitsRequest) Reset()
func (*ListAllCommitsRequest) String ¶
func (x *ListAllCommitsRequest) String() string
type ListAllCommitsResponse ¶
type ListAllCommitsResponse struct { // commits is the list of commits found. Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` // contains filtered or unexported fields }
ListAllCommitsResponse is a response for the ListAllCommits RPC. The response will be chunked into multiple message if the returned data exceeds gRPC message limits.
func (*ListAllCommitsResponse) Descriptor
deprecated
func (*ListAllCommitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAllCommitsResponse.ProtoReflect.Descriptor instead.
func (*ListAllCommitsResponse) GetCommits ¶
func (x *ListAllCommitsResponse) GetCommits() []*GitCommit
func (*ListAllCommitsResponse) ProtoMessage ¶
func (*ListAllCommitsResponse) ProtoMessage()
func (*ListAllCommitsResponse) ProtoReflect ¶
func (x *ListAllCommitsResponse) ProtoReflect() protoreflect.Message
func (*ListAllCommitsResponse) Reset ¶
func (x *ListAllCommitsResponse) Reset()
func (*ListAllCommitsResponse) String ¶
func (x *ListAllCommitsResponse) String() string
type ListAllLFSPointersRequest ¶
type ListAllLFSPointersRequest struct { // repository is the repository for which LFS pointers should be retrieved // from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // limit limits the number of LFS pointers returned. Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
ListAllLFSPointersRequest is a request for the ListAllLFSPointers RPC.
func (*ListAllLFSPointersRequest) Descriptor
deprecated
func (*ListAllLFSPointersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAllLFSPointersRequest.ProtoReflect.Descriptor instead.
func (*ListAllLFSPointersRequest) GetLimit ¶
func (x *ListAllLFSPointersRequest) GetLimit() int32
func (*ListAllLFSPointersRequest) GetRepository ¶
func (x *ListAllLFSPointersRequest) GetRepository() *Repository
func (*ListAllLFSPointersRequest) ProtoMessage ¶
func (*ListAllLFSPointersRequest) ProtoMessage()
func (*ListAllLFSPointersRequest) ProtoReflect ¶
func (x *ListAllLFSPointersRequest) ProtoReflect() protoreflect.Message
func (*ListAllLFSPointersRequest) Reset ¶
func (x *ListAllLFSPointersRequest) Reset()
func (*ListAllLFSPointersRequest) String ¶
func (x *ListAllLFSPointersRequest) String() string
type ListAllLFSPointersResponse ¶
type ListAllLFSPointersResponse struct { // lfs_pointers is the list of LFS pointers which were requested. LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` // contains filtered or unexported fields }
ListAllLFSPointersResponse is a response for the ListAllLFSPointers RPC.
func (*ListAllLFSPointersResponse) Descriptor
deprecated
func (*ListAllLFSPointersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAllLFSPointersResponse.ProtoReflect.Descriptor instead.
func (*ListAllLFSPointersResponse) GetLfsPointers ¶
func (x *ListAllLFSPointersResponse) GetLfsPointers() []*LFSPointer
func (*ListAllLFSPointersResponse) ProtoMessage ¶
func (*ListAllLFSPointersResponse) ProtoMessage()
func (*ListAllLFSPointersResponse) ProtoReflect ¶
func (x *ListAllLFSPointersResponse) ProtoReflect() protoreflect.Message
func (*ListAllLFSPointersResponse) Reset ¶
func (x *ListAllLFSPointersResponse) Reset()
func (*ListAllLFSPointersResponse) String ¶
func (x *ListAllLFSPointersResponse) String() string
type ListBlobsRequest ¶
type ListBlobsRequest struct { // repository is the repository in which blobs should be enumerated. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revisions is the list of revisions to retrieve blobs from. These revisions // will be walked. Supports pseudo-revisions `--all` and `--not` as well as // negated revisions via `^revision`. Revisions cannot start with a leading // dash. Please consult gitrevisions(7) for more info. Must not be empty. Revisions []string `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` // limit is the maximum number of blobs to return. If set to its default // (`0`), then all found blobs wll be returned. Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // bytes_limit is the maximum number of bytes to receive for each blob. If set // to `0`, then no blob data will be sent. If `-1`, then all blob data will // be sent without any limits. BytesLimit int64 `protobuf:"varint,4,opt,name=bytes_limit,json=bytesLimit,proto3" json:"bytes_limit,omitempty"` // with_paths determines whether paths of blobs should be returned. When // set to `true`, paths are returned on a best-effort basis: a path will only // exist if the blob was traversed via a tree. WithPaths bool `protobuf:"varint,5,opt,name=with_paths,json=withPaths,proto3" json:"with_paths,omitempty"` // contains filtered or unexported fields }
ListBlobsRequest is a request for the ListBlobs RPC.
func (*ListBlobsRequest) Descriptor
deprecated
func (*ListBlobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBlobsRequest.ProtoReflect.Descriptor instead.
func (*ListBlobsRequest) GetBytesLimit ¶
func (x *ListBlobsRequest) GetBytesLimit() int64
func (*ListBlobsRequest) GetLimit ¶
func (x *ListBlobsRequest) GetLimit() uint32
func (*ListBlobsRequest) GetRepository ¶
func (x *ListBlobsRequest) GetRepository() *Repository
func (*ListBlobsRequest) GetRevisions ¶
func (x *ListBlobsRequest) GetRevisions() []string
func (*ListBlobsRequest) GetWithPaths ¶
func (x *ListBlobsRequest) GetWithPaths() bool
func (*ListBlobsRequest) ProtoMessage ¶
func (*ListBlobsRequest) ProtoMessage()
func (*ListBlobsRequest) ProtoReflect ¶
func (x *ListBlobsRequest) ProtoReflect() protoreflect.Message
func (*ListBlobsRequest) Reset ¶
func (x *ListBlobsRequest) Reset()
func (*ListBlobsRequest) String ¶
func (x *ListBlobsRequest) String() string
type ListBlobsResponse ¶
type ListBlobsResponse struct { // blobs is the blobs which have been found. In case blob contents were // requested and contents of a blob exceed the maximum gRPC message size, // then this blob will be split up into multiple blob messages which span // across multiple responses. In that case, metadata of the blob will only be // sent on the first such message for this specific blob. Blobs []*ListBlobsResponse_Blob `protobuf:"bytes,1,rep,name=blobs,proto3" json:"blobs,omitempty"` // contains filtered or unexported fields }
ListBlobsResponse is a response for the ListBlobs RPC.
func (*ListBlobsResponse) Descriptor
deprecated
func (*ListBlobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBlobsResponse.ProtoReflect.Descriptor instead.
func (*ListBlobsResponse) GetBlobs ¶
func (x *ListBlobsResponse) GetBlobs() []*ListBlobsResponse_Blob
func (*ListBlobsResponse) ProtoMessage ¶
func (*ListBlobsResponse) ProtoMessage()
func (*ListBlobsResponse) ProtoReflect ¶
func (x *ListBlobsResponse) ProtoReflect() protoreflect.Message
func (*ListBlobsResponse) Reset ¶
func (x *ListBlobsResponse) Reset()
func (*ListBlobsResponse) String ¶
func (x *ListBlobsResponse) String() string
type ListBlobsResponse_Blob ¶
type ListBlobsResponse_Blob struct { // oid is the object ID of the blob. Will only be set for the first // message of each specific blob. Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` // size is the size of the blob. Will only be set for the first message // of each specific blob. Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // data is the contents of the blob. This field is optional and depends on // the BytesLimit in the original request. Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // path is the path of the blob. May be unset depending on how the blob had // been traversed. Path []byte `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
Blob represents a Git blob object.
func (*ListBlobsResponse_Blob) Descriptor
deprecated
func (*ListBlobsResponse_Blob) Descriptor() ([]byte, []int)
Deprecated: Use ListBlobsResponse_Blob.ProtoReflect.Descriptor instead.
func (*ListBlobsResponse_Blob) GetData ¶
func (x *ListBlobsResponse_Blob) GetData() []byte
func (*ListBlobsResponse_Blob) GetOid ¶
func (x *ListBlobsResponse_Blob) GetOid() string
func (*ListBlobsResponse_Blob) GetPath ¶
func (x *ListBlobsResponse_Blob) GetPath() []byte
func (*ListBlobsResponse_Blob) GetSize ¶
func (x *ListBlobsResponse_Blob) GetSize() int64
func (*ListBlobsResponse_Blob) ProtoMessage ¶
func (*ListBlobsResponse_Blob) ProtoMessage()
func (*ListBlobsResponse_Blob) ProtoReflect ¶
func (x *ListBlobsResponse_Blob) ProtoReflect() protoreflect.Message
func (*ListBlobsResponse_Blob) Reset ¶
func (x *ListBlobsResponse_Blob) Reset()
func (*ListBlobsResponse_Blob) String ¶
func (x *ListBlobsResponse_Blob) String() string
type ListBranchNamesContainingCommitRequest ¶
type ListBranchNamesContainingCommitRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // commit_id ... CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" 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,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
ListBranchNamesContainingCommitRequest ...
func (*ListBranchNamesContainingCommitRequest) Descriptor
deprecated
func (*ListBranchNamesContainingCommitRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBranchNamesContainingCommitRequest.ProtoReflect.Descriptor instead.
func (*ListBranchNamesContainingCommitRequest) GetCommitId ¶
func (x *ListBranchNamesContainingCommitRequest) GetCommitId() string
func (*ListBranchNamesContainingCommitRequest) GetLimit ¶
func (x *ListBranchNamesContainingCommitRequest) GetLimit() uint32
func (*ListBranchNamesContainingCommitRequest) GetRepository ¶
func (x *ListBranchNamesContainingCommitRequest) GetRepository() *Repository
func (*ListBranchNamesContainingCommitRequest) ProtoMessage ¶
func (*ListBranchNamesContainingCommitRequest) ProtoMessage()
func (*ListBranchNamesContainingCommitRequest) ProtoReflect ¶
func (x *ListBranchNamesContainingCommitRequest) ProtoReflect() protoreflect.Message
func (*ListBranchNamesContainingCommitRequest) Reset ¶
func (x *ListBranchNamesContainingCommitRequest) Reset()
func (*ListBranchNamesContainingCommitRequest) String ¶
func (x *ListBranchNamesContainingCommitRequest) String() string
type ListBranchNamesContainingCommitResponse ¶
type ListBranchNamesContainingCommitResponse struct { // branch_names ... BranchNames [][]byte `protobuf:"bytes,2,rep,name=branch_names,json=branchNames,proto3" json:"branch_names,omitempty"` // contains filtered or unexported fields }
ListBranchNamesContainingCommitResponse ...
func (*ListBranchNamesContainingCommitResponse) Descriptor
deprecated
func (*ListBranchNamesContainingCommitResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBranchNamesContainingCommitResponse.ProtoReflect.Descriptor instead.
func (*ListBranchNamesContainingCommitResponse) GetBranchNames ¶
func (x *ListBranchNamesContainingCommitResponse) GetBranchNames() [][]byte
func (*ListBranchNamesContainingCommitResponse) ProtoMessage ¶
func (*ListBranchNamesContainingCommitResponse) ProtoMessage()
func (*ListBranchNamesContainingCommitResponse) ProtoReflect ¶
func (x *ListBranchNamesContainingCommitResponse) ProtoReflect() protoreflect.Message
func (*ListBranchNamesContainingCommitResponse) Reset ¶
func (x *ListBranchNamesContainingCommitResponse) Reset()
func (*ListBranchNamesContainingCommitResponse) String ¶
func (x *ListBranchNamesContainingCommitResponse) String() string
type ListCommitsByOidRequest ¶
type ListCommitsByOidRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // oid ... Oid []string `protobuf:"bytes,2,rep,name=oid,proto3" json:"oid,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED // contains filtered or unexported fields }
ListCommitsByOidRequest ...
func (*ListCommitsByOidRequest) Descriptor
deprecated
func (*ListCommitsByOidRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCommitsByOidRequest.ProtoReflect.Descriptor instead.
func (*ListCommitsByOidRequest) GetOid ¶
func (x *ListCommitsByOidRequest) GetOid() []string
func (*ListCommitsByOidRequest) GetRepository ¶
func (x *ListCommitsByOidRequest) GetRepository() *Repository
func (*ListCommitsByOidRequest) ProtoMessage ¶
func (*ListCommitsByOidRequest) ProtoMessage()
func (*ListCommitsByOidRequest) ProtoReflect ¶
func (x *ListCommitsByOidRequest) ProtoReflect() protoreflect.Message
func (*ListCommitsByOidRequest) Reset ¶
func (x *ListCommitsByOidRequest) Reset()
func (*ListCommitsByOidRequest) String ¶
func (x *ListCommitsByOidRequest) String() string
type ListCommitsByOidResponse ¶
type ListCommitsByOidResponse struct { // commits ... Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` // contains filtered or unexported fields }
ListCommitsByOidResponse ...
func (*ListCommitsByOidResponse) Descriptor
deprecated
func (*ListCommitsByOidResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCommitsByOidResponse.ProtoReflect.Descriptor instead.
func (*ListCommitsByOidResponse) GetCommits ¶
func (x *ListCommitsByOidResponse) GetCommits() []*GitCommit
func (*ListCommitsByOidResponse) ProtoMessage ¶
func (*ListCommitsByOidResponse) ProtoMessage()
func (*ListCommitsByOidResponse) ProtoReflect ¶
func (x *ListCommitsByOidResponse) ProtoReflect() protoreflect.Message
func (*ListCommitsByOidResponse) Reset ¶
func (x *ListCommitsByOidResponse) Reset()
func (*ListCommitsByOidResponse) String ¶
func (x *ListCommitsByOidResponse) String() string
type ListCommitsByRefNameRequest ¶
type ListCommitsByRefNameRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // ref_names ... RefNames [][]byte `protobuf:"bytes,2,rep,name=ref_names,json=refNames,proto3" json:"ref_names,omitempty"` // contains filtered or unexported fields }
ListCommitsByRefNameRequest ...
func (*ListCommitsByRefNameRequest) Descriptor
deprecated
func (*ListCommitsByRefNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCommitsByRefNameRequest.ProtoReflect.Descriptor instead.
func (*ListCommitsByRefNameRequest) GetRefNames ¶
func (x *ListCommitsByRefNameRequest) GetRefNames() [][]byte
func (*ListCommitsByRefNameRequest) GetRepository ¶
func (x *ListCommitsByRefNameRequest) GetRepository() *Repository
func (*ListCommitsByRefNameRequest) ProtoMessage ¶
func (*ListCommitsByRefNameRequest) ProtoMessage()
func (*ListCommitsByRefNameRequest) ProtoReflect ¶
func (x *ListCommitsByRefNameRequest) ProtoReflect() protoreflect.Message
func (*ListCommitsByRefNameRequest) Reset ¶
func (x *ListCommitsByRefNameRequest) Reset()
func (*ListCommitsByRefNameRequest) String ¶
func (x *ListCommitsByRefNameRequest) String() string
type ListCommitsByRefNameResponse ¶
type ListCommitsByRefNameResponse struct { // commit_refs ... CommitRefs []*ListCommitsByRefNameResponse_CommitForRef `protobuf:"bytes,2,rep,name=commit_refs,json=commitRefs,proto3" json:"commit_refs,omitempty"` // contains filtered or unexported fields }
ListCommitsByRefNameResponse ...
func (*ListCommitsByRefNameResponse) Descriptor
deprecated
func (*ListCommitsByRefNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCommitsByRefNameResponse.ProtoReflect.Descriptor instead.
func (*ListCommitsByRefNameResponse) GetCommitRefs ¶
func (x *ListCommitsByRefNameResponse) GetCommitRefs() []*ListCommitsByRefNameResponse_CommitForRef
func (*ListCommitsByRefNameResponse) ProtoMessage ¶
func (*ListCommitsByRefNameResponse) ProtoMessage()
func (*ListCommitsByRefNameResponse) ProtoReflect ¶
func (x *ListCommitsByRefNameResponse) ProtoReflect() protoreflect.Message
func (*ListCommitsByRefNameResponse) Reset ¶
func (x *ListCommitsByRefNameResponse) Reset()
func (*ListCommitsByRefNameResponse) String ¶
func (x *ListCommitsByRefNameResponse) String() string
type ListCommitsByRefNameResponse_CommitForRef ¶
type ListCommitsByRefNameResponse_CommitForRef struct { // commit ... Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` // ref_name ... RefName []byte `protobuf:"bytes,2,opt,name=ref_name,json=refName,proto3" json:"ref_name,omitempty"` // contains filtered or unexported fields }
CommitForRef ...
func (*ListCommitsByRefNameResponse_CommitForRef) Descriptor
deprecated
func (*ListCommitsByRefNameResponse_CommitForRef) Descriptor() ([]byte, []int)
Deprecated: Use ListCommitsByRefNameResponse_CommitForRef.ProtoReflect.Descriptor instead.
func (*ListCommitsByRefNameResponse_CommitForRef) GetCommit ¶
func (x *ListCommitsByRefNameResponse_CommitForRef) GetCommit() *GitCommit
func (*ListCommitsByRefNameResponse_CommitForRef) GetRefName ¶
func (x *ListCommitsByRefNameResponse_CommitForRef) GetRefName() []byte
func (*ListCommitsByRefNameResponse_CommitForRef) ProtoMessage ¶
func (*ListCommitsByRefNameResponse_CommitForRef) ProtoMessage()
func (*ListCommitsByRefNameResponse_CommitForRef) ProtoReflect ¶
func (x *ListCommitsByRefNameResponse_CommitForRef) ProtoReflect() protoreflect.Message
func (*ListCommitsByRefNameResponse_CommitForRef) Reset ¶
func (x *ListCommitsByRefNameResponse_CommitForRef) Reset()
func (*ListCommitsByRefNameResponse_CommitForRef) String ¶
func (x *ListCommitsByRefNameResponse_CommitForRef) String() string
type ListCommitsRequest ¶
type ListCommitsRequest struct { // repository is the repository in which commits should be searched for. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revisions is the set of revisions which should be walked to enumerate // commits. Accepts all notation as documented in gitrevisions(7) as well as // the pseudo-revisions `--not` and `--all` as documented in git-rev-list(1). // Must not be empty. Revisions []string `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` // pagination_params allows implementation of pagination. The page token is // the last commit OID that was sent. It's expected to be the full object ID // to guard against ambigious OIDs. PaginationParams *PaginationParameter `protobuf:"bytes,3,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` // order is the order in which commits should be traversed. Please refer to // the enum's documentation for further information. Order ListCommitsRequest_Order `protobuf:"varint,4,opt,name=order,proto3,enum=gitaly.ListCommitsRequest_Order" json:"order,omitempty"` // reverse will cause all commits to be listed in reverse. Reverse bool `protobuf:"varint,11,opt,name=reverse,proto3" json:"reverse,omitempty"` // max_parents will skip all commits which have more than the specified number // of parents. If set to `0`, no filtering by parents will happen. If set to // `1`, all merge commits will be omitted. MaxParents uint32 `protobuf:"varint,5,opt,name=max_parents,json=maxParents,proto3" json:"max_parents,omitempty"` // disable_walk will disable walking the graph. As a result, only commits // which are immediately referenced by Revisions will be returned. DisableWalk bool `protobuf:"varint,6,opt,name=disable_walk,json=disableWalk,proto3" json:"disable_walk,omitempty"` // first_parent will cause the graph walk to only go down the first-parent // chain of commits. Merge commits will thus only cause the mainline to be // enumerated. FirstParent bool `protobuf:"varint,7,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"` // after will only list commits which are more recent than the specified date. After *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=after,proto3" json:"after,omitempty"` // before will only list commits which are older than the specified date. Before *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=before,proto3" json:"before,omitempty"` // author will only list commits whose author matches the given pattern, // which is a regular expression. Author []byte `protobuf:"bytes,10,opt,name=author,proto3" json:"author,omitempty"` // ignore_case will apply case-sensitive behaviour while regex matching. IgnoreCase bool `protobuf:"varint,12,opt,name=ignore_case,json=ignoreCase,proto3" json:"ignore_case,omitempty"` // commit_message_patterns will only list commits whose commit message matches // any of the given patterns. CommitMessagePatterns [][]byte `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
ListCommitsRequest is a request for the ListCommits RPC.
func (*ListCommitsRequest) Descriptor
deprecated
func (*ListCommitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCommitsRequest.ProtoReflect.Descriptor instead.
func (*ListCommitsRequest) GetAfter ¶
func (x *ListCommitsRequest) GetAfter() *timestamppb.Timestamp
func (*ListCommitsRequest) GetAuthor ¶
func (x *ListCommitsRequest) GetAuthor() []byte
func (*ListCommitsRequest) GetBefore ¶
func (x *ListCommitsRequest) GetBefore() *timestamppb.Timestamp
func (*ListCommitsRequest) GetCommitMessagePatterns ¶
func (x *ListCommitsRequest) GetCommitMessagePatterns() [][]byte
func (*ListCommitsRequest) GetDisableWalk ¶
func (x *ListCommitsRequest) GetDisableWalk() bool
func (*ListCommitsRequest) GetFirstParent ¶
func (x *ListCommitsRequest) GetFirstParent() bool
func (*ListCommitsRequest) GetIgnoreCase ¶
func (x *ListCommitsRequest) GetIgnoreCase() bool
func (*ListCommitsRequest) GetMaxParents ¶
func (x *ListCommitsRequest) GetMaxParents() uint32
func (*ListCommitsRequest) GetOrder ¶
func (x *ListCommitsRequest) GetOrder() ListCommitsRequest_Order
func (*ListCommitsRequest) GetPaginationParams ¶
func (x *ListCommitsRequest) GetPaginationParams() *PaginationParameter
func (*ListCommitsRequest) GetRepository ¶
func (x *ListCommitsRequest) GetRepository() *Repository
func (*ListCommitsRequest) GetReverse ¶
func (x *ListCommitsRequest) GetReverse() bool
func (*ListCommitsRequest) GetRevisions ¶
func (x *ListCommitsRequest) GetRevisions() []string
func (*ListCommitsRequest) ProtoMessage ¶
func (*ListCommitsRequest) ProtoMessage()
func (*ListCommitsRequest) ProtoReflect ¶
func (x *ListCommitsRequest) ProtoReflect() protoreflect.Message
func (*ListCommitsRequest) Reset ¶
func (x *ListCommitsRequest) Reset()
func (*ListCommitsRequest) String ¶
func (x *ListCommitsRequest) String() string
type ListCommitsRequest_Order ¶
type ListCommitsRequest_Order int32
Order is the order in which commits shoud be traversed.
const ( // NONE defaults to reverse chronological order. ListCommitsRequest_NONE ListCommitsRequest_Order = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // TOPO order will cause no parents to be shown before all of its children // are shown. Furthermore, multiple lines of history will not be // intermixed. ListCommitsRequest_TOPO ListCommitsRequest_Order = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // DATE order will cause no parents to be shown before all of its children // are shown. Otherwise, commits are shown in commit timestamp order. This // can cause history to be shown intermixed. ListCommitsRequest_DATE ListCommitsRequest_Order = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (ListCommitsRequest_Order) Descriptor ¶
func (ListCommitsRequest_Order) Descriptor() protoreflect.EnumDescriptor
func (ListCommitsRequest_Order) Enum ¶
func (x ListCommitsRequest_Order) Enum() *ListCommitsRequest_Order
func (ListCommitsRequest_Order) EnumDescriptor
deprecated
func (ListCommitsRequest_Order) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListCommitsRequest_Order.Descriptor instead.
func (ListCommitsRequest_Order) Number ¶
func (x ListCommitsRequest_Order) Number() protoreflect.EnumNumber
func (ListCommitsRequest_Order) String ¶
func (x ListCommitsRequest_Order) String() string
func (ListCommitsRequest_Order) Type ¶
func (ListCommitsRequest_Order) Type() protoreflect.EnumType
type ListCommitsResponse ¶
type ListCommitsResponse struct { // commits is the list of commits found. Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` // contains filtered or unexported fields }
ListCommitsResponse is a response for the ListCommits RPC. The response will be chunked into multiple message if the returned data exceeds gRPC message limits.
func (*ListCommitsResponse) Descriptor
deprecated
func (*ListCommitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCommitsResponse.ProtoReflect.Descriptor instead.
func (*ListCommitsResponse) GetCommits ¶
func (x *ListCommitsResponse) GetCommits() []*GitCommit
func (*ListCommitsResponse) ProtoMessage ¶
func (*ListCommitsResponse) ProtoMessage()
func (*ListCommitsResponse) ProtoReflect ¶
func (x *ListCommitsResponse) ProtoReflect() protoreflect.Message
func (*ListCommitsResponse) Reset ¶
func (x *ListCommitsResponse) Reset()
func (*ListCommitsResponse) String ¶
func (x *ListCommitsResponse) String() string
type ListConflictFilesRequest ¶
type ListConflictFilesRequest struct { // repository is the repository for which we want to list the conflicted files. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // our_commit_oid is the tree-ish OID to merge into. OurCommitOid string `protobuf:"bytes,2,opt,name=our_commit_oid,json=ourCommitOid,proto3" json:"our_commit_oid,omitempty"` // their_commit_oid is the tree-ish OID to merge from. TheirCommitOid string `protobuf:"bytes,3,opt,name=their_commit_oid,json=theirCommitOid,proto3" json:"their_commit_oid,omitempty"` // allow_tree_conflicts will not cause the request to fail in case there are // tree conflicts. If set to true, then responses may contain conflict files // where some of the paths are unset. AllowTreeConflicts bool `protobuf:"varint,4,opt,name=allow_tree_conflicts,json=allowTreeConflicts,proto3" json:"allow_tree_conflicts,omitempty"` // skip_content will skip the parsing and streaming of conflicted file's content. // This can be useful when we only want to know if there is a conflict and which files // are conflicted but don't care about the contents of the conflicted files. SkipContent bool `protobuf:"varint,5,opt,name=skip_content,json=skipContent,proto3" json:"skip_content,omitempty"` // contains filtered or unexported fields }
ListConflictFilesRequest is the request for the ListConflictFilesRequest rpc.
func (*ListConflictFilesRequest) Descriptor
deprecated
func (*ListConflictFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListConflictFilesRequest.ProtoReflect.Descriptor instead.
func (*ListConflictFilesRequest) GetAllowTreeConflicts ¶
func (x *ListConflictFilesRequest) GetAllowTreeConflicts() bool
func (*ListConflictFilesRequest) GetOurCommitOid ¶
func (x *ListConflictFilesRequest) GetOurCommitOid() string
func (*ListConflictFilesRequest) GetRepository ¶
func (x *ListConflictFilesRequest) GetRepository() *Repository
func (*ListConflictFilesRequest) GetSkipContent ¶ added in v16.2.0
func (x *ListConflictFilesRequest) GetSkipContent() bool
func (*ListConflictFilesRequest) GetTheirCommitOid ¶
func (x *ListConflictFilesRequest) GetTheirCommitOid() string
func (*ListConflictFilesRequest) ProtoMessage ¶
func (*ListConflictFilesRequest) ProtoMessage()
func (*ListConflictFilesRequest) ProtoReflect ¶
func (x *ListConflictFilesRequest) ProtoReflect() protoreflect.Message
func (*ListConflictFilesRequest) Reset ¶
func (x *ListConflictFilesRequest) Reset()
func (*ListConflictFilesRequest) String ¶
func (x *ListConflictFilesRequest) String() string
type ListConflictFilesResponse ¶
type ListConflictFilesResponse struct { // files ... Files []*ConflictFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
ListConflictFilesResponse ...
func (*ListConflictFilesResponse) Descriptor
deprecated
func (*ListConflictFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListConflictFilesResponse.ProtoReflect.Descriptor instead.
func (*ListConflictFilesResponse) GetFiles ¶
func (x *ListConflictFilesResponse) GetFiles() []*ConflictFile
func (*ListConflictFilesResponse) ProtoMessage ¶
func (*ListConflictFilesResponse) ProtoMessage()
func (*ListConflictFilesResponse) ProtoReflect ¶
func (x *ListConflictFilesResponse) ProtoReflect() protoreflect.Message
func (*ListConflictFilesResponse) Reset ¶
func (x *ListConflictFilesResponse) Reset()
func (*ListConflictFilesResponse) String ¶
func (x *ListConflictFilesResponse) String() string
type ListFilesRequest ¶
type ListFilesRequest struct { // repository is the repository to list the files from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revision is a commitish against which we list all files. Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
ListFilesRequest is the request for the ListFiles RPC.
func (*ListFilesRequest) Descriptor
deprecated
func (*ListFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead.
func (*ListFilesRequest) GetRepository ¶
func (x *ListFilesRequest) GetRepository() *Repository
func (*ListFilesRequest) GetRevision ¶
func (x *ListFilesRequest) GetRevision() []byte
func (*ListFilesRequest) ProtoMessage ¶
func (*ListFilesRequest) ProtoMessage()
func (*ListFilesRequest) ProtoReflect ¶
func (x *ListFilesRequest) ProtoReflect() protoreflect.Message
func (*ListFilesRequest) Reset ¶
func (x *ListFilesRequest) Reset()
func (*ListFilesRequest) String ¶
func (x *ListFilesRequest) String() string
type ListFilesResponse ¶
type ListFilesResponse struct { // paths is the list of paths found for the requested revision. Clients must // remember to force utf-8 encoding. Paths [][]byte `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
ListFilesResponse is the response for the ListFiles RPC. The response will be chunked into multiple message if the returned data exceeds gRPC message limits.
func (*ListFilesResponse) Descriptor
deprecated
func (*ListFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.
func (*ListFilesResponse) GetPaths ¶
func (x *ListFilesResponse) GetPaths() [][]byte
func (*ListFilesResponse) ProtoMessage ¶
func (*ListFilesResponse) ProtoMessage()
func (*ListFilesResponse) ProtoReflect ¶
func (x *ListFilesResponse) ProtoReflect() protoreflect.Message
func (*ListFilesResponse) Reset ¶
func (x *ListFilesResponse) Reset()
func (*ListFilesResponse) String ¶
func (x *ListFilesResponse) String() string
type ListLFSPointersRequest ¶
type ListLFSPointersRequest struct { // repository is the repository for which LFS pointers should be retrieved // from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revisions is the list of revisions to retrieve LFS pointers from. Must be // a non-empty list. Revisions []string `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` // limit limits the number of LFS pointers returned. Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
ListLFSPointersRequest is a request for the ListLFSPointers RPC.
func (*ListLFSPointersRequest) Descriptor
deprecated
func (*ListLFSPointersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLFSPointersRequest.ProtoReflect.Descriptor instead.
func (*ListLFSPointersRequest) GetLimit ¶
func (x *ListLFSPointersRequest) GetLimit() int32
func (*ListLFSPointersRequest) GetRepository ¶
func (x *ListLFSPointersRequest) GetRepository() *Repository
func (*ListLFSPointersRequest) GetRevisions ¶
func (x *ListLFSPointersRequest) GetRevisions() []string
func (*ListLFSPointersRequest) ProtoMessage ¶
func (*ListLFSPointersRequest) ProtoMessage()
func (*ListLFSPointersRequest) ProtoReflect ¶
func (x *ListLFSPointersRequest) ProtoReflect() protoreflect.Message
func (*ListLFSPointersRequest) Reset ¶
func (x *ListLFSPointersRequest) Reset()
func (*ListLFSPointersRequest) String ¶
func (x *ListLFSPointersRequest) String() string
type ListLFSPointersResponse ¶
type ListLFSPointersResponse struct { // lfs_pointers is the list of LFS pointers which were requested. LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` // contains filtered or unexported fields }
ListLFSPointersResponse is a response for the ListLFSPointers RPC.
func (*ListLFSPointersResponse) Descriptor
deprecated
func (*ListLFSPointersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListLFSPointersResponse.ProtoReflect.Descriptor instead.
func (*ListLFSPointersResponse) GetLfsPointers ¶
func (x *ListLFSPointersResponse) GetLfsPointers() []*LFSPointer
func (*ListLFSPointersResponse) ProtoMessage ¶
func (*ListLFSPointersResponse) ProtoMessage()
func (*ListLFSPointersResponse) ProtoReflect ¶
func (x *ListLFSPointersResponse) ProtoReflect() protoreflect.Message
func (*ListLFSPointersResponse) Reset ¶
func (x *ListLFSPointersResponse) Reset()
func (*ListLFSPointersResponse) String ¶
func (x *ListLFSPointersResponse) String() string
type ListLastCommitsForTreeRequest ¶
type ListLastCommitsForTreeRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revision ... Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // path ... Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // limit ... Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // offset ... Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` // literal_pathspec ... // // Deprecated: Marked as deprecated in commit.proto. LiteralPathspec bool `protobuf:"varint,6,opt,name=literal_pathspec,json=literalPathspec,proto3" json:"literal_pathspec,omitempty"` // global_options ... GlobalOptions *GlobalOptions `protobuf:"bytes,7,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` // contains filtered or unexported fields }
ListLastCommitsForTreeRequest ...
func (*ListLastCommitsForTreeRequest) Descriptor
deprecated
func (*ListLastCommitsForTreeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLastCommitsForTreeRequest.ProtoReflect.Descriptor instead.
func (*ListLastCommitsForTreeRequest) GetGlobalOptions ¶
func (x *ListLastCommitsForTreeRequest) GetGlobalOptions() *GlobalOptions
func (*ListLastCommitsForTreeRequest) GetLimit ¶
func (x *ListLastCommitsForTreeRequest) GetLimit() int32
func (*ListLastCommitsForTreeRequest) GetLiteralPathspec
deprecated
func (x *ListLastCommitsForTreeRequest) GetLiteralPathspec() bool
Deprecated: Marked as deprecated in commit.proto.
func (*ListLastCommitsForTreeRequest) GetOffset ¶
func (x *ListLastCommitsForTreeRequest) GetOffset() int32
func (*ListLastCommitsForTreeRequest) GetPath ¶
func (x *ListLastCommitsForTreeRequest) GetPath() []byte
func (*ListLastCommitsForTreeRequest) GetRepository ¶
func (x *ListLastCommitsForTreeRequest) GetRepository() *Repository
func (*ListLastCommitsForTreeRequest) GetRevision ¶
func (x *ListLastCommitsForTreeRequest) GetRevision() string
func (*ListLastCommitsForTreeRequest) ProtoMessage ¶
func (*ListLastCommitsForTreeRequest) ProtoMessage()
func (*ListLastCommitsForTreeRequest) ProtoReflect ¶
func (x *ListLastCommitsForTreeRequest) ProtoReflect() protoreflect.Message
func (*ListLastCommitsForTreeRequest) Reset ¶
func (x *ListLastCommitsForTreeRequest) Reset()
func (*ListLastCommitsForTreeRequest) String ¶
func (x *ListLastCommitsForTreeRequest) String() string
type ListLastCommitsForTreeResponse ¶
type ListLastCommitsForTreeResponse struct { // commits ... Commits []*ListLastCommitsForTreeResponse_CommitForTree `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` // contains filtered or unexported fields }
ListLastCommitsForTreeResponse ...
func (*ListLastCommitsForTreeResponse) Descriptor
deprecated
func (*ListLastCommitsForTreeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListLastCommitsForTreeResponse.ProtoReflect.Descriptor instead.
func (*ListLastCommitsForTreeResponse) GetCommits ¶
func (x *ListLastCommitsForTreeResponse) GetCommits() []*ListLastCommitsForTreeResponse_CommitForTree
func (*ListLastCommitsForTreeResponse) ProtoMessage ¶
func (*ListLastCommitsForTreeResponse) ProtoMessage()
func (*ListLastCommitsForTreeResponse) ProtoReflect ¶
func (x *ListLastCommitsForTreeResponse) ProtoReflect() protoreflect.Message
func (*ListLastCommitsForTreeResponse) Reset ¶
func (x *ListLastCommitsForTreeResponse) Reset()
func (*ListLastCommitsForTreeResponse) String ¶
func (x *ListLastCommitsForTreeResponse) String() string
type ListLastCommitsForTreeResponse_CommitForTree ¶
type ListLastCommitsForTreeResponse_CommitForTree struct { // commit ... Commit *GitCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` // path_bytes ... PathBytes []byte `protobuf:"bytes,4,opt,name=path_bytes,json=pathBytes,proto3" json:"path_bytes,omitempty"` // contains filtered or unexported fields }
CommitForTree ...
func (*ListLastCommitsForTreeResponse_CommitForTree) Descriptor
deprecated
func (*ListLastCommitsForTreeResponse_CommitForTree) Descriptor() ([]byte, []int)
Deprecated: Use ListLastCommitsForTreeResponse_CommitForTree.ProtoReflect.Descriptor instead.
func (*ListLastCommitsForTreeResponse_CommitForTree) GetCommit ¶
func (x *ListLastCommitsForTreeResponse_CommitForTree) GetCommit() *GitCommit
func (*ListLastCommitsForTreeResponse_CommitForTree) GetPathBytes ¶
func (x *ListLastCommitsForTreeResponse_CommitForTree) GetPathBytes() []byte
func (*ListLastCommitsForTreeResponse_CommitForTree) ProtoMessage ¶
func (*ListLastCommitsForTreeResponse_CommitForTree) ProtoMessage()
func (*ListLastCommitsForTreeResponse_CommitForTree) ProtoReflect ¶
func (x *ListLastCommitsForTreeResponse_CommitForTree) ProtoReflect() protoreflect.Message
func (*ListLastCommitsForTreeResponse_CommitForTree) Reset ¶
func (x *ListLastCommitsForTreeResponse_CommitForTree) Reset()
func (*ListLastCommitsForTreeResponse_CommitForTree) String ¶
func (x *ListLastCommitsForTreeResponse_CommitForTree) String() string
type ListRefsRequest ¶
type ListRefsRequest struct { // repository is the repository in which references should be listed in. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // patterns contains all patterns which shall be listed. Patterns should be in the format // accepted by git-for-each-ref(1). At least one pattern must be given, otherwise an error // is returned. Patterns which don't match any reference will be silently ignored. Patterns [][]byte `protobuf:"bytes,2,rep,name=patterns,proto3" json:"patterns,omitempty"` // head determines whether the RPC should also return the HEAD reference. By default, // pseudo-refs are not included in the response. Head bool `protobuf:"varint,3,opt,name=head,proto3" json:"head,omitempty"` // sort_by allows to request SHAs in particular order. SortBy *ListRefsRequest_SortBy `protobuf:"bytes,4,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` // pointing_at_oids is a list of OIDs that can optionally be passed to only return refs // pointing at the given OIDs. This corresponds to the --points-at option of git-for-each-ref(1). PointingAtOids [][]byte `protobuf:"bytes,5,rep,name=pointing_at_oids,json=pointingAtOids,proto3" json:"pointing_at_oids,omitempty"` // peel_tags controls whether annotated tags should be peeled to their target objects so that the // `PeeledTarget` returned for the reference is the ID of the target object. Note that this // will significantly slow down the request by a factor of 3 to 4. PeelTags bool `protobuf:"varint,6,opt,name=peel_tags,json=peelTags,proto3" json:"peel_tags,omitempty"` // contains filtered or unexported fields }
ListRefsRequest is a request for the ListRefs RPC.
func (*ListRefsRequest) Descriptor
deprecated
func (*ListRefsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRefsRequest.ProtoReflect.Descriptor instead.
func (*ListRefsRequest) GetHead ¶
func (x *ListRefsRequest) GetHead() bool
func (*ListRefsRequest) GetPatterns ¶
func (x *ListRefsRequest) GetPatterns() [][]byte
func (*ListRefsRequest) GetPeelTags ¶
func (x *ListRefsRequest) GetPeelTags() bool
func (*ListRefsRequest) GetPointingAtOids ¶
func (x *ListRefsRequest) GetPointingAtOids() [][]byte
func (*ListRefsRequest) GetRepository ¶
func (x *ListRefsRequest) GetRepository() *Repository
func (*ListRefsRequest) GetSortBy ¶
func (x *ListRefsRequest) GetSortBy() *ListRefsRequest_SortBy
func (*ListRefsRequest) ProtoMessage ¶
func (*ListRefsRequest) ProtoMessage()
func (*ListRefsRequest) ProtoReflect ¶
func (x *ListRefsRequest) ProtoReflect() protoreflect.Message
func (*ListRefsRequest) Reset ¶
func (x *ListRefsRequest) Reset()
func (*ListRefsRequest) String ¶
func (x *ListRefsRequest) String() string
type ListRefsRequest_SortBy ¶
type ListRefsRequest_SortBy struct { // key is a key used for sorting. Key ListRefsRequest_SortBy_Key `protobuf:"varint,1,opt,name=key,proto3,enum=gitaly.ListRefsRequest_SortBy_Key" json:"key,omitempty"` // direction ... Direction SortDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=gitaly.SortDirection" json:"direction,omitempty"` // contains filtered or unexported fields }
SortBy ...
func (*ListRefsRequest_SortBy) Descriptor
deprecated
func (*ListRefsRequest_SortBy) Descriptor() ([]byte, []int)
Deprecated: Use ListRefsRequest_SortBy.ProtoReflect.Descriptor instead.
func (*ListRefsRequest_SortBy) GetDirection ¶
func (x *ListRefsRequest_SortBy) GetDirection() SortDirection
func (*ListRefsRequest_SortBy) GetKey ¶
func (x *ListRefsRequest_SortBy) GetKey() ListRefsRequest_SortBy_Key
func (*ListRefsRequest_SortBy) ProtoMessage ¶
func (*ListRefsRequest_SortBy) ProtoMessage()
func (*ListRefsRequest_SortBy) ProtoReflect ¶
func (x *ListRefsRequest_SortBy) ProtoReflect() protoreflect.Message
func (*ListRefsRequest_SortBy) Reset ¶
func (x *ListRefsRequest_SortBy) Reset()
func (*ListRefsRequest_SortBy) String ¶
func (x *ListRefsRequest_SortBy) String() string
type ListRefsRequest_SortBy_Key ¶
type ListRefsRequest_SortBy_Key int32
Key ...
const ( // REFNAME ... ListRefsRequest_SortBy_REFNAME ListRefsRequest_SortBy_Key = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // CREATORDATE ... ListRefsRequest_SortBy_CREATORDATE ListRefsRequest_SortBy_Key = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // AUTHORDATE ... ListRefsRequest_SortBy_AUTHORDATE ListRefsRequest_SortBy_Key = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // COMMITTERDATE ... ListRefsRequest_SortBy_COMMITTERDATE ListRefsRequest_SortBy_Key = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (ListRefsRequest_SortBy_Key) Descriptor ¶
func (ListRefsRequest_SortBy_Key) Descriptor() protoreflect.EnumDescriptor
func (ListRefsRequest_SortBy_Key) Enum ¶
func (x ListRefsRequest_SortBy_Key) Enum() *ListRefsRequest_SortBy_Key
func (ListRefsRequest_SortBy_Key) EnumDescriptor
deprecated
func (ListRefsRequest_SortBy_Key) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListRefsRequest_SortBy_Key.Descriptor instead.
func (ListRefsRequest_SortBy_Key) Number ¶
func (x ListRefsRequest_SortBy_Key) Number() protoreflect.EnumNumber
func (ListRefsRequest_SortBy_Key) String ¶
func (x ListRefsRequest_SortBy_Key) String() string
func (ListRefsRequest_SortBy_Key) Type ¶
func (ListRefsRequest_SortBy_Key) Type() protoreflect.EnumType
type ListRefsResponse ¶
type ListRefsResponse struct { // references is the set of references returned by the RPC. References []*ListRefsResponse_Reference `protobuf:"bytes,1,rep,name=references,proto3" json:"references,omitempty"` // contains filtered or unexported fields }
ListRefsResponse is a response for the ListRefs RPC. The RPC can return multiple responses in case there are more references than fit into a single gRPC message.
func (*ListRefsResponse) Descriptor
deprecated
func (*ListRefsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRefsResponse.ProtoReflect.Descriptor instead.
func (*ListRefsResponse) GetReferences ¶
func (x *ListRefsResponse) GetReferences() []*ListRefsResponse_Reference
func (*ListRefsResponse) ProtoMessage ¶
func (*ListRefsResponse) ProtoMessage()
func (*ListRefsResponse) ProtoReflect ¶
func (x *ListRefsResponse) ProtoReflect() protoreflect.Message
func (*ListRefsResponse) Reset ¶
func (x *ListRefsResponse) Reset()
func (*ListRefsResponse) String ¶
func (x *ListRefsResponse) String() string
type ListRefsResponse_Reference ¶
type ListRefsResponse_Reference struct { // name is the fully qualified name of the reference. Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // target is the object ID the reference points to. Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` // peeled_target is the object ID an annotated tag points to. This field is only set when // `PeelTags=true`. This field is empty in case the object is not an annotated tag. PeeledTarget string `protobuf:"bytes,3,opt,name=peeled_target,json=peeledTarget,proto3" json:"peeled_target,omitempty"` // contains filtered or unexported fields }
Reference is a direct Git reference. No symbolic references will ever be returned by this RPC.
func (*ListRefsResponse_Reference) Descriptor
deprecated
func (*ListRefsResponse_Reference) Descriptor() ([]byte, []int)
Deprecated: Use ListRefsResponse_Reference.ProtoReflect.Descriptor instead.
func (*ListRefsResponse_Reference) GetName ¶
func (x *ListRefsResponse_Reference) GetName() []byte
func (*ListRefsResponse_Reference) GetPeeledTarget ¶
func (x *ListRefsResponse_Reference) GetPeeledTarget() string
func (*ListRefsResponse_Reference) GetTarget ¶
func (x *ListRefsResponse_Reference) GetTarget() string
func (*ListRefsResponse_Reference) ProtoMessage ¶
func (*ListRefsResponse_Reference) ProtoMessage()
func (*ListRefsResponse_Reference) ProtoReflect ¶
func (x *ListRefsResponse_Reference) ProtoReflect() protoreflect.Message
func (*ListRefsResponse_Reference) Reset ¶
func (x *ListRefsResponse_Reference) Reset()
func (*ListRefsResponse_Reference) String ¶
func (x *ListRefsResponse_Reference) String() string
type ListTagNamesContainingCommitRequest ¶
type ListTagNamesContainingCommitRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // commit_id ... CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" 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,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
ListTagNamesContainingCommitRequest ...
func (*ListTagNamesContainingCommitRequest) Descriptor
deprecated
func (*ListTagNamesContainingCommitRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagNamesContainingCommitRequest.ProtoReflect.Descriptor instead.
func (*ListTagNamesContainingCommitRequest) GetCommitId ¶
func (x *ListTagNamesContainingCommitRequest) GetCommitId() string
func (*ListTagNamesContainingCommitRequest) GetLimit ¶
func (x *ListTagNamesContainingCommitRequest) GetLimit() uint32
func (*ListTagNamesContainingCommitRequest) GetRepository ¶
func (x *ListTagNamesContainingCommitRequest) GetRepository() *Repository
func (*ListTagNamesContainingCommitRequest) ProtoMessage ¶
func (*ListTagNamesContainingCommitRequest) ProtoMessage()
func (*ListTagNamesContainingCommitRequest) ProtoReflect ¶
func (x *ListTagNamesContainingCommitRequest) ProtoReflect() protoreflect.Message
func (*ListTagNamesContainingCommitRequest) Reset ¶
func (x *ListTagNamesContainingCommitRequest) Reset()
func (*ListTagNamesContainingCommitRequest) String ¶
func (x *ListTagNamesContainingCommitRequest) String() string
type ListTagNamesContainingCommitResponse ¶
type ListTagNamesContainingCommitResponse struct { // tag_names ... TagNames [][]byte `protobuf:"bytes,2,rep,name=tag_names,json=tagNames,proto3" json:"tag_names,omitempty"` // contains filtered or unexported fields }
ListTagNamesContainingCommitResponse ...
func (*ListTagNamesContainingCommitResponse) Descriptor
deprecated
func (*ListTagNamesContainingCommitResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagNamesContainingCommitResponse.ProtoReflect.Descriptor instead.
func (*ListTagNamesContainingCommitResponse) GetTagNames ¶
func (x *ListTagNamesContainingCommitResponse) GetTagNames() [][]byte
func (*ListTagNamesContainingCommitResponse) ProtoMessage ¶
func (*ListTagNamesContainingCommitResponse) ProtoMessage()
func (*ListTagNamesContainingCommitResponse) ProtoReflect ¶
func (x *ListTagNamesContainingCommitResponse) ProtoReflect() protoreflect.Message
func (*ListTagNamesContainingCommitResponse) Reset ¶
func (x *ListTagNamesContainingCommitResponse) Reset()
func (*ListTagNamesContainingCommitResponse) String ¶
func (x *ListTagNamesContainingCommitResponse) String() string
type LoadBalancingConfig ¶
type LoadBalancingConfig struct { // policy ... // // Types that are assignable to Policy: // // *LoadBalancingConfig_PickFirst // *LoadBalancingConfig_RoundRobin Policy isLoadBalancingConfig_Policy `protobuf_oneof:"policy"` // contains filtered or unexported fields }
LoadBalancingConfig wraps around the round-robin strategies. Only one strategy can be selected.
func (*LoadBalancingConfig) Descriptor
deprecated
func (*LoadBalancingConfig) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancingConfig.ProtoReflect.Descriptor instead.
func (*LoadBalancingConfig) GetPickFirst ¶
func (x *LoadBalancingConfig) GetPickFirst() *PickFirstConfig
func (*LoadBalancingConfig) GetPolicy ¶
func (m *LoadBalancingConfig) GetPolicy() isLoadBalancingConfig_Policy
func (*LoadBalancingConfig) GetRoundRobin ¶
func (x *LoadBalancingConfig) GetRoundRobin() *RoundRobinConfig
func (*LoadBalancingConfig) ProtoMessage ¶
func (*LoadBalancingConfig) ProtoMessage()
func (*LoadBalancingConfig) ProtoReflect ¶
func (x *LoadBalancingConfig) ProtoReflect() protoreflect.Message
func (*LoadBalancingConfig) Reset ¶
func (x *LoadBalancingConfig) Reset()
func (*LoadBalancingConfig) String ¶
func (x *LoadBalancingConfig) String() string
type LoadBalancingConfig_PickFirst ¶
type LoadBalancingConfig_PickFirst struct { // pick_first strategy PickFirst *PickFirstConfig `protobuf:"bytes,1,opt,name=pick_first,proto3,oneof"` }
type LoadBalancingConfig_RoundRobin ¶
type LoadBalancingConfig_RoundRobin struct { // round_robin strategy RoundRobin *RoundRobinConfig `protobuf:"bytes,2,opt,name=round_robin,proto3,oneof"` }
type LogEntry ¶
type LogEntry struct { // relative_path is the relative path of the repository the changes in the // log entry are targeting. RelativePath string `protobuf:"bytes,1,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // reference_updates contains the reference updates this log // entry records. The logged reference updates have already passed // through verification and are applied without any further checks. ReferenceUpdates []*LogEntry_ReferenceUpdate `protobuf:"bytes,2,rep,name=reference_updates,json=referenceUpdates,proto3" json:"reference_updates,omitempty"` // default_branch_update contains the information pertaining to updating // the default branch of the repo. DefaultBranchUpdate *LogEntry_DefaultBranchUpdate `protobuf:"bytes,3,opt,name=default_branch_update,json=defaultBranchUpdate,proto3" json:"default_branch_update,omitempty"` // custom_hooks_update contains the custom hooks to set in the repository. CustomHooksUpdate *LogEntry_CustomHooksUpdate `protobuf:"bytes,4,opt,name=custom_hooks_update,json=customHooksUpdate,proto3" json:"custom_hooks_update,omitempty"` // pack_prefix contains the prefix (`pack-<digest>`) of the pack and its index. // If pack_prefix is empty, the log entry has no associated pack. PackPrefix string `protobuf:"bytes,5,opt,name=pack_prefix,json=packPrefix,proto3" json:"pack_prefix,omitempty"` // repository_deletion, when set, indicates this log entry deletes the repository. RepositoryDeletion *LogEntry_RepositoryDeletion `protobuf:"bytes,6,opt,name=repository_deletion,json=repositoryDeletion,proto3" json:"repository_deletion,omitempty"` // contains filtered or unexported fields }
LogEntry is a single entry in a repository's write-ahead log.
Schema for : - `repository/<repository_id>/log/entry/<log_index>`.
func (*LogEntry) Descriptor
deprecated
func (*LogEntry) GetCustomHooksUpdate ¶
func (x *LogEntry) GetCustomHooksUpdate() *LogEntry_CustomHooksUpdate
func (*LogEntry) GetDefaultBranchUpdate ¶
func (x *LogEntry) GetDefaultBranchUpdate() *LogEntry_DefaultBranchUpdate
func (*LogEntry) GetPackPrefix ¶ added in v16.1.0
func (*LogEntry) GetReferenceUpdates ¶
func (x *LogEntry) GetReferenceUpdates() []*LogEntry_ReferenceUpdate
func (*LogEntry) GetRelativePath ¶ added in v16.5.0
func (*LogEntry) GetRepositoryDeletion ¶ added in v16.1.0
func (x *LogEntry) GetRepositoryDeletion() *LogEntry_RepositoryDeletion
func (*LogEntry) ProtoMessage ¶
func (*LogEntry) ProtoMessage()
func (*LogEntry) ProtoReflect ¶
func (x *LogEntry) ProtoReflect() protoreflect.Message
type LogEntry_CustomHooksUpdate ¶
type LogEntry_CustomHooksUpdate struct { // custom_hooks_tar is a TAR that contains the custom hooks in // `custom_hooks` directory. The contents of the directory are // unpacked as the custom hooks. CustomHooksTar []byte `protobuf:"bytes,1,opt,name=custom_hooks_tar,json=customHooksTar,proto3" json:"custom_hooks_tar,omitempty"` // contains filtered or unexported fields }
CustomHooksUpdate models an update to the custom hooks.
func (*LogEntry_CustomHooksUpdate) Descriptor
deprecated
func (*LogEntry_CustomHooksUpdate) Descriptor() ([]byte, []int)
Deprecated: Use LogEntry_CustomHooksUpdate.ProtoReflect.Descriptor instead.
func (*LogEntry_CustomHooksUpdate) GetCustomHooksTar ¶
func (x *LogEntry_CustomHooksUpdate) GetCustomHooksTar() []byte
func (*LogEntry_CustomHooksUpdate) ProtoMessage ¶
func (*LogEntry_CustomHooksUpdate) ProtoMessage()
func (*LogEntry_CustomHooksUpdate) ProtoReflect ¶
func (x *LogEntry_CustomHooksUpdate) ProtoReflect() protoreflect.Message
func (*LogEntry_CustomHooksUpdate) Reset ¶
func (x *LogEntry_CustomHooksUpdate) Reset()
func (*LogEntry_CustomHooksUpdate) String ¶
func (x *LogEntry_CustomHooksUpdate) String() string
type LogEntry_DefaultBranchUpdate ¶
type LogEntry_DefaultBranchUpdate struct { // reference_name is the fully qualified name of the reference // to update the default branch to. ReferenceName []byte `protobuf:"bytes,1,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` // contains filtered or unexported fields }
DefaultBranchUpdate models a default branch update.
func (*LogEntry_DefaultBranchUpdate) Descriptor
deprecated
func (*LogEntry_DefaultBranchUpdate) Descriptor() ([]byte, []int)
Deprecated: Use LogEntry_DefaultBranchUpdate.ProtoReflect.Descriptor instead.
func (*LogEntry_DefaultBranchUpdate) GetReferenceName ¶
func (x *LogEntry_DefaultBranchUpdate) GetReferenceName() []byte
func (*LogEntry_DefaultBranchUpdate) ProtoMessage ¶
func (*LogEntry_DefaultBranchUpdate) ProtoMessage()
func (*LogEntry_DefaultBranchUpdate) ProtoReflect ¶
func (x *LogEntry_DefaultBranchUpdate) ProtoReflect() protoreflect.Message
func (*LogEntry_DefaultBranchUpdate) Reset ¶
func (x *LogEntry_DefaultBranchUpdate) Reset()
func (*LogEntry_DefaultBranchUpdate) String ¶
func (x *LogEntry_DefaultBranchUpdate) String() string
type LogEntry_ReferenceUpdate ¶
type LogEntry_ReferenceUpdate struct { // reference_name is the fully qualified name of the reference // to update. ReferenceName []byte `protobuf:"bytes,1,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` // new_oid is the new oid to point the reference to. Deletions // are denoted as the SHA1 or SHA256 zero OID depending on the // hash type used in the repository. NewOid []byte `protobuf:"bytes,2,opt,name=new_oid,json=newOid,proto3" json:"new_oid,omitempty"` // contains filtered or unexported fields }
ReferenceUpdate models a single reference update.
func (*LogEntry_ReferenceUpdate) Descriptor
deprecated
func (*LogEntry_ReferenceUpdate) Descriptor() ([]byte, []int)
Deprecated: Use LogEntry_ReferenceUpdate.ProtoReflect.Descriptor instead.
func (*LogEntry_ReferenceUpdate) GetNewOid ¶
func (x *LogEntry_ReferenceUpdate) GetNewOid() []byte
func (*LogEntry_ReferenceUpdate) GetReferenceName ¶
func (x *LogEntry_ReferenceUpdate) GetReferenceName() []byte
func (*LogEntry_ReferenceUpdate) ProtoMessage ¶
func (*LogEntry_ReferenceUpdate) ProtoMessage()
func (*LogEntry_ReferenceUpdate) ProtoReflect ¶
func (x *LogEntry_ReferenceUpdate) ProtoReflect() protoreflect.Message
func (*LogEntry_ReferenceUpdate) Reset ¶
func (x *LogEntry_ReferenceUpdate) Reset()
func (*LogEntry_ReferenceUpdate) String ¶
func (x *LogEntry_ReferenceUpdate) String() string
type LogEntry_RepositoryDeletion ¶ added in v16.1.0
type LogEntry_RepositoryDeletion struct {
// contains filtered or unexported fields
}
RepositoryDeletion models a repository deletion.
func (*LogEntry_RepositoryDeletion) Descriptor
deprecated
added in
v16.1.0
func (*LogEntry_RepositoryDeletion) Descriptor() ([]byte, []int)
Deprecated: Use LogEntry_RepositoryDeletion.ProtoReflect.Descriptor instead.
func (*LogEntry_RepositoryDeletion) ProtoMessage ¶ added in v16.1.0
func (*LogEntry_RepositoryDeletion) ProtoMessage()
func (*LogEntry_RepositoryDeletion) ProtoReflect ¶ added in v16.1.0
func (x *LogEntry_RepositoryDeletion) ProtoReflect() protoreflect.Message
func (*LogEntry_RepositoryDeletion) Reset ¶ added in v16.1.0
func (x *LogEntry_RepositoryDeletion) Reset()
func (*LogEntry_RepositoryDeletion) String ¶ added in v16.1.0
func (x *LogEntry_RepositoryDeletion) String() string
type LogIndex ¶
type LogIndex struct { // log_index is an index pointing to a position in the log. LogIndex uint64 `protobuf:"varint,1,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"` // contains filtered or unexported fields }
LogIndex serializes a log index. It's used for storing a repository's applied log index in the database.
Schema for: - `repository/<repository_id>/log/index/applied`
func (*LogIndex) Descriptor
deprecated
func (*LogIndex) GetLogIndex ¶
func (*LogIndex) ProtoMessage ¶
func (*LogIndex) ProtoMessage()
func (*LogIndex) ProtoReflect ¶
func (x *LogIndex) ProtoReflect() protoreflect.Message
type MarkUnverifiedRequest ¶
type MarkUnverifiedRequest struct { // selector specifies the replicas which to mark unverified. // // Types that are assignable to Selector: // // *MarkUnverifiedRequest_RepositoryId // *MarkUnverifiedRequest_VirtualStorage // *MarkUnverifiedRequest_Storage_ Selector isMarkUnverifiedRequest_Selector `protobuf_oneof:"selector"` // contains filtered or unexported fields }
MarkUnverifiedRequest specifies the replicas which to mark unverified.
func (*MarkUnverifiedRequest) Descriptor
deprecated
func (*MarkUnverifiedRequest) Descriptor() ([]byte, []int)
Deprecated: Use MarkUnverifiedRequest.ProtoReflect.Descriptor instead.
func (*MarkUnverifiedRequest) GetRepositoryId ¶
func (x *MarkUnverifiedRequest) GetRepositoryId() int64
func (*MarkUnverifiedRequest) GetSelector ¶
func (m *MarkUnverifiedRequest) GetSelector() isMarkUnverifiedRequest_Selector
func (*MarkUnverifiedRequest) GetStorage ¶
func (x *MarkUnverifiedRequest) GetStorage() *MarkUnverifiedRequest_Storage
func (*MarkUnverifiedRequest) GetVirtualStorage ¶
func (x *MarkUnverifiedRequest) GetVirtualStorage() string
func (*MarkUnverifiedRequest) ProtoMessage ¶
func (*MarkUnverifiedRequest) ProtoMessage()
func (*MarkUnverifiedRequest) ProtoReflect ¶
func (x *MarkUnverifiedRequest) ProtoReflect() protoreflect.Message
func (*MarkUnverifiedRequest) Reset ¶
func (x *MarkUnverifiedRequest) Reset()
func (*MarkUnverifiedRequest) String ¶
func (x *MarkUnverifiedRequest) String() string
type MarkUnverifiedRequest_RepositoryId ¶
type MarkUnverifiedRequest_RepositoryId struct { // repository_id is the id of a repository to mark all replicas for unverified. RepositoryId int64 `protobuf:"varint,1,opt,name=repository_id,json=repositoryId,proto3,oneof"` }
type MarkUnverifiedRequest_Storage ¶
type MarkUnverifiedRequest_Storage struct { // virtual_storage is the virtual storage the storage is part of. VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` // storage is the name of the storage. Storage string `protobuf:"bytes,2,opt,name=storage,proto3" json:"storage,omitempty"` // contains filtered or unexported fields }
Storage identifies a single storage in a virtual storage.
func (*MarkUnverifiedRequest_Storage) Descriptor
deprecated
func (*MarkUnverifiedRequest_Storage) Descriptor() ([]byte, []int)
Deprecated: Use MarkUnverifiedRequest_Storage.ProtoReflect.Descriptor instead.
func (*MarkUnverifiedRequest_Storage) GetStorage ¶
func (x *MarkUnverifiedRequest_Storage) GetStorage() string
func (*MarkUnverifiedRequest_Storage) GetVirtualStorage ¶
func (x *MarkUnverifiedRequest_Storage) GetVirtualStorage() string
func (*MarkUnverifiedRequest_Storage) ProtoMessage ¶
func (*MarkUnverifiedRequest_Storage) ProtoMessage()
func (*MarkUnverifiedRequest_Storage) ProtoReflect ¶
func (x *MarkUnverifiedRequest_Storage) ProtoReflect() protoreflect.Message
func (*MarkUnverifiedRequest_Storage) Reset ¶
func (x *MarkUnverifiedRequest_Storage) Reset()
func (*MarkUnverifiedRequest_Storage) String ¶
func (x *MarkUnverifiedRequest_Storage) String() string
type MarkUnverifiedRequest_Storage_ ¶
type MarkUnverifiedRequest_Storage_ struct { // storage specifies a single storage. The replicas on the storage marked unverified. Storage *MarkUnverifiedRequest_Storage `protobuf:"bytes,3,opt,name=storage,proto3,oneof"` }
type MarkUnverifiedRequest_VirtualStorage ¶
type MarkUnverifiedRequest_VirtualStorage struct { // virtual_storage is the name of virtual storage which will have all of its replicas // marked unverified. VirtualStorage string `protobuf:"bytes,2,opt,name=virtual_storage,json=virtualStorage,proto3,oneof"` }
type MarkUnverifiedResponse ¶
type MarkUnverifiedResponse struct { // replicas_marked indicates the number of replicas that were marked unverified. ReplicasMarked int64 `protobuf:"varint,1,opt,name=replicas_marked,json=replicasMarked,proto3" json:"replicas_marked,omitempty"` // contains filtered or unexported fields }
MarkUnverifiedResponse returns the number of replicas marked unverified.
func (*MarkUnverifiedResponse) Descriptor
deprecated
func (*MarkUnverifiedResponse) Descriptor() ([]byte, []int)
Deprecated: Use MarkUnverifiedResponse.ProtoReflect.Descriptor instead.
func (*MarkUnverifiedResponse) GetReplicasMarked ¶
func (x *MarkUnverifiedResponse) GetReplicasMarked() int64
func (*MarkUnverifiedResponse) ProtoMessage ¶
func (*MarkUnverifiedResponse) ProtoMessage()
func (*MarkUnverifiedResponse) ProtoReflect ¶
func (x *MarkUnverifiedResponse) ProtoReflect() protoreflect.Message
func (*MarkUnverifiedResponse) Reset ¶
func (x *MarkUnverifiedResponse) Reset()
func (*MarkUnverifiedResponse) String ¶
func (x *MarkUnverifiedResponse) String() string
type MergeConflictError ¶
type MergeConflictError struct { // conflicting_files is the set of files which have been conflicting. If this // field is empty, then there has still been a merge conflict, but it wasn't // able to determine which files have been conflicting. ConflictingFiles [][]byte `protobuf:"bytes,1,rep,name=conflicting_files,json=conflictingFiles,proto3" json:"conflicting_files,omitempty"` // conflicting_commit_ids is the set of commit IDs that caused the conflict. In the general case, // this should be set to two commit IDs. ConflictingCommitIds []string `protobuf:"bytes,2,rep,name=conflicting_commit_ids,json=conflictingCommitIds,proto3" json:"conflicting_commit_ids,omitempty"` // contains filtered or unexported fields }
MergeConflictError is an error returned in the case when merging two commits fails due to a merge conflict.
func (*MergeConflictError) Descriptor
deprecated
func (*MergeConflictError) Descriptor() ([]byte, []int)
Deprecated: Use MergeConflictError.ProtoReflect.Descriptor instead.
func (*MergeConflictError) GetConflictingCommitIds ¶
func (x *MergeConflictError) GetConflictingCommitIds() []string
func (*MergeConflictError) GetConflictingFiles ¶
func (x *MergeConflictError) GetConflictingFiles() [][]byte
func (*MergeConflictError) ProtoMessage ¶
func (*MergeConflictError) ProtoMessage()
func (*MergeConflictError) ProtoReflect ¶
func (x *MergeConflictError) ProtoReflect() protoreflect.Message
func (*MergeConflictError) Reset ¶
func (x *MergeConflictError) Reset()
func (*MergeConflictError) String ¶
func (x *MergeConflictError) String() string
type MethodConfig ¶
type MethodConfig struct { // name defines the list of affected services/methods // The name should be is the definition of grpc. Nothing we can do about it // protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED Name []*MethodConfig_Name `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"` // The following fields are unused by Gitaly at the moment. Please refer to the original // documentation for more information // protolint:disable FIELDS_HAVE_COMMENT WaitForReady *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=wait_for_ready,json=waitForReady,proto3" json:"wait_for_ready,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` MaxRequestMessageBytes *wrapperspb.UInt32Value `` /* 131-byte string literal not displayed */ MaxResponseMessageBytes *wrapperspb.UInt32Value `` /* 134-byte string literal not displayed */ // retry_policy defines the exponential backoff configuration for the affected services/methods // protolint:enable FIELDS_HAVE_COMMENT RetryPolicy *MethodConfig_RetryPolicy `protobuf:"bytes,6,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` // contains filtered or unexported fields }
MethodConfig is the configuration for a method.
func (*MethodConfig) Descriptor
deprecated
func (*MethodConfig) Descriptor() ([]byte, []int)
Deprecated: Use MethodConfig.ProtoReflect.Descriptor instead.
func (*MethodConfig) GetMaxRequestMessageBytes ¶
func (x *MethodConfig) GetMaxRequestMessageBytes() *wrapperspb.UInt32Value
func (*MethodConfig) GetMaxResponseMessageBytes ¶
func (x *MethodConfig) GetMaxResponseMessageBytes() *wrapperspb.UInt32Value
func (*MethodConfig) GetName ¶
func (x *MethodConfig) GetName() []*MethodConfig_Name
func (*MethodConfig) GetRetryPolicy ¶
func (x *MethodConfig) GetRetryPolicy() *MethodConfig_RetryPolicy
func (*MethodConfig) GetTimeout ¶
func (x *MethodConfig) GetTimeout() *durationpb.Duration
func (*MethodConfig) GetWaitForReady ¶
func (x *MethodConfig) GetWaitForReady() *wrapperspb.BoolValue
func (*MethodConfig) ProtoMessage ¶
func (*MethodConfig) ProtoMessage()
func (*MethodConfig) ProtoReflect ¶
func (x *MethodConfig) ProtoReflect() protoreflect.Message
func (*MethodConfig) Reset ¶
func (x *MethodConfig) Reset()
func (*MethodConfig) String ¶
func (x *MethodConfig) String() string
type MethodConfig_Name ¶
type MethodConfig_Name struct { // service is name of the service,including its package. For example: gitaly.SmartHTTPService Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // method is the name of the method within the above service. Empty method name implies the // method policy is effective for all methods of the service Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // contains filtered or unexported fields }
Name is an object indicating which services/methods being affected by the config
func (*MethodConfig_Name) Descriptor
deprecated
func (*MethodConfig_Name) Descriptor() ([]byte, []int)
Deprecated: Use MethodConfig_Name.ProtoReflect.Descriptor instead.
func (*MethodConfig_Name) GetMethod ¶
func (x *MethodConfig_Name) GetMethod() string
func (*MethodConfig_Name) GetService ¶
func (x *MethodConfig_Name) GetService() string
func (*MethodConfig_Name) ProtoMessage ¶
func (*MethodConfig_Name) ProtoMessage()
func (*MethodConfig_Name) ProtoReflect ¶
func (x *MethodConfig_Name) ProtoReflect() protoreflect.Message
func (*MethodConfig_Name) Reset ¶
func (x *MethodConfig_Name) Reset()
func (*MethodConfig_Name) String ¶
func (x *MethodConfig_Name) String() string
type MethodConfig_RetryPolicy ¶
type MethodConfig_RetryPolicy struct { // max_attempts is the total retry attempts client perform before bailing out MaxAttempts uint32 `protobuf:"varint,1,opt,name=max_attempts,json=maxAttempts,proto3" json:"max_attempts,omitempty"` // initial_backoff is the minimum delay for the first retries InitialBackoff *durationpb.Duration `protobuf:"bytes,2,opt,name=initial_backoff,json=initialBackoff,proto3" json:"initial_backoff,omitempty"` // max_backoff is the minimum delay MaxBackoff *durationpb.Duration `protobuf:"bytes,3,opt,name=max_backoff,json=maxBackoff,proto3" json:"max_backoff,omitempty"` // backoff_multiplier is the factor determining "how fast" the delay increases after each retry BackoffMultiplier float32 `protobuf:"fixed32,4,opt,name=backoff_multiplier,json=backoffMultiplier,proto3" json:"backoff_multiplier,omitempty"` // retryable_status_codes defines the list of eligible status codes. The status must be in // capitalized snake_case form. For example, UNAVAILABLE, FAILED_PRECONDITION RetryableStatusCodes []string `protobuf:"bytes,5,rep,name=retryable_status_codes,json=retryableStatusCodes,proto3" json:"retryable_status_codes,omitempty"` // contains filtered or unexported fields }
RetryPolicy defines the configuration for exponential backoff when a request fails
func (*MethodConfig_RetryPolicy) Descriptor
deprecated
func (*MethodConfig_RetryPolicy) Descriptor() ([]byte, []int)
Deprecated: Use MethodConfig_RetryPolicy.ProtoReflect.Descriptor instead.
func (*MethodConfig_RetryPolicy) GetBackoffMultiplier ¶
func (x *MethodConfig_RetryPolicy) GetBackoffMultiplier() float32
func (*MethodConfig_RetryPolicy) GetInitialBackoff ¶
func (x *MethodConfig_RetryPolicy) GetInitialBackoff() *durationpb.Duration
func (*MethodConfig_RetryPolicy) GetMaxAttempts ¶
func (x *MethodConfig_RetryPolicy) GetMaxAttempts() uint32
func (*MethodConfig_RetryPolicy) GetMaxBackoff ¶
func (x *MethodConfig_RetryPolicy) GetMaxBackoff() *durationpb.Duration
func (*MethodConfig_RetryPolicy) GetRetryableStatusCodes ¶
func (x *MethodConfig_RetryPolicy) GetRetryableStatusCodes() []string
func (*MethodConfig_RetryPolicy) ProtoMessage ¶
func (*MethodConfig_RetryPolicy) ProtoMessage()
func (*MethodConfig_RetryPolicy) ProtoReflect ¶
func (x *MethodConfig_RetryPolicy) ProtoReflect() protoreflect.Message
func (*MethodConfig_RetryPolicy) Reset ¶
func (x *MethodConfig_RetryPolicy) Reset()
func (*MethodConfig_RetryPolicy) String ¶
func (x *MethodConfig_RetryPolicy) String() string
type NamespaceExistsRequest ¶
type NamespaceExistsRequest struct { // storage_name ... StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` // name ... Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
NamespaceExistsRequest ...
func (*NamespaceExistsRequest) Descriptor
deprecated
func (*NamespaceExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceExistsRequest.ProtoReflect.Descriptor instead.
func (*NamespaceExistsRequest) GetName ¶
func (x *NamespaceExistsRequest) GetName() string
func (*NamespaceExistsRequest) GetStorageName ¶
func (x *NamespaceExistsRequest) GetStorageName() string
func (*NamespaceExistsRequest) ProtoMessage ¶
func (*NamespaceExistsRequest) ProtoMessage()
func (*NamespaceExistsRequest) ProtoReflect ¶
func (x *NamespaceExistsRequest) ProtoReflect() protoreflect.Message
func (*NamespaceExistsRequest) Reset ¶
func (x *NamespaceExistsRequest) Reset()
func (*NamespaceExistsRequest) String ¶
func (x *NamespaceExistsRequest) String() string
type NamespaceExistsResponse ¶
type NamespaceExistsResponse struct { // exists ... Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
NamespaceExistsResponse ...
func (*NamespaceExistsResponse) Descriptor
deprecated
func (*NamespaceExistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceExistsResponse.ProtoReflect.Descriptor instead.
func (*NamespaceExistsResponse) GetExists ¶
func (x *NamespaceExistsResponse) GetExists() bool
func (*NamespaceExistsResponse) ProtoMessage ¶
func (*NamespaceExistsResponse) ProtoMessage()
func (*NamespaceExistsResponse) ProtoReflect ¶
func (x *NamespaceExistsResponse) ProtoReflect() protoreflect.Message
func (*NamespaceExistsResponse) Reset ¶
func (x *NamespaceExistsResponse) Reset()
func (*NamespaceExistsResponse) String ¶
func (x *NamespaceExistsResponse) String() string
type NamespaceServiceClient ¶
type NamespaceServiceClient interface { // AddNamespace ... AddNamespace(ctx context.Context, in *AddNamespaceRequest, opts ...grpc.CallOption) (*AddNamespaceResponse, error) // RemoveNamespace ... RemoveNamespace(ctx context.Context, in *RemoveNamespaceRequest, opts ...grpc.CallOption) (*RemoveNamespaceResponse, error) // RenameNamespace ... RenameNamespace(ctx context.Context, in *RenameNamespaceRequest, opts ...grpc.CallOption) (*RenameNamespaceResponse, error) // NamespaceExists ... NamespaceExists(ctx context.Context, in *NamespaceExistsRequest, opts ...grpc.CallOption) (*NamespaceExistsResponse, error) }
NamespaceServiceClient is the client API for NamespaceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewNamespaceServiceClient ¶
func NewNamespaceServiceClient(cc grpc.ClientConnInterface) NamespaceServiceClient
type NamespaceServiceServer ¶
type NamespaceServiceServer interface { // AddNamespace ... AddNamespace(context.Context, *AddNamespaceRequest) (*AddNamespaceResponse, error) // RemoveNamespace ... RemoveNamespace(context.Context, *RemoveNamespaceRequest) (*RemoveNamespaceResponse, error) // RenameNamespace ... RenameNamespace(context.Context, *RenameNamespaceRequest) (*RenameNamespaceResponse, error) // NamespaceExists ... NamespaceExists(context.Context, *NamespaceExistsRequest) (*NamespaceExistsResponse, error) // contains filtered or unexported methods }
NamespaceServiceServer is the server API for NamespaceService service. All implementations must embed UnimplementedNamespaceServiceServer for forward compatibility
type NotAncestorError ¶
type NotAncestorError struct { // parent_revision is the revision checked against ChildRevision for whether it // is an ancestor of ChildRevision ParentRevision []byte `protobuf:"bytes,1,opt,name=parent_revision,json=parentRevision,proto3" json:"parent_revision,omitempty"` // child_revision is the revision checked against ParentRevision for whether // it is a descendent of ChildRevision. ChildRevision []byte `protobuf:"bytes,2,opt,name=child_revision,json=childRevision,proto3" json:"child_revision,omitempty"` // contains filtered or unexported fields }
NotAncestorError is an error returned when parent_revision is not an ancestor of the child_revision.
func (*NotAncestorError) Descriptor
deprecated
func (*NotAncestorError) Descriptor() ([]byte, []int)
Deprecated: Use NotAncestorError.ProtoReflect.Descriptor instead.
func (*NotAncestorError) GetChildRevision ¶
func (x *NotAncestorError) GetChildRevision() []byte
func (*NotAncestorError) GetParentRevision ¶
func (x *NotAncestorError) GetParentRevision() []byte
func (*NotAncestorError) ProtoMessage ¶
func (*NotAncestorError) ProtoMessage()
func (*NotAncestorError) ProtoReflect ¶
func (x *NotAncestorError) ProtoReflect() protoreflect.Message
func (*NotAncestorError) Reset ¶
func (x *NotAncestorError) Reset()
func (*NotAncestorError) String ¶
func (x *NotAncestorError) String() string
type ObjectFormat ¶
type ObjectFormat int32
ObjectFormat is the object format that a Git repository can use.
const ( // OBJECT_FORMAT_UNSPECIFIED is the default object type when it has not been explicitly requested // by the client. Defaults to OBJECT_FORMAT_SHA1. ObjectFormat_OBJECT_FORMAT_UNSPECIFIED ObjectFormat = 0 // OBJECT_FORMAT_SHA1 is the object format based on the SHA1 hash. ObjectFormat_OBJECT_FORMAT_SHA1 ObjectFormat = 1 // OBJECT_FORMAT_SHA256 is the object format based on the SHA256 hash. This is experimental. ObjectFormat_OBJECT_FORMAT_SHA256 ObjectFormat = 2 )
func (ObjectFormat) Descriptor ¶
func (ObjectFormat) Descriptor() protoreflect.EnumDescriptor
func (ObjectFormat) Enum ¶
func (x ObjectFormat) Enum() *ObjectFormat
func (ObjectFormat) EnumDescriptor
deprecated
func (ObjectFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use ObjectFormat.Descriptor instead.
func (ObjectFormat) Number ¶
func (x ObjectFormat) Number() protoreflect.EnumNumber
func (ObjectFormat) String ¶
func (x ObjectFormat) String() string
func (ObjectFormat) Type ¶
func (ObjectFormat) Type() protoreflect.EnumType
type ObjectFormatRequest ¶
type ObjectFormatRequest struct { // repository is the repository for which to determine the object format. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
ObjectFormatRequest is a request for the ObjectFormat RPC.
func (*ObjectFormatRequest) Descriptor
deprecated
func (*ObjectFormatRequest) Descriptor() ([]byte, []int)
Deprecated: Use ObjectFormatRequest.ProtoReflect.Descriptor instead.
func (*ObjectFormatRequest) GetRepository ¶
func (x *ObjectFormatRequest) GetRepository() *Repository
func (*ObjectFormatRequest) ProtoMessage ¶
func (*ObjectFormatRequest) ProtoMessage()
func (*ObjectFormatRequest) ProtoReflect ¶
func (x *ObjectFormatRequest) ProtoReflect() protoreflect.Message
func (*ObjectFormatRequest) Reset ¶
func (x *ObjectFormatRequest) Reset()
func (*ObjectFormatRequest) String ¶
func (x *ObjectFormatRequest) String() string
type ObjectFormatResponse ¶
type ObjectFormatResponse struct { // format is the object format that the repository uses. Format ObjectFormat `protobuf:"varint,1,opt,name=format,proto3,enum=gitaly.ObjectFormat" json:"format,omitempty"` // contains filtered or unexported fields }
ObjectFormatResponse is a response for the ObjectFormat RPC.
func (*ObjectFormatResponse) Descriptor
deprecated
func (*ObjectFormatResponse) Descriptor() ([]byte, []int)
Deprecated: Use ObjectFormatResponse.ProtoReflect.Descriptor instead.
func (*ObjectFormatResponse) GetFormat ¶
func (x *ObjectFormatResponse) GetFormat() ObjectFormat
func (*ObjectFormatResponse) ProtoMessage ¶
func (*ObjectFormatResponse) ProtoMessage()
func (*ObjectFormatResponse) ProtoReflect ¶
func (x *ObjectFormatResponse) ProtoReflect() protoreflect.Message
func (*ObjectFormatResponse) Reset ¶
func (x *ObjectFormatResponse) Reset()
func (*ObjectFormatResponse) String ¶
func (x *ObjectFormatResponse) String() string
type ObjectPool ¶
type ObjectPool struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
ObjectPool ...
func (*ObjectPool) Descriptor
deprecated
func (*ObjectPool) Descriptor() ([]byte, []int)
Deprecated: Use ObjectPool.ProtoReflect.Descriptor instead.
func (*ObjectPool) GetRepository ¶
func (x *ObjectPool) GetRepository() *Repository
func (*ObjectPool) ProtoMessage ¶
func (*ObjectPool) ProtoMessage()
func (*ObjectPool) ProtoReflect ¶
func (x *ObjectPool) ProtoReflect() protoreflect.Message
func (*ObjectPool) Reset ¶
func (x *ObjectPool) Reset()
func (*ObjectPool) String ¶
func (x *ObjectPool) String() string
type ObjectPoolServiceClient ¶
type ObjectPoolServiceClient interface { // CreateObjectPool creates an object pool from a specific source repository. It will create the // object pool by cloning all contents from that source repository. The source repository will not // automatically be linked to the object pool, you need to call LinkRepositoryToObjectPool for // this. If the object pool exists already this RPC returns an error with the FailedPrecondition // gRPC error code. CreateObjectPool(ctx context.Context, in *CreateObjectPoolRequest, opts ...grpc.CallOption) (*CreateObjectPoolResponse, error) // DeleteObjectPool deletes the object pool. There are no safety checks in place, so if any // repository is still using this object pool it will become corrupted. DeleteObjectPool(ctx context.Context, in *DeleteObjectPoolRequest, opts ...grpc.CallOption) (*DeleteObjectPoolResponse, error) // LinkRepositoryToObjectPool links the specified repository to the object pool. Objects contained // in the object pool will be deduplicated for this repository when repacking objects. LinkRepositoryToObjectPool(ctx context.Context, in *LinkRepositoryToObjectPoolRequest, opts ...grpc.CallOption) (*LinkRepositoryToObjectPoolResponse, error) // DisconnectGitAlternates will disconnect the object pool member from its object pool. It will: // // 1. Link all objects from the object pool into the member repository. This essenitally // reduplicates previously-duplicated objects so that the repository will continue to function // after being unlinked. // 2. Remove the alternates link to the object pool. // 3. Perform a consistency check to assert that the repository is indeed fully functional after // unlinking it from its pool. If the consistency check fails the alternates link is restored // an the RPC fails. // // If successful, the object pool member is disconnected from the object pool and does not depend // on it anymore. // // This RPC does not return an error in case the repository is not linked to any object pool. DisconnectGitAlternates(ctx context.Context, in *DisconnectGitAlternatesRequest, opts ...grpc.CallOption) (*DisconnectGitAlternatesResponse, error) // FetchIntoObjectPool fetches all references from a pool member into an object pool so that // objects shared between this repository and other pool members can be deduplicated. This RPC // will perform housekeeping tasks after the object pool has been updated to ensure that the pool // is in an optimal state. FetchIntoObjectPool(ctx context.Context, in *FetchIntoObjectPoolRequest, opts ...grpc.CallOption) (*FetchIntoObjectPoolResponse, error) // GetObjectPool returns the object pool a repository is connected to. If the repository is not // connected to a pool then this RPC returns successfully with an empty response. GetObjectPool(ctx context.Context, in *GetObjectPoolRequest, opts ...grpc.CallOption) (*GetObjectPoolResponse, error) }
ObjectPoolServiceClient is the client API for ObjectPoolService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewObjectPoolServiceClient ¶
func NewObjectPoolServiceClient(cc grpc.ClientConnInterface) ObjectPoolServiceClient
type ObjectPoolServiceServer ¶
type ObjectPoolServiceServer interface { // CreateObjectPool creates an object pool from a specific source repository. It will create the // object pool by cloning all contents from that source repository. The source repository will not // automatically be linked to the object pool, you need to call LinkRepositoryToObjectPool for // this. If the object pool exists already this RPC returns an error with the FailedPrecondition // gRPC error code. CreateObjectPool(context.Context, *CreateObjectPoolRequest) (*CreateObjectPoolResponse, error) // DeleteObjectPool deletes the object pool. There are no safety checks in place, so if any // repository is still using this object pool it will become corrupted. DeleteObjectPool(context.Context, *DeleteObjectPoolRequest) (*DeleteObjectPoolResponse, error) // LinkRepositoryToObjectPool links the specified repository to the object pool. Objects contained // in the object pool will be deduplicated for this repository when repacking objects. LinkRepositoryToObjectPool(context.Context, *LinkRepositoryToObjectPoolRequest) (*LinkRepositoryToObjectPoolResponse, error) // DisconnectGitAlternates will disconnect the object pool member from its object pool. It will: // // 1. Link all objects from the object pool into the member repository. This essenitally // reduplicates previously-duplicated objects so that the repository will continue to function // after being unlinked. // 2. Remove the alternates link to the object pool. // 3. Perform a consistency check to assert that the repository is indeed fully functional after // unlinking it from its pool. If the consistency check fails the alternates link is restored // an the RPC fails. // // If successful, the object pool member is disconnected from the object pool and does not depend // on it anymore. // // This RPC does not return an error in case the repository is not linked to any object pool. DisconnectGitAlternates(context.Context, *DisconnectGitAlternatesRequest) (*DisconnectGitAlternatesResponse, error) // FetchIntoObjectPool fetches all references from a pool member into an object pool so that // objects shared between this repository and other pool members can be deduplicated. This RPC // will perform housekeeping tasks after the object pool has been updated to ensure that the pool // is in an optimal state. FetchIntoObjectPool(context.Context, *FetchIntoObjectPoolRequest) (*FetchIntoObjectPoolResponse, error) // GetObjectPool returns the object pool a repository is connected to. If the repository is not // connected to a pool then this RPC returns successfully with an empty response. GetObjectPool(context.Context, *GetObjectPoolRequest) (*GetObjectPoolResponse, error) // contains filtered or unexported methods }
ObjectPoolServiceServer is the server API for ObjectPoolService service. All implementations must embed UnimplementedObjectPoolServiceServer for forward compatibility
type ObjectType ¶
type ObjectType int32
ObjectType ...
const ( // UNKNOWN ... ObjectType_UNKNOWN ObjectType = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // COMMIT ... ObjectType_COMMIT ObjectType = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // BLOB ... ObjectType_BLOB ObjectType = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // TREE ... ObjectType_TREE ObjectType = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // TAG ... ObjectType_TAG ObjectType = 4 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (ObjectType) Descriptor ¶
func (ObjectType) Descriptor() protoreflect.EnumDescriptor
func (ObjectType) Enum ¶
func (x ObjectType) Enum() *ObjectType
func (ObjectType) EnumDescriptor
deprecated
func (ObjectType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ObjectType.Descriptor instead.
func (ObjectType) Number ¶
func (x ObjectType) Number() protoreflect.EnumNumber
func (ObjectType) String ¶
func (x ObjectType) String() string
func (ObjectType) Type ¶
func (ObjectType) Type() protoreflect.EnumType
type ObjectsSizeRequest ¶ added in v16.2.0
type ObjectsSizeRequest struct { // repository is the repository for which to determine the object size. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revisions is the set of revisions that shall be used to compute the object size for. Supports normal revisions as // well as pseudo-revisions like `--not`, `--all`, `--branches[=pattern]`, `--tags[=pattern]` and `--glob=pattern`. // Please refer to the man pages gitrevisions(7) as well as git-rev-list(1) for more information. // // Note: due to a restriction in Git v2.41 and older all arguments need to be passed via command line parameters. So // even though you can send multiple requests, the actual number of revisions that can be passed is limited by the // maximum command line length. This limitation will be lifted once Gitaly has upgraded to Git v2.42 and later. Revisions [][]byte `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` // contains filtered or unexported fields }
ObjectsSizeRequest is a request for the ObjectsSize RPC. The RPC is defined as a streaming RPC given that a client may theoretically specify an unbounded number of revisions. Only the first request may have fields other than the revisions set.
func (*ObjectsSizeRequest) Descriptor
deprecated
added in
v16.2.0
func (*ObjectsSizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ObjectsSizeRequest.ProtoReflect.Descriptor instead.
func (*ObjectsSizeRequest) GetRepository ¶ added in v16.2.0
func (x *ObjectsSizeRequest) GetRepository() *Repository
func (*ObjectsSizeRequest) GetRevisions ¶ added in v16.2.0
func (x *ObjectsSizeRequest) GetRevisions() [][]byte
func (*ObjectsSizeRequest) ProtoMessage ¶ added in v16.2.0
func (*ObjectsSizeRequest) ProtoMessage()
func (*ObjectsSizeRequest) ProtoReflect ¶ added in v16.2.0
func (x *ObjectsSizeRequest) ProtoReflect() protoreflect.Message
func (*ObjectsSizeRequest) Reset ¶ added in v16.2.0
func (x *ObjectsSizeRequest) Reset()
func (*ObjectsSizeRequest) String ¶ added in v16.2.0
func (x *ObjectsSizeRequest) String() string
type ObjectsSizeResponse ¶ added in v16.2.0
type ObjectsSizeResponse struct { // size is the total size of all objects reachable via the given set of revisions. The size is // specified in bytes. Size uint64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
ObjectsSizeResponse is a response for the ObjectsSize RPC.
func (*ObjectsSizeResponse) Descriptor
deprecated
added in
v16.2.0
func (*ObjectsSizeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ObjectsSizeResponse.ProtoReflect.Descriptor instead.
func (*ObjectsSizeResponse) GetSize ¶ added in v16.2.0
func (x *ObjectsSizeResponse) GetSize() uint64
func (*ObjectsSizeResponse) ProtoMessage ¶ added in v16.2.0
func (*ObjectsSizeResponse) ProtoMessage()
func (*ObjectsSizeResponse) ProtoReflect ¶ added in v16.2.0
func (x *ObjectsSizeResponse) ProtoReflect() protoreflect.Message
func (*ObjectsSizeResponse) Reset ¶ added in v16.2.0
func (x *ObjectsSizeResponse) Reset()
func (*ObjectsSizeResponse) String ¶ added in v16.2.0
func (x *ObjectsSizeResponse) String() string
type OperationBranchUpdate ¶
type OperationBranchUpdate struct { // commit_id is set to the OID of the created commit if a branch was created or updated. CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // repo_created indicates whether the branch created was the first one in the repository. // Used for cache invalidation in GitLab. RepoCreated bool `protobuf:"varint,2,opt,name=repo_created,json=repoCreated,proto3" json:"repo_created,omitempty"` // branch_created indicates whether the branch already existed in the repository // and was updated or whether it was created. Used for cache invalidation in GitLab. BranchCreated bool `protobuf:"varint,3,opt,name=branch_created,json=branchCreated,proto3" json:"branch_created,omitempty"` // contains filtered or unexported fields }
OperationBranchUpdate contains the details of a branch update.
func (*OperationBranchUpdate) Descriptor
deprecated
func (*OperationBranchUpdate) Descriptor() ([]byte, []int)
Deprecated: Use OperationBranchUpdate.ProtoReflect.Descriptor instead.
func (*OperationBranchUpdate) GetBranchCreated ¶
func (x *OperationBranchUpdate) GetBranchCreated() bool
func (*OperationBranchUpdate) GetCommitId ¶
func (x *OperationBranchUpdate) GetCommitId() string
func (*OperationBranchUpdate) GetRepoCreated ¶
func (x *OperationBranchUpdate) GetRepoCreated() bool
func (*OperationBranchUpdate) ProtoMessage ¶
func (*OperationBranchUpdate) ProtoMessage()
func (*OperationBranchUpdate) ProtoReflect ¶
func (x *OperationBranchUpdate) ProtoReflect() protoreflect.Message
func (*OperationBranchUpdate) Reset ¶
func (x *OperationBranchUpdate) Reset()
func (*OperationBranchUpdate) String ¶
func (x *OperationBranchUpdate) String() string
type OperationMsg ¶
type OperationMsg struct { // op ... Op OperationMsg_Operation `protobuf:"varint,1,opt,name=op,proto3,enum=gitaly.OperationMsg_Operation" json:"op,omitempty"` // scope_level indicates what level an RPC interacts with a server: // - REPOSITORY: scoped to only a single repo // - SERVER: affects the entire server and potentially all repos // - STORAGE: scoped to a specific storage location and all repos within ScopeLevel OperationMsg_Scope `protobuf:"varint,2,opt,name=scope_level,json=scopeLevel,proto3,enum=gitaly.OperationMsg_Scope" json:"scope_level,omitempty"` // contains filtered or unexported fields }
OperationMsg ...
func (*OperationMsg) Descriptor
deprecated
func (*OperationMsg) Descriptor() ([]byte, []int)
Deprecated: Use OperationMsg.ProtoReflect.Descriptor instead.
func (*OperationMsg) GetOp ¶
func (x *OperationMsg) GetOp() OperationMsg_Operation
func (*OperationMsg) GetScopeLevel ¶
func (x *OperationMsg) GetScopeLevel() OperationMsg_Scope
func (*OperationMsg) ProtoMessage ¶
func (*OperationMsg) ProtoMessage()
func (*OperationMsg) ProtoReflect ¶
func (x *OperationMsg) ProtoReflect() protoreflect.Message
func (*OperationMsg) Reset ¶
func (x *OperationMsg) Reset()
func (*OperationMsg) String ¶
func (x *OperationMsg) String() string
type OperationMsg_Operation ¶
type OperationMsg_Operation int32
Operation ...
const ( // UNKNOWN ... OperationMsg_UNKNOWN OperationMsg_Operation = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // MUTATOR ... OperationMsg_MUTATOR OperationMsg_Operation = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // ACCESSOR ... OperationMsg_ACCESSOR OperationMsg_Operation = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // MAINTENANCE ... OperationMsg_MAINTENANCE OperationMsg_Operation = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (OperationMsg_Operation) Descriptor ¶
func (OperationMsg_Operation) Descriptor() protoreflect.EnumDescriptor
func (OperationMsg_Operation) Enum ¶
func (x OperationMsg_Operation) Enum() *OperationMsg_Operation
func (OperationMsg_Operation) EnumDescriptor
deprecated
func (OperationMsg_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use OperationMsg_Operation.Descriptor instead.
func (OperationMsg_Operation) Number ¶
func (x OperationMsg_Operation) Number() protoreflect.EnumNumber
func (OperationMsg_Operation) String ¶
func (x OperationMsg_Operation) String() string
func (OperationMsg_Operation) Type ¶
func (OperationMsg_Operation) Type() protoreflect.EnumType
type OperationMsg_Scope ¶
type OperationMsg_Scope int32
Scope ...
const ( // REPOSITORY ... OperationMsg_REPOSITORY OperationMsg_Scope = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // STORAGE ... OperationMsg_STORAGE OperationMsg_Scope = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (OperationMsg_Scope) Descriptor ¶
func (OperationMsg_Scope) Descriptor() protoreflect.EnumDescriptor
func (OperationMsg_Scope) Enum ¶
func (x OperationMsg_Scope) Enum() *OperationMsg_Scope
func (OperationMsg_Scope) EnumDescriptor
deprecated
func (OperationMsg_Scope) EnumDescriptor() ([]byte, []int)
Deprecated: Use OperationMsg_Scope.Descriptor instead.
func (OperationMsg_Scope) Number ¶
func (x OperationMsg_Scope) Number() protoreflect.EnumNumber
func (OperationMsg_Scope) String ¶
func (x OperationMsg_Scope) String() string
func (OperationMsg_Scope) Type ¶
func (OperationMsg_Scope) Type() protoreflect.EnumType
type OperationServiceClient ¶
type OperationServiceClient interface { // UserCreateBranch ... UserCreateBranch(ctx context.Context, in *UserCreateBranchRequest, opts ...grpc.CallOption) (*UserCreateBranchResponse, error) // UserUpdateBranch ... UserUpdateBranch(ctx context.Context, in *UserUpdateBranchRequest, opts ...grpc.CallOption) (*UserUpdateBranchResponse, error) // UserDeleteBranch force-deletes a single branch in the context of a specific user. It executes // hooks and contacts Rails to verify that the user is indeed allowed to delete that branch. The // following known error conditions may happen: // // - Returns `InvalidArgument` in case either the branch name or user are not set. // - Returns `FailedPrecondition` in case the branch does not exist. // - Returns `OK` with a `PreReceiveError` in case custom hooks refused the update. If the // `gitaly_user_delete_branch_structured_errors` feature flag is enabled this error case will // instead return `PermissionDenied` with either a `CustomHook` or AccessCheck` structured // error. // - Returns `FailedPrecondition` in case updating the reference fails because // of a concurrent write to the same reference. If the // `gitaly_user_delete_branch_structured_errors` feature flag is set this error case will // instead return `FailedPrecondition` with a `ReferenceUpdate` structured error. UserDeleteBranch(ctx context.Context, in *UserDeleteBranchRequest, opts ...grpc.CallOption) (*UserDeleteBranchResponse, error) // UserCreateTag creates a new tag. This RPC knows to create both lightweight and annotated tags // depending on whether a message is set. UserCreateTag(ctx context.Context, in *UserCreateTagRequest, opts ...grpc.CallOption) (*UserCreateTagResponse, error) // UserDeleteTag ... UserDeleteTag(ctx context.Context, in *UserDeleteTagRequest, opts ...grpc.CallOption) (*UserDeleteTagResponse, error) // UserMergeToRef creates a merge commit and updates target_ref to point to that // new commit. The first parent of the merge commit (the main line) is taken // from first_parent_ref. The second parent is specified by its commit ID in source_sha. // If target_ref already exists it will be overwritten. UserMergeToRef(ctx context.Context, in *UserMergeToRefRequest, opts ...grpc.CallOption) (*UserMergeToRefResponse, error) // UserRebaseToRef rebases source_sha on top of first_parent_ref and updates // target_ref to point to that new commit. If target_ref already exists, then // it will be overwritten. This operation is intended to be used on internal // refs (e.g. refs/merge-requests/*) and does not call hooks. UserRebaseToRef(ctx context.Context, in *UserRebaseToRefRequest, opts ...grpc.CallOption) (*UserRebaseToRefResponse, error) // UserMergeBranch tries to merge the given commit into the target branch. // The merge commit is created with the given user as author/committer and // the given message. // // This RPC requires confirmation to make any user-visible changes to the // repository. The first request sent shall contain details about the // requested merge, which will result in a response with the created merge // commit ID. Only if a second message with `apply = true` is sent will the // merge be applied. UserMergeBranch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserMergeBranchClient, error) // UserFFBranch tries to perform a fast-forward merge of the given branch to // the given commit. If the merge is not a fast-forward merge, the request // will fail. The RPC will return an empty response in case updating the // reference fails e.g. because of a race. UserFFBranch(ctx context.Context, in *UserFFBranchRequest, opts ...grpc.CallOption) (*UserFFBranchResponse, error) // UserCherryPick tries to perform a cherry-pick of a given commit onto a // branch. UserCherryPick(ctx context.Context, in *UserCherryPickRequest, opts ...grpc.CallOption) (*UserCherryPickResponse, error) // UserCommitFiles builds a commit from a stream of actions and updates the target branch to point to it. // userCommitFilesRequest with a UserCommitFilesRequestHeader must be sent as the first message of the stream. // Following that, a variable number of actions can be sent to build a new commit. Each action consists of // a header followed by content if used by the action. UserCommitFiles(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserCommitFilesClient, error) // UserRebaseConfirmable rebases the given remote branch onto a target // branch. The remote branch may be part of another repository. // // This RPC requires confirmation to make any user-visible changes to the // repository. The first request sent shall contains details about the // requested rebase, which will result in a response with the created rebase // commit ID. Only if a second message with `apply = true` is sent will the // rebase be applied. UserRebaseConfirmable(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserRebaseConfirmableClient, error) // UserRevert tries to perform a revert of a given commit onto a branch. UserRevert(ctx context.Context, in *UserRevertRequest, opts ...grpc.CallOption) (*UserRevertResponse, error) // UserSquash squashes a range of commits into a single commit. If // successful, it returns the object ID of the newly created squash commit. // On error, it returns a gRPC error. Some specific errors will have an // embedded UserSquashError such that clients can deduce what exactly has // failed. UserSquash(ctx context.Context, in *UserSquashRequest, opts ...grpc.CallOption) (*UserSquashResponse, error) // UserApplyPatch applies patches to a given branch. UserApplyPatch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserApplyPatchClient, error) // UserUpdateSubmodule updates a submodule to point to a new commit. UserUpdateSubmodule(ctx context.Context, in *UserUpdateSubmoduleRequest, opts ...grpc.CallOption) (*UserUpdateSubmoduleResponse, error) }
OperationServiceClient is the client API for OperationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOperationServiceClient ¶
func NewOperationServiceClient(cc grpc.ClientConnInterface) OperationServiceClient
type OperationServiceServer ¶
type OperationServiceServer interface { // UserCreateBranch ... UserCreateBranch(context.Context, *UserCreateBranchRequest) (*UserCreateBranchResponse, error) // UserUpdateBranch ... UserUpdateBranch(context.Context, *UserUpdateBranchRequest) (*UserUpdateBranchResponse, error) // UserDeleteBranch force-deletes a single branch in the context of a specific user. It executes // hooks and contacts Rails to verify that the user is indeed allowed to delete that branch. The // following known error conditions may happen: // // - Returns `InvalidArgument` in case either the branch name or user are not set. // - Returns `FailedPrecondition` in case the branch does not exist. // - Returns `OK` with a `PreReceiveError` in case custom hooks refused the update. If the // `gitaly_user_delete_branch_structured_errors` feature flag is enabled this error case will // instead return `PermissionDenied` with either a `CustomHook` or AccessCheck` structured // error. // - Returns `FailedPrecondition` in case updating the reference fails because // of a concurrent write to the same reference. If the // `gitaly_user_delete_branch_structured_errors` feature flag is set this error case will // instead return `FailedPrecondition` with a `ReferenceUpdate` structured error. UserDeleteBranch(context.Context, *UserDeleteBranchRequest) (*UserDeleteBranchResponse, error) // UserCreateTag creates a new tag. This RPC knows to create both lightweight and annotated tags // depending on whether a message is set. UserCreateTag(context.Context, *UserCreateTagRequest) (*UserCreateTagResponse, error) // UserDeleteTag ... UserDeleteTag(context.Context, *UserDeleteTagRequest) (*UserDeleteTagResponse, error) // UserMergeToRef creates a merge commit and updates target_ref to point to that // new commit. The first parent of the merge commit (the main line) is taken // from first_parent_ref. The second parent is specified by its commit ID in source_sha. // If target_ref already exists it will be overwritten. UserMergeToRef(context.Context, *UserMergeToRefRequest) (*UserMergeToRefResponse, error) // UserRebaseToRef rebases source_sha on top of first_parent_ref and updates // target_ref to point to that new commit. If target_ref already exists, then // it will be overwritten. This operation is intended to be used on internal // refs (e.g. refs/merge-requests/*) and does not call hooks. UserRebaseToRef(context.Context, *UserRebaseToRefRequest) (*UserRebaseToRefResponse, error) // UserMergeBranch tries to merge the given commit into the target branch. // The merge commit is created with the given user as author/committer and // the given message. // // This RPC requires confirmation to make any user-visible changes to the // repository. The first request sent shall contain details about the // requested merge, which will result in a response with the created merge // commit ID. Only if a second message with `apply = true` is sent will the // merge be applied. UserMergeBranch(OperationService_UserMergeBranchServer) error // UserFFBranch tries to perform a fast-forward merge of the given branch to // the given commit. If the merge is not a fast-forward merge, the request // will fail. The RPC will return an empty response in case updating the // reference fails e.g. because of a race. UserFFBranch(context.Context, *UserFFBranchRequest) (*UserFFBranchResponse, error) // UserCherryPick tries to perform a cherry-pick of a given commit onto a // branch. UserCherryPick(context.Context, *UserCherryPickRequest) (*UserCherryPickResponse, error) // UserCommitFiles builds a commit from a stream of actions and updates the target branch to point to it. // userCommitFilesRequest with a UserCommitFilesRequestHeader must be sent as the first message of the stream. // Following that, a variable number of actions can be sent to build a new commit. Each action consists of // a header followed by content if used by the action. UserCommitFiles(OperationService_UserCommitFilesServer) error // UserRebaseConfirmable rebases the given remote branch onto a target // branch. The remote branch may be part of another repository. // // This RPC requires confirmation to make any user-visible changes to the // repository. The first request sent shall contains details about the // requested rebase, which will result in a response with the created rebase // commit ID. Only if a second message with `apply = true` is sent will the // rebase be applied. UserRebaseConfirmable(OperationService_UserRebaseConfirmableServer) error // UserRevert tries to perform a revert of a given commit onto a branch. UserRevert(context.Context, *UserRevertRequest) (*UserRevertResponse, error) // UserSquash squashes a range of commits into a single commit. If // successful, it returns the object ID of the newly created squash commit. // On error, it returns a gRPC error. Some specific errors will have an // embedded UserSquashError such that clients can deduce what exactly has // failed. UserSquash(context.Context, *UserSquashRequest) (*UserSquashResponse, error) // UserApplyPatch applies patches to a given branch. UserApplyPatch(OperationService_UserApplyPatchServer) error // UserUpdateSubmodule updates a submodule to point to a new commit. UserUpdateSubmodule(context.Context, *UserUpdateSubmoduleRequest) (*UserUpdateSubmoduleResponse, error) // contains filtered or unexported methods }
OperationServiceServer is the server API for OperationService service. All implementations must embed UnimplementedOperationServiceServer for forward compatibility
type OperationService_UserApplyPatchClient ¶
type OperationService_UserApplyPatchClient interface { Send(*UserApplyPatchRequest) error CloseAndRecv() (*UserApplyPatchResponse, error) grpc.ClientStream }
type OperationService_UserApplyPatchServer ¶
type OperationService_UserApplyPatchServer interface { SendAndClose(*UserApplyPatchResponse) error Recv() (*UserApplyPatchRequest, error) grpc.ServerStream }
type OperationService_UserCommitFilesClient ¶
type OperationService_UserCommitFilesClient interface { Send(*UserCommitFilesRequest) error CloseAndRecv() (*UserCommitFilesResponse, error) grpc.ClientStream }
type OperationService_UserCommitFilesServer ¶
type OperationService_UserCommitFilesServer interface { SendAndClose(*UserCommitFilesResponse) error Recv() (*UserCommitFilesRequest, error) grpc.ServerStream }
type OperationService_UserMergeBranchClient ¶
type OperationService_UserMergeBranchClient interface { Send(*UserMergeBranchRequest) error Recv() (*UserMergeBranchResponse, error) grpc.ClientStream }
type OperationService_UserMergeBranchServer ¶
type OperationService_UserMergeBranchServer interface { Send(*UserMergeBranchResponse) error Recv() (*UserMergeBranchRequest, error) grpc.ServerStream }
type OperationService_UserRebaseConfirmableClient ¶
type OperationService_UserRebaseConfirmableClient interface { Send(*UserRebaseConfirmableRequest) error Recv() (*UserRebaseConfirmableResponse, error) grpc.ClientStream }
type OperationService_UserRebaseConfirmableServer ¶
type OperationService_UserRebaseConfirmableServer interface { Send(*UserRebaseConfirmableResponse) error Recv() (*UserRebaseConfirmableRequest, error) grpc.ServerStream }
type OptimizeRepositoryRequest ¶
type OptimizeRepositoryRequest struct { // repository is the repository that should be optimized. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // strategy is the strategy that determines which parts of the repository shall be optimized. Strategy OptimizeRepositoryRequest_Strategy `protobuf:"varint,2,opt,name=strategy,proto3,enum=gitaly.OptimizeRepositoryRequest_Strategy" json:"strategy,omitempty"` // contains filtered or unexported fields }
OptimizeRepositoryRequest is a request for the OptimizeRepository RPC.
func (*OptimizeRepositoryRequest) Descriptor
deprecated
func (*OptimizeRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use OptimizeRepositoryRequest.ProtoReflect.Descriptor instead.
func (*OptimizeRepositoryRequest) GetRepository ¶
func (x *OptimizeRepositoryRequest) GetRepository() *Repository
func (*OptimizeRepositoryRequest) GetStrategy ¶
func (x *OptimizeRepositoryRequest) GetStrategy() OptimizeRepositoryRequest_Strategy
func (*OptimizeRepositoryRequest) ProtoMessage ¶
func (*OptimizeRepositoryRequest) ProtoMessage()
func (*OptimizeRepositoryRequest) ProtoReflect ¶
func (x *OptimizeRepositoryRequest) ProtoReflect() protoreflect.Message
func (*OptimizeRepositoryRequest) Reset ¶
func (x *OptimizeRepositoryRequest) Reset()
func (*OptimizeRepositoryRequest) String ¶
func (x *OptimizeRepositoryRequest) String() string
type OptimizeRepositoryRequest_Strategy ¶
type OptimizeRepositoryRequest_Strategy int32
Strategy determines how the repository shall be optimized.
const ( // STRATEGY_UNSPECIFIED indicates that the strategy has not been explicitly set by the // caller. The default will be STRATEGY_HEURISTICAL in that case. OptimizeRepositoryRequest_STRATEGY_UNSPECIFIED OptimizeRepositoryRequest_Strategy = 0 // STRATEGY_HEURISTICAL performs heuristical optimizations in the repository. The server will // decide on a set of heuristics which parts need optimization and which ones don't to avoid // performing unnecessary optimization tasks. OptimizeRepositoryRequest_STRATEGY_HEURISTICAL OptimizeRepositoryRequest_Strategy = 1 // STRATEGY_EAGER performs eager optimizations in the repository. The server will optimize all // data structures regardless of whether they are well-optimized already. OptimizeRepositoryRequest_STRATEGY_EAGER OptimizeRepositoryRequest_Strategy = 2 )
func (OptimizeRepositoryRequest_Strategy) Descriptor ¶
func (OptimizeRepositoryRequest_Strategy) Descriptor() protoreflect.EnumDescriptor
func (OptimizeRepositoryRequest_Strategy) Enum ¶
func (x OptimizeRepositoryRequest_Strategy) Enum() *OptimizeRepositoryRequest_Strategy
func (OptimizeRepositoryRequest_Strategy) EnumDescriptor
deprecated
func (OptimizeRepositoryRequest_Strategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use OptimizeRepositoryRequest_Strategy.Descriptor instead.
func (OptimizeRepositoryRequest_Strategy) Number ¶
func (x OptimizeRepositoryRequest_Strategy) Number() protoreflect.EnumNumber
func (OptimizeRepositoryRequest_Strategy) String ¶
func (x OptimizeRepositoryRequest_Strategy) String() string
func (OptimizeRepositoryRequest_Strategy) Type ¶
func (OptimizeRepositoryRequest_Strategy) Type() protoreflect.EnumType
type OptimizeRepositoryResponse ¶
type OptimizeRepositoryResponse struct {
// contains filtered or unexported fields
}
OptimizeRepositoryResponse is a response for the OptimizeRepository RPC.
func (*OptimizeRepositoryResponse) Descriptor
deprecated
func (*OptimizeRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use OptimizeRepositoryResponse.ProtoReflect.Descriptor instead.
func (*OptimizeRepositoryResponse) ProtoMessage ¶
func (*OptimizeRepositoryResponse) ProtoMessage()
func (*OptimizeRepositoryResponse) ProtoReflect ¶
func (x *OptimizeRepositoryResponse) ProtoReflect() protoreflect.Message
func (*OptimizeRepositoryResponse) Reset ¶
func (x *OptimizeRepositoryResponse) Reset()
func (*OptimizeRepositoryResponse) String ¶
func (x *OptimizeRepositoryResponse) String() string
type PackObjectsHookWithSidechannelRequest ¶
type PackObjectsHookWithSidechannelRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // args contains the arguments passed to the pack-objects hook, without the leading "git" Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` // gl_id is the user id of the initator of the fetch GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"` // gl_username is the username of the initator of the fetch GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"` // git_protocol is the protocol used for the fetch GitProtocol string `protobuf:"bytes,6,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` // remote_ip is the original IP of the initator of the fetch. This field is used as the key for // concurrency limiting before we trigger git-pack-objects command RemoteIp string `protobuf:"bytes,7,opt,name=remote_ip,json=remoteIp,proto3" json:"remote_ip,omitempty"` // contains filtered or unexported fields }
PackObjectsHookWithSidechannelRequest ...
func (*PackObjectsHookWithSidechannelRequest) Descriptor
deprecated
func (*PackObjectsHookWithSidechannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use PackObjectsHookWithSidechannelRequest.ProtoReflect.Descriptor instead.
func (*PackObjectsHookWithSidechannelRequest) GetArgs ¶
func (x *PackObjectsHookWithSidechannelRequest) GetArgs() []string
func (*PackObjectsHookWithSidechannelRequest) GetGitProtocol ¶
func (x *PackObjectsHookWithSidechannelRequest) GetGitProtocol() string
func (*PackObjectsHookWithSidechannelRequest) GetGlId ¶
func (x *PackObjectsHookWithSidechannelRequest) GetGlId() string
func (*PackObjectsHookWithSidechannelRequest) GetGlUsername ¶
func (x *PackObjectsHookWithSidechannelRequest) GetGlUsername() string
func (*PackObjectsHookWithSidechannelRequest) GetRemoteIp ¶
func (x *PackObjectsHookWithSidechannelRequest) GetRemoteIp() string
func (*PackObjectsHookWithSidechannelRequest) GetRepository ¶
func (x *PackObjectsHookWithSidechannelRequest) GetRepository() *Repository
func (*PackObjectsHookWithSidechannelRequest) ProtoMessage ¶
func (*PackObjectsHookWithSidechannelRequest) ProtoMessage()
func (*PackObjectsHookWithSidechannelRequest) ProtoReflect ¶
func (x *PackObjectsHookWithSidechannelRequest) ProtoReflect() protoreflect.Message
func (*PackObjectsHookWithSidechannelRequest) Reset ¶
func (x *PackObjectsHookWithSidechannelRequest) Reset()
func (*PackObjectsHookWithSidechannelRequest) String ¶
func (x *PackObjectsHookWithSidechannelRequest) String() string
type PackObjectsHookWithSidechannelResponse ¶
type PackObjectsHookWithSidechannelResponse struct {
// contains filtered or unexported fields
}
PackObjectsHookWithSidechannelResponse ...
func (*PackObjectsHookWithSidechannelResponse) Descriptor
deprecated
func (*PackObjectsHookWithSidechannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use PackObjectsHookWithSidechannelResponse.ProtoReflect.Descriptor instead.
func (*PackObjectsHookWithSidechannelResponse) ProtoMessage ¶
func (*PackObjectsHookWithSidechannelResponse) ProtoMessage()
func (*PackObjectsHookWithSidechannelResponse) ProtoReflect ¶
func (x *PackObjectsHookWithSidechannelResponse) ProtoReflect() protoreflect.Message
func (*PackObjectsHookWithSidechannelResponse) Reset ¶
func (x *PackObjectsHookWithSidechannelResponse) Reset()
func (*PackObjectsHookWithSidechannelResponse) String ¶
func (x *PackObjectsHookWithSidechannelResponse) String() string
type PackfileNegotiationStatistics ¶ added in v16.1.0
type PackfileNegotiationStatistics struct { // payload_size is the total size of all pktlines' payload in bytes. This excludes the pktline prefix. PayloadSize int64 `protobuf:"varint,1,opt,name=payload_size,json=payloadSize,proto3" json:"payload_size,omitempty"` // packets is the total number of packets. Packets int64 `protobuf:"varint,2,opt,name=packets,proto3" json:"packets,omitempty"` // caps is the capabilities announced by the client. Caps []string `protobuf:"bytes,3,rep,name=caps,proto3" json:"caps,omitempty"` // wants is the number of objects the client announced it wants. Wants int64 `protobuf:"varint,4,opt,name=wants,proto3" json:"wants,omitempty"` // haves is the number of objects the client announced it has. Haves int64 `protobuf:"varint,5,opt,name=haves,proto3" json:"haves,omitempty"` // shallows is the number of shallow boundaries announced by the client. Shallows int64 `protobuf:"varint,6,opt,name=shallows,proto3" json:"shallows,omitempty"` // deepen is one of "deepen <depth>", "deepen-since <timestamp>", "deepen-not <ref>". // [deepen <depth>|deepen-since <timestamp>|deepen-not <ref>] Deepen string `protobuf:"bytes,7,opt,name=deepen,proto3" json:"deepen,omitempty"` // filter is specified by the client. Filter string `protobuf:"bytes,8,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
PackfileNegotiationStatistics represents the git packfile negotiation.
func (*PackfileNegotiationStatistics) Descriptor
deprecated
added in
v16.1.0
func (*PackfileNegotiationStatistics) Descriptor() ([]byte, []int)
Deprecated: Use PackfileNegotiationStatistics.ProtoReflect.Descriptor instead.
func (*PackfileNegotiationStatistics) GetCaps ¶ added in v16.1.0
func (x *PackfileNegotiationStatistics) GetCaps() []string
func (*PackfileNegotiationStatistics) GetDeepen ¶ added in v16.1.0
func (x *PackfileNegotiationStatistics) GetDeepen() string
func (*PackfileNegotiationStatistics) GetFilter ¶ added in v16.1.0
func (x *PackfileNegotiationStatistics) GetFilter() string
func (*PackfileNegotiationStatistics) GetHaves ¶ added in v16.1.0
func (x *PackfileNegotiationStatistics) GetHaves() int64
func (*PackfileNegotiationStatistics) GetPackets ¶ added in v16.1.0
func (x *PackfileNegotiationStatistics) GetPackets() int64
func (*PackfileNegotiationStatistics) GetPayloadSize ¶ added in v16.1.0
func (x *PackfileNegotiationStatistics) GetPayloadSize() int64
func (*PackfileNegotiationStatistics) GetShallows ¶ added in v16.1.0
func (x *PackfileNegotiationStatistics) GetShallows() int64
func (*PackfileNegotiationStatistics) GetWants ¶ added in v16.1.0
func (x *PackfileNegotiationStatistics) GetWants() int64
func (*PackfileNegotiationStatistics) ProtoMessage ¶ added in v16.1.0
func (*PackfileNegotiationStatistics) ProtoMessage()
func (*PackfileNegotiationStatistics) ProtoReflect ¶ added in v16.1.0
func (x *PackfileNegotiationStatistics) ProtoReflect() protoreflect.Message
func (*PackfileNegotiationStatistics) Reset ¶ added in v16.1.0
func (x *PackfileNegotiationStatistics) Reset()
func (*PackfileNegotiationStatistics) String ¶ added in v16.1.0
func (x *PackfileNegotiationStatistics) String() string
type PaginationCursor ¶
type PaginationCursor struct { // next_cursor is an opaque token provided to the caller to indicate what the caller // should present as a page_token to get subsequent results. NextCursor string `protobuf:"bytes,1,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` // contains filtered or unexported fields }
PaginationCursor ...
func (*PaginationCursor) Descriptor
deprecated
func (*PaginationCursor) Descriptor() ([]byte, []int)
Deprecated: Use PaginationCursor.ProtoReflect.Descriptor instead.
func (*PaginationCursor) GetNextCursor ¶
func (x *PaginationCursor) GetNextCursor() string
func (*PaginationCursor) ProtoMessage ¶
func (*PaginationCursor) ProtoMessage()
func (*PaginationCursor) ProtoReflect ¶
func (x *PaginationCursor) ProtoReflect() protoreflect.Message
func (*PaginationCursor) Reset ¶
func (x *PaginationCursor) Reset()
func (*PaginationCursor) String ¶
func (x *PaginationCursor) String() string
type PaginationParameter ¶
type PaginationParameter struct { // page_token instructs pagination to start sending results after the provided page // token appears. A page token allows for a generic pattern to uniquely // identify a result or 'page'. Each paginated RPC may interpret a page // token differently. PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // limit is the maximum number of objects the client will receive. When fully consuming // the response the client will receive _at most_ `limit` number of resulting objects. // Note that the number of response messages might be much lower, as some response // messages already send multiple objects per message. // When the limit is smaller than 0, it will be normalized to 2147483647 // on the server side. When limit is not set, it defaults to 0, and no // results are send in the response. Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
PaginationParameter ...
func (*PaginationParameter) Descriptor
deprecated
func (*PaginationParameter) Descriptor() ([]byte, []int)
Deprecated: Use PaginationParameter.ProtoReflect.Descriptor instead.
func (*PaginationParameter) GetLimit ¶
func (x *PaginationParameter) GetLimit() int32
func (*PaginationParameter) GetPageToken ¶
func (x *PaginationParameter) GetPageToken() string
func (*PaginationParameter) ProtoMessage ¶
func (*PaginationParameter) ProtoMessage()
func (*PaginationParameter) ProtoReflect ¶
func (x *PaginationParameter) ProtoReflect() protoreflect.Message
func (*PaginationParameter) Reset ¶
func (x *PaginationParameter) Reset()
func (*PaginationParameter) String ¶
func (x *PaginationParameter) String() string
type PathError ¶ added in v16.1.0
type PathError struct { // path is the file or directory path that triggered the error. The path may be // truncated due to size limits. Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // error_type is the type of path error that occurred. ErrorType PathError_ErrorType `protobuf:"varint,2,opt,name=error_type,json=errorType,proto3,enum=gitaly.PathError_ErrorType" json:"error_type,omitempty"` // contains filtered or unexported fields }
PathError is an error returned when there is an issue with the path provided.
func (*PathError) Descriptor
deprecated
added in
v16.1.0
func (*PathError) GetErrorType ¶ added in v16.1.0
func (x *PathError) GetErrorType() PathError_ErrorType
func (*PathError) ProtoMessage ¶ added in v16.1.0
func (*PathError) ProtoMessage()
func (*PathError) ProtoReflect ¶ added in v16.1.0
func (x *PathError) ProtoReflect() protoreflect.Message
type PathError_ErrorType ¶ added in v16.1.0
type PathError_ErrorType int32
ErrorType is the type of error encountered.
const ( // ERROR_TYPE_UNSPECIFIED is the default error type and should never be set. PathError_ERROR_TYPE_UNSPECIFIED PathError_ErrorType = 0 // ERROR_TYPE_EMPTY_PATH is the error type when the provided path is empty. PathError_ERROR_TYPE_EMPTY_PATH PathError_ErrorType = 1 // ERROR_TYPE_RELATIVE_PATH_ESCAPES_REPOSITORY is the error type when there are // traversing components found in the path and it either escapes the repository or is not // supported by the RPC. PathError_ERROR_TYPE_RELATIVE_PATH_ESCAPES_REPOSITORY PathError_ErrorType = 2 // ERROR_TYPE_ABSOLUTE_PATH is the error type when an absolute path is provided // while a relative path was expected. PathError_ERROR_TYPE_ABSOLUTE_PATH PathError_ErrorType = 3 // ERROR_TYPE_LONG_PATH is the error type when the path is too long. PathError_ERROR_TYPE_LONG_PATH PathError_ErrorType = 4 )
func (PathError_ErrorType) Descriptor ¶ added in v16.1.0
func (PathError_ErrorType) Descriptor() protoreflect.EnumDescriptor
func (PathError_ErrorType) Enum ¶ added in v16.1.0
func (x PathError_ErrorType) Enum() *PathError_ErrorType
func (PathError_ErrorType) EnumDescriptor
deprecated
added in
v16.1.0
func (PathError_ErrorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PathError_ErrorType.Descriptor instead.
func (PathError_ErrorType) Number ¶ added in v16.1.0
func (x PathError_ErrorType) Number() protoreflect.EnumNumber
func (PathError_ErrorType) String ¶ added in v16.1.0
func (x PathError_ErrorType) String() string
func (PathError_ErrorType) Type ¶ added in v16.1.0
func (PathError_ErrorType) Type() protoreflect.EnumType
type PathNotFoundError ¶ added in v16.4.0
type PathNotFoundError struct { // path is the path that could not be found. Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
PathNotFoundError is an error returned when a given path cannot be found.
func (*PathNotFoundError) Descriptor
deprecated
added in
v16.4.0
func (*PathNotFoundError) Descriptor() ([]byte, []int)
Deprecated: Use PathNotFoundError.ProtoReflect.Descriptor instead.
func (*PathNotFoundError) GetPath ¶ added in v16.4.0
func (x *PathNotFoundError) GetPath() []byte
func (*PathNotFoundError) ProtoMessage ¶ added in v16.4.0
func (*PathNotFoundError) ProtoMessage()
func (*PathNotFoundError) ProtoReflect ¶ added in v16.4.0
func (x *PathNotFoundError) ProtoReflect() protoreflect.Message
func (*PathNotFoundError) Reset ¶ added in v16.4.0
func (x *PathNotFoundError) Reset()
func (*PathNotFoundError) String ¶ added in v16.4.0
func (x *PathNotFoundError) String() string
type PickFirstConfig ¶
type PickFirstConfig struct {
// contains filtered or unexported fields
}
PickFirstConfig signals the pick_first load-balancing strategy. This strategy is the default strategy of grpc client libraries so that the connection has only one subchannel, which is the first address after resolution
func (*PickFirstConfig) Descriptor
deprecated
func (*PickFirstConfig) Descriptor() ([]byte, []int)
Deprecated: Use PickFirstConfig.ProtoReflect.Descriptor instead.
func (*PickFirstConfig) ProtoMessage ¶
func (*PickFirstConfig) ProtoMessage()
func (*PickFirstConfig) ProtoReflect ¶
func (x *PickFirstConfig) ProtoReflect() protoreflect.Message
func (*PickFirstConfig) Reset ¶
func (x *PickFirstConfig) Reset()
func (*PickFirstConfig) String ¶
func (x *PickFirstConfig) String() string
type PostReceiveHookRequest ¶
type PostReceiveHookRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // environment_variables ... EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` // stdin ... Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` // git_push_options ... GitPushOptions []string `protobuf:"bytes,4,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"` // contains filtered or unexported fields }
PostReceiveHookRequest ...
func (*PostReceiveHookRequest) Descriptor
deprecated
func (*PostReceiveHookRequest) Descriptor() ([]byte, []int)
Deprecated: Use PostReceiveHookRequest.ProtoReflect.Descriptor instead.
func (*PostReceiveHookRequest) GetEnvironmentVariables ¶
func (x *PostReceiveHookRequest) GetEnvironmentVariables() []string
func (*PostReceiveHookRequest) GetGitPushOptions ¶
func (x *PostReceiveHookRequest) GetGitPushOptions() []string
func (*PostReceiveHookRequest) GetRepository ¶
func (x *PostReceiveHookRequest) GetRepository() *Repository
func (*PostReceiveHookRequest) GetStdin ¶
func (x *PostReceiveHookRequest) GetStdin() []byte
func (*PostReceiveHookRequest) ProtoMessage ¶
func (*PostReceiveHookRequest) ProtoMessage()
func (*PostReceiveHookRequest) ProtoReflect ¶
func (x *PostReceiveHookRequest) ProtoReflect() protoreflect.Message
func (*PostReceiveHookRequest) Reset ¶
func (x *PostReceiveHookRequest) Reset()
func (*PostReceiveHookRequest) String ¶
func (x *PostReceiveHookRequest) String() string
type PostReceiveHookResponse ¶
type PostReceiveHookResponse struct { // stdout ... Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // stderr ... Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // exit_status ... ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` // contains filtered or unexported fields }
PostReceiveHookResponse ...
func (*PostReceiveHookResponse) Descriptor
deprecated
func (*PostReceiveHookResponse) Descriptor() ([]byte, []int)
Deprecated: Use PostReceiveHookResponse.ProtoReflect.Descriptor instead.
func (*PostReceiveHookResponse) GetExitStatus ¶
func (x *PostReceiveHookResponse) GetExitStatus() *ExitStatus
func (*PostReceiveHookResponse) GetStderr ¶
func (x *PostReceiveHookResponse) GetStderr() []byte
func (*PostReceiveHookResponse) GetStdout ¶
func (x *PostReceiveHookResponse) GetStdout() []byte
func (*PostReceiveHookResponse) ProtoMessage ¶
func (*PostReceiveHookResponse) ProtoMessage()
func (*PostReceiveHookResponse) ProtoReflect ¶
func (x *PostReceiveHookResponse) ProtoReflect() protoreflect.Message
func (*PostReceiveHookResponse) Reset ¶
func (x *PostReceiveHookResponse) Reset()
func (*PostReceiveHookResponse) String ¶
func (x *PostReceiveHookResponse) String() string
type PostReceivePackRequest ¶
type PostReceivePackRequest struct { // repository is the repository on which to operate. // It should only be present in the first message of the stream. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // data is the raw data to be copied to stdin of 'git receive-pack'. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // gl_id is the GitLab ID of the user. This is used by Git {pre,post}-receive hooks. // It should only be present in the first message of the stream. GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"` // gl_repository refers to the GitLab repository. This is used by Git {pre,post}-receive hooks. // It should only be present in the first message of the stream. GlRepository string `protobuf:"bytes,4,opt,name=gl_repository,json=glRepository,proto3" json:"gl_repository,omitempty"` // gl_username is the GitLab Username of the user. This is used by Git {pre,post}-receive hooks. // It should only be present in the first message of the stream. GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"` // git_protocol is the git protocol version. GitProtocol string `protobuf:"bytes,6,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` // git_config_options are parameters to use with git -c (key=value pairs). GitConfigOptions []string `protobuf:"bytes,7,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` // contains filtered or unexported fields }
PostReceivePackRequest is the request for the PostReceivePack rpc. It is a stream used to transfer the raw data from the client to the servers stdin of git-receive-pack(1) process.
func (*PostReceivePackRequest) Descriptor
deprecated
func (*PostReceivePackRequest) Descriptor() ([]byte, []int)
Deprecated: Use PostReceivePackRequest.ProtoReflect.Descriptor instead.
func (*PostReceivePackRequest) GetData ¶
func (x *PostReceivePackRequest) GetData() []byte
func (*PostReceivePackRequest) GetGitConfigOptions ¶
func (x *PostReceivePackRequest) GetGitConfigOptions() []string
func (*PostReceivePackRequest) GetGitProtocol ¶
func (x *PostReceivePackRequest) GetGitProtocol() string
func (*PostReceivePackRequest) GetGlId ¶
func (x *PostReceivePackRequest) GetGlId() string
func (*PostReceivePackRequest) GetGlRepository ¶
func (x *PostReceivePackRequest) GetGlRepository() string
func (*PostReceivePackRequest) GetGlUsername ¶
func (x *PostReceivePackRequest) GetGlUsername() string
func (*PostReceivePackRequest) GetRepository ¶
func (x *PostReceivePackRequest) GetRepository() *Repository
func (*PostReceivePackRequest) ProtoMessage ¶
func (*PostReceivePackRequest) ProtoMessage()
func (*PostReceivePackRequest) ProtoReflect ¶
func (x *PostReceivePackRequest) ProtoReflect() protoreflect.Message
func (*PostReceivePackRequest) Reset ¶
func (x *PostReceivePackRequest) Reset()
func (*PostReceivePackRequest) String ¶
func (x *PostReceivePackRequest) String() string
type PostReceivePackResponse ¶
type PostReceivePackResponse struct { // data is the raw data from the stdout of 'git receive-pack'. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
PostReceivePackResponse is the response for the PostReceivePack rpc. It is a stream used to transfer the raw data from the stdout of git-receive-pack(1) from the server to the client.
func (*PostReceivePackResponse) Descriptor
deprecated
func (*PostReceivePackResponse) Descriptor() ([]byte, []int)
Deprecated: Use PostReceivePackResponse.ProtoReflect.Descriptor instead.
func (*PostReceivePackResponse) GetData ¶
func (x *PostReceivePackResponse) GetData() []byte
func (*PostReceivePackResponse) ProtoMessage ¶
func (*PostReceivePackResponse) ProtoMessage()
func (*PostReceivePackResponse) ProtoReflect ¶
func (x *PostReceivePackResponse) ProtoReflect() protoreflect.Message
func (*PostReceivePackResponse) Reset ¶
func (x *PostReceivePackResponse) Reset()
func (*PostReceivePackResponse) String ¶
func (x *PostReceivePackResponse) String() string
type PostUploadPackWithSidechannelRequest ¶
type PostUploadPackWithSidechannelRequest struct { // repository is the repository on which to operate. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // git_config_options are parameters to use with git -c (key=value pairs). GitConfigOptions []string `protobuf:"bytes,2,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` // git_protocol is the git protocol version. GitProtocol string `protobuf:"bytes,3,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` // contains filtered or unexported fields }
PostUploadPackWithSidechannelRequest is the request for the PostUploadPackWithSidechannel rpc.
func (*PostUploadPackWithSidechannelRequest) Descriptor
deprecated
func (*PostUploadPackWithSidechannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use PostUploadPackWithSidechannelRequest.ProtoReflect.Descriptor instead.
func (*PostUploadPackWithSidechannelRequest) GetGitConfigOptions ¶
func (x *PostUploadPackWithSidechannelRequest) GetGitConfigOptions() []string
func (*PostUploadPackWithSidechannelRequest) GetGitProtocol ¶
func (x *PostUploadPackWithSidechannelRequest) GetGitProtocol() string
func (*PostUploadPackWithSidechannelRequest) GetRepository ¶
func (x *PostUploadPackWithSidechannelRequest) GetRepository() *Repository
func (*PostUploadPackWithSidechannelRequest) ProtoMessage ¶
func (*PostUploadPackWithSidechannelRequest) ProtoMessage()
func (*PostUploadPackWithSidechannelRequest) ProtoReflect ¶
func (x *PostUploadPackWithSidechannelRequest) ProtoReflect() protoreflect.Message
func (*PostUploadPackWithSidechannelRequest) Reset ¶
func (x *PostUploadPackWithSidechannelRequest) Reset()
func (*PostUploadPackWithSidechannelRequest) String ¶
func (x *PostUploadPackWithSidechannelRequest) String() string
type PostUploadPackWithSidechannelResponse ¶
type PostUploadPackWithSidechannelResponse struct { // packfile_negotiation_statistics is the packfile negotiation statistics. PackfileNegotiationStatistics *PackfileNegotiationStatistics `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
PostUploadPackWithSidechannelResponse is the response for the PostUploadPackWithSidechannel rpc. This is an empty response since the raw data is transferred to the client via the sidechannel exclusively.
func (*PostUploadPackWithSidechannelResponse) Descriptor
deprecated
func (*PostUploadPackWithSidechannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use PostUploadPackWithSidechannelResponse.ProtoReflect.Descriptor instead.
func (*PostUploadPackWithSidechannelResponse) GetPackfileNegotiationStatistics ¶ added in v16.1.0
func (x *PostUploadPackWithSidechannelResponse) GetPackfileNegotiationStatistics() *PackfileNegotiationStatistics
func (*PostUploadPackWithSidechannelResponse) ProtoMessage ¶
func (*PostUploadPackWithSidechannelResponse) ProtoMessage()
func (*PostUploadPackWithSidechannelResponse) ProtoReflect ¶
func (x *PostUploadPackWithSidechannelResponse) ProtoReflect() protoreflect.Message
func (*PostUploadPackWithSidechannelResponse) Reset ¶
func (x *PostUploadPackWithSidechannelResponse) Reset()
func (*PostUploadPackWithSidechannelResponse) String ¶
func (x *PostUploadPackWithSidechannelResponse) String() string
type PraefectInfoServiceClient ¶
type PraefectInfoServiceClient interface { // RepositoryReplicas ... RepositoryReplicas(ctx context.Context, in *RepositoryReplicasRequest, opts ...grpc.CallOption) (*RepositoryReplicasResponse, error) // Deprecated: Do not use. // DatalossCheck provides information on repositories in Praefect that are in a degraded state and // thus susceptible to dataloss. A repository is considered degraded when its replicas are // outdated and/or unavailable. DatalossCheck(ctx context.Context, in *DatalossCheckRequest, opts ...grpc.CallOption) (*DatalossCheckResponse, error) // Dataloss provides information on repositories in Praefect that are in a degraded state and // thus susceptible to dataloss. A repository is considered degraded when its replicas are // outdated and/or unavailable. Dataloss(ctx context.Context, in *DatalossRequest, opts ...grpc.CallOption) (PraefectInfoService_DatalossClient, error) // SetAuthoritativeStorage sets the authoritative storage for a repository on a given virtual storage. // This causes the current version of the repository on the authoritative storage to be considered the // latest and overwrite any other version on the virtual storage. SetAuthoritativeStorage(ctx context.Context, in *SetAuthoritativeStorageRequest, opts ...grpc.CallOption) (*SetAuthoritativeStorageResponse, error) // MarkUnverified marks replicas as unverified. This will trigger verification as Praefect's metadata // verifier prioritizes unverified replicas. MarkUnverified(ctx context.Context, in *MarkUnverifiedRequest, opts ...grpc.CallOption) (*MarkUnverifiedResponse, error) // SetReplicationFactor assigns or unassigns host nodes from the repository to meet the desired replication factor. // SetReplicationFactor returns an error when trying to set a replication factor that exceeds the storage node count // in the virtual storage. An error is also returned when trying to set a replication factor below one. The primary node // won't be unassigned as it needs a copy of the repository to accept writes. Likewise, the primary is the first storage // that gets assigned when setting a replication factor for a repository. Assignments of unconfigured storages are ignored. // This might cause the actual replication factor to be higher than desired if the replication factor is set during an upgrade // from a Praefect node that does not yet know about a new node. As assignments of unconfigured storages are ignored, replication // factor of repositories assigned to a storage node removed from the cluster is effectively decreased. SetReplicationFactor(ctx context.Context, in *SetReplicationFactorRequest, opts ...grpc.CallOption) (*SetReplicationFactorResponse, error) // GetRepositoryMetadata returns the cluster metadata for a repository. Returns NotFound if the repository does not exist. GetRepositoryMetadata(ctx context.Context, in *GetRepositoryMetadataRequest, opts ...grpc.CallOption) (*GetRepositoryMetadataResponse, error) }
PraefectInfoServiceClient is the client API for PraefectInfoService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPraefectInfoServiceClient ¶
func NewPraefectInfoServiceClient(cc grpc.ClientConnInterface) PraefectInfoServiceClient
type PraefectInfoServiceServer ¶
type PraefectInfoServiceServer interface { // RepositoryReplicas ... RepositoryReplicas(context.Context, *RepositoryReplicasRequest) (*RepositoryReplicasResponse, error) // Deprecated: Do not use. // DatalossCheck provides information on repositories in Praefect that are in a degraded state and // thus susceptible to dataloss. A repository is considered degraded when its replicas are // outdated and/or unavailable. DatalossCheck(context.Context, *DatalossCheckRequest) (*DatalossCheckResponse, error) // Dataloss provides information on repositories in Praefect that are in a degraded state and // thus susceptible to dataloss. A repository is considered degraded when its replicas are // outdated and/or unavailable. Dataloss(*DatalossRequest, PraefectInfoService_DatalossServer) error // SetAuthoritativeStorage sets the authoritative storage for a repository on a given virtual storage. // This causes the current version of the repository on the authoritative storage to be considered the // latest and overwrite any other version on the virtual storage. SetAuthoritativeStorage(context.Context, *SetAuthoritativeStorageRequest) (*SetAuthoritativeStorageResponse, error) // MarkUnverified marks replicas as unverified. This will trigger verification as Praefect's metadata // verifier prioritizes unverified replicas. MarkUnverified(context.Context, *MarkUnverifiedRequest) (*MarkUnverifiedResponse, error) // SetReplicationFactor assigns or unassigns host nodes from the repository to meet the desired replication factor. // SetReplicationFactor returns an error when trying to set a replication factor that exceeds the storage node count // in the virtual storage. An error is also returned when trying to set a replication factor below one. The primary node // won't be unassigned as it needs a copy of the repository to accept writes. Likewise, the primary is the first storage // that gets assigned when setting a replication factor for a repository. Assignments of unconfigured storages are ignored. // This might cause the actual replication factor to be higher than desired if the replication factor is set during an upgrade // from a Praefect node that does not yet know about a new node. As assignments of unconfigured storages are ignored, replication // factor of repositories assigned to a storage node removed from the cluster is effectively decreased. SetReplicationFactor(context.Context, *SetReplicationFactorRequest) (*SetReplicationFactorResponse, error) // GetRepositoryMetadata returns the cluster metadata for a repository. Returns NotFound if the repository does not exist. GetRepositoryMetadata(context.Context, *GetRepositoryMetadataRequest) (*GetRepositoryMetadataResponse, error) // contains filtered or unexported methods }
PraefectInfoServiceServer is the server API for PraefectInfoService service. All implementations must embed UnimplementedPraefectInfoServiceServer for forward compatibility
type PraefectInfoService_DatalossClient ¶ added in v16.4.0
type PraefectInfoService_DatalossClient interface { Recv() (*DatalossResponse, error) grpc.ClientStream }
type PraefectInfoService_DatalossServer ¶ added in v16.4.0
type PraefectInfoService_DatalossServer interface { Send(*DatalossResponse) error grpc.ServerStream }
type PreReceiveHookRequest ¶
type PreReceiveHookRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // environment_variables ... EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` // stdin ... Stdin []byte `protobuf:"bytes,4,opt,name=stdin,proto3" json:"stdin,omitempty"` // git_push_options ... GitPushOptions []string `protobuf:"bytes,5,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"` // contains filtered or unexported fields }
PreReceiveHookRequest ...
func (*PreReceiveHookRequest) Descriptor
deprecated
func (*PreReceiveHookRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreReceiveHookRequest.ProtoReflect.Descriptor instead.
func (*PreReceiveHookRequest) GetEnvironmentVariables ¶
func (x *PreReceiveHookRequest) GetEnvironmentVariables() []string
func (*PreReceiveHookRequest) GetGitPushOptions ¶
func (x *PreReceiveHookRequest) GetGitPushOptions() []string
func (*PreReceiveHookRequest) GetRepository ¶
func (x *PreReceiveHookRequest) GetRepository() *Repository
func (*PreReceiveHookRequest) GetStdin ¶
func (x *PreReceiveHookRequest) GetStdin() []byte
func (*PreReceiveHookRequest) ProtoMessage ¶
func (*PreReceiveHookRequest) ProtoMessage()
func (*PreReceiveHookRequest) ProtoReflect ¶
func (x *PreReceiveHookRequest) ProtoReflect() protoreflect.Message
func (*PreReceiveHookRequest) Reset ¶
func (x *PreReceiveHookRequest) Reset()
func (*PreReceiveHookRequest) String ¶
func (x *PreReceiveHookRequest) String() string
type PreReceiveHookResponse ¶
type PreReceiveHookResponse struct { // stdout ... Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // stderr ... Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // exit_status ... ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` // contains filtered or unexported fields }
PreReceiveHookResponse ...
func (*PreReceiveHookResponse) Descriptor
deprecated
func (*PreReceiveHookResponse) Descriptor() ([]byte, []int)
Deprecated: Use PreReceiveHookResponse.ProtoReflect.Descriptor instead.
func (*PreReceiveHookResponse) GetExitStatus ¶
func (x *PreReceiveHookResponse) GetExitStatus() *ExitStatus
func (*PreReceiveHookResponse) GetStderr ¶
func (x *PreReceiveHookResponse) GetStderr() []byte
func (*PreReceiveHookResponse) GetStdout ¶
func (x *PreReceiveHookResponse) GetStdout() []byte
func (*PreReceiveHookResponse) ProtoMessage ¶
func (*PreReceiveHookResponse) ProtoMessage()
func (*PreReceiveHookResponse) ProtoReflect ¶
func (x *PreReceiveHookResponse) ProtoReflect() protoreflect.Message
func (*PreReceiveHookResponse) Reset ¶
func (x *PreReceiveHookResponse) Reset()
func (*PreReceiveHookResponse) String ¶
func (x *PreReceiveHookResponse) String() string
type PruneUnreachableObjectsRequest ¶
type PruneUnreachableObjectsRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
PruneUnreachableObjectsRequest is a request for the PruneUnreachableObjects RPC call.
func (*PruneUnreachableObjectsRequest) Descriptor
deprecated
func (*PruneUnreachableObjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PruneUnreachableObjectsRequest.ProtoReflect.Descriptor instead.
func (*PruneUnreachableObjectsRequest) GetRepository ¶
func (x *PruneUnreachableObjectsRequest) GetRepository() *Repository
func (*PruneUnreachableObjectsRequest) ProtoMessage ¶
func (*PruneUnreachableObjectsRequest) ProtoMessage()
func (*PruneUnreachableObjectsRequest) ProtoReflect ¶
func (x *PruneUnreachableObjectsRequest) ProtoReflect() protoreflect.Message
func (*PruneUnreachableObjectsRequest) Reset ¶
func (x *PruneUnreachableObjectsRequest) Reset()
func (*PruneUnreachableObjectsRequest) String ¶
func (x *PruneUnreachableObjectsRequest) String() string
type PruneUnreachableObjectsResponse ¶
type PruneUnreachableObjectsResponse struct {
// contains filtered or unexported fields
}
PruneUnreachableObjectsResponse is a response for the PruneUnreachableObjects RPC call.
func (*PruneUnreachableObjectsResponse) Descriptor
deprecated
func (*PruneUnreachableObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PruneUnreachableObjectsResponse.ProtoReflect.Descriptor instead.
func (*PruneUnreachableObjectsResponse) ProtoMessage ¶
func (*PruneUnreachableObjectsResponse) ProtoMessage()
func (*PruneUnreachableObjectsResponse) ProtoReflect ¶
func (x *PruneUnreachableObjectsResponse) ProtoReflect() protoreflect.Message
func (*PruneUnreachableObjectsResponse) Reset ¶
func (x *PruneUnreachableObjectsResponse) Reset()
func (*PruneUnreachableObjectsResponse) String ¶
func (x *PruneUnreachableObjectsResponse) String() string
type RawBlameError ¶ added in v16.4.0
type RawBlameError struct { // error ... // // Types that are assignable to Error: // // *RawBlameError_PathNotFound // *RawBlameError_OutOfRange Error isRawBlameError_Error `protobuf_oneof:"error"` // contains filtered or unexported fields }
RawBlameError is used as error detail when the RawBlame RPC fails in a specific way.
func (*RawBlameError) Descriptor
deprecated
added in
v16.4.0
func (*RawBlameError) Descriptor() ([]byte, []int)
Deprecated: Use RawBlameError.ProtoReflect.Descriptor instead.
func (*RawBlameError) GetError ¶ added in v16.4.0
func (m *RawBlameError) GetError() isRawBlameError_Error
func (*RawBlameError) GetOutOfRange ¶ added in v16.4.0
func (x *RawBlameError) GetOutOfRange() *RawBlameError_OutOfRangeError
func (*RawBlameError) GetPathNotFound ¶ added in v16.4.0
func (x *RawBlameError) GetPathNotFound() *PathNotFoundError
func (*RawBlameError) ProtoMessage ¶ added in v16.4.0
func (*RawBlameError) ProtoMessage()
func (*RawBlameError) ProtoReflect ¶ added in v16.4.0
func (x *RawBlameError) ProtoReflect() protoreflect.Message
func (*RawBlameError) Reset ¶ added in v16.4.0
func (x *RawBlameError) Reset()
func (*RawBlameError) String ¶ added in v16.4.0
func (x *RawBlameError) String() string
type RawBlameError_OutOfRange ¶ added in v16.4.0
type RawBlameError_OutOfRange struct { // out_of_range is returned when the specified blamed range exceeds the file length. OutOfRange *RawBlameError_OutOfRangeError `protobuf:"bytes,2,opt,name=out_of_range,json=outOfRange,proto3,oneof"` }
type RawBlameError_OutOfRangeError ¶ added in v16.4.0
type RawBlameError_OutOfRangeError struct { // actual_lines contains the actual number of lines that can be blamed in the file. ActualLines uint64 `protobuf:"varint,1,opt,name=actual_lines,json=actualLines,proto3" json:"actual_lines,omitempty"` // contains filtered or unexported fields }
OutOfRangeError indicates that the specified file range that is to be blamed exceeds the length of the blamed file.
func (*RawBlameError_OutOfRangeError) Descriptor
deprecated
added in
v16.4.0
func (*RawBlameError_OutOfRangeError) Descriptor() ([]byte, []int)
Deprecated: Use RawBlameError_OutOfRangeError.ProtoReflect.Descriptor instead.
func (*RawBlameError_OutOfRangeError) GetActualLines ¶ added in v16.4.0
func (x *RawBlameError_OutOfRangeError) GetActualLines() uint64
func (*RawBlameError_OutOfRangeError) ProtoMessage ¶ added in v16.4.0
func (*RawBlameError_OutOfRangeError) ProtoMessage()
func (*RawBlameError_OutOfRangeError) ProtoReflect ¶ added in v16.4.0
func (x *RawBlameError_OutOfRangeError) ProtoReflect() protoreflect.Message
func (*RawBlameError_OutOfRangeError) Reset ¶ added in v16.4.0
func (x *RawBlameError_OutOfRangeError) Reset()
func (*RawBlameError_OutOfRangeError) String ¶ added in v16.4.0
func (x *RawBlameError_OutOfRangeError) String() string
type RawBlameError_PathNotFound ¶ added in v16.4.0
type RawBlameError_PathNotFound struct { // path_not_found is returned when the blamed path cannot be found in the revision. PathNotFound *PathNotFoundError `protobuf:"bytes,1,opt,name=path_not_found,json=pathNotFound,proto3,oneof"` }
type RawBlameRequest ¶
type RawBlameRequest struct { // repository is the repositroy where to perform the blame. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revision is the commitish at which to start the blame. Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // path is the path of the blob that should be blamed. Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // range is the comma-separated range of line numbers to perform the blame on, e.g. "1,1000". Optional - if no range // is provided, the whole file will be blamed. Range []byte `protobuf:"bytes,4,opt,name=range,proto3" json:"range,omitempty"` // contains filtered or unexported fields }
RawBlameRequest is a request for the RawBlame RPC.
func (*RawBlameRequest) Descriptor
deprecated
func (*RawBlameRequest) Descriptor() ([]byte, []int)
Deprecated: Use RawBlameRequest.ProtoReflect.Descriptor instead.
func (*RawBlameRequest) GetPath ¶
func (x *RawBlameRequest) GetPath() []byte
func (*RawBlameRequest) GetRange ¶
func (x *RawBlameRequest) GetRange() []byte
func (*RawBlameRequest) GetRepository ¶
func (x *RawBlameRequest) GetRepository() *Repository
func (*RawBlameRequest) GetRevision ¶
func (x *RawBlameRequest) GetRevision() []byte
func (*RawBlameRequest) ProtoMessage ¶
func (*RawBlameRequest) ProtoMessage()
func (*RawBlameRequest) ProtoReflect ¶
func (x *RawBlameRequest) ProtoReflect() protoreflect.Message
func (*RawBlameRequest) Reset ¶
func (x *RawBlameRequest) Reset()
func (*RawBlameRequest) String ¶
func (x *RawBlameRequest) String() string
type RawBlameResponse ¶
type RawBlameResponse struct { // data is the raw data as generated by git-blame(1). Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
RawBlameResponse is a response for the RawBlame RPC. The response will be chunked into multiple message if the returned data exceeds gRPC message limits.
func (*RawBlameResponse) Descriptor
deprecated
func (*RawBlameResponse) Descriptor() ([]byte, []int)
Deprecated: Use RawBlameResponse.ProtoReflect.Descriptor instead.
func (*RawBlameResponse) GetData ¶
func (x *RawBlameResponse) GetData() []byte
func (*RawBlameResponse) ProtoMessage ¶
func (*RawBlameResponse) ProtoMessage()
func (*RawBlameResponse) ProtoReflect ¶
func (x *RawBlameResponse) ProtoReflect() protoreflect.Message
func (*RawBlameResponse) Reset ¶
func (x *RawBlameResponse) Reset()
func (*RawBlameResponse) String ¶
func (x *RawBlameResponse) String() string
type RawDiffRequest ¶
type RawDiffRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // left_commit_id ... LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` // right_commit_id ... RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` // contains filtered or unexported fields }
RawDiffRequest ...
func (*RawDiffRequest) Descriptor
deprecated
func (*RawDiffRequest) Descriptor() ([]byte, []int)
Deprecated: Use RawDiffRequest.ProtoReflect.Descriptor instead.
func (*RawDiffRequest) GetLeftCommitId ¶
func (x *RawDiffRequest) GetLeftCommitId() string
func (*RawDiffRequest) GetRepository ¶
func (x *RawDiffRequest) GetRepository() *Repository
func (*RawDiffRequest) GetRightCommitId ¶
func (x *RawDiffRequest) GetRightCommitId() string
func (*RawDiffRequest) ProtoMessage ¶
func (*RawDiffRequest) ProtoMessage()
func (*RawDiffRequest) ProtoReflect ¶
func (x *RawDiffRequest) ProtoReflect() protoreflect.Message
func (*RawDiffRequest) Reset ¶
func (x *RawDiffRequest) Reset()
func (*RawDiffRequest) String ¶
func (x *RawDiffRequest) String() string
type RawDiffResponse ¶
type RawDiffResponse struct { // data ... Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
RawDiffResponse ...
func (*RawDiffResponse) Descriptor
deprecated
func (*RawDiffResponse) Descriptor() ([]byte, []int)
Deprecated: Use RawDiffResponse.ProtoReflect.Descriptor instead.
func (*RawDiffResponse) GetData ¶
func (x *RawDiffResponse) GetData() []byte
func (*RawDiffResponse) ProtoMessage ¶
func (*RawDiffResponse) ProtoMessage()
func (*RawDiffResponse) ProtoReflect ¶
func (x *RawDiffResponse) ProtoReflect() protoreflect.Message
func (*RawDiffResponse) Reset ¶
func (x *RawDiffResponse) Reset()
func (*RawDiffResponse) String ¶
func (x *RawDiffResponse) String() string
type RawPatchRequest ¶
type RawPatchRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // left_commit_id ... LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` // right_commit_id ... RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` // contains filtered or unexported fields }
RawPatchRequest ...
func (*RawPatchRequest) Descriptor
deprecated
func (*RawPatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use RawPatchRequest.ProtoReflect.Descriptor instead.
func (*RawPatchRequest) GetLeftCommitId ¶
func (x *RawPatchRequest) GetLeftCommitId() string
func (*RawPatchRequest) GetRepository ¶
func (x *RawPatchRequest) GetRepository() *Repository
func (*RawPatchRequest) GetRightCommitId ¶
func (x *RawPatchRequest) GetRightCommitId() string
func (*RawPatchRequest) ProtoMessage ¶
func (*RawPatchRequest) ProtoMessage()
func (*RawPatchRequest) ProtoReflect ¶
func (x *RawPatchRequest) ProtoReflect() protoreflect.Message
func (*RawPatchRequest) Reset ¶
func (x *RawPatchRequest) Reset()
func (*RawPatchRequest) String ¶
func (x *RawPatchRequest) String() string
type RawPatchResponse ¶
type RawPatchResponse struct { // data ... Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
RawPatchResponse ...
func (*RawPatchResponse) Descriptor
deprecated
func (*RawPatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use RawPatchResponse.ProtoReflect.Descriptor instead.
func (*RawPatchResponse) GetData ¶
func (x *RawPatchResponse) GetData() []byte
func (*RawPatchResponse) ProtoMessage ¶
func (*RawPatchResponse) ProtoMessage()
func (*RawPatchResponse) ProtoReflect ¶
func (x *RawPatchResponse) ProtoReflect() protoreflect.Message
func (*RawPatchResponse) Reset ¶
func (x *RawPatchResponse) Reset()
func (*RawPatchResponse) String ¶
func (x *RawPatchResponse) String() string
type ReadinessCheckRequest ¶
type ReadinessCheckRequest struct { // timeout is an amount of milliseconds for the check to run before give up and mark as failed. Timeout *durationpb.Duration `protobuf:"bytes,1,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
ReadinessCheckRequest is used to verify if the service is in operational state.
func (*ReadinessCheckRequest) Descriptor
deprecated
func (*ReadinessCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadinessCheckRequest.ProtoReflect.Descriptor instead.
func (*ReadinessCheckRequest) GetTimeout ¶
func (x *ReadinessCheckRequest) GetTimeout() *durationpb.Duration
func (*ReadinessCheckRequest) ProtoMessage ¶
func (*ReadinessCheckRequest) ProtoMessage()
func (*ReadinessCheckRequest) ProtoReflect ¶
func (x *ReadinessCheckRequest) ProtoReflect() protoreflect.Message
func (*ReadinessCheckRequest) Reset ¶
func (x *ReadinessCheckRequest) Reset()
func (*ReadinessCheckRequest) String ¶
func (x *ReadinessCheckRequest) String() string
type ReadinessCheckResponse ¶
type ReadinessCheckResponse struct { // Types that are assignable to Result: // // *ReadinessCheckResponse_OkResponse // *ReadinessCheckResponse_FailureResponse Result isReadinessCheckResponse_Result `protobuf_oneof:"Result"` // contains filtered or unexported fields }
ReadinessCheckResponse is just a stub now and contains no information. If the service is not in the operational state the error will be returned instead.
func (*ReadinessCheckResponse) Descriptor
deprecated
func (*ReadinessCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadinessCheckResponse.ProtoReflect.Descriptor instead.
func (*ReadinessCheckResponse) GetFailureResponse ¶
func (x *ReadinessCheckResponse) GetFailureResponse() *ReadinessCheckResponse_Failure
func (*ReadinessCheckResponse) GetOkResponse ¶
func (x *ReadinessCheckResponse) GetOkResponse() *ReadinessCheckResponse_Ok
func (*ReadinessCheckResponse) GetResult ¶
func (m *ReadinessCheckResponse) GetResult() isReadinessCheckResponse_Result
func (*ReadinessCheckResponse) ProtoMessage ¶
func (*ReadinessCheckResponse) ProtoMessage()
func (*ReadinessCheckResponse) ProtoReflect ¶
func (x *ReadinessCheckResponse) ProtoReflect() protoreflect.Message
func (*ReadinessCheckResponse) Reset ¶
func (x *ReadinessCheckResponse) Reset()
func (*ReadinessCheckResponse) String ¶
func (x *ReadinessCheckResponse) String() string
type ReadinessCheckResponse_Failure ¶
type ReadinessCheckResponse_Failure struct { // failed_checks is a list of failed checks. FailedChecks []*ReadinessCheckResponse_Failure_Response `protobuf:"bytes,1,rep,name=failed_checks,json=failedChecks,proto3" json:"failed_checks,omitempty"` // contains filtered or unexported fields }
Failure represents response if at least one check failed.
func (*ReadinessCheckResponse_Failure) Descriptor
deprecated
func (*ReadinessCheckResponse_Failure) Descriptor() ([]byte, []int)
Deprecated: Use ReadinessCheckResponse_Failure.ProtoReflect.Descriptor instead.
func (*ReadinessCheckResponse_Failure) GetFailedChecks ¶
func (x *ReadinessCheckResponse_Failure) GetFailedChecks() []*ReadinessCheckResponse_Failure_Response
func (*ReadinessCheckResponse_Failure) ProtoMessage ¶
func (*ReadinessCheckResponse_Failure) ProtoMessage()
func (*ReadinessCheckResponse_Failure) ProtoReflect ¶
func (x *ReadinessCheckResponse_Failure) ProtoReflect() protoreflect.Message
func (*ReadinessCheckResponse_Failure) Reset ¶
func (x *ReadinessCheckResponse_Failure) Reset()
func (*ReadinessCheckResponse_Failure) String ¶
func (x *ReadinessCheckResponse_Failure) String() string
type ReadinessCheckResponse_FailureResponse ¶
type ReadinessCheckResponse_FailureResponse struct { // failure_response is set if at least one check failed. FailureResponse *ReadinessCheckResponse_Failure `protobuf:"bytes,2,opt,name=failure_response,json=failureResponse,proto3,oneof"` }
type ReadinessCheckResponse_Failure_Response ¶
type ReadinessCheckResponse_Failure_Response struct { // name is a name of the check that was performed. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // error_message is a cause of the check failure. ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
Response contains information about failed check.
func (*ReadinessCheckResponse_Failure_Response) Descriptor
deprecated
func (*ReadinessCheckResponse_Failure_Response) Descriptor() ([]byte, []int)
Deprecated: Use ReadinessCheckResponse_Failure_Response.ProtoReflect.Descriptor instead.
func (*ReadinessCheckResponse_Failure_Response) GetErrorMessage ¶
func (x *ReadinessCheckResponse_Failure_Response) GetErrorMessage() string
func (*ReadinessCheckResponse_Failure_Response) GetName ¶
func (x *ReadinessCheckResponse_Failure_Response) GetName() string
func (*ReadinessCheckResponse_Failure_Response) ProtoMessage ¶
func (*ReadinessCheckResponse_Failure_Response) ProtoMessage()
func (*ReadinessCheckResponse_Failure_Response) ProtoReflect ¶
func (x *ReadinessCheckResponse_Failure_Response) ProtoReflect() protoreflect.Message
func (*ReadinessCheckResponse_Failure_Response) Reset ¶
func (x *ReadinessCheckResponse_Failure_Response) Reset()
func (*ReadinessCheckResponse_Failure_Response) String ¶
func (x *ReadinessCheckResponse_Failure_Response) String() string
type ReadinessCheckResponse_Ok ¶
type ReadinessCheckResponse_Ok struct {
// contains filtered or unexported fields
}
Ok represents response if none checks failed.
func (*ReadinessCheckResponse_Ok) Descriptor
deprecated
func (*ReadinessCheckResponse_Ok) Descriptor() ([]byte, []int)
Deprecated: Use ReadinessCheckResponse_Ok.ProtoReflect.Descriptor instead.
func (*ReadinessCheckResponse_Ok) ProtoMessage ¶
func (*ReadinessCheckResponse_Ok) ProtoMessage()
func (*ReadinessCheckResponse_Ok) ProtoReflect ¶
func (x *ReadinessCheckResponse_Ok) ProtoReflect() protoreflect.Message
func (*ReadinessCheckResponse_Ok) Reset ¶
func (x *ReadinessCheckResponse_Ok) Reset()
func (*ReadinessCheckResponse_Ok) String ¶
func (x *ReadinessCheckResponse_Ok) String() string
type ReadinessCheckResponse_OkResponse ¶
type ReadinessCheckResponse_OkResponse struct { // ok_response is set when all checks pass. OkResponse *ReadinessCheckResponse_Ok `protobuf:"bytes,1,opt,name=ok_response,json=okResponse,proto3,oneof"` }
type RefExistsRequest ¶
type RefExistsRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // ref denotes any ref, e.g. 'refs/heads/master' or 'refs/tags/v1.0.1'. // Must start with 'refs/'. Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
RefExistsRequest ...
func (*RefExistsRequest) Descriptor
deprecated
func (*RefExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefExistsRequest.ProtoReflect.Descriptor instead.
func (*RefExistsRequest) GetRef ¶
func (x *RefExistsRequest) GetRef() []byte
func (*RefExistsRequest) GetRepository ¶
func (x *RefExistsRequest) GetRepository() *Repository
func (*RefExistsRequest) ProtoMessage ¶
func (*RefExistsRequest) ProtoMessage()
func (*RefExistsRequest) ProtoReflect ¶
func (x *RefExistsRequest) ProtoReflect() protoreflect.Message
func (*RefExistsRequest) Reset ¶
func (x *RefExistsRequest) Reset()
func (*RefExistsRequest) String ¶
func (x *RefExistsRequest) String() string
type RefExistsResponse ¶
type RefExistsResponse struct { // value ... Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
RefExistsResponse ...
func (*RefExistsResponse) Descriptor
deprecated
func (*RefExistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use RefExistsResponse.ProtoReflect.Descriptor instead.
func (*RefExistsResponse) GetValue ¶
func (x *RefExistsResponse) GetValue() bool
func (*RefExistsResponse) ProtoMessage ¶
func (*RefExistsResponse) ProtoMessage()
func (*RefExistsResponse) ProtoReflect ¶
func (x *RefExistsResponse) ProtoReflect() protoreflect.Message
func (*RefExistsResponse) Reset ¶
func (x *RefExistsResponse) Reset()
func (*RefExistsResponse) String ¶
func (x *RefExistsResponse) String() string
type RefServiceClient ¶
type RefServiceClient interface { // FindDefaultBranchName looks up the default branch reference name. Unless // otherwise specified the following heuristic is used: // // 1. If there are no branches, return an empty string. // 2. If there is only one branch, return the only branch. // 3. If a branch exists that matches HEAD, return the HEAD reference name. // 4. If a branch exists named refs/heads/main, return refs/heads/main. // 5. If a branch exists named refs/heads/master, return refs/heads/master. // 6. Return the first branch (as per default ordering by git). FindDefaultBranchName(ctx context.Context, in *FindDefaultBranchNameRequest, opts ...grpc.CallOption) (*FindDefaultBranchNameResponse, error) // FindLocalBranches ... // Return a stream so we can divide the response in chunks of branches FindLocalBranches(ctx context.Context, in *FindLocalBranchesRequest, opts ...grpc.CallOption) (RefService_FindLocalBranchesClient, error) // FindAllBranches ... FindAllBranches(ctx context.Context, in *FindAllBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllBranchesClient, error) // FindAllTags returns a stream of tags repository has. FindAllTags(ctx context.Context, in *FindAllTagsRequest, opts ...grpc.CallOption) (RefService_FindAllTagsClient, error) // FindTag looks up a tag by its name and returns it to the caller if it exists. This RPC supports // both lightweight and annotated tags. Note: this RPC returns an `Internal` error if the tag was // not found. FindTag(ctx context.Context, in *FindTagRequest, opts ...grpc.CallOption) (*FindTagResponse, error) // FindAllRemoteBranches ... FindAllRemoteBranches(ctx context.Context, in *FindAllRemoteBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllRemoteBranchesClient, error) // RefExists ... RefExists(ctx context.Context, in *RefExistsRequest, opts ...grpc.CallOption) (*RefExistsResponse, error) // FindBranch finds a branch by its unqualified name (like "master") and // returns the commit it currently points to. FindBranch(ctx context.Context, in *FindBranchRequest, opts ...grpc.CallOption) (*FindBranchResponse, error) // UpdateReferences atomically updates a set of references to a new state. This RPC allows creating // new references, deleting old references and updating existing references in a raceless way. // // Updating symbolic references with this RPC is not allowed. UpdateReferences(ctx context.Context, opts ...grpc.CallOption) (RefService_UpdateReferencesClient, error) // DeleteRefs ... DeleteRefs(ctx context.Context, in *DeleteRefsRequest, opts ...grpc.CallOption) (*DeleteRefsResponse, error) // ListBranchNamesContainingCommit ... ListBranchNamesContainingCommit(ctx context.Context, in *ListBranchNamesContainingCommitRequest, opts ...grpc.CallOption) (RefService_ListBranchNamesContainingCommitClient, error) // ListTagNamesContainingCommit ... ListTagNamesContainingCommit(ctx context.Context, in *ListTagNamesContainingCommitRequest, opts ...grpc.CallOption) (RefService_ListTagNamesContainingCommitClient, error) // GetTagSignatures returns signatures for annotated tags resolved from a set of revisions. Revisions // which don't resolve to an annotated tag are silently discarded. Revisions which cannot be resolved // result in an error. Tags which are annotated but not signed will return a TagSignature response // which has no signature, but its unsigned contents will still be returned. GetTagSignatures(ctx context.Context, in *GetTagSignaturesRequest, opts ...grpc.CallOption) (RefService_GetTagSignaturesClient, error) // GetTagMessages ... GetTagMessages(ctx context.Context, in *GetTagMessagesRequest, opts ...grpc.CallOption) (RefService_GetTagMessagesClient, error) // ListRefs returns a stream of all references in the repository. By default, pseudo-revisions like HEAD // will not be returned by this RPC. Any symbolic references will be resolved to the object ID it is // pointing at. ListRefs(ctx context.Context, in *ListRefsRequest, opts ...grpc.CallOption) (RefService_ListRefsClient, error) // FindRefsByOID returns an array of fully qualified reference names that point to an object ID. // It returns nothing if the object ID doesn't exist, or doesn't point to // any branches or tags. Prefixes can be also be used as the object ID. FindRefsByOID(ctx context.Context, in *FindRefsByOIDRequest, opts ...grpc.CallOption) (*FindRefsByOIDResponse, error) }
RefServiceClient is the client API for RefService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRefServiceClient ¶
func NewRefServiceClient(cc grpc.ClientConnInterface) RefServiceClient
type RefServiceServer ¶
type RefServiceServer interface { // FindDefaultBranchName looks up the default branch reference name. Unless // otherwise specified the following heuristic is used: // // 1. If there are no branches, return an empty string. // 2. If there is only one branch, return the only branch. // 3. If a branch exists that matches HEAD, return the HEAD reference name. // 4. If a branch exists named refs/heads/main, return refs/heads/main. // 5. If a branch exists named refs/heads/master, return refs/heads/master. // 6. Return the first branch (as per default ordering by git). FindDefaultBranchName(context.Context, *FindDefaultBranchNameRequest) (*FindDefaultBranchNameResponse, error) // FindLocalBranches ... // Return a stream so we can divide the response in chunks of branches FindLocalBranches(*FindLocalBranchesRequest, RefService_FindLocalBranchesServer) error // FindAllBranches ... FindAllBranches(*FindAllBranchesRequest, RefService_FindAllBranchesServer) error // FindAllTags returns a stream of tags repository has. FindAllTags(*FindAllTagsRequest, RefService_FindAllTagsServer) error // FindTag looks up a tag by its name and returns it to the caller if it exists. This RPC supports // both lightweight and annotated tags. Note: this RPC returns an `Internal` error if the tag was // not found. FindTag(context.Context, *FindTagRequest) (*FindTagResponse, error) // FindAllRemoteBranches ... FindAllRemoteBranches(*FindAllRemoteBranchesRequest, RefService_FindAllRemoteBranchesServer) error // RefExists ... RefExists(context.Context, *RefExistsRequest) (*RefExistsResponse, error) // FindBranch finds a branch by its unqualified name (like "master") and // returns the commit it currently points to. FindBranch(context.Context, *FindBranchRequest) (*FindBranchResponse, error) // UpdateReferences atomically updates a set of references to a new state. This RPC allows creating // new references, deleting old references and updating existing references in a raceless way. // // Updating symbolic references with this RPC is not allowed. UpdateReferences(RefService_UpdateReferencesServer) error // DeleteRefs ... DeleteRefs(context.Context, *DeleteRefsRequest) (*DeleteRefsResponse, error) // ListBranchNamesContainingCommit ... ListBranchNamesContainingCommit(*ListBranchNamesContainingCommitRequest, RefService_ListBranchNamesContainingCommitServer) error // ListTagNamesContainingCommit ... ListTagNamesContainingCommit(*ListTagNamesContainingCommitRequest, RefService_ListTagNamesContainingCommitServer) error // GetTagSignatures returns signatures for annotated tags resolved from a set of revisions. Revisions // which don't resolve to an annotated tag are silently discarded. Revisions which cannot be resolved // result in an error. Tags which are annotated but not signed will return a TagSignature response // which has no signature, but its unsigned contents will still be returned. GetTagSignatures(*GetTagSignaturesRequest, RefService_GetTagSignaturesServer) error // GetTagMessages ... GetTagMessages(*GetTagMessagesRequest, RefService_GetTagMessagesServer) error // ListRefs returns a stream of all references in the repository. By default, pseudo-revisions like HEAD // will not be returned by this RPC. Any symbolic references will be resolved to the object ID it is // pointing at. ListRefs(*ListRefsRequest, RefService_ListRefsServer) error // FindRefsByOID returns an array of fully qualified reference names that point to an object ID. // It returns nothing if the object ID doesn't exist, or doesn't point to // any branches or tags. Prefixes can be also be used as the object ID. FindRefsByOID(context.Context, *FindRefsByOIDRequest) (*FindRefsByOIDResponse, error) // contains filtered or unexported methods }
RefServiceServer is the server API for RefService service. All implementations must embed UnimplementedRefServiceServer for forward compatibility
type RefService_FindAllBranchesClient ¶
type RefService_FindAllBranchesClient interface { Recv() (*FindAllBranchesResponse, error) grpc.ClientStream }
type RefService_FindAllBranchesServer ¶
type RefService_FindAllBranchesServer interface { Send(*FindAllBranchesResponse) error grpc.ServerStream }
type RefService_FindAllRemoteBranchesClient ¶
type RefService_FindAllRemoteBranchesClient interface { Recv() (*FindAllRemoteBranchesResponse, error) grpc.ClientStream }
type RefService_FindAllRemoteBranchesServer ¶
type RefService_FindAllRemoteBranchesServer interface { Send(*FindAllRemoteBranchesResponse) error grpc.ServerStream }
type RefService_FindAllTagsClient ¶
type RefService_FindAllTagsClient interface { Recv() (*FindAllTagsResponse, error) grpc.ClientStream }
type RefService_FindAllTagsServer ¶
type RefService_FindAllTagsServer interface { Send(*FindAllTagsResponse) error grpc.ServerStream }
type RefService_FindLocalBranchesClient ¶
type RefService_FindLocalBranchesClient interface { Recv() (*FindLocalBranchesResponse, error) grpc.ClientStream }
type RefService_FindLocalBranchesServer ¶
type RefService_FindLocalBranchesServer interface { Send(*FindLocalBranchesResponse) error grpc.ServerStream }
type RefService_GetTagMessagesClient ¶
type RefService_GetTagMessagesClient interface { Recv() (*GetTagMessagesResponse, error) grpc.ClientStream }
type RefService_GetTagMessagesServer ¶
type RefService_GetTagMessagesServer interface { Send(*GetTagMessagesResponse) error grpc.ServerStream }
type RefService_GetTagSignaturesClient ¶
type RefService_GetTagSignaturesClient interface { Recv() (*GetTagSignaturesResponse, error) grpc.ClientStream }
type RefService_GetTagSignaturesServer ¶
type RefService_GetTagSignaturesServer interface { Send(*GetTagSignaturesResponse) error grpc.ServerStream }
type RefService_ListBranchNamesContainingCommitClient ¶
type RefService_ListBranchNamesContainingCommitClient interface { Recv() (*ListBranchNamesContainingCommitResponse, error) grpc.ClientStream }
type RefService_ListBranchNamesContainingCommitServer ¶
type RefService_ListBranchNamesContainingCommitServer interface { Send(*ListBranchNamesContainingCommitResponse) error grpc.ServerStream }
type RefService_ListRefsClient ¶
type RefService_ListRefsClient interface { Recv() (*ListRefsResponse, error) grpc.ClientStream }
type RefService_ListRefsServer ¶
type RefService_ListRefsServer interface { Send(*ListRefsResponse) error grpc.ServerStream }
type RefService_ListTagNamesContainingCommitClient ¶
type RefService_ListTagNamesContainingCommitClient interface { Recv() (*ListTagNamesContainingCommitResponse, error) grpc.ClientStream }
type RefService_ListTagNamesContainingCommitServer ¶
type RefService_ListTagNamesContainingCommitServer interface { Send(*ListTagNamesContainingCommitResponse) error grpc.ServerStream }
type RefService_UpdateReferencesClient ¶ added in v16.3.0
type RefService_UpdateReferencesClient interface { Send(*UpdateReferencesRequest) error CloseAndRecv() (*UpdateReferencesResponse, error) grpc.ClientStream }
type RefService_UpdateReferencesServer ¶ added in v16.3.0
type RefService_UpdateReferencesServer interface { SendAndClose(*UpdateReferencesResponse) error Recv() (*UpdateReferencesRequest, error) grpc.ServerStream }
type RefTransactionClient ¶
type RefTransactionClient interface { // VoteTransaction casts a vote on a transaction to establish whether the // node is doing the same change as all the other nodes part of the // transaction. This RPC blocks until quorum has been reached, which may be // _before_ all nodes have cast a vote. // // This RPC may return one of the following error codes: // // - `NotFound` in case the transaction could not be found. // - `Canceled` in case the transaction has been canceled before quorum was // reached. VoteTransaction(ctx context.Context, in *VoteTransactionRequest, opts ...grpc.CallOption) (*VoteTransactionResponse, error) // StopTransaction gracefully stops a transaction. This RPC can be used if // only a subset of nodes executes specific code which may cause the // transaction to fail. One such example is Git hooks, which only execute on // the primary Gitaly noded. Other nodes which vote on this transaction will // get a response with the `STOP` state being set. // // This RPC may return one of the following error codes: // // - `NotFound` in case the transaction could not be found. // - `Canceled` in case the transaction has been canceled before quorum was // reached. StopTransaction(ctx context.Context, in *StopTransactionRequest, opts ...grpc.CallOption) (*StopTransactionResponse, error) }
RefTransactionClient is the client API for RefTransaction service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRefTransactionClient ¶
func NewRefTransactionClient(cc grpc.ClientConnInterface) RefTransactionClient
type RefTransactionServer ¶
type RefTransactionServer interface { // VoteTransaction casts a vote on a transaction to establish whether the // node is doing the same change as all the other nodes part of the // transaction. This RPC blocks until quorum has been reached, which may be // _before_ all nodes have cast a vote. // // This RPC may return one of the following error codes: // // - `NotFound` in case the transaction could not be found. // - `Canceled` in case the transaction has been canceled before quorum was // reached. VoteTransaction(context.Context, *VoteTransactionRequest) (*VoteTransactionResponse, error) // StopTransaction gracefully stops a transaction. This RPC can be used if // only a subset of nodes executes specific code which may cause the // transaction to fail. One such example is Git hooks, which only execute on // the primary Gitaly noded. Other nodes which vote on this transaction will // get a response with the `STOP` state being set. // // This RPC may return one of the following error codes: // // - `NotFound` in case the transaction could not be found. // - `Canceled` in case the transaction has been canceled before quorum was // reached. StopTransaction(context.Context, *StopTransactionRequest) (*StopTransactionResponse, error) // contains filtered or unexported methods }
RefTransactionServer is the server API for RefTransaction service. All implementations must embed UnimplementedRefTransactionServer for forward compatibility
type ReferenceExistsError ¶
type ReferenceExistsError struct { // reference_name is the name of the reference that exists already. ReferenceName []byte `protobuf:"bytes,1,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` // oid is the object ID of the reference that preexists already. Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` // contains filtered or unexported fields }
ReferenceExistsError is an error returned when a reference that ought not to exist does exist already.
func (*ReferenceExistsError) Descriptor
deprecated
func (*ReferenceExistsError) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceExistsError.ProtoReflect.Descriptor instead.
func (*ReferenceExistsError) GetOid ¶
func (x *ReferenceExistsError) GetOid() string
func (*ReferenceExistsError) GetReferenceName ¶
func (x *ReferenceExistsError) GetReferenceName() []byte
func (*ReferenceExistsError) ProtoMessage ¶
func (*ReferenceExistsError) ProtoMessage()
func (*ReferenceExistsError) ProtoReflect ¶
func (x *ReferenceExistsError) ProtoReflect() protoreflect.Message
func (*ReferenceExistsError) Reset ¶
func (x *ReferenceExistsError) Reset()
func (*ReferenceExistsError) String ¶
func (x *ReferenceExistsError) String() string
type ReferenceNotFoundError ¶
type ReferenceNotFoundError struct { // reference_name is the name of the reference that does not exist. ReferenceName []byte `protobuf:"bytes,1,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` // contains filtered or unexported fields }
ReferenceNotFoundError is an error retruned when a reference that ought to exist does not exist.
func (*ReferenceNotFoundError) Descriptor
deprecated
func (*ReferenceNotFoundError) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceNotFoundError.ProtoReflect.Descriptor instead.
func (*ReferenceNotFoundError) GetReferenceName ¶
func (x *ReferenceNotFoundError) GetReferenceName() []byte
func (*ReferenceNotFoundError) ProtoMessage ¶
func (*ReferenceNotFoundError) ProtoMessage()
func (*ReferenceNotFoundError) ProtoReflect ¶
func (x *ReferenceNotFoundError) ProtoReflect() protoreflect.Message
func (*ReferenceNotFoundError) Reset ¶
func (x *ReferenceNotFoundError) Reset()
func (*ReferenceNotFoundError) String ¶
func (x *ReferenceNotFoundError) String() string
type ReferenceStateMismatchError ¶ added in v16.3.0
type ReferenceStateMismatchError struct { // reference_name is the name of the reference that was failed to update. ReferenceName []byte `protobuf:"bytes,1,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` // expected_object_id is the object ID that the reference was expected to point to but didn't. ExpectedObjectId []byte `protobuf:"bytes,2,opt,name=expected_object_id,json=expectedObjectId,proto3" json:"expected_object_id,omitempty"` // actual_object_id is the object ID that the reference actually pointed to at the time when it was tried to be // updated. ActualObjectId []byte `protobuf:"bytes,3,opt,name=actual_object_id,json=actualObjectId,proto3" json:"actual_object_id,omitempty"` // contains filtered or unexported fields }
ReferenceStateMismatchError is an error returned when updating a reference fails because its pointing to a different object ID than expected.
func (*ReferenceStateMismatchError) Descriptor
deprecated
added in
v16.3.0
func (*ReferenceStateMismatchError) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceStateMismatchError.ProtoReflect.Descriptor instead.
func (*ReferenceStateMismatchError) GetActualObjectId ¶ added in v16.3.0
func (x *ReferenceStateMismatchError) GetActualObjectId() []byte
func (*ReferenceStateMismatchError) GetExpectedObjectId ¶ added in v16.3.0
func (x *ReferenceStateMismatchError) GetExpectedObjectId() []byte
func (*ReferenceStateMismatchError) GetReferenceName ¶ added in v16.3.0
func (x *ReferenceStateMismatchError) GetReferenceName() []byte
func (*ReferenceStateMismatchError) ProtoMessage ¶ added in v16.3.0
func (*ReferenceStateMismatchError) ProtoMessage()
func (*ReferenceStateMismatchError) ProtoReflect ¶ added in v16.3.0
func (x *ReferenceStateMismatchError) ProtoReflect() protoreflect.Message
func (*ReferenceStateMismatchError) Reset ¶ added in v16.3.0
func (x *ReferenceStateMismatchError) Reset()
func (*ReferenceStateMismatchError) String ¶ added in v16.3.0
func (x *ReferenceStateMismatchError) String() string
type ReferenceTransactionHookRequest ¶
type ReferenceTransactionHookRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // environment_variables ... EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` // stdin ... Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` // state ... State ReferenceTransactionHookRequest_State `protobuf:"varint,4,opt,name=state,proto3,enum=gitaly.ReferenceTransactionHookRequest_State" json:"state,omitempty"` // contains filtered or unexported fields }
ReferenceTransactionHookRequest ...
func (*ReferenceTransactionHookRequest) Descriptor
deprecated
func (*ReferenceTransactionHookRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceTransactionHookRequest.ProtoReflect.Descriptor instead.
func (*ReferenceTransactionHookRequest) GetEnvironmentVariables ¶
func (x *ReferenceTransactionHookRequest) GetEnvironmentVariables() []string
func (*ReferenceTransactionHookRequest) GetRepository ¶
func (x *ReferenceTransactionHookRequest) GetRepository() *Repository
func (*ReferenceTransactionHookRequest) GetState ¶
func (x *ReferenceTransactionHookRequest) GetState() ReferenceTransactionHookRequest_State
func (*ReferenceTransactionHookRequest) GetStdin ¶
func (x *ReferenceTransactionHookRequest) GetStdin() []byte
func (*ReferenceTransactionHookRequest) ProtoMessage ¶
func (*ReferenceTransactionHookRequest) ProtoMessage()
func (*ReferenceTransactionHookRequest) ProtoReflect ¶
func (x *ReferenceTransactionHookRequest) ProtoReflect() protoreflect.Message
func (*ReferenceTransactionHookRequest) Reset ¶
func (x *ReferenceTransactionHookRequest) Reset()
func (*ReferenceTransactionHookRequest) String ¶
func (x *ReferenceTransactionHookRequest) String() string
type ReferenceTransactionHookRequest_State ¶
type ReferenceTransactionHookRequest_State int32
State ...
const ( // PREPARED ... ReferenceTransactionHookRequest_PREPARED ReferenceTransactionHookRequest_State = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // COMMITTED ... ReferenceTransactionHookRequest_COMMITTED ReferenceTransactionHookRequest_State = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // ABORTED ... ReferenceTransactionHookRequest_ABORTED ReferenceTransactionHookRequest_State = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (ReferenceTransactionHookRequest_State) Descriptor ¶
func (ReferenceTransactionHookRequest_State) Descriptor() protoreflect.EnumDescriptor
func (ReferenceTransactionHookRequest_State) EnumDescriptor
deprecated
func (ReferenceTransactionHookRequest_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReferenceTransactionHookRequest_State.Descriptor instead.
func (ReferenceTransactionHookRequest_State) Number ¶
func (x ReferenceTransactionHookRequest_State) Number() protoreflect.EnumNumber
func (ReferenceTransactionHookRequest_State) String ¶
func (x ReferenceTransactionHookRequest_State) String() string
func (ReferenceTransactionHookRequest_State) Type ¶
func (ReferenceTransactionHookRequest_State) Type() protoreflect.EnumType
type ReferenceTransactionHookResponse ¶
type ReferenceTransactionHookResponse struct { // stdout ... Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // stderr ... Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // exit_status ... ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` // contains filtered or unexported fields }
ReferenceTransactionHookResponse ...
func (*ReferenceTransactionHookResponse) Descriptor
deprecated
func (*ReferenceTransactionHookResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceTransactionHookResponse.ProtoReflect.Descriptor instead.
func (*ReferenceTransactionHookResponse) GetExitStatus ¶
func (x *ReferenceTransactionHookResponse) GetExitStatus() *ExitStatus
func (*ReferenceTransactionHookResponse) GetStderr ¶
func (x *ReferenceTransactionHookResponse) GetStderr() []byte
func (*ReferenceTransactionHookResponse) GetStdout ¶
func (x *ReferenceTransactionHookResponse) GetStdout() []byte
func (*ReferenceTransactionHookResponse) ProtoMessage ¶
func (*ReferenceTransactionHookResponse) ProtoMessage()
func (*ReferenceTransactionHookResponse) ProtoReflect ¶
func (x *ReferenceTransactionHookResponse) ProtoReflect() protoreflect.Message
func (*ReferenceTransactionHookResponse) Reset ¶
func (x *ReferenceTransactionHookResponse) Reset()
func (*ReferenceTransactionHookResponse) String ¶
func (x *ReferenceTransactionHookResponse) String() string
type ReferenceUpdateError ¶
type ReferenceUpdateError struct { // reference_name is the name of the reference that failed to be updated. ReferenceName []byte `protobuf:"bytes,1,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` // old_oid is the object ID the reference should have pointed to before the update. OldOid string `protobuf:"bytes,2,opt,name=old_oid,json=oldOid,proto3" json:"old_oid,omitempty"` // new_oid is the object ID the reference should have pointed to after the update. NewOid string `protobuf:"bytes,3,opt,name=new_oid,json=newOid,proto3" json:"new_oid,omitempty"` // contains filtered or unexported fields }
ReferenceUpdateError is an error returned when updating a reference has failed.
func (*ReferenceUpdateError) Descriptor
deprecated
func (*ReferenceUpdateError) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceUpdateError.ProtoReflect.Descriptor instead.
func (*ReferenceUpdateError) GetNewOid ¶
func (x *ReferenceUpdateError) GetNewOid() string
func (*ReferenceUpdateError) GetOldOid ¶
func (x *ReferenceUpdateError) GetOldOid() string
func (*ReferenceUpdateError) GetReferenceName ¶
func (x *ReferenceUpdateError) GetReferenceName() []byte
func (*ReferenceUpdateError) ProtoMessage ¶
func (*ReferenceUpdateError) ProtoMessage()
func (*ReferenceUpdateError) ProtoReflect ¶
func (x *ReferenceUpdateError) ProtoReflect() protoreflect.Message
func (*ReferenceUpdateError) Reset ¶
func (x *ReferenceUpdateError) Reset()
func (*ReferenceUpdateError) String ¶
func (x *ReferenceUpdateError) String() string
type ReferencesLockedError ¶
type ReferencesLockedError struct { // refs are the references that could not be locked. Refs [][]byte `protobuf:"bytes,1,rep,name=refs,proto3" json:"refs,omitempty"` // contains filtered or unexported fields }
ReferencesLockedError is an error returned when an ref update fails because the references have already been locked by another process.
func (*ReferencesLockedError) Descriptor
deprecated
func (*ReferencesLockedError) Descriptor() ([]byte, []int)
Deprecated: Use ReferencesLockedError.ProtoReflect.Descriptor instead.
func (*ReferencesLockedError) GetRefs ¶
func (x *ReferencesLockedError) GetRefs() [][]byte
func (*ReferencesLockedError) ProtoMessage ¶
func (*ReferencesLockedError) ProtoMessage()
func (*ReferencesLockedError) ProtoReflect ¶
func (x *ReferencesLockedError) ProtoReflect() protoreflect.Message
func (*ReferencesLockedError) Reset ¶
func (x *ReferencesLockedError) Reset()
func (*ReferencesLockedError) String ¶
func (x *ReferencesLockedError) String() string
type Remote ¶
type Remote struct { // url is the URL of the remote repository. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // http_authorization_header is the HTTP header which should be added to // the request in order to authenticate against the repository. HttpAuthorizationHeader string `` /* 132-byte string literal not displayed */ // mirror_refmaps contains the refspecs which shall be fetched. Some special // refspecs are accepted: // // - "all_refs" gets translated to "+refs/*:refs/*", which mirrors all // references of the source repository. // - "heads" gets translated to "+refs/heads/*:refs/heads/*", which mirrors // all branches of the source repository. // - "tags" gets translated to "+refs/tags/*:refs/tags/*", which mirrors all // tags of the source repository. // // If no refspecs are given, this defaults to "all_refs". MirrorRefmaps []string `protobuf:"bytes,4,rep,name=mirror_refmaps,json=mirrorRefmaps,proto3" json:"mirror_refmaps,omitempty"` // resolved_address holds the resolved IP address of the remote_url. This is // used to avoid DNS rebinding by mapping the url to the resolved address. // Only IPv4 dotted decimal ("192.0.2.1"), IPv6 ("2001:db8::68"), or IPv4-mapped // IPv6 ("::ffff:192.0.2.1") forms are supported. // Works with HTTP/HTTPS/Git/SSH protocols. // Optional. ResolvedAddress string `protobuf:"bytes,6,opt,name=resolved_address,json=resolvedAddress,proto3" json:"resolved_address,omitempty"` // contains filtered or unexported fields }
Remote represents a git remote repository.
func (*Remote) Descriptor
deprecated
func (*Remote) GetHttpAuthorizationHeader ¶
func (*Remote) GetMirrorRefmaps ¶
func (*Remote) GetResolvedAddress ¶
func (*Remote) ProtoMessage ¶
func (*Remote) ProtoMessage()
func (*Remote) ProtoReflect ¶
func (x *Remote) ProtoReflect() protoreflect.Message
type RemoteServiceClient ¶
type RemoteServiceClient interface { // UpdateRemoteMirror compares the references in the target repository and its remote mirror // repository. Any differences in the references are then addressed by pushing the differing // references to the mirror. Created and modified references are updated, removed references are // deleted from the mirror. UpdateRemoteMirror updates all tags. Branches are updated if they match // the patterns specified in the requests. UpdateRemoteMirror(ctx context.Context, opts ...grpc.CallOption) (RemoteService_UpdateRemoteMirrorClient, error) // FindRemoteRepository ... FindRemoteRepository(ctx context.Context, in *FindRemoteRepositoryRequest, opts ...grpc.CallOption) (*FindRemoteRepositoryResponse, error) // FindRemoteRootRef tries to find the root reference of a remote // repository. The root reference is the default branch as pointed to by // the remotes HEAD reference. Returns an InvalidArgument error if the // specified remote does not exist and a NotFound error in case no HEAD // branch was found. FindRemoteRootRef(ctx context.Context, in *FindRemoteRootRefRequest, opts ...grpc.CallOption) (*FindRemoteRootRefResponse, error) }
RemoteServiceClient is the client API for RemoteService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRemoteServiceClient ¶
func NewRemoteServiceClient(cc grpc.ClientConnInterface) RemoteServiceClient
type RemoteServiceServer ¶
type RemoteServiceServer interface { // UpdateRemoteMirror compares the references in the target repository and its remote mirror // repository. Any differences in the references are then addressed by pushing the differing // references to the mirror. Created and modified references are updated, removed references are // deleted from the mirror. UpdateRemoteMirror updates all tags. Branches are updated if they match // the patterns specified in the requests. UpdateRemoteMirror(RemoteService_UpdateRemoteMirrorServer) error // FindRemoteRepository ... FindRemoteRepository(context.Context, *FindRemoteRepositoryRequest) (*FindRemoteRepositoryResponse, error) // FindRemoteRootRef tries to find the root reference of a remote // repository. The root reference is the default branch as pointed to by // the remotes HEAD reference. Returns an InvalidArgument error if the // specified remote does not exist and a NotFound error in case no HEAD // branch was found. FindRemoteRootRef(context.Context, *FindRemoteRootRefRequest) (*FindRemoteRootRefResponse, error) // contains filtered or unexported methods }
RemoteServiceServer is the server API for RemoteService service. All implementations must embed UnimplementedRemoteServiceServer for forward compatibility
type RemoteService_UpdateRemoteMirrorClient ¶
type RemoteService_UpdateRemoteMirrorClient interface { Send(*UpdateRemoteMirrorRequest) error CloseAndRecv() (*UpdateRemoteMirrorResponse, error) grpc.ClientStream }
type RemoteService_UpdateRemoteMirrorServer ¶
type RemoteService_UpdateRemoteMirrorServer interface { SendAndClose(*UpdateRemoteMirrorResponse) error Recv() (*UpdateRemoteMirrorRequest, error) grpc.ServerStream }
type RemoveAllRequest ¶
type RemoveAllRequest struct { // storage_name of the storage to have all repositories removed from. StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` // contains filtered or unexported fields }
RemoveAllRequest is a request for the RemoveAll RPC.
func (*RemoveAllRequest) Descriptor
deprecated
func (*RemoveAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveAllRequest.ProtoReflect.Descriptor instead.
func (*RemoveAllRequest) GetStorageName ¶
func (x *RemoveAllRequest) GetStorageName() string
func (*RemoveAllRequest) ProtoMessage ¶
func (*RemoveAllRequest) ProtoMessage()
func (*RemoveAllRequest) ProtoReflect ¶
func (x *RemoveAllRequest) ProtoReflect() protoreflect.Message
func (*RemoveAllRequest) Reset ¶
func (x *RemoveAllRequest) Reset()
func (*RemoveAllRequest) String ¶
func (x *RemoveAllRequest) String() string
type RemoveAllResponse ¶
type RemoveAllResponse struct {
// contains filtered or unexported fields
}
RemoveAllResponse is a response for the RemoveAll RPC.
func (*RemoveAllResponse) Descriptor
deprecated
func (*RemoveAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveAllResponse.ProtoReflect.Descriptor instead.
func (*RemoveAllResponse) ProtoMessage ¶
func (*RemoveAllResponse) ProtoMessage()
func (*RemoveAllResponse) ProtoReflect ¶
func (x *RemoveAllResponse) ProtoReflect() protoreflect.Message
func (*RemoveAllResponse) Reset ¶
func (x *RemoveAllResponse) Reset()
func (*RemoveAllResponse) String ¶
func (x *RemoveAllResponse) String() string
type RemoveNamespaceRequest ¶
type RemoveNamespaceRequest struct { // storage_name ... StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` // name ... Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
RemoveNamespaceRequest ...
func (*RemoveNamespaceRequest) Descriptor
deprecated
func (*RemoveNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveNamespaceRequest.ProtoReflect.Descriptor instead.
func (*RemoveNamespaceRequest) GetName ¶
func (x *RemoveNamespaceRequest) GetName() string
func (*RemoveNamespaceRequest) GetStorageName ¶
func (x *RemoveNamespaceRequest) GetStorageName() string
func (*RemoveNamespaceRequest) ProtoMessage ¶
func (*RemoveNamespaceRequest) ProtoMessage()
func (*RemoveNamespaceRequest) ProtoReflect ¶
func (x *RemoveNamespaceRequest) ProtoReflect() protoreflect.Message
func (*RemoveNamespaceRequest) Reset ¶
func (x *RemoveNamespaceRequest) Reset()
func (*RemoveNamespaceRequest) String ¶
func (x *RemoveNamespaceRequest) String() string
type RemoveNamespaceResponse ¶
type RemoveNamespaceResponse struct {
// contains filtered or unexported fields
}
RemoveNamespaceResponse ...
func (*RemoveNamespaceResponse) Descriptor
deprecated
func (*RemoveNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveNamespaceResponse.ProtoReflect.Descriptor instead.
func (*RemoveNamespaceResponse) ProtoMessage ¶
func (*RemoveNamespaceResponse) ProtoMessage()
func (*RemoveNamespaceResponse) ProtoReflect ¶
func (x *RemoveNamespaceResponse) ProtoReflect() protoreflect.Message
func (*RemoveNamespaceResponse) Reset ¶
func (x *RemoveNamespaceResponse) Reset()
func (*RemoveNamespaceResponse) String ¶
func (x *RemoveNamespaceResponse) String() string
type RemoveRepositoryRequest ¶
type RemoveRepositoryRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
RemoveRepositoryRequest ...
func (*RemoveRepositoryRequest) Descriptor
deprecated
func (*RemoveRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRepositoryRequest.ProtoReflect.Descriptor instead.
func (*RemoveRepositoryRequest) GetRepository ¶
func (x *RemoveRepositoryRequest) GetRepository() *Repository
func (*RemoveRepositoryRequest) ProtoMessage ¶
func (*RemoveRepositoryRequest) ProtoMessage()
func (*RemoveRepositoryRequest) ProtoReflect ¶
func (x *RemoveRepositoryRequest) ProtoReflect() protoreflect.Message
func (*RemoveRepositoryRequest) Reset ¶
func (x *RemoveRepositoryRequest) Reset()
func (*RemoveRepositoryRequest) String ¶
func (x *RemoveRepositoryRequest) String() string
type RemoveRepositoryResponse ¶
type RemoveRepositoryResponse struct {
// contains filtered or unexported fields
}
RemoveRepositoryResponse ...
func (*RemoveRepositoryResponse) Descriptor
deprecated
func (*RemoveRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRepositoryResponse.ProtoReflect.Descriptor instead.
func (*RemoveRepositoryResponse) ProtoMessage ¶
func (*RemoveRepositoryResponse) ProtoMessage()
func (*RemoveRepositoryResponse) ProtoReflect ¶
func (x *RemoveRepositoryResponse) ProtoReflect() protoreflect.Message
func (*RemoveRepositoryResponse) Reset ¶
func (x *RemoveRepositoryResponse) Reset()
func (*RemoveRepositoryResponse) String ¶
func (x *RemoveRepositoryResponse) String() string
type RenameNamespaceRequest ¶
type RenameNamespaceRequest struct { // storage_name ... StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` // from ... From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // to ... To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
RenameNamespaceRequest ...
func (*RenameNamespaceRequest) Descriptor
deprecated
func (*RenameNamespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameNamespaceRequest.ProtoReflect.Descriptor instead.
func (*RenameNamespaceRequest) GetFrom ¶
func (x *RenameNamespaceRequest) GetFrom() string
func (*RenameNamespaceRequest) GetStorageName ¶
func (x *RenameNamespaceRequest) GetStorageName() string
func (*RenameNamespaceRequest) GetTo ¶
func (x *RenameNamespaceRequest) GetTo() string
func (*RenameNamespaceRequest) ProtoMessage ¶
func (*RenameNamespaceRequest) ProtoMessage()
func (*RenameNamespaceRequest) ProtoReflect ¶
func (x *RenameNamespaceRequest) ProtoReflect() protoreflect.Message
func (*RenameNamespaceRequest) Reset ¶
func (x *RenameNamespaceRequest) Reset()
func (*RenameNamespaceRequest) String ¶
func (x *RenameNamespaceRequest) String() string
type RenameNamespaceResponse ¶
type RenameNamespaceResponse struct {
// contains filtered or unexported fields
}
RenameNamespaceResponse ...
func (*RenameNamespaceResponse) Descriptor
deprecated
func (*RenameNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenameNamespaceResponse.ProtoReflect.Descriptor instead.
func (*RenameNamespaceResponse) ProtoMessage ¶
func (*RenameNamespaceResponse) ProtoMessage()
func (*RenameNamespaceResponse) ProtoReflect ¶
func (x *RenameNamespaceResponse) ProtoReflect() protoreflect.Message
func (*RenameNamespaceResponse) Reset ¶
func (x *RenameNamespaceResponse) Reset()
func (*RenameNamespaceResponse) String ¶
func (x *RenameNamespaceResponse) String() string
type RenameRepositoryRequest ¶
type RenameRepositoryRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // relative_path ... RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // contains filtered or unexported fields }
RenameRepositoryRequest ...
func (*RenameRepositoryRequest) Descriptor
deprecated
func (*RenameRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameRepositoryRequest.ProtoReflect.Descriptor instead.
func (*RenameRepositoryRequest) GetRelativePath ¶
func (x *RenameRepositoryRequest) GetRelativePath() string
func (*RenameRepositoryRequest) GetRepository ¶
func (x *RenameRepositoryRequest) GetRepository() *Repository
func (*RenameRepositoryRequest) ProtoMessage ¶
func (*RenameRepositoryRequest) ProtoMessage()
func (*RenameRepositoryRequest) ProtoReflect ¶
func (x *RenameRepositoryRequest) ProtoReflect() protoreflect.Message
func (*RenameRepositoryRequest) Reset ¶
func (x *RenameRepositoryRequest) Reset()
func (*RenameRepositoryRequest) String ¶
func (x *RenameRepositoryRequest) String() string
type RenameRepositoryResponse ¶
type RenameRepositoryResponse struct {
// contains filtered or unexported fields
}
RenameRepositoryResponse ...
func (*RenameRepositoryResponse) Descriptor
deprecated
func (*RenameRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenameRepositoryResponse.ProtoReflect.Descriptor instead.
func (*RenameRepositoryResponse) ProtoMessage ¶
func (*RenameRepositoryResponse) ProtoMessage()
func (*RenameRepositoryResponse) ProtoReflect ¶
func (x *RenameRepositoryResponse) ProtoReflect() protoreflect.Message
func (*RenameRepositoryResponse) Reset ¶
func (x *RenameRepositoryResponse) Reset()
func (*RenameRepositoryResponse) String ¶
func (x *RenameRepositoryResponse) String() string
type ReplicateRepositoryRequest ¶
type ReplicateRepositoryRequest struct { // repository is the target repository that the RPC replicates to. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // source is the source repository that the RPC replicates from. This repository can sit on a // different storage node. The information for how to connect to this storage node needs to be // injected into the gRPC context by the caller by setting the `gitaly-servers` metadata. Source *Repository `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // replicate_object_deduplication_network_membership enables replication of the source repository's // object pool to the target repository's storage and recreates the Git `alternates` link. If the // source repository is not linked to an object pool, no linking or additional replication is // performed. In the event the target repository is linked to an object pool, but the source // repository is not part of an object deduplication network, the target repository is // disconnected from its object pool. ReplicateObjectDeduplicationNetworkMembership bool `` /* 203-byte string literal not displayed */ // contains filtered or unexported fields }
ReplicateRepositoryRequest is a request for the ReplicateRepository RPC.
func (*ReplicateRepositoryRequest) Descriptor
deprecated
func (*ReplicateRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReplicateRepositoryRequest.ProtoReflect.Descriptor instead.
func (*ReplicateRepositoryRequest) GetReplicateObjectDeduplicationNetworkMembership ¶ added in v16.3.0
func (x *ReplicateRepositoryRequest) GetReplicateObjectDeduplicationNetworkMembership() bool
func (*ReplicateRepositoryRequest) GetRepository ¶
func (x *ReplicateRepositoryRequest) GetRepository() *Repository
func (*ReplicateRepositoryRequest) GetSource ¶
func (x *ReplicateRepositoryRequest) GetSource() *Repository
func (*ReplicateRepositoryRequest) ProtoMessage ¶
func (*ReplicateRepositoryRequest) ProtoMessage()
func (*ReplicateRepositoryRequest) ProtoReflect ¶
func (x *ReplicateRepositoryRequest) ProtoReflect() protoreflect.Message
func (*ReplicateRepositoryRequest) Reset ¶
func (x *ReplicateRepositoryRequest) Reset()
func (*ReplicateRepositoryRequest) String ¶
func (x *ReplicateRepositoryRequest) String() string
type ReplicateRepositoryResponse ¶
type ReplicateRepositoryResponse struct {
// contains filtered or unexported fields
}
ReplicateRepositoryResponse is a response for the ReplicateRepository RPC.
func (*ReplicateRepositoryResponse) Descriptor
deprecated
func (*ReplicateRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReplicateRepositoryResponse.ProtoReflect.Descriptor instead.
func (*ReplicateRepositoryResponse) ProtoMessage ¶
func (*ReplicateRepositoryResponse) ProtoMessage()
func (*ReplicateRepositoryResponse) ProtoReflect ¶
func (x *ReplicateRepositoryResponse) ProtoReflect() protoreflect.Message
func (*ReplicateRepositoryResponse) Reset ¶
func (x *ReplicateRepositoryResponse) Reset()
func (*ReplicateRepositoryResponse) String ¶
func (x *ReplicateRepositoryResponse) String() string
type Repository ¶
type Repository struct { // storage_name ... StorageName string `protobuf:"bytes,2,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` // relative_path ... RelativePath string `protobuf:"bytes,3,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // git_object_directory sets the GIT_OBJECT_DIRECTORY envvar on git commands to the value of this field. // It influences the object storage directory the SHA1 directories are created underneath. GitObjectDirectory string `protobuf:"bytes,4,opt,name=git_object_directory,json=gitObjectDirectory,proto3" json:"git_object_directory,omitempty"` // git_alternate_object_directories sets the GIT_ALTERNATE_OBJECT_DIRECTORIES envvar on git commands to // the values of this field. It influences the list of Git object directories which can be used to search // for Git objects. GitAlternateObjectDirectories []string `` /* 152-byte string literal not displayed */ // gl_repository is used in callbacks to GitLab so that it knows what repository the event is // associated with. May be left empty on RPC's that do not perform callbacks. // During project creation, `gl_repository` may not be known. GlRepository string `protobuf:"bytes,6,opt,name=gl_repository,json=glRepository,proto3" json:"gl_repository,omitempty"` // gl_project_path is the human-readable GitLab project path (e.g. gitlab-org/gitlab-ce). // When hashed storage is use, this associates a project path with its // path on disk. The name can change over time (e.g. when a project is // renamed). This is primarily used for logging/debugging at the // moment. GlProjectPath string `protobuf:"bytes,8,opt,name=gl_project_path,json=glProjectPath,proto3" json:"gl_project_path,omitempty"` // contains filtered or unexported fields }
Repository ...
func (*Repository) Descriptor
deprecated
func (*Repository) Descriptor() ([]byte, []int)
Deprecated: Use Repository.ProtoReflect.Descriptor instead.
func (*Repository) GetGitAlternateObjectDirectories ¶
func (x *Repository) GetGitAlternateObjectDirectories() []string
func (*Repository) GetGitObjectDirectory ¶
func (x *Repository) GetGitObjectDirectory() string
func (*Repository) GetGlProjectPath ¶
func (x *Repository) GetGlProjectPath() string
func (*Repository) GetGlRepository ¶
func (x *Repository) GetGlRepository() string
func (*Repository) GetRelativePath ¶
func (x *Repository) GetRelativePath() string
func (*Repository) GetStorageName ¶
func (x *Repository) GetStorageName() string
func (*Repository) ProtoMessage ¶
func (*Repository) ProtoMessage()
func (*Repository) ProtoReflect ¶
func (x *Repository) ProtoReflect() protoreflect.Message
func (*Repository) Reset ¶
func (x *Repository) Reset()
func (*Repository) String ¶
func (x *Repository) String() string
type RepositoryExistsRequest ¶
type RepositoryExistsRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
RepositoryExistsRequest ...
func (*RepositoryExistsRequest) Descriptor
deprecated
func (*RepositoryExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryExistsRequest.ProtoReflect.Descriptor instead.
func (*RepositoryExistsRequest) GetRepository ¶
func (x *RepositoryExistsRequest) GetRepository() *Repository
func (*RepositoryExistsRequest) ProtoMessage ¶
func (*RepositoryExistsRequest) ProtoMessage()
func (*RepositoryExistsRequest) ProtoReflect ¶
func (x *RepositoryExistsRequest) ProtoReflect() protoreflect.Message
func (*RepositoryExistsRequest) Reset ¶
func (x *RepositoryExistsRequest) Reset()
func (*RepositoryExistsRequest) String ¶
func (x *RepositoryExistsRequest) String() string
type RepositoryExistsResponse ¶
type RepositoryExistsResponse struct { // exists ... Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
RepositoryExistsResponse ...
func (*RepositoryExistsResponse) Descriptor
deprecated
func (*RepositoryExistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryExistsResponse.ProtoReflect.Descriptor instead.
func (*RepositoryExistsResponse) GetExists ¶
func (x *RepositoryExistsResponse) GetExists() bool
func (*RepositoryExistsResponse) ProtoMessage ¶
func (*RepositoryExistsResponse) ProtoMessage()
func (*RepositoryExistsResponse) ProtoReflect ¶
func (x *RepositoryExistsResponse) ProtoReflect() protoreflect.Message
func (*RepositoryExistsResponse) Reset ¶
func (x *RepositoryExistsResponse) Reset()
func (*RepositoryExistsResponse) String ¶
func (x *RepositoryExistsResponse) String() string
type RepositoryInfoRequest ¶
type RepositoryInfoRequest struct { // repository is the repository to query for information. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
RepositoryInfoRequest is a request for the RepositoryInfo RPC.
func (*RepositoryInfoRequest) Descriptor
deprecated
func (*RepositoryInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryInfoRequest.ProtoReflect.Descriptor instead.
func (*RepositoryInfoRequest) GetRepository ¶
func (x *RepositoryInfoRequest) GetRepository() *Repository
func (*RepositoryInfoRequest) ProtoMessage ¶
func (*RepositoryInfoRequest) ProtoMessage()
func (*RepositoryInfoRequest) ProtoReflect ¶
func (x *RepositoryInfoRequest) ProtoReflect() protoreflect.Message
func (*RepositoryInfoRequest) Reset ¶
func (x *RepositoryInfoRequest) Reset()
func (*RepositoryInfoRequest) String ¶
func (x *RepositoryInfoRequest) String() string
type RepositoryInfoResponse ¶
type RepositoryInfoResponse struct { // size is the total size of all files part of the repository. It does not include the size of // directories. Size uint64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // references contains information about references. References *RepositoryInfoResponse_ReferencesInfo `protobuf:"bytes,2,opt,name=references,proto3" json:"references,omitempty"` // objects contains information about objects. Objects *RepositoryInfoResponse_ObjectsInfo `protobuf:"bytes,3,opt,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
RepositoryInfoResponse is a response for the RepositoryInfo RPC.
func (*RepositoryInfoResponse) Descriptor
deprecated
func (*RepositoryInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryInfoResponse.ProtoReflect.Descriptor instead.
func (*RepositoryInfoResponse) GetObjects ¶
func (x *RepositoryInfoResponse) GetObjects() *RepositoryInfoResponse_ObjectsInfo
func (*RepositoryInfoResponse) GetReferences ¶
func (x *RepositoryInfoResponse) GetReferences() *RepositoryInfoResponse_ReferencesInfo
func (*RepositoryInfoResponse) GetSize ¶
func (x *RepositoryInfoResponse) GetSize() uint64
func (*RepositoryInfoResponse) ProtoMessage ¶
func (*RepositoryInfoResponse) ProtoMessage()
func (*RepositoryInfoResponse) ProtoReflect ¶
func (x *RepositoryInfoResponse) ProtoReflect() protoreflect.Message
func (*RepositoryInfoResponse) Reset ¶
func (x *RepositoryInfoResponse) Reset()
func (*RepositoryInfoResponse) String ¶
func (x *RepositoryInfoResponse) String() string
type RepositoryInfoResponse_ObjectsInfo ¶
type RepositoryInfoResponse_ObjectsInfo struct { // size is the total size of all objects in the repository in bytes. It makes no distinction // between the way they are stored or whether they are pending deletion. Size uint64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // recent_size is the total size of all objects in bytes that are considered to be recent. Recent // objects are likely reachable and will not be considered for deletion. RecentSize uint64 `protobuf:"varint,2,opt,name=recent_size,json=recentSize,proto3" json:"recent_size,omitempty"` // stale_size is the total size of all objects in bytes that are considered to be stale. Stale // objects are likely unreachable and will eventually be deleted after a grace period. Objects // which are part of cruft packs are always considered to be stale. StaleSize uint64 `protobuf:"varint,3,opt,name=stale_size,json=staleSize,proto3" json:"stale_size,omitempty"` // keep_size is the total size of all kept packfiles. Kept packfiles are packfiles that have a // `.keep` file accompanying them. Packfiles marked with such a file will never be deleted by // Git and will thus stay around forever, even if their objects are part of // other packfiles already. KeepSize uint64 `protobuf:"varint,4,opt,name=keep_size,json=keepSize,proto3" json:"keep_size,omitempty"` // contains filtered or unexported fields }
ObjectsInfo hosts info about objects contained in a repository. It tries to bridge the gap between the actual on-disk state that is changing over time as Git introduces new ways to perform repository housekeeping and specific classifications of objects.
One of the distinctions is between "recent" and "stale" objects. The set of recent objects contains these objects that have either been recently written/accessed or those which are reachable via any of the references. Stale objects on the other hand are those that are older than a certain grace period and which are not reachable via any reference. The exact details when the set of stale and recent objects is updated is an internal implementation detail of Gitaly and subject to change. It is safe to assume though that unreachable objects will eventually be marked stale when repository housekeeping runs on a repository.
func (*RepositoryInfoResponse_ObjectsInfo) Descriptor
deprecated
func (*RepositoryInfoResponse_ObjectsInfo) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryInfoResponse_ObjectsInfo.ProtoReflect.Descriptor instead.
func (*RepositoryInfoResponse_ObjectsInfo) GetKeepSize ¶
func (x *RepositoryInfoResponse_ObjectsInfo) GetKeepSize() uint64
func (*RepositoryInfoResponse_ObjectsInfo) GetRecentSize ¶
func (x *RepositoryInfoResponse_ObjectsInfo) GetRecentSize() uint64
func (*RepositoryInfoResponse_ObjectsInfo) GetSize ¶
func (x *RepositoryInfoResponse_ObjectsInfo) GetSize() uint64
func (*RepositoryInfoResponse_ObjectsInfo) GetStaleSize ¶
func (x *RepositoryInfoResponse_ObjectsInfo) GetStaleSize() uint64
func (*RepositoryInfoResponse_ObjectsInfo) ProtoMessage ¶
func (*RepositoryInfoResponse_ObjectsInfo) ProtoMessage()
func (*RepositoryInfoResponse_ObjectsInfo) ProtoReflect ¶
func (x *RepositoryInfoResponse_ObjectsInfo) ProtoReflect() protoreflect.Message
func (*RepositoryInfoResponse_ObjectsInfo) Reset ¶
func (x *RepositoryInfoResponse_ObjectsInfo) Reset()
func (*RepositoryInfoResponse_ObjectsInfo) String ¶
func (x *RepositoryInfoResponse_ObjectsInfo) String() string
type RepositoryInfoResponse_ReferencesInfo ¶
type RepositoryInfoResponse_ReferencesInfo struct { // loose_count is the number of loose references that exist in the repository. These references // are written whenever any reference either gets updated or created. Loose references have not // yet been compressed into a packed format, which is an action that Gitaly performs regularly // during repository maintenance. // // We do not provide the total size of loose references as it is a constant factor of the count // anyway: `$count * $object_hash_length`. LooseCount uint64 `protobuf:"varint,1,opt,name=loose_count,json=looseCount,proto3" json:"loose_count,omitempty"` // packed_size is the size of packed references in bytes. Packed references are a more efficient // way to store loose references. Given that determining the exact amount of references stored // in packed format would require us to process the complete contents we don't provide the size // here. A very rough estimate would be: `$size / 100`. PackedSize uint64 `protobuf:"varint,2,opt,name=packed_size,json=packedSize,proto3" json:"packed_size,omitempty"` // contains filtered or unexported fields }
ReferencesInfo hosts information about references.
func (*RepositoryInfoResponse_ReferencesInfo) Descriptor
deprecated
func (*RepositoryInfoResponse_ReferencesInfo) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryInfoResponse_ReferencesInfo.ProtoReflect.Descriptor instead.
func (*RepositoryInfoResponse_ReferencesInfo) GetLooseCount ¶
func (x *RepositoryInfoResponse_ReferencesInfo) GetLooseCount() uint64
func (*RepositoryInfoResponse_ReferencesInfo) GetPackedSize ¶
func (x *RepositoryInfoResponse_ReferencesInfo) GetPackedSize() uint64
func (*RepositoryInfoResponse_ReferencesInfo) ProtoMessage ¶
func (*RepositoryInfoResponse_ReferencesInfo) ProtoMessage()
func (*RepositoryInfoResponse_ReferencesInfo) ProtoReflect ¶
func (x *RepositoryInfoResponse_ReferencesInfo) ProtoReflect() protoreflect.Message
func (*RepositoryInfoResponse_ReferencesInfo) Reset ¶
func (x *RepositoryInfoResponse_ReferencesInfo) Reset()
func (*RepositoryInfoResponse_ReferencesInfo) String ¶
func (x *RepositoryInfoResponse_ReferencesInfo) String() string
type RepositoryReplicasRequest ¶
type RepositoryReplicasRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
RepositoryReplicasRequest ...
func (*RepositoryReplicasRequest) Descriptor
deprecated
func (*RepositoryReplicasRequest) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryReplicasRequest.ProtoReflect.Descriptor instead.
func (*RepositoryReplicasRequest) GetRepository ¶
func (x *RepositoryReplicasRequest) GetRepository() *Repository
func (*RepositoryReplicasRequest) ProtoMessage ¶
func (*RepositoryReplicasRequest) ProtoMessage()
func (*RepositoryReplicasRequest) ProtoReflect ¶
func (x *RepositoryReplicasRequest) ProtoReflect() protoreflect.Message
func (*RepositoryReplicasRequest) Reset ¶
func (x *RepositoryReplicasRequest) Reset()
func (*RepositoryReplicasRequest) String ¶
func (x *RepositoryReplicasRequest) String() string
type RepositoryReplicasResponse ¶
type RepositoryReplicasResponse struct { // primary ... Primary *RepositoryReplicasResponse_RepositoryDetails `protobuf:"bytes,1,opt,name=primary,proto3" json:"primary,omitempty"` // replicas ... Replicas []*RepositoryReplicasResponse_RepositoryDetails `protobuf:"bytes,2,rep,name=replicas,proto3" json:"replicas,omitempty"` // contains filtered or unexported fields }
RepositoryReplicasResponse ...
func (*RepositoryReplicasResponse) Descriptor
deprecated
func (*RepositoryReplicasResponse) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryReplicasResponse.ProtoReflect.Descriptor instead.
func (*RepositoryReplicasResponse) GetPrimary ¶
func (x *RepositoryReplicasResponse) GetPrimary() *RepositoryReplicasResponse_RepositoryDetails
func (*RepositoryReplicasResponse) GetReplicas ¶
func (x *RepositoryReplicasResponse) GetReplicas() []*RepositoryReplicasResponse_RepositoryDetails
func (*RepositoryReplicasResponse) ProtoMessage ¶
func (*RepositoryReplicasResponse) ProtoMessage()
func (*RepositoryReplicasResponse) ProtoReflect ¶
func (x *RepositoryReplicasResponse) ProtoReflect() protoreflect.Message
func (*RepositoryReplicasResponse) Reset ¶
func (x *RepositoryReplicasResponse) Reset()
func (*RepositoryReplicasResponse) String ¶
func (x *RepositoryReplicasResponse) String() string
type RepositoryReplicasResponse_RepositoryDetails ¶
type RepositoryReplicasResponse_RepositoryDetails struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // checksum ... Checksum string `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"` // contains filtered or unexported fields }
RepositoryDetails ...
func (*RepositoryReplicasResponse_RepositoryDetails) Descriptor
deprecated
func (*RepositoryReplicasResponse_RepositoryDetails) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryReplicasResponse_RepositoryDetails.ProtoReflect.Descriptor instead.
func (*RepositoryReplicasResponse_RepositoryDetails) GetChecksum ¶
func (x *RepositoryReplicasResponse_RepositoryDetails) GetChecksum() string
func (*RepositoryReplicasResponse_RepositoryDetails) GetRepository ¶
func (x *RepositoryReplicasResponse_RepositoryDetails) GetRepository() *Repository
func (*RepositoryReplicasResponse_RepositoryDetails) ProtoMessage ¶
func (*RepositoryReplicasResponse_RepositoryDetails) ProtoMessage()
func (*RepositoryReplicasResponse_RepositoryDetails) ProtoReflect ¶
func (x *RepositoryReplicasResponse_RepositoryDetails) ProtoReflect() protoreflect.Message
func (*RepositoryReplicasResponse_RepositoryDetails) Reset ¶
func (x *RepositoryReplicasResponse_RepositoryDetails) Reset()
func (*RepositoryReplicasResponse_RepositoryDetails) String ¶
func (x *RepositoryReplicasResponse_RepositoryDetails) String() string
type RepositoryServiceClient ¶
type RepositoryServiceClient interface { // RepositoryExists ... RepositoryExists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error) // RepositorySize returns information on the complete on-disk repository size. If you need more // detailed information about the size of various sub-structures you should instead use the // repositoryInfo RPC. RepositorySize(ctx context.Context, in *RepositorySizeRequest, opts ...grpc.CallOption) (*RepositorySizeResponse, error) // RepositoryInfo returns detailed information about a repository and its data structures. RepositoryInfo(ctx context.Context, in *RepositoryInfoRequest, opts ...grpc.CallOption) (*RepositoryInfoResponse, error) // ObjectsSize calculates the total on-disk object size of reachable objects in bytes. In contrast // to RepositorySize and RepositoryInfo, this RPC performs a graph walk of the specified revisions // and will thus return an accurate view of how large the accumulated on-disk size of reachable // objects is. // // As this RPC needs to perform a revision walk, it is significantly more expensive than the RPCs // which simply check the size of on-disk data structures. On the other hand, it allows the caller // to accurately compute the size of objects in a way that is at least somewhat detached from the // on-disk representation: // // - Objects which exist in multiple packfiles will not be double-counted. // - Objects which aren't reachable will not be accounted for. // - It is possible to only account for a subset of references, e.g. only those that an admin // would have direct control over. // // It is thus recommended to use this RPC whenever you want to calculate sizes which will end up // being shown to the user. // // Note that the size is still bound to change when repositories are getting repacked and thus // cannot be considered to be stable. This is because the on-disk size of any object can change // depending on how Git decides to deltify it in a packfile. Thus, when a repack would cause a // different delta base to be picked, the actual on-disk size of any given object may change. ObjectsSize(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_ObjectsSizeClient, error) // ObjectFormat determines the object format that is being used by the repository. ObjectFormat(ctx context.Context, in *ObjectFormatRequest, opts ...grpc.CallOption) (*ObjectFormatResponse, error) // ApplyGitattributes ... ApplyGitattributes(ctx context.Context, in *ApplyGitattributesRequest, opts ...grpc.CallOption) (*ApplyGitattributesResponse, error) // FetchRemote fetches references from a remote repository into the local // repository. FetchRemote(ctx context.Context, in *FetchRemoteRequest, opts ...grpc.CallOption) (*FetchRemoteResponse, error) // CreateRepository ... CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*CreateRepositoryResponse, error) // GetArchive ... GetArchive(ctx context.Context, in *GetArchiveRequest, opts ...grpc.CallOption) (RepositoryService_GetArchiveClient, error) // HasLocalBranches ... HasLocalBranches(ctx context.Context, in *HasLocalBranchesRequest, opts ...grpc.CallOption) (*HasLocalBranchesResponse, error) // FetchSourceBranch fetches a branch from a second (potentially remote) // repository into the given repository. FetchSourceBranch(ctx context.Context, in *FetchSourceBranchRequest, opts ...grpc.CallOption) (*FetchSourceBranchResponse, error) // Fsck checks the repository for consistency via git-fsck(1). This can be used to check for // repository corruption. Fsck(ctx context.Context, in *FsckRequest, opts ...grpc.CallOption) (*FsckResponse, error) // WriteRef ... WriteRef(ctx context.Context, in *WriteRefRequest, opts ...grpc.CallOption) (*WriteRefResponse, error) // FindMergeBase ... FindMergeBase(ctx context.Context, in *FindMergeBaseRequest, opts ...grpc.CallOption) (*FindMergeBaseResponse, error) // CreateFork creates a new repository from a specific source repository. This new repository will // have the same branches and tags as the source repository. Internal references will not be // recreated in the forked repository. // // all objects of the source repository will be duplicated, that is there are no space savings by // creating the repository like this. The newly created repository does not join the object pool // of the source repository, if there is any. CreateFork(ctx context.Context, in *CreateForkRequest, opts ...grpc.CallOption) (*CreateForkResponse, error) // CreateRepositoryFromURL ... CreateRepositoryFromURL(ctx context.Context, in *CreateRepositoryFromURLRequest, opts ...grpc.CallOption) (*CreateRepositoryFromURLResponse, error) // CreateBundle creates a bundle from all refs CreateBundle(ctx context.Context, in *CreateBundleRequest, opts ...grpc.CallOption) (RepositoryService_CreateBundleClient, error) // CreateBundleFromRefList creates a bundle from a stream of ref patterns. // When the bundle would be empty the FailedPrecondition error code is returned. CreateBundleFromRefList(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_CreateBundleFromRefListClient, error) // FetchBundle fetches references from a bundle into the local repository. // refs will be mirrored to the target repository with the refspec // "+refs/*:refs/*" and refs that do not exist in the bundle will be removed. FetchBundle(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_FetchBundleClient, error) // CreateRepositoryFromBundle creates a Git repository at the specified storage and path, if it // does not already exist, from the provided Git bundle. CreateRepositoryFromBundle(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_CreateRepositoryFromBundleClient, error) // GetConfig reads the target repository's gitconfig and streams its contents // back. Returns a NotFound error in case no gitconfig was found. GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (RepositoryService_GetConfigClient, error) // FindLicense looks in the given repository and attempts to detect all the // details about the license used in the repository. FindLicense(ctx context.Context, in *FindLicenseRequest, opts ...grpc.CallOption) (*FindLicenseResponse, error) // GetInfoAttributes ... GetInfoAttributes(ctx context.Context, in *GetInfoAttributesRequest, opts ...grpc.CallOption) (RepositoryService_GetInfoAttributesClient, error) // CalculateChecksum ... CalculateChecksum(ctx context.Context, in *CalculateChecksumRequest, opts ...grpc.CallOption) (*CalculateChecksumResponse, error) // GetSnapshot ... GetSnapshot(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (RepositoryService_GetSnapshotClient, error) // CreateRepositoryFromSnapshot ... CreateRepositoryFromSnapshot(ctx context.Context, in *CreateRepositoryFromSnapshotRequest, opts ...grpc.CallOption) (*CreateRepositoryFromSnapshotResponse, error) // GetRawChanges ... GetRawChanges(ctx context.Context, in *GetRawChangesRequest, opts ...grpc.CallOption) (RepositoryService_GetRawChangesClient, error) // SearchFilesByContent ... SearchFilesByContent(ctx context.Context, in *SearchFilesByContentRequest, opts ...grpc.CallOption) (RepositoryService_SearchFilesByContentClient, error) // SearchFilesByName ... SearchFilesByName(ctx context.Context, in *SearchFilesByNameRequest, opts ...grpc.CallOption) (RepositoryService_SearchFilesByNameClient, error) // Deprecated: Do not use. // RestoreCustomHooks sets the git hooks for a repository. The hooks are sent // in a tar archive containing a `custom_hooks` directory. This directory is // ultimately extracted to the repository. RestoreCustomHooks(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_RestoreCustomHooksClient, error) // SetCustomHooks sets the git hooks for a repository. The hooks are sent in a // tar archive containing a `custom_hooks` directory. This directory is // ultimately extracted to the repository. SetCustomHooks(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_SetCustomHooksClient, error) // Deprecated: Do not use. // BackupCustomHooks fetches the git hooks for a repository. The hooks are // sent in a tar archive containing a `custom_hooks` directory. If no hooks // are present in the repository, the response will have no data. BackupCustomHooks(ctx context.Context, in *BackupCustomHooksRequest, opts ...grpc.CallOption) (RepositoryService_BackupCustomHooksClient, error) // GetCustomHooks fetches the git hooks for a repository. The hooks are sent // in a tar archive containing a `custom_hooks` directory. If no hooks are // present in the repository, the response will have no data. GetCustomHooks(ctx context.Context, in *GetCustomHooksRequest, opts ...grpc.CallOption) (RepositoryService_GetCustomHooksClient, error) // GetObjectDirectorySize ... GetObjectDirectorySize(ctx context.Context, in *GetObjectDirectorySizeRequest, opts ...grpc.CallOption) (*GetObjectDirectorySizeResponse, error) // RemoveRepository will move the repository to `+gitaly/tmp/<relative_path>_removed` and // eventually remove it. This ensures that even on networked filesystems the // data is actually removed even if there's someone still handling the data. RemoveRepository(ctx context.Context, in *RemoveRepositoryRequest, opts ...grpc.CallOption) (*RemoveRepositoryResponse, error) // RenameRepository ... RenameRepository(ctx context.Context, in *RenameRepositoryRequest, opts ...grpc.CallOption) (*RenameRepositoryResponse, error) // ReplicateRepository replicates data from a source repository to target repository. On the // target repository, this operation ensures synchronization of the following components: // // - Git config // - Git attributes // - Custom Git hooks, // - References and objects // - (Optional) Object deduplication network membership ReplicateRepository(ctx context.Context, in *ReplicateRepositoryRequest, opts ...grpc.CallOption) (*ReplicateRepositoryResponse, error) // OptimizeRepository performs all maintenance tasks in a repository to keep // it in an efficient state. It cleans up stale data, repacks objects, // updates auxiliary caches like commit-graphs and packs references. The // optimizations performed are based on heuristics and will adapt to the // repository's size. This RPC call is designed as a black-box such that // Gitaly has complete control of the on-disk state of repositories. OptimizeRepository(ctx context.Context, in *OptimizeRepositoryRequest, opts ...grpc.CallOption) (*OptimizeRepositoryResponse, error) // PruneUnreachableObjects will prune all objects which aren't reachable from // the repository's current set of references. Because pruning can only // happen for objects which aren't packed, you are required to first run // OptimizeRepository to explode any unreachable objects into loose objects. // // Furthermore, this RPC call has a grace period of 30 minutes: any // unreachable loose objects must not have been accessed or modified in the // last 30 minutes. This is a hard requirement to avoid repository corruption. // // to make proper use of this RPC you thus need to call OptimizeRepository, // wait 30 minutes, and then call PruneUnreachableObjects. PruneUnreachableObjects(ctx context.Context, in *PruneUnreachableObjectsRequest, opts ...grpc.CallOption) (*PruneUnreachableObjectsResponse, error) // Deprecated: Do not use. // SetFullPath writes the "gitlab.fullpath" configuration into the // repository's gitconfig. This is mainly to help debugging purposes in case // an admin inspects the repository's gitconfig such that he can easily see // what the repository name is. SetFullPath(ctx context.Context, in *SetFullPathRequest, opts ...grpc.CallOption) (*SetFullPathResponse, error) // Deprecated: Do not use. // FullPath reads the "gitlab.fullpath" configuration from the repository's // gitconfig. Returns an error in case the full path has not been configured. FullPath(ctx context.Context, in *FullPathRequest, opts ...grpc.CallOption) (*FullPathResponse, error) // RemoveAll deletes all repositories on a specified storage. RemoveAll(ctx context.Context, in *RemoveAllRequest, opts ...grpc.CallOption) (*RemoveAllResponse, error) // BackupRepository creates a full backup streamed directly to // object-storage. The backup is created synchronously. The destination must // be configured in config.backup.go_cloud_url BackupRepository(ctx context.Context, in *BackupRepositoryRequest, opts ...grpc.CallOption) (*BackupRepositoryResponse, error) // RestoreRepository restores a backup streamed directly from object-storage. // The repository is restored synchronously. The source object-storage must // be configured in config.backup.go_cloud_url RestoreRepository(ctx context.Context, in *RestoreRepositoryRequest, opts ...grpc.CallOption) (*RestoreRepositoryResponse, error) // GetFileAttributes queries given file attributes as specified in .gitattributes file GetFileAttributes(ctx context.Context, in *GetFileAttributesRequest, opts ...grpc.CallOption) (*GetFileAttributesResponse, error) }
RepositoryServiceClient is the client API for RepositoryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRepositoryServiceClient ¶
func NewRepositoryServiceClient(cc grpc.ClientConnInterface) RepositoryServiceClient
type RepositoryServiceServer ¶
type RepositoryServiceServer interface { // RepositoryExists ... RepositoryExists(context.Context, *RepositoryExistsRequest) (*RepositoryExistsResponse, error) // RepositorySize returns information on the complete on-disk repository size. If you need more // detailed information about the size of various sub-structures you should instead use the // repositoryInfo RPC. RepositorySize(context.Context, *RepositorySizeRequest) (*RepositorySizeResponse, error) // RepositoryInfo returns detailed information about a repository and its data structures. RepositoryInfo(context.Context, *RepositoryInfoRequest) (*RepositoryInfoResponse, error) // ObjectsSize calculates the total on-disk object size of reachable objects in bytes. In contrast // to RepositorySize and RepositoryInfo, this RPC performs a graph walk of the specified revisions // and will thus return an accurate view of how large the accumulated on-disk size of reachable // objects is. // // As this RPC needs to perform a revision walk, it is significantly more expensive than the RPCs // which simply check the size of on-disk data structures. On the other hand, it allows the caller // to accurately compute the size of objects in a way that is at least somewhat detached from the // on-disk representation: // // - Objects which exist in multiple packfiles will not be double-counted. // - Objects which aren't reachable will not be accounted for. // - It is possible to only account for a subset of references, e.g. only those that an admin // would have direct control over. // // It is thus recommended to use this RPC whenever you want to calculate sizes which will end up // being shown to the user. // // Note that the size is still bound to change when repositories are getting repacked and thus // cannot be considered to be stable. This is because the on-disk size of any object can change // depending on how Git decides to deltify it in a packfile. Thus, when a repack would cause a // different delta base to be picked, the actual on-disk size of any given object may change. ObjectsSize(RepositoryService_ObjectsSizeServer) error // ObjectFormat determines the object format that is being used by the repository. ObjectFormat(context.Context, *ObjectFormatRequest) (*ObjectFormatResponse, error) // ApplyGitattributes ... ApplyGitattributes(context.Context, *ApplyGitattributesRequest) (*ApplyGitattributesResponse, error) // FetchRemote fetches references from a remote repository into the local // repository. FetchRemote(context.Context, *FetchRemoteRequest) (*FetchRemoteResponse, error) // CreateRepository ... CreateRepository(context.Context, *CreateRepositoryRequest) (*CreateRepositoryResponse, error) // GetArchive ... GetArchive(*GetArchiveRequest, RepositoryService_GetArchiveServer) error // HasLocalBranches ... HasLocalBranches(context.Context, *HasLocalBranchesRequest) (*HasLocalBranchesResponse, error) // FetchSourceBranch fetches a branch from a second (potentially remote) // repository into the given repository. FetchSourceBranch(context.Context, *FetchSourceBranchRequest) (*FetchSourceBranchResponse, error) // Fsck checks the repository for consistency via git-fsck(1). This can be used to check for // repository corruption. Fsck(context.Context, *FsckRequest) (*FsckResponse, error) // WriteRef ... WriteRef(context.Context, *WriteRefRequest) (*WriteRefResponse, error) // FindMergeBase ... FindMergeBase(context.Context, *FindMergeBaseRequest) (*FindMergeBaseResponse, error) // CreateFork creates a new repository from a specific source repository. This new repository will // have the same branches and tags as the source repository. Internal references will not be // recreated in the forked repository. // // all objects of the source repository will be duplicated, that is there are no space savings by // creating the repository like this. The newly created repository does not join the object pool // of the source repository, if there is any. CreateFork(context.Context, *CreateForkRequest) (*CreateForkResponse, error) // CreateRepositoryFromURL ... CreateRepositoryFromURL(context.Context, *CreateRepositoryFromURLRequest) (*CreateRepositoryFromURLResponse, error) // CreateBundle creates a bundle from all refs CreateBundle(*CreateBundleRequest, RepositoryService_CreateBundleServer) error // CreateBundleFromRefList creates a bundle from a stream of ref patterns. // When the bundle would be empty the FailedPrecondition error code is returned. CreateBundleFromRefList(RepositoryService_CreateBundleFromRefListServer) error // FetchBundle fetches references from a bundle into the local repository. // refs will be mirrored to the target repository with the refspec // "+refs/*:refs/*" and refs that do not exist in the bundle will be removed. FetchBundle(RepositoryService_FetchBundleServer) error // CreateRepositoryFromBundle creates a Git repository at the specified storage and path, if it // does not already exist, from the provided Git bundle. CreateRepositoryFromBundle(RepositoryService_CreateRepositoryFromBundleServer) error // GetConfig reads the target repository's gitconfig and streams its contents // back. Returns a NotFound error in case no gitconfig was found. GetConfig(*GetConfigRequest, RepositoryService_GetConfigServer) error // FindLicense looks in the given repository and attempts to detect all the // details about the license used in the repository. FindLicense(context.Context, *FindLicenseRequest) (*FindLicenseResponse, error) // GetInfoAttributes ... GetInfoAttributes(*GetInfoAttributesRequest, RepositoryService_GetInfoAttributesServer) error // CalculateChecksum ... CalculateChecksum(context.Context, *CalculateChecksumRequest) (*CalculateChecksumResponse, error) // GetSnapshot ... GetSnapshot(*GetSnapshotRequest, RepositoryService_GetSnapshotServer) error // CreateRepositoryFromSnapshot ... CreateRepositoryFromSnapshot(context.Context, *CreateRepositoryFromSnapshotRequest) (*CreateRepositoryFromSnapshotResponse, error) // GetRawChanges ... GetRawChanges(*GetRawChangesRequest, RepositoryService_GetRawChangesServer) error // SearchFilesByContent ... SearchFilesByContent(*SearchFilesByContentRequest, RepositoryService_SearchFilesByContentServer) error // SearchFilesByName ... SearchFilesByName(*SearchFilesByNameRequest, RepositoryService_SearchFilesByNameServer) error // Deprecated: Do not use. // RestoreCustomHooks sets the git hooks for a repository. The hooks are sent // in a tar archive containing a `custom_hooks` directory. This directory is // ultimately extracted to the repository. RestoreCustomHooks(RepositoryService_RestoreCustomHooksServer) error // SetCustomHooks sets the git hooks for a repository. The hooks are sent in a // tar archive containing a `custom_hooks` directory. This directory is // ultimately extracted to the repository. SetCustomHooks(RepositoryService_SetCustomHooksServer) error // Deprecated: Do not use. // BackupCustomHooks fetches the git hooks for a repository. The hooks are // sent in a tar archive containing a `custom_hooks` directory. If no hooks // are present in the repository, the response will have no data. BackupCustomHooks(*BackupCustomHooksRequest, RepositoryService_BackupCustomHooksServer) error // GetCustomHooks fetches the git hooks for a repository. The hooks are sent // in a tar archive containing a `custom_hooks` directory. If no hooks are // present in the repository, the response will have no data. GetCustomHooks(*GetCustomHooksRequest, RepositoryService_GetCustomHooksServer) error // GetObjectDirectorySize ... GetObjectDirectorySize(context.Context, *GetObjectDirectorySizeRequest) (*GetObjectDirectorySizeResponse, error) // RemoveRepository will move the repository to `+gitaly/tmp/<relative_path>_removed` and // eventually remove it. This ensures that even on networked filesystems the // data is actually removed even if there's someone still handling the data. RemoveRepository(context.Context, *RemoveRepositoryRequest) (*RemoveRepositoryResponse, error) // RenameRepository ... RenameRepository(context.Context, *RenameRepositoryRequest) (*RenameRepositoryResponse, error) // ReplicateRepository replicates data from a source repository to target repository. On the // target repository, this operation ensures synchronization of the following components: // // - Git config // - Git attributes // - Custom Git hooks, // - References and objects // - (Optional) Object deduplication network membership ReplicateRepository(context.Context, *ReplicateRepositoryRequest) (*ReplicateRepositoryResponse, error) // OptimizeRepository performs all maintenance tasks in a repository to keep // it in an efficient state. It cleans up stale data, repacks objects, // updates auxiliary caches like commit-graphs and packs references. The // optimizations performed are based on heuristics and will adapt to the // repository's size. This RPC call is designed as a black-box such that // Gitaly has complete control of the on-disk state of repositories. OptimizeRepository(context.Context, *OptimizeRepositoryRequest) (*OptimizeRepositoryResponse, error) // PruneUnreachableObjects will prune all objects which aren't reachable from // the repository's current set of references. Because pruning can only // happen for objects which aren't packed, you are required to first run // OptimizeRepository to explode any unreachable objects into loose objects. // // Furthermore, this RPC call has a grace period of 30 minutes: any // unreachable loose objects must not have been accessed or modified in the // last 30 minutes. This is a hard requirement to avoid repository corruption. // // to make proper use of this RPC you thus need to call OptimizeRepository, // wait 30 minutes, and then call PruneUnreachableObjects. PruneUnreachableObjects(context.Context, *PruneUnreachableObjectsRequest) (*PruneUnreachableObjectsResponse, error) // Deprecated: Do not use. // SetFullPath writes the "gitlab.fullpath" configuration into the // repository's gitconfig. This is mainly to help debugging purposes in case // an admin inspects the repository's gitconfig such that he can easily see // what the repository name is. SetFullPath(context.Context, *SetFullPathRequest) (*SetFullPathResponse, error) // Deprecated: Do not use. // FullPath reads the "gitlab.fullpath" configuration from the repository's // gitconfig. Returns an error in case the full path has not been configured. FullPath(context.Context, *FullPathRequest) (*FullPathResponse, error) // RemoveAll deletes all repositories on a specified storage. RemoveAll(context.Context, *RemoveAllRequest) (*RemoveAllResponse, error) // BackupRepository creates a full backup streamed directly to // object-storage. The backup is created synchronously. The destination must // be configured in config.backup.go_cloud_url BackupRepository(context.Context, *BackupRepositoryRequest) (*BackupRepositoryResponse, error) // RestoreRepository restores a backup streamed directly from object-storage. // The repository is restored synchronously. The source object-storage must // be configured in config.backup.go_cloud_url RestoreRepository(context.Context, *RestoreRepositoryRequest) (*RestoreRepositoryResponse, error) // GetFileAttributes queries given file attributes as specified in .gitattributes file GetFileAttributes(context.Context, *GetFileAttributesRequest) (*GetFileAttributesResponse, error) // contains filtered or unexported methods }
RepositoryServiceServer is the server API for RepositoryService service. All implementations must embed UnimplementedRepositoryServiceServer for forward compatibility
type RepositoryService_BackupCustomHooksClient ¶
type RepositoryService_BackupCustomHooksClient interface { Recv() (*BackupCustomHooksResponse, error) grpc.ClientStream }
type RepositoryService_BackupCustomHooksServer ¶
type RepositoryService_BackupCustomHooksServer interface { Send(*BackupCustomHooksResponse) error grpc.ServerStream }
type RepositoryService_CreateBundleClient ¶
type RepositoryService_CreateBundleClient interface { Recv() (*CreateBundleResponse, error) grpc.ClientStream }
type RepositoryService_CreateBundleFromRefListClient ¶
type RepositoryService_CreateBundleFromRefListClient interface { Send(*CreateBundleFromRefListRequest) error Recv() (*CreateBundleFromRefListResponse, error) grpc.ClientStream }
type RepositoryService_CreateBundleFromRefListServer ¶
type RepositoryService_CreateBundleFromRefListServer interface { Send(*CreateBundleFromRefListResponse) error Recv() (*CreateBundleFromRefListRequest, error) grpc.ServerStream }
type RepositoryService_CreateBundleServer ¶
type RepositoryService_CreateBundleServer interface { Send(*CreateBundleResponse) error grpc.ServerStream }
type RepositoryService_CreateRepositoryFromBundleClient ¶
type RepositoryService_CreateRepositoryFromBundleClient interface { Send(*CreateRepositoryFromBundleRequest) error CloseAndRecv() (*CreateRepositoryFromBundleResponse, error) grpc.ClientStream }
type RepositoryService_CreateRepositoryFromBundleServer ¶
type RepositoryService_CreateRepositoryFromBundleServer interface { SendAndClose(*CreateRepositoryFromBundleResponse) error Recv() (*CreateRepositoryFromBundleRequest, error) grpc.ServerStream }
type RepositoryService_FetchBundleClient ¶
type RepositoryService_FetchBundleClient interface { Send(*FetchBundleRequest) error CloseAndRecv() (*FetchBundleResponse, error) grpc.ClientStream }
type RepositoryService_FetchBundleServer ¶
type RepositoryService_FetchBundleServer interface { SendAndClose(*FetchBundleResponse) error Recv() (*FetchBundleRequest, error) grpc.ServerStream }
type RepositoryService_GetArchiveClient ¶
type RepositoryService_GetArchiveClient interface { Recv() (*GetArchiveResponse, error) grpc.ClientStream }
type RepositoryService_GetArchiveServer ¶
type RepositoryService_GetArchiveServer interface { Send(*GetArchiveResponse) error grpc.ServerStream }
type RepositoryService_GetConfigClient ¶
type RepositoryService_GetConfigClient interface { Recv() (*GetConfigResponse, error) grpc.ClientStream }
type RepositoryService_GetConfigServer ¶
type RepositoryService_GetConfigServer interface { Send(*GetConfigResponse) error grpc.ServerStream }
type RepositoryService_GetCustomHooksClient ¶
type RepositoryService_GetCustomHooksClient interface { Recv() (*GetCustomHooksResponse, error) grpc.ClientStream }
type RepositoryService_GetCustomHooksServer ¶
type RepositoryService_GetCustomHooksServer interface { Send(*GetCustomHooksResponse) error grpc.ServerStream }
type RepositoryService_GetInfoAttributesClient ¶
type RepositoryService_GetInfoAttributesClient interface { Recv() (*GetInfoAttributesResponse, error) grpc.ClientStream }
type RepositoryService_GetInfoAttributesServer ¶
type RepositoryService_GetInfoAttributesServer interface { Send(*GetInfoAttributesResponse) error grpc.ServerStream }
type RepositoryService_GetRawChangesClient ¶
type RepositoryService_GetRawChangesClient interface { Recv() (*GetRawChangesResponse, error) grpc.ClientStream }
type RepositoryService_GetRawChangesServer ¶
type RepositoryService_GetRawChangesServer interface { Send(*GetRawChangesResponse) error grpc.ServerStream }
type RepositoryService_GetSnapshotClient ¶
type RepositoryService_GetSnapshotClient interface { Recv() (*GetSnapshotResponse, error) grpc.ClientStream }
type RepositoryService_GetSnapshotServer ¶
type RepositoryService_GetSnapshotServer interface { Send(*GetSnapshotResponse) error grpc.ServerStream }
type RepositoryService_ObjectsSizeClient ¶ added in v16.2.0
type RepositoryService_ObjectsSizeClient interface { Send(*ObjectsSizeRequest) error CloseAndRecv() (*ObjectsSizeResponse, error) grpc.ClientStream }
type RepositoryService_ObjectsSizeServer ¶ added in v16.2.0
type RepositoryService_ObjectsSizeServer interface { SendAndClose(*ObjectsSizeResponse) error Recv() (*ObjectsSizeRequest, error) grpc.ServerStream }
type RepositoryService_RestoreCustomHooksClient ¶
type RepositoryService_RestoreCustomHooksClient interface { Send(*RestoreCustomHooksRequest) error CloseAndRecv() (*RestoreCustomHooksResponse, error) grpc.ClientStream }
type RepositoryService_RestoreCustomHooksServer ¶
type RepositoryService_RestoreCustomHooksServer interface { SendAndClose(*RestoreCustomHooksResponse) error Recv() (*RestoreCustomHooksRequest, error) grpc.ServerStream }
type RepositoryService_SearchFilesByContentClient ¶
type RepositoryService_SearchFilesByContentClient interface { Recv() (*SearchFilesByContentResponse, error) grpc.ClientStream }
type RepositoryService_SearchFilesByContentServer ¶
type RepositoryService_SearchFilesByContentServer interface { Send(*SearchFilesByContentResponse) error grpc.ServerStream }
type RepositoryService_SearchFilesByNameClient ¶
type RepositoryService_SearchFilesByNameClient interface { Recv() (*SearchFilesByNameResponse, error) grpc.ClientStream }
type RepositoryService_SearchFilesByNameServer ¶
type RepositoryService_SearchFilesByNameServer interface { Send(*SearchFilesByNameResponse) error grpc.ServerStream }
type RepositoryService_SetCustomHooksClient ¶
type RepositoryService_SetCustomHooksClient interface { Send(*SetCustomHooksRequest) error CloseAndRecv() (*SetCustomHooksResponse, error) grpc.ClientStream }
type RepositoryService_SetCustomHooksServer ¶
type RepositoryService_SetCustomHooksServer interface { SendAndClose(*SetCustomHooksResponse) error Recv() (*SetCustomHooksRequest, error) grpc.ServerStream }
type RepositorySizeRequest ¶
type RepositorySizeRequest struct { // repository is the repository for which to determine the repository size. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
RepositorySizeRequest is a request for the RepositorySize RPC.
func (*RepositorySizeRequest) Descriptor
deprecated
func (*RepositorySizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RepositorySizeRequest.ProtoReflect.Descriptor instead.
func (*RepositorySizeRequest) GetRepository ¶
func (x *RepositorySizeRequest) GetRepository() *Repository
func (*RepositorySizeRequest) ProtoMessage ¶
func (*RepositorySizeRequest) ProtoMessage()
func (*RepositorySizeRequest) ProtoReflect ¶
func (x *RepositorySizeRequest) ProtoReflect() protoreflect.Message
func (*RepositorySizeRequest) Reset ¶
func (x *RepositorySizeRequest) Reset()
func (*RepositorySizeRequest) String ¶
func (x *RepositorySizeRequest) String() string
type RepositorySizeResponse ¶
type RepositorySizeResponse struct { // size is the complete size of the on-disk repository in kilobytes. This will include all data // structures and is similar to `du --summarize --bytes $REPO_PATH`. Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
RepositorySizeResponse is a response for the RepositorySize RPC.
func (*RepositorySizeResponse) Descriptor
deprecated
func (*RepositorySizeResponse) Descriptor() ([]byte, []int)
Deprecated: Use RepositorySizeResponse.ProtoReflect.Descriptor instead.
func (*RepositorySizeResponse) GetSize ¶
func (x *RepositorySizeResponse) GetSize() int64
func (*RepositorySizeResponse) ProtoMessage ¶
func (*RepositorySizeResponse) ProtoMessage()
func (*RepositorySizeResponse) ProtoReflect ¶
func (x *RepositorySizeResponse) ProtoReflect() protoreflect.Message
func (*RepositorySizeResponse) Reset ¶
func (x *RepositorySizeResponse) Reset()
func (*RepositorySizeResponse) String ¶
func (x *RepositorySizeResponse) String() string
type ResolveConflictsRequest ¶
type ResolveConflictsRequest struct { // RequestPayload is the payload part of the request. The first message sent // must always be a ResolveConflictsRequestHeader, whereas all remaining // requests must be FilesJson requests. // // Types that are assignable to ResolveConflictsRequestPayload: // // *ResolveConflictsRequest_Header // *ResolveConflictsRequest_FilesJson ResolveConflictsRequestPayload isResolveConflictsRequest_ResolveConflictsRequestPayload `protobuf_oneof:"resolve_conflicts_request_payload"` // contains filtered or unexported fields }
ResolveConflictsRequest is a request for the ResolveConflicts RPC.
func (*ResolveConflictsRequest) Descriptor
deprecated
func (*ResolveConflictsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResolveConflictsRequest.ProtoReflect.Descriptor instead.
func (*ResolveConflictsRequest) GetFilesJson ¶
func (x *ResolveConflictsRequest) GetFilesJson() []byte
func (*ResolveConflictsRequest) GetHeader ¶
func (x *ResolveConflictsRequest) GetHeader() *ResolveConflictsRequestHeader
func (*ResolveConflictsRequest) GetResolveConflictsRequestPayload ¶
func (m *ResolveConflictsRequest) GetResolveConflictsRequestPayload() isResolveConflictsRequest_ResolveConflictsRequestPayload
func (*ResolveConflictsRequest) ProtoMessage ¶
func (*ResolveConflictsRequest) ProtoMessage()
func (*ResolveConflictsRequest) ProtoReflect ¶
func (x *ResolveConflictsRequest) ProtoReflect() protoreflect.Message
func (*ResolveConflictsRequest) Reset ¶
func (x *ResolveConflictsRequest) Reset()
func (*ResolveConflictsRequest) String ¶
func (x *ResolveConflictsRequest) String() string
type ResolveConflictsRequestHeader ¶
type ResolveConflictsRequestHeader struct { // repository is the repository in which conflicts shall be resolved and // where SourceBranch shall be updated with the resolved conflict. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // our_commit_oid is the OID of the commit representing the local commit. OurCommitOid string `protobuf:"bytes,2,opt,name=our_commit_oid,json=ourCommitOid,proto3" json:"our_commit_oid,omitempty"` // target_repository is the repository from which TheirCommitOid shall be // retrieved. TargetRepository *Repository `protobuf:"bytes,3,opt,name=target_repository,json=targetRepository,proto3" json:"target_repository,omitempty"` // their_commit_oid is the OID of the commit representing the remote commit // which is to be merged into the local commit. TheirCommitOid string `protobuf:"bytes,4,opt,name=their_commit_oid,json=theirCommitOid,proto3" json:"their_commit_oid,omitempty"` // source_branch is the branch on which the new commit shall be created. SourceBranch []byte `protobuf:"bytes,5,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"` // target_branch identifies the branch which will be fetched from // target_repository in case TheirCommitOid does not exist in Repository. TargetBranch []byte `protobuf:"bytes,6,opt,name=target_branch,json=targetBranch,proto3" json:"target_branch,omitempty"` // commit_message is the message of the newly created merge commit. CommitMessage []byte `protobuf:"bytes,7,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` // user is the user used as author and committer of the newly created merge // commit. User *User `protobuf:"bytes,8,opt,name=user,proto3" json:"user,omitempty"` // timestamp is the optional timestamp to use for the commit as committer // date. If it's not set, the current time will be used. Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
ResolveConflictsRequestHeader is the first message that must be sent for each ResolveConflicts call.
func (*ResolveConflictsRequestHeader) Descriptor
deprecated
func (*ResolveConflictsRequestHeader) Descriptor() ([]byte, []int)
Deprecated: Use ResolveConflictsRequestHeader.ProtoReflect.Descriptor instead.
func (*ResolveConflictsRequestHeader) GetCommitMessage ¶
func (x *ResolveConflictsRequestHeader) GetCommitMessage() []byte
func (*ResolveConflictsRequestHeader) GetOurCommitOid ¶
func (x *ResolveConflictsRequestHeader) GetOurCommitOid() string
func (*ResolveConflictsRequestHeader) GetRepository ¶
func (x *ResolveConflictsRequestHeader) GetRepository() *Repository
func (*ResolveConflictsRequestHeader) GetSourceBranch ¶
func (x *ResolveConflictsRequestHeader) GetSourceBranch() []byte
func (*ResolveConflictsRequestHeader) GetTargetBranch ¶
func (x *ResolveConflictsRequestHeader) GetTargetBranch() []byte
func (*ResolveConflictsRequestHeader) GetTargetRepository ¶
func (x *ResolveConflictsRequestHeader) GetTargetRepository() *Repository
func (*ResolveConflictsRequestHeader) GetTheirCommitOid ¶
func (x *ResolveConflictsRequestHeader) GetTheirCommitOid() string
func (*ResolveConflictsRequestHeader) GetTimestamp ¶
func (x *ResolveConflictsRequestHeader) GetTimestamp() *timestamppb.Timestamp
func (*ResolveConflictsRequestHeader) GetUser ¶
func (x *ResolveConflictsRequestHeader) GetUser() *User
func (*ResolveConflictsRequestHeader) ProtoMessage ¶
func (*ResolveConflictsRequestHeader) ProtoMessage()
func (*ResolveConflictsRequestHeader) ProtoReflect ¶
func (x *ResolveConflictsRequestHeader) ProtoReflect() protoreflect.Message
func (*ResolveConflictsRequestHeader) Reset ¶
func (x *ResolveConflictsRequestHeader) Reset()
func (*ResolveConflictsRequestHeader) String ¶
func (x *ResolveConflictsRequestHeader) String() string
type ResolveConflictsRequest_FilesJson ¶
type ResolveConflictsRequest_FilesJson struct { // files_json is a JSON-encoded list of conflicts resolutions. FilesJson []byte `protobuf:"bytes,2,opt,name=files_json,json=filesJson,proto3,oneof"` }
type ResolveConflictsRequest_Header ¶
type ResolveConflictsRequest_Header struct { // header is the initial message specifying parameters of the RPC call. Header *ResolveConflictsRequestHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` }
type ResolveConflictsResponse ¶
type ResolveConflictsResponse struct { // resolution_error contains a description of why conflict resolution has // failed. ResolutionError string `protobuf:"bytes,1,opt,name=resolution_error,json=resolutionError,proto3" json:"resolution_error,omitempty"` // contains filtered or unexported fields }
ResolveConflictsResponse is a response of the ResolveConflicts RPC. Conflict resolution may have failed even if the RPC has returned OK. The user must check ResolutionError to verify whether the merge commit was correctly computed or not.
func (*ResolveConflictsResponse) Descriptor
deprecated
func (*ResolveConflictsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResolveConflictsResponse.ProtoReflect.Descriptor instead.
func (*ResolveConflictsResponse) GetResolutionError ¶
func (x *ResolveConflictsResponse) GetResolutionError() string
func (*ResolveConflictsResponse) ProtoMessage ¶
func (*ResolveConflictsResponse) ProtoMessage()
func (*ResolveConflictsResponse) ProtoReflect ¶
func (x *ResolveConflictsResponse) ProtoReflect() protoreflect.Message
func (*ResolveConflictsResponse) Reset ¶
func (x *ResolveConflictsResponse) Reset()
func (*ResolveConflictsResponse) String ¶
func (x *ResolveConflictsResponse) String() string
type ResolveRevisionError ¶
type ResolveRevisionError struct { // revision is the name of the revision that was tried to be resolved. Revision []byte `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` // contains filtered or unexported fields }
ResolveRevisionError is an error returned when resolving a specific revision has failed.
func (*ResolveRevisionError) Descriptor
deprecated
func (*ResolveRevisionError) Descriptor() ([]byte, []int)
Deprecated: Use ResolveRevisionError.ProtoReflect.Descriptor instead.
func (*ResolveRevisionError) GetRevision ¶
func (x *ResolveRevisionError) GetRevision() []byte
func (*ResolveRevisionError) ProtoMessage ¶
func (*ResolveRevisionError) ProtoMessage()
func (*ResolveRevisionError) ProtoReflect ¶
func (x *ResolveRevisionError) ProtoReflect() protoreflect.Message
func (*ResolveRevisionError) Reset ¶
func (x *ResolveRevisionError) Reset()
func (*ResolveRevisionError) String ¶
func (x *ResolveRevisionError) String() string
type RestoreCustomHooksRequest ¶
type RestoreCustomHooksRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // data ... Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
RestoreCustomHooksRequest ...
func (*RestoreCustomHooksRequest) Descriptor
deprecated
func (*RestoreCustomHooksRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreCustomHooksRequest.ProtoReflect.Descriptor instead.
func (*RestoreCustomHooksRequest) GetData ¶
func (x *RestoreCustomHooksRequest) GetData() []byte
func (*RestoreCustomHooksRequest) GetRepository ¶
func (x *RestoreCustomHooksRequest) GetRepository() *Repository
func (*RestoreCustomHooksRequest) ProtoMessage ¶
func (*RestoreCustomHooksRequest) ProtoMessage()
func (*RestoreCustomHooksRequest) ProtoReflect ¶
func (x *RestoreCustomHooksRequest) ProtoReflect() protoreflect.Message
func (*RestoreCustomHooksRequest) Reset ¶
func (x *RestoreCustomHooksRequest) Reset()
func (*RestoreCustomHooksRequest) String ¶
func (x *RestoreCustomHooksRequest) String() string
type RestoreCustomHooksResponse ¶
type RestoreCustomHooksResponse struct {
// contains filtered or unexported fields
}
RestoreCustomHooksResponse ...
func (*RestoreCustomHooksResponse) Descriptor
deprecated
func (*RestoreCustomHooksResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreCustomHooksResponse.ProtoReflect.Descriptor instead.
func (*RestoreCustomHooksResponse) ProtoMessage ¶
func (*RestoreCustomHooksResponse) ProtoMessage()
func (*RestoreCustomHooksResponse) ProtoReflect ¶
func (x *RestoreCustomHooksResponse) ProtoReflect() protoreflect.Message
func (*RestoreCustomHooksResponse) Reset ¶
func (x *RestoreCustomHooksResponse) Reset()
func (*RestoreCustomHooksResponse) String ¶
func (x *RestoreCustomHooksResponse) String() string
type RestoreRepositoryRequest ¶ added in v16.2.0
type RestoreRepositoryRequest struct { // repository is the repository to be restored. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // vanity_repository is used to determine the backup path. VanityRepository *Repository `protobuf:"bytes,2,opt,name=vanity_repository,json=vanityRepository,proto3" json:"vanity_repository,omitempty"` // backup_id is the label used to identify the backup to restore from. If // empty, the latest available backup is used. BackupId string `protobuf:"bytes,3,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` // always_create will force the repository to exist even if no bundle is // found. See https://gitlab.com/gitlab-org/gitlab/-/issues/357044 AlwaysCreate bool `protobuf:"varint,4,opt,name=always_create,json=alwaysCreate,proto3" json:"always_create,omitempty"` // contains filtered or unexported fields }
RestoreRepositoryRequest is a request for the RestoreRepository RPC.
func (*RestoreRepositoryRequest) Descriptor
deprecated
added in
v16.2.0
func (*RestoreRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreRepositoryRequest.ProtoReflect.Descriptor instead.
func (*RestoreRepositoryRequest) GetAlwaysCreate ¶ added in v16.2.0
func (x *RestoreRepositoryRequest) GetAlwaysCreate() bool
func (*RestoreRepositoryRequest) GetBackupId ¶ added in v16.2.0
func (x *RestoreRepositoryRequest) GetBackupId() string
func (*RestoreRepositoryRequest) GetRepository ¶ added in v16.2.0
func (x *RestoreRepositoryRequest) GetRepository() *Repository
func (*RestoreRepositoryRequest) GetVanityRepository ¶ added in v16.2.0
func (x *RestoreRepositoryRequest) GetVanityRepository() *Repository
func (*RestoreRepositoryRequest) ProtoMessage ¶ added in v16.2.0
func (*RestoreRepositoryRequest) ProtoMessage()
func (*RestoreRepositoryRequest) ProtoReflect ¶ added in v16.2.0
func (x *RestoreRepositoryRequest) ProtoReflect() protoreflect.Message
func (*RestoreRepositoryRequest) Reset ¶ added in v16.2.0
func (x *RestoreRepositoryRequest) Reset()
func (*RestoreRepositoryRequest) String ¶ added in v16.2.0
func (x *RestoreRepositoryRequest) String() string
type RestoreRepositoryResponse ¶ added in v16.2.0
type RestoreRepositoryResponse struct {
// contains filtered or unexported fields
}
RestoreRepositoryResponse is a response for the RestoreRepository RPC.
func (*RestoreRepositoryResponse) Descriptor
deprecated
added in
v16.2.0
func (*RestoreRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreRepositoryResponse.ProtoReflect.Descriptor instead.
func (*RestoreRepositoryResponse) ProtoMessage ¶ added in v16.2.0
func (*RestoreRepositoryResponse) ProtoMessage()
func (*RestoreRepositoryResponse) ProtoReflect ¶ added in v16.2.0
func (x *RestoreRepositoryResponse) ProtoReflect() protoreflect.Message
func (*RestoreRepositoryResponse) Reset ¶ added in v16.2.0
func (x *RestoreRepositoryResponse) Reset()
func (*RestoreRepositoryResponse) String ¶ added in v16.2.0
func (x *RestoreRepositoryResponse) String() string
type RestoreRepositoryResponse_SkippedError ¶ added in v16.2.0
type RestoreRepositoryResponse_SkippedError struct {
// contains filtered or unexported fields
}
SkippedError is returned when the repository restore has been skipped.
func (*RestoreRepositoryResponse_SkippedError) Descriptor
deprecated
added in
v16.2.0
func (*RestoreRepositoryResponse_SkippedError) Descriptor() ([]byte, []int)
Deprecated: Use RestoreRepositoryResponse_SkippedError.ProtoReflect.Descriptor instead.
func (*RestoreRepositoryResponse_SkippedError) ProtoMessage ¶ added in v16.2.0
func (*RestoreRepositoryResponse_SkippedError) ProtoMessage()
func (*RestoreRepositoryResponse_SkippedError) ProtoReflect ¶ added in v16.2.0
func (x *RestoreRepositoryResponse_SkippedError) ProtoReflect() protoreflect.Message
func (*RestoreRepositoryResponse_SkippedError) Reset ¶ added in v16.2.0
func (x *RestoreRepositoryResponse_SkippedError) Reset()
func (*RestoreRepositoryResponse_SkippedError) String ¶ added in v16.2.0
func (x *RestoreRepositoryResponse_SkippedError) String() string
type RoundRobinConfig ¶
type RoundRobinConfig struct {
// contains filtered or unexported fields
}
RoundRobinConfig indicates the round_robin strategy. This strategy distributes the incoming requests to active subchannels in a round-robin fashion.
func (*RoundRobinConfig) Descriptor
deprecated
func (*RoundRobinConfig) Descriptor() ([]byte, []int)
Deprecated: Use RoundRobinConfig.ProtoReflect.Descriptor instead.
func (*RoundRobinConfig) ProtoMessage ¶
func (*RoundRobinConfig) ProtoMessage()
func (*RoundRobinConfig) ProtoReflect ¶
func (x *RoundRobinConfig) ProtoReflect() protoreflect.Message
func (*RoundRobinConfig) Reset ¶
func (x *RoundRobinConfig) Reset()
func (*RoundRobinConfig) String ¶
func (x *RoundRobinConfig) String() string
type SSHReceivePackRequest ¶
type SSHReceivePackRequest struct { // repository must be present in the first message. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // stdin is a chunk of raw data to be copied to 'git upload-pack' standard input Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"` // gl_id is the contents of GL_ID, GL_REPOSITORY, and GL_USERNAME environment variables // for 'git receive-pack'. GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"` // gl_repository ... GlRepository string `protobuf:"bytes,4,opt,name=gl_repository,json=glRepository,proto3" json:"gl_repository,omitempty"` // gl_username ... GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"` // git_protocol is the git protocol version. GitProtocol string `protobuf:"bytes,6,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` // git_config_options are parameters to use with git -c (key=value pairs). GitConfigOptions []string `protobuf:"bytes,7,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` // contains filtered or unexported fields }
SSHReceivePackRequest ...
func (*SSHReceivePackRequest) Descriptor
deprecated
func (*SSHReceivePackRequest) Descriptor() ([]byte, []int)
Deprecated: Use SSHReceivePackRequest.ProtoReflect.Descriptor instead.
func (*SSHReceivePackRequest) GetGitConfigOptions ¶
func (x *SSHReceivePackRequest) GetGitConfigOptions() []string
func (*SSHReceivePackRequest) GetGitProtocol ¶
func (x *SSHReceivePackRequest) GetGitProtocol() string
func (*SSHReceivePackRequest) GetGlId ¶
func (x *SSHReceivePackRequest) GetGlId() string
func (*SSHReceivePackRequest) GetGlRepository ¶
func (x *SSHReceivePackRequest) GetGlRepository() string
func (*SSHReceivePackRequest) GetGlUsername ¶
func (x *SSHReceivePackRequest) GetGlUsername() string
func (*SSHReceivePackRequest) GetRepository ¶
func (x *SSHReceivePackRequest) GetRepository() *Repository
func (*SSHReceivePackRequest) GetStdin ¶
func (x *SSHReceivePackRequest) GetStdin() []byte
func (*SSHReceivePackRequest) ProtoMessage ¶
func (*SSHReceivePackRequest) ProtoMessage()
func (*SSHReceivePackRequest) ProtoReflect ¶
func (x *SSHReceivePackRequest) ProtoReflect() protoreflect.Message
func (*SSHReceivePackRequest) Reset ¶
func (x *SSHReceivePackRequest) Reset()
func (*SSHReceivePackRequest) String ¶
func (x *SSHReceivePackRequest) String() string
type SSHReceivePackResponse ¶
type SSHReceivePackResponse struct { // stdout is a chunk of raw data from 'git receive-pack' standard output. Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // stderr is a chunk of raw data from 'git receive-pack' standard error. Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // exit_status is the exit status when the command has finished. This field // may be nil. This is intentional. ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` // contains filtered or unexported fields }
SSHReceivePackResponse ...
func (*SSHReceivePackResponse) Descriptor
deprecated
func (*SSHReceivePackResponse) Descriptor() ([]byte, []int)
Deprecated: Use SSHReceivePackResponse.ProtoReflect.Descriptor instead.
func (*SSHReceivePackResponse) GetExitStatus ¶
func (x *SSHReceivePackResponse) GetExitStatus() *ExitStatus
func (*SSHReceivePackResponse) GetStderr ¶
func (x *SSHReceivePackResponse) GetStderr() []byte
func (*SSHReceivePackResponse) GetStdout ¶
func (x *SSHReceivePackResponse) GetStdout() []byte
func (*SSHReceivePackResponse) ProtoMessage ¶
func (*SSHReceivePackResponse) ProtoMessage()
func (*SSHReceivePackResponse) ProtoReflect ¶
func (x *SSHReceivePackResponse) ProtoReflect() protoreflect.Message
func (*SSHReceivePackResponse) Reset ¶
func (x *SSHReceivePackResponse) Reset()
func (*SSHReceivePackResponse) String ¶
func (x *SSHReceivePackResponse) String() string
type SSHServiceClient ¶
type SSHServiceClient interface { // SSHUploadPack is an RPC to forward 'git upload-pack' to Gitaly for SSH sessions. SSHUploadPack(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHUploadPackClient, error) // SSHUploadPackWithSidechannel is an RPC to forward 'git upload-pack' to Gitaly for SSH sessions, via sidechannels. SSHUploadPackWithSidechannel(ctx context.Context, in *SSHUploadPackWithSidechannelRequest, opts ...grpc.CallOption) (*SSHUploadPackWithSidechannelResponse, error) // SSHReceivePack is an RPC to forward 'git receive-pack' to Gitaly for SSH sessions. SSHReceivePack(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHReceivePackClient, error) // SSHUploadArchive is an RPC to forward 'git upload-archive' to Gitaly for SSH sessions. SSHUploadArchive(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHUploadArchiveClient, error) }
SSHServiceClient is the client API for SSHService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSSHServiceClient ¶
func NewSSHServiceClient(cc grpc.ClientConnInterface) SSHServiceClient
type SSHServiceServer ¶
type SSHServiceServer interface { // SSHUploadPack is an RPC to forward 'git upload-pack' to Gitaly for SSH sessions. SSHUploadPack(SSHService_SSHUploadPackServer) error // SSHUploadPackWithSidechannel is an RPC to forward 'git upload-pack' to Gitaly for SSH sessions, via sidechannels. SSHUploadPackWithSidechannel(context.Context, *SSHUploadPackWithSidechannelRequest) (*SSHUploadPackWithSidechannelResponse, error) // SSHReceivePack is an RPC to forward 'git receive-pack' to Gitaly for SSH sessions. SSHReceivePack(SSHService_SSHReceivePackServer) error // SSHUploadArchive is an RPC to forward 'git upload-archive' to Gitaly for SSH sessions. SSHUploadArchive(SSHService_SSHUploadArchiveServer) error // contains filtered or unexported methods }
SSHServiceServer is the server API for SSHService service. All implementations must embed UnimplementedSSHServiceServer for forward compatibility
type SSHService_SSHReceivePackClient ¶
type SSHService_SSHReceivePackClient interface { Send(*SSHReceivePackRequest) error Recv() (*SSHReceivePackResponse, error) grpc.ClientStream }
type SSHService_SSHReceivePackServer ¶
type SSHService_SSHReceivePackServer interface { Send(*SSHReceivePackResponse) error Recv() (*SSHReceivePackRequest, error) grpc.ServerStream }
type SSHService_SSHUploadArchiveClient ¶
type SSHService_SSHUploadArchiveClient interface { Send(*SSHUploadArchiveRequest) error Recv() (*SSHUploadArchiveResponse, error) grpc.ClientStream }
type SSHService_SSHUploadArchiveServer ¶
type SSHService_SSHUploadArchiveServer interface { Send(*SSHUploadArchiveResponse) error Recv() (*SSHUploadArchiveRequest, error) grpc.ServerStream }
type SSHService_SSHUploadPackClient ¶
type SSHService_SSHUploadPackClient interface { Send(*SSHUploadPackRequest) error Recv() (*SSHUploadPackResponse, error) grpc.ClientStream }
type SSHService_SSHUploadPackServer ¶
type SSHService_SSHUploadPackServer interface { Send(*SSHUploadPackResponse) error Recv() (*SSHUploadPackRequest, error) grpc.ServerStream }
type SSHUploadArchiveRequest ¶
type SSHUploadArchiveRequest struct { // repository must be present in the first message. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // stdin is 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"` // contains filtered or unexported fields }
SSHUploadArchiveRequest ...
func (*SSHUploadArchiveRequest) Descriptor
deprecated
func (*SSHUploadArchiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use SSHUploadArchiveRequest.ProtoReflect.Descriptor instead.
func (*SSHUploadArchiveRequest) GetRepository ¶
func (x *SSHUploadArchiveRequest) GetRepository() *Repository
func (*SSHUploadArchiveRequest) GetStdin ¶
func (x *SSHUploadArchiveRequest) GetStdin() []byte
func (*SSHUploadArchiveRequest) ProtoMessage ¶
func (*SSHUploadArchiveRequest) ProtoMessage()
func (*SSHUploadArchiveRequest) ProtoReflect ¶
func (x *SSHUploadArchiveRequest) ProtoReflect() protoreflect.Message
func (*SSHUploadArchiveRequest) Reset ¶
func (x *SSHUploadArchiveRequest) Reset()
func (*SSHUploadArchiveRequest) String ¶
func (x *SSHUploadArchiveRequest) String() string
type SSHUploadArchiveResponse ¶
type SSHUploadArchiveResponse struct { // stdout is a chunk of raw data from 'git upload-archive' standard output. Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // stderr is a chunk of raw data from 'git upload-archive' standard error. Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // exit_status is the exit status when the command has finished. This field // may be nil. This is intentional. ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` // contains filtered or unexported fields }
SSHUploadArchiveResponse ...
func (*SSHUploadArchiveResponse) Descriptor
deprecated
func (*SSHUploadArchiveResponse) Descriptor() ([]byte, []int)
Deprecated: Use SSHUploadArchiveResponse.ProtoReflect.Descriptor instead.
func (*SSHUploadArchiveResponse) GetExitStatus ¶
func (x *SSHUploadArchiveResponse) GetExitStatus() *ExitStatus
func (*SSHUploadArchiveResponse) GetStderr ¶
func (x *SSHUploadArchiveResponse) GetStderr() []byte
func (*SSHUploadArchiveResponse) GetStdout ¶
func (x *SSHUploadArchiveResponse) GetStdout() []byte
func (*SSHUploadArchiveResponse) ProtoMessage ¶
func (*SSHUploadArchiveResponse) ProtoMessage()
func (*SSHUploadArchiveResponse) ProtoReflect ¶
func (x *SSHUploadArchiveResponse) ProtoReflect() protoreflect.Message
func (*SSHUploadArchiveResponse) Reset ¶
func (x *SSHUploadArchiveResponse) Reset()
func (*SSHUploadArchiveResponse) String ¶
func (x *SSHUploadArchiveResponse) String() string
type SSHUploadPackRequest ¶
type SSHUploadPackRequest struct { // repository must be present in the first message. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // stdin is a chunk of raw data to be copied to 'git upload-pack' standard input. Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"` // git_config_options are parameters to use with git -c (key=value pairs). GitConfigOptions []string `protobuf:"bytes,4,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` // git_protocol is the git protocol version. GitProtocol string `protobuf:"bytes,5,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` // contains filtered or unexported fields }
SSHUploadPackRequest ...
func (*SSHUploadPackRequest) Descriptor
deprecated
func (*SSHUploadPackRequest) Descriptor() ([]byte, []int)
Deprecated: Use SSHUploadPackRequest.ProtoReflect.Descriptor instead.
func (*SSHUploadPackRequest) GetGitConfigOptions ¶
func (x *SSHUploadPackRequest) GetGitConfigOptions() []string
func (*SSHUploadPackRequest) GetGitProtocol ¶
func (x *SSHUploadPackRequest) GetGitProtocol() string
func (*SSHUploadPackRequest) GetRepository ¶
func (x *SSHUploadPackRequest) GetRepository() *Repository
func (*SSHUploadPackRequest) GetStdin ¶
func (x *SSHUploadPackRequest) GetStdin() []byte
func (*SSHUploadPackRequest) ProtoMessage ¶
func (*SSHUploadPackRequest) ProtoMessage()
func (*SSHUploadPackRequest) ProtoReflect ¶
func (x *SSHUploadPackRequest) ProtoReflect() protoreflect.Message
func (*SSHUploadPackRequest) Reset ¶
func (x *SSHUploadPackRequest) Reset()
func (*SSHUploadPackRequest) String ¶
func (x *SSHUploadPackRequest) String() string
type SSHUploadPackResponse ¶
type SSHUploadPackResponse struct { // stdout is a chunk of raw data from 'git upload-pack' standard output. Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // stderr is a chunk of raw data from 'git upload-pack' standard error. Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // exit_status is the exit status when the command has finished. This field // may be nil. This is intentional. ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` // contains filtered or unexported fields }
SSHUploadPackResponse ...
func (*SSHUploadPackResponse) Descriptor
deprecated
func (*SSHUploadPackResponse) Descriptor() ([]byte, []int)
Deprecated: Use SSHUploadPackResponse.ProtoReflect.Descriptor instead.
func (*SSHUploadPackResponse) GetExitStatus ¶
func (x *SSHUploadPackResponse) GetExitStatus() *ExitStatus
func (*SSHUploadPackResponse) GetStderr ¶
func (x *SSHUploadPackResponse) GetStderr() []byte
func (*SSHUploadPackResponse) GetStdout ¶
func (x *SSHUploadPackResponse) GetStdout() []byte
func (*SSHUploadPackResponse) ProtoMessage ¶
func (*SSHUploadPackResponse) ProtoMessage()
func (*SSHUploadPackResponse) ProtoReflect ¶
func (x *SSHUploadPackResponse) ProtoReflect() protoreflect.Message
func (*SSHUploadPackResponse) Reset ¶
func (x *SSHUploadPackResponse) Reset()
func (*SSHUploadPackResponse) String ¶
func (x *SSHUploadPackResponse) String() string
type SSHUploadPackWithSidechannelRequest ¶
type SSHUploadPackWithSidechannelRequest struct { // repository must be present in the first message. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // git_config_options are parameters to use with git -c (key=value pairs). GitConfigOptions []string `protobuf:"bytes,2,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` // git_protocol is the git protocol version. GitProtocol string `protobuf:"bytes,3,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` // contains filtered or unexported fields }
SSHUploadPackWithSidechannelRequest ...
func (*SSHUploadPackWithSidechannelRequest) Descriptor
deprecated
func (*SSHUploadPackWithSidechannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use SSHUploadPackWithSidechannelRequest.ProtoReflect.Descriptor instead.
func (*SSHUploadPackWithSidechannelRequest) GetGitConfigOptions ¶
func (x *SSHUploadPackWithSidechannelRequest) GetGitConfigOptions() []string
func (*SSHUploadPackWithSidechannelRequest) GetGitProtocol ¶
func (x *SSHUploadPackWithSidechannelRequest) GetGitProtocol() string
func (*SSHUploadPackWithSidechannelRequest) GetRepository ¶
func (x *SSHUploadPackWithSidechannelRequest) GetRepository() *Repository
func (*SSHUploadPackWithSidechannelRequest) ProtoMessage ¶
func (*SSHUploadPackWithSidechannelRequest) ProtoMessage()
func (*SSHUploadPackWithSidechannelRequest) ProtoReflect ¶
func (x *SSHUploadPackWithSidechannelRequest) ProtoReflect() protoreflect.Message
func (*SSHUploadPackWithSidechannelRequest) Reset ¶
func (x *SSHUploadPackWithSidechannelRequest) Reset()
func (*SSHUploadPackWithSidechannelRequest) String ¶
func (x *SSHUploadPackWithSidechannelRequest) String() string
type SSHUploadPackWithSidechannelResponse ¶
type SSHUploadPackWithSidechannelResponse struct { // packfile_negotiation_statistics is the packfile negotiation statistics. PackfileNegotiationStatistics *PackfileNegotiationStatistics `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
SSHUploadPackWithSidechannelResponse ...
func (*SSHUploadPackWithSidechannelResponse) Descriptor
deprecated
func (*SSHUploadPackWithSidechannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use SSHUploadPackWithSidechannelResponse.ProtoReflect.Descriptor instead.
func (*SSHUploadPackWithSidechannelResponse) GetPackfileNegotiationStatistics ¶ added in v16.1.0
func (x *SSHUploadPackWithSidechannelResponse) GetPackfileNegotiationStatistics() *PackfileNegotiationStatistics
func (*SSHUploadPackWithSidechannelResponse) ProtoMessage ¶
func (*SSHUploadPackWithSidechannelResponse) ProtoMessage()
func (*SSHUploadPackWithSidechannelResponse) ProtoReflect ¶
func (x *SSHUploadPackWithSidechannelResponse) ProtoReflect() protoreflect.Message
func (*SSHUploadPackWithSidechannelResponse) Reset ¶
func (x *SSHUploadPackWithSidechannelResponse) Reset()
func (*SSHUploadPackWithSidechannelResponse) String ¶
func (x *SSHUploadPackWithSidechannelResponse) String() string
type SearchFilesByContentRequest ¶
type SearchFilesByContentRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // query ... Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // ref ... Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` // chunked_response ... ChunkedResponse bool `protobuf:"varint,4,opt,name=chunked_response,json=chunkedResponse,proto3" json:"chunked_response,omitempty"` // contains filtered or unexported fields }
SearchFilesByContentRequest ...
func (*SearchFilesByContentRequest) Descriptor
deprecated
func (*SearchFilesByContentRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchFilesByContentRequest.ProtoReflect.Descriptor instead.
func (*SearchFilesByContentRequest) GetChunkedResponse ¶
func (x *SearchFilesByContentRequest) GetChunkedResponse() bool
func (*SearchFilesByContentRequest) GetQuery ¶
func (x *SearchFilesByContentRequest) GetQuery() string
func (*SearchFilesByContentRequest) GetRef ¶
func (x *SearchFilesByContentRequest) GetRef() []byte
func (*SearchFilesByContentRequest) GetRepository ¶
func (x *SearchFilesByContentRequest) GetRepository() *Repository
func (*SearchFilesByContentRequest) ProtoMessage ¶
func (*SearchFilesByContentRequest) ProtoMessage()
func (*SearchFilesByContentRequest) ProtoReflect ¶
func (x *SearchFilesByContentRequest) ProtoReflect() protoreflect.Message
func (*SearchFilesByContentRequest) Reset ¶
func (x *SearchFilesByContentRequest) Reset()
func (*SearchFilesByContentRequest) String ¶
func (x *SearchFilesByContentRequest) String() string
type SearchFilesByContentResponse ¶
type SearchFilesByContentResponse struct { // matches ... Matches [][]byte `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"` // match_data ... MatchData []byte `protobuf:"bytes,2,opt,name=match_data,json=matchData,proto3" json:"match_data,omitempty"` // end_of_match ... EndOfMatch bool `protobuf:"varint,3,opt,name=end_of_match,json=endOfMatch,proto3" json:"end_of_match,omitempty"` // contains filtered or unexported fields }
SearchFilesByContentResponse ...
func (*SearchFilesByContentResponse) Descriptor
deprecated
func (*SearchFilesByContentResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchFilesByContentResponse.ProtoReflect.Descriptor instead.
func (*SearchFilesByContentResponse) GetEndOfMatch ¶
func (x *SearchFilesByContentResponse) GetEndOfMatch() bool
func (*SearchFilesByContentResponse) GetMatchData ¶
func (x *SearchFilesByContentResponse) GetMatchData() []byte
func (*SearchFilesByContentResponse) GetMatches ¶
func (x *SearchFilesByContentResponse) GetMatches() [][]byte
func (*SearchFilesByContentResponse) ProtoMessage ¶
func (*SearchFilesByContentResponse) ProtoMessage()
func (*SearchFilesByContentResponse) ProtoReflect ¶
func (x *SearchFilesByContentResponse) ProtoReflect() protoreflect.Message
func (*SearchFilesByContentResponse) Reset ¶
func (x *SearchFilesByContentResponse) Reset()
func (*SearchFilesByContentResponse) String ¶
func (x *SearchFilesByContentResponse) String() string
type SearchFilesByNameRequest ¶
type SearchFilesByNameRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // query ... Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // ref ... Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` // filter is a regular expression used to filter the result set before it is // transmitted. It is parsed using Go's `regexp` package, which is closely related // to PCRE, excluding backreferences, atomic/possesive operators, and some other // features. It has a maximum length of 1000 bytes. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // limit the number of returned files. Gitaly does not enforce a limit by default. // Clients should always set a value for this field. limit = 0 means unlimited files. Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` // offset says to skip that many files before beginning to return files. // offset = 0 means starting to return files from beginning. Offset uint32 `protobuf:"varint,6,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
SearchFilesByNameRequest ...
func (*SearchFilesByNameRequest) Descriptor
deprecated
func (*SearchFilesByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchFilesByNameRequest.ProtoReflect.Descriptor instead.
func (*SearchFilesByNameRequest) GetFilter ¶
func (x *SearchFilesByNameRequest) GetFilter() string
func (*SearchFilesByNameRequest) GetLimit ¶
func (x *SearchFilesByNameRequest) GetLimit() uint32
func (*SearchFilesByNameRequest) GetOffset ¶
func (x *SearchFilesByNameRequest) GetOffset() uint32
func (*SearchFilesByNameRequest) GetQuery ¶
func (x *SearchFilesByNameRequest) GetQuery() string
func (*SearchFilesByNameRequest) GetRef ¶
func (x *SearchFilesByNameRequest) GetRef() []byte
func (*SearchFilesByNameRequest) GetRepository ¶
func (x *SearchFilesByNameRequest) GetRepository() *Repository
func (*SearchFilesByNameRequest) ProtoMessage ¶
func (*SearchFilesByNameRequest) ProtoMessage()
func (*SearchFilesByNameRequest) ProtoReflect ¶
func (x *SearchFilesByNameRequest) ProtoReflect() protoreflect.Message
func (*SearchFilesByNameRequest) Reset ¶
func (x *SearchFilesByNameRequest) Reset()
func (*SearchFilesByNameRequest) String ¶
func (x *SearchFilesByNameRequest) String() string
type SearchFilesByNameResponse ¶
type SearchFilesByNameResponse struct { // files contains the paths of files that have been found to match the query. Files [][]byte `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
SearchFilesByNameResponse ...
func (*SearchFilesByNameResponse) Descriptor
deprecated
func (*SearchFilesByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchFilesByNameResponse.ProtoReflect.Descriptor instead.
func (*SearchFilesByNameResponse) GetFiles ¶
func (x *SearchFilesByNameResponse) GetFiles() [][]byte
func (*SearchFilesByNameResponse) ProtoMessage ¶
func (*SearchFilesByNameResponse) ProtoMessage()
func (*SearchFilesByNameResponse) ProtoReflect ¶
func (x *SearchFilesByNameResponse) ProtoReflect() protoreflect.Message
func (*SearchFilesByNameResponse) Reset ¶
func (x *SearchFilesByNameResponse) Reset()
func (*SearchFilesByNameResponse) String ¶
func (x *SearchFilesByNameResponse) String() string
type ServerInfoRequest ¶
type ServerInfoRequest struct {
// contains filtered or unexported fields
}
ServerInfoRequest ...
func (*ServerInfoRequest) Descriptor
deprecated
func (*ServerInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServerInfoRequest.ProtoReflect.Descriptor instead.
func (*ServerInfoRequest) ProtoMessage ¶
func (*ServerInfoRequest) ProtoMessage()
func (*ServerInfoRequest) ProtoReflect ¶
func (x *ServerInfoRequest) ProtoReflect() protoreflect.Message
func (*ServerInfoRequest) Reset ¶
func (x *ServerInfoRequest) Reset()
func (*ServerInfoRequest) String ¶
func (x *ServerInfoRequest) String() string
type ServerInfoResponse ¶
type ServerInfoResponse struct { // server_version ... ServerVersion string `protobuf:"bytes,1,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"` // git_version ... GitVersion string `protobuf:"bytes,2,opt,name=git_version,json=gitVersion,proto3" json:"git_version,omitempty"` // storage_statuses ... StorageStatuses []*ServerInfoResponse_StorageStatus `protobuf:"bytes,3,rep,name=storage_statuses,json=storageStatuses,proto3" json:"storage_statuses,omitempty"` // contains filtered or unexported fields }
ServerInfoResponse ...
func (*ServerInfoResponse) Descriptor
deprecated
func (*ServerInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServerInfoResponse.ProtoReflect.Descriptor instead.
func (*ServerInfoResponse) GetGitVersion ¶
func (x *ServerInfoResponse) GetGitVersion() string
func (*ServerInfoResponse) GetServerVersion ¶
func (x *ServerInfoResponse) GetServerVersion() string
func (*ServerInfoResponse) GetStorageStatuses ¶
func (x *ServerInfoResponse) GetStorageStatuses() []*ServerInfoResponse_StorageStatus
func (*ServerInfoResponse) ProtoMessage ¶
func (*ServerInfoResponse) ProtoMessage()
func (*ServerInfoResponse) ProtoReflect ¶
func (x *ServerInfoResponse) ProtoReflect() protoreflect.Message
func (*ServerInfoResponse) Reset ¶
func (x *ServerInfoResponse) Reset()
func (*ServerInfoResponse) String ¶
func (x *ServerInfoResponse) String() string
type ServerInfoResponse_StorageStatus ¶
type ServerInfoResponse_StorageStatus struct { // storage_name ... StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` // readable ... Readable bool `protobuf:"varint,2,opt,name=readable,proto3" json:"readable,omitempty"` // writeable ... Writeable bool `protobuf:"varint,3,opt,name=writeable,proto3" json:"writeable,omitempty"` // fs_type ... FsType string `protobuf:"bytes,4,opt,name=fs_type,json=fsType,proto3" json:"fs_type,omitempty"` // filesystem_id ... FilesystemId string `protobuf:"bytes,5,opt,name=filesystem_id,json=filesystemId,proto3" json:"filesystem_id,omitempty"` // replication_factor ... ReplicationFactor uint32 `protobuf:"varint,6,opt,name=replication_factor,json=replicationFactor,proto3" json:"replication_factor,omitempty"` // contains filtered or unexported fields }
StorageStatus ...
func (*ServerInfoResponse_StorageStatus) Descriptor
deprecated
func (*ServerInfoResponse_StorageStatus) Descriptor() ([]byte, []int)
Deprecated: Use ServerInfoResponse_StorageStatus.ProtoReflect.Descriptor instead.
func (*ServerInfoResponse_StorageStatus) GetFilesystemId ¶
func (x *ServerInfoResponse_StorageStatus) GetFilesystemId() string
func (*ServerInfoResponse_StorageStatus) GetFsType ¶
func (x *ServerInfoResponse_StorageStatus) GetFsType() string
func (*ServerInfoResponse_StorageStatus) GetReadable ¶
func (x *ServerInfoResponse_StorageStatus) GetReadable() bool
func (*ServerInfoResponse_StorageStatus) GetReplicationFactor ¶
func (x *ServerInfoResponse_StorageStatus) GetReplicationFactor() uint32
func (*ServerInfoResponse_StorageStatus) GetStorageName ¶
func (x *ServerInfoResponse_StorageStatus) GetStorageName() string
func (*ServerInfoResponse_StorageStatus) GetWriteable ¶
func (x *ServerInfoResponse_StorageStatus) GetWriteable() bool
func (*ServerInfoResponse_StorageStatus) ProtoMessage ¶
func (*ServerInfoResponse_StorageStatus) ProtoMessage()
func (*ServerInfoResponse_StorageStatus) ProtoReflect ¶
func (x *ServerInfoResponse_StorageStatus) ProtoReflect() protoreflect.Message
func (*ServerInfoResponse_StorageStatus) Reset ¶
func (x *ServerInfoResponse_StorageStatus) Reset()
func (*ServerInfoResponse_StorageStatus) String ¶
func (x *ServerInfoResponse_StorageStatus) String() string
type ServerServiceClient ¶
type ServerServiceClient interface { // ServerInfo ... ServerInfo(ctx context.Context, in *ServerInfoRequest, opts ...grpc.CallOption) (*ServerInfoResponse, error) // DiskStatistics ... DiskStatistics(ctx context.Context, in *DiskStatisticsRequest, opts ...grpc.CallOption) (*DiskStatisticsResponse, error) // ClockSynced checks if machine clock is synced // (the offset is less that the one passed in the request). ClockSynced(ctx context.Context, in *ClockSyncedRequest, opts ...grpc.CallOption) (*ClockSyncedResponse, error) // ReadinessCheck runs the set of the checks to make sure service is in operational state. ReadinessCheck(ctx context.Context, in *ReadinessCheckRequest, opts ...grpc.CallOption) (*ReadinessCheckResponse, error) }
ServerServiceClient is the client API for ServerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewServerServiceClient ¶
func NewServerServiceClient(cc grpc.ClientConnInterface) ServerServiceClient
type ServerServiceServer ¶
type ServerServiceServer interface { // ServerInfo ... ServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error) // DiskStatistics ... DiskStatistics(context.Context, *DiskStatisticsRequest) (*DiskStatisticsResponse, error) // ClockSynced checks if machine clock is synced // (the offset is less that the one passed in the request). ClockSynced(context.Context, *ClockSyncedRequest) (*ClockSyncedResponse, error) // ReadinessCheck runs the set of the checks to make sure service is in operational state. ReadinessCheck(context.Context, *ReadinessCheckRequest) (*ReadinessCheckResponse, error) // contains filtered or unexported methods }
ServerServiceServer is the server API for ServerService service. All implementations must embed UnimplementedServerServiceServer for forward compatibility
type ServiceConfig ¶
type ServiceConfig struct { // load_balancing_config ... // protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED LoadBalancingConfig []*LoadBalancingConfig `protobuf:"bytes,1,rep,name=load_balancing_config,json=loadBalancingConfig,proto3" json:"load_balancing_config,omitempty"` // method_config ... // protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED MethodConfig []*MethodConfig `protobuf:"bytes,2,rep,name=method_config,json=methodConfig,proto3" json:"method_config,omitempty"` // contains filtered or unexported fields }
ServiceConfig defines the configuration that allows service owners to publish parameters to be automatically used by all clients of their service. gRPC doesn't export this protobuf. So, we built a minimized version to for Gitaly use. The completed version is defined at https://github.com/grpc/grpc-proto/blob/master/grpc/service_config/service_config.proto
func (*ServiceConfig) Descriptor
deprecated
func (*ServiceConfig) Descriptor() ([]byte, []int)
Deprecated: Use ServiceConfig.ProtoReflect.Descriptor instead.
func (*ServiceConfig) GetLoadBalancingConfig ¶
func (x *ServiceConfig) GetLoadBalancingConfig() []*LoadBalancingConfig
func (*ServiceConfig) GetMethodConfig ¶
func (x *ServiceConfig) GetMethodConfig() []*MethodConfig
func (*ServiceConfig) ProtoMessage ¶
func (*ServiceConfig) ProtoMessage()
func (*ServiceConfig) ProtoReflect ¶
func (x *ServiceConfig) ProtoReflect() protoreflect.Message
func (*ServiceConfig) Reset ¶
func (x *ServiceConfig) Reset()
func (*ServiceConfig) String ¶
func (x *ServiceConfig) String() string
type SetAuthoritativeStorageRequest ¶
type SetAuthoritativeStorageRequest struct { // virtual_storage ... VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` // relative_path ... RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // authoritative_storage ... AuthoritativeStorage string `protobuf:"bytes,3,opt,name=authoritative_storage,json=authoritativeStorage,proto3" json:"authoritative_storage,omitempty"` // contains filtered or unexported fields }
SetAuthoritativeStorageRequest ...
func (*SetAuthoritativeStorageRequest) Descriptor
deprecated
func (*SetAuthoritativeStorageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAuthoritativeStorageRequest.ProtoReflect.Descriptor instead.
func (*SetAuthoritativeStorageRequest) GetAuthoritativeStorage ¶
func (x *SetAuthoritativeStorageRequest) GetAuthoritativeStorage() string
func (*SetAuthoritativeStorageRequest) GetRelativePath ¶
func (x *SetAuthoritativeStorageRequest) GetRelativePath() string
func (*SetAuthoritativeStorageRequest) GetVirtualStorage ¶
func (x *SetAuthoritativeStorageRequest) GetVirtualStorage() string
func (*SetAuthoritativeStorageRequest) ProtoMessage ¶
func (*SetAuthoritativeStorageRequest) ProtoMessage()
func (*SetAuthoritativeStorageRequest) ProtoReflect ¶
func (x *SetAuthoritativeStorageRequest) ProtoReflect() protoreflect.Message
func (*SetAuthoritativeStorageRequest) Reset ¶
func (x *SetAuthoritativeStorageRequest) Reset()
func (*SetAuthoritativeStorageRequest) String ¶
func (x *SetAuthoritativeStorageRequest) String() string
type SetAuthoritativeStorageResponse ¶
type SetAuthoritativeStorageResponse struct {
// contains filtered or unexported fields
}
SetAuthoritativeStorageResponse ...
func (*SetAuthoritativeStorageResponse) Descriptor
deprecated
func (*SetAuthoritativeStorageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetAuthoritativeStorageResponse.ProtoReflect.Descriptor instead.
func (*SetAuthoritativeStorageResponse) ProtoMessage ¶
func (*SetAuthoritativeStorageResponse) ProtoMessage()
func (*SetAuthoritativeStorageResponse) ProtoReflect ¶
func (x *SetAuthoritativeStorageResponse) ProtoReflect() protoreflect.Message
func (*SetAuthoritativeStorageResponse) Reset ¶
func (x *SetAuthoritativeStorageResponse) Reset()
func (*SetAuthoritativeStorageResponse) String ¶
func (x *SetAuthoritativeStorageResponse) String() string
type SetCustomHooksRequest ¶
type SetCustomHooksRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // data ... Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
SetCustomHooksRequest ...
func (*SetCustomHooksRequest) Descriptor
deprecated
func (*SetCustomHooksRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetCustomHooksRequest.ProtoReflect.Descriptor instead.
func (*SetCustomHooksRequest) GetData ¶
func (x *SetCustomHooksRequest) GetData() []byte
func (*SetCustomHooksRequest) GetRepository ¶
func (x *SetCustomHooksRequest) GetRepository() *Repository
func (*SetCustomHooksRequest) ProtoMessage ¶
func (*SetCustomHooksRequest) ProtoMessage()
func (*SetCustomHooksRequest) ProtoReflect ¶
func (x *SetCustomHooksRequest) ProtoReflect() protoreflect.Message
func (*SetCustomHooksRequest) Reset ¶
func (x *SetCustomHooksRequest) Reset()
func (*SetCustomHooksRequest) String ¶
func (x *SetCustomHooksRequest) String() string
type SetCustomHooksResponse ¶
type SetCustomHooksResponse struct {
// contains filtered or unexported fields
}
SetCustomHooksResponse ...
func (*SetCustomHooksResponse) Descriptor
deprecated
func (*SetCustomHooksResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetCustomHooksResponse.ProtoReflect.Descriptor instead.
func (*SetCustomHooksResponse) ProtoMessage ¶
func (*SetCustomHooksResponse) ProtoMessage()
func (*SetCustomHooksResponse) ProtoReflect ¶
func (x *SetCustomHooksResponse) ProtoReflect() protoreflect.Message
func (*SetCustomHooksResponse) Reset ¶
func (x *SetCustomHooksResponse) Reset()
func (*SetCustomHooksResponse) String ¶
func (x *SetCustomHooksResponse) String() string
type SetFullPathRequest ¶
type SetFullPathRequest struct { // repository is the repository whose gitconfig should be written to. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // path is the path that shall be written into the "gitlab.fullpath" config key. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
SetFullPathRequest is a request for the SetFullPath RPC.
func (*SetFullPathRequest) Descriptor
deprecated
func (*SetFullPathRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetFullPathRequest.ProtoReflect.Descriptor instead.
func (*SetFullPathRequest) GetPath ¶
func (x *SetFullPathRequest) GetPath() string
func (*SetFullPathRequest) GetRepository ¶
func (x *SetFullPathRequest) GetRepository() *Repository
func (*SetFullPathRequest) ProtoMessage ¶
func (*SetFullPathRequest) ProtoMessage()
func (*SetFullPathRequest) ProtoReflect ¶
func (x *SetFullPathRequest) ProtoReflect() protoreflect.Message
func (*SetFullPathRequest) Reset ¶
func (x *SetFullPathRequest) Reset()
func (*SetFullPathRequest) String ¶
func (x *SetFullPathRequest) String() string
type SetFullPathResponse ¶
type SetFullPathResponse struct {
// contains filtered or unexported fields
}
SetFullPathResponse is a response fqor the SetFullPath RPC.
func (*SetFullPathResponse) Descriptor
deprecated
func (*SetFullPathResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetFullPathResponse.ProtoReflect.Descriptor instead.
func (*SetFullPathResponse) ProtoMessage ¶
func (*SetFullPathResponse) ProtoMessage()
func (*SetFullPathResponse) ProtoReflect ¶
func (x *SetFullPathResponse) ProtoReflect() protoreflect.Message
func (*SetFullPathResponse) Reset ¶
func (x *SetFullPathResponse) Reset()
func (*SetFullPathResponse) String ¶
func (x *SetFullPathResponse) String() string
type SetReplicationFactorRequest ¶
type SetReplicationFactorRequest struct { // virtual_storage is the virtual storage the repository is located in VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` // relative_path is the relative path of the repository RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // replication_factor is the desired replication factor. Replication must be equal or greater than 1. ReplicationFactor int32 `protobuf:"varint,3,opt,name=replication_factor,json=replicationFactor,proto3" json:"replication_factor,omitempty"` // contains filtered or unexported fields }
SetReplicationFactorRequest sets the desired replication factor for a repository.
func (*SetReplicationFactorRequest) Descriptor
deprecated
func (*SetReplicationFactorRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetReplicationFactorRequest.ProtoReflect.Descriptor instead.
func (*SetReplicationFactorRequest) GetRelativePath ¶
func (x *SetReplicationFactorRequest) GetRelativePath() string
func (*SetReplicationFactorRequest) GetReplicationFactor ¶
func (x *SetReplicationFactorRequest) GetReplicationFactor() int32
func (*SetReplicationFactorRequest) GetVirtualStorage ¶
func (x *SetReplicationFactorRequest) GetVirtualStorage() string
func (*SetReplicationFactorRequest) ProtoMessage ¶
func (*SetReplicationFactorRequest) ProtoMessage()
func (*SetReplicationFactorRequest) ProtoReflect ¶
func (x *SetReplicationFactorRequest) ProtoReflect() protoreflect.Message
func (*SetReplicationFactorRequest) Reset ¶
func (x *SetReplicationFactorRequest) Reset()
func (*SetReplicationFactorRequest) String ¶
func (x *SetReplicationFactorRequest) String() string
type SetReplicationFactorResponse ¶
type SetReplicationFactorResponse struct { // storages are the storages assigned to host the repository. Storages []string `protobuf:"bytes,1,rep,name=storages,proto3" json:"storages,omitempty"` // contains filtered or unexported fields }
SetReplicationFactorResponse returns the assigned hosts after setting the desired replication factor.
func (*SetReplicationFactorResponse) Descriptor
deprecated
func (*SetReplicationFactorResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetReplicationFactorResponse.ProtoReflect.Descriptor instead.
func (*SetReplicationFactorResponse) GetStorages ¶
func (x *SetReplicationFactorResponse) GetStorages() []string
func (*SetReplicationFactorResponse) ProtoMessage ¶
func (*SetReplicationFactorResponse) ProtoMessage()
func (*SetReplicationFactorResponse) ProtoReflect ¶
func (x *SetReplicationFactorResponse) ProtoReflect() protoreflect.Message
func (*SetReplicationFactorResponse) Reset ¶
func (x *SetReplicationFactorResponse) Reset()
func (*SetReplicationFactorResponse) String ¶
func (x *SetReplicationFactorResponse) String() string
type SignatureType ¶
type SignatureType int32
SignatureType ...
const ( // NONE ... SignatureType_NONE SignatureType = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // PGP ... SignatureType_PGP SignatureType = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // X509 ... SignatureType_X509 SignatureType = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // SSH ... SignatureType_SSH SignatureType = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (SignatureType) Descriptor ¶
func (SignatureType) Descriptor() protoreflect.EnumDescriptor
func (SignatureType) Enum ¶
func (x SignatureType) Enum() *SignatureType
func (SignatureType) EnumDescriptor
deprecated
func (SignatureType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignatureType.Descriptor instead.
func (SignatureType) Number ¶
func (x SignatureType) Number() protoreflect.EnumNumber
func (SignatureType) String ¶
func (x SignatureType) String() string
func (SignatureType) Type ¶
func (SignatureType) Type() protoreflect.EnumType
type SmartHTTPServiceClient ¶
type SmartHTTPServiceClient interface { // InfoRefsUploadPack provides the response for GET /info/refs?service=git-upload-pack. // It is invoked when the client fetches packs from the server, meaning the server will // upload the packs to that client. The client doesn't upload new objects. This is used // to advertise the references available on the server to the client via // git-upload-pack(1)'s `--advertise-refs` option. InfoRefsUploadPack(ctx context.Context, in *InfoRefsRequest, opts ...grpc.CallOption) (SmartHTTPService_InfoRefsUploadPackClient, error) // InfoRefsReceivePack provides the response for GET /info/refs?service=git-receive-pack. // It is invoked when the client pushes packs to the server, meaning the server // will fetch the packs from the client. This is used to advertise the references // available on the server to the client via git-receive-pack(1)'s `--advertise-refs` // option. InfoRefsReceivePack(ctx context.Context, in *InfoRefsRequest, opts ...grpc.CallOption) (SmartHTTPService_InfoRefsReceivePackClient, error) // PostUploadPackWithSidechannel provides the response for POST /upload-pack. It // used to transfer pack files from the server to the client via sidechannels. This // is invoked when the client executes `git fetch`. // // More info on sidechannels: https://gitlab.com/gitlab-org/gitaly/-/blob/master/doc/sidechannel.md PostUploadPackWithSidechannel(ctx context.Context, in *PostUploadPackWithSidechannelRequest, opts ...grpc.CallOption) (*PostUploadPackWithSidechannelResponse, error) // PostReceivePack provides the response for POST /receive-pack. It used to transfer // pack files from the client to the server. This is invoked when the client executes `git push`. PostReceivePack(ctx context.Context, opts ...grpc.CallOption) (SmartHTTPService_PostReceivePackClient, error) }
SmartHTTPServiceClient is the client API for SmartHTTPService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSmartHTTPServiceClient ¶
func NewSmartHTTPServiceClient(cc grpc.ClientConnInterface) SmartHTTPServiceClient
type SmartHTTPServiceServer ¶
type SmartHTTPServiceServer interface { // InfoRefsUploadPack provides the response for GET /info/refs?service=git-upload-pack. // It is invoked when the client fetches packs from the server, meaning the server will // upload the packs to that client. The client doesn't upload new objects. This is used // to advertise the references available on the server to the client via // git-upload-pack(1)'s `--advertise-refs` option. InfoRefsUploadPack(*InfoRefsRequest, SmartHTTPService_InfoRefsUploadPackServer) error // InfoRefsReceivePack provides the response for GET /info/refs?service=git-receive-pack. // It is invoked when the client pushes packs to the server, meaning the server // will fetch the packs from the client. This is used to advertise the references // available on the server to the client via git-receive-pack(1)'s `--advertise-refs` // option. InfoRefsReceivePack(*InfoRefsRequest, SmartHTTPService_InfoRefsReceivePackServer) error // PostUploadPackWithSidechannel provides the response for POST /upload-pack. It // used to transfer pack files from the server to the client via sidechannels. This // is invoked when the client executes `git fetch`. // // More info on sidechannels: https://gitlab.com/gitlab-org/gitaly/-/blob/master/doc/sidechannel.md PostUploadPackWithSidechannel(context.Context, *PostUploadPackWithSidechannelRequest) (*PostUploadPackWithSidechannelResponse, error) // PostReceivePack provides the response for POST /receive-pack. It used to transfer // pack files from the client to the server. This is invoked when the client executes `git push`. PostReceivePack(SmartHTTPService_PostReceivePackServer) error // contains filtered or unexported methods }
SmartHTTPServiceServer is the server API for SmartHTTPService service. All implementations must embed UnimplementedSmartHTTPServiceServer for forward compatibility
type SmartHTTPService_InfoRefsReceivePackClient ¶
type SmartHTTPService_InfoRefsReceivePackClient interface { Recv() (*InfoRefsResponse, error) grpc.ClientStream }
type SmartHTTPService_InfoRefsReceivePackServer ¶
type SmartHTTPService_InfoRefsReceivePackServer interface { Send(*InfoRefsResponse) error grpc.ServerStream }
type SmartHTTPService_InfoRefsUploadPackClient ¶
type SmartHTTPService_InfoRefsUploadPackClient interface { Recv() (*InfoRefsResponse, error) grpc.ClientStream }
type SmartHTTPService_InfoRefsUploadPackServer ¶
type SmartHTTPService_InfoRefsUploadPackServer interface { Send(*InfoRefsResponse) error grpc.ServerStream }
type SmartHTTPService_PostReceivePackClient ¶
type SmartHTTPService_PostReceivePackClient interface { Send(*PostReceivePackRequest) error Recv() (*PostReceivePackResponse, error) grpc.ClientStream }
type SmartHTTPService_PostReceivePackServer ¶
type SmartHTTPService_PostReceivePackServer interface { Send(*PostReceivePackResponse) error Recv() (*PostReceivePackRequest, error) grpc.ServerStream }
type SortDirection ¶
type SortDirection int32
SortDirection defines the sort direction.
const ( // ASCENDING sorts by the sort key in ascending order. SortDirection_ASCENDING SortDirection = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // DESCENDING sorts by the sort key in descending order. SortDirection_DESCENDING SortDirection = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (SortDirection) Descriptor ¶
func (SortDirection) Descriptor() protoreflect.EnumDescriptor
func (SortDirection) Enum ¶
func (x SortDirection) Enum() *SortDirection
func (SortDirection) EnumDescriptor
deprecated
func (SortDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use SortDirection.Descriptor instead.
func (SortDirection) Number ¶
func (x SortDirection) Number() protoreflect.EnumNumber
func (SortDirection) String ¶
func (x SortDirection) String() string
func (SortDirection) Type ¶
func (SortDirection) Type() protoreflect.EnumType
type StopTransactionRequest ¶
type StopTransactionRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // transaction_id is the ID of the transaction we're processing. TransactionId uint64 `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // contains filtered or unexported fields }
StopTransactionRequest ...
func (*StopTransactionRequest) Descriptor
deprecated
func (*StopTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopTransactionRequest.ProtoReflect.Descriptor instead.
func (*StopTransactionRequest) GetRepository ¶
func (x *StopTransactionRequest) GetRepository() *Repository
func (*StopTransactionRequest) GetTransactionId ¶
func (x *StopTransactionRequest) GetTransactionId() uint64
func (*StopTransactionRequest) ProtoMessage ¶
func (*StopTransactionRequest) ProtoMessage()
func (*StopTransactionRequest) ProtoReflect ¶
func (x *StopTransactionRequest) ProtoReflect() protoreflect.Message
func (*StopTransactionRequest) Reset ¶
func (x *StopTransactionRequest) Reset()
func (*StopTransactionRequest) String ¶
func (x *StopTransactionRequest) String() string
type StopTransactionResponse ¶
type StopTransactionResponse struct {
// contains filtered or unexported fields
}
StopTransactionResponse ...
func (*StopTransactionResponse) Descriptor
deprecated
func (*StopTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopTransactionResponse.ProtoReflect.Descriptor instead.
func (*StopTransactionResponse) ProtoMessage ¶
func (*StopTransactionResponse) ProtoMessage()
func (*StopTransactionResponse) ProtoReflect ¶
func (x *StopTransactionResponse) ProtoReflect() protoreflect.Message
func (*StopTransactionResponse) Reset ¶
func (x *StopTransactionResponse) Reset()
func (*StopTransactionResponse) String ¶
func (x *StopTransactionResponse) String() string
type Tag ¶
type Tag struct { // name ... Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // id ... Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // target_commit ... TargetCommit *GitCommit `protobuf:"bytes,3,opt,name=target_commit,json=targetCommit,proto3" json:"target_commit,omitempty"` // message is the message of the tag. 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"` // message_size ... MessageSize int64 `protobuf:"varint,5,opt,name=message_size,json=messageSize,proto3" json:"message_size,omitempty"` // tagger ... Tagger *CommitAuthor `protobuf:"bytes,6,opt,name=tagger,proto3" json:"tagger,omitempty"` // signature_type ... SignatureType SignatureType `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
Tag ...
func (*Tag) Descriptor
deprecated
func (*Tag) GetMessage ¶
func (*Tag) GetMessageSize ¶
func (*Tag) GetSignatureType ¶
func (x *Tag) GetSignatureType() SignatureType
func (*Tag) GetTagger ¶
func (x *Tag) GetTagger() *CommitAuthor
func (*Tag) GetTargetCommit ¶
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
type TreeEntry ¶
type TreeEntry struct { // oid of the object this tree entry points to. Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` // path is the path of the entry relative to the tree of the specified revision. Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // type denotes the type of the tree entry. Type TreeEntry_EntryType `protobuf:"varint,4,opt,name=type,proto3,enum=gitaly.TreeEntry_EntryType" json:"type,omitempty"` // mode is the mode of the tree entry. Mode int32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` // commit_oid is the commit object via which this entry was retrieved. CommitOid string `protobuf:"bytes,6,opt,name=commit_oid,json=commitOid,proto3" json:"commit_oid,omitempty"` // flat_path is the relative path of the first subdir that doesn't have only one directory descendant. FlatPath []byte `protobuf:"bytes,7,opt,name=flat_path,json=flatPath,proto3" json:"flat_path,omitempty"` // contains filtered or unexported fields }
TreeEntry denotes a single tree entry.
func (*TreeEntry) Descriptor
deprecated
func (*TreeEntry) GetCommitOid ¶
func (*TreeEntry) GetFlatPath ¶
func (*TreeEntry) GetType ¶
func (x *TreeEntry) GetType() TreeEntry_EntryType
func (*TreeEntry) ProtoMessage ¶
func (*TreeEntry) ProtoMessage()
func (*TreeEntry) ProtoReflect ¶
func (x *TreeEntry) ProtoReflect() protoreflect.Message
type TreeEntryRequest ¶
type TreeEntryRequest struct { // repository is the repository for which to read the tree entry. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // revision is the commitish at which the tree entry is to be read. Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // path is the path of the entry that shall be read, relative to the tree of the specified revision. Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // limit is the maximum number of bytes to fetch. If object is bigger, remaining bytes are not sent // 0 means there is no limit. Limit int64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // max_size is the maximum allowed object size. If bigger, a FailedPrecondition error is returned // 0 means there is no maximum size. MaxSize int64 `protobuf:"varint,5,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` // contains filtered or unexported fields }
TreeEntryRequest is a request for the TreeEntry RPC.
func (*TreeEntryRequest) Descriptor
deprecated
func (*TreeEntryRequest) Descriptor() ([]byte, []int)
Deprecated: Use TreeEntryRequest.ProtoReflect.Descriptor instead.
func (*TreeEntryRequest) GetLimit ¶
func (x *TreeEntryRequest) GetLimit() int64
func (*TreeEntryRequest) GetMaxSize ¶
func (x *TreeEntryRequest) GetMaxSize() int64
func (*TreeEntryRequest) GetPath ¶
func (x *TreeEntryRequest) GetPath() []byte
func (*TreeEntryRequest) GetRepository ¶
func (x *TreeEntryRequest) GetRepository() *Repository
func (*TreeEntryRequest) GetRevision ¶
func (x *TreeEntryRequest) GetRevision() []byte
func (*TreeEntryRequest) ProtoMessage ¶
func (*TreeEntryRequest) ProtoMessage()
func (*TreeEntryRequest) ProtoReflect ¶
func (x *TreeEntryRequest) ProtoReflect() protoreflect.Message
func (*TreeEntryRequest) Reset ¶
func (x *TreeEntryRequest) Reset()
func (*TreeEntryRequest) String ¶
func (x *TreeEntryRequest) String() string
type TreeEntryResponse ¶
type TreeEntryResponse struct { // type is the object type of the tree entry. Type TreeEntryResponse_ObjectType `protobuf:"varint,1,opt,name=type,proto3,enum=gitaly.TreeEntryResponse_ObjectType" json:"type,omitempty"` // oid is the object ID of the tree entry. In case of submodules, it contains the commit ID that the submodule // currently refers to. Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` // size is the size of the tree entry. Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // mode is the mode of the tree entry. Mode int32 `protobuf:"varint,4,opt,name=mode,proto3" json:"mode,omitempty"` // data contains the raw object contents. This data may be split up across multiple messages. Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
TreeEntryResponse is a response for the TreeEntry RPC. The response will be chunked into multiple message if the returned data exceeds gRPC message limits.
func (*TreeEntryResponse) Descriptor
deprecated
func (*TreeEntryResponse) Descriptor() ([]byte, []int)
Deprecated: Use TreeEntryResponse.ProtoReflect.Descriptor instead.
func (*TreeEntryResponse) GetData ¶
func (x *TreeEntryResponse) GetData() []byte
func (*TreeEntryResponse) GetMode ¶
func (x *TreeEntryResponse) GetMode() int32
func (*TreeEntryResponse) GetOid ¶
func (x *TreeEntryResponse) GetOid() string
func (*TreeEntryResponse) GetSize ¶
func (x *TreeEntryResponse) GetSize() int64
func (*TreeEntryResponse) GetType ¶
func (x *TreeEntryResponse) GetType() TreeEntryResponse_ObjectType
func (*TreeEntryResponse) ProtoMessage ¶
func (*TreeEntryResponse) ProtoMessage()
func (*TreeEntryResponse) ProtoReflect ¶
func (x *TreeEntryResponse) ProtoReflect() protoreflect.Message
func (*TreeEntryResponse) Reset ¶
func (x *TreeEntryResponse) Reset()
func (*TreeEntryResponse) String ¶
func (x *TreeEntryResponse) String() string
type TreeEntryResponse_ObjectType ¶
type TreeEntryResponse_ObjectType int32
ObjectType is the type of the returned tree entry.
TODO: Replace this enum with ObjectType in shared.proto
const ( // COMMIT indicates that the tree entry is a commit, which may be the case for submodules. TreeEntryResponse_COMMIT TreeEntryResponse_ObjectType = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // BLOB indicates that the tree entry is a blob. TreeEntryResponse_BLOB TreeEntryResponse_ObjectType = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // TREE indicates that the tree entry is a tree, which may be the case for subdirectories. TreeEntryResponse_TREE TreeEntryResponse_ObjectType = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // TAG indicates that the tree entry is a tag. This case should never happen. TreeEntryResponse_TAG TreeEntryResponse_ObjectType = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (TreeEntryResponse_ObjectType) Descriptor ¶
func (TreeEntryResponse_ObjectType) Descriptor() protoreflect.EnumDescriptor
func (TreeEntryResponse_ObjectType) Enum ¶
func (x TreeEntryResponse_ObjectType) Enum() *TreeEntryResponse_ObjectType
func (TreeEntryResponse_ObjectType) EnumDescriptor
deprecated
func (TreeEntryResponse_ObjectType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TreeEntryResponse_ObjectType.Descriptor instead.
func (TreeEntryResponse_ObjectType) Number ¶
func (x TreeEntryResponse_ObjectType) Number() protoreflect.EnumNumber
func (TreeEntryResponse_ObjectType) String ¶
func (x TreeEntryResponse_ObjectType) String() string
func (TreeEntryResponse_ObjectType) Type ¶
func (TreeEntryResponse_ObjectType) Type() protoreflect.EnumType
type TreeEntry_EntryType ¶
type TreeEntry_EntryType int32
EntryType denotes the different types of tree entry.
const ( // BLOB indicates that the tree entry is a blob. TreeEntry_BLOB TreeEntry_EntryType = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // TREE indicates that the tree entry is a tree, which may be the case for subdirectories. TreeEntry_TREE TreeEntry_EntryType = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // COMMIT indicates that the tree entry is a commit, which may be the case for submodules. TreeEntry_COMMIT TreeEntry_EntryType = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (TreeEntry_EntryType) Descriptor ¶
func (TreeEntry_EntryType) Descriptor() protoreflect.EnumDescriptor
func (TreeEntry_EntryType) Enum ¶
func (x TreeEntry_EntryType) Enum() *TreeEntry_EntryType
func (TreeEntry_EntryType) EnumDescriptor
deprecated
func (TreeEntry_EntryType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TreeEntry_EntryType.Descriptor instead.
func (TreeEntry_EntryType) Number ¶
func (x TreeEntry_EntryType) Number() protoreflect.EnumNumber
func (TreeEntry_EntryType) String ¶
func (x TreeEntry_EntryType) String() string
func (TreeEntry_EntryType) Type ¶
func (TreeEntry_EntryType) Type() protoreflect.EnumType
type UnimplementedBlobServiceServer ¶
type UnimplementedBlobServiceServer struct { }
UnimplementedBlobServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedBlobServiceServer) GetBlob ¶
func (UnimplementedBlobServiceServer) GetBlob(*GetBlobRequest, BlobService_GetBlobServer) error
func (UnimplementedBlobServiceServer) GetBlobs ¶
func (UnimplementedBlobServiceServer) GetBlobs(*GetBlobsRequest, BlobService_GetBlobsServer) error
func (UnimplementedBlobServiceServer) GetLFSPointers ¶
func (UnimplementedBlobServiceServer) GetLFSPointers(*GetLFSPointersRequest, BlobService_GetLFSPointersServer) error
func (UnimplementedBlobServiceServer) ListAllBlobs ¶
func (UnimplementedBlobServiceServer) ListAllBlobs(*ListAllBlobsRequest, BlobService_ListAllBlobsServer) error
func (UnimplementedBlobServiceServer) ListAllLFSPointers ¶
func (UnimplementedBlobServiceServer) ListAllLFSPointers(*ListAllLFSPointersRequest, BlobService_ListAllLFSPointersServer) error
func (UnimplementedBlobServiceServer) ListBlobs ¶
func (UnimplementedBlobServiceServer) ListBlobs(*ListBlobsRequest, BlobService_ListBlobsServer) error
func (UnimplementedBlobServiceServer) ListLFSPointers ¶
func (UnimplementedBlobServiceServer) ListLFSPointers(*ListLFSPointersRequest, BlobService_ListLFSPointersServer) error
type UnimplementedCleanupServiceServer ¶
type UnimplementedCleanupServiceServer struct { }
UnimplementedCleanupServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCleanupServiceServer) ApplyBfgObjectMapStream ¶
func (UnimplementedCleanupServiceServer) ApplyBfgObjectMapStream(CleanupService_ApplyBfgObjectMapStreamServer) error
type UnimplementedCommitServiceServer ¶
type UnimplementedCommitServiceServer struct { }
UnimplementedCommitServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCommitServiceServer) CheckObjectsExist ¶
func (UnimplementedCommitServiceServer) CheckObjectsExist(CommitService_CheckObjectsExistServer) error
func (UnimplementedCommitServiceServer) CommitIsAncestor ¶
func (UnimplementedCommitServiceServer) CommitIsAncestor(context.Context, *CommitIsAncestorRequest) (*CommitIsAncestorResponse, error)
func (UnimplementedCommitServiceServer) CommitLanguages ¶
func (UnimplementedCommitServiceServer) CommitLanguages(context.Context, *CommitLanguagesRequest) (*CommitLanguagesResponse, error)
func (UnimplementedCommitServiceServer) CommitStats ¶
func (UnimplementedCommitServiceServer) CommitStats(context.Context, *CommitStatsRequest) (*CommitStatsResponse, error)
func (UnimplementedCommitServiceServer) CommitsByMessage ¶
func (UnimplementedCommitServiceServer) CommitsByMessage(*CommitsByMessageRequest, CommitService_CommitsByMessageServer) error
func (UnimplementedCommitServiceServer) CountCommits ¶
func (UnimplementedCommitServiceServer) CountCommits(context.Context, *CountCommitsRequest) (*CountCommitsResponse, error)
func (UnimplementedCommitServiceServer) CountDivergingCommits ¶
func (UnimplementedCommitServiceServer) CountDivergingCommits(context.Context, *CountDivergingCommitsRequest) (*CountDivergingCommitsResponse, error)
func (UnimplementedCommitServiceServer) FilterShasWithSignatures ¶
func (UnimplementedCommitServiceServer) FilterShasWithSignatures(CommitService_FilterShasWithSignaturesServer) error
func (UnimplementedCommitServiceServer) FindAllCommits ¶
func (UnimplementedCommitServiceServer) FindAllCommits(*FindAllCommitsRequest, CommitService_FindAllCommitsServer) error
func (UnimplementedCommitServiceServer) FindCommit ¶
func (UnimplementedCommitServiceServer) FindCommit(context.Context, *FindCommitRequest) (*FindCommitResponse, error)
func (UnimplementedCommitServiceServer) FindCommits ¶
func (UnimplementedCommitServiceServer) FindCommits(*FindCommitsRequest, CommitService_FindCommitsServer) error
func (UnimplementedCommitServiceServer) GetCommitMessages ¶
func (UnimplementedCommitServiceServer) GetCommitMessages(*GetCommitMessagesRequest, CommitService_GetCommitMessagesServer) error
func (UnimplementedCommitServiceServer) GetCommitSignatures ¶
func (UnimplementedCommitServiceServer) GetCommitSignatures(*GetCommitSignaturesRequest, CommitService_GetCommitSignaturesServer) error
func (UnimplementedCommitServiceServer) GetTreeEntries ¶
func (UnimplementedCommitServiceServer) GetTreeEntries(*GetTreeEntriesRequest, CommitService_GetTreeEntriesServer) error
func (UnimplementedCommitServiceServer) LastCommitForPath ¶
func (UnimplementedCommitServiceServer) LastCommitForPath(context.Context, *LastCommitForPathRequest) (*LastCommitForPathResponse, error)
func (UnimplementedCommitServiceServer) ListAllCommits ¶
func (UnimplementedCommitServiceServer) ListAllCommits(*ListAllCommitsRequest, CommitService_ListAllCommitsServer) error
func (UnimplementedCommitServiceServer) ListCommits ¶
func (UnimplementedCommitServiceServer) ListCommits(*ListCommitsRequest, CommitService_ListCommitsServer) error
func (UnimplementedCommitServiceServer) ListCommitsByOid ¶
func (UnimplementedCommitServiceServer) ListCommitsByOid(*ListCommitsByOidRequest, CommitService_ListCommitsByOidServer) error
func (UnimplementedCommitServiceServer) ListCommitsByRefName ¶
func (UnimplementedCommitServiceServer) ListCommitsByRefName(*ListCommitsByRefNameRequest, CommitService_ListCommitsByRefNameServer) error
func (UnimplementedCommitServiceServer) ListFiles ¶
func (UnimplementedCommitServiceServer) ListFiles(*ListFilesRequest, CommitService_ListFilesServer) error
func (UnimplementedCommitServiceServer) ListLastCommitsForTree ¶
func (UnimplementedCommitServiceServer) ListLastCommitsForTree(*ListLastCommitsForTreeRequest, CommitService_ListLastCommitsForTreeServer) error
func (UnimplementedCommitServiceServer) RawBlame ¶
func (UnimplementedCommitServiceServer) RawBlame(*RawBlameRequest, CommitService_RawBlameServer) error
func (UnimplementedCommitServiceServer) TreeEntry ¶
func (UnimplementedCommitServiceServer) TreeEntry(*TreeEntryRequest, CommitService_TreeEntryServer) error
type UnimplementedConflictsServiceServer ¶
type UnimplementedConflictsServiceServer struct { }
UnimplementedConflictsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedConflictsServiceServer) ListConflictFiles ¶
func (UnimplementedConflictsServiceServer) ListConflictFiles(*ListConflictFilesRequest, ConflictsService_ListConflictFilesServer) error
func (UnimplementedConflictsServiceServer) ResolveConflicts ¶
func (UnimplementedConflictsServiceServer) ResolveConflicts(ConflictsService_ResolveConflictsServer) error
type UnimplementedDiffServiceServer ¶
type UnimplementedDiffServiceServer struct { }
UnimplementedDiffServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDiffServiceServer) CommitDelta ¶
func (UnimplementedDiffServiceServer) CommitDelta(*CommitDeltaRequest, DiffService_CommitDeltaServer) error
func (UnimplementedDiffServiceServer) CommitDiff ¶
func (UnimplementedDiffServiceServer) CommitDiff(*CommitDiffRequest, DiffService_CommitDiffServer) error
func (UnimplementedDiffServiceServer) DiffStats ¶
func (UnimplementedDiffServiceServer) DiffStats(*DiffStatsRequest, DiffService_DiffStatsServer) error
func (UnimplementedDiffServiceServer) FindChangedPaths ¶
func (UnimplementedDiffServiceServer) FindChangedPaths(*FindChangedPathsRequest, DiffService_FindChangedPathsServer) error
func (UnimplementedDiffServiceServer) GetPatchID ¶
func (UnimplementedDiffServiceServer) GetPatchID(context.Context, *GetPatchIDRequest) (*GetPatchIDResponse, error)
func (UnimplementedDiffServiceServer) RawDiff ¶
func (UnimplementedDiffServiceServer) RawDiff(*RawDiffRequest, DiffService_RawDiffServer) error
func (UnimplementedDiffServiceServer) RawPatch ¶
func (UnimplementedDiffServiceServer) RawPatch(*RawPatchRequest, DiffService_RawPatchServer) error
type UnimplementedHookServiceServer ¶
type UnimplementedHookServiceServer struct { }
UnimplementedHookServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedHookServiceServer) PackObjectsHookWithSidechannel ¶
func (UnimplementedHookServiceServer) PackObjectsHookWithSidechannel(context.Context, *PackObjectsHookWithSidechannelRequest) (*PackObjectsHookWithSidechannelResponse, error)
func (UnimplementedHookServiceServer) PostReceiveHook ¶
func (UnimplementedHookServiceServer) PostReceiveHook(HookService_PostReceiveHookServer) error
func (UnimplementedHookServiceServer) PreReceiveHook ¶
func (UnimplementedHookServiceServer) PreReceiveHook(HookService_PreReceiveHookServer) error
func (UnimplementedHookServiceServer) ReferenceTransactionHook ¶
func (UnimplementedHookServiceServer) ReferenceTransactionHook(HookService_ReferenceTransactionHookServer) error
func (UnimplementedHookServiceServer) UpdateHook ¶
func (UnimplementedHookServiceServer) UpdateHook(*UpdateHookRequest, HookService_UpdateHookServer) error
type UnimplementedInternalGitalyServer ¶
type UnimplementedInternalGitalyServer struct { }
UnimplementedInternalGitalyServer must be embedded to have forward compatible implementations.
func (UnimplementedInternalGitalyServer) WalkRepos ¶
func (UnimplementedInternalGitalyServer) WalkRepos(*WalkReposRequest, InternalGitaly_WalkReposServer) error
type UnimplementedNamespaceServiceServer ¶
type UnimplementedNamespaceServiceServer struct { }
UnimplementedNamespaceServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedNamespaceServiceServer) AddNamespace ¶
func (UnimplementedNamespaceServiceServer) AddNamespace(context.Context, *AddNamespaceRequest) (*AddNamespaceResponse, error)
func (UnimplementedNamespaceServiceServer) NamespaceExists ¶
func (UnimplementedNamespaceServiceServer) NamespaceExists(context.Context, *NamespaceExistsRequest) (*NamespaceExistsResponse, error)
func (UnimplementedNamespaceServiceServer) RemoveNamespace ¶
func (UnimplementedNamespaceServiceServer) RemoveNamespace(context.Context, *RemoveNamespaceRequest) (*RemoveNamespaceResponse, error)
func (UnimplementedNamespaceServiceServer) RenameNamespace ¶
func (UnimplementedNamespaceServiceServer) RenameNamespace(context.Context, *RenameNamespaceRequest) (*RenameNamespaceResponse, error)
type UnimplementedObjectPoolServiceServer ¶
type UnimplementedObjectPoolServiceServer struct { }
UnimplementedObjectPoolServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedObjectPoolServiceServer) CreateObjectPool ¶
func (UnimplementedObjectPoolServiceServer) CreateObjectPool(context.Context, *CreateObjectPoolRequest) (*CreateObjectPoolResponse, error)
func (UnimplementedObjectPoolServiceServer) DeleteObjectPool ¶
func (UnimplementedObjectPoolServiceServer) DeleteObjectPool(context.Context, *DeleteObjectPoolRequest) (*DeleteObjectPoolResponse, error)
func (UnimplementedObjectPoolServiceServer) DisconnectGitAlternates ¶
func (UnimplementedObjectPoolServiceServer) DisconnectGitAlternates(context.Context, *DisconnectGitAlternatesRequest) (*DisconnectGitAlternatesResponse, error)
func (UnimplementedObjectPoolServiceServer) FetchIntoObjectPool ¶
func (UnimplementedObjectPoolServiceServer) FetchIntoObjectPool(context.Context, *FetchIntoObjectPoolRequest) (*FetchIntoObjectPoolResponse, error)
func (UnimplementedObjectPoolServiceServer) GetObjectPool ¶
func (UnimplementedObjectPoolServiceServer) GetObjectPool(context.Context, *GetObjectPoolRequest) (*GetObjectPoolResponse, error)
func (UnimplementedObjectPoolServiceServer) LinkRepositoryToObjectPool ¶
func (UnimplementedObjectPoolServiceServer) LinkRepositoryToObjectPool(context.Context, *LinkRepositoryToObjectPoolRequest) (*LinkRepositoryToObjectPoolResponse, error)
type UnimplementedOperationServiceServer ¶
type UnimplementedOperationServiceServer struct { }
UnimplementedOperationServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOperationServiceServer) UserApplyPatch ¶
func (UnimplementedOperationServiceServer) UserApplyPatch(OperationService_UserApplyPatchServer) error
func (UnimplementedOperationServiceServer) UserCherryPick ¶
func (UnimplementedOperationServiceServer) UserCherryPick(context.Context, *UserCherryPickRequest) (*UserCherryPickResponse, error)
func (UnimplementedOperationServiceServer) UserCommitFiles ¶
func (UnimplementedOperationServiceServer) UserCommitFiles(OperationService_UserCommitFilesServer) error
func (UnimplementedOperationServiceServer) UserCreateBranch ¶
func (UnimplementedOperationServiceServer) UserCreateBranch(context.Context, *UserCreateBranchRequest) (*UserCreateBranchResponse, error)
func (UnimplementedOperationServiceServer) UserCreateTag ¶
func (UnimplementedOperationServiceServer) UserCreateTag(context.Context, *UserCreateTagRequest) (*UserCreateTagResponse, error)
func (UnimplementedOperationServiceServer) UserDeleteBranch ¶
func (UnimplementedOperationServiceServer) UserDeleteBranch(context.Context, *UserDeleteBranchRequest) (*UserDeleteBranchResponse, error)
func (UnimplementedOperationServiceServer) UserDeleteTag ¶
func (UnimplementedOperationServiceServer) UserDeleteTag(context.Context, *UserDeleteTagRequest) (*UserDeleteTagResponse, error)
func (UnimplementedOperationServiceServer) UserFFBranch ¶
func (UnimplementedOperationServiceServer) UserFFBranch(context.Context, *UserFFBranchRequest) (*UserFFBranchResponse, error)
func (UnimplementedOperationServiceServer) UserMergeBranch ¶
func (UnimplementedOperationServiceServer) UserMergeBranch(OperationService_UserMergeBranchServer) error
func (UnimplementedOperationServiceServer) UserMergeToRef ¶
func (UnimplementedOperationServiceServer) UserMergeToRef(context.Context, *UserMergeToRefRequest) (*UserMergeToRefResponse, error)
func (UnimplementedOperationServiceServer) UserRebaseConfirmable ¶
func (UnimplementedOperationServiceServer) UserRebaseConfirmable(OperationService_UserRebaseConfirmableServer) error
func (UnimplementedOperationServiceServer) UserRebaseToRef ¶ added in v16.2.0
func (UnimplementedOperationServiceServer) UserRebaseToRef(context.Context, *UserRebaseToRefRequest) (*UserRebaseToRefResponse, error)
func (UnimplementedOperationServiceServer) UserRevert ¶
func (UnimplementedOperationServiceServer) UserRevert(context.Context, *UserRevertRequest) (*UserRevertResponse, error)
func (UnimplementedOperationServiceServer) UserSquash ¶
func (UnimplementedOperationServiceServer) UserSquash(context.Context, *UserSquashRequest) (*UserSquashResponse, error)
func (UnimplementedOperationServiceServer) UserUpdateBranch ¶
func (UnimplementedOperationServiceServer) UserUpdateBranch(context.Context, *UserUpdateBranchRequest) (*UserUpdateBranchResponse, error)
func (UnimplementedOperationServiceServer) UserUpdateSubmodule ¶
func (UnimplementedOperationServiceServer) UserUpdateSubmodule(context.Context, *UserUpdateSubmoduleRequest) (*UserUpdateSubmoduleResponse, error)
type UnimplementedPraefectInfoServiceServer ¶
type UnimplementedPraefectInfoServiceServer struct { }
UnimplementedPraefectInfoServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPraefectInfoServiceServer) DatalossCheck ¶
func (UnimplementedPraefectInfoServiceServer) DatalossCheck(context.Context, *DatalossCheckRequest) (*DatalossCheckResponse, error)
func (UnimplementedPraefectInfoServiceServer) GetRepositoryMetadata ¶
func (UnimplementedPraefectInfoServiceServer) GetRepositoryMetadata(context.Context, *GetRepositoryMetadataRequest) (*GetRepositoryMetadataResponse, error)
func (UnimplementedPraefectInfoServiceServer) MarkUnverified ¶
func (UnimplementedPraefectInfoServiceServer) MarkUnverified(context.Context, *MarkUnverifiedRequest) (*MarkUnverifiedResponse, error)
func (UnimplementedPraefectInfoServiceServer) RepositoryReplicas ¶
func (UnimplementedPraefectInfoServiceServer) RepositoryReplicas(context.Context, *RepositoryReplicasRequest) (*RepositoryReplicasResponse, error)
func (UnimplementedPraefectInfoServiceServer) SetAuthoritativeStorage ¶
func (UnimplementedPraefectInfoServiceServer) SetAuthoritativeStorage(context.Context, *SetAuthoritativeStorageRequest) (*SetAuthoritativeStorageResponse, error)
func (UnimplementedPraefectInfoServiceServer) SetReplicationFactor ¶
func (UnimplementedPraefectInfoServiceServer) SetReplicationFactor(context.Context, *SetReplicationFactorRequest) (*SetReplicationFactorResponse, error)
type UnimplementedRefServiceServer ¶
type UnimplementedRefServiceServer struct { }
UnimplementedRefServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRefServiceServer) DeleteRefs ¶
func (UnimplementedRefServiceServer) DeleteRefs(context.Context, *DeleteRefsRequest) (*DeleteRefsResponse, error)
func (UnimplementedRefServiceServer) FindAllBranches ¶
func (UnimplementedRefServiceServer) FindAllBranches(*FindAllBranchesRequest, RefService_FindAllBranchesServer) error
func (UnimplementedRefServiceServer) FindAllRemoteBranches ¶
func (UnimplementedRefServiceServer) FindAllRemoteBranches(*FindAllRemoteBranchesRequest, RefService_FindAllRemoteBranchesServer) error
func (UnimplementedRefServiceServer) FindAllTags ¶
func (UnimplementedRefServiceServer) FindAllTags(*FindAllTagsRequest, RefService_FindAllTagsServer) error
func (UnimplementedRefServiceServer) FindBranch ¶
func (UnimplementedRefServiceServer) FindBranch(context.Context, *FindBranchRequest) (*FindBranchResponse, error)
func (UnimplementedRefServiceServer) FindDefaultBranchName ¶
func (UnimplementedRefServiceServer) FindDefaultBranchName(context.Context, *FindDefaultBranchNameRequest) (*FindDefaultBranchNameResponse, error)
func (UnimplementedRefServiceServer) FindLocalBranches ¶
func (UnimplementedRefServiceServer) FindLocalBranches(*FindLocalBranchesRequest, RefService_FindLocalBranchesServer) error
func (UnimplementedRefServiceServer) FindRefsByOID ¶
func (UnimplementedRefServiceServer) FindRefsByOID(context.Context, *FindRefsByOIDRequest) (*FindRefsByOIDResponse, error)
func (UnimplementedRefServiceServer) FindTag ¶
func (UnimplementedRefServiceServer) FindTag(context.Context, *FindTagRequest) (*FindTagResponse, error)
func (UnimplementedRefServiceServer) GetTagMessages ¶
func (UnimplementedRefServiceServer) GetTagMessages(*GetTagMessagesRequest, RefService_GetTagMessagesServer) error
func (UnimplementedRefServiceServer) GetTagSignatures ¶
func (UnimplementedRefServiceServer) GetTagSignatures(*GetTagSignaturesRequest, RefService_GetTagSignaturesServer) error
func (UnimplementedRefServiceServer) ListBranchNamesContainingCommit ¶
func (UnimplementedRefServiceServer) ListBranchNamesContainingCommit(*ListBranchNamesContainingCommitRequest, RefService_ListBranchNamesContainingCommitServer) error
func (UnimplementedRefServiceServer) ListRefs ¶
func (UnimplementedRefServiceServer) ListRefs(*ListRefsRequest, RefService_ListRefsServer) error
func (UnimplementedRefServiceServer) ListTagNamesContainingCommit ¶
func (UnimplementedRefServiceServer) ListTagNamesContainingCommit(*ListTagNamesContainingCommitRequest, RefService_ListTagNamesContainingCommitServer) error
func (UnimplementedRefServiceServer) RefExists ¶
func (UnimplementedRefServiceServer) RefExists(context.Context, *RefExistsRequest) (*RefExistsResponse, error)
func (UnimplementedRefServiceServer) UpdateReferences ¶ added in v16.3.0
func (UnimplementedRefServiceServer) UpdateReferences(RefService_UpdateReferencesServer) error
type UnimplementedRefTransactionServer ¶
type UnimplementedRefTransactionServer struct { }
UnimplementedRefTransactionServer must be embedded to have forward compatible implementations.
func (UnimplementedRefTransactionServer) StopTransaction ¶
func (UnimplementedRefTransactionServer) StopTransaction(context.Context, *StopTransactionRequest) (*StopTransactionResponse, error)
func (UnimplementedRefTransactionServer) VoteTransaction ¶
func (UnimplementedRefTransactionServer) VoteTransaction(context.Context, *VoteTransactionRequest) (*VoteTransactionResponse, error)
type UnimplementedRemoteServiceServer ¶
type UnimplementedRemoteServiceServer struct { }
UnimplementedRemoteServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRemoteServiceServer) FindRemoteRepository ¶
func (UnimplementedRemoteServiceServer) FindRemoteRepository(context.Context, *FindRemoteRepositoryRequest) (*FindRemoteRepositoryResponse, error)
func (UnimplementedRemoteServiceServer) FindRemoteRootRef ¶
func (UnimplementedRemoteServiceServer) FindRemoteRootRef(context.Context, *FindRemoteRootRefRequest) (*FindRemoteRootRefResponse, error)
func (UnimplementedRemoteServiceServer) UpdateRemoteMirror ¶
func (UnimplementedRemoteServiceServer) UpdateRemoteMirror(RemoteService_UpdateRemoteMirrorServer) error
type UnimplementedRepositoryServiceServer ¶
type UnimplementedRepositoryServiceServer struct { }
UnimplementedRepositoryServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRepositoryServiceServer) ApplyGitattributes ¶
func (UnimplementedRepositoryServiceServer) ApplyGitattributes(context.Context, *ApplyGitattributesRequest) (*ApplyGitattributesResponse, error)
func (UnimplementedRepositoryServiceServer) BackupCustomHooks ¶
func (UnimplementedRepositoryServiceServer) BackupCustomHooks(*BackupCustomHooksRequest, RepositoryService_BackupCustomHooksServer) error
func (UnimplementedRepositoryServiceServer) BackupRepository ¶ added in v16.2.0
func (UnimplementedRepositoryServiceServer) BackupRepository(context.Context, *BackupRepositoryRequest) (*BackupRepositoryResponse, error)
func (UnimplementedRepositoryServiceServer) CalculateChecksum ¶
func (UnimplementedRepositoryServiceServer) CalculateChecksum(context.Context, *CalculateChecksumRequest) (*CalculateChecksumResponse, error)
func (UnimplementedRepositoryServiceServer) CreateBundle ¶
func (UnimplementedRepositoryServiceServer) CreateBundle(*CreateBundleRequest, RepositoryService_CreateBundleServer) error
func (UnimplementedRepositoryServiceServer) CreateBundleFromRefList ¶
func (UnimplementedRepositoryServiceServer) CreateBundleFromRefList(RepositoryService_CreateBundleFromRefListServer) error
func (UnimplementedRepositoryServiceServer) CreateFork ¶
func (UnimplementedRepositoryServiceServer) CreateFork(context.Context, *CreateForkRequest) (*CreateForkResponse, error)
func (UnimplementedRepositoryServiceServer) CreateRepository ¶
func (UnimplementedRepositoryServiceServer) CreateRepository(context.Context, *CreateRepositoryRequest) (*CreateRepositoryResponse, error)
func (UnimplementedRepositoryServiceServer) CreateRepositoryFromBundle ¶
func (UnimplementedRepositoryServiceServer) CreateRepositoryFromBundle(RepositoryService_CreateRepositoryFromBundleServer) error
func (UnimplementedRepositoryServiceServer) CreateRepositoryFromSnapshot ¶
func (UnimplementedRepositoryServiceServer) CreateRepositoryFromSnapshot(context.Context, *CreateRepositoryFromSnapshotRequest) (*CreateRepositoryFromSnapshotResponse, error)
func (UnimplementedRepositoryServiceServer) CreateRepositoryFromURL ¶
func (UnimplementedRepositoryServiceServer) CreateRepositoryFromURL(context.Context, *CreateRepositoryFromURLRequest) (*CreateRepositoryFromURLResponse, error)
func (UnimplementedRepositoryServiceServer) FetchBundle ¶
func (UnimplementedRepositoryServiceServer) FetchBundle(RepositoryService_FetchBundleServer) error
func (UnimplementedRepositoryServiceServer) FetchRemote ¶
func (UnimplementedRepositoryServiceServer) FetchRemote(context.Context, *FetchRemoteRequest) (*FetchRemoteResponse, error)
func (UnimplementedRepositoryServiceServer) FetchSourceBranch ¶
func (UnimplementedRepositoryServiceServer) FetchSourceBranch(context.Context, *FetchSourceBranchRequest) (*FetchSourceBranchResponse, error)
func (UnimplementedRepositoryServiceServer) FindLicense ¶
func (UnimplementedRepositoryServiceServer) FindLicense(context.Context, *FindLicenseRequest) (*FindLicenseResponse, error)
func (UnimplementedRepositoryServiceServer) FindMergeBase ¶
func (UnimplementedRepositoryServiceServer) FindMergeBase(context.Context, *FindMergeBaseRequest) (*FindMergeBaseResponse, error)
func (UnimplementedRepositoryServiceServer) Fsck ¶
func (UnimplementedRepositoryServiceServer) Fsck(context.Context, *FsckRequest) (*FsckResponse, error)
func (UnimplementedRepositoryServiceServer) FullPath ¶
func (UnimplementedRepositoryServiceServer) FullPath(context.Context, *FullPathRequest) (*FullPathResponse, error)
func (UnimplementedRepositoryServiceServer) GetArchive ¶
func (UnimplementedRepositoryServiceServer) GetArchive(*GetArchiveRequest, RepositoryService_GetArchiveServer) error
func (UnimplementedRepositoryServiceServer) GetConfig ¶
func (UnimplementedRepositoryServiceServer) GetConfig(*GetConfigRequest, RepositoryService_GetConfigServer) error
func (UnimplementedRepositoryServiceServer) GetCustomHooks ¶
func (UnimplementedRepositoryServiceServer) GetCustomHooks(*GetCustomHooksRequest, RepositoryService_GetCustomHooksServer) error
func (UnimplementedRepositoryServiceServer) GetFileAttributes ¶ added in v16.5.0
func (UnimplementedRepositoryServiceServer) GetFileAttributes(context.Context, *GetFileAttributesRequest) (*GetFileAttributesResponse, error)
func (UnimplementedRepositoryServiceServer) GetInfoAttributes ¶
func (UnimplementedRepositoryServiceServer) GetInfoAttributes(*GetInfoAttributesRequest, RepositoryService_GetInfoAttributesServer) error
func (UnimplementedRepositoryServiceServer) GetObjectDirectorySize ¶
func (UnimplementedRepositoryServiceServer) GetObjectDirectorySize(context.Context, *GetObjectDirectorySizeRequest) (*GetObjectDirectorySizeResponse, error)
func (UnimplementedRepositoryServiceServer) GetRawChanges ¶
func (UnimplementedRepositoryServiceServer) GetRawChanges(*GetRawChangesRequest, RepositoryService_GetRawChangesServer) error
func (UnimplementedRepositoryServiceServer) GetSnapshot ¶
func (UnimplementedRepositoryServiceServer) GetSnapshot(*GetSnapshotRequest, RepositoryService_GetSnapshotServer) error
func (UnimplementedRepositoryServiceServer) HasLocalBranches ¶
func (UnimplementedRepositoryServiceServer) HasLocalBranches(context.Context, *HasLocalBranchesRequest) (*HasLocalBranchesResponse, error)
func (UnimplementedRepositoryServiceServer) ObjectFormat ¶
func (UnimplementedRepositoryServiceServer) ObjectFormat(context.Context, *ObjectFormatRequest) (*ObjectFormatResponse, error)
func (UnimplementedRepositoryServiceServer) ObjectsSize ¶ added in v16.2.0
func (UnimplementedRepositoryServiceServer) ObjectsSize(RepositoryService_ObjectsSizeServer) error
func (UnimplementedRepositoryServiceServer) OptimizeRepository ¶
func (UnimplementedRepositoryServiceServer) OptimizeRepository(context.Context, *OptimizeRepositoryRequest) (*OptimizeRepositoryResponse, error)
func (UnimplementedRepositoryServiceServer) PruneUnreachableObjects ¶
func (UnimplementedRepositoryServiceServer) PruneUnreachableObjects(context.Context, *PruneUnreachableObjectsRequest) (*PruneUnreachableObjectsResponse, error)
func (UnimplementedRepositoryServiceServer) RemoveAll ¶
func (UnimplementedRepositoryServiceServer) RemoveAll(context.Context, *RemoveAllRequest) (*RemoveAllResponse, error)
func (UnimplementedRepositoryServiceServer) RemoveRepository ¶
func (UnimplementedRepositoryServiceServer) RemoveRepository(context.Context, *RemoveRepositoryRequest) (*RemoveRepositoryResponse, error)
func (UnimplementedRepositoryServiceServer) RenameRepository ¶
func (UnimplementedRepositoryServiceServer) RenameRepository(context.Context, *RenameRepositoryRequest) (*RenameRepositoryResponse, error)
func (UnimplementedRepositoryServiceServer) ReplicateRepository ¶
func (UnimplementedRepositoryServiceServer) ReplicateRepository(context.Context, *ReplicateRepositoryRequest) (*ReplicateRepositoryResponse, error)
func (UnimplementedRepositoryServiceServer) RepositoryExists ¶
func (UnimplementedRepositoryServiceServer) RepositoryExists(context.Context, *RepositoryExistsRequest) (*RepositoryExistsResponse, error)
func (UnimplementedRepositoryServiceServer) RepositoryInfo ¶
func (UnimplementedRepositoryServiceServer) RepositoryInfo(context.Context, *RepositoryInfoRequest) (*RepositoryInfoResponse, error)
func (UnimplementedRepositoryServiceServer) RepositorySize ¶
func (UnimplementedRepositoryServiceServer) RepositorySize(context.Context, *RepositorySizeRequest) (*RepositorySizeResponse, error)
func (UnimplementedRepositoryServiceServer) RestoreCustomHooks ¶
func (UnimplementedRepositoryServiceServer) RestoreCustomHooks(RepositoryService_RestoreCustomHooksServer) error
func (UnimplementedRepositoryServiceServer) RestoreRepository ¶ added in v16.2.0
func (UnimplementedRepositoryServiceServer) RestoreRepository(context.Context, *RestoreRepositoryRequest) (*RestoreRepositoryResponse, error)
func (UnimplementedRepositoryServiceServer) SearchFilesByContent ¶
func (UnimplementedRepositoryServiceServer) SearchFilesByContent(*SearchFilesByContentRequest, RepositoryService_SearchFilesByContentServer) error
func (UnimplementedRepositoryServiceServer) SearchFilesByName ¶
func (UnimplementedRepositoryServiceServer) SearchFilesByName(*SearchFilesByNameRequest, RepositoryService_SearchFilesByNameServer) error
func (UnimplementedRepositoryServiceServer) SetCustomHooks ¶
func (UnimplementedRepositoryServiceServer) SetCustomHooks(RepositoryService_SetCustomHooksServer) error
func (UnimplementedRepositoryServiceServer) SetFullPath ¶
func (UnimplementedRepositoryServiceServer) SetFullPath(context.Context, *SetFullPathRequest) (*SetFullPathResponse, error)
func (UnimplementedRepositoryServiceServer) WriteRef ¶
func (UnimplementedRepositoryServiceServer) WriteRef(context.Context, *WriteRefRequest) (*WriteRefResponse, error)
type UnimplementedSSHServiceServer ¶
type UnimplementedSSHServiceServer struct { }
UnimplementedSSHServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSSHServiceServer) SSHReceivePack ¶
func (UnimplementedSSHServiceServer) SSHReceivePack(SSHService_SSHReceivePackServer) error
func (UnimplementedSSHServiceServer) SSHUploadArchive ¶
func (UnimplementedSSHServiceServer) SSHUploadArchive(SSHService_SSHUploadArchiveServer) error
func (UnimplementedSSHServiceServer) SSHUploadPack ¶
func (UnimplementedSSHServiceServer) SSHUploadPack(SSHService_SSHUploadPackServer) error
func (UnimplementedSSHServiceServer) SSHUploadPackWithSidechannel ¶
func (UnimplementedSSHServiceServer) SSHUploadPackWithSidechannel(context.Context, *SSHUploadPackWithSidechannelRequest) (*SSHUploadPackWithSidechannelResponse, error)
type UnimplementedServerServiceServer ¶
type UnimplementedServerServiceServer struct { }
UnimplementedServerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServerServiceServer) ClockSynced ¶
func (UnimplementedServerServiceServer) ClockSynced(context.Context, *ClockSyncedRequest) (*ClockSyncedResponse, error)
func (UnimplementedServerServiceServer) DiskStatistics ¶
func (UnimplementedServerServiceServer) DiskStatistics(context.Context, *DiskStatisticsRequest) (*DiskStatisticsResponse, error)
func (UnimplementedServerServiceServer) ReadinessCheck ¶
func (UnimplementedServerServiceServer) ReadinessCheck(context.Context, *ReadinessCheckRequest) (*ReadinessCheckResponse, error)
func (UnimplementedServerServiceServer) ServerInfo ¶
func (UnimplementedServerServiceServer) ServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error)
type UnimplementedSmartHTTPServiceServer ¶
type UnimplementedSmartHTTPServiceServer struct { }
UnimplementedSmartHTTPServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSmartHTTPServiceServer) InfoRefsReceivePack ¶
func (UnimplementedSmartHTTPServiceServer) InfoRefsReceivePack(*InfoRefsRequest, SmartHTTPService_InfoRefsReceivePackServer) error
func (UnimplementedSmartHTTPServiceServer) InfoRefsUploadPack ¶
func (UnimplementedSmartHTTPServiceServer) InfoRefsUploadPack(*InfoRefsRequest, SmartHTTPService_InfoRefsUploadPackServer) error
func (UnimplementedSmartHTTPServiceServer) PostReceivePack ¶
func (UnimplementedSmartHTTPServiceServer) PostReceivePack(SmartHTTPService_PostReceivePackServer) error
func (UnimplementedSmartHTTPServiceServer) PostUploadPackWithSidechannel ¶
func (UnimplementedSmartHTTPServiceServer) PostUploadPackWithSidechannel(context.Context, *PostUploadPackWithSidechannelRequest) (*PostUploadPackWithSidechannelResponse, error)
type UnsafeBlobServiceServer ¶
type UnsafeBlobServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBlobServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BlobServiceServer will result in compilation errors.
type UnsafeCleanupServiceServer ¶
type UnsafeCleanupServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCleanupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CleanupServiceServer will result in compilation errors.
type UnsafeCommitServiceServer ¶
type UnsafeCommitServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCommitServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommitServiceServer will result in compilation errors.
type UnsafeConflictsServiceServer ¶
type UnsafeConflictsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeConflictsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConflictsServiceServer will result in compilation errors.
type UnsafeDiffServiceServer ¶
type UnsafeDiffServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDiffServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DiffServiceServer will result in compilation errors.
type UnsafeHookServiceServer ¶
type UnsafeHookServiceServer interface {
// contains filtered or unexported methods
}
UnsafeHookServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HookServiceServer will result in compilation errors.
type UnsafeInternalGitalyServer ¶
type UnsafeInternalGitalyServer interface {
// contains filtered or unexported methods
}
UnsafeInternalGitalyServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InternalGitalyServer will result in compilation errors.
type UnsafeNamespaceServiceServer ¶
type UnsafeNamespaceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNamespaceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NamespaceServiceServer will result in compilation errors.
type UnsafeObjectPoolServiceServer ¶
type UnsafeObjectPoolServiceServer interface {
// contains filtered or unexported methods
}
UnsafeObjectPoolServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ObjectPoolServiceServer will result in compilation errors.
type UnsafeOperationServiceServer ¶
type UnsafeOperationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOperationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OperationServiceServer will result in compilation errors.
type UnsafePraefectInfoServiceServer ¶
type UnsafePraefectInfoServiceServer interface {
// contains filtered or unexported methods
}
UnsafePraefectInfoServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PraefectInfoServiceServer will result in compilation errors.
type UnsafeRefServiceServer ¶
type UnsafeRefServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRefServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RefServiceServer will result in compilation errors.
type UnsafeRefTransactionServer ¶
type UnsafeRefTransactionServer interface {
// contains filtered or unexported methods
}
UnsafeRefTransactionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RefTransactionServer will result in compilation errors.
type UnsafeRemoteServiceServer ¶
type UnsafeRemoteServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRemoteServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RemoteServiceServer will result in compilation errors.
type UnsafeRepositoryServiceServer ¶
type UnsafeRepositoryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRepositoryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RepositoryServiceServer will result in compilation errors.
type UnsafeSSHServiceServer ¶
type UnsafeSSHServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSSHServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SSHServiceServer will result in compilation errors.
type UnsafeServerServiceServer ¶
type UnsafeServerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServerServiceServer will result in compilation errors.
type UnsafeSmartHTTPServiceServer ¶
type UnsafeSmartHTTPServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSmartHTTPServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SmartHTTPServiceServer will result in compilation errors.
type UpdateHookRequest ¶
type UpdateHookRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // environment_variables ... EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` // ref ... Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` // old_value ... OldValue string `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` // new_value ... NewValue string `protobuf:"bytes,5,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` // contains filtered or unexported fields }
UpdateHookRequest ...
func (*UpdateHookRequest) Descriptor
deprecated
func (*UpdateHookRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateHookRequest.ProtoReflect.Descriptor instead.
func (*UpdateHookRequest) GetEnvironmentVariables ¶
func (x *UpdateHookRequest) GetEnvironmentVariables() []string
func (*UpdateHookRequest) GetNewValue ¶
func (x *UpdateHookRequest) GetNewValue() string
func (*UpdateHookRequest) GetOldValue ¶
func (x *UpdateHookRequest) GetOldValue() string
func (*UpdateHookRequest) GetRef ¶
func (x *UpdateHookRequest) GetRef() []byte
func (*UpdateHookRequest) GetRepository ¶
func (x *UpdateHookRequest) GetRepository() *Repository
func (*UpdateHookRequest) ProtoMessage ¶
func (*UpdateHookRequest) ProtoMessage()
func (*UpdateHookRequest) ProtoReflect ¶
func (x *UpdateHookRequest) ProtoReflect() protoreflect.Message
func (*UpdateHookRequest) Reset ¶
func (x *UpdateHookRequest) Reset()
func (*UpdateHookRequest) String ¶
func (x *UpdateHookRequest) String() string
type UpdateHookResponse ¶
type UpdateHookResponse struct { // stdout ... Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // stderr ... Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // exit_status ... ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` // contains filtered or unexported fields }
UpdateHookResponse ...
func (*UpdateHookResponse) Descriptor
deprecated
func (*UpdateHookResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateHookResponse.ProtoReflect.Descriptor instead.
func (*UpdateHookResponse) GetExitStatus ¶
func (x *UpdateHookResponse) GetExitStatus() *ExitStatus
func (*UpdateHookResponse) GetStderr ¶
func (x *UpdateHookResponse) GetStderr() []byte
func (*UpdateHookResponse) GetStdout ¶
func (x *UpdateHookResponse) GetStdout() []byte
func (*UpdateHookResponse) ProtoMessage ¶
func (*UpdateHookResponse) ProtoMessage()
func (*UpdateHookResponse) ProtoReflect ¶
func (x *UpdateHookResponse) ProtoReflect() protoreflect.Message
func (*UpdateHookResponse) Reset ¶
func (x *UpdateHookResponse) Reset()
func (*UpdateHookResponse) String ¶
func (x *UpdateHookResponse) String() string
type UpdateReferencesError ¶ added in v16.3.0
type UpdateReferencesError struct { // Types that are assignable to Error: // // *UpdateReferencesError_InvalidFormat // *UpdateReferencesError_ReferencesLocked // *UpdateReferencesError_ReferenceStateMismatch Error isUpdateReferencesError_Error `protobuf_oneof:"error"` // contains filtered or unexported fields }
UpdateReferencesError is returned when UpdateReferences fails to update references in some specific well-defined cases.
func (*UpdateReferencesError) Descriptor
deprecated
added in
v16.3.0
func (*UpdateReferencesError) Descriptor() ([]byte, []int)
Deprecated: Use UpdateReferencesError.ProtoReflect.Descriptor instead.
func (*UpdateReferencesError) GetError ¶ added in v16.3.0
func (m *UpdateReferencesError) GetError() isUpdateReferencesError_Error
func (*UpdateReferencesError) GetInvalidFormat ¶ added in v16.3.0
func (x *UpdateReferencesError) GetInvalidFormat() *InvalidRefFormatError
func (*UpdateReferencesError) GetReferenceStateMismatch ¶ added in v16.3.0
func (x *UpdateReferencesError) GetReferenceStateMismatch() *ReferenceStateMismatchError
func (*UpdateReferencesError) GetReferencesLocked ¶ added in v16.3.0
func (x *UpdateReferencesError) GetReferencesLocked() *ReferencesLockedError
func (*UpdateReferencesError) ProtoMessage ¶ added in v16.3.0
func (*UpdateReferencesError) ProtoMessage()
func (*UpdateReferencesError) ProtoReflect ¶ added in v16.3.0
func (x *UpdateReferencesError) ProtoReflect() protoreflect.Message
func (*UpdateReferencesError) Reset ¶ added in v16.3.0
func (x *UpdateReferencesError) Reset()
func (*UpdateReferencesError) String ¶ added in v16.3.0
func (x *UpdateReferencesError) String() string
type UpdateReferencesError_InvalidFormat ¶ added in v16.3.0
type UpdateReferencesError_InvalidFormat struct { // invalid_format is returned when one or more of the refs to be deleted // have an invalid format. InvalidFormat *InvalidRefFormatError `protobuf:"bytes,1,opt,name=invalid_format,json=invalidFormat,proto3,oneof"` }
type UpdateReferencesError_ReferenceStateMismatch ¶ added in v16.3.0
type UpdateReferencesError_ReferenceStateMismatch struct { // reference_state_mismatch is return for unforced reference updates when the expected object ID does not match // the actual object ID of the reference. This indicates either mismatching expectations or a race with another // client that has updated the reference concurrently. ReferenceStateMismatch *ReferenceStateMismatchError `protobuf:"bytes,3,opt,name=reference_state_mismatch,json=referenceStateMismatch,proto3,oneof"` }
type UpdateReferencesError_ReferencesLocked ¶ added in v16.3.0
type UpdateReferencesError_ReferencesLocked struct { // references_locked is returned when the references to be deleted are already // locked by another process. ReferencesLocked *ReferencesLockedError `protobuf:"bytes,2,opt,name=references_locked,json=referencesLocked,proto3,oneof"` }
type UpdateReferencesRequest ¶ added in v16.3.0
type UpdateReferencesRequest struct { // repository is the repository where references shall be updated in. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // updates is the set of reference updates that shall be performed. Updates []*UpdateReferencesRequest_Update `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"` // contains filtered or unexported fields }
UpdateReferencesRequest is a request for the UpdateReferences RPC.
func (*UpdateReferencesRequest) Descriptor
deprecated
added in
v16.3.0
func (*UpdateReferencesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateReferencesRequest.ProtoReflect.Descriptor instead.
func (*UpdateReferencesRequest) GetRepository ¶ added in v16.3.0
func (x *UpdateReferencesRequest) GetRepository() *Repository
func (*UpdateReferencesRequest) GetUpdates ¶ added in v16.3.0
func (x *UpdateReferencesRequest) GetUpdates() []*UpdateReferencesRequest_Update
func (*UpdateReferencesRequest) ProtoMessage ¶ added in v16.3.0
func (*UpdateReferencesRequest) ProtoMessage()
func (*UpdateReferencesRequest) ProtoReflect ¶ added in v16.3.0
func (x *UpdateReferencesRequest) ProtoReflect() protoreflect.Message
func (*UpdateReferencesRequest) Reset ¶ added in v16.3.0
func (x *UpdateReferencesRequest) Reset()
func (*UpdateReferencesRequest) String ¶ added in v16.3.0
func (x *UpdateReferencesRequest) String() string
type UpdateReferencesRequest_Update ¶ added in v16.3.0
type UpdateReferencesRequest_Update struct { // reference is the fully-qualified reference name that should be updated. Reference []byte `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` // old_object_id is the object ID the reference should be pointing to in order to be updated. // This has the intent to avoid time-of-check-time-of-use-style races when the object ID // has changed. // // If empty, the reference will be force-updated without any such checks. If set to the // all-zeroes object ID, this will verify that the branch did not exist previously. OldObjectId []byte `protobuf:"bytes,2,opt,name=old_object_id,json=oldObjectId,proto3" json:"old_object_id,omitempty"` // new_object_id is the object ID the reference should be updated to. If set to the all-zeroes // object ID the branch will be deleted. NewObjectId []byte `protobuf:"bytes,3,opt,name=new_object_id,json=newObjectId,proto3" json:"new_object_id,omitempty"` // contains filtered or unexported fields }
Update represents a reference update.
func (*UpdateReferencesRequest_Update) Descriptor
deprecated
added in
v16.3.0
func (*UpdateReferencesRequest_Update) Descriptor() ([]byte, []int)
Deprecated: Use UpdateReferencesRequest_Update.ProtoReflect.Descriptor instead.
func (*UpdateReferencesRequest_Update) GetNewObjectId ¶ added in v16.3.0
func (x *UpdateReferencesRequest_Update) GetNewObjectId() []byte
func (*UpdateReferencesRequest_Update) GetOldObjectId ¶ added in v16.3.0
func (x *UpdateReferencesRequest_Update) GetOldObjectId() []byte
func (*UpdateReferencesRequest_Update) GetReference ¶ added in v16.3.0
func (x *UpdateReferencesRequest_Update) GetReference() []byte
func (*UpdateReferencesRequest_Update) ProtoMessage ¶ added in v16.3.0
func (*UpdateReferencesRequest_Update) ProtoMessage()
func (*UpdateReferencesRequest_Update) ProtoReflect ¶ added in v16.3.0
func (x *UpdateReferencesRequest_Update) ProtoReflect() protoreflect.Message
func (*UpdateReferencesRequest_Update) Reset ¶ added in v16.3.0
func (x *UpdateReferencesRequest_Update) Reset()
func (*UpdateReferencesRequest_Update) String ¶ added in v16.3.0
func (x *UpdateReferencesRequest_Update) String() string
type UpdateReferencesResponse ¶ added in v16.3.0
type UpdateReferencesResponse struct {
// contains filtered or unexported fields
}
UpdateReferencesResponse is a response for the UpdateReferences RPC.
func (*UpdateReferencesResponse) Descriptor
deprecated
added in
v16.3.0
func (*UpdateReferencesResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateReferencesResponse.ProtoReflect.Descriptor instead.
func (*UpdateReferencesResponse) ProtoMessage ¶ added in v16.3.0
func (*UpdateReferencesResponse) ProtoMessage()
func (*UpdateReferencesResponse) ProtoReflect ¶ added in v16.3.0
func (x *UpdateReferencesResponse) ProtoReflect() protoreflect.Message
func (*UpdateReferencesResponse) Reset ¶ added in v16.3.0
func (x *UpdateReferencesResponse) Reset()
func (*UpdateReferencesResponse) String ¶ added in v16.3.0
func (x *UpdateReferencesResponse) String() string
type UpdateRemoteMirrorRequest ¶
type UpdateRemoteMirrorRequest struct { // repository is the repository whose mirror repository to update. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // remote contains parameters required to connect to the remote repository. // This allows Gitaly to use an in-memory remote and does not require any // on-disk remote configuration. Remote *UpdateRemoteMirrorRequest_Remote `protobuf:"bytes,7,opt,name=remote,proto3" json:"remote,omitempty"` // only_branches_matching contains patterns to match branches against. Only the // matched brances are updated in the remote mirror. If no patterns are // specified, all branches are updated. The patterns should only contain the // branch name without the 'refs/heads/' prefix. "*" can be used as a // wildcard to match anything. only_branches_matching can be streamed to the // server over multiple messages. Optional. OnlyBranchesMatching [][]byte `protobuf:"bytes,3,rep,name=only_branches_matching,json=onlyBranchesMatching,proto3" json:"only_branches_matching,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED // ssh_key is the SSH key to use for accessing to the mirror repository. // Optional. SshKey string `protobuf:"bytes,4,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"` // known_hosts specifies the identities used for strict host key checking. // Optional. KnownHosts string `protobuf:"bytes,5,opt,name=known_hosts,json=knownHosts,proto3" json:"known_hosts,omitempty"` // keep_divergent_refs specifies whether or not to update diverged references // in the mirror repository. KeepDivergentRefs bool `protobuf:"varint,6,opt,name=keep_divergent_refs,json=keepDivergentRefs,proto3" json:"keep_divergent_refs,omitempty"` // contains filtered or unexported fields }
UpdateRemoteMirrorRequest ...
func (*UpdateRemoteMirrorRequest) Descriptor
deprecated
func (*UpdateRemoteMirrorRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRemoteMirrorRequest.ProtoReflect.Descriptor instead.
func (*UpdateRemoteMirrorRequest) GetKeepDivergentRefs ¶
func (x *UpdateRemoteMirrorRequest) GetKeepDivergentRefs() bool
func (*UpdateRemoteMirrorRequest) GetKnownHosts ¶
func (x *UpdateRemoteMirrorRequest) GetKnownHosts() string
func (*UpdateRemoteMirrorRequest) GetOnlyBranchesMatching ¶
func (x *UpdateRemoteMirrorRequest) GetOnlyBranchesMatching() [][]byte
func (*UpdateRemoteMirrorRequest) GetRemote ¶
func (x *UpdateRemoteMirrorRequest) GetRemote() *UpdateRemoteMirrorRequest_Remote
func (*UpdateRemoteMirrorRequest) GetRepository ¶
func (x *UpdateRemoteMirrorRequest) GetRepository() *Repository
func (*UpdateRemoteMirrorRequest) GetSshKey ¶
func (x *UpdateRemoteMirrorRequest) GetSshKey() string
func (*UpdateRemoteMirrorRequest) ProtoMessage ¶
func (*UpdateRemoteMirrorRequest) ProtoMessage()
func (*UpdateRemoteMirrorRequest) ProtoReflect ¶
func (x *UpdateRemoteMirrorRequest) ProtoReflect() protoreflect.Message
func (*UpdateRemoteMirrorRequest) Reset ¶
func (x *UpdateRemoteMirrorRequest) Reset()
func (*UpdateRemoteMirrorRequest) String ¶
func (x *UpdateRemoteMirrorRequest) String() string
type UpdateRemoteMirrorRequest_Remote ¶
type UpdateRemoteMirrorRequest_Remote struct { // url is the URL of the remote repository. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // http_authorization_header is an optional HTTP header used for // authenticating against the remote repository. HttpAuthorizationHeader string `` /* 132-byte string literal not displayed */ // resolved_address holds the resolved IP address of the remote_url. This is // used to avoid DNS rebinding by mapping the url to the resolved address. // Only IPv4 dotted decimal ("192.0.2.1"), IPv6 ("2001:db8::68"), or IPv4-mapped // IPv6 ("::ffff:192.0.2.1") forms are supported. // Works with HTTP/HTTPS/Git/SSH protocols. // Optional. ResolvedAddress string `protobuf:"bytes,4,opt,name=resolved_address,json=resolvedAddress,proto3" json:"resolved_address,omitempty"` // contains filtered or unexported fields }
Remote ...
func (*UpdateRemoteMirrorRequest_Remote) Descriptor
deprecated
func (*UpdateRemoteMirrorRequest_Remote) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRemoteMirrorRequest_Remote.ProtoReflect.Descriptor instead.
func (*UpdateRemoteMirrorRequest_Remote) GetHttpAuthorizationHeader ¶
func (x *UpdateRemoteMirrorRequest_Remote) GetHttpAuthorizationHeader() string
func (*UpdateRemoteMirrorRequest_Remote) GetResolvedAddress ¶
func (x *UpdateRemoteMirrorRequest_Remote) GetResolvedAddress() string
func (*UpdateRemoteMirrorRequest_Remote) GetUrl ¶
func (x *UpdateRemoteMirrorRequest_Remote) GetUrl() string
func (*UpdateRemoteMirrorRequest_Remote) ProtoMessage ¶
func (*UpdateRemoteMirrorRequest_Remote) ProtoMessage()
func (*UpdateRemoteMirrorRequest_Remote) ProtoReflect ¶
func (x *UpdateRemoteMirrorRequest_Remote) ProtoReflect() protoreflect.Message
func (*UpdateRemoteMirrorRequest_Remote) Reset ¶
func (x *UpdateRemoteMirrorRequest_Remote) Reset()
func (*UpdateRemoteMirrorRequest_Remote) String ¶
func (x *UpdateRemoteMirrorRequest_Remote) String() string
type UpdateRemoteMirrorResponse ¶
type UpdateRemoteMirrorResponse struct { // divergent_refs contains a list of references that had diverged in the // mirror from the source repository. DivergentRefs [][]byte `protobuf:"bytes,1,rep,name=divergent_refs,json=divergentRefs,proto3" json:"divergent_refs,omitempty"` // contains filtered or unexported fields }
UpdateRemoteMirrorResponse ...
func (*UpdateRemoteMirrorResponse) Descriptor
deprecated
func (*UpdateRemoteMirrorResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRemoteMirrorResponse.ProtoReflect.Descriptor instead.
func (*UpdateRemoteMirrorResponse) GetDivergentRefs ¶
func (x *UpdateRemoteMirrorResponse) GetDivergentRefs() [][]byte
func (*UpdateRemoteMirrorResponse) ProtoMessage ¶
func (*UpdateRemoteMirrorResponse) ProtoMessage()
func (*UpdateRemoteMirrorResponse) ProtoReflect ¶
func (x *UpdateRemoteMirrorResponse) ProtoReflect() protoreflect.Message
func (*UpdateRemoteMirrorResponse) Reset ¶
func (x *UpdateRemoteMirrorResponse) Reset()
func (*UpdateRemoteMirrorResponse) String ¶
func (x *UpdateRemoteMirrorResponse) String() string
type User ¶
type User struct { // gl_id ... GlId string `protobuf:"bytes,1,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"` // name ... Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // email ... Email []byte `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // gl_username ... GlUsername string `protobuf:"bytes,4,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"` // timezone is the timezone as configured by the user in the web interface. This // timezone may be used when new commits are created via RPC calls. Timezone string `protobuf:"bytes,5,opt,name=timezone,proto3" json:"timezone,omitempty"` // contains filtered or unexported fields }
User ...
func (*User) Descriptor
deprecated
func (*User) GetGlUsername ¶
func (*User) GetTimezone ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserApplyPatchRequest ¶
type UserApplyPatchRequest struct { // Types that are assignable to UserApplyPatchRequestPayload: // // *UserApplyPatchRequest_Header_ // *UserApplyPatchRequest_Patches UserApplyPatchRequestPayload isUserApplyPatchRequest_UserApplyPatchRequestPayload `protobuf_oneof:"user_apply_patch_request_payload"` // contains filtered or unexported fields }
UserApplyPatchRequest ...
func (*UserApplyPatchRequest) Descriptor
deprecated
func (*UserApplyPatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserApplyPatchRequest.ProtoReflect.Descriptor instead.
func (*UserApplyPatchRequest) GetHeader ¶
func (x *UserApplyPatchRequest) GetHeader() *UserApplyPatchRequest_Header
func (*UserApplyPatchRequest) GetPatches ¶
func (x *UserApplyPatchRequest) GetPatches() []byte
func (*UserApplyPatchRequest) GetUserApplyPatchRequestPayload ¶
func (m *UserApplyPatchRequest) GetUserApplyPatchRequestPayload() isUserApplyPatchRequest_UserApplyPatchRequestPayload
func (*UserApplyPatchRequest) ProtoMessage ¶
func (*UserApplyPatchRequest) ProtoMessage()
func (*UserApplyPatchRequest) ProtoReflect ¶
func (x *UserApplyPatchRequest) ProtoReflect() protoreflect.Message
func (*UserApplyPatchRequest) Reset ¶
func (x *UserApplyPatchRequest) Reset()
func (*UserApplyPatchRequest) String ¶
func (x *UserApplyPatchRequest) String() string
type UserApplyPatchRequest_Header ¶
type UserApplyPatchRequest_Header struct { // repository is the repository to which the patches shall be applied to. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // user is used for authentication. User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // target_branch is the branch onto which the patches shall be applied. TargetBranch []byte `protobuf:"bytes,3,opt,name=target_branch,json=targetBranch,proto3" json:"target_branch,omitempty"` // timestamp is the optional timestamp to use for the squashed commit as // committer date. If it's not set, the current time will be used. Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // expected_old_oid is the object ID which branch is expected to point to. // This is used as a safety guard to avoid races when branch has been // updated meanwhile to point to a different object ID. // // If unset, the target branch will be overwritten regardless of its current // state. If set, it must either contain a valid, full object ID or the // zero object ID in case the branch should be created. Otherwise, this RPC // will return an error. ExpectedOldOid string `protobuf:"bytes,5,opt,name=expected_old_oid,json=expectedOldOid,proto3" json:"expected_old_oid,omitempty"` // contains filtered or unexported fields }
Header contains information about how to apply the patches.
func (*UserApplyPatchRequest_Header) Descriptor
deprecated
func (*UserApplyPatchRequest_Header) Descriptor() ([]byte, []int)
Deprecated: Use UserApplyPatchRequest_Header.ProtoReflect.Descriptor instead.
func (*UserApplyPatchRequest_Header) GetExpectedOldOid ¶
func (x *UserApplyPatchRequest_Header) GetExpectedOldOid() string
func (*UserApplyPatchRequest_Header) GetRepository ¶
func (x *UserApplyPatchRequest_Header) GetRepository() *Repository
func (*UserApplyPatchRequest_Header) GetTargetBranch ¶
func (x *UserApplyPatchRequest_Header) GetTargetBranch() []byte
func (*UserApplyPatchRequest_Header) GetTimestamp ¶
func (x *UserApplyPatchRequest_Header) GetTimestamp() *timestamppb.Timestamp
func (*UserApplyPatchRequest_Header) GetUser ¶
func (x *UserApplyPatchRequest_Header) GetUser() *User
func (*UserApplyPatchRequest_Header) ProtoMessage ¶
func (*UserApplyPatchRequest_Header) ProtoMessage()
func (*UserApplyPatchRequest_Header) ProtoReflect ¶
func (x *UserApplyPatchRequest_Header) ProtoReflect() protoreflect.Message
func (*UserApplyPatchRequest_Header) Reset ¶
func (x *UserApplyPatchRequest_Header) Reset()
func (*UserApplyPatchRequest_Header) String ¶
func (x *UserApplyPatchRequest_Header) String() string
type UserApplyPatchRequest_Header_ ¶
type UserApplyPatchRequest_Header_ struct { // header must be sent as the first message and contains information about // how to apply the patches. Header *UserApplyPatchRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"` }
type UserApplyPatchRequest_Patches ¶
type UserApplyPatchRequest_Patches struct { // patches contains the patch data. Patches []byte `protobuf:"bytes,2,opt,name=patches,proto3,oneof"` }
type UserApplyPatchResponse ¶
type UserApplyPatchResponse struct { // branch_update contains information about the updated branch. BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` // contains filtered or unexported fields }
UserApplyPatchResponse ...
func (*UserApplyPatchResponse) Descriptor
deprecated
func (*UserApplyPatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserApplyPatchResponse.ProtoReflect.Descriptor instead.
func (*UserApplyPatchResponse) GetBranchUpdate ¶
func (x *UserApplyPatchResponse) GetBranchUpdate() *OperationBranchUpdate
func (*UserApplyPatchResponse) ProtoMessage ¶
func (*UserApplyPatchResponse) ProtoMessage()
func (*UserApplyPatchResponse) ProtoReflect ¶
func (x *UserApplyPatchResponse) ProtoReflect() protoreflect.Message
func (*UserApplyPatchResponse) Reset ¶
func (x *UserApplyPatchResponse) Reset()
func (*UserApplyPatchResponse) String ¶
func (x *UserApplyPatchResponse) String() string
type UserCherryPickError ¶
type UserCherryPickError struct { // Types that are assignable to Error: // // *UserCherryPickError_CherryPickConflict // *UserCherryPickError_TargetBranchDiverged // *UserCherryPickError_ChangesAlreadyApplied // *UserCherryPickError_AccessCheck Error isUserCherryPickError_Error `protobuf_oneof:"error"` // contains filtered or unexported fields }
UserCherryPickError is an error returned by the UserCherryPick RPC.
func (*UserCherryPickError) Descriptor
deprecated
func (*UserCherryPickError) Descriptor() ([]byte, []int)
Deprecated: Use UserCherryPickError.ProtoReflect.Descriptor instead.
func (*UserCherryPickError) GetAccessCheck ¶
func (x *UserCherryPickError) GetAccessCheck() *AccessCheckError
func (*UserCherryPickError) GetChangesAlreadyApplied ¶
func (x *UserCherryPickError) GetChangesAlreadyApplied() *ChangesAlreadyAppliedError
func (*UserCherryPickError) GetCherryPickConflict ¶
func (x *UserCherryPickError) GetCherryPickConflict() *MergeConflictError
func (*UserCherryPickError) GetError ¶
func (m *UserCherryPickError) GetError() isUserCherryPickError_Error
func (*UserCherryPickError) GetTargetBranchDiverged ¶
func (x *UserCherryPickError) GetTargetBranchDiverged() *NotAncestorError
func (*UserCherryPickError) ProtoMessage ¶
func (*UserCherryPickError) ProtoMessage()
func (*UserCherryPickError) ProtoReflect ¶
func (x *UserCherryPickError) ProtoReflect() protoreflect.Message
func (*UserCherryPickError) Reset ¶
func (x *UserCherryPickError) Reset()
func (*UserCherryPickError) String ¶
func (x *UserCherryPickError) String() string
type UserCherryPickError_AccessCheck ¶
type UserCherryPickError_AccessCheck struct { // access_check is returned in case GitLab's `/internal/allowed` endpoint rejected // the change. AccessCheck *AccessCheckError `protobuf:"bytes,4,opt,name=access_check,json=accessCheck,proto3,oneof"` }
type UserCherryPickError_ChangesAlreadyApplied ¶
type UserCherryPickError_ChangesAlreadyApplied struct { // changes_already_applied is returned if the result after applying the cherry pick is empty. ChangesAlreadyApplied *ChangesAlreadyAppliedError `protobuf:"bytes,3,opt,name=changes_already_applied,json=changesAlreadyApplied,proto3,oneof"` }
type UserCherryPickError_CherryPickConflict ¶
type UserCherryPickError_CherryPickConflict struct { // cherry_pick_conflict is returned if there is a conflict when applying the cherry // pick. CherryPickConflict *MergeConflictError `protobuf:"bytes,1,opt,name=cherry_pick_conflict,json=cherryPickConflict,proto3,oneof"` }
type UserCherryPickError_TargetBranchDiverged ¶
type UserCherryPickError_TargetBranchDiverged struct { // target_branch_diverged is returned whenever the tip commit of the branch we're // about to apply the new commit on is not a direct ancestor of the newly created // cherry-picked commit. This may happen either due to a race where the reference // is modified while we compute the cherry-picked commit, or alternatively if the // commit fetched from the start branch of the remote repository is not an ancestor // of of the local target branch. TargetBranchDiverged *NotAncestorError `protobuf:"bytes,2,opt,name=target_branch_diverged,json=targetBranchDiverged,proto3,oneof"` }
type UserCherryPickRequest ¶
type UserCherryPickRequest struct { // repository is the repository into which the cherry-pick shall be // performed. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // user is the user to perform the cherry-pick as. This is used for // authorization checks and as the committer of the computed cherry-pick. User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // commit is the commit to cherry-pick onto the given branch. Commit *GitCommit `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` // branch_name is the name of the branch onto which the cherry-pick shall be // executed. BranchName []byte `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` // message is the message to use for the cherry-picked commit. Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` // start_branch_name is is used in case the branch_name branch does not // exist. In that case, it will be created from the start_branch_name. StartBranchName []byte `protobuf:"bytes,6,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"` // start_repository is used in case the branch_name branch does not exist. In // that case, it will be created from start_branch_name in the // start_repository. StartRepository *Repository `protobuf:"bytes,7,opt,name=start_repository,json=startRepository,proto3" json:"start_repository,omitempty"` // dry_run will compute the cherry-pick, but not update the target branch. DryRun bool `protobuf:"varint,8,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // timestamp is the optional timestamp to use for the created cherry-picked // commit's committer date. If it's not set, the current time will be used. Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // expected_old_oid is the object ID which branch is expected to point to. // This is used as a safety guard to avoid races when branch has been // updated meanwhile to point to a different object ID. Only applicable when // branch_name is set. // // If unset, the target branch will be overwritten regardless of its current // state. If set, it must either contain a valid, full object ID or the // zero object ID in case the branch should be created. Otherwise, this RPC // will return an error. ExpectedOldOid string `protobuf:"bytes,10,opt,name=expected_old_oid,json=expectedOldOid,proto3" json:"expected_old_oid,omitempty"` // contains filtered or unexported fields }
UserCherryPickRequest ...
func (*UserCherryPickRequest) Descriptor
deprecated
func (*UserCherryPickRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserCherryPickRequest.ProtoReflect.Descriptor instead.
func (*UserCherryPickRequest) GetBranchName ¶
func (x *UserCherryPickRequest) GetBranchName() []byte
func (*UserCherryPickRequest) GetCommit ¶
func (x *UserCherryPickRequest) GetCommit() *GitCommit
func (*UserCherryPickRequest) GetDryRun ¶
func (x *UserCherryPickRequest) GetDryRun() bool
func (*UserCherryPickRequest) GetExpectedOldOid ¶
func (x *UserCherryPickRequest) GetExpectedOldOid() string
func (*UserCherryPickRequest) GetMessage ¶
func (x *UserCherryPickRequest) GetMessage() []byte
func (*UserCherryPickRequest) GetRepository ¶
func (x *UserCherryPickRequest) GetRepository() *Repository
func (*UserCherryPickRequest) GetStartBranchName ¶
func (x *UserCherryPickRequest) GetStartBranchName() []byte
func (*UserCherryPickRequest) GetStartRepository ¶
func (x *UserCherryPickRequest) GetStartRepository() *Repository
func (*UserCherryPickRequest) GetTimestamp ¶
func (x *UserCherryPickRequest) GetTimestamp() *timestamppb.Timestamp
func (*UserCherryPickRequest) GetUser ¶
func (x *UserCherryPickRequest) GetUser() *User
func (*UserCherryPickRequest) ProtoMessage ¶
func (*UserCherryPickRequest) ProtoMessage()
func (*UserCherryPickRequest) ProtoReflect ¶
func (x *UserCherryPickRequest) ProtoReflect() protoreflect.Message
func (*UserCherryPickRequest) Reset ¶
func (x *UserCherryPickRequest) Reset()
func (*UserCherryPickRequest) String ¶
func (x *UserCherryPickRequest) String() string
type UserCherryPickResponse ¶
type UserCherryPickResponse struct { // branch_update represents details about the updated branch. BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` // contains filtered or unexported fields }
UserCherryPickResponse ...
func (*UserCherryPickResponse) Descriptor
deprecated
func (*UserCherryPickResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserCherryPickResponse.ProtoReflect.Descriptor instead.
func (*UserCherryPickResponse) GetBranchUpdate ¶
func (x *UserCherryPickResponse) GetBranchUpdate() *OperationBranchUpdate
func (*UserCherryPickResponse) ProtoMessage ¶
func (*UserCherryPickResponse) ProtoMessage()
func (*UserCherryPickResponse) ProtoReflect ¶
func (x *UserCherryPickResponse) ProtoReflect() protoreflect.Message
func (*UserCherryPickResponse) Reset ¶
func (x *UserCherryPickResponse) Reset()
func (*UserCherryPickResponse) String ¶
func (x *UserCherryPickResponse) String() string
type UserCommitFilesAction ¶
type UserCommitFilesAction struct { // Types that are assignable to UserCommitFilesActionPayload: // // *UserCommitFilesAction_Header // *UserCommitFilesAction_Content UserCommitFilesActionPayload isUserCommitFilesAction_UserCommitFilesActionPayload `protobuf_oneof:"user_commit_files_action_payload"` // contains filtered or unexported fields }
UserCommitFilesAction is the request message used to stream in the actions to build a commit.
func (*UserCommitFilesAction) Descriptor
deprecated
func (*UserCommitFilesAction) Descriptor() ([]byte, []int)
Deprecated: Use UserCommitFilesAction.ProtoReflect.Descriptor instead.
func (*UserCommitFilesAction) GetContent ¶
func (x *UserCommitFilesAction) GetContent() []byte
func (*UserCommitFilesAction) GetHeader ¶
func (x *UserCommitFilesAction) GetHeader() *UserCommitFilesActionHeader
func (*UserCommitFilesAction) GetUserCommitFilesActionPayload ¶
func (m *UserCommitFilesAction) GetUserCommitFilesActionPayload() isUserCommitFilesAction_UserCommitFilesActionPayload
func (*UserCommitFilesAction) ProtoMessage ¶
func (*UserCommitFilesAction) ProtoMessage()
func (*UserCommitFilesAction) ProtoReflect ¶
func (x *UserCommitFilesAction) ProtoReflect() protoreflect.Message
func (*UserCommitFilesAction) Reset ¶
func (x *UserCommitFilesAction) Reset()
func (*UserCommitFilesAction) String ¶
func (x *UserCommitFilesAction) String() string
type UserCommitFilesActionHeader ¶
type UserCommitFilesActionHeader struct { // action is the type of the action taken to build a commit. Not all fields are // used for all of the actions. Action UserCommitFilesActionHeader_ActionType `protobuf:"varint,1,opt,name=action,proto3,enum=gitaly.UserCommitFilesActionHeader_ActionType" json:"action,omitempty"` // file_path refers to the file or directory being modified. The meaning differs for each // action: // 1. CREATE: path of the file to create // 2. CREATE_DIR: path of the directory to create // 3. UPDATE: path of the file to update // 4. MOVE: the new path of the moved file // 5. DELETE: path of the file to delete // 6. CHMOD: path of the file to modify permissions for FilePath []byte `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` // previous_path is used in MOVE action to specify the path of the file to move. PreviousPath []byte `protobuf:"bytes,3,opt,name=previous_path,json=previousPath,proto3" json:"previous_path,omitempty"` // base64_content indicates the content of the file is base64 encoded. The encoding // must be the standard base64 encoding defined in RFC 4648. Only used for CREATE and // UPDATE actions. Base64Content bool `protobuf:"varint,4,opt,name=base64_content,json=base64Content,proto3" json:"base64_content,omitempty"` // execute_filemode determines whether the file is created with execute permissions. // The field is only used in CREATE and CHMOD actions. ExecuteFilemode bool `protobuf:"varint,5,opt,name=execute_filemode,json=executeFilemode,proto3" json:"execute_filemode,omitempty"` // infer_content should be set to true for move actions that change the file path, but not // its content. It should be set instead of populating the content field. Ignored for // other action types. InferContent bool `protobuf:"varint,6,opt,name=infer_content,json=inferContent,proto3" json:"infer_content,omitempty"` // contains filtered or unexported fields }
UserCommitFilesActionHeader contains the details of the action to be performed.
func (*UserCommitFilesActionHeader) Descriptor
deprecated
func (*UserCommitFilesActionHeader) Descriptor() ([]byte, []int)
Deprecated: Use UserCommitFilesActionHeader.ProtoReflect.Descriptor instead.
func (*UserCommitFilesActionHeader) GetAction ¶
func (x *UserCommitFilesActionHeader) GetAction() UserCommitFilesActionHeader_ActionType
func (*UserCommitFilesActionHeader) GetBase64Content ¶
func (x *UserCommitFilesActionHeader) GetBase64Content() bool
func (*UserCommitFilesActionHeader) GetExecuteFilemode ¶
func (x *UserCommitFilesActionHeader) GetExecuteFilemode() bool
func (*UserCommitFilesActionHeader) GetFilePath ¶
func (x *UserCommitFilesActionHeader) GetFilePath() []byte
func (*UserCommitFilesActionHeader) GetInferContent ¶
func (x *UserCommitFilesActionHeader) GetInferContent() bool
func (*UserCommitFilesActionHeader) GetPreviousPath ¶
func (x *UserCommitFilesActionHeader) GetPreviousPath() []byte
func (*UserCommitFilesActionHeader) ProtoMessage ¶
func (*UserCommitFilesActionHeader) ProtoMessage()
func (*UserCommitFilesActionHeader) ProtoReflect ¶
func (x *UserCommitFilesActionHeader) ProtoReflect() protoreflect.Message
func (*UserCommitFilesActionHeader) Reset ¶
func (x *UserCommitFilesActionHeader) Reset()
func (*UserCommitFilesActionHeader) String ¶
func (x *UserCommitFilesActionHeader) String() string
type UserCommitFilesActionHeader_ActionType ¶
type UserCommitFilesActionHeader_ActionType int32
ActionType ...
const ( // CREATE creates a new file. UserCommitFilesActionHeader_CREATE UserCommitFilesActionHeader_ActionType = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // CREATE_DIR creates a new directory. UserCommitFilesActionHeader_CREATE_DIR UserCommitFilesActionHeader_ActionType = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // UPDATE updates an existing file. UserCommitFilesActionHeader_UPDATE UserCommitFilesActionHeader_ActionType = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // MOVE moves an existing file to a new path. UserCommitFilesActionHeader_MOVE UserCommitFilesActionHeader_ActionType = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // DELETE deletes an existing file. UserCommitFilesActionHeader_DELETE UserCommitFilesActionHeader_ActionType = 4 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // CHMOD changes the permissions of an existing file. UserCommitFilesActionHeader_CHMOD UserCommitFilesActionHeader_ActionType = 5 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (UserCommitFilesActionHeader_ActionType) Descriptor ¶
func (UserCommitFilesActionHeader_ActionType) Descriptor() protoreflect.EnumDescriptor
func (UserCommitFilesActionHeader_ActionType) EnumDescriptor
deprecated
func (UserCommitFilesActionHeader_ActionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserCommitFilesActionHeader_ActionType.Descriptor instead.
func (UserCommitFilesActionHeader_ActionType) Number ¶
func (x UserCommitFilesActionHeader_ActionType) Number() protoreflect.EnumNumber
func (UserCommitFilesActionHeader_ActionType) String ¶
func (x UserCommitFilesActionHeader_ActionType) String() string
func (UserCommitFilesActionHeader_ActionType) Type ¶
func (UserCommitFilesActionHeader_ActionType) Type() protoreflect.EnumType
type UserCommitFilesAction_Content ¶
type UserCommitFilesAction_Content struct { // content is the content of the file streamed in one or more messages. Only used with CREATE // and UPDATE actions. Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"` }
type UserCommitFilesAction_Header ¶
type UserCommitFilesAction_Header struct { // header contains the details of action being performed. Header must be sent before the // content if content is used by the action. Header *UserCommitFilesActionHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` }
type UserCommitFilesError ¶
type UserCommitFilesError struct { // Types that are assignable to Error: // // *UserCommitFilesError_AccessCheck // *UserCommitFilesError_IndexUpdate // *UserCommitFilesError_CustomHook Error isUserCommitFilesError_Error `protobuf_oneof:"error"` // contains filtered or unexported fields }
UserCommitFilesError is an error returned by the UserCommitFiles RPC in some specific well defined error cases.
func (*UserCommitFilesError) Descriptor
deprecated
func (*UserCommitFilesError) Descriptor() ([]byte, []int)
Deprecated: Use UserCommitFilesError.ProtoReflect.Descriptor instead.
func (*UserCommitFilesError) GetAccessCheck ¶
func (x *UserCommitFilesError) GetAccessCheck() *AccessCheckError
func (*UserCommitFilesError) GetCustomHook ¶
func (x *UserCommitFilesError) GetCustomHook() *CustomHookError
func (*UserCommitFilesError) GetError ¶
func (m *UserCommitFilesError) GetError() isUserCommitFilesError_Error
func (*UserCommitFilesError) GetIndexUpdate ¶
func (x *UserCommitFilesError) GetIndexUpdate() *IndexError
func (*UserCommitFilesError) ProtoMessage ¶
func (*UserCommitFilesError) ProtoMessage()
func (*UserCommitFilesError) ProtoReflect ¶
func (x *UserCommitFilesError) ProtoReflect() protoreflect.Message
func (*UserCommitFilesError) Reset ¶
func (x *UserCommitFilesError) Reset()
func (*UserCommitFilesError) String ¶
func (x *UserCommitFilesError) String() string
type UserCommitFilesError_AccessCheck ¶
type UserCommitFilesError_AccessCheck struct { // access_checkError is set if the RPC failed because `/internal/allowed` failed. AccessCheck *AccessCheckError `protobuf:"bytes,1,opt,name=access_check,json=accessCheck,proto3,oneof"` }
type UserCommitFilesError_CustomHook ¶
type UserCommitFilesError_CustomHook struct { // custom_hook is set if any custom hook which has running as part of this RPC call has returned // a non-zero exit code. CustomHook *CustomHookError `protobuf:"bytes,3,opt,name=custom_hook,json=customHook,proto3,oneof"` }
type UserCommitFilesError_IndexUpdate ¶
type UserCommitFilesError_IndexUpdate struct { // index_update is set to the error message when an operation conflicts with the repository // index, such as creating a file that already exists. IndexUpdate *IndexError `protobuf:"bytes,2,opt,name=index_update,json=indexUpdate,proto3,oneof"` }
type UserCommitFilesRequest ¶
type UserCommitFilesRequest struct { // Types that are assignable to UserCommitFilesRequestPayload: // // *UserCommitFilesRequest_Header // *UserCommitFilesRequest_Action UserCommitFilesRequestPayload isUserCommitFilesRequest_UserCommitFilesRequestPayload `protobuf_oneof:"user_commit_files_request_payload"` // contains filtered or unexported fields }
UserCommitFilesRequest is the request of UserCommitFiles.
func (*UserCommitFilesRequest) Descriptor
deprecated
func (*UserCommitFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserCommitFilesRequest.ProtoReflect.Descriptor instead.
func (*UserCommitFilesRequest) GetAction ¶
func (x *UserCommitFilesRequest) GetAction() *UserCommitFilesAction
func (*UserCommitFilesRequest) GetHeader ¶
func (x *UserCommitFilesRequest) GetHeader() *UserCommitFilesRequestHeader
func (*UserCommitFilesRequest) GetUserCommitFilesRequestPayload ¶
func (m *UserCommitFilesRequest) GetUserCommitFilesRequestPayload() isUserCommitFilesRequest_UserCommitFilesRequestPayload
func (*UserCommitFilesRequest) ProtoMessage ¶
func (*UserCommitFilesRequest) ProtoMessage()
func (*UserCommitFilesRequest) ProtoReflect ¶
func (x *UserCommitFilesRequest) ProtoReflect() protoreflect.Message
func (*UserCommitFilesRequest) Reset ¶
func (x *UserCommitFilesRequest) Reset()
func (*UserCommitFilesRequest) String ¶
func (x *UserCommitFilesRequest) String() string
type UserCommitFilesRequestHeader ¶
type UserCommitFilesRequestHeader struct { // repository is the target repository where to apply the commit. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // user is the user peforming the call. User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // branch_name is the name of the branch to point to the new commit. If start_sha and start_branch_name // are not defined, the commit of branch_name is used as the parent commit. BranchName []byte `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` // commit_message is the message to use in the commit. CommitMessage []byte `protobuf:"bytes,4,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` // commit_author_name is the commit author's name. If not provided, the user's name is // used instead. CommitAuthorName []byte `protobuf:"bytes,5,opt,name=commit_author_name,json=commitAuthorName,proto3" json:"commit_author_name,omitempty"` // commit_author_email is the commit author's email. If not provided, the user's email is // used instead. CommitAuthorEmail []byte `protobuf:"bytes,6,opt,name=commit_author_email,json=commitAuthorEmail,proto3" json:"commit_author_email,omitempty"` // start_branch_name specifies the branch whose commit to use as the parent commit. Takes priority // over branch_name. Optional. StartBranchName []byte `protobuf:"bytes,7,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"` // start_repository specifies which contains the parent commit. If not specified, repository itself // is used to look up the parent commit. Optional. StartRepository *Repository `protobuf:"bytes,8,opt,name=start_repository,json=startRepository,proto3" json:"start_repository,omitempty"` // force determines whether to force update the target branch specified by branch_name to // point to the new commit. Force bool `protobuf:"varint,9,opt,name=force,proto3" json:"force,omitempty"` // start_sha specifies the SHA of the commit to use as the parent of new commit. Takes priority // over start_branch_name and branc_name. Optional. StartSha string `protobuf:"bytes,10,opt,name=start_sha,json=startSha,proto3" json:"start_sha,omitempty"` // timestamp is the optional timestamp to use for the commits as author and // committer date. If it's not set, the current time will be used. Timestamp *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // expected_old_oid is the object ID which branch is expected to point to. // This is used as a safety guard to avoid races when branch has been // updated meanwhile to point to a different object ID. Only applicable when // branch_name is set. // // If unset, the target branch will be overwritten regardless of its current // state. If set, it must either contain a valid, full object ID or the // zero object ID in case the branch should be created. Otherwise, this RPC // will return an error. ExpectedOldOid string `protobuf:"bytes,12,opt,name=expected_old_oid,json=expectedOldOid,proto3" json:"expected_old_oid,omitempty"` // contains filtered or unexported fields }
UserCommitFilesRequestHeader is the header of the UserCommitFiles that defines the commit details, parent and other information related to the call.
func (*UserCommitFilesRequestHeader) Descriptor
deprecated
func (*UserCommitFilesRequestHeader) Descriptor() ([]byte, []int)
Deprecated: Use UserCommitFilesRequestHeader.ProtoReflect.Descriptor instead.
func (*UserCommitFilesRequestHeader) GetBranchName ¶
func (x *UserCommitFilesRequestHeader) GetBranchName() []byte
func (*UserCommitFilesRequestHeader) GetCommitAuthorEmail ¶
func (x *UserCommitFilesRequestHeader) GetCommitAuthorEmail() []byte
func (*UserCommitFilesRequestHeader) GetCommitAuthorName ¶
func (x *UserCommitFilesRequestHeader) GetCommitAuthorName() []byte
func (*UserCommitFilesRequestHeader) GetCommitMessage ¶
func (x *UserCommitFilesRequestHeader) GetCommitMessage() []byte
func (*UserCommitFilesRequestHeader) GetExpectedOldOid ¶
func (x *UserCommitFilesRequestHeader) GetExpectedOldOid() string
func (*UserCommitFilesRequestHeader) GetForce ¶
func (x *UserCommitFilesRequestHeader) GetForce() bool
func (*UserCommitFilesRequestHeader) GetRepository ¶
func (x *UserCommitFilesRequestHeader) GetRepository() *Repository
func (*UserCommitFilesRequestHeader) GetStartBranchName ¶
func (x *UserCommitFilesRequestHeader) GetStartBranchName() []byte
func (*UserCommitFilesRequestHeader) GetStartRepository ¶
func (x *UserCommitFilesRequestHeader) GetStartRepository() *Repository
func (*UserCommitFilesRequestHeader) GetStartSha ¶
func (x *UserCommitFilesRequestHeader) GetStartSha() string
func (*UserCommitFilesRequestHeader) GetTimestamp ¶
func (x *UserCommitFilesRequestHeader) GetTimestamp() *timestamppb.Timestamp
func (*UserCommitFilesRequestHeader) GetUser ¶
func (x *UserCommitFilesRequestHeader) GetUser() *User
func (*UserCommitFilesRequestHeader) ProtoMessage ¶
func (*UserCommitFilesRequestHeader) ProtoMessage()
func (*UserCommitFilesRequestHeader) ProtoReflect ¶
func (x *UserCommitFilesRequestHeader) ProtoReflect() protoreflect.Message
func (*UserCommitFilesRequestHeader) Reset ¶
func (x *UserCommitFilesRequestHeader) Reset()
func (*UserCommitFilesRequestHeader) String ¶
func (x *UserCommitFilesRequestHeader) String() string
type UserCommitFilesRequest_Action ¶
type UserCommitFilesRequest_Action struct { // action contains an action to build a commit. There can be multiple actions per stream. Action *UserCommitFilesAction `protobuf:"bytes,2,opt,name=action,proto3,oneof"` }
type UserCommitFilesRequest_Header ¶
type UserCommitFilesRequest_Header struct { // header defines the details of where to commit, the details and which commit to use as the parent. // header must always be sent as the first request of the stream. Header *UserCommitFilesRequestHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` }
type UserCommitFilesResponse ¶
type UserCommitFilesResponse struct { // branch_update contains the details of the commit and the branch update. BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` // index_error is set to the error message when an invalid action was attempted, such as // trying to create a file that already existed. IndexError string `protobuf:"bytes,2,opt,name=index_error,json=indexError,proto3" json:"index_error,omitempty"` // pre_receive_error is set when the pre-receive hook errored. PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` // contains filtered or unexported fields }
UserCommitFilesResponse is the response object of UserCommitFiles.
func (*UserCommitFilesResponse) Descriptor
deprecated
func (*UserCommitFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserCommitFilesResponse.ProtoReflect.Descriptor instead.
func (*UserCommitFilesResponse) GetBranchUpdate ¶
func (x *UserCommitFilesResponse) GetBranchUpdate() *OperationBranchUpdate
func (*UserCommitFilesResponse) GetIndexError ¶
func (x *UserCommitFilesResponse) GetIndexError() string
func (*UserCommitFilesResponse) GetPreReceiveError ¶
func (x *UserCommitFilesResponse) GetPreReceiveError() string
func (*UserCommitFilesResponse) ProtoMessage ¶
func (*UserCommitFilesResponse) ProtoMessage()
func (*UserCommitFilesResponse) ProtoReflect ¶
func (x *UserCommitFilesResponse) ProtoReflect() protoreflect.Message
func (*UserCommitFilesResponse) Reset ¶
func (x *UserCommitFilesResponse) Reset()
func (*UserCommitFilesResponse) String ¶
func (x *UserCommitFilesResponse) String() string
type UserCreateBranchError ¶
type UserCreateBranchError struct { // Types that are assignable to Error: // // *UserCreateBranchError_CustomHook Error isUserCreateBranchError_Error `protobuf_oneof:"error"` // contains filtered or unexported fields }
UserCreateBranchError is an error returned by the UserCreateBranch RPC in some specific well defined error cases.
func (*UserCreateBranchError) Descriptor
deprecated
func (*UserCreateBranchError) Descriptor() ([]byte, []int)
Deprecated: Use UserCreateBranchError.ProtoReflect.Descriptor instead.
func (*UserCreateBranchError) GetCustomHook ¶
func (x *UserCreateBranchError) GetCustomHook() *CustomHookError
func (*UserCreateBranchError) GetError ¶
func (m *UserCreateBranchError) GetError() isUserCreateBranchError_Error
func (*UserCreateBranchError) ProtoMessage ¶
func (*UserCreateBranchError) ProtoMessage()
func (*UserCreateBranchError) ProtoReflect ¶
func (x *UserCreateBranchError) ProtoReflect() protoreflect.Message
func (*UserCreateBranchError) Reset ¶
func (x *UserCreateBranchError) Reset()
func (*UserCreateBranchError) String ¶
func (x *UserCreateBranchError) String() string
type UserCreateBranchError_CustomHook ¶
type UserCreateBranchError_CustomHook struct { // custom_hookError is set if any custom hook which has running as part of // this RPC call has returned a non-zero exit code. CustomHook *CustomHookError `protobuf:"bytes,1,opt,name=custom_hook,json=customHook,proto3,oneof"` }
type UserCreateBranchRequest ¶
type UserCreateBranchRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // branch_name ... BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` // user ... User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` // start_point ... StartPoint []byte `protobuf:"bytes,4,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"` // contains filtered or unexported fields }
UserCreateBranchRequest ...
func (*UserCreateBranchRequest) Descriptor
deprecated
func (*UserCreateBranchRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserCreateBranchRequest.ProtoReflect.Descriptor instead.
func (*UserCreateBranchRequest) GetBranchName ¶
func (x *UserCreateBranchRequest) GetBranchName() []byte
func (*UserCreateBranchRequest) GetRepository ¶
func (x *UserCreateBranchRequest) GetRepository() *Repository
func (*UserCreateBranchRequest) GetStartPoint ¶
func (x *UserCreateBranchRequest) GetStartPoint() []byte
func (*UserCreateBranchRequest) GetUser ¶
func (x *UserCreateBranchRequest) GetUser() *User
func (*UserCreateBranchRequest) ProtoMessage ¶
func (*UserCreateBranchRequest) ProtoMessage()
func (*UserCreateBranchRequest) ProtoReflect ¶
func (x *UserCreateBranchRequest) ProtoReflect() protoreflect.Message
func (*UserCreateBranchRequest) Reset ¶
func (x *UserCreateBranchRequest) Reset()
func (*UserCreateBranchRequest) String ¶
func (x *UserCreateBranchRequest) String() string
type UserCreateBranchResponse ¶
type UserCreateBranchResponse struct { // branch ... Branch *Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` // contains filtered or unexported fields }
UserCreateBranchResponse ...
func (*UserCreateBranchResponse) Descriptor
deprecated
func (*UserCreateBranchResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserCreateBranchResponse.ProtoReflect.Descriptor instead.
func (*UserCreateBranchResponse) GetBranch ¶
func (x *UserCreateBranchResponse) GetBranch() *Branch
func (*UserCreateBranchResponse) ProtoMessage ¶
func (*UserCreateBranchResponse) ProtoMessage()
func (*UserCreateBranchResponse) ProtoReflect ¶
func (x *UserCreateBranchResponse) ProtoReflect() protoreflect.Message
func (*UserCreateBranchResponse) Reset ¶
func (x *UserCreateBranchResponse) Reset()
func (*UserCreateBranchResponse) String ¶
func (x *UserCreateBranchResponse) String() string
type UserCreateTagError ¶
type UserCreateTagError struct { // Types that are assignable to Error: // // *UserCreateTagError_AccessCheck // *UserCreateTagError_ReferenceUpdate // *UserCreateTagError_CustomHook // *UserCreateTagError_ReferenceExists Error isUserCreateTagError_Error `protobuf_oneof:"error"` // contains filtered or unexported fields }
UserCreateTagError includes error descriptions which may be set as error details in case userCreateTag fails.
func (*UserCreateTagError) Descriptor
deprecated
func (*UserCreateTagError) Descriptor() ([]byte, []int)
Deprecated: Use UserCreateTagError.ProtoReflect.Descriptor instead.
func (*UserCreateTagError) GetAccessCheck ¶
func (x *UserCreateTagError) GetAccessCheck() *AccessCheckError
func (*UserCreateTagError) GetCustomHook ¶
func (x *UserCreateTagError) GetCustomHook() *CustomHookError
func (*UserCreateTagError) GetError ¶
func (m *UserCreateTagError) GetError() isUserCreateTagError_Error
func (*UserCreateTagError) GetReferenceExists ¶
func (x *UserCreateTagError) GetReferenceExists() *ReferenceExistsError
func (*UserCreateTagError) GetReferenceUpdate ¶
func (x *UserCreateTagError) GetReferenceUpdate() *ReferenceUpdateError
func (*UserCreateTagError) ProtoMessage ¶
func (*UserCreateTagError) ProtoMessage()
func (*UserCreateTagError) ProtoReflect ¶
func (x *UserCreateTagError) ProtoReflect() protoreflect.Message
func (*UserCreateTagError) Reset ¶
func (x *UserCreateTagError) Reset()
func (*UserCreateTagError) String ¶
func (x *UserCreateTagError) String() string
type UserCreateTagError_AccessCheck ¶
type UserCreateTagError_AccessCheck struct { // access_checkError is set if the RPC failed because `/internal/allowed` failed. AccessCheck *AccessCheckError `protobuf:"bytes,1,opt,name=access_check,json=accessCheck,proto3,oneof"` }
type UserCreateTagError_CustomHook ¶
type UserCreateTagError_CustomHook struct { // custom_hook is set if any custom hook which has running as part of this RPC call has returned // a non-zero exit code. CustomHook *CustomHookError `protobuf:"bytes,3,opt,name=custom_hook,json=customHook,proto3,oneof"` }
type UserCreateTagError_ReferenceExists ¶
type UserCreateTagError_ReferenceExists struct { // reference_existsError is set if the tag reference exists already. ReferenceExists *ReferenceExistsError `protobuf:"bytes,4,opt,name=reference_exists,json=referenceExists,proto3,oneof"` }
type UserCreateTagError_ReferenceUpdate ¶
type UserCreateTagError_ReferenceUpdate struct { // reference_updateError is set if the RPC failed because updating the // reference to the new object ID has failed. ReferenceUpdate *ReferenceUpdateError `protobuf:"bytes,2,opt,name=reference_update,json=referenceUpdate,proto3,oneof"` }
type UserCreateTagRequest ¶
type UserCreateTagRequest struct { // repository is the repository in which the tag shall be created. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // tag_name is the name of the tag that shall be created. Note that this should be set to the name // only: if you want to create a tag `refs/heads/v1.0`, you need to pass `v1.0` as TagName. TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` // user is the user as which the tag shall be created. This user is used to perform access checks // against Rails' `/internal/allowed` endpoint. User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` // target_revision is the revision that the newly created tag should be pointing to. Note that if // the revision points to a tag, that tag will be peeled to the commit it is pointing to. If the // target_revision does not point to a commit then the RPC will return an error. TargetRevision []byte `protobuf:"bytes,4,opt,name=target_revision,json=targetRevision,proto3" json:"target_revision,omitempty"` // message is the message of the tag. If it is empty, a lightweight tag is created. Otherwise, an // annotated tag is created. Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` // timestamp is the optional timestamp to use for the created tag tags. If it's not set, the // current time will be used. It's only used if an annotated tag is being created. Timestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
UserCreateTagRequest is a request for the UserCreateTag RPC.
func (*UserCreateTagRequest) Descriptor
deprecated
func (*UserCreateTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserCreateTagRequest.ProtoReflect.Descriptor instead.
func (*UserCreateTagRequest) GetMessage ¶
func (x *UserCreateTagRequest) GetMessage() []byte
func (*UserCreateTagRequest) GetRepository ¶
func (x *UserCreateTagRequest) GetRepository() *Repository
func (*UserCreateTagRequest) GetTagName ¶
func (x *UserCreateTagRequest) GetTagName() []byte
func (*UserCreateTagRequest) GetTargetRevision ¶
func (x *UserCreateTagRequest) GetTargetRevision() []byte
func (*UserCreateTagRequest) GetTimestamp ¶
func (x *UserCreateTagRequest) GetTimestamp() *timestamppb.Timestamp
func (*UserCreateTagRequest) GetUser ¶
func (x *UserCreateTagRequest) GetUser() *User
func (*UserCreateTagRequest) ProtoMessage ¶
func (*UserCreateTagRequest) ProtoMessage()
func (*UserCreateTagRequest) ProtoReflect ¶
func (x *UserCreateTagRequest) ProtoReflect() protoreflect.Message
func (*UserCreateTagRequest) Reset ¶
func (x *UserCreateTagRequest) Reset()
func (*UserCreateTagRequest) String ¶
func (x *UserCreateTagRequest) String() string
type UserCreateTagResponse ¶
type UserCreateTagResponse struct { // tag is the newly created tag. Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
UserCreateTagResponse is a response for the UserCreateTag RPC.
func (*UserCreateTagResponse) Descriptor
deprecated
func (*UserCreateTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserCreateTagResponse.ProtoReflect.Descriptor instead.
func (*UserCreateTagResponse) GetTag ¶
func (x *UserCreateTagResponse) GetTag() *Tag
func (*UserCreateTagResponse) ProtoMessage ¶
func (*UserCreateTagResponse) ProtoMessage()
func (*UserCreateTagResponse) ProtoReflect ¶
func (x *UserCreateTagResponse) ProtoReflect() protoreflect.Message
func (*UserCreateTagResponse) Reset ¶
func (x *UserCreateTagResponse) Reset()
func (*UserCreateTagResponse) String ¶
func (x *UserCreateTagResponse) String() string
type UserDeleteBranchError ¶
type UserDeleteBranchError struct { // Types that are assignable to Error: // // *UserDeleteBranchError_AccessCheck // *UserDeleteBranchError_ReferenceUpdate // *UserDeleteBranchError_CustomHook Error isUserDeleteBranchError_Error `protobuf_oneof:"error"` // contains filtered or unexported fields }
UserDeleteBranchError is an error returned by the UserDeleteBranch RPC in some specific well defined error cases.
func (*UserDeleteBranchError) Descriptor
deprecated
func (*UserDeleteBranchError) Descriptor() ([]byte, []int)
Deprecated: Use UserDeleteBranchError.ProtoReflect.Descriptor instead.
func (*UserDeleteBranchError) GetAccessCheck ¶
func (x *UserDeleteBranchError) GetAccessCheck() *AccessCheckError
func (*UserDeleteBranchError) GetCustomHook ¶
func (x *UserDeleteBranchError) GetCustomHook() *CustomHookError
func (*UserDeleteBranchError) GetError ¶
func (m *UserDeleteBranchError) GetError() isUserDeleteBranchError_Error
func (*UserDeleteBranchError) GetReferenceUpdate ¶
func (x *UserDeleteBranchError) GetReferenceUpdate() *ReferenceUpdateError
func (*UserDeleteBranchError) ProtoMessage ¶
func (*UserDeleteBranchError) ProtoMessage()
func (*UserDeleteBranchError) ProtoReflect ¶
func (x *UserDeleteBranchError) ProtoReflect() protoreflect.Message
func (*UserDeleteBranchError) Reset ¶
func (x *UserDeleteBranchError) Reset()
func (*UserDeleteBranchError) String ¶
func (x *UserDeleteBranchError) String() string
type UserDeleteBranchError_AccessCheck ¶
type UserDeleteBranchError_AccessCheck struct { // access_checkError is set if the RPC failed because `/internal/allowed` failed. AccessCheck *AccessCheckError `protobuf:"bytes,1,opt,name=access_check,json=accessCheck,proto3,oneof"` }
type UserDeleteBranchError_CustomHook ¶
type UserDeleteBranchError_CustomHook struct { // custom_hook is set if any custom hook which has running as part of this RPC call has returned // a non-zero exit code. CustomHook *CustomHookError `protobuf:"bytes,3,opt,name=custom_hook,json=customHook,proto3,oneof"` }
type UserDeleteBranchError_ReferenceUpdate ¶
type UserDeleteBranchError_ReferenceUpdate struct { // reference_updateError is set if the RPC failed because updating the // reference to the new object ID has failed. ReferenceUpdate *ReferenceUpdateError `protobuf:"bytes,2,opt,name=reference_update,json=referenceUpdate,proto3,oneof"` }
type UserDeleteBranchRequest ¶
type UserDeleteBranchRequest struct { // repository is the repository to delete the branch in. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // branch_name is the name of the branch that shall be deleted. This is expected to be the branch // name only, e.g. in case you want to delete `refs/heads/main` the request needs to only contain // `main` as the branch name. BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` // user is the user on whose behalf we should delete the branch. This information is used to // perform access checks against the Rails `/internal/allowed` API. This user is also exposed to // any custom hooks executed as part of this RPC call. User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` // expected_old_oid is the object ID which branch is expected to point to. // This is used as a safety guard to avoid races when branch has been // updated meanwhile to point to a different object ID. // // If unset, the target branch will be deleted regardless of its current // state. If set, it must either contain a valid, full object ID. Otherwise, this // RPC will return an error. ExpectedOldOid string `protobuf:"bytes,4,opt,name=expected_old_oid,json=expectedOldOid,proto3" json:"expected_old_oid,omitempty"` // contains filtered or unexported fields }
UserDeleteBranchRequest is a request for the UserDeleteBranch RPC.
func (*UserDeleteBranchRequest) Descriptor
deprecated
func (*UserDeleteBranchRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserDeleteBranchRequest.ProtoReflect.Descriptor instead.
func (*UserDeleteBranchRequest) GetBranchName ¶
func (x *UserDeleteBranchRequest) GetBranchName() []byte
func (*UserDeleteBranchRequest) GetExpectedOldOid ¶
func (x *UserDeleteBranchRequest) GetExpectedOldOid() string
func (*UserDeleteBranchRequest) GetRepository ¶
func (x *UserDeleteBranchRequest) GetRepository() *Repository
func (*UserDeleteBranchRequest) GetUser ¶
func (x *UserDeleteBranchRequest) GetUser() *User
func (*UserDeleteBranchRequest) ProtoMessage ¶
func (*UserDeleteBranchRequest) ProtoMessage()
func (*UserDeleteBranchRequest) ProtoReflect ¶
func (x *UserDeleteBranchRequest) ProtoReflect() protoreflect.Message
func (*UserDeleteBranchRequest) Reset ¶
func (x *UserDeleteBranchRequest) Reset()
func (*UserDeleteBranchRequest) String ¶
func (x *UserDeleteBranchRequest) String() string
type UserDeleteBranchResponse ¶
type UserDeleteBranchResponse struct {
// contains filtered or unexported fields
}
UserDeleteBranchResponse is a response for the UserDeleteBranch RPC.
func (*UserDeleteBranchResponse) Descriptor
deprecated
func (*UserDeleteBranchResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserDeleteBranchResponse.ProtoReflect.Descriptor instead.
func (*UserDeleteBranchResponse) ProtoMessage ¶
func (*UserDeleteBranchResponse) ProtoMessage()
func (*UserDeleteBranchResponse) ProtoReflect ¶
func (x *UserDeleteBranchResponse) ProtoReflect() protoreflect.Message
func (*UserDeleteBranchResponse) Reset ¶
func (x *UserDeleteBranchResponse) Reset()
func (*UserDeleteBranchResponse) String ¶
func (x *UserDeleteBranchResponse) String() string
type UserDeleteTagRequest ¶
type UserDeleteTagRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // tag_name ... TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` // user ... User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` // expected_old_oid is the object ID which tag is expected to point to. // This is used as a safety guard to avoid races when tag has been // updated meanwhile to point to a different object ID. // // If unset, the target tag will be deleted regardless of its current // state. If set, it must either contain a valid, full object ID. Otherwise, // this RPC will return an error. ExpectedOldOid string `protobuf:"bytes,4,opt,name=expected_old_oid,json=expectedOldOid,proto3" json:"expected_old_oid,omitempty"` // contains filtered or unexported fields }
UserDeleteTagRequest ...
func (*UserDeleteTagRequest) Descriptor
deprecated
func (*UserDeleteTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserDeleteTagRequest.ProtoReflect.Descriptor instead.
func (*UserDeleteTagRequest) GetExpectedOldOid ¶
func (x *UserDeleteTagRequest) GetExpectedOldOid() string
func (*UserDeleteTagRequest) GetRepository ¶
func (x *UserDeleteTagRequest) GetRepository() *Repository
func (*UserDeleteTagRequest) GetTagName ¶
func (x *UserDeleteTagRequest) GetTagName() []byte
func (*UserDeleteTagRequest) GetUser ¶
func (x *UserDeleteTagRequest) GetUser() *User
func (*UserDeleteTagRequest) ProtoMessage ¶
func (*UserDeleteTagRequest) ProtoMessage()
func (*UserDeleteTagRequest) ProtoReflect ¶
func (x *UserDeleteTagRequest) ProtoReflect() protoreflect.Message
func (*UserDeleteTagRequest) Reset ¶
func (x *UserDeleteTagRequest) Reset()
func (*UserDeleteTagRequest) String ¶
func (x *UserDeleteTagRequest) String() string
type UserDeleteTagResponse ¶
type UserDeleteTagResponse struct { // pre_receive_error ... PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` // contains filtered or unexported fields }
UserDeleteTagResponse ...
func (*UserDeleteTagResponse) Descriptor
deprecated
func (*UserDeleteTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserDeleteTagResponse.ProtoReflect.Descriptor instead.
func (*UserDeleteTagResponse) GetPreReceiveError ¶
func (x *UserDeleteTagResponse) GetPreReceiveError() string
func (*UserDeleteTagResponse) ProtoMessage ¶
func (*UserDeleteTagResponse) ProtoMessage()
func (*UserDeleteTagResponse) ProtoReflect ¶
func (x *UserDeleteTagResponse) ProtoReflect() protoreflect.Message
func (*UserDeleteTagResponse) Reset ¶
func (x *UserDeleteTagResponse) Reset()
func (*UserDeleteTagResponse) String ¶
func (x *UserDeleteTagResponse) String() string
type UserFFBranchRequest ¶
type UserFFBranchRequest struct { // repository is the repository for which to perform the fast-forward merge. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // user is the user which to perform the fast-forward merge as. This is used // for authorization checks. User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // commit_id is the commit ID to update the branch to. CommitId string `protobuf:"bytes,3,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // branch is the name of the branch that shall be update. This must be the // branch name only and not a fully qualified reference, e.g. "master" // instead of "refs/heads/master". Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` // expected_old_oid is the object ID which branch is expected to point to. // This is used as a safety guard to avoid races when branch has been // updated meanwhile to point to a different object ID. // // If unset, the target branch will be overwritten regardless of its current // state. If set, it must either contain a valid, full object ID or the // zero object ID in case the branch should be created. Otherwise, this RPC // will return an error. ExpectedOldOid string `protobuf:"bytes,5,opt,name=expected_old_oid,json=expectedOldOid,proto3" json:"expected_old_oid,omitempty"` // contains filtered or unexported fields }
UserFFBranchRequest contains parameters for the UserFFBranch RPC.
func (*UserFFBranchRequest) Descriptor
deprecated
func (*UserFFBranchRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserFFBranchRequest.ProtoReflect.Descriptor instead.
func (*UserFFBranchRequest) GetBranch ¶
func (x *UserFFBranchRequest) GetBranch() []byte
func (*UserFFBranchRequest) GetCommitId ¶
func (x *UserFFBranchRequest) GetCommitId() string
func (*UserFFBranchRequest) GetExpectedOldOid ¶
func (x *UserFFBranchRequest) GetExpectedOldOid() string
func (*UserFFBranchRequest) GetRepository ¶
func (x *UserFFBranchRequest) GetRepository() *Repository
func (*UserFFBranchRequest) GetUser ¶
func (x *UserFFBranchRequest) GetUser() *User
func (*UserFFBranchRequest) ProtoMessage ¶
func (*UserFFBranchRequest) ProtoMessage()
func (*UserFFBranchRequest) ProtoReflect ¶
func (x *UserFFBranchRequest) ProtoReflect() protoreflect.Message
func (*UserFFBranchRequest) Reset ¶
func (x *UserFFBranchRequest) Reset()
func (*UserFFBranchRequest) String ¶
func (x *UserFFBranchRequest) String() string
type UserFFBranchResponse ¶
type UserFFBranchResponse struct { // branch_update ... BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` // pre_receive_error ... PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` // contains filtered or unexported fields }
UserFFBranchResponse ...
func (*UserFFBranchResponse) Descriptor
deprecated
func (*UserFFBranchResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserFFBranchResponse.ProtoReflect.Descriptor instead.
func (*UserFFBranchResponse) GetBranchUpdate ¶
func (x *UserFFBranchResponse) GetBranchUpdate() *OperationBranchUpdate
func (*UserFFBranchResponse) GetPreReceiveError ¶
func (x *UserFFBranchResponse) GetPreReceiveError() string
func (*UserFFBranchResponse) ProtoMessage ¶
func (*UserFFBranchResponse) ProtoMessage()
func (*UserFFBranchResponse) ProtoReflect ¶
func (x *UserFFBranchResponse) ProtoReflect() protoreflect.Message
func (*UserFFBranchResponse) Reset ¶
func (x *UserFFBranchResponse) Reset()
func (*UserFFBranchResponse) String ¶
func (x *UserFFBranchResponse) String() string
type UserMergeBranchError ¶
type UserMergeBranchError struct { // Types that are assignable to Error: // // *UserMergeBranchError_AccessCheck // *UserMergeBranchError_ReferenceUpdate // *UserMergeBranchError_CustomHook // *UserMergeBranchError_MergeConflict Error isUserMergeBranchError_Error `protobuf_oneof:"error"` // contains filtered or unexported fields }
UserMergeBranchError includes error descriptions which may be set as error details in case UserMergeBranch fails.
func (*UserMergeBranchError) Descriptor
deprecated
func (*UserMergeBranchError) Descriptor() ([]byte, []int)
Deprecated: Use UserMergeBranchError.ProtoReflect.Descriptor instead.
func (*UserMergeBranchError) GetAccessCheck ¶
func (x *UserMergeBranchError) GetAccessCheck() *AccessCheckError
func (*UserMergeBranchError) GetCustomHook ¶
func (x *UserMergeBranchError) GetCustomHook() *CustomHookError
func (*UserMergeBranchError) GetError ¶
func (m *UserMergeBranchError) GetError() isUserMergeBranchError_Error
func (*UserMergeBranchError) GetMergeConflict ¶
func (x *UserMergeBranchError) GetMergeConflict() *MergeConflictError
func (*UserMergeBranchError) GetReferenceUpdate ¶
func (x *UserMergeBranchError) GetReferenceUpdate() *ReferenceUpdateError
func (*UserMergeBranchError) ProtoMessage ¶
func (*UserMergeBranchError) ProtoMessage()
func (*UserMergeBranchError) ProtoReflect ¶
func (x *UserMergeBranchError) ProtoReflect() protoreflect.Message
func (*UserMergeBranchError) Reset ¶
func (x *UserMergeBranchError) Reset()
func (*UserMergeBranchError) String ¶
func (x *UserMergeBranchError) String() string
type UserMergeBranchError_AccessCheck ¶
type UserMergeBranchError_AccessCheck struct { // access_checkError is set if the RPC failed because `/internal/allowed` failed. AccessCheck *AccessCheckError `protobuf:"bytes,1,opt,name=access_check,json=accessCheck,proto3,oneof"` }
type UserMergeBranchError_CustomHook ¶
type UserMergeBranchError_CustomHook struct { // custom_hook is set if any custom hook which has running as part of this RPC call has returned // a non-zero exit code. CustomHook *CustomHookError `protobuf:"bytes,3,opt,name=custom_hook,json=customHook,proto3,oneof"` }
type UserMergeBranchError_MergeConflict ¶
type UserMergeBranchError_MergeConflict struct { // merge_conflictError is set if merging the revisions has resulted in conflicting files. MergeConflict *MergeConflictError `protobuf:"bytes,4,opt,name=merge_conflict,json=mergeConflict,proto3,oneof"` }
type UserMergeBranchError_ReferenceUpdate ¶
type UserMergeBranchError_ReferenceUpdate struct { // reference_updateError is set if the RPC failed because updating the // reference to the new object ID has failed. ReferenceUpdate *ReferenceUpdateError `protobuf:"bytes,2,opt,name=reference_update,json=referenceUpdate,proto3,oneof"` }
type UserMergeBranchRequest ¶
type UserMergeBranchRequest struct { // repository is the repository to compute the merge for. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // user is the user to compute the merge as. Its name and mail address are // used as author and committer of the merge. User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // commit_id is the object ID (hash) of the object that shall be merged into // the target branch. CommitId string `protobuf:"bytes,3,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // branch is the branch into which the given commit shall be merged and whose // reference is going to be updated. Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` // message is the message to use for the merge commit. Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` // timestamp is the optional timestamp to use for the merge commit. If it's // not set, the current time will be used. Timestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // expected_old_oid is the object ID which branch is expected to point to. // This is used as a safety guard to avoid races when branch has been // updated meanwhile to point to a different object ID. // // If unset, the target branch will be overwritten regardless of its current // state. If set, it must either contain a valid, full object ID or the // zero object ID in case the branch should be created. Otherwise, this RPC // will return an error. ExpectedOldOid string `protobuf:"bytes,8,opt,name=expected_old_oid,json=expectedOldOid,proto3" json:"expected_old_oid,omitempty"` // apply must only be set in the second message. Only if this second message // is sent and if apply is set to true will the branch be updated to point to // the merge commit. Apply bool `protobuf:"varint,6,opt,name=apply,proto3" json:"apply,omitempty"` // contains filtered or unexported fields }
UserMergeBranchRequest ... The first set of parameters must only be set in the first message to declare parameters for the merge.
func (*UserMergeBranchRequest) Descriptor
deprecated
func (*UserMergeBranchRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserMergeBranchRequest.ProtoReflect.Descriptor instead.
func (*UserMergeBranchRequest) GetApply ¶
func (x *UserMergeBranchRequest) GetApply() bool
func (*UserMergeBranchRequest) GetBranch ¶
func (x *UserMergeBranchRequest) GetBranch() []byte
func (*UserMergeBranchRequest) GetCommitId ¶
func (x *UserMergeBranchRequest) GetCommitId() string
func (*UserMergeBranchRequest) GetExpectedOldOid ¶
func (x *UserMergeBranchRequest) GetExpectedOldOid() string
func (*UserMergeBranchRequest) GetMessage ¶
func (x *UserMergeBranchRequest) GetMessage() []byte
func (*UserMergeBranchRequest) GetRepository ¶
func (x *UserMergeBranchRequest) GetRepository() *Repository
func (*UserMergeBranchRequest) GetTimestamp ¶
func (x *UserMergeBranchRequest) GetTimestamp() *timestamppb.Timestamp
func (*UserMergeBranchRequest) GetUser ¶
func (x *UserMergeBranchRequest) GetUser() *User
func (*UserMergeBranchRequest) ProtoMessage ¶
func (*UserMergeBranchRequest) ProtoMessage()
func (*UserMergeBranchRequest) ProtoReflect ¶
func (x *UserMergeBranchRequest) ProtoReflect() protoreflect.Message
func (*UserMergeBranchRequest) Reset ¶
func (x *UserMergeBranchRequest) Reset()
func (*UserMergeBranchRequest) String ¶
func (x *UserMergeBranchRequest) String() string
type UserMergeBranchResponse ¶
type UserMergeBranchResponse struct { // commit_id is the merge commit the branch will be updated to. // The caller can still abort the merge. // First message. CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // branch_update if set, is the merge has been applied to the branch. // Second message BranchUpdate *OperationBranchUpdate `protobuf:"bytes,3,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` // contains filtered or unexported fields }
UserMergeBranchResponse ...
func (*UserMergeBranchResponse) Descriptor
deprecated
func (*UserMergeBranchResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserMergeBranchResponse.ProtoReflect.Descriptor instead.
func (*UserMergeBranchResponse) GetBranchUpdate ¶
func (x *UserMergeBranchResponse) GetBranchUpdate() *OperationBranchUpdate
func (*UserMergeBranchResponse) GetCommitId ¶
func (x *UserMergeBranchResponse) GetCommitId() string
func (*UserMergeBranchResponse) ProtoMessage ¶
func (*UserMergeBranchResponse) ProtoMessage()
func (*UserMergeBranchResponse) ProtoReflect ¶
func (x *UserMergeBranchResponse) ProtoReflect() protoreflect.Message
func (*UserMergeBranchResponse) Reset ¶
func (x *UserMergeBranchResponse) Reset()
func (*UserMergeBranchResponse) String ¶
func (x *UserMergeBranchResponse) String() string
type UserMergeToRefRequest ¶
type UserMergeToRefRequest struct { // repository is the repository in which the merge shall be computed. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // user is the user as which the merge commit shall be created. User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // source_sha is the object ID of the second parent of the computed merge. SourceSha string `protobuf:"bytes,3,opt,name=source_sha,json=sourceSha,proto3" json:"source_sha,omitempty"` // branch contains the name of the branch which should be used as the first // parent of the computed merge. It is deprecated in favor of // `first_parent_ref` and will be ignored in case it is set. Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` // target_ref contains the fully qualified reference which should be updated // with the computed merge commit. TargetRef []byte `protobuf:"bytes,5,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"` // message is the message to use for the merge commit. Message []byte `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` // first_parent_ref is the name of the reference which should be used as the // first parent of the computed merge. Overrides `branch`. FirstParentRef []byte `protobuf:"bytes,7,opt,name=first_parent_ref,json=firstParentRef,proto3" json:"first_parent_ref,omitempty"` // allow_conflicts if set, used to allow the merge to go ahead when there were // conflicts. The code would simply write the conflict markers in the code. // This has since been deprecated in Rails and is no longer needed. // // Deprecated: Marked as deprecated in operations.proto. AllowConflicts bool `protobuf:"varint,8,opt,name=allow_conflicts,json=allowConflicts,proto3" json:"allow_conflicts,omitempty"` // timestamp is the optional timestamp to use for the merge commit. If it's // not set, the current time will be used. Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // expected_old_oid is the object ID that is expected to be at target_ref. It // is used as an optimistic lock on concurrent updates of target_ref: If // target_ref no longer points to this ID, then the update is rejected. // // expected_old_oid is the object ID which branch is expected to point to. // This is used as a safety guard to avoid races when branch has been // updated meanwhile to point to a different object ID. // // If unset, the target branch will be overwritten regardless of its current // state. If set, it must either contain a valid, full object ID or the // zero object ID in case the branch should be created. Otherwise, this RPC // will return an error. ExpectedOldOid string `protobuf:"bytes,10,opt,name=expected_old_oid,json=expectedOldOid,proto3" json:"expected_old_oid,omitempty"` // contains filtered or unexported fields }
UserMergeToRefRequest ...
func (*UserMergeToRefRequest) Descriptor
deprecated
func (*UserMergeToRefRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserMergeToRefRequest.ProtoReflect.Descriptor instead.
func (*UserMergeToRefRequest) GetAllowConflicts
deprecated
func (x *UserMergeToRefRequest) GetAllowConflicts() bool
Deprecated: Marked as deprecated in operations.proto.
func (*UserMergeToRefRequest) GetBranch ¶
func (x *UserMergeToRefRequest) GetBranch() []byte
func (*UserMergeToRefRequest) GetExpectedOldOid ¶ added in v16.2.0
func (x *UserMergeToRefRequest) GetExpectedOldOid() string
func (*UserMergeToRefRequest) GetFirstParentRef ¶
func (x *UserMergeToRefRequest) GetFirstParentRef() []byte
func (*UserMergeToRefRequest) GetMessage ¶
func (x *UserMergeToRefRequest) GetMessage() []byte
func (*UserMergeToRefRequest) GetRepository ¶
func (x *UserMergeToRefRequest) GetRepository() *Repository
func (*UserMergeToRefRequest) GetSourceSha ¶
func (x *UserMergeToRefRequest) GetSourceSha() string
func (*UserMergeToRefRequest) GetTargetRef ¶
func (x *UserMergeToRefRequest) GetTargetRef() []byte
func (*UserMergeToRefRequest) GetTimestamp ¶
func (x *UserMergeToRefRequest) GetTimestamp() *timestamppb.Timestamp
func (*UserMergeToRefRequest) GetUser ¶
func (x *UserMergeToRefRequest) GetUser() *User
func (*UserMergeToRefRequest) ProtoMessage ¶
func (*UserMergeToRefRequest) ProtoMessage()
func (*UserMergeToRefRequest) ProtoReflect ¶
func (x *UserMergeToRefRequest) ProtoReflect() protoreflect.Message
func (*UserMergeToRefRequest) Reset ¶
func (x *UserMergeToRefRequest) Reset()
func (*UserMergeToRefRequest) String ¶
func (x *UserMergeToRefRequest) String() string
type UserMergeToRefResponse ¶
type UserMergeToRefResponse struct { // commit_id is the object ID of the computed merge commit. CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // contains filtered or unexported fields }
UserMergeToRefResponse ...
func (*UserMergeToRefResponse) Descriptor
deprecated
func (*UserMergeToRefResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserMergeToRefResponse.ProtoReflect.Descriptor instead.
func (*UserMergeToRefResponse) GetCommitId ¶
func (x *UserMergeToRefResponse) GetCommitId() string
func (*UserMergeToRefResponse) ProtoMessage ¶
func (*UserMergeToRefResponse) ProtoMessage()
func (*UserMergeToRefResponse) ProtoReflect ¶
func (x *UserMergeToRefResponse) ProtoReflect() protoreflect.Message
func (*UserMergeToRefResponse) Reset ¶
func (x *UserMergeToRefResponse) Reset()
func (*UserMergeToRefResponse) String ¶
func (x *UserMergeToRefResponse) String() string
type UserRebaseConfirmableError ¶
type UserRebaseConfirmableError struct { // Types that are assignable to Error: // // *UserRebaseConfirmableError_RebaseConflict // *UserRebaseConfirmableError_AccessCheck Error isUserRebaseConfirmableError_Error `protobuf_oneof:"error"` // contains filtered or unexported fields }
UserRebaseConfirmableError ...
func (*UserRebaseConfirmableError) Descriptor
deprecated
func (*UserRebaseConfirmableError) Descriptor() ([]byte, []int)
Deprecated: Use UserRebaseConfirmableError.ProtoReflect.Descriptor instead.
func (*UserRebaseConfirmableError) GetAccessCheck ¶
func (x *UserRebaseConfirmableError) GetAccessCheck() *AccessCheckError
func (*UserRebaseConfirmableError) GetError ¶
func (m *UserRebaseConfirmableError) GetError() isUserRebaseConfirmableError_Error
func (*UserRebaseConfirmableError) GetRebaseConflict ¶
func (x *UserRebaseConfirmableError) GetRebaseConflict() *MergeConflictError
func (*UserRebaseConfirmableError) ProtoMessage ¶
func (*UserRebaseConfirmableError) ProtoMessage()
func (*UserRebaseConfirmableError) ProtoReflect ¶
func (x *UserRebaseConfirmableError) ProtoReflect() protoreflect.Message
func (*UserRebaseConfirmableError) Reset ¶
func (x *UserRebaseConfirmableError) Reset()
func (*UserRebaseConfirmableError) String ¶
func (x *UserRebaseConfirmableError) String() string
type UserRebaseConfirmableError_AccessCheck ¶
type UserRebaseConfirmableError_AccessCheck struct { // access_checkError is returned in case GitLab's `/internal/allowed` endpoint rejected // the change. AccessCheck *AccessCheckError `protobuf:"bytes,2,opt,name=access_check,json=accessCheck,proto3,oneof"` }
type UserRebaseConfirmableError_RebaseConflict ¶
type UserRebaseConfirmableError_RebaseConflict struct { // rebase_conflict is returned in case rebasing commits on top of the start // commit fails with a merge conflict and in case merge squashing commits // fails with a merge conflict. RebaseConflict *MergeConflictError `protobuf:"bytes,1,opt,name=rebase_conflict,json=rebaseConflict,proto3,oneof"` }
type UserRebaseConfirmableRequest ¶
type UserRebaseConfirmableRequest struct { // Types that are assignable to UserRebaseConfirmableRequestPayload: // // *UserRebaseConfirmableRequest_Header_ // *UserRebaseConfirmableRequest_Apply UserRebaseConfirmableRequestPayload isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload `protobuf_oneof:"user_rebase_confirmable_request_payload"` // contains filtered or unexported fields }
UserRebaseConfirmableRequest ...
func (*UserRebaseConfirmableRequest) Descriptor
deprecated
func (*UserRebaseConfirmableRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserRebaseConfirmableRequest.ProtoReflect.Descriptor instead.
func (*UserRebaseConfirmableRequest) GetApply ¶
func (x *UserRebaseConfirmableRequest) GetApply() bool
func (*UserRebaseConfirmableRequest) GetHeader ¶
func (x *UserRebaseConfirmableRequest) GetHeader() *UserRebaseConfirmableRequest_Header
func (*UserRebaseConfirmableRequest) GetUserRebaseConfirmableRequestPayload ¶
func (m *UserRebaseConfirmableRequest) GetUserRebaseConfirmableRequestPayload() isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload
func (*UserRebaseConfirmableRequest) ProtoMessage ¶
func (*UserRebaseConfirmableRequest) ProtoMessage()
func (*UserRebaseConfirmableRequest) ProtoReflect ¶
func (x *UserRebaseConfirmableRequest) ProtoReflect() protoreflect.Message
func (*UserRebaseConfirmableRequest) Reset ¶
func (x *UserRebaseConfirmableRequest) Reset()
func (*UserRebaseConfirmableRequest) String ¶
func (x *UserRebaseConfirmableRequest) String() string
type UserRebaseConfirmableRequest_Apply ¶
type UserRebaseConfirmableRequest_Apply struct { // apply is the second request that must be made to confirm that // the rebase should be applied to the branch. Apply bool `protobuf:"varint,2,opt,name=apply,proto3,oneof"` }
type UserRebaseConfirmableRequest_Header ¶
type UserRebaseConfirmableRequest_Header struct { // repository is the repository in which the rebase will be computed and // applied. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // user is the user to compute the rebase as. It will be used as // "committer" of rebased commits. User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // rebase_id does nothing anymore. // // Deprecated: Marked as deprecated in operations.proto. RebaseId string `protobuf:"bytes,3,opt,name=rebase_id,json=rebaseId,proto3" json:"rebase_id,omitempty"` // branch is the branch onto which the rebase shall happen. Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` // branch_sha is the expected object ID which branch currently points to. // This is used as a safety guard to avoid races when branch has been // updated meanwhile. BranchSha string `protobuf:"bytes,5,opt,name=branch_sha,json=branchSha,proto3" json:"branch_sha,omitempty"` // remote_repository is the repository which contains the branch which // shall be rebased onto the local branch. RemoteRepository *Repository `protobuf:"bytes,6,opt,name=remote_repository,json=remoteRepository,proto3" json:"remote_repository,omitempty"` // remote_branch contains the branch name which shall re rebased onto the // local branch. RemoteBranch []byte `protobuf:"bytes,7,opt,name=remote_branch,json=remoteBranch,proto3" json:"remote_branch,omitempty"` // git_push_options contain options which shall be passed to the git hooks // when the local branch gets updated. GitPushOptions []string `protobuf:"bytes,8,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"` // timestamp is the optional timestamp to use for the rebased commits as // committer date. If it's not set, the current time will be used. Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
Header contains information to compute the rebase and must be sent as first message.
func (*UserRebaseConfirmableRequest_Header) Descriptor
deprecated
func (*UserRebaseConfirmableRequest_Header) Descriptor() ([]byte, []int)
Deprecated: Use UserRebaseConfirmableRequest_Header.ProtoReflect.Descriptor instead.
func (*UserRebaseConfirmableRequest_Header) GetBranch ¶
func (x *UserRebaseConfirmableRequest_Header) GetBranch() []byte
func (*UserRebaseConfirmableRequest_Header) GetBranchSha ¶
func (x *UserRebaseConfirmableRequest_Header) GetBranchSha() string
func (*UserRebaseConfirmableRequest_Header) GetGitPushOptions ¶
func (x *UserRebaseConfirmableRequest_Header) GetGitPushOptions() []string
func (*UserRebaseConfirmableRequest_Header) GetRebaseId
deprecated
func (x *UserRebaseConfirmableRequest_Header) GetRebaseId() string
Deprecated: Marked as deprecated in operations.proto.
func (*UserRebaseConfirmableRequest_Header) GetRemoteBranch ¶
func (x *UserRebaseConfirmableRequest_Header) GetRemoteBranch() []byte
func (*UserRebaseConfirmableRequest_Header) GetRemoteRepository ¶
func (x *UserRebaseConfirmableRequest_Header) GetRemoteRepository() *Repository
func (*UserRebaseConfirmableRequest_Header) GetRepository ¶
func (x *UserRebaseConfirmableRequest_Header) GetRepository() *Repository
func (*UserRebaseConfirmableRequest_Header) GetTimestamp ¶
func (x *UserRebaseConfirmableRequest_Header) GetTimestamp() *timestamppb.Timestamp
func (*UserRebaseConfirmableRequest_Header) GetUser ¶
func (x *UserRebaseConfirmableRequest_Header) GetUser() *User
func (*UserRebaseConfirmableRequest_Header) ProtoMessage ¶
func (*UserRebaseConfirmableRequest_Header) ProtoMessage()
func (*UserRebaseConfirmableRequest_Header) ProtoReflect ¶
func (x *UserRebaseConfirmableRequest_Header) ProtoReflect() protoreflect.Message
func (*UserRebaseConfirmableRequest_Header) Reset ¶
func (x *UserRebaseConfirmableRequest_Header) Reset()
func (*UserRebaseConfirmableRequest_Header) String ¶
func (x *UserRebaseConfirmableRequest_Header) String() string
type UserRebaseConfirmableRequest_Header_ ¶
type UserRebaseConfirmableRequest_Header_ struct { // header must be the first request for each request stream // containing details about the rebase to perform. Header *UserRebaseConfirmableRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"` }
type UserRebaseConfirmableResponse ¶
type UserRebaseConfirmableResponse struct { // Types that are assignable to UserRebaseConfirmableResponsePayload: // // *UserRebaseConfirmableResponse_RebaseSha // *UserRebaseConfirmableResponse_RebaseApplied UserRebaseConfirmableResponsePayload isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload `protobuf_oneof:"user_rebase_confirmable_response_payload"` // pre_receive_error contains an error message if the rebase failed because // of an error raised by hooks. PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` // git_error contains an error message if git operations have failed. GitError string `protobuf:"bytes,4,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` // contains filtered or unexported fields }
UserRebaseConfirmableResponse ...
func (*UserRebaseConfirmableResponse) Descriptor
deprecated
func (*UserRebaseConfirmableResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserRebaseConfirmableResponse.ProtoReflect.Descriptor instead.
func (*UserRebaseConfirmableResponse) GetGitError ¶
func (x *UserRebaseConfirmableResponse) GetGitError() string
func (*UserRebaseConfirmableResponse) GetPreReceiveError ¶
func (x *UserRebaseConfirmableResponse) GetPreReceiveError() string
func (*UserRebaseConfirmableResponse) GetRebaseApplied ¶
func (x *UserRebaseConfirmableResponse) GetRebaseApplied() bool
func (*UserRebaseConfirmableResponse) GetRebaseSha ¶
func (x *UserRebaseConfirmableResponse) GetRebaseSha() string
func (*UserRebaseConfirmableResponse) GetUserRebaseConfirmableResponsePayload ¶
func (m *UserRebaseConfirmableResponse) GetUserRebaseConfirmableResponsePayload() isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload
func (*UserRebaseConfirmableResponse) ProtoMessage ¶
func (*UserRebaseConfirmableResponse) ProtoMessage()
func (*UserRebaseConfirmableResponse) ProtoReflect ¶
func (x *UserRebaseConfirmableResponse) ProtoReflect() protoreflect.Message
func (*UserRebaseConfirmableResponse) Reset ¶
func (x *UserRebaseConfirmableResponse) Reset()
func (*UserRebaseConfirmableResponse) String ¶
func (x *UserRebaseConfirmableResponse) String() string
type UserRebaseConfirmableResponse_RebaseApplied ¶
type UserRebaseConfirmableResponse_RebaseApplied struct { // rebase_applied confirms that the rebase has been applied to the branch. // It is present in the second response. RebaseApplied bool `protobuf:"varint,2,opt,name=rebase_applied,json=rebaseApplied,proto3,oneof"` }
type UserRebaseConfirmableResponse_RebaseSha ¶
type UserRebaseConfirmableResponse_RebaseSha struct { // rebase_sha is the commit the branch will be updated to, it will be present // in the first response. The caller can still abort the rebase. RebaseSha string `protobuf:"bytes,1,opt,name=rebase_sha,json=rebaseSha,proto3,oneof"` }
type UserRebaseToRefRequest ¶ added in v16.2.0
type UserRebaseToRefRequest struct { // repository is the repository in which the rebase shall be computed. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // user is the user as which the rebased commits shall be created. User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // source_sha is the object ID of the commit to be rebased. SourceSha string `protobuf:"bytes,3,opt,name=source_sha,json=sourceSha,proto3" json:"source_sha,omitempty"` // target_ref is the fully qualified reference that will be overwritten or created // with the rebased commits. TargetRef []byte `protobuf:"bytes,5,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"` // first_parent_ref is the name of the reference on top of which SourceSha // should be rebased. FirstParentRef []byte `protobuf:"bytes,7,opt,name=first_parent_ref,json=firstParentRef,proto3" json:"first_parent_ref,omitempty"` // timestamp is the optional timestamp to use for the rebased commits as // committer date. If it's not set, the current time will be used. Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // expected_old_oid is the object ID to which TargetRef is expected to point. // This is used as a safety guard to avoid races when TargetRef has been // updated meanwhile to point to a different object ID. // // If unset, TargetRef will be overwritten regardless of its current state. // If set, it must either contain a valid, full object ID or the zero object // ID in case the ref should be created. Otherwise, this RPC will return an // error. ExpectedOldOid string `protobuf:"bytes,10,opt,name=expected_old_oid,json=expectedOldOid,proto3" json:"expected_old_oid,omitempty"` // contains filtered or unexported fields }
UserRebaseToRefRequest contains the request parameters for the UserRebaseToRef RPC
func (*UserRebaseToRefRequest) Descriptor
deprecated
added in
v16.2.0
func (*UserRebaseToRefRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserRebaseToRefRequest.ProtoReflect.Descriptor instead.
func (*UserRebaseToRefRequest) GetExpectedOldOid ¶ added in v16.2.0
func (x *UserRebaseToRefRequest) GetExpectedOldOid() string
func (*UserRebaseToRefRequest) GetFirstParentRef ¶ added in v16.2.0
func (x *UserRebaseToRefRequest) GetFirstParentRef() []byte
func (*UserRebaseToRefRequest) GetRepository ¶ added in v16.2.0
func (x *UserRebaseToRefRequest) GetRepository() *Repository
func (*UserRebaseToRefRequest) GetSourceSha ¶ added in v16.2.0
func (x *UserRebaseToRefRequest) GetSourceSha() string
func (*UserRebaseToRefRequest) GetTargetRef ¶ added in v16.2.0
func (x *UserRebaseToRefRequest) GetTargetRef() []byte
func (*UserRebaseToRefRequest) GetTimestamp ¶ added in v16.2.0
func (x *UserRebaseToRefRequest) GetTimestamp() *timestamppb.Timestamp
func (*UserRebaseToRefRequest) GetUser ¶ added in v16.2.0
func (x *UserRebaseToRefRequest) GetUser() *User
func (*UserRebaseToRefRequest) ProtoMessage ¶ added in v16.2.0
func (*UserRebaseToRefRequest) ProtoMessage()
func (*UserRebaseToRefRequest) ProtoReflect ¶ added in v16.2.0
func (x *UserRebaseToRefRequest) ProtoReflect() protoreflect.Message
func (*UserRebaseToRefRequest) Reset ¶ added in v16.2.0
func (x *UserRebaseToRefRequest) Reset()
func (*UserRebaseToRefRequest) String ¶ added in v16.2.0
func (x *UserRebaseToRefRequest) String() string
type UserRebaseToRefResponse ¶ added in v16.2.0
type UserRebaseToRefResponse struct { // commit_id is the object ID of the HEAD of the rebased ref. CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // contains filtered or unexported fields }
UserRebaseToRefResponse contains the response data for the UserRebaseToRef RPC
func (*UserRebaseToRefResponse) Descriptor
deprecated
added in
v16.2.0
func (*UserRebaseToRefResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserRebaseToRefResponse.ProtoReflect.Descriptor instead.
func (*UserRebaseToRefResponse) GetCommitId ¶ added in v16.2.0
func (x *UserRebaseToRefResponse) GetCommitId() string
func (*UserRebaseToRefResponse) ProtoMessage ¶ added in v16.2.0
func (*UserRebaseToRefResponse) ProtoMessage()
func (*UserRebaseToRefResponse) ProtoReflect ¶ added in v16.2.0
func (x *UserRebaseToRefResponse) ProtoReflect() protoreflect.Message
func (*UserRebaseToRefResponse) Reset ¶ added in v16.2.0
func (x *UserRebaseToRefResponse) Reset()
func (*UserRebaseToRefResponse) String ¶ added in v16.2.0
func (x *UserRebaseToRefResponse) String() string
type UserRevertRequest ¶
type UserRevertRequest struct { // repository is the repository in which the revert shall be applied. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // user is the user to perform the revert as. This is used both for // authorization and as author/committer for the revert commit. User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // commit iis the commit to revert. Commit *GitCommit `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` // branch_name is the name of the branch onto which the reverted commit shall // be committed. BranchName []byte `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` // message is the message to use for the revert commit. Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` // start_branch_name is is used in case the branch_name branch does not // exist. In that case, it will be created from the start_branch_name. StartBranchName []byte `protobuf:"bytes,6,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"` // start_repository is used in case the branch_name branch does not exist. In // that case, it will be created from start_branch_name in the // start_repository. StartRepository *Repository `protobuf:"bytes,7,opt,name=start_repository,json=startRepository,proto3" json:"start_repository,omitempty"` // dry_run will compute the revert, but not update the target branch. DryRun bool `protobuf:"varint,8,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // timestamp is the optional timestamp to use for the created cherry-picked // commit's committer date. If it's not set, the current time will be used. Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // expected_old_oid is the object ID which branch is expected to point to. // This is used as a safety guard to avoid races when branch has been // updated meanwhile to point to a different object ID. Only applicable when // branch_name is set. // // If unset, the target branch will be overwritten regardless of its current // state. If set, it must either contain a valid, full object ID or the // zero object ID in case the branch should be created. Otherwise, this RPC // will return an error. ExpectedOldOid string `protobuf:"bytes,10,opt,name=expected_old_oid,json=expectedOldOid,proto3" json:"expected_old_oid,omitempty"` // contains filtered or unexported fields }
UserRevertRequest ...
func (*UserRevertRequest) Descriptor
deprecated
func (*UserRevertRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserRevertRequest.ProtoReflect.Descriptor instead.
func (*UserRevertRequest) GetBranchName ¶
func (x *UserRevertRequest) GetBranchName() []byte
func (*UserRevertRequest) GetCommit ¶
func (x *UserRevertRequest) GetCommit() *GitCommit
func (*UserRevertRequest) GetDryRun ¶
func (x *UserRevertRequest) GetDryRun() bool
func (*UserRevertRequest) GetExpectedOldOid ¶
func (x *UserRevertRequest) GetExpectedOldOid() string
func (*UserRevertRequest) GetMessage ¶
func (x *UserRevertRequest) GetMessage() []byte
func (*UserRevertRequest) GetRepository ¶
func (x *UserRevertRequest) GetRepository() *Repository
func (*UserRevertRequest) GetStartBranchName ¶
func (x *UserRevertRequest) GetStartBranchName() []byte
func (*UserRevertRequest) GetStartRepository ¶
func (x *UserRevertRequest) GetStartRepository() *Repository
func (*UserRevertRequest) GetTimestamp ¶
func (x *UserRevertRequest) GetTimestamp() *timestamppb.Timestamp
func (*UserRevertRequest) GetUser ¶
func (x *UserRevertRequest) GetUser() *User
func (*UserRevertRequest) ProtoMessage ¶
func (*UserRevertRequest) ProtoMessage()
func (*UserRevertRequest) ProtoReflect ¶
func (x *UserRevertRequest) ProtoReflect() protoreflect.Message
func (*UserRevertRequest) Reset ¶
func (x *UserRevertRequest) Reset()
func (*UserRevertRequest) String ¶
func (x *UserRevertRequest) String() string
type UserRevertResponse ¶
type UserRevertResponse struct { // branch_update represents details about the updated branch. BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` // create_tree_error contains the error message if creation of the tree // failed. CreateTreeError string `protobuf:"bytes,2,opt,name=create_tree_error,json=createTreeError,proto3" json:"create_tree_error,omitempty"` // commit_error contains the error message if updating the reference failed. CommitError string `protobuf:"bytes,3,opt,name=commit_error,json=commitError,proto3" json:"commit_error,omitempty"` // pre_receive_error contains the error message if the pre-receive hook // failed. PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` // create_tree_error_code contains the error code if creation of the tree // failed. CreateTreeErrorCode UserRevertResponse_CreateTreeError `` /* 170-byte string literal not displayed */ // contains filtered or unexported fields }
UserRevertResponse ...
func (*UserRevertResponse) Descriptor
deprecated
func (*UserRevertResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserRevertResponse.ProtoReflect.Descriptor instead.
func (*UserRevertResponse) GetBranchUpdate ¶
func (x *UserRevertResponse) GetBranchUpdate() *OperationBranchUpdate
func (*UserRevertResponse) GetCommitError ¶
func (x *UserRevertResponse) GetCommitError() string
func (*UserRevertResponse) GetCreateTreeError ¶
func (x *UserRevertResponse) GetCreateTreeError() string
func (*UserRevertResponse) GetCreateTreeErrorCode ¶
func (x *UserRevertResponse) GetCreateTreeErrorCode() UserRevertResponse_CreateTreeError
func (*UserRevertResponse) GetPreReceiveError ¶
func (x *UserRevertResponse) GetPreReceiveError() string
func (*UserRevertResponse) ProtoMessage ¶
func (*UserRevertResponse) ProtoMessage()
func (*UserRevertResponse) ProtoReflect ¶
func (x *UserRevertResponse) ProtoReflect() protoreflect.Message
func (*UserRevertResponse) Reset ¶
func (x *UserRevertResponse) Reset()
func (*UserRevertResponse) String ¶
func (x *UserRevertResponse) String() string
type UserRevertResponse_CreateTreeError ¶
type UserRevertResponse_CreateTreeError int32
CreateTreeError represents an error which happened when computing the revert.
const ( // NONE denotes that no error occurred. UserRevertResponse_NONE UserRevertResponse_CreateTreeError = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // EMPTY denotes that the revert would've resulted in an empty commit, // typically because it has already been applied to the target branch. UserRevertResponse_EMPTY UserRevertResponse_CreateTreeError = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // CONFLICT denotes that the revert resulted in a conflict. UserRevertResponse_CONFLICT UserRevertResponse_CreateTreeError = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (UserRevertResponse_CreateTreeError) Descriptor ¶
func (UserRevertResponse_CreateTreeError) Descriptor() protoreflect.EnumDescriptor
func (UserRevertResponse_CreateTreeError) Enum ¶
func (x UserRevertResponse_CreateTreeError) Enum() *UserRevertResponse_CreateTreeError
func (UserRevertResponse_CreateTreeError) EnumDescriptor
deprecated
func (UserRevertResponse_CreateTreeError) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserRevertResponse_CreateTreeError.Descriptor instead.
func (UserRevertResponse_CreateTreeError) Number ¶
func (x UserRevertResponse_CreateTreeError) Number() protoreflect.EnumNumber
func (UserRevertResponse_CreateTreeError) String ¶
func (x UserRevertResponse_CreateTreeError) String() string
func (UserRevertResponse_CreateTreeError) Type ¶
func (UserRevertResponse_CreateTreeError) Type() protoreflect.EnumType
type UserSquashError ¶
type UserSquashError struct { // Types that are assignable to Error: // // *UserSquashError_ResolveRevision // *UserSquashError_RebaseConflict Error isUserSquashError_Error `protobuf_oneof:"error"` // contains filtered or unexported fields }
UserSquashError is an error that may be returned when the UserSquash RPC fails.
func (*UserSquashError) Descriptor
deprecated
func (*UserSquashError) Descriptor() ([]byte, []int)
Deprecated: Use UserSquashError.ProtoReflect.Descriptor instead.
func (*UserSquashError) GetError ¶
func (m *UserSquashError) GetError() isUserSquashError_Error
func (*UserSquashError) GetRebaseConflict ¶
func (x *UserSquashError) GetRebaseConflict() *MergeConflictError
func (*UserSquashError) GetResolveRevision ¶
func (x *UserSquashError) GetResolveRevision() *ResolveRevisionError
func (*UserSquashError) ProtoMessage ¶
func (*UserSquashError) ProtoMessage()
func (*UserSquashError) ProtoReflect ¶
func (x *UserSquashError) ProtoReflect() protoreflect.Message
func (*UserSquashError) Reset ¶
func (x *UserSquashError) Reset()
func (*UserSquashError) String ¶
func (x *UserSquashError) String() string
type UserSquashError_RebaseConflict ¶
type UserSquashError_RebaseConflict struct { // rebase_conflict is returned in case rebasing commits on top of the start // commit fails with a merge conflict. RebaseConflict *MergeConflictError `protobuf:"bytes,2,opt,name=rebase_conflict,json=rebaseConflict,proto3,oneof"` }
type UserSquashError_ResolveRevision ¶
type UserSquashError_ResolveRevision struct { // resolve_revision is returned in case resolving either the start or end // revision has failed. ResolveRevision *ResolveRevisionError `protobuf:"bytes,1,opt,name=resolve_revision,json=resolveRevision,proto3,oneof"` }
type UserSquashRequest ¶
type UserSquashRequest struct { // repository is the repository into which the squashed commit shall be // written. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // user is used for authorization checks. User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // start_sha is the object ID of the start commit of the range which shall be // squashed. Must be an ancestor of end_sha. StartSha string `protobuf:"bytes,5,opt,name=start_sha,json=startSha,proto3" json:"start_sha,omitempty"` // end_sha is the object ID of the end commit of the range which shall be // squashed. EndSha string `protobuf:"bytes,6,opt,name=end_sha,json=endSha,proto3" json:"end_sha,omitempty"` // author will be used as the author of the squashed commit. Author *User `protobuf:"bytes,7,opt,name=author,proto3" json:"author,omitempty"` // commit_message is the message to be used for the squashed commit. CommitMessage []byte `protobuf:"bytes,8,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` // timestamp is the optional timestamp to use for the squashed commit as // committer date. If it's not set, the current time will be used. Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
UserSquashRequest ...
func (*UserSquashRequest) Descriptor
deprecated
func (*UserSquashRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserSquashRequest.ProtoReflect.Descriptor instead.
func (*UserSquashRequest) GetAuthor ¶
func (x *UserSquashRequest) GetAuthor() *User
func (*UserSquashRequest) GetCommitMessage ¶
func (x *UserSquashRequest) GetCommitMessage() []byte
func (*UserSquashRequest) GetEndSha ¶
func (x *UserSquashRequest) GetEndSha() string
func (*UserSquashRequest) GetRepository ¶
func (x *UserSquashRequest) GetRepository() *Repository
func (*UserSquashRequest) GetStartSha ¶
func (x *UserSquashRequest) GetStartSha() string
func (*UserSquashRequest) GetTimestamp ¶
func (x *UserSquashRequest) GetTimestamp() *timestamppb.Timestamp
func (*UserSquashRequest) GetUser ¶
func (x *UserSquashRequest) GetUser() *User
func (*UserSquashRequest) ProtoMessage ¶
func (*UserSquashRequest) ProtoMessage()
func (*UserSquashRequest) ProtoReflect ¶
func (x *UserSquashRequest) ProtoReflect() protoreflect.Message
func (*UserSquashRequest) Reset ¶
func (x *UserSquashRequest) Reset()
func (*UserSquashRequest) String ¶
func (x *UserSquashRequest) String() string
type UserSquashResponse ¶
type UserSquashResponse struct { // squash_sha is the object ID of the squashed commit. SquashSha string `protobuf:"bytes,1,opt,name=squash_sha,json=squashSha,proto3" json:"squash_sha,omitempty"` // contains filtered or unexported fields }
UserSquashResponse ...
func (*UserSquashResponse) Descriptor
deprecated
func (*UserSquashResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserSquashResponse.ProtoReflect.Descriptor instead.
func (*UserSquashResponse) GetSquashSha ¶
func (x *UserSquashResponse) GetSquashSha() string
func (*UserSquashResponse) ProtoMessage ¶
func (*UserSquashResponse) ProtoMessage()
func (*UserSquashResponse) ProtoReflect ¶
func (x *UserSquashResponse) ProtoReflect() protoreflect.Message
func (*UserSquashResponse) Reset ¶
func (x *UserSquashResponse) Reset()
func (*UserSquashResponse) String ¶
func (x *UserSquashResponse) String() string
type UserUpdateBranchRequest ¶
type UserUpdateBranchRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // branch_name ... BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` // user ... User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` // newrev ... Newrev []byte `protobuf:"bytes,4,opt,name=newrev,proto3" json:"newrev,omitempty"` // oldrev ... Oldrev []byte `protobuf:"bytes,5,opt,name=oldrev,proto3" json:"oldrev,omitempty"` // contains filtered or unexported fields }
UserUpdateBranchRequest ...
func (*UserUpdateBranchRequest) Descriptor
deprecated
func (*UserUpdateBranchRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserUpdateBranchRequest.ProtoReflect.Descriptor instead.
func (*UserUpdateBranchRequest) GetBranchName ¶
func (x *UserUpdateBranchRequest) GetBranchName() []byte
func (*UserUpdateBranchRequest) GetNewrev ¶
func (x *UserUpdateBranchRequest) GetNewrev() []byte
func (*UserUpdateBranchRequest) GetOldrev ¶
func (x *UserUpdateBranchRequest) GetOldrev() []byte
func (*UserUpdateBranchRequest) GetRepository ¶
func (x *UserUpdateBranchRequest) GetRepository() *Repository
func (*UserUpdateBranchRequest) GetUser ¶
func (x *UserUpdateBranchRequest) GetUser() *User
func (*UserUpdateBranchRequest) ProtoMessage ¶
func (*UserUpdateBranchRequest) ProtoMessage()
func (*UserUpdateBranchRequest) ProtoReflect ¶
func (x *UserUpdateBranchRequest) ProtoReflect() protoreflect.Message
func (*UserUpdateBranchRequest) Reset ¶
func (x *UserUpdateBranchRequest) Reset()
func (*UserUpdateBranchRequest) String ¶
func (x *UserUpdateBranchRequest) String() string
type UserUpdateBranchResponse ¶
type UserUpdateBranchResponse struct { // pre_receive_error ... PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` // contains filtered or unexported fields }
UserUpdateBranchResponse ...
func (*UserUpdateBranchResponse) Descriptor
deprecated
func (*UserUpdateBranchResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserUpdateBranchResponse.ProtoReflect.Descriptor instead.
func (*UserUpdateBranchResponse) GetPreReceiveError ¶
func (x *UserUpdateBranchResponse) GetPreReceiveError() string
func (*UserUpdateBranchResponse) ProtoMessage ¶
func (*UserUpdateBranchResponse) ProtoMessage()
func (*UserUpdateBranchResponse) ProtoReflect ¶
func (x *UserUpdateBranchResponse) ProtoReflect() protoreflect.Message
func (*UserUpdateBranchResponse) Reset ¶
func (x *UserUpdateBranchResponse) Reset()
func (*UserUpdateBranchResponse) String ¶
func (x *UserUpdateBranchResponse) String() string
type UserUpdateSubmoduleRequest ¶
type UserUpdateSubmoduleRequest struct { // repository is the repository in which the submodule shall be updated. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // user is used both for authorization and as author/committer of the // resulting commit. User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // commit_sha is the object ID the submodule shall be updated to. CommitSha string `protobuf:"bytes,3,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"` // branch is the branch which shall be updated. This is the unqualified name // of the branch, it must not have a "refs/heads/" prefix. Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` // submodule is the path to the submodule which shall be updated. Submodule []byte `protobuf:"bytes,5,opt,name=submodule,proto3" json:"submodule,omitempty"` // commit_message is the message updating the submodule. CommitMessage []byte `protobuf:"bytes,6,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` // timestamp is the optional timestamp to use for the commit updating the // submodule as committer date. If it's not set, the current time will be // used. Timestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // expected_old_oid is the object ID which branch is expected to point to. // This is used as a safety guard to avoid races when branch has been // updated meanwhile to point to a different object ID. // // If unset, the target branch will be overwritten regardless of its current // state. If set, it must either contain a valid, full object ID or the // zero object ID in case the branch should be created. Otherwise, this RPC // will return an error. ExpectedOldOid string `protobuf:"bytes,8,opt,name=expected_old_oid,json=expectedOldOid,proto3" json:"expected_old_oid,omitempty"` // contains filtered or unexported fields }
UserUpdateSubmoduleRequest ...
func (*UserUpdateSubmoduleRequest) Descriptor
deprecated
func (*UserUpdateSubmoduleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserUpdateSubmoduleRequest.ProtoReflect.Descriptor instead.
func (*UserUpdateSubmoduleRequest) GetBranch ¶
func (x *UserUpdateSubmoduleRequest) GetBranch() []byte
func (*UserUpdateSubmoduleRequest) GetCommitMessage ¶
func (x *UserUpdateSubmoduleRequest) GetCommitMessage() []byte
func (*UserUpdateSubmoduleRequest) GetCommitSha ¶
func (x *UserUpdateSubmoduleRequest) GetCommitSha() string
func (*UserUpdateSubmoduleRequest) GetExpectedOldOid ¶
func (x *UserUpdateSubmoduleRequest) GetExpectedOldOid() string
func (*UserUpdateSubmoduleRequest) GetRepository ¶
func (x *UserUpdateSubmoduleRequest) GetRepository() *Repository
func (*UserUpdateSubmoduleRequest) GetSubmodule ¶
func (x *UserUpdateSubmoduleRequest) GetSubmodule() []byte
func (*UserUpdateSubmoduleRequest) GetTimestamp ¶
func (x *UserUpdateSubmoduleRequest) GetTimestamp() *timestamppb.Timestamp
func (*UserUpdateSubmoduleRequest) GetUser ¶
func (x *UserUpdateSubmoduleRequest) GetUser() *User
func (*UserUpdateSubmoduleRequest) ProtoMessage ¶
func (*UserUpdateSubmoduleRequest) ProtoMessage()
func (*UserUpdateSubmoduleRequest) ProtoReflect ¶
func (x *UserUpdateSubmoduleRequest) ProtoReflect() protoreflect.Message
func (*UserUpdateSubmoduleRequest) Reset ¶
func (x *UserUpdateSubmoduleRequest) Reset()
func (*UserUpdateSubmoduleRequest) String ¶
func (x *UserUpdateSubmoduleRequest) String() string
type UserUpdateSubmoduleResponse ¶
type UserUpdateSubmoduleResponse struct { // branch_update contains information about the updated branch. BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` // pre_receive_error contains an error message if the pre-receive hook // rejects the update. PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` // commit_error contains an error message if committing the update fails. CommitError string `protobuf:"bytes,4,opt,name=commit_error,json=commitError,proto3" json:"commit_error,omitempty"` // contains filtered or unexported fields }
UserUpdateSubmoduleResponse ...
func (*UserUpdateSubmoduleResponse) Descriptor
deprecated
func (*UserUpdateSubmoduleResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserUpdateSubmoduleResponse.ProtoReflect.Descriptor instead.
func (*UserUpdateSubmoduleResponse) GetBranchUpdate ¶
func (x *UserUpdateSubmoduleResponse) GetBranchUpdate() *OperationBranchUpdate
func (*UserUpdateSubmoduleResponse) GetCommitError ¶
func (x *UserUpdateSubmoduleResponse) GetCommitError() string
func (*UserUpdateSubmoduleResponse) GetPreReceiveError ¶
func (x *UserUpdateSubmoduleResponse) GetPreReceiveError() string
func (*UserUpdateSubmoduleResponse) ProtoMessage ¶
func (*UserUpdateSubmoduleResponse) ProtoMessage()
func (*UserUpdateSubmoduleResponse) ProtoReflect ¶
func (x *UserUpdateSubmoduleResponse) ProtoReflect() protoreflect.Message
func (*UserUpdateSubmoduleResponse) Reset ¶
func (x *UserUpdateSubmoduleResponse) Reset()
func (*UserUpdateSubmoduleResponse) String ¶
func (x *UserUpdateSubmoduleResponse) String() string
type VoteTransactionRequest ¶
type VoteTransactionRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // transaction_id is the ID of the transaction we're processing. TransactionId uint64 `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // node is the name of the Gitaly node that's voting on a transaction. Node string `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"` // reference_updates_hash is the SHA1 of the references that are to be updated. ReferenceUpdatesHash []byte `protobuf:"bytes,4,opt,name=reference_updates_hash,json=referenceUpdatesHash,proto3" json:"reference_updates_hash,omitempty"` // phase is the voting phase. Phase VoteTransactionRequest_Phase `protobuf:"varint,5,opt,name=phase,proto3,enum=gitaly.VoteTransactionRequest_Phase" json:"phase,omitempty"` // contains filtered or unexported fields }
VoteTransactionRequest ...
func (*VoteTransactionRequest) Descriptor
deprecated
func (*VoteTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use VoteTransactionRequest.ProtoReflect.Descriptor instead.
func (*VoteTransactionRequest) GetNode ¶
func (x *VoteTransactionRequest) GetNode() string
func (*VoteTransactionRequest) GetPhase ¶
func (x *VoteTransactionRequest) GetPhase() VoteTransactionRequest_Phase
func (*VoteTransactionRequest) GetReferenceUpdatesHash ¶
func (x *VoteTransactionRequest) GetReferenceUpdatesHash() []byte
func (*VoteTransactionRequest) GetRepository ¶
func (x *VoteTransactionRequest) GetRepository() *Repository
func (*VoteTransactionRequest) GetTransactionId ¶
func (x *VoteTransactionRequest) GetTransactionId() uint64
func (*VoteTransactionRequest) ProtoMessage ¶
func (*VoteTransactionRequest) ProtoMessage()
func (*VoteTransactionRequest) ProtoReflect ¶
func (x *VoteTransactionRequest) ProtoReflect() protoreflect.Message
func (*VoteTransactionRequest) Reset ¶
func (x *VoteTransactionRequest) Reset()
func (*VoteTransactionRequest) String ¶
func (x *VoteTransactionRequest) String() string
type VoteTransactionRequest_Phase ¶
type VoteTransactionRequest_Phase int32
Phase ...
const ( // UNKNOWN_PHASE is the unknown voting phase. This value has been the // default because phases have been introduced. Eventually, using this // phase will become unsupported. VoteTransactionRequest_UNKNOWN_PHASE VoteTransactionRequest_Phase = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // PREPARED_PHASE is the prepratory phase. The data that is about to change // is locked for concurrent modification, but changes have not yet been // written to disk. VoteTransactionRequest_PREPARED_PHASE VoteTransactionRequest_Phase = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // COMMITTED_PHASE is the committing phase. Data has been committed to disk // and will be visible in all subsequent requests. VoteTransactionRequest_COMMITTED_PHASE VoteTransactionRequest_Phase = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // SYNCHRONIZED_PHASE is the synchronizing phase. This is used to synchronize nodes with each other on a // specific event. VoteTransactionRequest_SYNCHRONIZED_PHASE VoteTransactionRequest_Phase = 3 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (VoteTransactionRequest_Phase) Descriptor ¶
func (VoteTransactionRequest_Phase) Descriptor() protoreflect.EnumDescriptor
func (VoteTransactionRequest_Phase) Enum ¶
func (x VoteTransactionRequest_Phase) Enum() *VoteTransactionRequest_Phase
func (VoteTransactionRequest_Phase) EnumDescriptor
deprecated
func (VoteTransactionRequest_Phase) EnumDescriptor() ([]byte, []int)
Deprecated: Use VoteTransactionRequest_Phase.Descriptor instead.
func (VoteTransactionRequest_Phase) Number ¶
func (x VoteTransactionRequest_Phase) Number() protoreflect.EnumNumber
func (VoteTransactionRequest_Phase) String ¶
func (x VoteTransactionRequest_Phase) String() string
func (VoteTransactionRequest_Phase) Type ¶
func (VoteTransactionRequest_Phase) Type() protoreflect.EnumType
type VoteTransactionResponse ¶
type VoteTransactionResponse struct { // state ... State VoteTransactionResponse_TransactionState `protobuf:"varint,1,opt,name=state,proto3,enum=gitaly.VoteTransactionResponse_TransactionState" json:"state,omitempty"` // contains filtered or unexported fields }
VoteTransactionResponse ...
func (*VoteTransactionResponse) Descriptor
deprecated
func (*VoteTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VoteTransactionResponse.ProtoReflect.Descriptor instead.
func (*VoteTransactionResponse) GetState ¶
func (x *VoteTransactionResponse) GetState() VoteTransactionResponse_TransactionState
func (*VoteTransactionResponse) ProtoMessage ¶
func (*VoteTransactionResponse) ProtoMessage()
func (*VoteTransactionResponse) ProtoReflect ¶
func (x *VoteTransactionResponse) ProtoReflect() protoreflect.Message
func (*VoteTransactionResponse) Reset ¶
func (x *VoteTransactionResponse) Reset()
func (*VoteTransactionResponse) String ¶
func (x *VoteTransactionResponse) String() string
type VoteTransactionResponse_TransactionState ¶
type VoteTransactionResponse_TransactionState int32
TransactionState is the outcome of the given transaction telling the client whether the transaction should be committed or rolled back.
const ( // COMMIT ... VoteTransactionResponse_COMMIT VoteTransactionResponse_TransactionState = 0 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX ENUM_FIELD_NAMES_ZERO_VALUE_END_WITH // ABORT ... VoteTransactionResponse_ABORT VoteTransactionResponse_TransactionState = 1 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX // STOP ... VoteTransactionResponse_STOP VoteTransactionResponse_TransactionState = 2 // protolint:disable:this ENUM_FIELD_NAMES_PREFIX )
func (VoteTransactionResponse_TransactionState) Descriptor ¶
func (VoteTransactionResponse_TransactionState) Descriptor() protoreflect.EnumDescriptor
func (VoteTransactionResponse_TransactionState) EnumDescriptor
deprecated
func (VoteTransactionResponse_TransactionState) EnumDescriptor() ([]byte, []int)
Deprecated: Use VoteTransactionResponse_TransactionState.Descriptor instead.
func (VoteTransactionResponse_TransactionState) Number ¶
func (x VoteTransactionResponse_TransactionState) Number() protoreflect.EnumNumber
func (VoteTransactionResponse_TransactionState) String ¶
func (x VoteTransactionResponse_TransactionState) String() string
func (VoteTransactionResponse_TransactionState) Type ¶
func (VoteTransactionResponse_TransactionState) Type() protoreflect.EnumType
type WalkReposRequest ¶
type WalkReposRequest struct { // storage_name ... StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` // contains filtered or unexported fields }
WalkReposRequest ...
func (*WalkReposRequest) Descriptor
deprecated
func (*WalkReposRequest) Descriptor() ([]byte, []int)
Deprecated: Use WalkReposRequest.ProtoReflect.Descriptor instead.
func (*WalkReposRequest) GetStorageName ¶
func (x *WalkReposRequest) GetStorageName() string
func (*WalkReposRequest) ProtoMessage ¶
func (*WalkReposRequest) ProtoMessage()
func (*WalkReposRequest) ProtoReflect ¶
func (x *WalkReposRequest) ProtoReflect() protoreflect.Message
func (*WalkReposRequest) Reset ¶
func (x *WalkReposRequest) Reset()
func (*WalkReposRequest) String ¶
func (x *WalkReposRequest) String() string
type WalkReposResponse ¶
type WalkReposResponse struct { // relative_path ... RelativePath string `protobuf:"bytes,1,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // modification_time is the modification time of the repository directory. // This can be used as a proxy for when the repository was last // modified. ModificationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=modification_time,json=modificationTime,proto3" json:"modification_time,omitempty"` // contains filtered or unexported fields }
WalkReposResponse ...
func (*WalkReposResponse) Descriptor
deprecated
func (*WalkReposResponse) Descriptor() ([]byte, []int)
Deprecated: Use WalkReposResponse.ProtoReflect.Descriptor instead.
func (*WalkReposResponse) GetModificationTime ¶
func (x *WalkReposResponse) GetModificationTime() *timestamppb.Timestamp
func (*WalkReposResponse) GetRelativePath ¶
func (x *WalkReposResponse) GetRelativePath() string
func (*WalkReposResponse) ProtoMessage ¶
func (*WalkReposResponse) ProtoMessage()
func (*WalkReposResponse) ProtoReflect ¶
func (x *WalkReposResponse) ProtoReflect() protoreflect.Message
func (*WalkReposResponse) Reset ¶
func (x *WalkReposResponse) Reset()
func (*WalkReposResponse) String ¶
func (x *WalkReposResponse) String() string
type WriteRefRequest ¶
type WriteRefRequest struct { // repository ... Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // ref ... Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // revision ... Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` // old_revision ... OldRevision []byte `protobuf:"bytes,4,opt,name=old_revision,json=oldRevision,proto3" json:"old_revision,omitempty"` // force ... Force bool `protobuf:"varint,5,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
WriteRefRequest ...
func (*WriteRefRequest) Descriptor
deprecated
func (*WriteRefRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteRefRequest.ProtoReflect.Descriptor instead.
func (*WriteRefRequest) GetForce ¶
func (x *WriteRefRequest) GetForce() bool
func (*WriteRefRequest) GetOldRevision ¶
func (x *WriteRefRequest) GetOldRevision() []byte
func (*WriteRefRequest) GetRef ¶
func (x *WriteRefRequest) GetRef() []byte
func (*WriteRefRequest) GetRepository ¶
func (x *WriteRefRequest) GetRepository() *Repository
func (*WriteRefRequest) GetRevision ¶
func (x *WriteRefRequest) GetRevision() []byte
func (*WriteRefRequest) ProtoMessage ¶
func (*WriteRefRequest) ProtoMessage()
func (*WriteRefRequest) ProtoReflect ¶
func (x *WriteRefRequest) ProtoReflect() protoreflect.Message
func (*WriteRefRequest) Reset ¶
func (x *WriteRefRequest) Reset()
func (*WriteRefRequest) String ¶
func (x *WriteRefRequest) String() string
type WriteRefResponse ¶
type WriteRefResponse struct {
// contains filtered or unexported fields
}
WriteRefResponse ...
func (*WriteRefResponse) Descriptor
deprecated
func (*WriteRefResponse) Descriptor() ([]byte, []int)
Deprecated: Use WriteRefResponse.ProtoReflect.Descriptor instead.
func (*WriteRefResponse) ProtoMessage ¶
func (*WriteRefResponse) ProtoMessage()
func (*WriteRefResponse) ProtoReflect ¶
func (x *WriteRefResponse) ProtoReflect() protoreflect.Message
func (*WriteRefResponse) Reset ¶
func (x *WriteRefResponse) Reset()
func (*WriteRefResponse) String ¶
func (x *WriteRefResponse) String() string
Source Files ¶
- blob.pb.go
- blob_grpc.pb.go
- cleanup.pb.go
- cleanup_grpc.pb.go
- commit.pb.go
- commit_grpc.pb.go
- conflicts.pb.go
- conflicts_grpc.pb.go
- diff.pb.go
- diff_grpc.pb.go
- errors.pb.go
- hook.pb.go
- hook_grpc.pb.go
- internal.pb.go
- internal_grpc.pb.go
- lint.pb.go
- log.pb.go
- namespace.pb.go
- namespace_grpc.pb.go
- objectpool.pb.go
- objectpool_grpc.pb.go
- operations.pb.go
- operations_grpc.pb.go
- packfile.pb.go
- praefect.pb.go
- praefect_grpc.pb.go
- protolist.go
- ref.pb.go
- ref_grpc.pb.go
- remote.pb.go
- remote_grpc.pb.go
- repository.pb.go
- repository_grpc.pb.go
- server.pb.go
- server_grpc.pb.go
- service_config.pb.go
- shared.pb.go
- smarthttp.pb.go
- smarthttp_grpc.pb.go
- ssh.pb.go
- ssh_grpc.pb.go
- transaction.pb.go
- transaction_grpc.pb.go