gitaly

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2017 License: MIT Imports: 5 Imported by: 0

README

Auto-generated Go gRPC bindings for gitaly

This Go package is used both by the Gitaly server itself and by Go Gitaly clients (such as gitlab-workhorse).

Documentation

Overview

Package gitaly is a generated protocol buffer package.

It is generated from these files:

gitaly.proto

It has these top-level messages:

InfoRefsRequest
InfoRefsResponse
Repository

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterSmartHTTPServer

func RegisterSmartHTTPServer(s *grpc.Server, srv SmartHTTPServer)

Types

type InfoRefsRequest

type InfoRefsRequest struct {
	Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}

func (*InfoRefsRequest) Descriptor

func (*InfoRefsRequest) Descriptor() ([]byte, []int)

func (*InfoRefsRequest) GetRepository added in v0.2.0

func (m *InfoRefsRequest) GetRepository() *Repository

func (*InfoRefsRequest) ProtoMessage

func (*InfoRefsRequest) ProtoMessage()

func (*InfoRefsRequest) Reset

func (m *InfoRefsRequest) Reset()

func (*InfoRefsRequest) String

func (m *InfoRefsRequest) String() string

type InfoRefsResponse

type InfoRefsResponse struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*InfoRefsResponse) Descriptor

func (*InfoRefsResponse) Descriptor() ([]byte, []int)

func (*InfoRefsResponse) GetData

func (m *InfoRefsResponse) GetData() []byte

func (*InfoRefsResponse) ProtoMessage

func (*InfoRefsResponse) ProtoMessage()

func (*InfoRefsResponse) Reset

func (m *InfoRefsResponse) Reset()

func (*InfoRefsResponse) String

func (m *InfoRefsResponse) String() string

type Repository added in v0.2.0

type Repository struct {
	Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
}

func (*Repository) Descriptor added in v0.2.0

func (*Repository) Descriptor() ([]byte, []int)

func (*Repository) GetPath added in v0.2.0

func (m *Repository) GetPath() string

func (*Repository) ProtoMessage added in v0.2.0

func (*Repository) ProtoMessage()

func (*Repository) Reset added in v0.2.0

func (m *Repository) Reset()

func (*Repository) String added in v0.2.0

func (m *Repository) String() string

type SmartHTTPClient

type SmartHTTPClient interface {
	// The response body for GET /info/refs?service=git-upload-pack
	InfoRefsUploadPack(ctx context.Context, in *InfoRefsRequest, opts ...grpc.CallOption) (SmartHTTP_InfoRefsUploadPackClient, error)
	// The response body for GET /info/refs?service=git-receive-pack
	InfoRefsReceivePack(ctx context.Context, in *InfoRefsRequest, opts ...grpc.CallOption) (SmartHTTP_InfoRefsReceivePackClient, error)
}

func NewSmartHTTPClient

func NewSmartHTTPClient(cc *grpc.ClientConn) SmartHTTPClient

type SmartHTTPServer

type SmartHTTPServer interface {
	// The response body for GET /info/refs?service=git-upload-pack
	InfoRefsUploadPack(*InfoRefsRequest, SmartHTTP_InfoRefsUploadPackServer) error
	// The response body for GET /info/refs?service=git-receive-pack
	InfoRefsReceivePack(*InfoRefsRequest, SmartHTTP_InfoRefsReceivePackServer) error
}

type SmartHTTP_InfoRefsReceivePackClient

type SmartHTTP_InfoRefsReceivePackClient interface {
	Recv() (*InfoRefsResponse, error)
	grpc.ClientStream
}

type SmartHTTP_InfoRefsReceivePackServer

type SmartHTTP_InfoRefsReceivePackServer interface {
	Send(*InfoRefsResponse) error
	grpc.ServerStream
}

type SmartHTTP_InfoRefsUploadPackClient

type SmartHTTP_InfoRefsUploadPackClient interface {
	Recv() (*InfoRefsResponse, error)
	grpc.ClientStream
}

type SmartHTTP_InfoRefsUploadPackServer

type SmartHTTP_InfoRefsUploadPackServer interface {
	Send(*InfoRefsResponse) error
	grpc.ServerStream
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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