Documentation ¶
Index ¶
- Variables
- func RegisterDownloaderServer(s *grpc.Server, srv DownloaderServer)
- type DownloadRequest
- func (*DownloadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadRequest) GetCommitHash() string
- func (x *DownloadRequest) GetLibraries() []*Library
- func (x *DownloadRequest) GetProjectID() string
- func (*DownloadRequest) ProtoMessage()
- func (x *DownloadRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadRequest) Reset()
- func (x *DownloadRequest) String() string
- type DownloadResponse
- func (*DownloadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadResponse) GetCommitHash() string
- func (x *DownloadResponse) GetProjectID() string
- func (*DownloadResponse) ProtoMessage()
- func (x *DownloadResponse) ProtoReflect() protoreflect.Message
- func (x *DownloadResponse) Reset()
- func (x *DownloadResponse) String() string
- type DownloaderClient
- type DownloaderServer
- type Library
- type UnimplementedDownloaderServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_mcd_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDownloaderServer ¶
func RegisterDownloaderServer(s *grpc.Server, srv DownloaderServer)
Types ¶
type DownloadRequest ¶
type DownloadRequest struct { ProjectID string `protobuf:"bytes,1,opt,name=projectID,proto3" json:"projectID,omitempty"` CommitHash string `protobuf:"bytes,2,opt,name=commitHash,proto3" json:"commitHash,omitempty"` Libraries []*Library `protobuf:"bytes,3,rep,name=libraries,proto3" json:"libraries,omitempty"` // contains filtered or unexported fields }
func (*DownloadRequest) Descriptor
deprecated
func (*DownloadRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadRequest.ProtoReflect.Descriptor instead.
func (*DownloadRequest) GetCommitHash ¶
func (x *DownloadRequest) GetCommitHash() string
func (*DownloadRequest) GetLibraries ¶
func (x *DownloadRequest) GetLibraries() []*Library
func (*DownloadRequest) GetProjectID ¶
func (x *DownloadRequest) GetProjectID() string
func (*DownloadRequest) ProtoMessage ¶
func (*DownloadRequest) ProtoMessage()
func (*DownloadRequest) ProtoReflect ¶
func (x *DownloadRequest) ProtoReflect() protoreflect.Message
func (*DownloadRequest) Reset ¶
func (x *DownloadRequest) Reset()
func (*DownloadRequest) String ¶
func (x *DownloadRequest) String() string
type DownloadResponse ¶
type DownloadResponse struct { ProjectID string `protobuf:"bytes,1,opt,name=projectID,proto3" json:"projectID,omitempty"` CommitHash string `protobuf:"bytes,2,opt,name=commitHash,proto3" json:"commitHash,omitempty"` // contains filtered or unexported fields }
func (*DownloadResponse) Descriptor
deprecated
func (*DownloadResponse) Descriptor() ([]byte, []int)
Deprecated: Use DownloadResponse.ProtoReflect.Descriptor instead.
func (*DownloadResponse) GetCommitHash ¶
func (x *DownloadResponse) GetCommitHash() string
func (*DownloadResponse) GetProjectID ¶
func (x *DownloadResponse) GetProjectID() string
func (*DownloadResponse) ProtoMessage ¶
func (*DownloadResponse) ProtoMessage()
func (*DownloadResponse) ProtoReflect ¶
func (x *DownloadResponse) ProtoReflect() protoreflect.Message
func (*DownloadResponse) Reset ¶
func (x *DownloadResponse) Reset()
func (*DownloadResponse) String ¶
func (x *DownloadResponse) String() string
type DownloaderClient ¶
type DownloaderClient interface {
Download(ctx context.Context, in *DownloadRequest, opts ...grpc.CallOption) (*DownloadResponse, error)
}
DownloaderClient is the client API for Downloader service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDownloaderClient ¶
func NewDownloaderClient(cc grpc.ClientConnInterface) DownloaderClient
type DownloaderServer ¶
type DownloaderServer interface {
Download(context.Context, *DownloadRequest) (*DownloadResponse, error)
}
DownloaderServer is the server API for Downloader service.
type Library ¶
type Library struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Library) Descriptor
deprecated
func (*Library) ProtoMessage ¶
func (*Library) ProtoMessage()
func (*Library) ProtoReflect ¶
func (x *Library) ProtoReflect() protoreflect.Message
type UnimplementedDownloaderServer ¶
type UnimplementedDownloaderServer struct { }
UnimplementedDownloaderServer can be embedded to have forward compatible implementations.
func (*UnimplementedDownloaderServer) Download ¶
func (*UnimplementedDownloaderServer) Download(context.Context, *DownloadRequest) (*DownloadResponse, error)
Click to show internal directories.
Click to hide internal directories.