Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListPoolMetadata ¶
func ListPoolMetadata(ctx context.Context, client gitalypb.InternalGitalyClient, storageName string) ([]string, error)
ListPoolMetadata calls the ListPoolMetadata RPC to list all pools from the metadata database.
func StorePoolMetadata ¶
func StorePoolMetadata(ctx context.Context, client gitalypb.InternalGitalyClient, storageName string, members []PoolMember) error
StorePoolMetadata calls the StorePoolMetadata RPC to store repository-to-pool relationships.
Types ¶
type PoolMember ¶
PoolMember represents a repository linked to an object pool.
func ScanPoolMetadata ¶
func ScanPoolMetadata(ctx context.Context, client gitalypb.InternalGitalyClient, storageName string) ([]PoolMember, error)
ScanPoolMetadata calls the ScanPoolMetadata RPC and returns all repository-to-pool relationships.
Click to show internal directories.
Click to hide internal directories.