objectpool

package
v15.11.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 27 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL