Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDialOpts = []grpc.DialOption{ grpc.WithInsecure(), }
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 *pb.SSHReceivePackRequest) (int32, error)
ReceivePack proxies an SSH git-receive-pack (git push) 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 *pb.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.