package
0.1.3
Repository: https://github.com/dreamniu/dragonfly-api.git
Documentation: pkg.go.dev

# Packages

Package mocks is a generated GoMock package.

# Functions

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
Scheduler_ServiceDesc is the grpc.ServiceDesc for Scheduler service.

# Structs

AnnounceHostRequest represents request of AnnounceHost.
AnnounceHostRequestValidationError is the validation error returned by AnnounceHostRequest.Validate if the designated constraints aren't met.
AnnouncePeerRequest represents request of AnnouncePeer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AnnouncePeerRequestValidationError is the validation error returned by AnnouncePeerRequest.Validate if the designated constraints aren't met.
AnnouncePeerResponse represents response of AnnouncePeer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AnnouncePeerResponseValidationError is the validation error returned by AnnouncePeerResponse.Validate if the designated constraints aren't met.
DownloadPeerBackToSourceFailedRequest represents peer download back-to-source failed request of AnnouncePeerRequest.
DownloadPeerBackToSourceFailedRequestValidationError is the validation error returned by DownloadPeerBackToSourceFailedRequest.Validate if the designated constraints aren't met.
DownloadPeerBackToSourceFinishedRequest represents peer download back-to-source finished request of AnnouncePeerRequest.
DownloadPeerBackToSourceFinishedRequestValidationError is the validation error returned by DownloadPeerBackToSourceFinishedRequest.Validate if the designated constraints aren't met.
DownloadPeerBackToSourceStartedRequest represents peer download back-to-source started request of AnnouncePeerRequest.
DownloadPeerBackToSourceStartedRequestValidationError is the validation error returned by DownloadPeerBackToSourceStartedRequest.Validate if the designated constraints aren't met.
DownloadPeerFailedRequest represents peer download failed request of AnnouncePeerRequest.
DownloadPeerFailedRequestValidationError is the validation error returned by DownloadPeerFailedRequest.Validate if the designated constraints aren't met.
DownloadPeerFinishedRequest represents peer download finished request of AnnouncePeerRequest.
DownloadPeerFinishedRequestValidationError is the validation error returned by DownloadPeerFinishedRequest.Validate if the designated constraints aren't met.
DownloadPeerStartedRequest represents peer download started request of AnnouncePeerRequest.
DownloadPeerStartedRequestValidationError is the validation error returned by DownloadPeerStartedRequest.Validate if the designated constraints aren't met.
DownloadPieceBackToSourceFailedRequest downloads piece back-to-source failed request of AnnouncePeerRequest.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DownloadPieceBackToSourceFailedRequestValidationError is the validation error returned by DownloadPieceBackToSourceFailedRequest.Validate if the designated constraints aren't met.
DownloadPieceBackToSourceFinishedRequest represents piece download back-to-source finished request of AnnouncePeerRequest.
DownloadPieceBackToSourceFinishedRequestValidationError is the validation error returned by DownloadPieceBackToSourceFinishedRequest.Validate if the designated constraints aren't met.
DownloadPieceFailedRequest downloads piece failed request of AnnouncePeerRequest.
DownloadPieceFailedRequestValidationError is the validation error returned by DownloadPieceFailedRequest.Validate if the designated constraints aren't met.
DownloadPieceFinishedRequest represents piece download finished request of AnnouncePeerRequest.
DownloadPieceFinishedRequestValidationError is the validation error returned by DownloadPieceFinishedRequest.Validate if the designated constraints aren't met.
EmptyTaskResponse represents empty task response of AnnouncePeerResponse.
EmptyTaskResponseValidationError is the validation error returned by EmptyTaskResponse.Validate if the designated constraints aren't met.
TODO exchange peer request definition.
ExchangePeerRequestValidationError is the validation error returned by ExchangePeerRequest.Validate if the designated constraints aren't met.
TODO exchange peer response definition.
ExchangePeerResponseValidationError is the validation error returned by ExchangePeerResponse.Validate if the designated constraints aren't met.
FailedProbe information.
FailedProbeValidationError is the validation error returned by FailedProbe.Validate if the designated constraints aren't met.
HDFSResponse represents hdfs protocol response of DownloadPieceBackToSourceFailedRequest.
HDFSResponseValidationError is the validation error returned by HDFSResponse.Validate if the designated constraints aren't met.
HTTPResponse represents http protocol response of DownloadPieceBackToSourceFailedRequest.
HTTPResponseValidationError is the validation error returned by HTTPResponse.Validate if the designated constraints aren't met.
LeaveHostRequest represents request of LeaveHost.
LeaveHostRequestValidationError is the validation error returned by LeaveHostRequest.Validate if the designated constraints aren't met.
LeavePeerRequest represents request of LeavePeer.
LeavePeerRequestValidationError is the validation error returned by LeavePeerRequest.Validate if the designated constraints aren't met.
NeedBackToSourceResponse represents need back-to-source response of AnnouncePeerResponse.
NeedBackToSourceResponseValidationError is the validation error returned by NeedBackToSourceResponse.Validate if the designated constraints aren't met.
NormalTaskResponse represents normal task response of AnnouncePeerResponse.
NormalTaskResponseValidationError is the validation error returned by NormalTaskResponse.Validate if the designated constraints aren't met.
OSSResponse represents oss protocol response of DownloadPieceBackToSourceFailedRequest.
OSSResponseValidationError is the validation error returned by OSSResponse.Validate if the designated constraints aren't met.
Probe information.
ProbeFailedRequest represents failed request of SyncProbesRequest.
ProbeFailedRequestValidationError is the validation error returned by ProbeFailedRequest.Validate if the designated constraints aren't met.
ProbeFinishedRequest represents finished request of SyncProbesRequest.
ProbeFinishedRequestValidationError is the validation error returned by ProbeFinishedRequest.Validate if the designated constraints aren't met.
ProbeStartedRequest represents started request of SyncProbesRequest.
ProbeStartedRequestValidationError is the validation error returned by ProbeStartedRequest.Validate if the designated constraints aren't met.
ProbeValidationError is the validation error returned by Probe.Validate if the designated constraints aren't met.
RegisterPeerRequest represents peer registered request of AnnouncePeerRequest.
RegisterPeerRequestValidationError is the validation error returned by RegisterPeerRequest.Validate if the designated constraints aren't met.
RegisterSeedPeerRequest represents seed peer registered request of AnnouncePeerRequest.
RegisterSeedPeerRequestValidationError is the validation error returned by RegisterSeedPeerRequest.Validate if the designated constraints aren't met.
S3Response represents s3 protocol response of DownloadPieceBackToSourceFailedRequest.
S3ResponseValidationError is the validation error returned by S3Response.Validate if the designated constraints aren't met.
SmallTaskResponse represents small task response of AnnouncePeerResponse.
SmallTaskResponseValidationError is the validation error returned by SmallTaskResponse.Validate if the designated constraints aren't met.
StatPeerRequest represents request of StatPeer.
StatPeerRequestValidationError is the validation error returned by StatPeerRequest.Validate if the designated constraints aren't met.
StatTaskRequest represents request of StatTask.
StatTaskRequestValidationError is the validation error returned by StatTaskRequest.Validate if the designated constraints aren't met.
SyncPiecesFailedRequest syncs pieces failed request of AnnouncePeerRequest.
SyncPiecesFailedRequestValidationError is the validation error returned by SyncPiecesFailedRequest.Validate if the designated constraints aren't met.
SyncProbesRequest represents request of SyncProbes.
No description provided by the author
No description provided by the author
No description provided by the author
SyncProbesRequestValidationError is the validation error returned by SyncProbesRequest.Validate if the designated constraints aren't met.
SyncProbesResponse represents response of SyncProbes.
SyncProbesResponseValidationError is the validation error returned by SyncProbesResponse.Validate if the designated constraints aren't met.
TinyTaskResponse represents tiny task response of AnnouncePeerResponse.
TinyTaskResponseValidationError is the validation error returned by TinyTaskResponse.Validate if the designated constraints aren't met.
UnimplementedSchedulerServer should be embedded to have forward compatible implementations.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SchedulerClient is the client API for Scheduler service.
SchedulerServer is the server API for Scheduler service.
UnsafeSchedulerServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

