repository

package
Version: v0.0.0-...-c2b79b4 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRepositoryServiceServer

func RegisterRepositoryServiceServer(s *grpc.Server, srv RepositoryServiceServer)

Types

type CreateRepositoryRequest

type CreateRepositoryRequest struct {
	User                 string   `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Repo                 string   `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateRepositoryRequest) Descriptor

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

func (*CreateRepositoryRequest) GetRepo

func (m *CreateRepositoryRequest) GetRepo() string

func (*CreateRepositoryRequest) GetUser

func (m *CreateRepositoryRequest) GetUser() string

func (*CreateRepositoryRequest) ProtoMessage

func (*CreateRepositoryRequest) ProtoMessage()

func (*CreateRepositoryRequest) Reset

func (m *CreateRepositoryRequest) Reset()

func (*CreateRepositoryRequest) String

func (m *CreateRepositoryRequest) String() string

func (*CreateRepositoryRequest) XXX_DiscardUnknown

func (m *CreateRepositoryRequest) XXX_DiscardUnknown()

func (*CreateRepositoryRequest) XXX_Marshal

func (m *CreateRepositoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateRepositoryRequest) XXX_Merge

func (m *CreateRepositoryRequest) XXX_Merge(src proto.Message)

func (*CreateRepositoryRequest) XXX_Size

func (m *CreateRepositoryRequest) XXX_Size() int

func (*CreateRepositoryRequest) XXX_Unmarshal

func (m *CreateRepositoryRequest) XXX_Unmarshal(b []byte) error

type CreateRepositoryResponse

type CreateRepositoryResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateRepositoryResponse) Descriptor

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

func (*CreateRepositoryResponse) ProtoMessage

func (*CreateRepositoryResponse) ProtoMessage()

func (*CreateRepositoryResponse) Reset

func (m *CreateRepositoryResponse) Reset()

func (*CreateRepositoryResponse) String

func (m *CreateRepositoryResponse) String() string

func (*CreateRepositoryResponse) XXX_DiscardUnknown

func (m *CreateRepositoryResponse) XXX_DiscardUnknown()

func (*CreateRepositoryResponse) XXX_Marshal

func (m *CreateRepositoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateRepositoryResponse) XXX_Merge

func (m *CreateRepositoryResponse) XXX_Merge(src proto.Message)

func (*CreateRepositoryResponse) XXX_Size

func (m *CreateRepositoryResponse) XXX_Size() int

func (*CreateRepositoryResponse) XXX_Unmarshal

func (m *CreateRepositoryResponse) XXX_Unmarshal(b []byte) error

type RepositoryServiceClient

type RepositoryServiceClient interface {
	CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*CreateRepositoryResponse, error)
}

RepositoryServiceClient is the client API for RepositoryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRepositoryServiceClient

func NewRepositoryServiceClient(cc *grpc.ClientConn) RepositoryServiceClient

type RepositoryServiceServer

type RepositoryServiceServer interface {
	CreateRepository(context.Context, *CreateRepositoryRequest) (*CreateRepositoryResponse, error)
}

RepositoryServiceServer is the server API for RepositoryService service.

type UnimplementedRepositoryServiceServer

type UnimplementedRepositoryServiceServer struct {
}

UnimplementedRepositoryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedRepositoryServiceServer) CreateRepository

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL