Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterGitServiceServer(s grpc.ServiceRegistrar, srv GitServiceServer)
- type AppFile
- func (*AppFile) Descriptor() ([]byte, []int)deprecated
- func (x *AppFile) GetCTime() string
- func (x *AppFile) GetContent() string
- func (x *AppFile) GetMode() int32
- func (x *AppFile) GetModeTime() string
- func (x *AppFile) GetPath() string
- func (*AppFile) ProtoMessage()
- func (x *AppFile) ProtoReflect() protoreflect.Message
- func (x *AppFile) Reset()
- func (x *AppFile) String() string
- type Branch
- type CheckoutBranchRequest
- func (*CheckoutBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckoutBranchRequest) GetBranchName() string
- func (x *CheckoutBranchRequest) GetRepoId() string
- func (*CheckoutBranchRequest) ProtoMessage()
- func (x *CheckoutBranchRequest) ProtoReflect() protoreflect.Message
- func (x *CheckoutBranchRequest) Reset()
- func (x *CheckoutBranchRequest) String() string
- type CheckoutBranchResponse
- func (*CheckoutBranchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckoutBranchResponse) GetMessage() string
- func (*CheckoutBranchResponse) ProtoMessage()
- func (x *CheckoutBranchResponse) ProtoReflect() protoreflect.Message
- func (x *CheckoutBranchResponse) Reset()
- func (x *CheckoutBranchResponse) String() string
- type CloneRepoRequest
- type CloneRepoResponse
- type CommitToRepoRequest
- func (*CommitToRepoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitToRepoRequest) GetCommitMessage() string
- func (x *CommitToRepoRequest) GetRepoId() string
- func (*CommitToRepoRequest) ProtoMessage()
- func (x *CommitToRepoRequest) ProtoReflect() protoreflect.Message
- func (x *CommitToRepoRequest) Reset()
- func (x *CommitToRepoRequest) String() string
- type CommitToRepoResponse
- func (*CommitToRepoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommitToRepoResponse) GetBranch() string
- func (x *CommitToRepoResponse) GetCommitHash() string
- func (x *CommitToRepoResponse) GetFilesChanged() int32
- func (x *CommitToRepoResponse) GetFilesCreated() []string
- func (x *CommitToRepoResponse) GetMessage() string
- func (*CommitToRepoResponse) ProtoMessage()
- func (x *CommitToRepoResponse) ProtoReflect() protoreflect.Message
- func (x *CommitToRepoResponse) Reset()
- func (x *CommitToRepoResponse) String() string
- type CreateBranchRequest
- func (*CreateBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBranchRequest) GetBranchName() string
- func (x *CreateBranchRequest) GetCommitId() string
- func (x *CreateBranchRequest) GetRepositoryId() string
- func (*CreateBranchRequest) ProtoMessage()
- func (x *CreateBranchRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBranchRequest) Reset()
- func (x *CreateBranchRequest) String() string
- type CreateBranchResponse
- func (*CreateBranchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBranchResponse) GetBranchId() string
- func (*CreateBranchResponse) ProtoMessage()
- func (x *CreateBranchResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBranchResponse) Reset()
- func (x *CreateBranchResponse) String() string
- type CreateRepoRequest
- func (*CreateRepoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepoRequest) GetDescription() string
- func (x *CreateRepoRequest) GetName() string
- func (*CreateRepoRequest) ProtoMessage()
- func (x *CreateRepoRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRepoRequest) Reset()
- func (x *CreateRepoRequest) String() string
- type CreateRepoResponse
- type DeleteBranchRequest
- func (*DeleteBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBranchRequest) GetBranchName() string
- func (x *DeleteBranchRequest) GetRepoId() string
- func (*DeleteBranchRequest) ProtoMessage()
- func (x *DeleteBranchRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBranchRequest) Reset()
- func (x *DeleteBranchRequest) String() string
- type DeleteBranchResponse
- func (*DeleteBranchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBranchResponse) GetBranchId() string
- func (*DeleteBranchResponse) ProtoMessage()
- func (x *DeleteBranchResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteBranchResponse) Reset()
- func (x *DeleteBranchResponse) String() string
- type EntryInfo
- func (*EntryInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EntryInfo) GetCtime() *timestamppb.Timestamp
- func (x *EntryInfo) GetModTime() *timestamppb.Timestamp
- func (x *EntryInfo) GetSize() int32
- func (*EntryInfo) ProtoMessage()
- func (x *EntryInfo) ProtoReflect() protoreflect.Message
- func (x *EntryInfo) Reset()
- func (x *EntryInfo) String() string
- type File
- func (*File) Descriptor() ([]byte, []int)deprecated
- func (x *File) GetCTime() *timestamppb.Timestamp
- func (x *File) GetContent() string
- func (x *File) GetMode() FileMode
- func (x *File) GetModeTime() *timestamppb.Timestamp
- func (x *File) GetPath() string
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (x *File) String() string
- type FileMode
- type GetBlobRequest
- type GetBlobResponse
- type GetCommitFilesRequest
- func (*GetCommitFilesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommitFilesRequest) GetCommitId() string
- func (*GetCommitFilesRequest) ProtoMessage()
- func (x *GetCommitFilesRequest) ProtoReflect() protoreflect.Message
- func (x *GetCommitFilesRequest) Reset()
- func (x *GetCommitFilesRequest) String() string
- type GetCommitFilesResponse
- func (*GetCommitFilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommitFilesResponse) GetFiles() []*AppFile
- func (*GetCommitFilesResponse) ProtoMessage()
- func (x *GetCommitFilesResponse) ProtoReflect() protoreflect.Message
- func (x *GetCommitFilesResponse) Reset()
- func (x *GetCommitFilesResponse) String() string
- type GetRepoRequest
- type GetRepoResponse
- type GitServiceClient
- type GitServiceServer
- type Index
- type IndexEntry
- func (*IndexEntry) Descriptor() ([]byte, []int)deprecated
- func (x *IndexEntry) GetInfo() *EntryInfo
- func (x *IndexEntry) GetMode() FileMode
- func (x *IndexEntry) GetPath() string
- func (x *IndexEntry) GetSha1() string
- func (x *IndexEntry) GetStage() int32
- func (*IndexEntry) ProtoMessage()
- func (x *IndexEntry) ProtoReflect() protoreflect.Message
- func (x *IndexEntry) Reset()
- func (x *IndexEntry) String() string
- type ListBranchesRequest
- func (*ListBranchesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBranchesRequest) GetRepoId() string
- func (*ListBranchesRequest) ProtoMessage()
- func (x *ListBranchesRequest) ProtoReflect() protoreflect.Message
- func (x *ListBranchesRequest) Reset()
- func (x *ListBranchesRequest) String() string
- type ListBranchesResponse
- func (*ListBranchesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBranchesResponse) GetBranches() []*Branch
- func (*ListBranchesResponse) ProtoMessage()
- func (x *ListBranchesResponse) ProtoReflect() protoreflect.Message
- func (x *ListBranchesResponse) Reset()
- func (x *ListBranchesResponse) String() string
- type Ref
- type Repo
- func (*Repo) Descriptor() ([]byte, []int)deprecated
- func (x *Repo) GetDescription() string
- func (x *Repo) GetHead() *Branch
- func (x *Repo) GetId() string
- func (x *Repo) GetIndex() *Index
- func (x *Repo) GetName() string
- func (x *Repo) GetRefs() *Ref
- func (x *Repo) GetUserId() string
- func (*Repo) ProtoMessage()
- func (x *Repo) ProtoReflect() protoreflect.Message
- func (x *Repo) Reset()
- func (x *Repo) String() string
- type StageToRepoRequest
- func (*StageToRepoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StageToRepoRequest) GetFiles() []*AppFile
- func (x *StageToRepoRequest) GetRepoId() string
- func (*StageToRepoRequest) ProtoMessage()
- func (x *StageToRepoRequest) ProtoReflect() protoreflect.Message
- func (x *StageToRepoRequest) Reset()
- func (x *StageToRepoRequest) String() string
- type StageToRepoResponse
- func (*StageToRepoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StageToRepoResponse) GetMessage() string
- func (*StageToRepoResponse) ProtoMessage()
- func (x *StageToRepoResponse) ProtoReflect() protoreflect.Message
- func (x *StageToRepoResponse) Reset()
- func (x *StageToRepoResponse) String() string
- type Tag
- type UnimplementedGitServiceServer
- func (UnimplementedGitServiceServer) CheckoutBranch(context.Context, *CheckoutBranchRequest) (*CheckoutBranchResponse, error)
- func (UnimplementedGitServiceServer) CloneRepo(context.Context, *CloneRepoRequest) (*CloneRepoResponse, error)
- func (UnimplementedGitServiceServer) CommitToRepo(context.Context, *CommitToRepoRequest) (*CommitToRepoResponse, error)
- func (UnimplementedGitServiceServer) CreateBranch(context.Context, *CreateBranchRequest) (*CreateBranchResponse, error)
- func (UnimplementedGitServiceServer) CreateRepo(context.Context, *CreateRepoRequest) (*CreateRepoResponse, error)
- func (UnimplementedGitServiceServer) DeleteBranch(context.Context, *DeleteBranchRequest) (*DeleteBranchResponse, error)
- func (UnimplementedGitServiceServer) GetBlob(context.Context, *GetBlobRequest) (*GetBlobResponse, error)
- func (UnimplementedGitServiceServer) GetCommitFiles(context.Context, *GetCommitFilesRequest) (*GetCommitFilesResponse, error)
- func (UnimplementedGitServiceServer) GetRepo(context.Context, *GetRepoRequest) (*GetRepoResponse, error)
- func (UnimplementedGitServiceServer) ListBranches(context.Context, *ListBranchesRequest) (*ListBranchesResponse, error)
- func (UnimplementedGitServiceServer) StageToRepo(context.Context, *StageToRepoRequest) (*StageToRepoResponse, error)
- func (UnimplementedGitServiceServer) UnstageFromRepo(context.Context, *UnstageFromRepoRequest) (*UnstageFromRepoResponse, error)
- type UnsafeGitServiceServer
- type UnstageFromRepoRequest
- func (*UnstageFromRepoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnstageFromRepoRequest) GetFilePath() []string
- func (x *UnstageFromRepoRequest) GetRepoId() string
- func (*UnstageFromRepoRequest) ProtoMessage()
- func (x *UnstageFromRepoRequest) ProtoReflect() protoreflect.Message
- func (x *UnstageFromRepoRequest) Reset()
- func (x *UnstageFromRepoRequest) String() string
- type UnstageFromRepoResponse
- func (*UnstageFromRepoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnstageFromRepoResponse) GetMessage() string
- func (*UnstageFromRepoResponse) ProtoMessage()
- func (x *UnstageFromRepoResponse) ProtoReflect() protoreflect.Message
- func (x *UnstageFromRepoResponse) Reset()
- func (x *UnstageFromRepoResponse) String() string
Constants ¶
const ( GitService_CreateRepo_FullMethodName = "/ggs.GitService/CreateRepo" GitService_GetBlob_FullMethodName = "/ggs.GitService/GetBlob" GitService_StageToRepo_FullMethodName = "/ggs.GitService/StageToRepo" GitService_UnstageFromRepo_FullMethodName = "/ggs.GitService/UnstageFromRepo" GitService_CommitToRepo_FullMethodName = "/ggs.GitService/CommitToRepo" GitService_ListBranches_FullMethodName = "/ggs.GitService/ListBranches" GitService_DeleteBranch_FullMethodName = "/ggs.GitService/DeleteBranch" GitService_CreateBranch_FullMethodName = "/ggs.GitService/CreateBranch" GitService_CheckoutBranch_FullMethodName = "/ggs.GitService/CheckoutBranch" GitService_GetRepo_FullMethodName = "/ggs.GitService/GetRepo" GitService_GetCommitFiles_FullMethodName = "/ggs.GitService/GetCommitFiles" GitService_CloneRepo_FullMethodName = "/ggs.GitService/CloneRepo" )
Variables ¶
var ( FileMode_name = map[int32]string{ 0: "REGULAR", 1: "EXECUTABLE", 2: "SYMBOLIC_LINK", 3: "DIRECTORY", } FileMode_value = map[string]int32{ "REGULAR": 0, "EXECUTABLE": 1, "SYMBOLIC_LINK": 2, "DIRECTORY": 3, } )
Enum value maps for FileMode.
var File_repo_proto protoreflect.FileDescriptor
var File_rpc_checkout_branch_proto protoreflect.FileDescriptor
var File_rpc_clone_repo_proto protoreflect.FileDescriptor
var File_rpc_commit_repo_proto protoreflect.FileDescriptor
var File_rpc_create_branch_proto protoreflect.FileDescriptor
var File_rpc_create_repo_proto protoreflect.FileDescriptor
var File_rpc_delete_branch_proto protoreflect.FileDescriptor
var File_rpc_get_blob_proto protoreflect.FileDescriptor
var File_rpc_get_commit_files_proto protoreflect.FileDescriptor
var File_rpc_get_repo_proto protoreflect.FileDescriptor
var File_rpc_list_branch_proto protoreflect.FileDescriptor
var File_rpc_stage_repo_proto protoreflect.FileDescriptor
var File_rpc_unstage_repo_proto protoreflect.FileDescriptor
var File_service_git_service_proto protoreflect.FileDescriptor
var GitService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ggs.GitService", HandlerType: (*GitServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateRepo", Handler: _GitService_CreateRepo_Handler, }, { MethodName: "GetBlob", Handler: _GitService_GetBlob_Handler, }, { MethodName: "StageToRepo", Handler: _GitService_StageToRepo_Handler, }, { MethodName: "UnstageFromRepo", Handler: _GitService_UnstageFromRepo_Handler, }, { MethodName: "CommitToRepo", Handler: _GitService_CommitToRepo_Handler, }, { MethodName: "ListBranches", Handler: _GitService_ListBranches_Handler, }, { MethodName: "DeleteBranch", Handler: _GitService_DeleteBranch_Handler, }, { MethodName: "CreateBranch", Handler: _GitService_CreateBranch_Handler, }, { MethodName: "CheckoutBranch", Handler: _GitService_CheckoutBranch_Handler, }, { MethodName: "GetRepo", Handler: _GitService_GetRepo_Handler, }, { MethodName: "GetCommitFiles", Handler: _GitService_GetCommitFiles_Handler, }, { MethodName: "CloneRepo", Handler: _GitService_CloneRepo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service_git_service.proto", }
GitService_ServiceDesc is the grpc.ServiceDesc for GitService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGitServiceServer ¶
func RegisterGitServiceServer(s grpc.ServiceRegistrar, srv GitServiceServer)
Types ¶
type AppFile ¶
type AppFile struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` Mode int32 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"` ModeTime string `protobuf:"bytes,4,opt,name=modeTime,proto3" json:"modeTime,omitempty"` CTime string `protobuf:"bytes,5,opt,name=cTime,proto3" json:"cTime,omitempty"` // contains filtered or unexported fields }
func (*AppFile) Descriptor
deprecated
func (*AppFile) GetContent ¶
func (*AppFile) GetModeTime ¶
func (*AppFile) ProtoMessage ¶
func (*AppFile) ProtoMessage()
func (*AppFile) ProtoReflect ¶
func (x *AppFile) ProtoReflect() protoreflect.Message
type Branch ¶
type Branch struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CommitId string `protobuf:"bytes,2,opt,name=commitId,proto3" json:"commitId,omitempty"` // contains filtered or unexported fields }
func (*Branch) Descriptor
deprecated
func (*Branch) GetCommitId ¶
func (*Branch) ProtoMessage ¶
func (*Branch) ProtoMessage()
func (*Branch) ProtoReflect ¶
func (x *Branch) ProtoReflect() protoreflect.Message
type CheckoutBranchRequest ¶
type CheckoutBranchRequest struct { RepoId string `protobuf:"bytes,1,opt,name=repoId,proto3" json:"repoId,omitempty"` BranchName string `protobuf:"bytes,2,opt,name=branchName,proto3" json:"branchName,omitempty"` // contains filtered or unexported fields }
func (*CheckoutBranchRequest) Descriptor
deprecated
func (*CheckoutBranchRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckoutBranchRequest.ProtoReflect.Descriptor instead.
func (*CheckoutBranchRequest) GetBranchName ¶
func (x *CheckoutBranchRequest) GetBranchName() string
func (*CheckoutBranchRequest) GetRepoId ¶
func (x *CheckoutBranchRequest) GetRepoId() string
func (*CheckoutBranchRequest) ProtoMessage ¶
func (*CheckoutBranchRequest) ProtoMessage()
func (*CheckoutBranchRequest) ProtoReflect ¶
func (x *CheckoutBranchRequest) ProtoReflect() protoreflect.Message
func (*CheckoutBranchRequest) Reset ¶
func (x *CheckoutBranchRequest) Reset()
func (*CheckoutBranchRequest) String ¶
func (x *CheckoutBranchRequest) String() string
type CheckoutBranchResponse ¶
type CheckoutBranchResponse struct { Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*CheckoutBranchResponse) Descriptor
deprecated
func (*CheckoutBranchResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckoutBranchResponse.ProtoReflect.Descriptor instead.
func (*CheckoutBranchResponse) GetMessage ¶
func (x *CheckoutBranchResponse) GetMessage() string
func (*CheckoutBranchResponse) ProtoMessage ¶
func (*CheckoutBranchResponse) ProtoMessage()
func (*CheckoutBranchResponse) ProtoReflect ¶
func (x *CheckoutBranchResponse) ProtoReflect() protoreflect.Message
func (*CheckoutBranchResponse) Reset ¶
func (x *CheckoutBranchResponse) Reset()
func (*CheckoutBranchResponse) String ¶
func (x *CheckoutBranchResponse) String() string
type CloneRepoRequest ¶
type CloneRepoRequest struct { SourceRepoId string `protobuf:"bytes,1,opt,name=sourceRepoId,proto3" json:"sourceRepoId,omitempty"` // contains filtered or unexported fields }
Message for CloneRepo request
func (*CloneRepoRequest) Descriptor
deprecated
func (*CloneRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloneRepoRequest.ProtoReflect.Descriptor instead.
func (*CloneRepoRequest) GetSourceRepoId ¶
func (x *CloneRepoRequest) GetSourceRepoId() string
func (*CloneRepoRequest) ProtoMessage ¶
func (*CloneRepoRequest) ProtoMessage()
func (*CloneRepoRequest) ProtoReflect ¶
func (x *CloneRepoRequest) ProtoReflect() protoreflect.Message
func (*CloneRepoRequest) Reset ¶
func (x *CloneRepoRequest) Reset()
func (*CloneRepoRequest) String ¶
func (x *CloneRepoRequest) String() string
type CloneRepoResponse ¶
type CloneRepoResponse struct { Repo *Repo `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` // contains filtered or unexported fields }
Message for CloneRepo response
func (*CloneRepoResponse) Descriptor
deprecated
func (*CloneRepoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CloneRepoResponse.ProtoReflect.Descriptor instead.
func (*CloneRepoResponse) GetRepo ¶
func (x *CloneRepoResponse) GetRepo() *Repo
func (*CloneRepoResponse) ProtoMessage ¶
func (*CloneRepoResponse) ProtoMessage()
func (*CloneRepoResponse) ProtoReflect ¶
func (x *CloneRepoResponse) ProtoReflect() protoreflect.Message
func (*CloneRepoResponse) Reset ¶
func (x *CloneRepoResponse) Reset()
func (*CloneRepoResponse) String ¶
func (x *CloneRepoResponse) String() string
type CommitToRepoRequest ¶
type CommitToRepoRequest struct { RepoId string `protobuf:"bytes,1,opt,name=repoId,proto3" json:"repoId,omitempty"` CommitMessage string `protobuf:"bytes,2,opt,name=commitMessage,proto3" json:"commitMessage,omitempty"` // contains filtered or unexported fields }
func (*CommitToRepoRequest) Descriptor
deprecated
func (*CommitToRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitToRepoRequest.ProtoReflect.Descriptor instead.
func (*CommitToRepoRequest) GetCommitMessage ¶
func (x *CommitToRepoRequest) GetCommitMessage() string
func (*CommitToRepoRequest) GetRepoId ¶
func (x *CommitToRepoRequest) GetRepoId() string
func (*CommitToRepoRequest) ProtoMessage ¶
func (*CommitToRepoRequest) ProtoMessage()
func (*CommitToRepoRequest) ProtoReflect ¶
func (x *CommitToRepoRequest) ProtoReflect() protoreflect.Message
func (*CommitToRepoRequest) Reset ¶
func (x *CommitToRepoRequest) Reset()
func (*CommitToRepoRequest) String ¶
func (x *CommitToRepoRequest) String() string
type CommitToRepoResponse ¶
type CommitToRepoResponse struct { Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` CommitHash string `protobuf:"bytes,2,opt,name=commitHash,proto3" json:"commitHash,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` FilesChanged int32 `protobuf:"varint,4,opt,name=filesChanged,proto3" json:"filesChanged,omitempty"` FilesCreated []string `protobuf:"bytes,5,rep,name=filesCreated,proto3" json:"filesCreated,omitempty"` // contains filtered or unexported fields }
func (*CommitToRepoResponse) Descriptor
deprecated
func (*CommitToRepoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitToRepoResponse.ProtoReflect.Descriptor instead.
func (*CommitToRepoResponse) GetBranch ¶
func (x *CommitToRepoResponse) GetBranch() string
func (*CommitToRepoResponse) GetCommitHash ¶
func (x *CommitToRepoResponse) GetCommitHash() string
func (*CommitToRepoResponse) GetFilesChanged ¶
func (x *CommitToRepoResponse) GetFilesChanged() int32
func (*CommitToRepoResponse) GetFilesCreated ¶
func (x *CommitToRepoResponse) GetFilesCreated() []string
func (*CommitToRepoResponse) GetMessage ¶
func (x *CommitToRepoResponse) GetMessage() string
func (*CommitToRepoResponse) ProtoMessage ¶
func (*CommitToRepoResponse) ProtoMessage()
func (*CommitToRepoResponse) ProtoReflect ¶
func (x *CommitToRepoResponse) ProtoReflect() protoreflect.Message
func (*CommitToRepoResponse) Reset ¶
func (x *CommitToRepoResponse) Reset()
func (*CommitToRepoResponse) String ¶
func (x *CommitToRepoResponse) String() string
type CreateBranchRequest ¶
type CreateBranchRequest struct { RepositoryId string `protobuf:"bytes,1,opt,name=repositoryId,proto3" json:"repositoryId,omitempty"` BranchName string `protobuf:"bytes,2,opt,name=branchName,proto3" json:"branchName,omitempty"` CommitId string `protobuf:"bytes,3,opt,name=commitId,proto3" json:"commitId,omitempty"` // contains filtered or unexported fields }
func (*CreateBranchRequest) Descriptor
deprecated
func (*CreateBranchRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBranchRequest.ProtoReflect.Descriptor instead.
func (*CreateBranchRequest) GetBranchName ¶
func (x *CreateBranchRequest) GetBranchName() string
func (*CreateBranchRequest) GetCommitId ¶
func (x *CreateBranchRequest) GetCommitId() string
func (*CreateBranchRequest) GetRepositoryId ¶
func (x *CreateBranchRequest) GetRepositoryId() string
func (*CreateBranchRequest) ProtoMessage ¶
func (*CreateBranchRequest) ProtoMessage()
func (*CreateBranchRequest) ProtoReflect ¶
func (x *CreateBranchRequest) ProtoReflect() protoreflect.Message
func (*CreateBranchRequest) Reset ¶
func (x *CreateBranchRequest) Reset()
func (*CreateBranchRequest) String ¶
func (x *CreateBranchRequest) String() string
type CreateBranchResponse ¶
type CreateBranchResponse struct { BranchId string `protobuf:"bytes,1,opt,name=branchId,proto3" json:"branchId,omitempty"` // contains filtered or unexported fields }
func (*CreateBranchResponse) Descriptor
deprecated
func (*CreateBranchResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBranchResponse.ProtoReflect.Descriptor instead.
func (*CreateBranchResponse) GetBranchId ¶
func (x *CreateBranchResponse) GetBranchId() string
func (*CreateBranchResponse) ProtoMessage ¶
func (*CreateBranchResponse) ProtoMessage()
func (*CreateBranchResponse) ProtoReflect ¶
func (x *CreateBranchResponse) ProtoReflect() protoreflect.Message
func (*CreateBranchResponse) Reset ¶
func (x *CreateBranchResponse) Reset()
func (*CreateBranchResponse) String ¶
func (x *CreateBranchResponse) String() string
type CreateRepoRequest ¶
type CreateRepoRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*CreateRepoRequest) Descriptor
deprecated
func (*CreateRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepoRequest.ProtoReflect.Descriptor instead.
func (*CreateRepoRequest) GetDescription ¶
func (x *CreateRepoRequest) GetDescription() string
func (*CreateRepoRequest) GetName ¶
func (x *CreateRepoRequest) GetName() string
func (*CreateRepoRequest) ProtoMessage ¶
func (*CreateRepoRequest) ProtoMessage()
func (*CreateRepoRequest) ProtoReflect ¶
func (x *CreateRepoRequest) ProtoReflect() protoreflect.Message
func (*CreateRepoRequest) Reset ¶
func (x *CreateRepoRequest) Reset()
func (*CreateRepoRequest) String ¶
func (x *CreateRepoRequest) String() string
type CreateRepoResponse ¶
type CreateRepoResponse struct { Repo *Repo `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` // contains filtered or unexported fields }
func (*CreateRepoResponse) Descriptor
deprecated
func (*CreateRepoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepoResponse.ProtoReflect.Descriptor instead.
func (*CreateRepoResponse) GetRepo ¶
func (x *CreateRepoResponse) GetRepo() *Repo
func (*CreateRepoResponse) ProtoMessage ¶
func (*CreateRepoResponse) ProtoMessage()
func (*CreateRepoResponse) ProtoReflect ¶
func (x *CreateRepoResponse) ProtoReflect() protoreflect.Message
func (*CreateRepoResponse) Reset ¶
func (x *CreateRepoResponse) Reset()
func (*CreateRepoResponse) String ¶
func (x *CreateRepoResponse) String() string
type DeleteBranchRequest ¶
type DeleteBranchRequest struct { BranchName string `protobuf:"bytes,1,opt,name=branchName,proto3" json:"branchName,omitempty"` RepoId string `protobuf:"bytes,2,opt,name=repoId,proto3" json:"repoId,omitempty"` // contains filtered or unexported fields }
func (*DeleteBranchRequest) Descriptor
deprecated
func (*DeleteBranchRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBranchRequest.ProtoReflect.Descriptor instead.
func (*DeleteBranchRequest) GetBranchName ¶
func (x *DeleteBranchRequest) GetBranchName() string
func (*DeleteBranchRequest) GetRepoId ¶
func (x *DeleteBranchRequest) GetRepoId() string
func (*DeleteBranchRequest) ProtoMessage ¶
func (*DeleteBranchRequest) ProtoMessage()
func (*DeleteBranchRequest) ProtoReflect ¶
func (x *DeleteBranchRequest) ProtoReflect() protoreflect.Message
func (*DeleteBranchRequest) Reset ¶
func (x *DeleteBranchRequest) Reset()
func (*DeleteBranchRequest) String ¶
func (x *DeleteBranchRequest) String() string
type DeleteBranchResponse ¶
type DeleteBranchResponse struct { BranchId string `protobuf:"bytes,1,opt,name=branchId,proto3" json:"branchId,omitempty"` // contains filtered or unexported fields }
func (*DeleteBranchResponse) Descriptor
deprecated
func (*DeleteBranchResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBranchResponse.ProtoReflect.Descriptor instead.
func (*DeleteBranchResponse) GetBranchId ¶
func (x *DeleteBranchResponse) GetBranchId() string
func (*DeleteBranchResponse) ProtoMessage ¶
func (*DeleteBranchResponse) ProtoMessage()
func (*DeleteBranchResponse) ProtoReflect ¶
func (x *DeleteBranchResponse) ProtoReflect() protoreflect.Message
func (*DeleteBranchResponse) Reset ¶
func (x *DeleteBranchResponse) Reset()
func (*DeleteBranchResponse) String ¶
func (x *DeleteBranchResponse) String() string
type EntryInfo ¶
type EntryInfo struct { ModTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=mod_time,json=modTime,proto3" json:"mod_time,omitempty"` Ctime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ctime,proto3" json:"ctime,omitempty"` Size int32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // Assuming size fits within int32 // contains filtered or unexported fields }
func (*EntryInfo) Descriptor
deprecated
func (*EntryInfo) GetCtime ¶
func (x *EntryInfo) GetCtime() *timestamppb.Timestamp
func (*EntryInfo) GetModTime ¶
func (x *EntryInfo) GetModTime() *timestamppb.Timestamp
func (*EntryInfo) ProtoMessage ¶
func (*EntryInfo) ProtoMessage()
func (*EntryInfo) ProtoReflect ¶
func (x *EntryInfo) ProtoReflect() protoreflect.Message
type File ¶
type File struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` Mode FileMode `protobuf:"varint,3,opt,name=mode,proto3,enum=ggs.FileMode" json:"mode,omitempty"` ModeTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=mode_time,json=modeTime,proto3" json:"mode_time,omitempty"` CTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=c_time,json=cTime,proto3" json:"c_time,omitempty"` // contains filtered or unexported fields }
func (*File) Descriptor
deprecated
func (*File) GetCTime ¶
func (x *File) GetCTime() *timestamppb.Timestamp
func (*File) GetContent ¶
func (*File) GetModeTime ¶
func (x *File) GetModeTime() *timestamppb.Timestamp
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type FileMode ¶
type FileMode int32
func (FileMode) Descriptor ¶
func (FileMode) Descriptor() protoreflect.EnumDescriptor
func (FileMode) EnumDescriptor
deprecated
func (FileMode) Number ¶
func (x FileMode) Number() protoreflect.EnumNumber
func (FileMode) Type ¶
func (FileMode) Type() protoreflect.EnumType
type GetBlobRequest ¶
type GetBlobRequest struct { Sha1 string `protobuf:"bytes,1,opt,name=sha1,proto3" json:"sha1,omitempty"` // contains filtered or unexported fields }
func (*GetBlobRequest) Descriptor
deprecated
func (*GetBlobRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlobRequest.ProtoReflect.Descriptor instead.
func (*GetBlobRequest) GetSha1 ¶
func (x *GetBlobRequest) GetSha1() string
func (*GetBlobRequest) ProtoMessage ¶
func (*GetBlobRequest) ProtoMessage()
func (*GetBlobRequest) ProtoReflect ¶
func (x *GetBlobRequest) ProtoReflect() protoreflect.Message
func (*GetBlobRequest) Reset ¶
func (x *GetBlobRequest) Reset()
func (*GetBlobRequest) String ¶
func (x *GetBlobRequest) String() string
type GetBlobResponse ¶
type GetBlobResponse struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*GetBlobResponse) Descriptor
deprecated
func (*GetBlobResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlobResponse.ProtoReflect.Descriptor instead.
func (*GetBlobResponse) GetContent ¶
func (x *GetBlobResponse) GetContent() string
func (*GetBlobResponse) ProtoMessage ¶
func (*GetBlobResponse) ProtoMessage()
func (*GetBlobResponse) ProtoReflect ¶
func (x *GetBlobResponse) ProtoReflect() protoreflect.Message
func (*GetBlobResponse) Reset ¶
func (x *GetBlobResponse) Reset()
func (*GetBlobResponse) String ¶
func (x *GetBlobResponse) String() string
type GetCommitFilesRequest ¶
type GetCommitFilesRequest struct { CommitId string `protobuf:"bytes,1,opt,name=commitId,proto3" json:"commitId,omitempty"` // contains filtered or unexported fields }
func (*GetCommitFilesRequest) Descriptor
deprecated
func (*GetCommitFilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCommitFilesRequest.ProtoReflect.Descriptor instead.
func (*GetCommitFilesRequest) GetCommitId ¶
func (x *GetCommitFilesRequest) GetCommitId() string
func (*GetCommitFilesRequest) ProtoMessage ¶
func (*GetCommitFilesRequest) ProtoMessage()
func (*GetCommitFilesRequest) ProtoReflect ¶
func (x *GetCommitFilesRequest) ProtoReflect() protoreflect.Message
func (*GetCommitFilesRequest) Reset ¶
func (x *GetCommitFilesRequest) Reset()
func (*GetCommitFilesRequest) String ¶
func (x *GetCommitFilesRequest) String() string
type GetCommitFilesResponse ¶
type GetCommitFilesResponse struct { Files []*AppFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
func (*GetCommitFilesResponse) Descriptor
deprecated
func (*GetCommitFilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCommitFilesResponse.ProtoReflect.Descriptor instead.
func (*GetCommitFilesResponse) GetFiles ¶
func (x *GetCommitFilesResponse) GetFiles() []*AppFile
func (*GetCommitFilesResponse) ProtoMessage ¶
func (*GetCommitFilesResponse) ProtoMessage()
func (*GetCommitFilesResponse) ProtoReflect ¶
func (x *GetCommitFilesResponse) ProtoReflect() protoreflect.Message
func (*GetCommitFilesResponse) Reset ¶
func (x *GetCommitFilesResponse) Reset()
func (*GetCommitFilesResponse) String ¶
func (x *GetCommitFilesResponse) String() string
type GetRepoRequest ¶
type GetRepoRequest struct { RepoId string `protobuf:"bytes,1,opt,name=repoId,proto3" json:"repoId,omitempty"` // contains filtered or unexported fields }
func (*GetRepoRequest) Descriptor
deprecated
func (*GetRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRepoRequest.ProtoReflect.Descriptor instead.
func (*GetRepoRequest) GetRepoId ¶
func (x *GetRepoRequest) GetRepoId() string
func (*GetRepoRequest) ProtoMessage ¶
func (*GetRepoRequest) ProtoMessage()
func (*GetRepoRequest) ProtoReflect ¶
func (x *GetRepoRequest) ProtoReflect() protoreflect.Message
func (*GetRepoRequest) Reset ¶
func (x *GetRepoRequest) Reset()
func (*GetRepoRequest) String ¶
func (x *GetRepoRequest) String() string
type GetRepoResponse ¶
type GetRepoResponse struct { Repo *Repo `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` // contains filtered or unexported fields }
func (*GetRepoResponse) Descriptor
deprecated
func (*GetRepoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRepoResponse.ProtoReflect.Descriptor instead.
func (*GetRepoResponse) GetRepo ¶
func (x *GetRepoResponse) GetRepo() *Repo
func (*GetRepoResponse) ProtoMessage ¶
func (*GetRepoResponse) ProtoMessage()
func (*GetRepoResponse) ProtoReflect ¶
func (x *GetRepoResponse) ProtoReflect() protoreflect.Message
func (*GetRepoResponse) Reset ¶
func (x *GetRepoResponse) Reset()
func (*GetRepoResponse) String ¶
func (x *GetRepoResponse) String() string
type GitServiceClient ¶
type GitServiceClient interface { CreateRepo(ctx context.Context, in *CreateRepoRequest, opts ...grpc.CallOption) (*CreateRepoResponse, error) GetBlob(ctx context.Context, in *GetBlobRequest, opts ...grpc.CallOption) (*GetBlobResponse, error) StageToRepo(ctx context.Context, in *StageToRepoRequest, opts ...grpc.CallOption) (*StageToRepoResponse, error) UnstageFromRepo(ctx context.Context, in *UnstageFromRepoRequest, opts ...grpc.CallOption) (*UnstageFromRepoResponse, error) CommitToRepo(ctx context.Context, in *CommitToRepoRequest, opts ...grpc.CallOption) (*CommitToRepoResponse, error) ListBranches(ctx context.Context, in *ListBranchesRequest, opts ...grpc.CallOption) (*ListBranchesResponse, error) DeleteBranch(ctx context.Context, in *DeleteBranchRequest, opts ...grpc.CallOption) (*DeleteBranchResponse, error) CreateBranch(ctx context.Context, in *CreateBranchRequest, opts ...grpc.CallOption) (*CreateBranchResponse, error) CheckoutBranch(ctx context.Context, in *CheckoutBranchRequest, opts ...grpc.CallOption) (*CheckoutBranchResponse, error) GetRepo(ctx context.Context, in *GetRepoRequest, opts ...grpc.CallOption) (*GetRepoResponse, error) GetCommitFiles(ctx context.Context, in *GetCommitFilesRequest, opts ...grpc.CallOption) (*GetCommitFilesResponse, error) CloneRepo(ctx context.Context, in *CloneRepoRequest, opts ...grpc.CallOption) (*CloneRepoResponse, error) }
GitServiceClient is the client API for GitService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGitServiceClient ¶
func NewGitServiceClient(cc grpc.ClientConnInterface) GitServiceClient
type GitServiceServer ¶
type GitServiceServer interface { CreateRepo(context.Context, *CreateRepoRequest) (*CreateRepoResponse, error) GetBlob(context.Context, *GetBlobRequest) (*GetBlobResponse, error) StageToRepo(context.Context, *StageToRepoRequest) (*StageToRepoResponse, error) UnstageFromRepo(context.Context, *UnstageFromRepoRequest) (*UnstageFromRepoResponse, error) CommitToRepo(context.Context, *CommitToRepoRequest) (*CommitToRepoResponse, error) ListBranches(context.Context, *ListBranchesRequest) (*ListBranchesResponse, error) DeleteBranch(context.Context, *DeleteBranchRequest) (*DeleteBranchResponse, error) CreateBranch(context.Context, *CreateBranchRequest) (*CreateBranchResponse, error) CheckoutBranch(context.Context, *CheckoutBranchRequest) (*CheckoutBranchResponse, error) GetRepo(context.Context, *GetRepoRequest) (*GetRepoResponse, error) GetCommitFiles(context.Context, *GetCommitFilesRequest) (*GetCommitFilesResponse, error) CloneRepo(context.Context, *CloneRepoRequest) (*CloneRepoResponse, error) }
GitServiceServer is the server API for GitService service. All implementations should embed UnimplementedGitServiceServer for forward compatibility
type Index ¶
type Index struct { Entries []*IndexEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*Index) Descriptor
deprecated
func (*Index) GetEntries ¶
func (x *Index) GetEntries() []*IndexEntry
func (*Index) ProtoMessage ¶
func (*Index) ProtoMessage()
func (*Index) ProtoReflect ¶
func (x *Index) ProtoReflect() protoreflect.Message
type IndexEntry ¶
type IndexEntry struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Mode FileMode `protobuf:"varint,2,opt,name=mode,proto3,enum=ggs.FileMode" json:"mode,omitempty"` Sha1 string `protobuf:"bytes,3,opt,name=sha1,proto3" json:"sha1,omitempty"` Stage int32 `protobuf:"varint,4,opt,name=stage,proto3" json:"stage,omitempty"` Info *EntryInfo `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*IndexEntry) Descriptor
deprecated
func (*IndexEntry) Descriptor() ([]byte, []int)
Deprecated: Use IndexEntry.ProtoReflect.Descriptor instead.
func (*IndexEntry) GetInfo ¶
func (x *IndexEntry) GetInfo() *EntryInfo
func (*IndexEntry) GetMode ¶
func (x *IndexEntry) GetMode() FileMode
func (*IndexEntry) GetPath ¶
func (x *IndexEntry) GetPath() string
func (*IndexEntry) GetSha1 ¶
func (x *IndexEntry) GetSha1() string
func (*IndexEntry) GetStage ¶
func (x *IndexEntry) GetStage() int32
func (*IndexEntry) ProtoMessage ¶
func (*IndexEntry) ProtoMessage()
func (*IndexEntry) ProtoReflect ¶
func (x *IndexEntry) ProtoReflect() protoreflect.Message
func (*IndexEntry) Reset ¶
func (x *IndexEntry) Reset()
func (*IndexEntry) String ¶
func (x *IndexEntry) String() string
type ListBranchesRequest ¶
type ListBranchesRequest struct { RepoId string `protobuf:"bytes,1,opt,name=repoId,proto3" json:"repoId,omitempty"` // contains filtered or unexported fields }
func (*ListBranchesRequest) Descriptor
deprecated
func (*ListBranchesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBranchesRequest.ProtoReflect.Descriptor instead.
func (*ListBranchesRequest) GetRepoId ¶
func (x *ListBranchesRequest) GetRepoId() string
func (*ListBranchesRequest) ProtoMessage ¶
func (*ListBranchesRequest) ProtoMessage()
func (*ListBranchesRequest) ProtoReflect ¶
func (x *ListBranchesRequest) ProtoReflect() protoreflect.Message
func (*ListBranchesRequest) Reset ¶
func (x *ListBranchesRequest) Reset()
func (*ListBranchesRequest) String ¶
func (x *ListBranchesRequest) String() string
type ListBranchesResponse ¶
type ListBranchesResponse struct { Branches []*Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` // contains filtered or unexported fields }
func (*ListBranchesResponse) Descriptor
deprecated
func (*ListBranchesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBranchesResponse.ProtoReflect.Descriptor instead.
func (*ListBranchesResponse) GetBranches ¶
func (x *ListBranchesResponse) GetBranches() []*Branch
func (*ListBranchesResponse) ProtoMessage ¶
func (*ListBranchesResponse) ProtoMessage()
func (*ListBranchesResponse) ProtoReflect ¶
func (x *ListBranchesResponse) ProtoReflect() protoreflect.Message
func (*ListBranchesResponse) Reset ¶
func (x *ListBranchesResponse) Reset()
func (*ListBranchesResponse) String ¶
func (x *ListBranchesResponse) String() string
type Ref ¶
type Ref struct { Heads []*Branch `protobuf:"bytes,1,rep,name=heads,proto3" json:"heads,omitempty"` Tags []*Tag `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*Ref) Descriptor
deprecated
func (*Ref) ProtoMessage ¶
func (*Ref) ProtoMessage()
func (*Ref) ProtoReflect ¶
func (x *Ref) ProtoReflect() protoreflect.Message
type Repo ¶
type Repo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Refs *Ref `protobuf:"bytes,5,opt,name=refs,proto3" json:"refs,omitempty"` Head *Branch `protobuf:"bytes,6,opt,name=head,proto3" json:"head,omitempty"` Index *Index `protobuf:"bytes,7,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*Repo) Descriptor
deprecated
func (*Repo) GetDescription ¶
func (*Repo) ProtoMessage ¶
func (*Repo) ProtoMessage()
func (*Repo) ProtoReflect ¶
func (x *Repo) ProtoReflect() protoreflect.Message
type StageToRepoRequest ¶
type StageToRepoRequest struct { RepoId string `protobuf:"bytes,1,opt,name=repoId,proto3" json:"repoId,omitempty"` Files []*AppFile `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
func (*StageToRepoRequest) Descriptor
deprecated
func (*StageToRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use StageToRepoRequest.ProtoReflect.Descriptor instead.
func (*StageToRepoRequest) GetFiles ¶
func (x *StageToRepoRequest) GetFiles() []*AppFile
func (*StageToRepoRequest) GetRepoId ¶
func (x *StageToRepoRequest) GetRepoId() string
func (*StageToRepoRequest) ProtoMessage ¶
func (*StageToRepoRequest) ProtoMessage()
func (*StageToRepoRequest) ProtoReflect ¶
func (x *StageToRepoRequest) ProtoReflect() protoreflect.Message
func (*StageToRepoRequest) Reset ¶
func (x *StageToRepoRequest) Reset()
func (*StageToRepoRequest) String ¶
func (x *StageToRepoRequest) String() string
type StageToRepoResponse ¶
type StageToRepoResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*StageToRepoResponse) Descriptor
deprecated
func (*StageToRepoResponse) Descriptor() ([]byte, []int)
Deprecated: Use StageToRepoResponse.ProtoReflect.Descriptor instead.
func (*StageToRepoResponse) GetMessage ¶
func (x *StageToRepoResponse) GetMessage() string
func (*StageToRepoResponse) ProtoMessage ¶
func (*StageToRepoResponse) ProtoMessage()
func (*StageToRepoResponse) ProtoReflect ¶
func (x *StageToRepoResponse) ProtoReflect() protoreflect.Message
func (*StageToRepoResponse) Reset ¶
func (x *StageToRepoResponse) Reset()
func (*StageToRepoResponse) String ¶
func (x *StageToRepoResponse) String() string
type Tag ¶
type Tag struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CommitId string `protobuf:"bytes,2,opt,name=commitId,proto3" json:"commitId,omitempty"` // contains filtered or unexported fields }
func (*Tag) Descriptor
deprecated
func (*Tag) GetCommitId ¶
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
type UnimplementedGitServiceServer ¶
type UnimplementedGitServiceServer struct { }
UnimplementedGitServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedGitServiceServer) CheckoutBranch ¶
func (UnimplementedGitServiceServer) CheckoutBranch(context.Context, *CheckoutBranchRequest) (*CheckoutBranchResponse, error)
func (UnimplementedGitServiceServer) CloneRepo ¶
func (UnimplementedGitServiceServer) CloneRepo(context.Context, *CloneRepoRequest) (*CloneRepoResponse, error)
func (UnimplementedGitServiceServer) CommitToRepo ¶
func (UnimplementedGitServiceServer) CommitToRepo(context.Context, *CommitToRepoRequest) (*CommitToRepoResponse, error)
func (UnimplementedGitServiceServer) CreateBranch ¶
func (UnimplementedGitServiceServer) CreateBranch(context.Context, *CreateBranchRequest) (*CreateBranchResponse, error)
func (UnimplementedGitServiceServer) CreateRepo ¶
func (UnimplementedGitServiceServer) CreateRepo(context.Context, *CreateRepoRequest) (*CreateRepoResponse, error)
func (UnimplementedGitServiceServer) DeleteBranch ¶
func (UnimplementedGitServiceServer) DeleteBranch(context.Context, *DeleteBranchRequest) (*DeleteBranchResponse, error)
func (UnimplementedGitServiceServer) GetBlob ¶
func (UnimplementedGitServiceServer) GetBlob(context.Context, *GetBlobRequest) (*GetBlobResponse, error)
func (UnimplementedGitServiceServer) GetCommitFiles ¶
func (UnimplementedGitServiceServer) GetCommitFiles(context.Context, *GetCommitFilesRequest) (*GetCommitFilesResponse, error)
func (UnimplementedGitServiceServer) GetRepo ¶
func (UnimplementedGitServiceServer) GetRepo(context.Context, *GetRepoRequest) (*GetRepoResponse, error)
func (UnimplementedGitServiceServer) ListBranches ¶
func (UnimplementedGitServiceServer) ListBranches(context.Context, *ListBranchesRequest) (*ListBranchesResponse, error)
func (UnimplementedGitServiceServer) StageToRepo ¶
func (UnimplementedGitServiceServer) StageToRepo(context.Context, *StageToRepoRequest) (*StageToRepoResponse, error)
func (UnimplementedGitServiceServer) UnstageFromRepo ¶
func (UnimplementedGitServiceServer) UnstageFromRepo(context.Context, *UnstageFromRepoRequest) (*UnstageFromRepoResponse, error)
type UnsafeGitServiceServer ¶
type UnsafeGitServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGitServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GitServiceServer will result in compilation errors.
type UnstageFromRepoRequest ¶
type UnstageFromRepoRequest struct { RepoId string `protobuf:"bytes,1,opt,name=repo_id,json=repoId,proto3" json:"repo_id,omitempty"` FilePath []string `protobuf:"bytes,2,rep,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` // contains filtered or unexported fields }
func (*UnstageFromRepoRequest) Descriptor
deprecated
func (*UnstageFromRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnstageFromRepoRequest.ProtoReflect.Descriptor instead.
func (*UnstageFromRepoRequest) GetFilePath ¶
func (x *UnstageFromRepoRequest) GetFilePath() []string
func (*UnstageFromRepoRequest) GetRepoId ¶
func (x *UnstageFromRepoRequest) GetRepoId() string
func (*UnstageFromRepoRequest) ProtoMessage ¶
func (*UnstageFromRepoRequest) ProtoMessage()
func (*UnstageFromRepoRequest) ProtoReflect ¶
func (x *UnstageFromRepoRequest) ProtoReflect() protoreflect.Message
func (*UnstageFromRepoRequest) Reset ¶
func (x *UnstageFromRepoRequest) Reset()
func (*UnstageFromRepoRequest) String ¶
func (x *UnstageFromRepoRequest) String() string
type UnstageFromRepoResponse ¶
type UnstageFromRepoResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*UnstageFromRepoResponse) Descriptor
deprecated
func (*UnstageFromRepoResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnstageFromRepoResponse.ProtoReflect.Descriptor instead.
func (*UnstageFromRepoResponse) GetMessage ¶
func (x *UnstageFromRepoResponse) GetMessage() string
func (*UnstageFromRepoResponse) ProtoMessage ¶
func (*UnstageFromRepoResponse) ProtoMessage()
func (*UnstageFromRepoResponse) ProtoReflect ¶
func (x *UnstageFromRepoResponse) ProtoReflect() protoreflect.Message
func (*UnstageFromRepoResponse) Reset ¶
func (x *UnstageFromRepoResponse) Reset()
func (*UnstageFromRepoResponse) String ¶
func (x *UnstageFromRepoResponse) String() string
Source Files ¶
- repo.pb.go
- rpc_checkout_branch.pb.go
- rpc_clone_repo.pb.go
- rpc_commit_repo.pb.go
- rpc_create_branch.pb.go
- rpc_create_repo.pb.go
- rpc_delete_branch.pb.go
- rpc_get_blob.pb.go
- rpc_get_commit_files.pb.go
- rpc_get_repo.pb.go
- rpc_list_branch.pb.go
- rpc_stage_repo.pb.go
- rpc_unstage_repo.pb.go
- service_git_service.pb.go
- service_git_service_grpc.pb.go