Documentation ¶
Index ¶
- func ReceivePack(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, ...) (int32, error)
- func UploadArchive(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, ...) (int32, error)
- func UploadPack(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, ...) (int32, error)
- type UploadPackResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReceivePack ¶
func ReceivePack(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, stdout, stderr io.Writer, req *gitalypb.SSHReceivePackRequest) (int32, error)
ReceivePack proxies an SSH git-receive-pack (git push) session to Gitaly
func UploadArchive ¶
func UploadArchive(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, stdout, stderr io.Writer, req *gitalypb.SSHUploadArchiveRequest) (int32, error)
UploadArchive proxies an SSH git-upload-archive (git archive --remote) session to Gitaly
func UploadPack ¶
func UploadPack(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, stdout, stderr io.Writer, req *gitalypb.SSHUploadPackRequest) (int32, error)
UploadPack proxies an SSH git-upload-pack (git fetch) session to Gitaly
Types ¶
type UploadPackResult ¶
type UploadPackResult struct { ExitCode int32 PackfileNegotiationStatistics *gitalypb.PackfileNegotiationStatistics }
UploadPackResult wraps ExitCode and PackfileNegotiationStatistics.
func UploadPackWithSidechannel ¶
func UploadPackWithSidechannel( ctx context.Context, conn *grpc.ClientConn, reg *sidechannel.Registry, stdin io.Reader, stdout, stderr io.Writer, req *gitalypb.SSHUploadPackWithSidechannelRequest, ) (UploadPackResult, error)
UploadPackWithSidechannel proxies an SSH git-upload-pack (git fetch) session to Gitaly using a sidechannel for the raw data transfer.
Click to show internal directories.
Click to hide internal directories.