4261 lines
128 KiB
Go
4261 lines
128 KiB
Go
// This is a faithful translation of the hand-written JSON-RPC method set in
|
|
// handlers.go (registerRepoMethods + registerWriteMethods) plus the gitcmd
|
|
// result types those handlers return verbatim. Every rpc below maps 1:1 to a
|
|
// "repo.<name>" JSON-RPC method (noted in each comment); every message field
|
|
// keeps the snake_case name of the corresponding Go struct json tag so the
|
|
// wire shape matches what gitrpc serializes today.
|
|
//
|
|
// The server is path-driven and stateless: every method takes the repository
|
|
// NAME (owner/name.git) in `repo`; the server resolves it to an on-disk path
|
|
// and has already authorized the call before the handler runs. Auth/ACL and
|
|
// name->path resolution live in the caller (simpleconsole), not here.
|
|
//
|
|
// Generate Go + TS with protoc-gen-es (TS) / protoc-gen-go + protoc-gen-connect-go:
|
|
// protoc -I . --go_out=. --go_opt=paths=source_relative \
|
|
// --connect_go_out=. --connect_go_opt=paths=source_relative \
|
|
// --es_out=./gen --es_opt=target=ts \
|
|
// --plugin=protoc-gen-es=./node_modules/.bin/protoc-gen-es \
|
|
// gitrpc.proto
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v7.35.0
|
|
// source: gitrpc/gitrpc.proto
|
|
|
|
package v1
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// repoParams: the repository name (owner/name.git). JSON key is "repo" so it
|
|
// never collides with the in-repo file "path" param several methods also carry.
|
|
type RepoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RepoRequest) Reset() {
|
|
*x = RepoRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RepoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RepoRequest) ProtoMessage() {}
|
|
|
|
func (x *RepoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RepoRequest.ProtoReflect.Descriptor instead.
|
|
func (*RepoRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *RepoRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListCommitsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // "" -> HEAD (server-side default)
|
|
Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListCommitsRequest) Reset() {
|
|
*x = ListCommitsRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListCommitsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListCommitsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListCommitsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListCommitsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListCommitsRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ListCommitsRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListCommitsRequest) GetRef() string {
|
|
if x != nil {
|
|
return x.Ref
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListCommitsRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListCommitsByPathRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
|
|
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
|
|
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListCommitsByPathRequest) Reset() {
|
|
*x = ListCommitsByPathRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListCommitsByPathRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListCommitsByPathRequest) ProtoMessage() {}
|
|
|
|
func (x *ListCommitsByPathRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListCommitsByPathRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListCommitsByPathRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ListCommitsByPathRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListCommitsByPathRequest) GetRef() string {
|
|
if x != nil {
|
|
return x.Ref
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListCommitsByPathRequest) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListCommitsByPathRequest) GetLimit() int32 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetCommitRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCommitRequest) Reset() {
|
|
*x = GetCommitRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCommitRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCommitRequest) ProtoMessage() {}
|
|
|
|
func (x *GetCommitRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetCommitRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetCommitRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GetCommitRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCommitRequest) GetSha() string {
|
|
if x != nil {
|
|
return x.Sha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetCommitDiffRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetCommitDiffRequest) Reset() {
|
|
*x = GetCommitDiffRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetCommitDiffRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetCommitDiffRequest) ProtoMessage() {}
|
|
|
|
func (x *GetCommitDiffRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetCommitDiffRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetCommitDiffRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *GetCommitDiffRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetCommitDiffRequest) GetSha() string {
|
|
if x != nil {
|
|
return x.Sha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetTreeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
|
|
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // "" for repo root
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetTreeRequest) Reset() {
|
|
*x = GetTreeRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetTreeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTreeRequest) ProtoMessage() {}
|
|
|
|
func (x *GetTreeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetTreeRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetTreeRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GetTreeRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetTreeRequest) GetRef() string {
|
|
if x != nil {
|
|
return x.Ref
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetTreeRequest) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetBlobRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
|
|
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetBlobRequest) Reset() {
|
|
*x = GetBlobRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetBlobRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBlobRequest) ProtoMessage() {}
|
|
|
|
func (x *GetBlobRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetBlobRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetBlobRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GetBlobRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetBlobRequest) GetRef() string {
|
|
if x != nil {
|
|
return x.Ref
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetBlobRequest) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CompareRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Base string `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` // "" -> HEAD
|
|
Head string `protobuf:"bytes,3,opt,name=head,proto3" json:"head,omitempty"` // "" -> HEAD
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CompareRequest) Reset() {
|
|
*x = CompareRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CompareRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CompareRequest) ProtoMessage() {}
|
|
|
|
func (x *CompareRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CompareRequest.ProtoReflect.Descriptor instead.
|
|
func (*CompareRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *CompareRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CompareRequest) GetBase() string {
|
|
if x != nil {
|
|
return x.Base
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CompareRequest) GetHead() string {
|
|
if x != nil {
|
|
return x.Head
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BlameRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
|
|
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BlameRequest) Reset() {
|
|
*x = BlameRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BlameRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BlameRequest) ProtoMessage() {}
|
|
|
|
func (x *BlameRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BlameRequest.ProtoReflect.Descriptor instead.
|
|
func (*BlameRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *BlameRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlameRequest) GetRef() string {
|
|
if x != nil {
|
|
return x.Ref
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlameRequest) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetContributorsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // "" -> default branch
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetContributorsRequest) Reset() {
|
|
*x = GetContributorsRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetContributorsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetContributorsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetContributorsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetContributorsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetContributorsRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *GetContributorsRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetContributorsRequest) GetRef() string {
|
|
if x != nil {
|
|
return x.Ref
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateFileRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
|
|
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
|
|
Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
|
|
Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
|
|
AuthorName string `protobuf:"bytes,6,opt,name=author_name,json=authorName,proto3" json:"author_name,omitempty"`
|
|
AuthorEmail string `protobuf:"bytes,7,opt,name=author_email,json=authorEmail,proto3" json:"author_email,omitempty"`
|
|
ExpectedSha string `protobuf:"bytes,8,opt,name=expected_sha,json=expectedSha,proto3" json:"expected_sha,omitempty"` // atomic ref update against this branch tip
|
|
Strategy string `protobuf:"bytes,9,opt,name=strategy,proto3" json:"strategy,omitempty"` // "" / "plumbing" / "temprepo"
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateFileRequest) Reset() {
|
|
*x = CreateFileRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateFileRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateFileRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateFileRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateFileRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateFileRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *CreateFileRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateFileRequest) GetBranch() string {
|
|
if x != nil {
|
|
return x.Branch
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateFileRequest) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateFileRequest) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateFileRequest) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateFileRequest) GetAuthorName() string {
|
|
if x != nil {
|
|
return x.AuthorName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateFileRequest) GetAuthorEmail() string {
|
|
if x != nil {
|
|
return x.AuthorEmail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateFileRequest) GetExpectedSha() string {
|
|
if x != nil {
|
|
return x.ExpectedSha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateFileRequest) GetStrategy() string {
|
|
if x != nil {
|
|
return x.Strategy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteFileRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"`
|
|
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
|
|
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
|
|
AuthorName string `protobuf:"bytes,5,opt,name=author_name,json=authorName,proto3" json:"author_name,omitempty"`
|
|
AuthorEmail string `protobuf:"bytes,6,opt,name=author_email,json=authorEmail,proto3" json:"author_email,omitempty"`
|
|
ExpectedSha string `protobuf:"bytes,7,opt,name=expected_sha,json=expectedSha,proto3" json:"expected_sha,omitempty"`
|
|
Strategy string `protobuf:"bytes,8,opt,name=strategy,proto3" json:"strategy,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteFileRequest) Reset() {
|
|
*x = DeleteFileRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteFileRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteFileRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteFileRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteFileRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteFileRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *DeleteFileRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteFileRequest) GetBranch() string {
|
|
if x != nil {
|
|
return x.Branch
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteFileRequest) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteFileRequest) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteFileRequest) GetAuthorName() string {
|
|
if x != nil {
|
|
return x.AuthorName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteFileRequest) GetAuthorEmail() string {
|
|
if x != nil {
|
|
return x.AuthorEmail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteFileRequest) GetExpectedSha() string {
|
|
if x != nil {
|
|
return x.ExpectedSha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteFileRequest) GetStrategy() string {
|
|
if x != nil {
|
|
return x.Strategy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MergeRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
|
|
Base string `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"`
|
|
Head string `protobuf:"bytes,3,opt,name=head,proto3" json:"head,omitempty"`
|
|
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
|
|
AuthorName string `protobuf:"bytes,5,opt,name=author_name,json=authorName,proto3" json:"author_name,omitempty"`
|
|
AuthorEmail string `protobuf:"bytes,6,opt,name=author_email,json=authorEmail,proto3" json:"author_email,omitempty"`
|
|
NoFf bool `protobuf:"varint,7,opt,name=no_ff,json=noFf,proto3" json:"no_ff,omitempty"`
|
|
Strategy string `protobuf:"bytes,8,opt,name=strategy,proto3" json:"strategy,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MergeRequest) Reset() {
|
|
*x = MergeRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MergeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MergeRequest) ProtoMessage() {}
|
|
|
|
func (x *MergeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MergeRequest.ProtoReflect.Descriptor instead.
|
|
func (*MergeRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *MergeRequest) GetRepo() string {
|
|
if x != nil {
|
|
return x.Repo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MergeRequest) GetBase() string {
|
|
if x != nil {
|
|
return x.Base
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MergeRequest) GetHead() string {
|
|
if x != nil {
|
|
return x.Head
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MergeRequest) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MergeRequest) GetAuthorName() string {
|
|
if x != nil {
|
|
return x.AuthorName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MergeRequest) GetAuthorEmail() string {
|
|
if x != nil {
|
|
return x.AuthorEmail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MergeRequest) GetNoFf() bool {
|
|
if x != nil {
|
|
return x.NoFf
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *MergeRequest) GetStrategy() string {
|
|
if x != nil {
|
|
return x.Strategy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateNSRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ns string `protobuf:"bytes,1,opt,name=ns,proto3" json:"ns,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateNSRequest) Reset() {
|
|
*x = CreateNSRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateNSRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateNSRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateNSRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateNSRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateNSRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *CreateNSRequest) GetNs() string {
|
|
if x != nil {
|
|
return x.Ns
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteNSRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ns string `protobuf:"bytes,1,opt,name=ns,proto3" json:"ns,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteNSRequest) Reset() {
|
|
*x = DeleteNSRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteNSRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteNSRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteNSRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteNSRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteNSRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *DeleteNSRequest) GetNs() string {
|
|
if x != nil {
|
|
return x.Ns
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpsertRepoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ns string `protobuf:"bytes,1,opt,name=ns,proto3" json:"ns,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
// is_private seeds the repo's privacy flag in simplegit's state DB. simplegit
|
|
// enforces it at the git-transport layer: a private repo denies read (clone)
|
|
// to anyone without an ACL grant, so the console's isPrivate must be
|
|
// propagated here (it can't be enforced console-side - simplegit is the git
|
|
// kernel that owns the bare repo + its access checks).
|
|
IsPrivate bool `protobuf:"varint,3,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpsertRepoRequest) Reset() {
|
|
*x = UpsertRepoRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpsertRepoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpsertRepoRequest) ProtoMessage() {}
|
|
|
|
func (x *UpsertRepoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpsertRepoRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpsertRepoRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *UpsertRepoRequest) GetNs() string {
|
|
if x != nil {
|
|
return x.Ns
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpsertRepoRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpsertRepoRequest) GetIsPrivate() bool {
|
|
if x != nil {
|
|
return x.IsPrivate
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ExistRepoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ns string `protobuf:"bytes,1,opt,name=ns,proto3" json:"ns,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ExistRepoRequest) Reset() {
|
|
*x = ExistRepoRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ExistRepoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ExistRepoRequest) ProtoMessage() {}
|
|
|
|
func (x *ExistRepoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ExistRepoRequest.ProtoReflect.Descriptor instead.
|
|
func (*ExistRepoRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *ExistRepoRequest) GetNs() string {
|
|
if x != nil {
|
|
return x.Ns
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ExistRepoRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteRepoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ns string `protobuf:"bytes,1,opt,name=ns,proto3" json:"ns,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteRepoRequest) Reset() {
|
|
*x = DeleteRepoRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteRepoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteRepoRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteRepoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteRepoRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteRepoRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *DeleteRepoRequest) GetNs() string {
|
|
if x != nil {
|
|
return x.Ns
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteRepoRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MoveRepoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Src string `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"` // old ns/name
|
|
Dst string `protobuf:"bytes,2,opt,name=dst,proto3" json:"dst,omitempty"` // new ns/name
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MoveRepoRequest) Reset() {
|
|
*x = MoveRepoRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MoveRepoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MoveRepoRequest) ProtoMessage() {}
|
|
|
|
func (x *MoveRepoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MoveRepoRequest.ProtoReflect.Descriptor instead.
|
|
func (*MoveRepoRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *MoveRepoRequest) GetSrc() string {
|
|
if x != nil {
|
|
return x.Src
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MoveRepoRequest) GetDst() string {
|
|
if x != nil {
|
|
return x.Dst
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MoveNSRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Src string `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"` // old namespace
|
|
Dst string `protobuf:"bytes,2,opt,name=dst,proto3" json:"dst,omitempty"` // new namespace
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MoveNSRequest) Reset() {
|
|
*x = MoveNSRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MoveNSRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MoveNSRequest) ProtoMessage() {}
|
|
|
|
func (x *MoveNSRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MoveNSRequest.ProtoReflect.Descriptor instead.
|
|
func (*MoveNSRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *MoveNSRequest) GetSrc() string {
|
|
if x != nil {
|
|
return x.Src
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MoveNSRequest) GetDst() string {
|
|
if x != nil {
|
|
return x.Dst
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserPasswordUpsertRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ns string `protobuf:"bytes,1,opt,name=ns,proto3" json:"ns,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserPasswordUpsertRequest) Reset() {
|
|
*x = UserPasswordUpsertRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserPasswordUpsertRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserPasswordUpsertRequest) ProtoMessage() {}
|
|
|
|
func (x *UserPasswordUpsertRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserPasswordUpsertRequest.ProtoReflect.Descriptor instead.
|
|
func (*UserPasswordUpsertRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *UserPasswordUpsertRequest) GetNs() string {
|
|
if x != nil {
|
|
return x.Ns
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UserPasswordUpsertRequest) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserDeleteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ns string `protobuf:"bytes,1,opt,name=ns,proto3" json:"ns,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UserDeleteRequest) Reset() {
|
|
*x = UserDeleteRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UserDeleteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserDeleteRequest) ProtoMessage() {}
|
|
|
|
func (x *UserDeleteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserDeleteRequest.ProtoReflect.Descriptor instead.
|
|
func (*UserDeleteRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *UserDeleteRequest) GetNs() string {
|
|
if x != nil {
|
|
return x.Ns
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ACLUpsertSSHKeyOnNSRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ns string `protobuf:"bytes,1,opt,name=ns,proto3" json:"ns,omitempty"`
|
|
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // authorized-keys text
|
|
Perm string `protobuf:"bytes,3,opt,name=perm,proto3" json:"perm,omitempty"` // read | write | admin
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ACLUpsertSSHKeyOnNSRequest) Reset() {
|
|
*x = ACLUpsertSSHKeyOnNSRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ACLUpsertSSHKeyOnNSRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ACLUpsertSSHKeyOnNSRequest) ProtoMessage() {}
|
|
|
|
func (x *ACLUpsertSSHKeyOnNSRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ACLUpsertSSHKeyOnNSRequest.ProtoReflect.Descriptor instead.
|
|
func (*ACLUpsertSSHKeyOnNSRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *ACLUpsertSSHKeyOnNSRequest) GetNs() string {
|
|
if x != nil {
|
|
return x.Ns
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACLUpsertSSHKeyOnNSRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACLUpsertSSHKeyOnNSRequest) GetPerm() string {
|
|
if x != nil {
|
|
return x.Perm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ACLUpsertPATOnNSRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ns string `protobuf:"bytes,1,opt,name=ns,proto3" json:"ns,omitempty"`
|
|
Pat string `protobuf:"bytes,2,opt,name=pat,proto3" json:"pat,omitempty"` // plaintext PAT
|
|
Perm string `protobuf:"bytes,3,opt,name=perm,proto3" json:"perm,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ACLUpsertPATOnNSRequest) Reset() {
|
|
*x = ACLUpsertPATOnNSRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ACLUpsertPATOnNSRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ACLUpsertPATOnNSRequest) ProtoMessage() {}
|
|
|
|
func (x *ACLUpsertPATOnNSRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ACLUpsertPATOnNSRequest.ProtoReflect.Descriptor instead.
|
|
func (*ACLUpsertPATOnNSRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *ACLUpsertPATOnNSRequest) GetNs() string {
|
|
if x != nil {
|
|
return x.Ns
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACLUpsertPATOnNSRequest) GetPat() string {
|
|
if x != nil {
|
|
return x.Pat
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACLUpsertPATOnNSRequest) GetPerm() string {
|
|
if x != nil {
|
|
return x.Perm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ACLUpsertSSHKeyOnRepoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Reponame string `protobuf:"bytes,1,opt,name=reponame,proto3" json:"reponame,omitempty"` // ns/name
|
|
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
|
|
Perm string `protobuf:"bytes,3,opt,name=perm,proto3" json:"perm,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ACLUpsertSSHKeyOnRepoRequest) Reset() {
|
|
*x = ACLUpsertSSHKeyOnRepoRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ACLUpsertSSHKeyOnRepoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ACLUpsertSSHKeyOnRepoRequest) ProtoMessage() {}
|
|
|
|
func (x *ACLUpsertSSHKeyOnRepoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ACLUpsertSSHKeyOnRepoRequest.ProtoReflect.Descriptor instead.
|
|
func (*ACLUpsertSSHKeyOnRepoRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *ACLUpsertSSHKeyOnRepoRequest) GetReponame() string {
|
|
if x != nil {
|
|
return x.Reponame
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACLUpsertSSHKeyOnRepoRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACLUpsertSSHKeyOnRepoRequest) GetPerm() string {
|
|
if x != nil {
|
|
return x.Perm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ACLUpsertPATOnRepoRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Reponame string `protobuf:"bytes,1,opt,name=reponame,proto3" json:"reponame,omitempty"`
|
|
Pat string `protobuf:"bytes,2,opt,name=pat,proto3" json:"pat,omitempty"`
|
|
Perm string `protobuf:"bytes,3,opt,name=perm,proto3" json:"perm,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ACLUpsertPATOnRepoRequest) Reset() {
|
|
*x = ACLUpsertPATOnRepoRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ACLUpsertPATOnRepoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ACLUpsertPATOnRepoRequest) ProtoMessage() {}
|
|
|
|
func (x *ACLUpsertPATOnRepoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ACLUpsertPATOnRepoRequest.ProtoReflect.Descriptor instead.
|
|
func (*ACLUpsertPATOnRepoRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *ACLUpsertPATOnRepoRequest) GetReponame() string {
|
|
if x != nil {
|
|
return x.Reponame
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACLUpsertPATOnRepoRequest) GetPat() string {
|
|
if x != nil {
|
|
return x.Pat
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACLUpsertPATOnRepoRequest) GetPerm() string {
|
|
if x != nil {
|
|
return x.Perm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ACLDeleteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AclId int64 `protobuf:"varint,1,opt,name=acl_id,json=aclId,proto3" json:"acl_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ACLDeleteRequest) Reset() {
|
|
*x = ACLDeleteRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ACLDeleteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ACLDeleteRequest) ProtoMessage() {}
|
|
|
|
func (x *ACLDeleteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ACLDeleteRequest.ProtoReflect.Descriptor instead.
|
|
func (*ACLDeleteRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *ACLDeleteRequest) GetAclId() int64 {
|
|
if x != nil {
|
|
return x.AclId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ACLSetPermRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AclId int64 `protobuf:"varint,1,opt,name=acl_id,json=aclId,proto3" json:"acl_id,omitempty"`
|
|
Perm string `protobuf:"bytes,2,opt,name=perm,proto3" json:"perm,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ACLSetPermRequest) Reset() {
|
|
*x = ACLSetPermRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ACLSetPermRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ACLSetPermRequest) ProtoMessage() {}
|
|
|
|
func (x *ACLSetPermRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ACLSetPermRequest.ProtoReflect.Descriptor instead.
|
|
func (*ACLSetPermRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *ACLSetPermRequest) GetAclId() int64 {
|
|
if x != nil {
|
|
return x.AclId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ACLSetPermRequest) GetPerm() string {
|
|
if x != nil {
|
|
return x.Perm
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// StatusResponse is the daemon's config + runtime snapshot.
|
|
type StatusResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Root string `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` // -root (git root)
|
|
RpcAddr string `protobuf:"bytes,2,opt,name=rpc_addr,json=rpcAddr,proto3" json:"rpc_addr,omitempty"` // -rpc listen
|
|
SshAddr string `protobuf:"bytes,3,opt,name=ssh_addr,json=sshAddr,proto3" json:"ssh_addr,omitempty"` // -ssh listen
|
|
ManageAddr string `protobuf:"bytes,4,opt,name=manage_addr,json=manageAddr,proto3" json:"manage_addr,omitempty"` // -manage listen
|
|
AuthUrl string `protobuf:"bytes,5,opt,name=auth_url,json=authUrl,proto3" json:"auth_url,omitempty"` // -auth RBAC center ("" if skip-auth)
|
|
SkipAuth bool `protobuf:"varint,7,opt,name=skip_auth,json=skipAuth,proto3" json:"skip_auth,omitempty"` // -skip-auth
|
|
StartedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // daemon start time
|
|
UptimeSeconds int64 `protobuf:"varint,9,opt,name=uptime_seconds,json=uptimeSeconds,proto3" json:"uptime_seconds,omitempty"` // seconds since started_at
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StatusResponse) Reset() {
|
|
*x = StatusResponse{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StatusResponse) ProtoMessage() {}
|
|
|
|
func (x *StatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*StatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *StatusResponse) GetRoot() string {
|
|
if x != nil {
|
|
return x.Root
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StatusResponse) GetRpcAddr() string {
|
|
if x != nil {
|
|
return x.RpcAddr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StatusResponse) GetSshAddr() string {
|
|
if x != nil {
|
|
return x.SshAddr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StatusResponse) GetManageAddr() string {
|
|
if x != nil {
|
|
return x.ManageAddr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StatusResponse) GetAuthUrl() string {
|
|
if x != nil {
|
|
return x.AuthUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StatusResponse) GetSkipAuth() bool {
|
|
if x != nil {
|
|
return x.SkipAuth
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *StatusResponse) GetStartedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.StartedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StatusResponse) GetUptimeSeconds() int64 {
|
|
if x != nil {
|
|
return x.UptimeSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ACLIDResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AclId int64 `protobuf:"varint,1,opt,name=acl_id,json=aclId,proto3" json:"acl_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ACLIDResponse) Reset() {
|
|
*x = ACLIDResponse{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ACLIDResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ACLIDResponse) ProtoMessage() {}
|
|
|
|
func (x *ACLIDResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ACLIDResponse.ProtoReflect.Descriptor instead.
|
|
func (*ACLIDResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *ACLIDResponse) GetAclId() int64 {
|
|
if x != nil {
|
|
return x.AclId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CtrlRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Op string `protobuf:"bytes,1,opt,name=op,proto3" json:"op,omitempty"`
|
|
Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CtrlRequest) Reset() {
|
|
*x = CtrlRequest{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CtrlRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CtrlRequest) ProtoMessage() {}
|
|
|
|
func (x *CtrlRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CtrlRequest.ProtoReflect.Descriptor instead.
|
|
func (*CtrlRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *CtrlRequest) GetOp() string {
|
|
if x != nil {
|
|
return x.Op
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CtrlRequest) GetArgs() []string {
|
|
if x != nil {
|
|
return x.Args
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CtrlResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // JSON encoded operation result
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CtrlResponse) Reset() {
|
|
*x = CtrlResponse{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CtrlResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CtrlResponse) ProtoMessage() {}
|
|
|
|
func (x *CtrlResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CtrlResponse.ProtoReflect.Descriptor instead.
|
|
func (*CtrlResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *CtrlResponse) GetResult() []byte {
|
|
if x != nil {
|
|
return x.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListBranchesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Branches []*Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListBranchesResponse) Reset() {
|
|
*x = ListBranchesResponse{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListBranchesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListBranchesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListBranchesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListBranchesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListBranchesResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *ListBranchesResponse) GetBranches() []*Branch {
|
|
if x != nil {
|
|
return x.Branches
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListTagsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListTagsResponse) Reset() {
|
|
*x = ListTagsResponse{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListTagsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListTagsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListTagsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListTagsResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *ListTagsResponse) GetTags() []*Tag {
|
|
if x != nil {
|
|
return x.Tags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListCommitsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Commits []*Commit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListCommitsResponse) Reset() {
|
|
*x = ListCommitsResponse{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListCommitsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListCommitsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListCommitsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListCommitsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListCommitsResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *ListCommitsResponse) GetCommits() []*Commit {
|
|
if x != nil {
|
|
return x.Commits
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetContributorsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Contributors []*Contributor `protobuf:"bytes,1,rep,name=contributors,proto3" json:"contributors,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetContributorsResponse) Reset() {
|
|
*x = GetContributorsResponse{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetContributorsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetContributorsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetContributorsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetContributorsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetContributorsResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *GetContributorsResponse) GetContributors() []*Contributor {
|
|
if x != nil {
|
|
return x.Contributors
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// gitcmd.Commit. Pinned snake_case json so renaming Go fields does not drift
|
|
// the wire contract.
|
|
type Commit struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // full 40-char SHA
|
|
ShortSha string `protobuf:"bytes,2,opt,name=short_sha,json=shortSha,proto3" json:"short_sha,omitempty"` // 7-char abbreviated SHA
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // full commit message
|
|
Author string `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"` // author name
|
|
AuthorEmail string `protobuf:"bytes,5,opt,name=author_email,json=authorEmail,proto3" json:"author_email,omitempty"` // author email
|
|
When *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=when,proto3" json:"when,omitempty"` // author timestamp
|
|
Parents []string `protobuf:"bytes,7,rep,name=parents,proto3" json:"parents,omitempty"` // parent SHAs
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Commit) Reset() {
|
|
*x = Commit{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Commit) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Commit) ProtoMessage() {}
|
|
|
|
func (x *Commit) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Commit.ProtoReflect.Descriptor instead.
|
|
func (*Commit) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *Commit) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Commit) GetShortSha() string {
|
|
if x != nil {
|
|
return x.ShortSha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Commit) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Commit) GetAuthor() string {
|
|
if x != nil {
|
|
return x.Author
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Commit) GetAuthorEmail() string {
|
|
if x != nil {
|
|
return x.AuthorEmail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Commit) GetWhen() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.When
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Commit) GetParents() []string {
|
|
if x != nil {
|
|
return x.Parents
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// gitcmd.CommitDetail extends Commit with file change statistics. Commit fields
|
|
// are nested (proto has no struct embedding) rather than flattened.
|
|
type CommitDetail struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Commit *Commit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
|
|
Stats *DiffStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"`
|
|
Files []*FileDiff `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CommitDetail) Reset() {
|
|
*x = CommitDetail{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CommitDetail) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CommitDetail) ProtoMessage() {}
|
|
|
|
func (x *CommitDetail) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CommitDetail.ProtoReflect.Descriptor instead.
|
|
func (*CommitDetail) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *CommitDetail) GetCommit() *Commit {
|
|
if x != nil {
|
|
return x.Commit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommitDetail) GetStats() *DiffStats {
|
|
if x != nil {
|
|
return x.Stats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CommitDetail) GetFiles() []*FileDiff {
|
|
if x != nil {
|
|
return x.Files
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DiffStats struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Additions int32 `protobuf:"varint,1,opt,name=additions,proto3" json:"additions,omitempty"`
|
|
Deletions int32 `protobuf:"varint,2,opt,name=deletions,proto3" json:"deletions,omitempty"`
|
|
Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
|
|
Files int32 `protobuf:"varint,4,opt,name=files,proto3" json:"files,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DiffStats) Reset() {
|
|
*x = DiffStats{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DiffStats) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DiffStats) ProtoMessage() {}
|
|
|
|
func (x *DiffStats) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DiffStats.ProtoReflect.Descriptor instead.
|
|
func (*DiffStats) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *DiffStats) GetAdditions() int32 {
|
|
if x != nil {
|
|
return x.Additions
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DiffStats) GetDeletions() int32 {
|
|
if x != nil {
|
|
return x.Deletions
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DiffStats) GetTotal() int32 {
|
|
if x != nil {
|
|
return x.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DiffStats) GetFiles() int32 {
|
|
if x != nil {
|
|
return x.Files
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FileDiff struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
|
Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"`
|
|
Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"`
|
|
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` // A (added), M (modified), D (deleted), R (renamed)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FileDiff) Reset() {
|
|
*x = FileDiff{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FileDiff) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileDiff) ProtoMessage() {}
|
|
|
|
func (x *FileDiff) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FileDiff.ProtoReflect.Descriptor instead.
|
|
func (*FileDiff) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *FileDiff) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileDiff) GetAdditions() int32 {
|
|
if x != nil {
|
|
return x.Additions
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileDiff) GetDeletions() int32 {
|
|
if x != nil {
|
|
return x.Deletions
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileDiff) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Branch struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"`
|
|
ShortSha string `protobuf:"bytes,3,opt,name=short_sha,json=shortSha,proto3" json:"short_sha,omitempty"`
|
|
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
|
|
Author string `protobuf:"bytes,5,opt,name=author,proto3" json:"author,omitempty"`
|
|
When *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=when,proto3" json:"when,omitempty"`
|
|
IsDefault bool `protobuf:"varint,7,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Branch) Reset() {
|
|
*x = Branch{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Branch) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Branch) ProtoMessage() {}
|
|
|
|
func (x *Branch) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[40]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Branch.ProtoReflect.Descriptor instead.
|
|
func (*Branch) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *Branch) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Branch) GetSha() string {
|
|
if x != nil {
|
|
return x.Sha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Branch) GetShortSha() string {
|
|
if x != nil {
|
|
return x.ShortSha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Branch) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Branch) GetAuthor() string {
|
|
if x != nil {
|
|
return x.Author
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Branch) GetWhen() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.When
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Branch) GetIsDefault() bool {
|
|
if x != nil {
|
|
return x.IsDefault
|
|
}
|
|
return false
|
|
}
|
|
|
|
type Tag struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"`
|
|
ShortSha string `protobuf:"bytes,3,opt,name=short_sha,json=shortSha,proto3" json:"short_sha,omitempty"`
|
|
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
|
|
Tagger string `protobuf:"bytes,5,opt,name=tagger,proto3" json:"tagger,omitempty"`
|
|
TagDate *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=tag_date,json=tagDate,proto3" json:"tag_date,omitempty"`
|
|
IsAnnotated bool `protobuf:"varint,7,opt,name=is_annotated,json=isAnnotated,proto3" json:"is_annotated,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Tag) Reset() {
|
|
*x = Tag{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Tag) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Tag) ProtoMessage() {}
|
|
|
|
func (x *Tag) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[41]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Tag.ProtoReflect.Descriptor instead.
|
|
func (*Tag) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *Tag) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Tag) GetSha() string {
|
|
if x != nil {
|
|
return x.Sha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Tag) GetShortSha() string {
|
|
if x != nil {
|
|
return x.ShortSha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Tag) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Tag) GetTagger() string {
|
|
if x != nil {
|
|
return x.Tagger
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Tag) GetTagDate() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.TagDate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Tag) GetIsAnnotated() bool {
|
|
if x != nil {
|
|
return x.IsAnnotated
|
|
}
|
|
return false
|
|
}
|
|
|
|
type TreeEntry struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // "blob" (file) or "tree" (directory)
|
|
Mode string `protobuf:"bytes,4,opt,name=mode,proto3" json:"mode,omitempty"` // git mode, e.g. "100644", "040000"
|
|
Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` // file size in bytes (0 for directories)
|
|
Sha string `protobuf:"bytes,6,opt,name=sha,proto3" json:"sha,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TreeEntry) Reset() {
|
|
*x = TreeEntry{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TreeEntry) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TreeEntry) ProtoMessage() {}
|
|
|
|
func (x *TreeEntry) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[42]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TreeEntry.ProtoReflect.Descriptor instead.
|
|
func (*TreeEntry) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *TreeEntry) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TreeEntry) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TreeEntry) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TreeEntry) GetMode() string {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TreeEntry) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TreeEntry) GetSha() string {
|
|
if x != nil {
|
|
return x.Sha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Tree struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
|
|
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
Entries []*TreeEntry `protobuf:"bytes,3,rep,name=entries,proto3" json:"entries,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Tree) Reset() {
|
|
*x = Tree{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Tree) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Tree) ProtoMessage() {}
|
|
|
|
func (x *Tree) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[43]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Tree.ProtoReflect.Descriptor instead.
|
|
func (*Tree) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *Tree) GetRef() string {
|
|
if x != nil {
|
|
return x.Ref
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Tree) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Tree) GetEntries() []*TreeEntry {
|
|
if x != nil {
|
|
return x.Entries
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Blob struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
|
|
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // raw file content (text or base64-encoded binary)
|
|
Encoding string `protobuf:"bytes,4,opt,name=encoding,proto3" json:"encoding,omitempty"` // "text" or "base64"
|
|
Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
|
|
Sha string `protobuf:"bytes,6,opt,name=sha,proto3" json:"sha,omitempty"`
|
|
IsBinary bool `protobuf:"varint,7,opt,name=is_binary,json=isBinary,proto3" json:"is_binary,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Blob) Reset() {
|
|
*x = Blob{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Blob) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Blob) ProtoMessage() {}
|
|
|
|
func (x *Blob) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[44]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Blob.ProtoReflect.Descriptor instead.
|
|
func (*Blob) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *Blob) GetRef() string {
|
|
if x != nil {
|
|
return x.Ref
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Blob) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Blob) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Blob) GetEncoding() string {
|
|
if x != nil {
|
|
return x.Encoding
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Blob) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Blob) GetSha() string {
|
|
if x != nil {
|
|
return x.Sha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Blob) GetIsBinary() bool {
|
|
if x != nil {
|
|
return x.IsBinary
|
|
}
|
|
return false
|
|
}
|
|
|
|
type DiffLine struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "context", "add", "delete"
|
|
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // line content without the leading sigil
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DiffLine) Reset() {
|
|
*x = DiffLine{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DiffLine) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DiffLine) ProtoMessage() {}
|
|
|
|
func (x *DiffLine) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[45]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DiffLine.ProtoReflect.Descriptor instead.
|
|
func (*DiffLine) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *DiffLine) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DiffLine) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Hunk struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OldStart int32 `protobuf:"varint,1,opt,name=old_start,json=oldStart,proto3" json:"old_start,omitempty"` // 0 if the old side is absent
|
|
OldCount int32 `protobuf:"varint,2,opt,name=old_count,json=oldCount,proto3" json:"old_count,omitempty"`
|
|
NewStart int32 `protobuf:"varint,3,opt,name=new_start,json=newStart,proto3" json:"new_start,omitempty"` // 0 if the new side is absent
|
|
NewCount int32 `protobuf:"varint,4,opt,name=new_count,json=newCount,proto3" json:"new_count,omitempty"`
|
|
Lines []*DiffLine `protobuf:"bytes,5,rep,name=lines,proto3" json:"lines,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Hunk) Reset() {
|
|
*x = Hunk{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Hunk) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Hunk) ProtoMessage() {}
|
|
|
|
func (x *Hunk) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[46]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Hunk.ProtoReflect.Descriptor instead.
|
|
func (*Hunk) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *Hunk) GetOldStart() int32 {
|
|
if x != nil {
|
|
return x.OldStart
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Hunk) GetOldCount() int32 {
|
|
if x != nil {
|
|
return x.OldCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Hunk) GetNewStart() int32 {
|
|
if x != nil {
|
|
return x.NewStart
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Hunk) GetNewCount() int32 {
|
|
if x != nil {
|
|
return x.NewCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Hunk) GetLines() []*DiffLine {
|
|
if x != nil {
|
|
return x.Lines
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FileChange struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // resulting path (new path; old path if deleted)
|
|
OldPath string `protobuf:"bytes,1,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"` // set only on rename/copy
|
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // A / M / D / R
|
|
IsBinary bool `protobuf:"varint,3,opt,name=is_binary,json=isBinary,proto3" json:"is_binary,omitempty"`
|
|
Additions int32 `protobuf:"varint,4,opt,name=additions,proto3" json:"additions,omitempty"`
|
|
Deletions int32 `protobuf:"varint,5,opt,name=deletions,proto3" json:"deletions,omitempty"`
|
|
Hunks []*Hunk `protobuf:"bytes,7,rep,name=hunks,proto3" json:"hunks,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FileChange) Reset() {
|
|
*x = FileChange{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FileChange) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileChange) ProtoMessage() {}
|
|
|
|
func (x *FileChange) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[47]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FileChange.ProtoReflect.Descriptor instead.
|
|
func (*FileChange) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *FileChange) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileChange) GetOldPath() string {
|
|
if x != nil {
|
|
return x.OldPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileChange) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileChange) GetIsBinary() bool {
|
|
if x != nil {
|
|
return x.IsBinary
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *FileChange) GetAdditions() int32 {
|
|
if x != nil {
|
|
return x.Additions
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileChange) GetDeletions() int32 {
|
|
if x != nil {
|
|
return x.Deletions
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileChange) GetHunks() []*Hunk {
|
|
if x != nil {
|
|
return x.Hunks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DiffResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Files []*FileChange `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DiffResult) Reset() {
|
|
*x = DiffResult{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DiffResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DiffResult) ProtoMessage() {}
|
|
|
|
func (x *DiffResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[48]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DiffResult.ProtoReflect.Descriptor instead.
|
|
func (*DiffResult) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *DiffResult) GetFiles() []*FileChange {
|
|
if x != nil {
|
|
return x.Files
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CompareResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Base string `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
Head string `protobuf:"bytes,2,opt,name=head,proto3" json:"head,omitempty"`
|
|
Ahead int32 `protobuf:"varint,3,opt,name=ahead,proto3" json:"ahead,omitempty"` // commits reachable from head but not base
|
|
Behind int32 `protobuf:"varint,4,opt,name=behind,proto3" json:"behind,omitempty"` // commits reachable from base but not head
|
|
Commits []*Commit `protobuf:"bytes,5,rep,name=commits,proto3" json:"commits,omitempty"` // base..head, newest first
|
|
Diff *DiffResult `protobuf:"bytes,6,opt,name=diff,proto3" json:"diff,omitempty"` // combined file diff base..head
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CompareResult) Reset() {
|
|
*x = CompareResult{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CompareResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CompareResult) ProtoMessage() {}
|
|
|
|
func (x *CompareResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[49]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CompareResult.ProtoReflect.Descriptor instead.
|
|
func (*CompareResult) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *CompareResult) GetBase() string {
|
|
if x != nil {
|
|
return x.Base
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CompareResult) GetHead() string {
|
|
if x != nil {
|
|
return x.Head
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CompareResult) GetAhead() int32 {
|
|
if x != nil {
|
|
return x.Ahead
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CompareResult) GetBehind() int32 {
|
|
if x != nil {
|
|
return x.Behind
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CompareResult) GetCommits() []*Commit {
|
|
if x != nil {
|
|
return x.Commits
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CompareResult) GetDiff() *DiffResult {
|
|
if x != nil {
|
|
return x.Diff
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BlameLine struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Sha string `protobuf:"bytes,1,opt,name=sha,proto3" json:"sha,omitempty"`
|
|
ShortSha string `protobuf:"bytes,2,opt,name=short_sha,json=shortSha,proto3" json:"short_sha,omitempty"`
|
|
Author string `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"`
|
|
Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
|
|
When *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=when,proto3" json:"when,omitempty"`
|
|
LineNo int32 `protobuf:"varint,6,opt,name=line_no,json=lineNo,proto3" json:"line_no,omitempty"` // 1-based line number in the blamed file
|
|
Content string `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"`
|
|
Summary string `protobuf:"bytes,8,opt,name=summary,proto3" json:"summary,omitempty"` // commit subject line
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BlameLine) Reset() {
|
|
*x = BlameLine{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BlameLine) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BlameLine) ProtoMessage() {}
|
|
|
|
func (x *BlameLine) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[50]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BlameLine.ProtoReflect.Descriptor instead.
|
|
func (*BlameLine) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *BlameLine) GetSha() string {
|
|
if x != nil {
|
|
return x.Sha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlameLine) GetShortSha() string {
|
|
if x != nil {
|
|
return x.ShortSha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlameLine) GetAuthor() string {
|
|
if x != nil {
|
|
return x.Author
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlameLine) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlameLine) GetWhen() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.When
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BlameLine) GetLineNo() int32 {
|
|
if x != nil {
|
|
return x.LineNo
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BlameLine) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlameLine) GetSummary() string {
|
|
if x != nil {
|
|
return x.Summary
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BlameResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
|
|
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
Lines []*BlameLine `protobuf:"bytes,3,rep,name=lines,proto3" json:"lines,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BlameResult) Reset() {
|
|
*x = BlameResult{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BlameResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BlameResult) ProtoMessage() {}
|
|
|
|
func (x *BlameResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[51]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BlameResult.ProtoReflect.Descriptor instead.
|
|
func (*BlameResult) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *BlameResult) GetRef() string {
|
|
if x != nil {
|
|
return x.Ref
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlameResult) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BlameResult) GetLines() []*BlameLine {
|
|
if x != nil {
|
|
return x.Lines
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Contributor struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Author string `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"`
|
|
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
|
|
Commits int32 `protobuf:"varint,3,opt,name=commits,proto3" json:"commits,omitempty"`
|
|
Additions int32 `protobuf:"varint,4,opt,name=additions,proto3" json:"additions,omitempty"`
|
|
Deletions int32 `protobuf:"varint,5,opt,name=deletions,proto3" json:"deletions,omitempty"`
|
|
TotalLines int32 `protobuf:"varint,6,opt,name=total_lines,json=totalLines,proto3" json:"total_lines,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Contributor) Reset() {
|
|
*x = Contributor{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Contributor) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Contributor) ProtoMessage() {}
|
|
|
|
func (x *Contributor) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[52]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Contributor.ProtoReflect.Descriptor instead.
|
|
func (*Contributor) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *Contributor) GetAuthor() string {
|
|
if x != nil {
|
|
return x.Author
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Contributor) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Contributor) GetCommits() int32 {
|
|
if x != nil {
|
|
return x.Commits
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Contributor) GetAdditions() int32 {
|
|
if x != nil {
|
|
return x.Additions
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Contributor) GetDeletions() int32 {
|
|
if x != nil {
|
|
return x.Deletions
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Contributor) GetTotalLines() int32 {
|
|
if x != nil {
|
|
return x.TotalLines
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RepoStats struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TotalCommits int32 `protobuf:"varint,1,opt,name=total_commits,json=totalCommits,proto3" json:"total_commits,omitempty"`
|
|
TotalBranches int32 `protobuf:"varint,2,opt,name=total_branches,json=totalBranches,proto3" json:"total_branches,omitempty"`
|
|
TotalTags int32 `protobuf:"varint,3,opt,name=total_tags,json=totalTags,proto3" json:"total_tags,omitempty"`
|
|
TotalSize int64 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // git object size in bytes (count-objects)
|
|
Contributors []*Contributor `protobuf:"bytes,5,rep,name=contributors,proto3" json:"contributors,omitempty"`
|
|
FirstCommit *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=first_commit,json=firstCommit,proto3" json:"first_commit,omitempty"`
|
|
LastCommit *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_commit,json=lastCommit,proto3" json:"last_commit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RepoStats) Reset() {
|
|
*x = RepoStats{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RepoStats) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RepoStats) ProtoMessage() {}
|
|
|
|
func (x *RepoStats) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[53]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RepoStats.ProtoReflect.Descriptor instead.
|
|
func (*RepoStats) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *RepoStats) GetTotalCommits() int32 {
|
|
if x != nil {
|
|
return x.TotalCommits
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RepoStats) GetTotalBranches() int32 {
|
|
if x != nil {
|
|
return x.TotalBranches
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RepoStats) GetTotalTags() int32 {
|
|
if x != nil {
|
|
return x.TotalTags
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RepoStats) GetTotalSize() int64 {
|
|
if x != nil {
|
|
return x.TotalSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RepoStats) GetContributors() []*Contributor {
|
|
if x != nil {
|
|
return x.Contributors
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RepoStats) GetFirstCommit() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.FirstCommit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RepoStats) GetLastCommit() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.LastCommit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CountObjectsResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // loose objects
|
|
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // loose objects size, bytes
|
|
InPack int64 `protobuf:"varint,3,opt,name=in_pack,json=inPack,proto3" json:"in_pack,omitempty"` // objects inside packs
|
|
Packs int64 `protobuf:"varint,4,opt,name=packs,proto3" json:"packs,omitempty"` // number of packs
|
|
SizePack int64 `protobuf:"varint,5,opt,name=size_pack,json=sizePack,proto3" json:"size_pack,omitempty"` // packed objects size, bytes
|
|
Garbage int64 `protobuf:"varint,6,opt,name=garbage,proto3" json:"garbage,omitempty"` // garbage objects
|
|
SizeGarbage int64 `protobuf:"varint,7,opt,name=size_garbage,json=sizeGarbage,proto3" json:"size_garbage,omitempty"` // garbage size, bytes
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CountObjectsResult) Reset() {
|
|
*x = CountObjectsResult{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CountObjectsResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CountObjectsResult) ProtoMessage() {}
|
|
|
|
func (x *CountObjectsResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[54]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CountObjectsResult.ProtoReflect.Descriptor instead.
|
|
func (*CountObjectsResult) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *CountObjectsResult) GetCount() int64 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CountObjectsResult) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CountObjectsResult) GetInPack() int64 {
|
|
if x != nil {
|
|
return x.InPack
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CountObjectsResult) GetPacks() int64 {
|
|
if x != nil {
|
|
return x.Packs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CountObjectsResult) GetSizePack() int64 {
|
|
if x != nil {
|
|
return x.SizePack
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CountObjectsResult) GetGarbage() int64 {
|
|
if x != nil {
|
|
return x.Garbage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CountObjectsResult) GetSizeGarbage() int64 {
|
|
if x != nil {
|
|
return x.SizeGarbage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// MergeResult: exactly one of merge_commit (clean/FF) or conflicts (conflict)
|
|
// is meaningful.
|
|
type MergeResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Base string `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
|
Head string `protobuf:"bytes,2,opt,name=head,proto3" json:"head,omitempty"`
|
|
MergeCommit *Commit `protobuf:"bytes,3,opt,name=merge_commit,json=mergeCommit,proto3" json:"merge_commit,omitempty"` // nil on conflict; on FF, head's tip
|
|
FastForward bool `protobuf:"varint,4,opt,name=fast_forward,json=fastForward,proto3" json:"fast_forward,omitempty"`
|
|
Conflicts []string `protobuf:"bytes,5,rep,name=conflicts,proto3" json:"conflicts,omitempty"` // conflicting paths (merge_commit nil)
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MergeResult) Reset() {
|
|
*x = MergeResult{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MergeResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MergeResult) ProtoMessage() {}
|
|
|
|
func (x *MergeResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[55]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MergeResult.ProtoReflect.Descriptor instead.
|
|
func (*MergeResult) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *MergeResult) GetBase() string {
|
|
if x != nil {
|
|
return x.Base
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MergeResult) GetHead() string {
|
|
if x != nil {
|
|
return x.Head
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MergeResult) GetMergeCommit() *Commit {
|
|
if x != nil {
|
|
return x.MergeCommit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MergeResult) GetFastForward() bool {
|
|
if x != nil {
|
|
return x.FastForward
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *MergeResult) GetConflicts() []string {
|
|
if x != nil {
|
|
return x.Conflicts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FileCommitResult struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Commit *Commit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` // the new commit that now tips the branch
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FileCommitResult) Reset() {
|
|
*x = FileCommitResult{}
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FileCommitResult) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileCommitResult) ProtoMessage() {}
|
|
|
|
func (x *FileCommitResult) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitrpc_gitrpc_proto_msgTypes[56]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FileCommitResult.ProtoReflect.Descriptor instead.
|
|
func (*FileCommitResult) Descriptor() ([]byte, []int) {
|
|
return file_gitrpc_gitrpc_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
func (x *FileCommitResult) GetCommit() *Commit {
|
|
if x != nil {
|
|
return x.Commit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_gitrpc_gitrpc_proto protoreflect.FileDescriptor
|
|
|
|
const file_gitrpc_gitrpc_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x13gitrpc/gitrpc.proto\x12\fsimplegit.v1\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"!\n" +
|
|
"\vRepoRequest\x12\x12\n" +
|
|
"\x04repo\x18\x01 \x01(\tR\x04repo\"P\n" +
|
|
"\x12ListCommitsRequest\x12\x12\n" +
|
|
"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x10\n" +
|
|
"\x03ref\x18\x02 \x01(\tR\x03ref\x12\x14\n" +
|
|
"\x05limit\x18\x03 \x01(\x05R\x05limit\"j\n" +
|
|
"\x18ListCommitsByPathRequest\x12\x12\n" +
|
|
"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x10\n" +
|
|
"\x03ref\x18\x02 \x01(\tR\x03ref\x12\x12\n" +
|
|
"\x04path\x18\x03 \x01(\tR\x04path\x12\x14\n" +
|
|
"\x05limit\x18\x04 \x01(\x05R\x05limit\"8\n" +
|
|
"\x10GetCommitRequest\x12\x12\n" +
|
|
"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x10\n" +
|
|
"\x03sha\x18\x02 \x01(\tR\x03sha\"<\n" +
|
|
"\x14GetCommitDiffRequest\x12\x12\n" +
|
|
"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x10\n" +
|
|
"\x03sha\x18\x02 \x01(\tR\x03sha\"J\n" +
|
|
"\x0eGetTreeRequest\x12\x12\n" +
|
|
"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x10\n" +
|
|
"\x03ref\x18\x02 \x01(\tR\x03ref\x12\x12\n" +
|
|
"\x04path\x18\x03 \x01(\tR\x04path\"J\n" +
|
|
"\x0eGetBlobRequest\x12\x12\n" +
|
|
"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x10\n" +
|
|
"\x03ref\x18\x02 \x01(\tR\x03ref\x12\x12\n" +
|
|
"\x04path\x18\x03 \x01(\tR\x04path\"L\n" +
|
|
"\x0eCompareRequest\x12\x12\n" +
|
|
"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x12\n" +
|
|
"\x04base\x18\x02 \x01(\tR\x04base\x12\x12\n" +
|
|
"\x04head\x18\x03 \x01(\tR\x04head\"H\n" +
|
|
"\fBlameRequest\x12\x12\n" +
|
|
"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x10\n" +
|
|
"\x03ref\x18\x02 \x01(\tR\x03ref\x12\x12\n" +
|
|
"\x04path\x18\x03 \x01(\tR\x04path\">\n" +
|
|
"\x16GetContributorsRequest\x12\x12\n" +
|
|
"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x10\n" +
|
|
"\x03ref\x18\x02 \x01(\tR\x03ref\"\x8a\x02\n" +
|
|
"\x11CreateFileRequest\x12\x12\n" +
|
|
"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x16\n" +
|
|
"\x06branch\x18\x02 \x01(\tR\x06branch\x12\x12\n" +
|
|
"\x04path\x18\x03 \x01(\tR\x04path\x12\x18\n" +
|
|
"\acontent\x18\x04 \x01(\tR\acontent\x12\x18\n" +
|
|
"\amessage\x18\x05 \x01(\tR\amessage\x12\x1f\n" +
|
|
"\vauthor_name\x18\x06 \x01(\tR\n" +
|
|
"authorName\x12!\n" +
|
|
"\fauthor_email\x18\a \x01(\tR\vauthorEmail\x12!\n" +
|
|
"\fexpected_sha\x18\b \x01(\tR\vexpectedSha\x12\x1a\n" +
|
|
"\bstrategy\x18\t \x01(\tR\bstrategy\"\xf0\x01\n" +
|
|
"\x11DeleteFileRequest\x12\x12\n" +
|
|
"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x16\n" +
|
|
"\x06branch\x18\x02 \x01(\tR\x06branch\x12\x12\n" +
|
|
"\x04path\x18\x03 \x01(\tR\x04path\x12\x18\n" +
|
|
"\amessage\x18\x04 \x01(\tR\amessage\x12\x1f\n" +
|
|
"\vauthor_name\x18\x05 \x01(\tR\n" +
|
|
"authorName\x12!\n" +
|
|
"\fauthor_email\x18\x06 \x01(\tR\vauthorEmail\x12!\n" +
|
|
"\fexpected_sha\x18\a \x01(\tR\vexpectedSha\x12\x1a\n" +
|
|
"\bstrategy\x18\b \x01(\tR\bstrategy\"\xd9\x01\n" +
|
|
"\fMergeRequest\x12\x12\n" +
|
|
"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x12\n" +
|
|
"\x04base\x18\x02 \x01(\tR\x04base\x12\x12\n" +
|
|
"\x04head\x18\x03 \x01(\tR\x04head\x12\x18\n" +
|
|
"\amessage\x18\x04 \x01(\tR\amessage\x12\x1f\n" +
|
|
"\vauthor_name\x18\x05 \x01(\tR\n" +
|
|
"authorName\x12!\n" +
|
|
"\fauthor_email\x18\x06 \x01(\tR\vauthorEmail\x12\x13\n" +
|
|
"\x05no_ff\x18\a \x01(\bR\x04noFf\x12\x1a\n" +
|
|
"\bstrategy\x18\b \x01(\tR\bstrategy\"!\n" +
|
|
"\x0fCreateNSRequest\x12\x0e\n" +
|
|
"\x02ns\x18\x01 \x01(\tR\x02ns\"!\n" +
|
|
"\x0fDeleteNSRequest\x12\x0e\n" +
|
|
"\x02ns\x18\x01 \x01(\tR\x02ns\"V\n" +
|
|
"\x11UpsertRepoRequest\x12\x0e\n" +
|
|
"\x02ns\x18\x01 \x01(\tR\x02ns\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1d\n" +
|
|
"\n" +
|
|
"is_private\x18\x03 \x01(\bR\tisPrivate\"6\n" +
|
|
"\x10ExistRepoRequest\x12\x0e\n" +
|
|
"\x02ns\x18\x01 \x01(\tR\x02ns\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"7\n" +
|
|
"\x11DeleteRepoRequest\x12\x0e\n" +
|
|
"\x02ns\x18\x01 \x01(\tR\x02ns\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"5\n" +
|
|
"\x0fMoveRepoRequest\x12\x10\n" +
|
|
"\x03src\x18\x01 \x01(\tR\x03src\x12\x10\n" +
|
|
"\x03dst\x18\x02 \x01(\tR\x03dst\"3\n" +
|
|
"\rMoveNSRequest\x12\x10\n" +
|
|
"\x03src\x18\x01 \x01(\tR\x03src\x12\x10\n" +
|
|
"\x03dst\x18\x02 \x01(\tR\x03dst\"G\n" +
|
|
"\x19UserPasswordUpsertRequest\x12\x0e\n" +
|
|
"\x02ns\x18\x01 \x01(\tR\x02ns\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\"#\n" +
|
|
"\x11UserDeleteRequest\x12\x0e\n" +
|
|
"\x02ns\x18\x01 \x01(\tR\x02ns\"R\n" +
|
|
"\x1aACLUpsertSSHKeyOnNSRequest\x12\x0e\n" +
|
|
"\x02ns\x18\x01 \x01(\tR\x02ns\x12\x10\n" +
|
|
"\x03key\x18\x02 \x01(\tR\x03key\x12\x12\n" +
|
|
"\x04perm\x18\x03 \x01(\tR\x04perm\"O\n" +
|
|
"\x17ACLUpsertPATOnNSRequest\x12\x0e\n" +
|
|
"\x02ns\x18\x01 \x01(\tR\x02ns\x12\x10\n" +
|
|
"\x03pat\x18\x02 \x01(\tR\x03pat\x12\x12\n" +
|
|
"\x04perm\x18\x03 \x01(\tR\x04perm\"`\n" +
|
|
"\x1cACLUpsertSSHKeyOnRepoRequest\x12\x1a\n" +
|
|
"\breponame\x18\x01 \x01(\tR\breponame\x12\x10\n" +
|
|
"\x03key\x18\x02 \x01(\tR\x03key\x12\x12\n" +
|
|
"\x04perm\x18\x03 \x01(\tR\x04perm\"]\n" +
|
|
"\x19ACLUpsertPATOnRepoRequest\x12\x1a\n" +
|
|
"\breponame\x18\x01 \x01(\tR\breponame\x12\x10\n" +
|
|
"\x03pat\x18\x02 \x01(\tR\x03pat\x12\x12\n" +
|
|
"\x04perm\x18\x03 \x01(\tR\x04perm\")\n" +
|
|
"\x10ACLDeleteRequest\x12\x15\n" +
|
|
"\x06acl_id\x18\x01 \x01(\x03R\x05aclId\">\n" +
|
|
"\x11ACLSetPermRequest\x12\x15\n" +
|
|
"\x06acl_id\x18\x01 \x01(\x03R\x05aclId\x12\x12\n" +
|
|
"\x04perm\x18\x02 \x01(\tR\x04perm\"\x9b\x02\n" +
|
|
"\x0eStatusResponse\x12\x12\n" +
|
|
"\x04root\x18\x01 \x01(\tR\x04root\x12\x19\n" +
|
|
"\brpc_addr\x18\x02 \x01(\tR\arpcAddr\x12\x19\n" +
|
|
"\bssh_addr\x18\x03 \x01(\tR\asshAddr\x12\x1f\n" +
|
|
"\vmanage_addr\x18\x04 \x01(\tR\n" +
|
|
"manageAddr\x12\x19\n" +
|
|
"\bauth_url\x18\x05 \x01(\tR\aauthUrl\x12\x1b\n" +
|
|
"\tskip_auth\x18\a \x01(\bR\bskipAuth\x129\n" +
|
|
"\n" +
|
|
"started_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tstartedAt\x12%\n" +
|
|
"\x0euptime_seconds\x18\t \x01(\x03R\ruptimeSecondsJ\x04\b\x06\x10\a\"&\n" +
|
|
"\rACLIDResponse\x12\x15\n" +
|
|
"\x06acl_id\x18\x01 \x01(\x03R\x05aclId\"1\n" +
|
|
"\vCtrlRequest\x12\x0e\n" +
|
|
"\x02op\x18\x01 \x01(\tR\x02op\x12\x12\n" +
|
|
"\x04args\x18\x02 \x03(\tR\x04args\"&\n" +
|
|
"\fCtrlResponse\x12\x16\n" +
|
|
"\x06result\x18\x01 \x01(\fR\x06result\"H\n" +
|
|
"\x14ListBranchesResponse\x120\n" +
|
|
"\bbranches\x18\x01 \x03(\v2\x14.simplegit.v1.BranchR\bbranches\"9\n" +
|
|
"\x10ListTagsResponse\x12%\n" +
|
|
"\x04tags\x18\x01 \x03(\v2\x11.simplegit.v1.TagR\x04tags\"E\n" +
|
|
"\x13ListCommitsResponse\x12.\n" +
|
|
"\acommits\x18\x01 \x03(\v2\x14.simplegit.v1.CommitR\acommits\"X\n" +
|
|
"\x17GetContributorsResponse\x12=\n" +
|
|
"\fcontributors\x18\x01 \x03(\v2\x19.simplegit.v1.ContributorR\fcontributors\"\xd4\x01\n" +
|
|
"\x06Commit\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" +
|
|
"\tshort_sha\x18\x02 \x01(\tR\bshortSha\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\x12\x16\n" +
|
|
"\x06author\x18\x04 \x01(\tR\x06author\x12!\n" +
|
|
"\fauthor_email\x18\x05 \x01(\tR\vauthorEmail\x12.\n" +
|
|
"\x04when\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x04when\x12\x18\n" +
|
|
"\aparents\x18\a \x03(\tR\aparents\"\x99\x01\n" +
|
|
"\fCommitDetail\x12,\n" +
|
|
"\x06commit\x18\x01 \x01(\v2\x14.simplegit.v1.CommitR\x06commit\x12-\n" +
|
|
"\x05stats\x18\x02 \x01(\v2\x17.simplegit.v1.DiffStatsR\x05stats\x12,\n" +
|
|
"\x05files\x18\x03 \x03(\v2\x16.simplegit.v1.FileDiffR\x05files\"s\n" +
|
|
"\tDiffStats\x12\x1c\n" +
|
|
"\tadditions\x18\x01 \x01(\x05R\tadditions\x12\x1c\n" +
|
|
"\tdeletions\x18\x02 \x01(\x05R\tdeletions\x12\x14\n" +
|
|
"\x05total\x18\x03 \x01(\x05R\x05total\x12\x14\n" +
|
|
"\x05files\x18\x04 \x01(\x05R\x05files\"r\n" +
|
|
"\bFileDiff\x12\x12\n" +
|
|
"\x04path\x18\x01 \x01(\tR\x04path\x12\x1c\n" +
|
|
"\tadditions\x18\x02 \x01(\x05R\tadditions\x12\x1c\n" +
|
|
"\tdeletions\x18\x03 \x01(\x05R\tdeletions\x12\x16\n" +
|
|
"\x06status\x18\x04 \x01(\tR\x06status\"\xcc\x01\n" +
|
|
"\x06Branch\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x10\n" +
|
|
"\x03sha\x18\x02 \x01(\tR\x03sha\x12\x1b\n" +
|
|
"\tshort_sha\x18\x03 \x01(\tR\bshortSha\x12\x18\n" +
|
|
"\amessage\x18\x04 \x01(\tR\amessage\x12\x16\n" +
|
|
"\x06author\x18\x05 \x01(\tR\x06author\x12.\n" +
|
|
"\x04when\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\x04when\x12\x1d\n" +
|
|
"\n" +
|
|
"is_default\x18\a \x01(\bR\tisDefault\"\xd4\x01\n" +
|
|
"\x03Tag\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x10\n" +
|
|
"\x03sha\x18\x02 \x01(\tR\x03sha\x12\x1b\n" +
|
|
"\tshort_sha\x18\x03 \x01(\tR\bshortSha\x12\x18\n" +
|
|
"\amessage\x18\x04 \x01(\tR\amessage\x12\x16\n" +
|
|
"\x06tagger\x18\x05 \x01(\tR\x06tagger\x125\n" +
|
|
"\btag_date\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\atagDate\x12!\n" +
|
|
"\fis_annotated\x18\a \x01(\bR\visAnnotated\"\x81\x01\n" +
|
|
"\tTreeEntry\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04path\x18\x02 \x01(\tR\x04path\x12\x12\n" +
|
|
"\x04type\x18\x03 \x01(\tR\x04type\x12\x12\n" +
|
|
"\x04mode\x18\x04 \x01(\tR\x04mode\x12\x12\n" +
|
|
"\x04size\x18\x05 \x01(\x03R\x04size\x12\x10\n" +
|
|
"\x03sha\x18\x06 \x01(\tR\x03sha\"_\n" +
|
|
"\x04Tree\x12\x10\n" +
|
|
"\x03ref\x18\x01 \x01(\tR\x03ref\x12\x12\n" +
|
|
"\x04path\x18\x02 \x01(\tR\x04path\x121\n" +
|
|
"\aentries\x18\x03 \x03(\v2\x17.simplegit.v1.TreeEntryR\aentries\"\xa5\x01\n" +
|
|
"\x04Blob\x12\x10\n" +
|
|
"\x03ref\x18\x01 \x01(\tR\x03ref\x12\x12\n" +
|
|
"\x04path\x18\x02 \x01(\tR\x04path\x12\x18\n" +
|
|
"\acontent\x18\x03 \x01(\tR\acontent\x12\x1a\n" +
|
|
"\bencoding\x18\x04 \x01(\tR\bencoding\x12\x12\n" +
|
|
"\x04size\x18\x05 \x01(\x03R\x04size\x12\x10\n" +
|
|
"\x03sha\x18\x06 \x01(\tR\x03sha\x12\x1b\n" +
|
|
"\tis_binary\x18\a \x01(\bR\bisBinary\"2\n" +
|
|
"\bDiffLine\x12\x12\n" +
|
|
"\x04type\x18\x01 \x01(\tR\x04type\x12\x12\n" +
|
|
"\x04text\x18\x02 \x01(\tR\x04text\"\xa8\x01\n" +
|
|
"\x04Hunk\x12\x1b\n" +
|
|
"\told_start\x18\x01 \x01(\x05R\boldStart\x12\x1b\n" +
|
|
"\told_count\x18\x02 \x01(\x05R\boldCount\x12\x1b\n" +
|
|
"\tnew_start\x18\x03 \x01(\x05R\bnewStart\x12\x1b\n" +
|
|
"\tnew_count\x18\x04 \x01(\x05R\bnewCount\x12,\n" +
|
|
"\x05lines\x18\x05 \x03(\v2\x16.simplegit.v1.DiffLineR\x05lines\"\xd6\x01\n" +
|
|
"\n" +
|
|
"FileChange\x12\x12\n" +
|
|
"\x04path\x18\x06 \x01(\tR\x04path\x12\x19\n" +
|
|
"\bold_path\x18\x01 \x01(\tR\aoldPath\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\tR\x06status\x12\x1b\n" +
|
|
"\tis_binary\x18\x03 \x01(\bR\bisBinary\x12\x1c\n" +
|
|
"\tadditions\x18\x04 \x01(\x05R\tadditions\x12\x1c\n" +
|
|
"\tdeletions\x18\x05 \x01(\x05R\tdeletions\x12(\n" +
|
|
"\x05hunks\x18\a \x03(\v2\x12.simplegit.v1.HunkR\x05hunks\"<\n" +
|
|
"\n" +
|
|
"DiffResult\x12.\n" +
|
|
"\x05files\x18\x01 \x03(\v2\x18.simplegit.v1.FileChangeR\x05files\"\xc3\x01\n" +
|
|
"\rCompareResult\x12\x12\n" +
|
|
"\x04base\x18\x01 \x01(\tR\x04base\x12\x12\n" +
|
|
"\x04head\x18\x02 \x01(\tR\x04head\x12\x14\n" +
|
|
"\x05ahead\x18\x03 \x01(\x05R\x05ahead\x12\x16\n" +
|
|
"\x06behind\x18\x04 \x01(\x05R\x06behind\x12.\n" +
|
|
"\acommits\x18\x05 \x03(\v2\x14.simplegit.v1.CommitR\acommits\x12,\n" +
|
|
"\x04diff\x18\x06 \x01(\v2\x18.simplegit.v1.DiffResultR\x04diff\"\xe5\x01\n" +
|
|
"\tBlameLine\x12\x10\n" +
|
|
"\x03sha\x18\x01 \x01(\tR\x03sha\x12\x1b\n" +
|
|
"\tshort_sha\x18\x02 \x01(\tR\bshortSha\x12\x16\n" +
|
|
"\x06author\x18\x03 \x01(\tR\x06author\x12\x14\n" +
|
|
"\x05email\x18\x04 \x01(\tR\x05email\x12.\n" +
|
|
"\x04when\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\x04when\x12\x17\n" +
|
|
"\aline_no\x18\x06 \x01(\x05R\x06lineNo\x12\x18\n" +
|
|
"\acontent\x18\a \x01(\tR\acontent\x12\x18\n" +
|
|
"\asummary\x18\b \x01(\tR\asummary\"b\n" +
|
|
"\vBlameResult\x12\x10\n" +
|
|
"\x03ref\x18\x01 \x01(\tR\x03ref\x12\x12\n" +
|
|
"\x04path\x18\x02 \x01(\tR\x04path\x12-\n" +
|
|
"\x05lines\x18\x03 \x03(\v2\x17.simplegit.v1.BlameLineR\x05lines\"\xb2\x01\n" +
|
|
"\vContributor\x12\x16\n" +
|
|
"\x06author\x18\x01 \x01(\tR\x06author\x12\x14\n" +
|
|
"\x05email\x18\x02 \x01(\tR\x05email\x12\x18\n" +
|
|
"\acommits\x18\x03 \x01(\x05R\acommits\x12\x1c\n" +
|
|
"\tadditions\x18\x04 \x01(\x05R\tadditions\x12\x1c\n" +
|
|
"\tdeletions\x18\x05 \x01(\x05R\tdeletions\x12\x1f\n" +
|
|
"\vtotal_lines\x18\x06 \x01(\x05R\n" +
|
|
"totalLines\"\xd0\x02\n" +
|
|
"\tRepoStats\x12#\n" +
|
|
"\rtotal_commits\x18\x01 \x01(\x05R\ftotalCommits\x12%\n" +
|
|
"\x0etotal_branches\x18\x02 \x01(\x05R\rtotalBranches\x12\x1d\n" +
|
|
"\n" +
|
|
"total_tags\x18\x03 \x01(\x05R\ttotalTags\x12\x1d\n" +
|
|
"\n" +
|
|
"total_size\x18\x04 \x01(\x03R\ttotalSize\x12=\n" +
|
|
"\fcontributors\x18\x05 \x03(\v2\x19.simplegit.v1.ContributorR\fcontributors\x12=\n" +
|
|
"\ffirst_commit\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\vfirstCommit\x12;\n" +
|
|
"\vlast_commit\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
|
"lastCommit\"\xc7\x01\n" +
|
|
"\x12CountObjectsResult\x12\x14\n" +
|
|
"\x05count\x18\x01 \x01(\x03R\x05count\x12\x12\n" +
|
|
"\x04size\x18\x02 \x01(\x03R\x04size\x12\x17\n" +
|
|
"\ain_pack\x18\x03 \x01(\x03R\x06inPack\x12\x14\n" +
|
|
"\x05packs\x18\x04 \x01(\x03R\x05packs\x12\x1b\n" +
|
|
"\tsize_pack\x18\x05 \x01(\x03R\bsizePack\x12\x18\n" +
|
|
"\agarbage\x18\x06 \x01(\x03R\agarbage\x12!\n" +
|
|
"\fsize_garbage\x18\a \x01(\x03R\vsizeGarbage\"\xaf\x01\n" +
|
|
"\vMergeResult\x12\x12\n" +
|
|
"\x04base\x18\x01 \x01(\tR\x04base\x12\x12\n" +
|
|
"\x04head\x18\x02 \x01(\tR\x04head\x127\n" +
|
|
"\fmerge_commit\x18\x03 \x01(\v2\x14.simplegit.v1.CommitR\vmergeCommit\x12!\n" +
|
|
"\ffast_forward\x18\x04 \x01(\bR\vfastForward\x12\x1c\n" +
|
|
"\tconflicts\x18\x05 \x03(\tR\tconflicts\"@\n" +
|
|
"\x10FileCommitResult\x12,\n" +
|
|
"\x06commit\x18\x01 \x01(\v2\x14.simplegit.v1.CommitR\x06commit2\xb9\t\n" +
|
|
"\n" +
|
|
"GitService\x12M\n" +
|
|
"\fListBranches\x12\x19.simplegit.v1.RepoRequest\x1a\".simplegit.v1.ListBranchesResponse\x12E\n" +
|
|
"\bListTags\x12\x19.simplegit.v1.RepoRequest\x1a\x1e.simplegit.v1.ListTagsResponse\x12R\n" +
|
|
"\vListCommits\x12 .simplegit.v1.ListCommitsRequest\x1a!.simplegit.v1.ListCommitsResponse\x12^\n" +
|
|
"\x11ListCommitsByPath\x12&.simplegit.v1.ListCommitsByPathRequest\x1a!.simplegit.v1.ListCommitsResponse\x12G\n" +
|
|
"\tGetCommit\x12\x1e.simplegit.v1.GetCommitRequest\x1a\x1a.simplegit.v1.CommitDetail\x12M\n" +
|
|
"\rGetCommitDiff\x12\".simplegit.v1.GetCommitDiffRequest\x1a\x18.simplegit.v1.DiffResult\x12;\n" +
|
|
"\aGetTree\x12\x1c.simplegit.v1.GetTreeRequest\x1a\x12.simplegit.v1.Tree\x12;\n" +
|
|
"\aGetBlob\x12\x1c.simplegit.v1.GetBlobRequest\x1a\x12.simplegit.v1.Blob\x12D\n" +
|
|
"\aCompare\x12\x1c.simplegit.v1.CompareRequest\x1a\x1b.simplegit.v1.CompareResult\x12>\n" +
|
|
"\x05Blame\x12\x1a.simplegit.v1.BlameRequest\x1a\x19.simplegit.v1.BlameResult\x12^\n" +
|
|
"\x0fGetContributors\x12$.simplegit.v1.GetContributorsRequest\x1a%.simplegit.v1.GetContributorsResponse\x12>\n" +
|
|
"\bGetStats\x12\x19.simplegit.v1.RepoRequest\x1a\x17.simplegit.v1.RepoStats\x12K\n" +
|
|
"\fCountObjects\x12\x19.simplegit.v1.RepoRequest\x1a .simplegit.v1.CountObjectsResult\x12M\n" +
|
|
"\n" +
|
|
"CreateFile\x12\x1f.simplegit.v1.CreateFileRequest\x1a\x1e.simplegit.v1.FileCommitResult\x12M\n" +
|
|
"\n" +
|
|
"DeleteFile\x12\x1f.simplegit.v1.DeleteFileRequest\x1a\x1e.simplegit.v1.FileCommitResult\x12>\n" +
|
|
"\x05Merge\x12\x1a.simplegit.v1.MergeRequest\x1a\x19.simplegit.v1.MergeResult2\x87\n" +
|
|
"\n" +
|
|
"\rManageService\x12=\n" +
|
|
"\x04Ctrl\x12\x19.simplegit.v1.CtrlRequest\x1a\x1a.simplegit.v1.CtrlResponse\x12A\n" +
|
|
"\bCreateNS\x12\x1d.simplegit.v1.CreateNSRequest\x1a\x16.google.protobuf.Empty\x12A\n" +
|
|
"\bDeleteNS\x12\x1d.simplegit.v1.DeleteNSRequest\x1a\x16.google.protobuf.Empty\x12E\n" +
|
|
"\n" +
|
|
"UpsertRepo\x12\x1f.simplegit.v1.UpsertRepoRequest\x1a\x16.google.protobuf.Empty\x12C\n" +
|
|
"\tExistRepo\x12\x1e.simplegit.v1.ExistRepoRequest\x1a\x16.google.protobuf.Empty\x12E\n" +
|
|
"\n" +
|
|
"DeleteRepo\x12\x1f.simplegit.v1.DeleteRepoRequest\x1a\x16.google.protobuf.Empty\x12A\n" +
|
|
"\bMoveRepo\x12\x1d.simplegit.v1.MoveRepoRequest\x1a\x16.google.protobuf.Empty\x12=\n" +
|
|
"\x06MoveNS\x12\x1b.simplegit.v1.MoveNSRequest\x1a\x16.google.protobuf.Empty\x12U\n" +
|
|
"\x12UserPasswordUpsert\x12'.simplegit.v1.UserPasswordUpsertRequest\x1a\x16.google.protobuf.Empty\x12E\n" +
|
|
"\n" +
|
|
"UserDelete\x12\x1f.simplegit.v1.UserDeleteRequest\x1a\x16.google.protobuf.Empty\x12\\\n" +
|
|
"\x13ACLUpsertSSHKeyOnNS\x12(.simplegit.v1.ACLUpsertSSHKeyOnNSRequest\x1a\x1b.simplegit.v1.ACLIDResponse\x12V\n" +
|
|
"\x10ACLUpsertPATOnNS\x12%.simplegit.v1.ACLUpsertPATOnNSRequest\x1a\x1b.simplegit.v1.ACLIDResponse\x12`\n" +
|
|
"\x15ACLUpsertSSHKeyOnRepo\x12*.simplegit.v1.ACLUpsertSSHKeyOnRepoRequest\x1a\x1b.simplegit.v1.ACLIDResponse\x12Z\n" +
|
|
"\x12ACLUpsertPATOnRepo\x12'.simplegit.v1.ACLUpsertPATOnRepoRequest\x1a\x1b.simplegit.v1.ACLIDResponse\x12C\n" +
|
|
"\tACLDelete\x12\x1e.simplegit.v1.ACLDeleteRequest\x1a\x16.google.protobuf.Empty\x12E\n" +
|
|
"\n" +
|
|
"ACLSetPerm\x12\x1f.simplegit.v1.ACLSetPermRequest\x1a\x16.google.protobuf.Empty\x12>\n" +
|
|
"\x06Status\x12\x16.google.protobuf.Empty\x1a\x1c.simplegit.v1.StatusResponseB\x18Z\x16simplegit/gitrpc/v1;v1b\x06proto3"
|
|
|
|
var (
|
|
file_gitrpc_gitrpc_proto_rawDescOnce sync.Once
|
|
file_gitrpc_gitrpc_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_gitrpc_gitrpc_proto_rawDescGZIP() []byte {
|
|
file_gitrpc_gitrpc_proto_rawDescOnce.Do(func() {
|
|
file_gitrpc_gitrpc_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_gitrpc_gitrpc_proto_rawDesc), len(file_gitrpc_gitrpc_proto_rawDesc)))
|
|
})
|
|
return file_gitrpc_gitrpc_proto_rawDescData
|
|
}
|
|
|
|
var file_gitrpc_gitrpc_proto_msgTypes = make([]protoimpl.MessageInfo, 57)
|
|
var file_gitrpc_gitrpc_proto_goTypes = []any{
|
|
(*RepoRequest)(nil), // 0: simplegit.v1.RepoRequest
|
|
(*ListCommitsRequest)(nil), // 1: simplegit.v1.ListCommitsRequest
|
|
(*ListCommitsByPathRequest)(nil), // 2: simplegit.v1.ListCommitsByPathRequest
|
|
(*GetCommitRequest)(nil), // 3: simplegit.v1.GetCommitRequest
|
|
(*GetCommitDiffRequest)(nil), // 4: simplegit.v1.GetCommitDiffRequest
|
|
(*GetTreeRequest)(nil), // 5: simplegit.v1.GetTreeRequest
|
|
(*GetBlobRequest)(nil), // 6: simplegit.v1.GetBlobRequest
|
|
(*CompareRequest)(nil), // 7: simplegit.v1.CompareRequest
|
|
(*BlameRequest)(nil), // 8: simplegit.v1.BlameRequest
|
|
(*GetContributorsRequest)(nil), // 9: simplegit.v1.GetContributorsRequest
|
|
(*CreateFileRequest)(nil), // 10: simplegit.v1.CreateFileRequest
|
|
(*DeleteFileRequest)(nil), // 11: simplegit.v1.DeleteFileRequest
|
|
(*MergeRequest)(nil), // 12: simplegit.v1.MergeRequest
|
|
(*CreateNSRequest)(nil), // 13: simplegit.v1.CreateNSRequest
|
|
(*DeleteNSRequest)(nil), // 14: simplegit.v1.DeleteNSRequest
|
|
(*UpsertRepoRequest)(nil), // 15: simplegit.v1.UpsertRepoRequest
|
|
(*ExistRepoRequest)(nil), // 16: simplegit.v1.ExistRepoRequest
|
|
(*DeleteRepoRequest)(nil), // 17: simplegit.v1.DeleteRepoRequest
|
|
(*MoveRepoRequest)(nil), // 18: simplegit.v1.MoveRepoRequest
|
|
(*MoveNSRequest)(nil), // 19: simplegit.v1.MoveNSRequest
|
|
(*UserPasswordUpsertRequest)(nil), // 20: simplegit.v1.UserPasswordUpsertRequest
|
|
(*UserDeleteRequest)(nil), // 21: simplegit.v1.UserDeleteRequest
|
|
(*ACLUpsertSSHKeyOnNSRequest)(nil), // 22: simplegit.v1.ACLUpsertSSHKeyOnNSRequest
|
|
(*ACLUpsertPATOnNSRequest)(nil), // 23: simplegit.v1.ACLUpsertPATOnNSRequest
|
|
(*ACLUpsertSSHKeyOnRepoRequest)(nil), // 24: simplegit.v1.ACLUpsertSSHKeyOnRepoRequest
|
|
(*ACLUpsertPATOnRepoRequest)(nil), // 25: simplegit.v1.ACLUpsertPATOnRepoRequest
|
|
(*ACLDeleteRequest)(nil), // 26: simplegit.v1.ACLDeleteRequest
|
|
(*ACLSetPermRequest)(nil), // 27: simplegit.v1.ACLSetPermRequest
|
|
(*StatusResponse)(nil), // 28: simplegit.v1.StatusResponse
|
|
(*ACLIDResponse)(nil), // 29: simplegit.v1.ACLIDResponse
|
|
(*CtrlRequest)(nil), // 30: simplegit.v1.CtrlRequest
|
|
(*CtrlResponse)(nil), // 31: simplegit.v1.CtrlResponse
|
|
(*ListBranchesResponse)(nil), // 32: simplegit.v1.ListBranchesResponse
|
|
(*ListTagsResponse)(nil), // 33: simplegit.v1.ListTagsResponse
|
|
(*ListCommitsResponse)(nil), // 34: simplegit.v1.ListCommitsResponse
|
|
(*GetContributorsResponse)(nil), // 35: simplegit.v1.GetContributorsResponse
|
|
(*Commit)(nil), // 36: simplegit.v1.Commit
|
|
(*CommitDetail)(nil), // 37: simplegit.v1.CommitDetail
|
|
(*DiffStats)(nil), // 38: simplegit.v1.DiffStats
|
|
(*FileDiff)(nil), // 39: simplegit.v1.FileDiff
|
|
(*Branch)(nil), // 40: simplegit.v1.Branch
|
|
(*Tag)(nil), // 41: simplegit.v1.Tag
|
|
(*TreeEntry)(nil), // 42: simplegit.v1.TreeEntry
|
|
(*Tree)(nil), // 43: simplegit.v1.Tree
|
|
(*Blob)(nil), // 44: simplegit.v1.Blob
|
|
(*DiffLine)(nil), // 45: simplegit.v1.DiffLine
|
|
(*Hunk)(nil), // 46: simplegit.v1.Hunk
|
|
(*FileChange)(nil), // 47: simplegit.v1.FileChange
|
|
(*DiffResult)(nil), // 48: simplegit.v1.DiffResult
|
|
(*CompareResult)(nil), // 49: simplegit.v1.CompareResult
|
|
(*BlameLine)(nil), // 50: simplegit.v1.BlameLine
|
|
(*BlameResult)(nil), // 51: simplegit.v1.BlameResult
|
|
(*Contributor)(nil), // 52: simplegit.v1.Contributor
|
|
(*RepoStats)(nil), // 53: simplegit.v1.RepoStats
|
|
(*CountObjectsResult)(nil), // 54: simplegit.v1.CountObjectsResult
|
|
(*MergeResult)(nil), // 55: simplegit.v1.MergeResult
|
|
(*FileCommitResult)(nil), // 56: simplegit.v1.FileCommitResult
|
|
(*timestamppb.Timestamp)(nil), // 57: google.protobuf.Timestamp
|
|
(*emptypb.Empty)(nil), // 58: google.protobuf.Empty
|
|
}
|
|
var file_gitrpc_gitrpc_proto_depIdxs = []int32{
|
|
57, // 0: simplegit.v1.StatusResponse.started_at:type_name -> google.protobuf.Timestamp
|
|
40, // 1: simplegit.v1.ListBranchesResponse.branches:type_name -> simplegit.v1.Branch
|
|
41, // 2: simplegit.v1.ListTagsResponse.tags:type_name -> simplegit.v1.Tag
|
|
36, // 3: simplegit.v1.ListCommitsResponse.commits:type_name -> simplegit.v1.Commit
|
|
52, // 4: simplegit.v1.GetContributorsResponse.contributors:type_name -> simplegit.v1.Contributor
|
|
57, // 5: simplegit.v1.Commit.when:type_name -> google.protobuf.Timestamp
|
|
36, // 6: simplegit.v1.CommitDetail.commit:type_name -> simplegit.v1.Commit
|
|
38, // 7: simplegit.v1.CommitDetail.stats:type_name -> simplegit.v1.DiffStats
|
|
39, // 8: simplegit.v1.CommitDetail.files:type_name -> simplegit.v1.FileDiff
|
|
57, // 9: simplegit.v1.Branch.when:type_name -> google.protobuf.Timestamp
|
|
57, // 10: simplegit.v1.Tag.tag_date:type_name -> google.protobuf.Timestamp
|
|
42, // 11: simplegit.v1.Tree.entries:type_name -> simplegit.v1.TreeEntry
|
|
45, // 12: simplegit.v1.Hunk.lines:type_name -> simplegit.v1.DiffLine
|
|
46, // 13: simplegit.v1.FileChange.hunks:type_name -> simplegit.v1.Hunk
|
|
47, // 14: simplegit.v1.DiffResult.files:type_name -> simplegit.v1.FileChange
|
|
36, // 15: simplegit.v1.CompareResult.commits:type_name -> simplegit.v1.Commit
|
|
48, // 16: simplegit.v1.CompareResult.diff:type_name -> simplegit.v1.DiffResult
|
|
57, // 17: simplegit.v1.BlameLine.when:type_name -> google.protobuf.Timestamp
|
|
50, // 18: simplegit.v1.BlameResult.lines:type_name -> simplegit.v1.BlameLine
|
|
52, // 19: simplegit.v1.RepoStats.contributors:type_name -> simplegit.v1.Contributor
|
|
57, // 20: simplegit.v1.RepoStats.first_commit:type_name -> google.protobuf.Timestamp
|
|
57, // 21: simplegit.v1.RepoStats.last_commit:type_name -> google.protobuf.Timestamp
|
|
36, // 22: simplegit.v1.MergeResult.merge_commit:type_name -> simplegit.v1.Commit
|
|
36, // 23: simplegit.v1.FileCommitResult.commit:type_name -> simplegit.v1.Commit
|
|
0, // 24: simplegit.v1.GitService.ListBranches:input_type -> simplegit.v1.RepoRequest
|
|
0, // 25: simplegit.v1.GitService.ListTags:input_type -> simplegit.v1.RepoRequest
|
|
1, // 26: simplegit.v1.GitService.ListCommits:input_type -> simplegit.v1.ListCommitsRequest
|
|
2, // 27: simplegit.v1.GitService.ListCommitsByPath:input_type -> simplegit.v1.ListCommitsByPathRequest
|
|
3, // 28: simplegit.v1.GitService.GetCommit:input_type -> simplegit.v1.GetCommitRequest
|
|
4, // 29: simplegit.v1.GitService.GetCommitDiff:input_type -> simplegit.v1.GetCommitDiffRequest
|
|
5, // 30: simplegit.v1.GitService.GetTree:input_type -> simplegit.v1.GetTreeRequest
|
|
6, // 31: simplegit.v1.GitService.GetBlob:input_type -> simplegit.v1.GetBlobRequest
|
|
7, // 32: simplegit.v1.GitService.Compare:input_type -> simplegit.v1.CompareRequest
|
|
8, // 33: simplegit.v1.GitService.Blame:input_type -> simplegit.v1.BlameRequest
|
|
9, // 34: simplegit.v1.GitService.GetContributors:input_type -> simplegit.v1.GetContributorsRequest
|
|
0, // 35: simplegit.v1.GitService.GetStats:input_type -> simplegit.v1.RepoRequest
|
|
0, // 36: simplegit.v1.GitService.CountObjects:input_type -> simplegit.v1.RepoRequest
|
|
10, // 37: simplegit.v1.GitService.CreateFile:input_type -> simplegit.v1.CreateFileRequest
|
|
11, // 38: simplegit.v1.GitService.DeleteFile:input_type -> simplegit.v1.DeleteFileRequest
|
|
12, // 39: simplegit.v1.GitService.Merge:input_type -> simplegit.v1.MergeRequest
|
|
30, // 40: simplegit.v1.ManageService.Ctrl:input_type -> simplegit.v1.CtrlRequest
|
|
13, // 41: simplegit.v1.ManageService.CreateNS:input_type -> simplegit.v1.CreateNSRequest
|
|
14, // 42: simplegit.v1.ManageService.DeleteNS:input_type -> simplegit.v1.DeleteNSRequest
|
|
15, // 43: simplegit.v1.ManageService.UpsertRepo:input_type -> simplegit.v1.UpsertRepoRequest
|
|
16, // 44: simplegit.v1.ManageService.ExistRepo:input_type -> simplegit.v1.ExistRepoRequest
|
|
17, // 45: simplegit.v1.ManageService.DeleteRepo:input_type -> simplegit.v1.DeleteRepoRequest
|
|
18, // 46: simplegit.v1.ManageService.MoveRepo:input_type -> simplegit.v1.MoveRepoRequest
|
|
19, // 47: simplegit.v1.ManageService.MoveNS:input_type -> simplegit.v1.MoveNSRequest
|
|
20, // 48: simplegit.v1.ManageService.UserPasswordUpsert:input_type -> simplegit.v1.UserPasswordUpsertRequest
|
|
21, // 49: simplegit.v1.ManageService.UserDelete:input_type -> simplegit.v1.UserDeleteRequest
|
|
22, // 50: simplegit.v1.ManageService.ACLUpsertSSHKeyOnNS:input_type -> simplegit.v1.ACLUpsertSSHKeyOnNSRequest
|
|
23, // 51: simplegit.v1.ManageService.ACLUpsertPATOnNS:input_type -> simplegit.v1.ACLUpsertPATOnNSRequest
|
|
24, // 52: simplegit.v1.ManageService.ACLUpsertSSHKeyOnRepo:input_type -> simplegit.v1.ACLUpsertSSHKeyOnRepoRequest
|
|
25, // 53: simplegit.v1.ManageService.ACLUpsertPATOnRepo:input_type -> simplegit.v1.ACLUpsertPATOnRepoRequest
|
|
26, // 54: simplegit.v1.ManageService.ACLDelete:input_type -> simplegit.v1.ACLDeleteRequest
|
|
27, // 55: simplegit.v1.ManageService.ACLSetPerm:input_type -> simplegit.v1.ACLSetPermRequest
|
|
58, // 56: simplegit.v1.ManageService.Status:input_type -> google.protobuf.Empty
|
|
32, // 57: simplegit.v1.GitService.ListBranches:output_type -> simplegit.v1.ListBranchesResponse
|
|
33, // 58: simplegit.v1.GitService.ListTags:output_type -> simplegit.v1.ListTagsResponse
|
|
34, // 59: simplegit.v1.GitService.ListCommits:output_type -> simplegit.v1.ListCommitsResponse
|
|
34, // 60: simplegit.v1.GitService.ListCommitsByPath:output_type -> simplegit.v1.ListCommitsResponse
|
|
37, // 61: simplegit.v1.GitService.GetCommit:output_type -> simplegit.v1.CommitDetail
|
|
48, // 62: simplegit.v1.GitService.GetCommitDiff:output_type -> simplegit.v1.DiffResult
|
|
43, // 63: simplegit.v1.GitService.GetTree:output_type -> simplegit.v1.Tree
|
|
44, // 64: simplegit.v1.GitService.GetBlob:output_type -> simplegit.v1.Blob
|
|
49, // 65: simplegit.v1.GitService.Compare:output_type -> simplegit.v1.CompareResult
|
|
51, // 66: simplegit.v1.GitService.Blame:output_type -> simplegit.v1.BlameResult
|
|
35, // 67: simplegit.v1.GitService.GetContributors:output_type -> simplegit.v1.GetContributorsResponse
|
|
53, // 68: simplegit.v1.GitService.GetStats:output_type -> simplegit.v1.RepoStats
|
|
54, // 69: simplegit.v1.GitService.CountObjects:output_type -> simplegit.v1.CountObjectsResult
|
|
56, // 70: simplegit.v1.GitService.CreateFile:output_type -> simplegit.v1.FileCommitResult
|
|
56, // 71: simplegit.v1.GitService.DeleteFile:output_type -> simplegit.v1.FileCommitResult
|
|
55, // 72: simplegit.v1.GitService.Merge:output_type -> simplegit.v1.MergeResult
|
|
31, // 73: simplegit.v1.ManageService.Ctrl:output_type -> simplegit.v1.CtrlResponse
|
|
58, // 74: simplegit.v1.ManageService.CreateNS:output_type -> google.protobuf.Empty
|
|
58, // 75: simplegit.v1.ManageService.DeleteNS:output_type -> google.protobuf.Empty
|
|
58, // 76: simplegit.v1.ManageService.UpsertRepo:output_type -> google.protobuf.Empty
|
|
58, // 77: simplegit.v1.ManageService.ExistRepo:output_type -> google.protobuf.Empty
|
|
58, // 78: simplegit.v1.ManageService.DeleteRepo:output_type -> google.protobuf.Empty
|
|
58, // 79: simplegit.v1.ManageService.MoveRepo:output_type -> google.protobuf.Empty
|
|
58, // 80: simplegit.v1.ManageService.MoveNS:output_type -> google.protobuf.Empty
|
|
58, // 81: simplegit.v1.ManageService.UserPasswordUpsert:output_type -> google.protobuf.Empty
|
|
58, // 82: simplegit.v1.ManageService.UserDelete:output_type -> google.protobuf.Empty
|
|
29, // 83: simplegit.v1.ManageService.ACLUpsertSSHKeyOnNS:output_type -> simplegit.v1.ACLIDResponse
|
|
29, // 84: simplegit.v1.ManageService.ACLUpsertPATOnNS:output_type -> simplegit.v1.ACLIDResponse
|
|
29, // 85: simplegit.v1.ManageService.ACLUpsertSSHKeyOnRepo:output_type -> simplegit.v1.ACLIDResponse
|
|
29, // 86: simplegit.v1.ManageService.ACLUpsertPATOnRepo:output_type -> simplegit.v1.ACLIDResponse
|
|
58, // 87: simplegit.v1.ManageService.ACLDelete:output_type -> google.protobuf.Empty
|
|
58, // 88: simplegit.v1.ManageService.ACLSetPerm:output_type -> google.protobuf.Empty
|
|
28, // 89: simplegit.v1.ManageService.Status:output_type -> simplegit.v1.StatusResponse
|
|
57, // [57:90] is the sub-list for method output_type
|
|
24, // [24:57] is the sub-list for method input_type
|
|
24, // [24:24] is the sub-list for extension type_name
|
|
24, // [24:24] is the sub-list for extension extendee
|
|
0, // [0:24] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_gitrpc_gitrpc_proto_init() }
|
|
func file_gitrpc_gitrpc_proto_init() {
|
|
if File_gitrpc_gitrpc_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_gitrpc_gitrpc_proto_rawDesc), len(file_gitrpc_gitrpc_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 57,
|
|
NumExtensions: 0,
|
|
NumServices: 2,
|
|
},
|
|
GoTypes: file_gitrpc_gitrpc_proto_goTypes,
|
|
DependencyIndexes: file_gitrpc_gitrpc_proto_depIdxs,
|
|
MessageInfos: file_gitrpc_gitrpc_proto_msgTypes,
|
|
}.Build()
|
|
File_gitrpc_gitrpc_proto = out.File
|
|
file_gitrpc_gitrpc_proto_goTypes = nil
|
|
file_gitrpc_gitrpc_proto_depIdxs = nil
|
|
}
|