Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractPool ¶
func ExtractPool(req PoolRequest) (*gitalypb.Repository, error)
ExtractPool returns the pool repository from the request or an error if the request did no contain a pool.
func NewServer ¶
func NewServer( locator storage.Locator, gitCmdFactory git.CommandFactory, catfileCache catfile.Cache, txManager transaction.Manager, housekeepingManager housekeeping.Manager, ) gitalypb.ObjectPoolServiceServer
NewServer creates a new instance of a gRPC repo server
Types ¶
type PoolRequest ¶
type PoolRequest interface {
GetObjectPool() *gitalypb.ObjectPool
}
PoolRequest is the interface of a gRPC request that carries an object pool.
Click to show internal directories.
Click to hide internal directories.