Documentation ¶
Index ¶
- Variables
- func Dial(rawAddress string, connOpts []grpc.DialOption) (*grpc.ClientConn, error)
- 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)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDialOpts = []grpc.DialOption{}
DefaultDialOpts hold the default DialOptions for connection to Gitaly over UNIX-socket
Functions ¶
func Dial ¶ added in v0.14.0
func Dial(rawAddress string, connOpts []grpc.DialOption) (*grpc.ClientConn, error)
Dial gitaly
func ReceivePack ¶ added in v0.14.0
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 ¶ added in v0.90.0
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 ¶ added in v0.14.0
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 ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.