Documentation ¶
Index ¶
- Variables
- func Clone(ctx context.Context, appId, installationId int64, ...) error
- func InitObjectStorageRepository(ctx context.Context, b ObjectStorageInterface, url, prefix string, ...) (*git.Repository, error)
- func RegisterGitDataServer(s *grpc.Server, srv GitDataServer)
- type Commit
- func (*Commit) Descriptor() ([]byte, []int)deprecated
- func (x *Commit) GetAuthor() *Signature
- func (x *Commit) GetCommitter() *Signature
- func (x *Commit) GetMessage() string
- func (x *Commit) GetParents() []string
- func (x *Commit) GetSha() string
- func (x *Commit) GetTree() string
- func (*Commit) ProtoMessage()
- func (x *Commit) ProtoReflect() protoreflect.Message
- func (x *Commit) Reset()
- func (x *Commit) String() string
- type DataService
- func (g *DataService) GetBlob(_ context.Context, req *RequestGetBlob) (*ResponseGetBlob, error)
- func (g *DataService) GetCommit(_ context.Context, req *RequestGetCommit) (*ResponseGetCommit, error)
- func (g *DataService) GetFile(_ context.Context, req *RequestGetFile) (*ResponseGetFile, error)
- func (g *DataService) GetReference(_ context.Context, req *RequestGetReference) (*ResponseGetReference, error)
- func (g *DataService) GetRepository(_ context.Context, req *RequestGetRepository) (*ResponseGetRepository, error)
- func (g *DataService) GetTree(_ context.Context, req *RequestGetTree) (*ResponseGetTree, error)
- func (g *DataService) ListBranch(_ context.Context, req *RequestListBranch) (*ResponseListBranch, error)
- func (g *DataService) ListReferences(_ context.Context, req *RequestListReferences) (*ResponseListReferences, error)
- func (g *DataService) ListRepositories(_ context.Context, _ *RequestListRepositories) (*ResponseListRepositories, error)
- func (g *DataService) ListTag(_ context.Context, req *RequestListTag) (*ResponseListTag, error)
- func (g *DataService) Stat(_ context.Context, req *RequestStat) (*ResponseStat, error)
- type EncodedObject
- func (e *EncodedObject) Hash() plumbing.Hash
- func (e *EncodedObject) MarshalJSON() ([]byte, error)
- func (e *EncodedObject) Reader() (io.ReadCloser, error)
- func (e *EncodedObject) SetReader(r io.ReadCloser)
- func (e *EncodedObject) SetSize(i int64)
- func (e *EncodedObject) SetType(objectType plumbing.ObjectType)
- func (e *EncodedObject) SetWriter(w *objfile.Writer)
- func (e *EncodedObject) Size() int64
- func (e *EncodedObject) Type() plumbing.ObjectType
- func (e *EncodedObject) UnmarshalJSON(b []byte) error
- func (e *EncodedObject) Writer() (io.WriteCloser, error)
- type GitDataClient
- type GitDataServer
- type ObjectStorageInterface
- type ObjectStorageStorer
- func (b *ObjectStorageStorer) AddAlternate(remote string) error
- func (b *ObjectStorageStorer) CheckAndSetReference(new, old *plumbing.Reference) error
- func (b *ObjectStorageStorer) Config() (*config.Config, error)
- func (b *ObjectStorageStorer) CountLooseRefs() (int, error)
- func (b *ObjectStorageStorer) EnabledCache() bool
- func (b *ObjectStorageStorer) EncodedObject(objectType plumbing.ObjectType, hash plumbing.Hash) (plumbing.EncodedObject, error)
- func (b *ObjectStorageStorer) EncodedObjectSize(hash plumbing.Hash) (int64, error)
- func (b *ObjectStorageStorer) Exist() (bool, error)
- func (b *ObjectStorageStorer) HasEncodedObject(hash plumbing.Hash) error
- func (b *ObjectStorageStorer) IncludePackFile(ctx context.Context) bool
- func (b *ObjectStorageStorer) Index() (*index.Index, error)
- func (b *ObjectStorageStorer) InflatePackFile(ctx context.Context) error
- func (b *ObjectStorageStorer) IterEncodedObjects(objectType plumbing.ObjectType) (storer.EncodedObjectIter, error)
- func (b *ObjectStorageStorer) IterReferences() (storer.ReferenceIter, error)
- func (b *ObjectStorageStorer) Module(name string) (gitStorage.Storer, error)
- func (b *ObjectStorageStorer) NewEncodedObject() plumbing.EncodedObject
- func (b *ObjectStorageStorer) PackRefs() error
- func (b *ObjectStorageStorer) Reference(name plumbing.ReferenceName) (*plumbing.Reference, error)
- func (b *ObjectStorageStorer) RemoveReference(name plumbing.ReferenceName) error
- func (b *ObjectStorageStorer) SetConfig(conf *config.Config) error
- func (b *ObjectStorageStorer) SetEncodedObject(e plumbing.EncodedObject) (plumbing.Hash, error)
- func (b *ObjectStorageStorer) SetIndex(idx *index.Index) error
- func (b *ObjectStorageStorer) SetReference(ref *plumbing.Reference) error
- func (b *ObjectStorageStorer) SetShallow(commits []plumbing.Hash) error
- func (b *ObjectStorageStorer) Shallow() ([]plumbing.Hash, error)
- type Packfile
- type Reference
- func (*Reference) Descriptor() ([]byte, []int)deprecated
- func (x *Reference) GetHash() string
- func (x *Reference) GetName() string
- func (x *Reference) GetTarget() string
- func (*Reference) ProtoMessage()
- func (x *Reference) ProtoReflect() protoreflect.Message
- func (x *Reference) Reset()
- func (x *Reference) String() string
- type Repository
- func (*Repository) Descriptor() ([]byte, []int)deprecated
- func (x *Repository) GetDefaultBranch() string
- func (x *Repository) GetGitUrl() string
- func (x *Repository) GetName() string
- func (x *Repository) GetUrl() string
- func (*Repository) ProtoMessage()
- func (x *Repository) ProtoReflect() protoreflect.Message
- func (x *Repository) Reset()
- func (x *Repository) String() string
- type RequestGetBlob
- func (*RequestGetBlob) Descriptor() ([]byte, []int)deprecated
- func (x *RequestGetBlob) GetRepo() string
- func (x *RequestGetBlob) GetSha() string
- func (*RequestGetBlob) ProtoMessage()
- func (x *RequestGetBlob) ProtoReflect() protoreflect.Message
- func (x *RequestGetBlob) Reset()
- func (x *RequestGetBlob) String() string
- type RequestGetCommit
- func (*RequestGetCommit) Descriptor() ([]byte, []int)deprecated
- func (x *RequestGetCommit) GetRef() string
- func (x *RequestGetCommit) GetRepo() string
- func (x *RequestGetCommit) GetSha() string
- func (*RequestGetCommit) ProtoMessage()
- func (x *RequestGetCommit) ProtoReflect() protoreflect.Message
- func (x *RequestGetCommit) Reset()
- func (x *RequestGetCommit) String() string
- type RequestGetFile
- func (*RequestGetFile) Descriptor() ([]byte, []int)deprecated
- func (x *RequestGetFile) GetPath() string
- func (x *RequestGetFile) GetRef() string
- func (x *RequestGetFile) GetRepo() string
- func (*RequestGetFile) ProtoMessage()
- func (x *RequestGetFile) ProtoReflect() protoreflect.Message
- func (x *RequestGetFile) Reset()
- func (x *RequestGetFile) String() string
- type RequestGetReference
- func (*RequestGetReference) Descriptor() ([]byte, []int)deprecated
- func (x *RequestGetReference) GetRef() string
- func (x *RequestGetReference) GetRepo() string
- func (*RequestGetReference) ProtoMessage()
- func (x *RequestGetReference) ProtoReflect() protoreflect.Message
- func (x *RequestGetReference) Reset()
- func (x *RequestGetReference) String() string
- type RequestGetRepository
- func (*RequestGetRepository) Descriptor() ([]byte, []int)deprecated
- func (x *RequestGetRepository) GetRepo() string
- func (*RequestGetRepository) ProtoMessage()
- func (x *RequestGetRepository) ProtoReflect() protoreflect.Message
- func (x *RequestGetRepository) Reset()
- func (x *RequestGetRepository) String() string
- type RequestGetTree
- func (*RequestGetTree) Descriptor() ([]byte, []int)deprecated
- func (x *RequestGetTree) GetPath() string
- func (x *RequestGetTree) GetRecursive() bool
- func (x *RequestGetTree) GetRef() string
- func (x *RequestGetTree) GetRepo() string
- func (x *RequestGetTree) GetSha() string
- func (*RequestGetTree) ProtoMessage()
- func (x *RequestGetTree) ProtoReflect() protoreflect.Message
- func (x *RequestGetTree) Reset()
- func (x *RequestGetTree) String() string
- type RequestListBranch
- type RequestListReferences
- func (*RequestListReferences) Descriptor() ([]byte, []int)deprecated
- func (x *RequestListReferences) GetRepo() string
- func (*RequestListReferences) ProtoMessage()
- func (x *RequestListReferences) ProtoReflect() protoreflect.Message
- func (x *RequestListReferences) Reset()
- func (x *RequestListReferences) String() string
- type RequestListRepositories
- type RequestListTag
- type RequestStat
- func (*RequestStat) Descriptor() ([]byte, []int)deprecated
- func (x *RequestStat) GetPath() string
- func (x *RequestStat) GetRef() string
- func (x *RequestStat) GetRepo() string
- func (*RequestStat) ProtoMessage()
- func (x *RequestStat) ProtoReflect() protoreflect.Message
- func (x *RequestStat) Reset()
- func (x *RequestStat) String() string
- type ResponseGetBlob
- func (*ResponseGetBlob) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseGetBlob) GetContent() []byte
- func (x *ResponseGetBlob) GetSha() string
- func (x *ResponseGetBlob) GetSize() int64
- func (*ResponseGetBlob) ProtoMessage()
- func (x *ResponseGetBlob) ProtoReflect() protoreflect.Message
- func (x *ResponseGetBlob) Reset()
- func (x *ResponseGetBlob) String() string
- type ResponseGetCommit
- type ResponseGetFile
- func (*ResponseGetFile) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseGetFile) GetContent() []byte
- func (x *ResponseGetFile) GetEditUrl() string
- func (x *ResponseGetFile) GetRawUrl() string
- func (x *ResponseGetFile) GetSha() string
- func (*ResponseGetFile) ProtoMessage()
- func (x *ResponseGetFile) ProtoReflect() protoreflect.Message
- func (x *ResponseGetFile) Reset()
- func (x *ResponseGetFile) String() string
- type ResponseGetReference
- func (*ResponseGetReference) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseGetReference) GetRef() *Reference
- func (*ResponseGetReference) ProtoMessage()
- func (x *ResponseGetReference) ProtoReflect() protoreflect.Message
- func (x *ResponseGetReference) Reset()
- func (x *ResponseGetReference) String() string
- type ResponseGetRepository
- func (*ResponseGetRepository) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseGetRepository) GetHosting() string
- func (x *ResponseGetRepository) GetName() string
- func (x *ResponseGetRepository) GetUrl() string
- func (*ResponseGetRepository) ProtoMessage()
- func (x *ResponseGetRepository) ProtoReflect() protoreflect.Message
- func (x *ResponseGetRepository) Reset()
- func (x *ResponseGetRepository) String() string
- type ResponseGetTree
- func (*ResponseGetTree) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseGetTree) GetSha() string
- func (x *ResponseGetTree) GetTree() []*TreeEntry
- func (*ResponseGetTree) ProtoMessage()
- func (x *ResponseGetTree) ProtoReflect() protoreflect.Message
- func (x *ResponseGetTree) Reset()
- func (x *ResponseGetTree) String() string
- type ResponseListBranch
- func (*ResponseListBranch) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseListBranch) GetBranches() []*Reference
- func (*ResponseListBranch) ProtoMessage()
- func (x *ResponseListBranch) ProtoReflect() protoreflect.Message
- func (x *ResponseListBranch) Reset()
- func (x *ResponseListBranch) String() string
- type ResponseListReferences
- func (*ResponseListReferences) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseListReferences) GetRefs() []*Reference
- func (*ResponseListReferences) ProtoMessage()
- func (x *ResponseListReferences) ProtoReflect() protoreflect.Message
- func (x *ResponseListReferences) Reset()
- func (x *ResponseListReferences) String() string
- type ResponseListRepositories
- func (*ResponseListRepositories) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseListRepositories) GetRepositories() []*Repository
- func (*ResponseListRepositories) ProtoMessage()
- func (x *ResponseListRepositories) ProtoReflect() protoreflect.Message
- func (x *ResponseListRepositories) Reset()
- func (x *ResponseListRepositories) String() string
- type ResponseListTag
- type ResponseStat
- func (*ResponseStat) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseStat) GetHash() string
- func (x *ResponseStat) GetMode() uint32
- func (x *ResponseStat) GetName() string
- func (*ResponseStat) ProtoMessage()
- func (x *ResponseStat) ProtoReflect() protoreflect.Message
- func (x *ResponseStat) Reset()
- func (x *ResponseStat) String() string
- type Signature
- func (*Signature) Descriptor() ([]byte, []int)deprecated
- func (x *Signature) GetEmail() string
- func (x *Signature) GetName() string
- func (x *Signature) GetWhen() *timestamppb.Timestamp
- func (*Signature) ProtoMessage()
- func (x *Signature) ProtoReflect() protoreflect.Message
- func (x *Signature) Reset()
- func (x *Signature) String() string
- type TreeEntry
- func (*TreeEntry) Descriptor() ([]byte, []int)deprecated
- func (x *TreeEntry) GetMode() string
- func (x *TreeEntry) GetPath() string
- func (x *TreeEntry) GetSha() string
- func (x *TreeEntry) GetSize() int64
- func (*TreeEntry) ProtoMessage()
- func (x *TreeEntry) ProtoReflect() protoreflect.Message
- func (x *TreeEntry) Reset()
- func (x *TreeEntry) String() string
- type UnimplementedGitDataServer
- func (*UnimplementedGitDataServer) GetBlob(context.Context, *RequestGetBlob) (*ResponseGetBlob, error)
- func (*UnimplementedGitDataServer) GetCommit(context.Context, *RequestGetCommit) (*ResponseGetCommit, error)
- func (*UnimplementedGitDataServer) GetFile(context.Context, *RequestGetFile) (*ResponseGetFile, error)
- func (*UnimplementedGitDataServer) GetReference(context.Context, *RequestGetReference) (*ResponseGetReference, error)
- func (*UnimplementedGitDataServer) GetRepository(context.Context, *RequestGetRepository) (*ResponseGetRepository, error)
- func (*UnimplementedGitDataServer) GetTree(context.Context, *RequestGetTree) (*ResponseGetTree, error)
- func (*UnimplementedGitDataServer) ListBranch(context.Context, *RequestListBranch) (*ResponseListBranch, error)
- func (*UnimplementedGitDataServer) ListReferences(context.Context, *RequestListReferences) (*ResponseListReferences, error)
- func (*UnimplementedGitDataServer) ListRepositories(context.Context, *RequestListRepositories) (*ResponseListRepositories, error)
- func (*UnimplementedGitDataServer) ListTag(context.Context, *RequestListTag) (*ResponseListTag, error)
- func (*UnimplementedGitDataServer) Stat(context.Context, *RequestStat) (*ResponseStat, error)
Constants ¶
This section is empty.
Variables ¶
var File_proto_git_data_proto protoreflect.FileDescriptor
Functions ¶
func RegisterGitDataServer ¶
func RegisterGitDataServer(s *grpc.Server, srv GitDataServer)
Types ¶
type Commit ¶
type Commit struct { Sha string `protobuf:"bytes,1,opt,name=sha,proto3" json:"sha,omitempty"` Author *Signature `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` Committer *Signature `protobuf:"bytes,3,opt,name=committer,proto3" json:"committer,omitempty"` Tree string `protobuf:"bytes,4,opt,name=tree,proto3" json:"tree,omitempty"` Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` Parents []string `protobuf:"bytes,6,rep,name=parents,proto3" json:"parents,omitempty"` // contains filtered or unexported fields }
func (*Commit) Descriptor
deprecated
func (*Commit) GetCommitter ¶
func (*Commit) GetMessage ¶
func (*Commit) GetParents ¶
func (*Commit) ProtoMessage ¶
func (*Commit) ProtoMessage()
func (*Commit) ProtoReflect ¶
func (x *Commit) ProtoReflect() protoreflect.Message
type DataService ¶
type DataService struct {
// contains filtered or unexported fields
}
func NewDataService ¶
func NewDataService(repo map[string]*goGit.Repository) (*DataService, error)
func (*DataService) GetBlob ¶
func (g *DataService) GetBlob(_ context.Context, req *RequestGetBlob) (*ResponseGetBlob, error)
func (*DataService) GetCommit ¶
func (g *DataService) GetCommit(_ context.Context, req *RequestGetCommit) (*ResponseGetCommit, error)
func (*DataService) GetFile ¶
func (g *DataService) GetFile(_ context.Context, req *RequestGetFile) (*ResponseGetFile, error)
func (*DataService) GetReference ¶
func (g *DataService) GetReference(_ context.Context, req *RequestGetReference) (*ResponseGetReference, error)
func (*DataService) GetRepository ¶
func (g *DataService) GetRepository(_ context.Context, req *RequestGetRepository) (*ResponseGetRepository, error)
func (*DataService) GetTree ¶
func (g *DataService) GetTree(_ context.Context, req *RequestGetTree) (*ResponseGetTree, error)
func (*DataService) ListBranch ¶
func (g *DataService) ListBranch(_ context.Context, req *RequestListBranch) (*ResponseListBranch, error)
func (*DataService) ListReferences ¶
func (g *DataService) ListReferences(_ context.Context, req *RequestListReferences) (*ResponseListReferences, error)
func (*DataService) ListRepositories ¶
func (g *DataService) ListRepositories(_ context.Context, _ *RequestListRepositories) (*ResponseListRepositories, error)
func (*DataService) ListTag ¶
func (g *DataService) ListTag(_ context.Context, req *RequestListTag) (*ResponseListTag, error)
func (*DataService) Stat ¶
func (g *DataService) Stat(_ context.Context, req *RequestStat) (*ResponseStat, error)
type EncodedObject ¶
type EncodedObject struct {
// contains filtered or unexported fields
}
func (*EncodedObject) Hash ¶
func (e *EncodedObject) Hash() plumbing.Hash
func (*EncodedObject) MarshalJSON ¶
func (e *EncodedObject) MarshalJSON() ([]byte, error)
func (*EncodedObject) Reader ¶
func (e *EncodedObject) Reader() (io.ReadCloser, error)
func (*EncodedObject) SetReader ¶
func (e *EncodedObject) SetReader(r io.ReadCloser)
func (*EncodedObject) SetSize ¶
func (e *EncodedObject) SetSize(i int64)
func (*EncodedObject) SetType ¶
func (e *EncodedObject) SetType(objectType plumbing.ObjectType)
func (*EncodedObject) SetWriter ¶
func (e *EncodedObject) SetWriter(w *objfile.Writer)
func (*EncodedObject) Size ¶
func (e *EncodedObject) Size() int64
func (*EncodedObject) Type ¶
func (e *EncodedObject) Type() plumbing.ObjectType
func (*EncodedObject) UnmarshalJSON ¶
func (e *EncodedObject) UnmarshalJSON(b []byte) error
func (*EncodedObject) Writer ¶
func (e *EncodedObject) Writer() (io.WriteCloser, error)
type GitDataClient ¶
type GitDataClient interface { ListRepositories(ctx context.Context, in *RequestListRepositories, opts ...grpc.CallOption) (*ResponseListRepositories, error) ListReferences(ctx context.Context, in *RequestListReferences, opts ...grpc.CallOption) (*ResponseListReferences, error) GetRepository(ctx context.Context, in *RequestGetRepository, opts ...grpc.CallOption) (*ResponseGetRepository, error) GetReference(ctx context.Context, in *RequestGetReference, opts ...grpc.CallOption) (*ResponseGetReference, error) GetCommit(ctx context.Context, in *RequestGetCommit, opts ...grpc.CallOption) (*ResponseGetCommit, error) GetTree(ctx context.Context, in *RequestGetTree, opts ...grpc.CallOption) (*ResponseGetTree, error) GetBlob(ctx context.Context, in *RequestGetBlob, opts ...grpc.CallOption) (*ResponseGetBlob, error) GetFile(ctx context.Context, in *RequestGetFile, opts ...grpc.CallOption) (*ResponseGetFile, error) Stat(ctx context.Context, in *RequestStat, opts ...grpc.CallOption) (*ResponseStat, error) ListTag(ctx context.Context, in *RequestListTag, opts ...grpc.CallOption) (*ResponseListTag, error) ListBranch(ctx context.Context, in *RequestListBranch, opts ...grpc.CallOption) (*ResponseListBranch, error) }
GitDataClient is the client API for GitData service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGitDataClient ¶
func NewGitDataClient(cc grpc.ClientConnInterface) GitDataClient
type GitDataServer ¶
type GitDataServer interface { ListRepositories(context.Context, *RequestListRepositories) (*ResponseListRepositories, error) ListReferences(context.Context, *RequestListReferences) (*ResponseListReferences, error) GetRepository(context.Context, *RequestGetRepository) (*ResponseGetRepository, error) GetReference(context.Context, *RequestGetReference) (*ResponseGetReference, error) GetCommit(context.Context, *RequestGetCommit) (*ResponseGetCommit, error) GetTree(context.Context, *RequestGetTree) (*ResponseGetTree, error) GetBlob(context.Context, *RequestGetBlob) (*ResponseGetBlob, error) GetFile(context.Context, *RequestGetFile) (*ResponseGetFile, error) Stat(context.Context, *RequestStat) (*ResponseStat, error) ListTag(context.Context, *RequestListTag) (*ResponseListTag, error) ListBranch(context.Context, *RequestListBranch) (*ResponseListBranch, error) }
GitDataServer is the server API for GitData service.
type ObjectStorageInterface ¶
type ObjectStorageStorer ¶
type ObjectStorageStorer struct {
// contains filtered or unexported fields
}
func NewObjectStorageStorer ¶
func NewObjectStorageStorer(b ObjectStorageInterface, rootPath string, cachePool *client.SinglePool) *ObjectStorageStorer
func (*ObjectStorageStorer) AddAlternate ¶
func (b *ObjectStorageStorer) AddAlternate(remote string) error
func (*ObjectStorageStorer) CheckAndSetReference ¶
func (b *ObjectStorageStorer) CheckAndSetReference(new, old *plumbing.Reference) error
func (*ObjectStorageStorer) CountLooseRefs ¶
func (b *ObjectStorageStorer) CountLooseRefs() (int, error)
func (*ObjectStorageStorer) EnabledCache ¶
func (b *ObjectStorageStorer) EnabledCache() bool
func (*ObjectStorageStorer) EncodedObject ¶
func (b *ObjectStorageStorer) EncodedObject(objectType plumbing.ObjectType, hash plumbing.Hash) (plumbing.EncodedObject, error)
func (*ObjectStorageStorer) EncodedObjectSize ¶
func (b *ObjectStorageStorer) EncodedObjectSize(hash plumbing.Hash) (int64, error)
func (*ObjectStorageStorer) Exist ¶
func (b *ObjectStorageStorer) Exist() (bool, error)
func (*ObjectStorageStorer) HasEncodedObject ¶
func (b *ObjectStorageStorer) HasEncodedObject(hash plumbing.Hash) error
func (*ObjectStorageStorer) IncludePackFile ¶
func (b *ObjectStorageStorer) IncludePackFile(ctx context.Context) bool
func (*ObjectStorageStorer) InflatePackFile ¶
func (b *ObjectStorageStorer) InflatePackFile(ctx context.Context) error
func (*ObjectStorageStorer) IterEncodedObjects ¶
func (b *ObjectStorageStorer) IterEncodedObjects(objectType plumbing.ObjectType) (storer.EncodedObjectIter, error)
func (*ObjectStorageStorer) IterReferences ¶
func (b *ObjectStorageStorer) IterReferences() (storer.ReferenceIter, error)
func (*ObjectStorageStorer) Module ¶
func (b *ObjectStorageStorer) Module(name string) (gitStorage.Storer, error)
func (*ObjectStorageStorer) NewEncodedObject ¶
func (b *ObjectStorageStorer) NewEncodedObject() plumbing.EncodedObject
func (*ObjectStorageStorer) PackRefs ¶
func (b *ObjectStorageStorer) PackRefs() error
func (*ObjectStorageStorer) Reference ¶
func (b *ObjectStorageStorer) Reference(name plumbing.ReferenceName) (*plumbing.Reference, error)
func (*ObjectStorageStorer) RemoveReference ¶
func (b *ObjectStorageStorer) RemoveReference(name plumbing.ReferenceName) error
func (*ObjectStorageStorer) SetConfig ¶
func (b *ObjectStorageStorer) SetConfig(conf *config.Config) error
func (*ObjectStorageStorer) SetEncodedObject ¶
func (b *ObjectStorageStorer) SetEncodedObject(e plumbing.EncodedObject) (plumbing.Hash, error)
func (*ObjectStorageStorer) SetIndex ¶
func (b *ObjectStorageStorer) SetIndex(idx *index.Index) error
func (*ObjectStorageStorer) SetReference ¶
func (b *ObjectStorageStorer) SetReference(ref *plumbing.Reference) error
func (*ObjectStorageStorer) SetShallow ¶
func (b *ObjectStorageStorer) SetShallow(commits []plumbing.Hash) error
type Packfile ¶
type Packfile struct {
// contains filtered or unexported fields
}
Packfile is a decoder for git's packfile. Ref: https://git-scm.com/docs/pack-format Ref: http://shafiul.github.io/gitbook/7_the_packfile.html
func NewPackfile ¶
type Reference ¶
type Reference struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*Reference) Descriptor
deprecated
func (*Reference) ProtoMessage ¶
func (*Reference) ProtoMessage()
func (*Reference) ProtoReflect ¶
func (x *Reference) ProtoReflect() protoreflect.Message
type Repository ¶
type Repository struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` DefaultBranch string `protobuf:"bytes,2,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` GitUrl string `protobuf:"bytes,4,opt,name=git_url,json=gitUrl,proto3" json:"git_url,omitempty"` // contains filtered or unexported fields }
func (*Repository) Descriptor
deprecated
func (*Repository) Descriptor() ([]byte, []int)
Deprecated: Use Repository.ProtoReflect.Descriptor instead.
func (*Repository) GetDefaultBranch ¶
func (x *Repository) GetDefaultBranch() string
func (*Repository) GetGitUrl ¶
func (x *Repository) GetGitUrl() string
func (*Repository) GetName ¶
func (x *Repository) GetName() string
func (*Repository) GetUrl ¶
func (x *Repository) GetUrl() string
func (*Repository) ProtoMessage ¶
func (*Repository) ProtoMessage()
func (*Repository) ProtoReflect ¶
func (x *Repository) ProtoReflect() protoreflect.Message
func (*Repository) Reset ¶
func (x *Repository) Reset()
func (*Repository) String ¶
func (x *Repository) String() string
type RequestGetBlob ¶
type RequestGetBlob struct { Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"` // contains filtered or unexported fields }
func (*RequestGetBlob) Descriptor
deprecated
func (*RequestGetBlob) Descriptor() ([]byte, []int)
Deprecated: Use RequestGetBlob.ProtoReflect.Descriptor instead.
func (*RequestGetBlob) GetRepo ¶
func (x *RequestGetBlob) GetRepo() string
func (*RequestGetBlob) GetSha ¶
func (x *RequestGetBlob) GetSha() string
func (*RequestGetBlob) ProtoMessage ¶
func (*RequestGetBlob) ProtoMessage()
func (*RequestGetBlob) ProtoReflect ¶
func (x *RequestGetBlob) ProtoReflect() protoreflect.Message
func (*RequestGetBlob) Reset ¶
func (x *RequestGetBlob) Reset()
func (*RequestGetBlob) String ¶
func (x *RequestGetBlob) String() string
type RequestGetCommit ¶
type RequestGetCommit struct { Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"` Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*RequestGetCommit) Descriptor
deprecated
func (*RequestGetCommit) Descriptor() ([]byte, []int)
Deprecated: Use RequestGetCommit.ProtoReflect.Descriptor instead.
func (*RequestGetCommit) GetRef ¶
func (x *RequestGetCommit) GetRef() string
func (*RequestGetCommit) GetRepo ¶
func (x *RequestGetCommit) GetRepo() string
func (*RequestGetCommit) GetSha ¶
func (x *RequestGetCommit) GetSha() string
func (*RequestGetCommit) ProtoMessage ¶
func (*RequestGetCommit) ProtoMessage()
func (*RequestGetCommit) ProtoReflect ¶
func (x *RequestGetCommit) ProtoReflect() protoreflect.Message
func (*RequestGetCommit) Reset ¶
func (x *RequestGetCommit) Reset()
func (*RequestGetCommit) String ¶
func (x *RequestGetCommit) String() string
type RequestGetFile ¶
type RequestGetFile struct { 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"` // contains filtered or unexported fields }
func (*RequestGetFile) Descriptor
deprecated
func (*RequestGetFile) Descriptor() ([]byte, []int)
Deprecated: Use RequestGetFile.ProtoReflect.Descriptor instead.
func (*RequestGetFile) GetPath ¶
func (x *RequestGetFile) GetPath() string
func (*RequestGetFile) GetRef ¶
func (x *RequestGetFile) GetRef() string
func (*RequestGetFile) GetRepo ¶
func (x *RequestGetFile) GetRepo() string
func (*RequestGetFile) ProtoMessage ¶
func (*RequestGetFile) ProtoMessage()
func (*RequestGetFile) ProtoReflect ¶
func (x *RequestGetFile) ProtoReflect() protoreflect.Message
func (*RequestGetFile) Reset ¶
func (x *RequestGetFile) Reset()
func (*RequestGetFile) String ¶
func (x *RequestGetFile) String() string
type RequestGetReference ¶
type RequestGetReference struct { Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*RequestGetReference) Descriptor
deprecated
func (*RequestGetReference) Descriptor() ([]byte, []int)
Deprecated: Use RequestGetReference.ProtoReflect.Descriptor instead.
func (*RequestGetReference) GetRef ¶
func (x *RequestGetReference) GetRef() string
func (*RequestGetReference) GetRepo ¶
func (x *RequestGetReference) GetRepo() string
func (*RequestGetReference) ProtoMessage ¶
func (*RequestGetReference) ProtoMessage()
func (*RequestGetReference) ProtoReflect ¶
func (x *RequestGetReference) ProtoReflect() protoreflect.Message
func (*RequestGetReference) Reset ¶
func (x *RequestGetReference) Reset()
func (*RequestGetReference) String ¶
func (x *RequestGetReference) String() string
type RequestGetRepository ¶
type RequestGetRepository struct { Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` // contains filtered or unexported fields }
func (*RequestGetRepository) Descriptor
deprecated
func (*RequestGetRepository) Descriptor() ([]byte, []int)
Deprecated: Use RequestGetRepository.ProtoReflect.Descriptor instead.
func (*RequestGetRepository) GetRepo ¶
func (x *RequestGetRepository) GetRepo() string
func (*RequestGetRepository) ProtoMessage ¶
func (*RequestGetRepository) ProtoMessage()
func (*RequestGetRepository) ProtoReflect ¶
func (x *RequestGetRepository) ProtoReflect() protoreflect.Message
func (*RequestGetRepository) Reset ¶
func (x *RequestGetRepository) Reset()
func (*RequestGetRepository) String ¶
func (x *RequestGetRepository) String() string
type RequestGetTree ¶
type RequestGetTree struct { Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"` Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Recursive bool `protobuf:"varint,5,opt,name=recursive,proto3" json:"recursive,omitempty"` // contains filtered or unexported fields }
func (*RequestGetTree) Descriptor
deprecated
func (*RequestGetTree) Descriptor() ([]byte, []int)
Deprecated: Use RequestGetTree.ProtoReflect.Descriptor instead.
func (*RequestGetTree) GetPath ¶
func (x *RequestGetTree) GetPath() string
func (*RequestGetTree) GetRecursive ¶
func (x *RequestGetTree) GetRecursive() bool
func (*RequestGetTree) GetRef ¶
func (x *RequestGetTree) GetRef() string
func (*RequestGetTree) GetRepo ¶
func (x *RequestGetTree) GetRepo() string
func (*RequestGetTree) GetSha ¶
func (x *RequestGetTree) GetSha() string
func (*RequestGetTree) ProtoMessage ¶
func (*RequestGetTree) ProtoMessage()
func (*RequestGetTree) ProtoReflect ¶
func (x *RequestGetTree) ProtoReflect() protoreflect.Message
func (*RequestGetTree) Reset ¶
func (x *RequestGetTree) Reset()
func (*RequestGetTree) String ¶
func (x *RequestGetTree) String() string
type RequestListBranch ¶
type RequestListBranch struct { Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` // contains filtered or unexported fields }
func (*RequestListBranch) Descriptor
deprecated
func (*RequestListBranch) Descriptor() ([]byte, []int)
Deprecated: Use RequestListBranch.ProtoReflect.Descriptor instead.
func (*RequestListBranch) GetRepo ¶
func (x *RequestListBranch) GetRepo() string
func (*RequestListBranch) ProtoMessage ¶
func (*RequestListBranch) ProtoMessage()
func (*RequestListBranch) ProtoReflect ¶
func (x *RequestListBranch) ProtoReflect() protoreflect.Message
func (*RequestListBranch) Reset ¶
func (x *RequestListBranch) Reset()
func (*RequestListBranch) String ¶
func (x *RequestListBranch) String() string
type RequestListReferences ¶
type RequestListReferences struct { Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` // contains filtered or unexported fields }
func (*RequestListReferences) Descriptor
deprecated
func (*RequestListReferences) Descriptor() ([]byte, []int)
Deprecated: Use RequestListReferences.ProtoReflect.Descriptor instead.
func (*RequestListReferences) GetRepo ¶
func (x *RequestListReferences) GetRepo() string
func (*RequestListReferences) ProtoMessage ¶
func (*RequestListReferences) ProtoMessage()
func (*RequestListReferences) ProtoReflect ¶
func (x *RequestListReferences) ProtoReflect() protoreflect.Message
func (*RequestListReferences) Reset ¶
func (x *RequestListReferences) Reset()
func (*RequestListReferences) String ¶
func (x *RequestListReferences) String() string
type RequestListRepositories ¶
type RequestListRepositories struct {
// contains filtered or unexported fields
}
func (*RequestListRepositories) Descriptor
deprecated
func (*RequestListRepositories) Descriptor() ([]byte, []int)
Deprecated: Use RequestListRepositories.ProtoReflect.Descriptor instead.
func (*RequestListRepositories) ProtoMessage ¶
func (*RequestListRepositories) ProtoMessage()
func (*RequestListRepositories) ProtoReflect ¶
func (x *RequestListRepositories) ProtoReflect() protoreflect.Message
func (*RequestListRepositories) Reset ¶
func (x *RequestListRepositories) Reset()
func (*RequestListRepositories) String ¶
func (x *RequestListRepositories) String() string
type RequestListTag ¶
type RequestListTag struct { Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` // contains filtered or unexported fields }
func (*RequestListTag) Descriptor
deprecated
func (*RequestListTag) Descriptor() ([]byte, []int)
Deprecated: Use RequestListTag.ProtoReflect.Descriptor instead.
func (*RequestListTag) GetRepo ¶
func (x *RequestListTag) GetRepo() string
func (*RequestListTag) ProtoMessage ¶
func (*RequestListTag) ProtoMessage()
func (*RequestListTag) ProtoReflect ¶
func (x *RequestListTag) ProtoReflect() protoreflect.Message
func (*RequestListTag) Reset ¶
func (x *RequestListTag) Reset()
func (*RequestListTag) String ¶
func (x *RequestListTag) String() string
type RequestStat ¶
type RequestStat struct { 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"` // contains filtered or unexported fields }
func (*RequestStat) Descriptor
deprecated
func (*RequestStat) Descriptor() ([]byte, []int)
Deprecated: Use RequestStat.ProtoReflect.Descriptor instead.
func (*RequestStat) GetPath ¶
func (x *RequestStat) GetPath() string
func (*RequestStat) GetRef ¶
func (x *RequestStat) GetRef() string
func (*RequestStat) GetRepo ¶
func (x *RequestStat) GetRepo() string
func (*RequestStat) ProtoMessage ¶
func (*RequestStat) ProtoMessage()
func (*RequestStat) ProtoReflect ¶
func (x *RequestStat) ProtoReflect() protoreflect.Message
func (*RequestStat) Reset ¶
func (x *RequestStat) Reset()
func (*RequestStat) String ¶
func (x *RequestStat) String() string
type ResponseGetBlob ¶
type ResponseGetBlob struct { Sha string `protobuf:"bytes,1,opt,name=sha,proto3" json:"sha,omitempty"` Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*ResponseGetBlob) Descriptor
deprecated
func (*ResponseGetBlob) Descriptor() ([]byte, []int)
Deprecated: Use ResponseGetBlob.ProtoReflect.Descriptor instead.
func (*ResponseGetBlob) GetContent ¶
func (x *ResponseGetBlob) GetContent() []byte
func (*ResponseGetBlob) GetSha ¶
func (x *ResponseGetBlob) GetSha() string
func (*ResponseGetBlob) GetSize ¶
func (x *ResponseGetBlob) GetSize() int64
func (*ResponseGetBlob) ProtoMessage ¶
func (*ResponseGetBlob) ProtoMessage()
func (*ResponseGetBlob) ProtoReflect ¶
func (x *ResponseGetBlob) ProtoReflect() protoreflect.Message
func (*ResponseGetBlob) Reset ¶
func (x *ResponseGetBlob) Reset()
func (*ResponseGetBlob) String ¶
func (x *ResponseGetBlob) String() string
type ResponseGetCommit ¶
type ResponseGetCommit struct { Commit *Commit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
func (*ResponseGetCommit) Descriptor
deprecated
func (*ResponseGetCommit) Descriptor() ([]byte, []int)
Deprecated: Use ResponseGetCommit.ProtoReflect.Descriptor instead.
func (*ResponseGetCommit) GetCommit ¶
func (x *ResponseGetCommit) GetCommit() *Commit
func (*ResponseGetCommit) ProtoMessage ¶
func (*ResponseGetCommit) ProtoMessage()
func (*ResponseGetCommit) ProtoReflect ¶
func (x *ResponseGetCommit) ProtoReflect() protoreflect.Message
func (*ResponseGetCommit) Reset ¶
func (x *ResponseGetCommit) Reset()
func (*ResponseGetCommit) String ¶
func (x *ResponseGetCommit) String() string
type ResponseGetFile ¶
type ResponseGetFile struct { Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` RawUrl string `protobuf:"bytes,2,opt,name=raw_url,json=rawUrl,proto3" json:"raw_url,omitempty"` EditUrl string `protobuf:"bytes,3,opt,name=edit_url,json=editUrl,proto3" json:"edit_url,omitempty"` Sha string `protobuf:"bytes,4,opt,name=sha,proto3" json:"sha,omitempty"` // contains filtered or unexported fields }
func (*ResponseGetFile) Descriptor
deprecated
func (*ResponseGetFile) Descriptor() ([]byte, []int)
Deprecated: Use ResponseGetFile.ProtoReflect.Descriptor instead.
func (*ResponseGetFile) GetContent ¶
func (x *ResponseGetFile) GetContent() []byte
func (*ResponseGetFile) GetEditUrl ¶
func (x *ResponseGetFile) GetEditUrl() string
func (*ResponseGetFile) GetRawUrl ¶
func (x *ResponseGetFile) GetRawUrl() string
func (*ResponseGetFile) GetSha ¶
func (x *ResponseGetFile) GetSha() string
func (*ResponseGetFile) ProtoMessage ¶
func (*ResponseGetFile) ProtoMessage()
func (*ResponseGetFile) ProtoReflect ¶
func (x *ResponseGetFile) ProtoReflect() protoreflect.Message
func (*ResponseGetFile) Reset ¶
func (x *ResponseGetFile) Reset()
func (*ResponseGetFile) String ¶
func (x *ResponseGetFile) String() string
type ResponseGetReference ¶
type ResponseGetReference struct { Ref *Reference `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` // contains filtered or unexported fields }
func (*ResponseGetReference) Descriptor
deprecated
func (*ResponseGetReference) Descriptor() ([]byte, []int)
Deprecated: Use ResponseGetReference.ProtoReflect.Descriptor instead.
func (*ResponseGetReference) GetRef ¶
func (x *ResponseGetReference) GetRef() *Reference
func (*ResponseGetReference) ProtoMessage ¶
func (*ResponseGetReference) ProtoMessage()
func (*ResponseGetReference) ProtoReflect ¶
func (x *ResponseGetReference) ProtoReflect() protoreflect.Message
func (*ResponseGetReference) Reset ¶
func (x *ResponseGetReference) Reset()
func (*ResponseGetReference) String ¶
func (x *ResponseGetReference) String() string
type ResponseGetRepository ¶
type ResponseGetRepository struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Hosting string `protobuf:"bytes,3,opt,name=hosting,proto3" json:"hosting,omitempty"` // contains filtered or unexported fields }
func (*ResponseGetRepository) Descriptor
deprecated
func (*ResponseGetRepository) Descriptor() ([]byte, []int)
Deprecated: Use ResponseGetRepository.ProtoReflect.Descriptor instead.
func (*ResponseGetRepository) GetHosting ¶
func (x *ResponseGetRepository) GetHosting() string
func (*ResponseGetRepository) GetName ¶
func (x *ResponseGetRepository) GetName() string
func (*ResponseGetRepository) GetUrl ¶
func (x *ResponseGetRepository) GetUrl() string
func (*ResponseGetRepository) ProtoMessage ¶
func (*ResponseGetRepository) ProtoMessage()
func (*ResponseGetRepository) ProtoReflect ¶
func (x *ResponseGetRepository) ProtoReflect() protoreflect.Message
func (*ResponseGetRepository) Reset ¶
func (x *ResponseGetRepository) Reset()
func (*ResponseGetRepository) String ¶
func (x *ResponseGetRepository) String() string
type ResponseGetTree ¶
type ResponseGetTree struct { Sha string `protobuf:"bytes,1,opt,name=sha,proto3" json:"sha,omitempty"` Tree []*TreeEntry `protobuf:"bytes,2,rep,name=tree,proto3" json:"tree,omitempty"` // contains filtered or unexported fields }
func (*ResponseGetTree) Descriptor
deprecated
func (*ResponseGetTree) Descriptor() ([]byte, []int)
Deprecated: Use ResponseGetTree.ProtoReflect.Descriptor instead.
func (*ResponseGetTree) GetSha ¶
func (x *ResponseGetTree) GetSha() string
func (*ResponseGetTree) GetTree ¶
func (x *ResponseGetTree) GetTree() []*TreeEntry
func (*ResponseGetTree) ProtoMessage ¶
func (*ResponseGetTree) ProtoMessage()
func (*ResponseGetTree) ProtoReflect ¶
func (x *ResponseGetTree) ProtoReflect() protoreflect.Message
func (*ResponseGetTree) Reset ¶
func (x *ResponseGetTree) Reset()
func (*ResponseGetTree) String ¶
func (x *ResponseGetTree) String() string
type ResponseListBranch ¶
type ResponseListBranch struct { Branches []*Reference `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` // contains filtered or unexported fields }
func (*ResponseListBranch) Descriptor
deprecated
func (*ResponseListBranch) Descriptor() ([]byte, []int)
Deprecated: Use ResponseListBranch.ProtoReflect.Descriptor instead.
func (*ResponseListBranch) GetBranches ¶
func (x *ResponseListBranch) GetBranches() []*Reference
func (*ResponseListBranch) ProtoMessage ¶
func (*ResponseListBranch) ProtoMessage()
func (*ResponseListBranch) ProtoReflect ¶
func (x *ResponseListBranch) ProtoReflect() protoreflect.Message
func (*ResponseListBranch) Reset ¶
func (x *ResponseListBranch) Reset()
func (*ResponseListBranch) String ¶
func (x *ResponseListBranch) String() string
type ResponseListReferences ¶
type ResponseListReferences struct { Refs []*Reference `protobuf:"bytes,1,rep,name=refs,proto3" json:"refs,omitempty"` // contains filtered or unexported fields }
func (*ResponseListReferences) Descriptor
deprecated
func (*ResponseListReferences) Descriptor() ([]byte, []int)
Deprecated: Use ResponseListReferences.ProtoReflect.Descriptor instead.
func (*ResponseListReferences) GetRefs ¶
func (x *ResponseListReferences) GetRefs() []*Reference
func (*ResponseListReferences) ProtoMessage ¶
func (*ResponseListReferences) ProtoMessage()
func (*ResponseListReferences) ProtoReflect ¶
func (x *ResponseListReferences) ProtoReflect() protoreflect.Message
func (*ResponseListReferences) Reset ¶
func (x *ResponseListReferences) Reset()
func (*ResponseListReferences) String ¶
func (x *ResponseListReferences) String() string
type ResponseListRepositories ¶
type ResponseListRepositories struct { Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"` // contains filtered or unexported fields }
func (*ResponseListRepositories) Descriptor
deprecated
func (*ResponseListRepositories) Descriptor() ([]byte, []int)
Deprecated: Use ResponseListRepositories.ProtoReflect.Descriptor instead.
func (*ResponseListRepositories) GetRepositories ¶
func (x *ResponseListRepositories) GetRepositories() []*Repository
func (*ResponseListRepositories) ProtoMessage ¶
func (*ResponseListRepositories) ProtoMessage()
func (*ResponseListRepositories) ProtoReflect ¶
func (x *ResponseListRepositories) ProtoReflect() protoreflect.Message
func (*ResponseListRepositories) Reset ¶
func (x *ResponseListRepositories) Reset()
func (*ResponseListRepositories) String ¶
func (x *ResponseListRepositories) String() string
type ResponseListTag ¶
type ResponseListTag struct { Tags []*Reference `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*ResponseListTag) Descriptor
deprecated
func (*ResponseListTag) Descriptor() ([]byte, []int)
Deprecated: Use ResponseListTag.ProtoReflect.Descriptor instead.
func (*ResponseListTag) GetTags ¶
func (x *ResponseListTag) GetTags() []*Reference
func (*ResponseListTag) ProtoMessage ¶
func (*ResponseListTag) ProtoMessage()
func (*ResponseListTag) ProtoReflect ¶
func (x *ResponseListTag) ProtoReflect() protoreflect.Message
func (*ResponseListTag) Reset ¶
func (x *ResponseListTag) Reset()
func (*ResponseListTag) String ¶
func (x *ResponseListTag) String() string
type ResponseStat ¶
type ResponseStat struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` Mode uint32 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"` // contains filtered or unexported fields }
func (*ResponseStat) Descriptor
deprecated
func (*ResponseStat) Descriptor() ([]byte, []int)
Deprecated: Use ResponseStat.ProtoReflect.Descriptor instead.
func (*ResponseStat) GetHash ¶
func (x *ResponseStat) GetHash() string
func (*ResponseStat) GetMode ¶
func (x *ResponseStat) GetMode() uint32
func (*ResponseStat) GetName ¶
func (x *ResponseStat) GetName() string
func (*ResponseStat) ProtoMessage ¶
func (*ResponseStat) ProtoMessage()
func (*ResponseStat) ProtoReflect ¶
func (x *ResponseStat) ProtoReflect() protoreflect.Message
func (*ResponseStat) Reset ¶
func (x *ResponseStat) Reset()
func (*ResponseStat) String ¶
func (x *ResponseStat) String() string
type Signature ¶
type Signature struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` When *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=when,proto3" json:"when,omitempty"` // contains filtered or unexported fields }
func (*Signature) Descriptor
deprecated
func (*Signature) GetWhen ¶
func (x *Signature) GetWhen() *timestamppb.Timestamp
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
type TreeEntry ¶
type TreeEntry struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"` Sha string `protobuf:"bytes,3,opt,name=sha,proto3" json:"sha,omitempty"` Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*TreeEntry) Descriptor
deprecated
func (*TreeEntry) ProtoMessage ¶
func (*TreeEntry) ProtoMessage()
func (*TreeEntry) ProtoReflect ¶
func (x *TreeEntry) ProtoReflect() protoreflect.Message
type UnimplementedGitDataServer ¶
type UnimplementedGitDataServer struct { }
UnimplementedGitDataServer can be embedded to have forward compatible implementations.
func (*UnimplementedGitDataServer) GetBlob ¶
func (*UnimplementedGitDataServer) GetBlob(context.Context, *RequestGetBlob) (*ResponseGetBlob, error)
func (*UnimplementedGitDataServer) GetCommit ¶
func (*UnimplementedGitDataServer) GetCommit(context.Context, *RequestGetCommit) (*ResponseGetCommit, error)
func (*UnimplementedGitDataServer) GetFile ¶
func (*UnimplementedGitDataServer) GetFile(context.Context, *RequestGetFile) (*ResponseGetFile, error)
func (*UnimplementedGitDataServer) GetReference ¶
func (*UnimplementedGitDataServer) GetReference(context.Context, *RequestGetReference) (*ResponseGetReference, error)
func (*UnimplementedGitDataServer) GetRepository ¶
func (*UnimplementedGitDataServer) GetRepository(context.Context, *RequestGetRepository) (*ResponseGetRepository, error)
func (*UnimplementedGitDataServer) GetTree ¶
func (*UnimplementedGitDataServer) GetTree(context.Context, *RequestGetTree) (*ResponseGetTree, error)
func (*UnimplementedGitDataServer) ListBranch ¶
func (*UnimplementedGitDataServer) ListBranch(context.Context, *RequestListBranch) (*ResponseListBranch, error)
func (*UnimplementedGitDataServer) ListReferences ¶
func (*UnimplementedGitDataServer) ListReferences(context.Context, *RequestListReferences) (*ResponseListReferences, error)
func (*UnimplementedGitDataServer) ListRepositories ¶
func (*UnimplementedGitDataServer) ListRepositories(context.Context, *RequestListRepositories) (*ResponseListRepositories, error)
func (*UnimplementedGitDataServer) ListTag ¶
func (*UnimplementedGitDataServer) ListTag(context.Context, *RequestListTag) (*ResponseListTag, error)
func (*UnimplementedGitDataServer) Stat ¶
func (*UnimplementedGitDataServer) Stat(context.Context, *RequestStat) (*ResponseStat, error)