gitaly

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2017 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseConnections added in v1.4.0

func CloseConnections()

Types

type CommitClient

type CommitClient struct {
	pb.CommitClient
}

func NewCommitClient

func NewCommitClient(server Server) (*CommitClient, error)

func (*CommitClient) SendBlob

func (client *CommitClient) SendBlob(ctx context.Context, w http.ResponseWriter, request *pb.TreeEntryRequest) error

type Server

type Server struct {
	Address string `json:"address"`
	Token   string `json:"token"`
}

type SmartHTTPClient added in v1.4.0

type SmartHTTPClient struct {
	pb.SmartHTTPClient
}

func NewSmartHTTPClient added in v1.4.0

func NewSmartHTTPClient(server Server) (*SmartHTTPClient, error)

func (*SmartHTTPClient) InfoRefsResponseReader

func (client *SmartHTTPClient) InfoRefsResponseReader(ctx context.Context, repo *pb.Repository, rpc string) (io.Reader, error)

func (*SmartHTTPClient) ReceivePack added in v1.4.3

func (client *SmartHTTPClient) ReceivePack(ctx context.Context, repo *pb.Repository, glId string, glRepository string, clientRequest io.Reader, clientResponse io.Writer) error

func (*SmartHTTPClient) UploadPack added in v1.4.3

func (client *SmartHTTPClient) UploadPack(ctx context.Context, repo *pb.Repository, clientRequest io.Reader, clientResponse io.Writer) error

Jump to

Keyboard shortcuts

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