# 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.
AnnounceTaskRequest represents request of AnnounceTask.
AnnounceTaskRequestValidationError is the validation error returned by AnnounceTaskRequest.Validate if the designated constraints aren't met.
Build information.
BuildValidationError is the validation error returned by Build.Validate if the designated constraints aren't met.
CPU Stat.
CPUTimes contains the amounts of time the CPU has spent performing different kinds of work.
CPUTimesValidationError is the validation error returned by CPUTimes.Validate if the designated constraints aren't met.
CPUValidationError is the validation error returned by CPU.Validate if the designated constraints aren't met.
Disk Stat.
DiskValidationError is the validation error returned by Disk.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.
LeaveHostRequest represents request of LeaveHost.
LeaveHostRequestValidationError is the validation error returned by LeaveHostRequest.Validate if the designated constraints aren't met.
Memory Stat.
MemoryValidationError is the validation error returned by Memory.Validate if the designated constraints aren't met.
Network Stat.
NetworkValidationError is the validation error returned by Network.Validate if the designated constraints aren't met.
PeerHost represents information of peer host.
PeerHostValidationError is the validation error returned by PeerHost.Validate if the designated constraints aren't met.
PeerPacket represents response of ReportPieceResult.
No description provided by the author
PeerPacket_DestPeerValidationError is the validation error returned by PeerPacket_DestPeer.Validate if the designated constraints aren't met.
No description provided by the author
PeerPacketValidationError is the validation error returned by PeerPacket.Validate if the designated constraints aren't met.
PeerResult represents response of ReportPeerResult.
No description provided by the author
PeerResultValidationError is the validation error returned by PeerResult.Validate if the designated constraints aren't met.
PeerTarget represents request of LeaveTask.
PeerTargetValidationError is the validation error returned by PeerTarget.Validate if the designated constraints aren't met.
PeerTaskRequest represents request of RegisterPeerTask.
PeerTaskRequestValidationError is the validation error returned by PeerTaskRequest.Validate if the designated constraints aren't met.
PieceResult represents request of ReportPieceResult.
PieceResultValidationError is the validation error returned by PieceResult.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.
RegisterResult represents response of RegisterPeerTask.
No description provided by the author
No description provided by the author
RegisterResultValidationError is the validation error returned by RegisterResult.Validate if the designated constraints aren't met.
SinglePiece represents information of single piece.
SinglePieceValidationError is the validation error returned by SinglePiece.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.
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.
Task represents download task.
TaskValidationError is the validation error returned by Task.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.
AnnounceTaskRequestMultiError is an error wrapping multiple validation errors returned by AnnounceTaskRequest.ValidateAll() if the designated constraints aren't met.
BuildMultiError is an error wrapping multiple validation errors returned by Build.ValidateAll() if the designated constraints aren't met.
CPUMultiError is an error wrapping multiple validation errors returned by CPU.ValidateAll() if the designated constraints aren't met.
CPUTimesMultiError is an error wrapping multiple validation errors returned by CPUTimes.ValidateAll() if the designated constraints aren't met.
DiskMultiError is an error wrapping multiple validation errors returned by Disk.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.
LeaveHostRequestMultiError is an error wrapping multiple validation errors returned by LeaveHostRequest.ValidateAll() if the designated constraints aren't met.
MemoryMultiError is an error wrapping multiple validation errors returned by Memory.ValidateAll() if the designated constraints aren't met.
NetworkMultiError is an error wrapping multiple validation errors returned by Network.ValidateAll() if the designated constraints aren't met.
PeerHostMultiError is an error wrapping multiple validation errors returned by PeerHost.ValidateAll() if the designated constraints aren't met.
PeerPacket_DestPeerMultiError is an error wrapping multiple validation errors returned by PeerPacket_DestPeer.ValidateAll() if the designated constraints aren't met.
PeerPacketMultiError is an error wrapping multiple validation errors returned by PeerPacket.ValidateAll() if the designated constraints aren't met.
PeerResultMultiError is an error wrapping multiple validation errors returned by PeerResult.ValidateAll() if the designated constraints aren't met.
PeerTargetMultiError is an error wrapping multiple validation errors returned by PeerTarget.ValidateAll() if the designated constraints aren't met.
PeerTaskRequestMultiError is an error wrapping multiple validation errors returned by PeerTaskRequest.ValidateAll() if the designated constraints aren't met.
PieceResultMultiError is an error wrapping multiple validation errors returned by PieceResult.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.
RegisterResultMultiError is an error wrapping multiple validation errors returned by RegisterResult.ValidateAll() if the designated constraints aren't met.
SinglePieceMultiError is an error wrapping multiple validation errors returned by SinglePiece.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.
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.
TaskMultiError is an error wrapping multiple validation errors returned by Task.ValidateAll() if the designated constraints aren't met.