AnnounceHostRequestMultiError is an error wrapping multiple validation errors returned by AnnounceHostRequest.ValidateAll() if the designated constraints aren't met.
AnnouncePeerRequestMultiError is an error wrapping multiple validation errors returned by AnnouncePeerRequest.ValidateAll() if the designated constraints aren't met.
AnnouncePeerResponseMultiError is an error wrapping multiple validation errors returned by AnnouncePeerResponse.ValidateAll() if the designated constraints aren't met.
DownloadPeerBackToSourceFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerBackToSourceFailedRequest.ValidateAll() if the designated constraints aren't met.
DownloadPeerBackToSourceFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerBackToSourceFinishedRequest.ValidateAll() if the designated constraints aren't met.
DownloadPeerBackToSourceStartedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerBackToSourceStartedRequest.ValidateAll() if the designated constraints aren't met.
DownloadPeerFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerFailedRequest.ValidateAll() if the designated constraints aren't met.
DownloadPeerFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerFinishedRequest.ValidateAll() if the designated constraints aren't met.
DownloadPeerStartedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerStartedRequest.ValidateAll() if the designated constraints aren't met.
DownloadPieceBackToSourceFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPieceBackToSourceFailedRequest.ValidateAll() if the designated constraints aren't met.
DownloadPieceBackToSourceFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPieceBackToSourceFinishedRequest.ValidateAll() if the designated constraints aren't met.
DownloadPieceFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPieceFailedRequest.ValidateAll() if the designated constraints aren't met.
DownloadPieceFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPieceFinishedRequest.ValidateAll() if the designated constraints aren't met.
EmptyTaskResponseMultiError is an error wrapping multiple validation errors returned by EmptyTaskResponse.ValidateAll() if the designated constraints aren't met.
ExchangePeerRequestMultiError is an error wrapping multiple validation errors returned by ExchangePeerRequest.ValidateAll() if the designated constraints aren't met.
ExchangePeerResponseMultiError is an error wrapping multiple validation errors returned by ExchangePeerResponse.ValidateAll() if the designated constraints aren't met.
FailedProbeMultiError is an error wrapping multiple validation errors returned by FailedProbe.ValidateAll() if the designated constraints aren't met.
HDFSResponseMultiError is an error wrapping multiple validation errors returned by HDFSResponse.ValidateAll() if the designated constraints aren't met.
HTTPResponseMultiError is an error wrapping multiple validation errors returned by HTTPResponse.ValidateAll() if the designated constraints aren't met.
LeaveHostRequestMultiError is an error wrapping multiple validation errors returned by LeaveHostRequest.ValidateAll() if the designated constraints aren't met.
LeavePeerRequestMultiError is an error wrapping multiple validation errors returned by LeavePeerRequest.ValidateAll() if the designated constraints aren't met.
NeedBackToSourceResponseMultiError is an error wrapping multiple validation errors returned by NeedBackToSourceResponse.ValidateAll() if the designated constraints aren't met.
NormalTaskResponseMultiError is an error wrapping multiple validation errors returned by NormalTaskResponse.ValidateAll() if the designated constraints aren't met.
OSSResponseMultiError is an error wrapping multiple validation errors returned by OSSResponse.ValidateAll() if the designated constraints aren't met.
ProbeFailedRequestMultiError is an error wrapping multiple validation errors returned by ProbeFailedRequest.ValidateAll() if the designated constraints aren't met.
ProbeFinishedRequestMultiError is an error wrapping multiple validation errors returned by ProbeFinishedRequest.ValidateAll() if the designated constraints aren't met.
ProbeMultiError is an error wrapping multiple validation errors returned by Probe.ValidateAll() if the designated constraints aren't met.
ProbeStartedRequestMultiError is an error wrapping multiple validation errors returned by ProbeStartedRequest.ValidateAll() if the designated constraints aren't met.
RegisterPeerRequestMultiError is an error wrapping multiple validation errors returned by RegisterPeerRequest.ValidateAll() if the designated constraints aren't met.
RegisterSeedPeerRequestMultiError is an error wrapping multiple validation errors returned by RegisterSeedPeerRequest.ValidateAll() if the designated constraints aren't met.
S3ResponseMultiError is an error wrapping multiple validation errors returned by S3Response.ValidateAll() if the designated constraints aren't met.
SmallTaskResponseMultiError is an error wrapping multiple validation errors returned by SmallTaskResponse.ValidateAll() if the designated constraints aren't met.
StatPeerRequestMultiError is an error wrapping multiple validation errors returned by StatPeerRequest.ValidateAll() if the designated constraints aren't met.
StatTaskRequestMultiError is an error wrapping multiple validation errors returned by StatTaskRequest.ValidateAll() if the designated constraints aren't met.
SyncPiecesFailedRequestMultiError is an error wrapping multiple validation errors returned by SyncPiecesFailedRequest.ValidateAll() if the designated constraints aren't met.
SyncProbesRequestMultiError is an error wrapping multiple validation errors returned by SyncProbesRequest.ValidateAll() if the designated constraints aren't met.
SyncProbesResponseMultiError is an error wrapping multiple validation errors returned by SyncProbesResponse.ValidateAll() if the designated constraints aren't met.
TinyTaskResponseMultiError is an error wrapping multiple validation errors returned by TinyTaskResponse.ValidateAll() if the designated constraints aren't met.