Documentation
¶
Index ¶
- Variables
- func RegisterSchedulerServer(s grpc.ServiceRegistrar, srv SchedulerServer)
- type AnnounceCachePeerRequest
- func (*AnnounceCachePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnnounceCachePeerRequest) GetDownloadCachePeerBackToSourceFailedRequest() *DownloadCachePeerBackToSourceFailedRequest
- func (x *AnnounceCachePeerRequest) GetDownloadCachePeerBackToSourceFinishedRequest() *DownloadCachePeerBackToSourceFinishedRequest
- func (x *AnnounceCachePeerRequest) GetDownloadCachePeerBackToSourceStartedRequest() *DownloadCachePeerBackToSourceStartedRequest
- func (x *AnnounceCachePeerRequest) GetDownloadCachePeerFailedRequest() *DownloadCachePeerFailedRequest
- func (x *AnnounceCachePeerRequest) GetDownloadCachePeerFinishedRequest() *DownloadCachePeerFinishedRequest
- func (x *AnnounceCachePeerRequest) GetDownloadCachePeerStartedRequest() *DownloadCachePeerStartedRequest
- func (x *AnnounceCachePeerRequest) GetDownloadPieceBackToSourceFailedRequest() *DownloadPieceBackToSourceFailedRequest
- func (x *AnnounceCachePeerRequest) GetDownloadPieceBackToSourceFinishedRequest() *DownloadPieceBackToSourceFinishedRequest
- func (x *AnnounceCachePeerRequest) GetDownloadPieceFailedRequest() *DownloadPieceFailedRequest
- func (x *AnnounceCachePeerRequest) GetDownloadPieceFinishedRequest() *DownloadPieceFinishedRequest
- func (x *AnnounceCachePeerRequest) GetHostId() string
- func (x *AnnounceCachePeerRequest) GetPeerId() string
- func (x *AnnounceCachePeerRequest) GetRegisterCachePeerRequest() *RegisterCachePeerRequest
- func (m *AnnounceCachePeerRequest) GetRequest() isAnnounceCachePeerRequest_Request
- func (x *AnnounceCachePeerRequest) GetRescheduleCachePeerRequest() *RescheduleCachePeerRequest
- func (x *AnnounceCachePeerRequest) GetTaskId() string
- func (*AnnounceCachePeerRequest) ProtoMessage()
- func (x *AnnounceCachePeerRequest) ProtoReflect() protoreflect.Message
- func (x *AnnounceCachePeerRequest) Reset()
- func (x *AnnounceCachePeerRequest) String() string
- func (m *AnnounceCachePeerRequest) Validate() error
- func (m *AnnounceCachePeerRequest) ValidateAll() error
- type AnnounceCachePeerRequestMultiError
- type AnnounceCachePeerRequestValidationError
- func (e AnnounceCachePeerRequestValidationError) Cause() error
- func (e AnnounceCachePeerRequestValidationError) Error() string
- func (e AnnounceCachePeerRequestValidationError) ErrorName() string
- func (e AnnounceCachePeerRequestValidationError) Field() string
- func (e AnnounceCachePeerRequestValidationError) Key() bool
- func (e AnnounceCachePeerRequestValidationError) Reason() string
- type AnnounceCachePeerRequest_DownloadCachePeerBackToSourceFailedRequest
- type AnnounceCachePeerRequest_DownloadCachePeerBackToSourceFinishedRequest
- type AnnounceCachePeerRequest_DownloadCachePeerBackToSourceStartedRequest
- type AnnounceCachePeerRequest_DownloadCachePeerFailedRequest
- type AnnounceCachePeerRequest_DownloadCachePeerFinishedRequest
- type AnnounceCachePeerRequest_DownloadCachePeerStartedRequest
- type AnnounceCachePeerRequest_DownloadPieceBackToSourceFailedRequest
- type AnnounceCachePeerRequest_DownloadPieceBackToSourceFinishedRequest
- type AnnounceCachePeerRequest_DownloadPieceFailedRequest
- type AnnounceCachePeerRequest_DownloadPieceFinishedRequest
- type AnnounceCachePeerRequest_RegisterCachePeerRequest
- type AnnounceCachePeerRequest_RescheduleCachePeerRequest
- type AnnounceCachePeerResponse
- func (*AnnounceCachePeerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AnnounceCachePeerResponse) GetEmptyCacheTaskResponse() *EmptyCacheTaskResponse
- func (x *AnnounceCachePeerResponse) GetNeedBackToSourceResponse() *NeedBackToSourceResponse
- func (x *AnnounceCachePeerResponse) GetNormalCacheTaskResponse() *NormalCacheTaskResponse
- func (m *AnnounceCachePeerResponse) GetResponse() isAnnounceCachePeerResponse_Response
- func (*AnnounceCachePeerResponse) ProtoMessage()
- func (x *AnnounceCachePeerResponse) ProtoReflect() protoreflect.Message
- func (x *AnnounceCachePeerResponse) Reset()
- func (x *AnnounceCachePeerResponse) String() string
- func (m *AnnounceCachePeerResponse) Validate() error
- func (m *AnnounceCachePeerResponse) ValidateAll() error
- type AnnounceCachePeerResponseMultiError
- type AnnounceCachePeerResponseValidationError
- func (e AnnounceCachePeerResponseValidationError) Cause() error
- func (e AnnounceCachePeerResponseValidationError) Error() string
- func (e AnnounceCachePeerResponseValidationError) ErrorName() string
- func (e AnnounceCachePeerResponseValidationError) Field() string
- func (e AnnounceCachePeerResponseValidationError) Key() bool
- func (e AnnounceCachePeerResponseValidationError) Reason() string
- type AnnounceCachePeerResponse_EmptyCacheTaskResponse
- type AnnounceCachePeerResponse_NeedBackToSourceResponse
- type AnnounceCachePeerResponse_NormalCacheTaskResponse
- type AnnounceHostRequest
- func (*AnnounceHostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnnounceHostRequest) GetHost() *v2.Host
- func (x *AnnounceHostRequest) GetInterval() *durationpb.Duration
- func (*AnnounceHostRequest) ProtoMessage()
- func (x *AnnounceHostRequest) ProtoReflect() protoreflect.Message
- func (x *AnnounceHostRequest) Reset()
- func (x *AnnounceHostRequest) String() string
- func (m *AnnounceHostRequest) Validate() error
- func (m *AnnounceHostRequest) ValidateAll() error
- type AnnounceHostRequestMultiError
- type AnnounceHostRequestValidationError
- func (e AnnounceHostRequestValidationError) Cause() error
- func (e AnnounceHostRequestValidationError) Error() string
- func (e AnnounceHostRequestValidationError) ErrorName() string
- func (e AnnounceHostRequestValidationError) Field() string
- func (e AnnounceHostRequestValidationError) Key() bool
- func (e AnnounceHostRequestValidationError) Reason() string
- type AnnouncePeerRequest
- func (*AnnouncePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnnouncePeerRequest) GetDownloadPeerBackToSourceFailedRequest() *DownloadPeerBackToSourceFailedRequest
- func (x *AnnouncePeerRequest) GetDownloadPeerBackToSourceFinishedRequest() *DownloadPeerBackToSourceFinishedRequest
- func (x *AnnouncePeerRequest) GetDownloadPeerBackToSourceStartedRequest() *DownloadPeerBackToSourceStartedRequest
- func (x *AnnouncePeerRequest) GetDownloadPeerFailedRequest() *DownloadPeerFailedRequest
- func (x *AnnouncePeerRequest) GetDownloadPeerFinishedRequest() *DownloadPeerFinishedRequest
- func (x *AnnouncePeerRequest) GetDownloadPeerStartedRequest() *DownloadPeerStartedRequest
- func (x *AnnouncePeerRequest) GetDownloadPieceBackToSourceFailedRequest() *DownloadPieceBackToSourceFailedRequest
- func (x *AnnouncePeerRequest) GetDownloadPieceBackToSourceFinishedRequest() *DownloadPieceBackToSourceFinishedRequest
- func (x *AnnouncePeerRequest) GetDownloadPieceFailedRequest() *DownloadPieceFailedRequest
- func (x *AnnouncePeerRequest) GetDownloadPieceFinishedRequest() *DownloadPieceFinishedRequest
- func (x *AnnouncePeerRequest) GetHostId() string
- func (x *AnnouncePeerRequest) GetPeerId() string
- func (x *AnnouncePeerRequest) GetRegisterPeerRequest() *RegisterPeerRequest
- func (m *AnnouncePeerRequest) GetRequest() isAnnouncePeerRequest_Request
- func (x *AnnouncePeerRequest) GetReschedulePeerRequest() *ReschedulePeerRequest
- func (x *AnnouncePeerRequest) GetTaskId() string
- func (*AnnouncePeerRequest) ProtoMessage()
- func (x *AnnouncePeerRequest) ProtoReflect() protoreflect.Message
- func (x *AnnouncePeerRequest) Reset()
- func (x *AnnouncePeerRequest) String() string
- func (m *AnnouncePeerRequest) Validate() error
- func (m *AnnouncePeerRequest) ValidateAll() error
- type AnnouncePeerRequestMultiError
- type AnnouncePeerRequestValidationError
- func (e AnnouncePeerRequestValidationError) Cause() error
- func (e AnnouncePeerRequestValidationError) Error() string
- func (e AnnouncePeerRequestValidationError) ErrorName() string
- func (e AnnouncePeerRequestValidationError) Field() string
- func (e AnnouncePeerRequestValidationError) Key() bool
- func (e AnnouncePeerRequestValidationError) Reason() string
- type AnnouncePeerRequest_DownloadPeerBackToSourceFailedRequest
- type AnnouncePeerRequest_DownloadPeerBackToSourceFinishedRequest
- type AnnouncePeerRequest_DownloadPeerBackToSourceStartedRequest
- type AnnouncePeerRequest_DownloadPeerFailedRequest
- type AnnouncePeerRequest_DownloadPeerFinishedRequest
- type AnnouncePeerRequest_DownloadPeerStartedRequest
- type AnnouncePeerRequest_DownloadPieceBackToSourceFailedRequest
- type AnnouncePeerRequest_DownloadPieceBackToSourceFinishedRequest
- type AnnouncePeerRequest_DownloadPieceFailedRequest
- type AnnouncePeerRequest_DownloadPieceFinishedRequest
- type AnnouncePeerRequest_RegisterPeerRequest
- type AnnouncePeerRequest_ReschedulePeerRequest
- type AnnouncePeerResponse
- func (*AnnouncePeerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AnnouncePeerResponse) GetEmptyTaskResponse() *EmptyTaskResponse
- func (x *AnnouncePeerResponse) GetNeedBackToSourceResponse() *NeedBackToSourceResponse
- func (x *AnnouncePeerResponse) GetNormalTaskResponse() *NormalTaskResponse
- func (m *AnnouncePeerResponse) GetResponse() isAnnouncePeerResponse_Response
- func (*AnnouncePeerResponse) ProtoMessage()
- func (x *AnnouncePeerResponse) ProtoReflect() protoreflect.Message
- func (x *AnnouncePeerResponse) Reset()
- func (x *AnnouncePeerResponse) String() string
- func (m *AnnouncePeerResponse) Validate() error
- func (m *AnnouncePeerResponse) ValidateAll() error
- type AnnouncePeerResponseMultiError
- type AnnouncePeerResponseValidationError
- func (e AnnouncePeerResponseValidationError) Cause() error
- func (e AnnouncePeerResponseValidationError) Error() string
- func (e AnnouncePeerResponseValidationError) ErrorName() string
- func (e AnnouncePeerResponseValidationError) Field() string
- func (e AnnouncePeerResponseValidationError) Key() bool
- func (e AnnouncePeerResponseValidationError) Reason() string
- type AnnouncePeerResponse_EmptyTaskResponse
- type AnnouncePeerResponse_NeedBackToSourceResponse
- type AnnouncePeerResponse_NormalTaskResponse
- type AnnouncePersistentCachePeerRequest
- func (*AnnouncePersistentCachePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnnouncePersistentCachePeerRequest) GetDownloadPersistentCachePeerFailedRequest() *DownloadPersistentCachePeerFailedRequest
- func (x *AnnouncePersistentCachePeerRequest) GetDownloadPersistentCachePeerFinishedRequest() *DownloadPersistentCachePeerFinishedRequest
- func (x *AnnouncePersistentCachePeerRequest) GetDownloadPersistentCachePeerStartedRequest() *DownloadPersistentCachePeerStartedRequest
- func (x *AnnouncePersistentCachePeerRequest) GetDownloadPieceFailedRequest() *DownloadPieceFailedRequest
- func (x *AnnouncePersistentCachePeerRequest) GetDownloadPieceFinishedRequest() *DownloadPieceFinishedRequest
- func (x *AnnouncePersistentCachePeerRequest) GetHostId() string
- func (x *AnnouncePersistentCachePeerRequest) GetPeerId() string
- func (x *AnnouncePersistentCachePeerRequest) GetRegisterPersistentCachePeerRequest() *RegisterPersistentCachePeerRequest
- func (m *AnnouncePersistentCachePeerRequest) GetRequest() isAnnouncePersistentCachePeerRequest_Request
- func (x *AnnouncePersistentCachePeerRequest) GetReschedulePersistentCachePeerRequest() *ReschedulePersistentCachePeerRequest
- func (x *AnnouncePersistentCachePeerRequest) GetTaskId() string
- func (*AnnouncePersistentCachePeerRequest) ProtoMessage()
- func (x *AnnouncePersistentCachePeerRequest) ProtoReflect() protoreflect.Message
- func (x *AnnouncePersistentCachePeerRequest) Reset()
- func (x *AnnouncePersistentCachePeerRequest) String() string
- func (m *AnnouncePersistentCachePeerRequest) Validate() error
- func (m *AnnouncePersistentCachePeerRequest) ValidateAll() error
- type AnnouncePersistentCachePeerRequestMultiError
- type AnnouncePersistentCachePeerRequestValidationError
- func (e AnnouncePersistentCachePeerRequestValidationError) Cause() error
- func (e AnnouncePersistentCachePeerRequestValidationError) Error() string
- func (e AnnouncePersistentCachePeerRequestValidationError) ErrorName() string
- func (e AnnouncePersistentCachePeerRequestValidationError) Field() string
- func (e AnnouncePersistentCachePeerRequestValidationError) Key() bool
- func (e AnnouncePersistentCachePeerRequestValidationError) Reason() string
- type AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerFailedRequest
- type AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerFinishedRequest
- type AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerStartedRequest
- type AnnouncePersistentCachePeerRequest_DownloadPieceFailedRequest
- type AnnouncePersistentCachePeerRequest_DownloadPieceFinishedRequest
- type AnnouncePersistentCachePeerRequest_RegisterPersistentCachePeerRequest
- type AnnouncePersistentCachePeerRequest_ReschedulePersistentCachePeerRequest
- type AnnouncePersistentCachePeerResponse
- func (*AnnouncePersistentCachePeerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AnnouncePersistentCachePeerResponse) GetEmptyPersistentCacheTaskResponse() *EmptyPersistentCacheTaskResponse
- func (x *AnnouncePersistentCachePeerResponse) GetNormalPersistentCacheTaskResponse() *NormalPersistentCacheTaskResponse
- func (m *AnnouncePersistentCachePeerResponse) GetResponse() isAnnouncePersistentCachePeerResponse_Response
- func (*AnnouncePersistentCachePeerResponse) ProtoMessage()
- func (x *AnnouncePersistentCachePeerResponse) ProtoReflect() protoreflect.Message
- func (x *AnnouncePersistentCachePeerResponse) Reset()
- func (x *AnnouncePersistentCachePeerResponse) String() string
- func (m *AnnouncePersistentCachePeerResponse) Validate() error
- func (m *AnnouncePersistentCachePeerResponse) ValidateAll() error
- type AnnouncePersistentCachePeerResponseMultiError
- type AnnouncePersistentCachePeerResponseValidationError
- func (e AnnouncePersistentCachePeerResponseValidationError) Cause() error
- func (e AnnouncePersistentCachePeerResponseValidationError) Error() string
- func (e AnnouncePersistentCachePeerResponseValidationError) ErrorName() string
- func (e AnnouncePersistentCachePeerResponseValidationError) Field() string
- func (e AnnouncePersistentCachePeerResponseValidationError) Key() bool
- func (e AnnouncePersistentCachePeerResponseValidationError) Reason() string
- type AnnouncePersistentCachePeerResponse_EmptyPersistentCacheTaskResponse
- type AnnouncePersistentCachePeerResponse_NormalPersistentCacheTaskResponse
- type AnnouncePersistentPeerRequest
- func (*AnnouncePersistentPeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerBackToSourceFailedRequest() *DownloadPersistentPeerBackToSourceFailedRequest
- func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerBackToSourceFinishedRequest() *DownloadPersistentPeerBackToSourceFinishedRequest
- func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerBackToSourceStartedRequest() *DownloadPersistentPeerBackToSourceStartedRequest
- func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerFailedRequest() *DownloadPersistentPeerFailedRequest
- func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerFinishedRequest() *DownloadPersistentPeerFinishedRequest
- func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerStartedRequest() *DownloadPersistentPeerStartedRequest
- func (x *AnnouncePersistentPeerRequest) GetDownloadPieceBackToSourceFailedRequest() *DownloadPieceBackToSourceFailedRequest
- func (x *AnnouncePersistentPeerRequest) GetDownloadPieceBackToSourceFinishedRequest() *DownloadPieceBackToSourceFinishedRequest
- func (x *AnnouncePersistentPeerRequest) GetDownloadPieceFailedRequest() *DownloadPieceFailedRequest
- func (x *AnnouncePersistentPeerRequest) GetDownloadPieceFinishedRequest() *DownloadPieceFinishedRequest
- func (x *AnnouncePersistentPeerRequest) GetHostId() string
- func (x *AnnouncePersistentPeerRequest) GetPeerId() string
- func (x *AnnouncePersistentPeerRequest) GetRegisterPersistentPeerRequest() *RegisterPersistentPeerRequest
- func (m *AnnouncePersistentPeerRequest) GetRequest() isAnnouncePersistentPeerRequest_Request
- func (x *AnnouncePersistentPeerRequest) GetReschedulePersistentPeerRequest() *ReschedulePersistentPeerRequest
- func (x *AnnouncePersistentPeerRequest) GetTaskId() string
- func (*AnnouncePersistentPeerRequest) ProtoMessage()
- func (x *AnnouncePersistentPeerRequest) ProtoReflect() protoreflect.Message
- func (x *AnnouncePersistentPeerRequest) Reset()
- func (x *AnnouncePersistentPeerRequest) String() string
- func (m *AnnouncePersistentPeerRequest) Validate() error
- func (m *AnnouncePersistentPeerRequest) ValidateAll() error
- type AnnouncePersistentPeerRequestMultiError
- type AnnouncePersistentPeerRequestValidationError
- func (e AnnouncePersistentPeerRequestValidationError) Cause() error
- func (e AnnouncePersistentPeerRequestValidationError) Error() string
- func (e AnnouncePersistentPeerRequestValidationError) ErrorName() string
- func (e AnnouncePersistentPeerRequestValidationError) Field() string
- func (e AnnouncePersistentPeerRequestValidationError) Key() bool
- func (e AnnouncePersistentPeerRequestValidationError) Reason() string
- type AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceFailedRequest
- type AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceFinishedRequest
- type AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceStartedRequest
- type AnnouncePersistentPeerRequest_DownloadPersistentPeerFailedRequest
- type AnnouncePersistentPeerRequest_DownloadPersistentPeerFinishedRequest
- type AnnouncePersistentPeerRequest_DownloadPersistentPeerStartedRequest
- type AnnouncePersistentPeerRequest_DownloadPieceBackToSourceFailedRequest
- type AnnouncePersistentPeerRequest_DownloadPieceBackToSourceFinishedRequest
- type AnnouncePersistentPeerRequest_DownloadPieceFailedRequest
- type AnnouncePersistentPeerRequest_DownloadPieceFinishedRequest
- type AnnouncePersistentPeerRequest_RegisterPersistentPeerRequest
- type AnnouncePersistentPeerRequest_ReschedulePersistentPeerRequest
- type AnnouncePersistentPeerResponse
- func (*AnnouncePersistentPeerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AnnouncePersistentPeerResponse) GetEmptyPersistentTaskResponse() *EmptyPersistentTaskResponse
- func (x *AnnouncePersistentPeerResponse) GetNeedBackToSourceResponse() *NeedBackToSourceResponse
- func (x *AnnouncePersistentPeerResponse) GetNormalPersistentTaskResponse() *NormalPersistentTaskResponse
- func (m *AnnouncePersistentPeerResponse) GetResponse() isAnnouncePersistentPeerResponse_Response
- func (*AnnouncePersistentPeerResponse) ProtoMessage()
- func (x *AnnouncePersistentPeerResponse) ProtoReflect() protoreflect.Message
- func (x *AnnouncePersistentPeerResponse) Reset()
- func (x *AnnouncePersistentPeerResponse) String() string
- func (m *AnnouncePersistentPeerResponse) Validate() error
- func (m *AnnouncePersistentPeerResponse) ValidateAll() error
- type AnnouncePersistentPeerResponseMultiError
- type AnnouncePersistentPeerResponseValidationError
- func (e AnnouncePersistentPeerResponseValidationError) Cause() error
- func (e AnnouncePersistentPeerResponseValidationError) Error() string
- func (e AnnouncePersistentPeerResponseValidationError) ErrorName() string
- func (e AnnouncePersistentPeerResponseValidationError) Field() string
- func (e AnnouncePersistentPeerResponseValidationError) Key() bool
- func (e AnnouncePersistentPeerResponseValidationError) Reason() string
- type AnnouncePersistentPeerResponse_EmptyPersistentTaskResponse
- type AnnouncePersistentPeerResponse_NeedBackToSourceResponse
- type AnnouncePersistentPeerResponse_NormalPersistentTaskResponse
- type DeleteCachePeerRequest
- func (*DeleteCachePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCachePeerRequest) GetHostId() string
- func (x *DeleteCachePeerRequest) GetPeerId() string
- func (x *DeleteCachePeerRequest) GetTaskId() string
- func (*DeleteCachePeerRequest) ProtoMessage()
- func (x *DeleteCachePeerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCachePeerRequest) Reset()
- func (x *DeleteCachePeerRequest) String() string
- func (m *DeleteCachePeerRequest) Validate() error
- func (m *DeleteCachePeerRequest) ValidateAll() error
- type DeleteCachePeerRequestMultiError
- type DeleteCachePeerRequestValidationError
- func (e DeleteCachePeerRequestValidationError) Cause() error
- func (e DeleteCachePeerRequestValidationError) Error() string
- func (e DeleteCachePeerRequestValidationError) ErrorName() string
- func (e DeleteCachePeerRequestValidationError) Field() string
- func (e DeleteCachePeerRequestValidationError) Key() bool
- func (e DeleteCachePeerRequestValidationError) Reason() string
- type DeleteCacheTaskRequest
- func (*DeleteCacheTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCacheTaskRequest) GetHostId() string
- func (x *DeleteCacheTaskRequest) GetTaskId() string
- func (*DeleteCacheTaskRequest) ProtoMessage()
- func (x *DeleteCacheTaskRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCacheTaskRequest) Reset()
- func (x *DeleteCacheTaskRequest) String() string
- func (m *DeleteCacheTaskRequest) Validate() error
- func (m *DeleteCacheTaskRequest) ValidateAll() error
- type DeleteCacheTaskRequestMultiError
- type DeleteCacheTaskRequestValidationError
- func (e DeleteCacheTaskRequestValidationError) Cause() error
- func (e DeleteCacheTaskRequestValidationError) Error() string
- func (e DeleteCacheTaskRequestValidationError) ErrorName() string
- func (e DeleteCacheTaskRequestValidationError) Field() string
- func (e DeleteCacheTaskRequestValidationError) Key() bool
- func (e DeleteCacheTaskRequestValidationError) Reason() string
- type DeleteHostRequest
- func (*DeleteHostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteHostRequest) GetHostId() string
- func (*DeleteHostRequest) ProtoMessage()
- func (x *DeleteHostRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteHostRequest) Reset()
- func (x *DeleteHostRequest) String() string
- func (m *DeleteHostRequest) Validate() error
- func (m *DeleteHostRequest) ValidateAll() error
- type DeleteHostRequestMultiError
- type DeleteHostRequestValidationError
- func (e DeleteHostRequestValidationError) Cause() error
- func (e DeleteHostRequestValidationError) Error() string
- func (e DeleteHostRequestValidationError) ErrorName() string
- func (e DeleteHostRequestValidationError) Field() string
- func (e DeleteHostRequestValidationError) Key() bool
- func (e DeleteHostRequestValidationError) Reason() string
- type DeletePeerRequest
- func (*DeletePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePeerRequest) GetHostId() string
- func (x *DeletePeerRequest) GetPeerId() string
- func (x *DeletePeerRequest) GetTaskId() string
- func (*DeletePeerRequest) ProtoMessage()
- func (x *DeletePeerRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePeerRequest) Reset()
- func (x *DeletePeerRequest) String() string
- func (m *DeletePeerRequest) Validate() error
- func (m *DeletePeerRequest) ValidateAll() error
- type DeletePeerRequestMultiError
- type DeletePeerRequestValidationError
- func (e DeletePeerRequestValidationError) Cause() error
- func (e DeletePeerRequestValidationError) Error() string
- func (e DeletePeerRequestValidationError) ErrorName() string
- func (e DeletePeerRequestValidationError) Field() string
- func (e DeletePeerRequestValidationError) Key() bool
- func (e DeletePeerRequestValidationError) Reason() string
- type DeletePersistentCachePeerRequest
- func (*DeletePersistentCachePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePersistentCachePeerRequest) GetHostId() string
- func (x *DeletePersistentCachePeerRequest) GetPeerId() string
- func (x *DeletePersistentCachePeerRequest) GetTaskId() string
- func (*DeletePersistentCachePeerRequest) ProtoMessage()
- func (x *DeletePersistentCachePeerRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePersistentCachePeerRequest) Reset()
- func (x *DeletePersistentCachePeerRequest) String() string
- func (m *DeletePersistentCachePeerRequest) Validate() error
- func (m *DeletePersistentCachePeerRequest) ValidateAll() error
- type DeletePersistentCachePeerRequestMultiError
- type DeletePersistentCachePeerRequestValidationError
- func (e DeletePersistentCachePeerRequestValidationError) Cause() error
- func (e DeletePersistentCachePeerRequestValidationError) Error() string
- func (e DeletePersistentCachePeerRequestValidationError) ErrorName() string
- func (e DeletePersistentCachePeerRequestValidationError) Field() string
- func (e DeletePersistentCachePeerRequestValidationError) Key() bool
- func (e DeletePersistentCachePeerRequestValidationError) Reason() string
- type DeletePersistentCacheTaskRequest
- func (*DeletePersistentCacheTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePersistentCacheTaskRequest) GetHostId() string
- func (x *DeletePersistentCacheTaskRequest) GetTaskId() string
- func (*DeletePersistentCacheTaskRequest) ProtoMessage()
- func (x *DeletePersistentCacheTaskRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePersistentCacheTaskRequest) Reset()
- func (x *DeletePersistentCacheTaskRequest) String() string
- func (m *DeletePersistentCacheTaskRequest) Validate() error
- func (m *DeletePersistentCacheTaskRequest) ValidateAll() error
- type DeletePersistentCacheTaskRequestMultiError
- type DeletePersistentCacheTaskRequestValidationError
- func (e DeletePersistentCacheTaskRequestValidationError) Cause() error
- func (e DeletePersistentCacheTaskRequestValidationError) Error() string
- func (e DeletePersistentCacheTaskRequestValidationError) ErrorName() string
- func (e DeletePersistentCacheTaskRequestValidationError) Field() string
- func (e DeletePersistentCacheTaskRequestValidationError) Key() bool
- func (e DeletePersistentCacheTaskRequestValidationError) Reason() string
- type DeletePersistentPeerRequest
- func (*DeletePersistentPeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePersistentPeerRequest) GetHostId() string
- func (x *DeletePersistentPeerRequest) GetPeerId() string
- func (x *DeletePersistentPeerRequest) GetTaskId() string
- func (*DeletePersistentPeerRequest) ProtoMessage()
- func (x *DeletePersistentPeerRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePersistentPeerRequest) Reset()
- func (x *DeletePersistentPeerRequest) String() string
- func (m *DeletePersistentPeerRequest) Validate() error
- func (m *DeletePersistentPeerRequest) ValidateAll() error
- type DeletePersistentPeerRequestMultiError
- type DeletePersistentPeerRequestValidationError
- func (e DeletePersistentPeerRequestValidationError) Cause() error
- func (e DeletePersistentPeerRequestValidationError) Error() string
- func (e DeletePersistentPeerRequestValidationError) ErrorName() string
- func (e DeletePersistentPeerRequestValidationError) Field() string
- func (e DeletePersistentPeerRequestValidationError) Key() bool
- func (e DeletePersistentPeerRequestValidationError) Reason() string
- type DeletePersistentTaskRequest
- func (*DeletePersistentTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePersistentTaskRequest) GetHostId() string
- func (x *DeletePersistentTaskRequest) GetTaskId() string
- func (*DeletePersistentTaskRequest) ProtoMessage()
- func (x *DeletePersistentTaskRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePersistentTaskRequest) Reset()
- func (x *DeletePersistentTaskRequest) String() string
- func (m *DeletePersistentTaskRequest) Validate() error
- func (m *DeletePersistentTaskRequest) ValidateAll() error
- type DeletePersistentTaskRequestMultiError
- type DeletePersistentTaskRequestValidationError
- func (e DeletePersistentTaskRequestValidationError) Cause() error
- func (e DeletePersistentTaskRequestValidationError) Error() string
- func (e DeletePersistentTaskRequestValidationError) ErrorName() string
- func (e DeletePersistentTaskRequestValidationError) Field() string
- func (e DeletePersistentTaskRequestValidationError) Key() bool
- func (e DeletePersistentTaskRequestValidationError) Reason() string
- type DeleteTaskRequest
- func (*DeleteTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTaskRequest) GetHostId() string
- func (x *DeleteTaskRequest) GetTaskId() string
- func (*DeleteTaskRequest) ProtoMessage()
- func (x *DeleteTaskRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTaskRequest) Reset()
- func (x *DeleteTaskRequest) String() string
- func (m *DeleteTaskRequest) Validate() error
- func (m *DeleteTaskRequest) ValidateAll() error
- type DeleteTaskRequestMultiError
- type DeleteTaskRequestValidationError
- func (e DeleteTaskRequestValidationError) Cause() error
- func (e DeleteTaskRequestValidationError) Error() string
- func (e DeleteTaskRequestValidationError) ErrorName() string
- func (e DeleteTaskRequestValidationError) Field() string
- func (e DeleteTaskRequestValidationError) Key() bool
- func (e DeleteTaskRequestValidationError) Reason() string
- type DownloadCachePeerBackToSourceFailedRequest
- func (*DownloadCachePeerBackToSourceFailedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadCachePeerBackToSourceFailedRequest) GetDescription() string
- func (*DownloadCachePeerBackToSourceFailedRequest) ProtoMessage()
- func (x *DownloadCachePeerBackToSourceFailedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadCachePeerBackToSourceFailedRequest) Reset()
- func (x *DownloadCachePeerBackToSourceFailedRequest) String() string
- func (m *DownloadCachePeerBackToSourceFailedRequest) Validate() error
- func (m *DownloadCachePeerBackToSourceFailedRequest) ValidateAll() error
- type DownloadCachePeerBackToSourceFailedRequestMultiError
- type DownloadCachePeerBackToSourceFailedRequestValidationError
- func (e DownloadCachePeerBackToSourceFailedRequestValidationError) Cause() error
- func (e DownloadCachePeerBackToSourceFailedRequestValidationError) Error() string
- func (e DownloadCachePeerBackToSourceFailedRequestValidationError) ErrorName() string
- func (e DownloadCachePeerBackToSourceFailedRequestValidationError) Field() string
- func (e DownloadCachePeerBackToSourceFailedRequestValidationError) Key() bool
- func (e DownloadCachePeerBackToSourceFailedRequestValidationError) Reason() string
- type DownloadCachePeerBackToSourceFinishedRequest
- func (*DownloadCachePeerBackToSourceFinishedRequest) Descriptor() ([]byte, []int)deprecated
- func (*DownloadCachePeerBackToSourceFinishedRequest) ProtoMessage()
- func (x *DownloadCachePeerBackToSourceFinishedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadCachePeerBackToSourceFinishedRequest) Reset()
- func (x *DownloadCachePeerBackToSourceFinishedRequest) String() string
- func (m *DownloadCachePeerBackToSourceFinishedRequest) Validate() error
- func (m *DownloadCachePeerBackToSourceFinishedRequest) ValidateAll() error
- type DownloadCachePeerBackToSourceFinishedRequestMultiError
- type DownloadCachePeerBackToSourceFinishedRequestValidationError
- func (e DownloadCachePeerBackToSourceFinishedRequestValidationError) Cause() error
- func (e DownloadCachePeerBackToSourceFinishedRequestValidationError) Error() string
- func (e DownloadCachePeerBackToSourceFinishedRequestValidationError) ErrorName() string
- func (e DownloadCachePeerBackToSourceFinishedRequestValidationError) Field() string
- func (e DownloadCachePeerBackToSourceFinishedRequestValidationError) Key() bool
- func (e DownloadCachePeerBackToSourceFinishedRequestValidationError) Reason() string
- type DownloadCachePeerBackToSourceStartedRequest
- func (*DownloadCachePeerBackToSourceStartedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadCachePeerBackToSourceStartedRequest) GetDescription() string
- func (*DownloadCachePeerBackToSourceStartedRequest) ProtoMessage()
- func (x *DownloadCachePeerBackToSourceStartedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadCachePeerBackToSourceStartedRequest) Reset()
- func (x *DownloadCachePeerBackToSourceStartedRequest) String() string
- func (m *DownloadCachePeerBackToSourceStartedRequest) Validate() error
- func (m *DownloadCachePeerBackToSourceStartedRequest) ValidateAll() error
- type DownloadCachePeerBackToSourceStartedRequestMultiError
- type DownloadCachePeerBackToSourceStartedRequestValidationError
- func (e DownloadCachePeerBackToSourceStartedRequestValidationError) Cause() error
- func (e DownloadCachePeerBackToSourceStartedRequestValidationError) Error() string
- func (e DownloadCachePeerBackToSourceStartedRequestValidationError) ErrorName() string
- func (e DownloadCachePeerBackToSourceStartedRequestValidationError) Field() string
- func (e DownloadCachePeerBackToSourceStartedRequestValidationError) Key() bool
- func (e DownloadCachePeerBackToSourceStartedRequestValidationError) Reason() string
- type DownloadCachePeerFailedRequest
- func (*DownloadCachePeerFailedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadCachePeerFailedRequest) GetDescription() string
- func (*DownloadCachePeerFailedRequest) ProtoMessage()
- func (x *DownloadCachePeerFailedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadCachePeerFailedRequest) Reset()
- func (x *DownloadCachePeerFailedRequest) String() string
- func (m *DownloadCachePeerFailedRequest) Validate() error
- func (m *DownloadCachePeerFailedRequest) ValidateAll() error
- type DownloadCachePeerFailedRequestMultiError
- type DownloadCachePeerFailedRequestValidationError
- func (e DownloadCachePeerFailedRequestValidationError) Cause() error
- func (e DownloadCachePeerFailedRequestValidationError) Error() string
- func (e DownloadCachePeerFailedRequestValidationError) ErrorName() string
- func (e DownloadCachePeerFailedRequestValidationError) Field() string
- func (e DownloadCachePeerFailedRequestValidationError) Key() bool
- func (e DownloadCachePeerFailedRequestValidationError) Reason() string
- type DownloadCachePeerFinishedRequest
- func (*DownloadCachePeerFinishedRequest) Descriptor() ([]byte, []int)deprecated
- func (*DownloadCachePeerFinishedRequest) ProtoMessage()
- func (x *DownloadCachePeerFinishedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadCachePeerFinishedRequest) Reset()
- func (x *DownloadCachePeerFinishedRequest) String() string
- func (m *DownloadCachePeerFinishedRequest) Validate() error
- func (m *DownloadCachePeerFinishedRequest) ValidateAll() error
- type DownloadCachePeerFinishedRequestMultiError
- type DownloadCachePeerFinishedRequestValidationError
- func (e DownloadCachePeerFinishedRequestValidationError) Cause() error
- func (e DownloadCachePeerFinishedRequestValidationError) Error() string
- func (e DownloadCachePeerFinishedRequestValidationError) ErrorName() string
- func (e DownloadCachePeerFinishedRequestValidationError) Field() string
- func (e DownloadCachePeerFinishedRequestValidationError) Key() bool
- func (e DownloadCachePeerFinishedRequestValidationError) Reason() string
- type DownloadCachePeerStartedRequest
- func (*DownloadCachePeerStartedRequest) Descriptor() ([]byte, []int)deprecated
- func (*DownloadCachePeerStartedRequest) ProtoMessage()
- func (x *DownloadCachePeerStartedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadCachePeerStartedRequest) Reset()
- func (x *DownloadCachePeerStartedRequest) String() string
- func (m *DownloadCachePeerStartedRequest) Validate() error
- func (m *DownloadCachePeerStartedRequest) ValidateAll() error
- type DownloadCachePeerStartedRequestMultiError
- type DownloadCachePeerStartedRequestValidationError
- func (e DownloadCachePeerStartedRequestValidationError) Cause() error
- func (e DownloadCachePeerStartedRequestValidationError) Error() string
- func (e DownloadCachePeerStartedRequestValidationError) ErrorName() string
- func (e DownloadCachePeerStartedRequestValidationError) Field() string
- func (e DownloadCachePeerStartedRequestValidationError) Key() bool
- func (e DownloadCachePeerStartedRequestValidationError) Reason() string
- type DownloadPeerBackToSourceFailedRequest
- func (*DownloadPeerBackToSourceFailedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadPeerBackToSourceFailedRequest) GetDescription() string
- func (*DownloadPeerBackToSourceFailedRequest) ProtoMessage()
- func (x *DownloadPeerBackToSourceFailedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPeerBackToSourceFailedRequest) Reset()
- func (x *DownloadPeerBackToSourceFailedRequest) String() string
- func (m *DownloadPeerBackToSourceFailedRequest) Validate() error
- func (m *DownloadPeerBackToSourceFailedRequest) ValidateAll() error
- type DownloadPeerBackToSourceFailedRequestMultiError
- type DownloadPeerBackToSourceFailedRequestValidationError
- func (e DownloadPeerBackToSourceFailedRequestValidationError) Cause() error
- func (e DownloadPeerBackToSourceFailedRequestValidationError) Error() string
- func (e DownloadPeerBackToSourceFailedRequestValidationError) ErrorName() string
- func (e DownloadPeerBackToSourceFailedRequestValidationError) Field() string
- func (e DownloadPeerBackToSourceFailedRequestValidationError) Key() bool
- func (e DownloadPeerBackToSourceFailedRequestValidationError) Reason() string
- type DownloadPeerBackToSourceFinishedRequest
- func (*DownloadPeerBackToSourceFinishedRequest) Descriptor() ([]byte, []int)deprecated
- func (*DownloadPeerBackToSourceFinishedRequest) ProtoMessage()
- func (x *DownloadPeerBackToSourceFinishedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPeerBackToSourceFinishedRequest) Reset()
- func (x *DownloadPeerBackToSourceFinishedRequest) String() string
- func (m *DownloadPeerBackToSourceFinishedRequest) Validate() error
- func (m *DownloadPeerBackToSourceFinishedRequest) ValidateAll() error
- type DownloadPeerBackToSourceFinishedRequestMultiError
- type DownloadPeerBackToSourceFinishedRequestValidationError
- func (e DownloadPeerBackToSourceFinishedRequestValidationError) Cause() error
- func (e DownloadPeerBackToSourceFinishedRequestValidationError) Error() string
- func (e DownloadPeerBackToSourceFinishedRequestValidationError) ErrorName() string
- func (e DownloadPeerBackToSourceFinishedRequestValidationError) Field() string
- func (e DownloadPeerBackToSourceFinishedRequestValidationError) Key() bool
- func (e DownloadPeerBackToSourceFinishedRequestValidationError) Reason() string
- type DownloadPeerBackToSourceStartedRequest
- func (*DownloadPeerBackToSourceStartedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadPeerBackToSourceStartedRequest) GetDescription() string
- func (*DownloadPeerBackToSourceStartedRequest) ProtoMessage()
- func (x *DownloadPeerBackToSourceStartedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPeerBackToSourceStartedRequest) Reset()
- func (x *DownloadPeerBackToSourceStartedRequest) String() string
- func (m *DownloadPeerBackToSourceStartedRequest) Validate() error
- func (m *DownloadPeerBackToSourceStartedRequest) ValidateAll() error
- type DownloadPeerBackToSourceStartedRequestMultiError
- type DownloadPeerBackToSourceStartedRequestValidationError
- func (e DownloadPeerBackToSourceStartedRequestValidationError) Cause() error
- func (e DownloadPeerBackToSourceStartedRequestValidationError) Error() string
- func (e DownloadPeerBackToSourceStartedRequestValidationError) ErrorName() string
- func (e DownloadPeerBackToSourceStartedRequestValidationError) Field() string
- func (e DownloadPeerBackToSourceStartedRequestValidationError) Key() bool
- func (e DownloadPeerBackToSourceStartedRequestValidationError) Reason() string
- type DownloadPeerFailedRequest
- func (*DownloadPeerFailedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadPeerFailedRequest) GetDescription() string
- func (*DownloadPeerFailedRequest) ProtoMessage()
- func (x *DownloadPeerFailedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPeerFailedRequest) Reset()
- func (x *DownloadPeerFailedRequest) String() string
- func (m *DownloadPeerFailedRequest) Validate() error
- func (m *DownloadPeerFailedRequest) ValidateAll() error
- type DownloadPeerFailedRequestMultiError
- type DownloadPeerFailedRequestValidationError
- func (e DownloadPeerFailedRequestValidationError) Cause() error
- func (e DownloadPeerFailedRequestValidationError) Error() string
- func (e DownloadPeerFailedRequestValidationError) ErrorName() string
- func (e DownloadPeerFailedRequestValidationError) Field() string
- func (e DownloadPeerFailedRequestValidationError) Key() bool
- func (e DownloadPeerFailedRequestValidationError) Reason() string
- type DownloadPeerFinishedRequest
- func (*DownloadPeerFinishedRequest) Descriptor() ([]byte, []int)deprecated
- func (*DownloadPeerFinishedRequest) ProtoMessage()
- func (x *DownloadPeerFinishedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPeerFinishedRequest) Reset()
- func (x *DownloadPeerFinishedRequest) String() string
- func (m *DownloadPeerFinishedRequest) Validate() error
- func (m *DownloadPeerFinishedRequest) ValidateAll() error
- type DownloadPeerFinishedRequestMultiError
- type DownloadPeerFinishedRequestValidationError
- func (e DownloadPeerFinishedRequestValidationError) Cause() error
- func (e DownloadPeerFinishedRequestValidationError) Error() string
- func (e DownloadPeerFinishedRequestValidationError) ErrorName() string
- func (e DownloadPeerFinishedRequestValidationError) Field() string
- func (e DownloadPeerFinishedRequestValidationError) Key() bool
- func (e DownloadPeerFinishedRequestValidationError) Reason() string
- type DownloadPeerStartedRequest
- func (*DownloadPeerStartedRequest) Descriptor() ([]byte, []int)deprecated
- func (*DownloadPeerStartedRequest) ProtoMessage()
- func (x *DownloadPeerStartedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPeerStartedRequest) Reset()
- func (x *DownloadPeerStartedRequest) String() string
- func (m *DownloadPeerStartedRequest) Validate() error
- func (m *DownloadPeerStartedRequest) ValidateAll() error
- type DownloadPeerStartedRequestMultiError
- type DownloadPeerStartedRequestValidationError
- func (e DownloadPeerStartedRequestValidationError) Cause() error
- func (e DownloadPeerStartedRequestValidationError) Error() string
- func (e DownloadPeerStartedRequestValidationError) ErrorName() string
- func (e DownloadPeerStartedRequestValidationError) Field() string
- func (e DownloadPeerStartedRequestValidationError) Key() bool
- func (e DownloadPeerStartedRequestValidationError) Reason() string
- type DownloadPersistentCachePeerFailedRequest
- func (*DownloadPersistentCachePeerFailedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadPersistentCachePeerFailedRequest) GetDescription() string
- func (*DownloadPersistentCachePeerFailedRequest) ProtoMessage()
- func (x *DownloadPersistentCachePeerFailedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPersistentCachePeerFailedRequest) Reset()
- func (x *DownloadPersistentCachePeerFailedRequest) String() string
- func (m *DownloadPersistentCachePeerFailedRequest) Validate() error
- func (m *DownloadPersistentCachePeerFailedRequest) ValidateAll() error
- type DownloadPersistentCachePeerFailedRequestMultiError
- type DownloadPersistentCachePeerFailedRequestValidationError
- func (e DownloadPersistentCachePeerFailedRequestValidationError) Cause() error
- func (e DownloadPersistentCachePeerFailedRequestValidationError) Error() string
- func (e DownloadPersistentCachePeerFailedRequestValidationError) ErrorName() string
- func (e DownloadPersistentCachePeerFailedRequestValidationError) Field() string
- func (e DownloadPersistentCachePeerFailedRequestValidationError) Key() bool
- func (e DownloadPersistentCachePeerFailedRequestValidationError) Reason() string
- type DownloadPersistentCachePeerFinishedRequest
- func (*DownloadPersistentCachePeerFinishedRequest) Descriptor() ([]byte, []int)deprecated
- func (*DownloadPersistentCachePeerFinishedRequest) ProtoMessage()
- func (x *DownloadPersistentCachePeerFinishedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPersistentCachePeerFinishedRequest) Reset()
- func (x *DownloadPersistentCachePeerFinishedRequest) String() string
- func (m *DownloadPersistentCachePeerFinishedRequest) Validate() error
- func (m *DownloadPersistentCachePeerFinishedRequest) ValidateAll() error
- type DownloadPersistentCachePeerFinishedRequestMultiError
- type DownloadPersistentCachePeerFinishedRequestValidationError
- func (e DownloadPersistentCachePeerFinishedRequestValidationError) Cause() error
- func (e DownloadPersistentCachePeerFinishedRequestValidationError) Error() string
- func (e DownloadPersistentCachePeerFinishedRequestValidationError) ErrorName() string
- func (e DownloadPersistentCachePeerFinishedRequestValidationError) Field() string
- func (e DownloadPersistentCachePeerFinishedRequestValidationError) Key() bool
- func (e DownloadPersistentCachePeerFinishedRequestValidationError) Reason() string
- type DownloadPersistentCachePeerStartedRequest
- func (*DownloadPersistentCachePeerStartedRequest) Descriptor() ([]byte, []int)deprecated
- func (*DownloadPersistentCachePeerStartedRequest) ProtoMessage()
- func (x *DownloadPersistentCachePeerStartedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPersistentCachePeerStartedRequest) Reset()
- func (x *DownloadPersistentCachePeerStartedRequest) String() string
- func (m *DownloadPersistentCachePeerStartedRequest) Validate() error
- func (m *DownloadPersistentCachePeerStartedRequest) ValidateAll() error
- type DownloadPersistentCachePeerStartedRequestMultiError
- type DownloadPersistentCachePeerStartedRequestValidationError
- func (e DownloadPersistentCachePeerStartedRequestValidationError) Cause() error
- func (e DownloadPersistentCachePeerStartedRequestValidationError) Error() string
- func (e DownloadPersistentCachePeerStartedRequestValidationError) ErrorName() string
- func (e DownloadPersistentCachePeerStartedRequestValidationError) Field() string
- func (e DownloadPersistentCachePeerStartedRequestValidationError) Key() bool
- func (e DownloadPersistentCachePeerStartedRequestValidationError) Reason() string
- type DownloadPersistentPeerBackToSourceFailedRequest
- func (*DownloadPersistentPeerBackToSourceFailedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadPersistentPeerBackToSourceFailedRequest) GetDescription() string
- func (*DownloadPersistentPeerBackToSourceFailedRequest) ProtoMessage()
- func (x *DownloadPersistentPeerBackToSourceFailedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPersistentPeerBackToSourceFailedRequest) Reset()
- func (x *DownloadPersistentPeerBackToSourceFailedRequest) String() string
- func (m *DownloadPersistentPeerBackToSourceFailedRequest) Validate() error
- func (m *DownloadPersistentPeerBackToSourceFailedRequest) ValidateAll() error
- type DownloadPersistentPeerBackToSourceFailedRequestMultiError
- type DownloadPersistentPeerBackToSourceFailedRequestValidationError
- func (e DownloadPersistentPeerBackToSourceFailedRequestValidationError) Cause() error
- func (e DownloadPersistentPeerBackToSourceFailedRequestValidationError) Error() string
- func (e DownloadPersistentPeerBackToSourceFailedRequestValidationError) ErrorName() string
- func (e DownloadPersistentPeerBackToSourceFailedRequestValidationError) Field() string
- func (e DownloadPersistentPeerBackToSourceFailedRequestValidationError) Key() bool
- func (e DownloadPersistentPeerBackToSourceFailedRequestValidationError) Reason() string
- type DownloadPersistentPeerBackToSourceFinishedRequest
- func (*DownloadPersistentPeerBackToSourceFinishedRequest) Descriptor() ([]byte, []int)deprecated
- func (*DownloadPersistentPeerBackToSourceFinishedRequest) ProtoMessage()
- func (x *DownloadPersistentPeerBackToSourceFinishedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPersistentPeerBackToSourceFinishedRequest) Reset()
- func (x *DownloadPersistentPeerBackToSourceFinishedRequest) String() string
- func (m *DownloadPersistentPeerBackToSourceFinishedRequest) Validate() error
- func (m *DownloadPersistentPeerBackToSourceFinishedRequest) ValidateAll() error
- type DownloadPersistentPeerBackToSourceFinishedRequestMultiError
- type DownloadPersistentPeerBackToSourceFinishedRequestValidationError
- func (e DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Cause() error
- func (e DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Error() string
- func (e DownloadPersistentPeerBackToSourceFinishedRequestValidationError) ErrorName() string
- func (e DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Field() string
- func (e DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Key() bool
- func (e DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Reason() string
- type DownloadPersistentPeerBackToSourceStartedRequest
- func (*DownloadPersistentPeerBackToSourceStartedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadPersistentPeerBackToSourceStartedRequest) GetDescription() string
- func (*DownloadPersistentPeerBackToSourceStartedRequest) ProtoMessage()
- func (x *DownloadPersistentPeerBackToSourceStartedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPersistentPeerBackToSourceStartedRequest) Reset()
- func (x *DownloadPersistentPeerBackToSourceStartedRequest) String() string
- func (m *DownloadPersistentPeerBackToSourceStartedRequest) Validate() error
- func (m *DownloadPersistentPeerBackToSourceStartedRequest) ValidateAll() error
- type DownloadPersistentPeerBackToSourceStartedRequestMultiError
- type DownloadPersistentPeerBackToSourceStartedRequestValidationError
- func (e DownloadPersistentPeerBackToSourceStartedRequestValidationError) Cause() error
- func (e DownloadPersistentPeerBackToSourceStartedRequestValidationError) Error() string
- func (e DownloadPersistentPeerBackToSourceStartedRequestValidationError) ErrorName() string
- func (e DownloadPersistentPeerBackToSourceStartedRequestValidationError) Field() string
- func (e DownloadPersistentPeerBackToSourceStartedRequestValidationError) Key() bool
- func (e DownloadPersistentPeerBackToSourceStartedRequestValidationError) Reason() string
- type DownloadPersistentPeerFailedRequest
- func (*DownloadPersistentPeerFailedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadPersistentPeerFailedRequest) GetDescription() string
- func (*DownloadPersistentPeerFailedRequest) ProtoMessage()
- func (x *DownloadPersistentPeerFailedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPersistentPeerFailedRequest) Reset()
- func (x *DownloadPersistentPeerFailedRequest) String() string
- func (m *DownloadPersistentPeerFailedRequest) Validate() error
- func (m *DownloadPersistentPeerFailedRequest) ValidateAll() error
- type DownloadPersistentPeerFailedRequestMultiError
- type DownloadPersistentPeerFailedRequestValidationError
- func (e DownloadPersistentPeerFailedRequestValidationError) Cause() error
- func (e DownloadPersistentPeerFailedRequestValidationError) Error() string
- func (e DownloadPersistentPeerFailedRequestValidationError) ErrorName() string
- func (e DownloadPersistentPeerFailedRequestValidationError) Field() string
- func (e DownloadPersistentPeerFailedRequestValidationError) Key() bool
- func (e DownloadPersistentPeerFailedRequestValidationError) Reason() string
- type DownloadPersistentPeerFinishedRequest
- func (*DownloadPersistentPeerFinishedRequest) Descriptor() ([]byte, []int)deprecated
- func (*DownloadPersistentPeerFinishedRequest) ProtoMessage()
- func (x *DownloadPersistentPeerFinishedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPersistentPeerFinishedRequest) Reset()
- func (x *DownloadPersistentPeerFinishedRequest) String() string
- func (m *DownloadPersistentPeerFinishedRequest) Validate() error
- func (m *DownloadPersistentPeerFinishedRequest) ValidateAll() error
- type DownloadPersistentPeerFinishedRequestMultiError
- type DownloadPersistentPeerFinishedRequestValidationError
- func (e DownloadPersistentPeerFinishedRequestValidationError) Cause() error
- func (e DownloadPersistentPeerFinishedRequestValidationError) Error() string
- func (e DownloadPersistentPeerFinishedRequestValidationError) ErrorName() string
- func (e DownloadPersistentPeerFinishedRequestValidationError) Field() string
- func (e DownloadPersistentPeerFinishedRequestValidationError) Key() bool
- func (e DownloadPersistentPeerFinishedRequestValidationError) Reason() string
- type DownloadPersistentPeerStartedRequest
- func (*DownloadPersistentPeerStartedRequest) Descriptor() ([]byte, []int)deprecated
- func (*DownloadPersistentPeerStartedRequest) ProtoMessage()
- func (x *DownloadPersistentPeerStartedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPersistentPeerStartedRequest) Reset()
- func (x *DownloadPersistentPeerStartedRequest) String() string
- func (m *DownloadPersistentPeerStartedRequest) Validate() error
- func (m *DownloadPersistentPeerStartedRequest) ValidateAll() error
- type DownloadPersistentPeerStartedRequestMultiError
- type DownloadPersistentPeerStartedRequestValidationError
- func (e DownloadPersistentPeerStartedRequestValidationError) Cause() error
- func (e DownloadPersistentPeerStartedRequestValidationError) Error() string
- func (e DownloadPersistentPeerStartedRequestValidationError) ErrorName() string
- func (e DownloadPersistentPeerStartedRequestValidationError) Field() string
- func (e DownloadPersistentPeerStartedRequestValidationError) Key() bool
- func (e DownloadPersistentPeerStartedRequestValidationError) Reason() string
- type DownloadPieceBackToSourceFailedRequest
- func (*DownloadPieceBackToSourceFailedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadPieceBackToSourceFailedRequest) GetBackend() *v21.Backend
- func (x *DownloadPieceBackToSourceFailedRequest) GetPieceNumber() uint32
- func (m *DownloadPieceBackToSourceFailedRequest) GetResponse() isDownloadPieceBackToSourceFailedRequest_Response
- func (x *DownloadPieceBackToSourceFailedRequest) GetUnknown() *v21.Unknown
- func (*DownloadPieceBackToSourceFailedRequest) ProtoMessage()
- func (x *DownloadPieceBackToSourceFailedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPieceBackToSourceFailedRequest) Reset()
- func (x *DownloadPieceBackToSourceFailedRequest) String() string
- func (m *DownloadPieceBackToSourceFailedRequest) Validate() error
- func (m *DownloadPieceBackToSourceFailedRequest) ValidateAll() error
- type DownloadPieceBackToSourceFailedRequestMultiError
- type DownloadPieceBackToSourceFailedRequestValidationError
- func (e DownloadPieceBackToSourceFailedRequestValidationError) Cause() error
- func (e DownloadPieceBackToSourceFailedRequestValidationError) Error() string
- func (e DownloadPieceBackToSourceFailedRequestValidationError) ErrorName() string
- func (e DownloadPieceBackToSourceFailedRequestValidationError) Field() string
- func (e DownloadPieceBackToSourceFailedRequestValidationError) Key() bool
- func (e DownloadPieceBackToSourceFailedRequestValidationError) Reason() string
- type DownloadPieceBackToSourceFailedRequest_Backend
- type DownloadPieceBackToSourceFailedRequest_Unknown
- type DownloadPieceBackToSourceFinishedRequest
- func (*DownloadPieceBackToSourceFinishedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadPieceBackToSourceFinishedRequest) GetPiece() *v2.Piece
- func (*DownloadPieceBackToSourceFinishedRequest) ProtoMessage()
- func (x *DownloadPieceBackToSourceFinishedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPieceBackToSourceFinishedRequest) Reset()
- func (x *DownloadPieceBackToSourceFinishedRequest) String() string
- func (m *DownloadPieceBackToSourceFinishedRequest) Validate() error
- func (m *DownloadPieceBackToSourceFinishedRequest) ValidateAll() error
- type DownloadPieceBackToSourceFinishedRequestMultiError
- type DownloadPieceBackToSourceFinishedRequestValidationError
- func (e DownloadPieceBackToSourceFinishedRequestValidationError) Cause() error
- func (e DownloadPieceBackToSourceFinishedRequestValidationError) Error() string
- func (e DownloadPieceBackToSourceFinishedRequestValidationError) ErrorName() string
- func (e DownloadPieceBackToSourceFinishedRequestValidationError) Field() string
- func (e DownloadPieceBackToSourceFinishedRequestValidationError) Key() bool
- func (e DownloadPieceBackToSourceFinishedRequestValidationError) Reason() string
- type DownloadPieceFailedRequest
- func (*DownloadPieceFailedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadPieceFailedRequest) GetParentId() string
- func (x *DownloadPieceFailedRequest) GetPieceNumber() uint32
- func (x *DownloadPieceFailedRequest) GetTemporary() bool
- func (*DownloadPieceFailedRequest) ProtoMessage()
- func (x *DownloadPieceFailedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPieceFailedRequest) Reset()
- func (x *DownloadPieceFailedRequest) String() string
- func (m *DownloadPieceFailedRequest) Validate() error
- func (m *DownloadPieceFailedRequest) ValidateAll() error
- type DownloadPieceFailedRequestMultiError
- type DownloadPieceFailedRequestValidationError
- func (e DownloadPieceFailedRequestValidationError) Cause() error
- func (e DownloadPieceFailedRequestValidationError) Error() string
- func (e DownloadPieceFailedRequestValidationError) ErrorName() string
- func (e DownloadPieceFailedRequestValidationError) Field() string
- func (e DownloadPieceFailedRequestValidationError) Key() bool
- func (e DownloadPieceFailedRequestValidationError) Reason() string
- type DownloadPieceFinishedRequest
- func (*DownloadPieceFinishedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadPieceFinishedRequest) GetPiece() *v2.Piece
- func (*DownloadPieceFinishedRequest) ProtoMessage()
- func (x *DownloadPieceFinishedRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadPieceFinishedRequest) Reset()
- func (x *DownloadPieceFinishedRequest) String() string
- func (m *DownloadPieceFinishedRequest) Validate() error
- func (m *DownloadPieceFinishedRequest) ValidateAll() error
- type DownloadPieceFinishedRequestMultiError
- type DownloadPieceFinishedRequestValidationError
- func (e DownloadPieceFinishedRequestValidationError) Cause() error
- func (e DownloadPieceFinishedRequestValidationError) Error() string
- func (e DownloadPieceFinishedRequestValidationError) ErrorName() string
- func (e DownloadPieceFinishedRequestValidationError) Field() string
- func (e DownloadPieceFinishedRequestValidationError) Key() bool
- func (e DownloadPieceFinishedRequestValidationError) Reason() string
- type EmptyCacheTaskResponse
- func (*EmptyCacheTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (*EmptyCacheTaskResponse) ProtoMessage()
- func (x *EmptyCacheTaskResponse) ProtoReflect() protoreflect.Message
- func (x *EmptyCacheTaskResponse) Reset()
- func (x *EmptyCacheTaskResponse) String() string
- func (m *EmptyCacheTaskResponse) Validate() error
- func (m *EmptyCacheTaskResponse) ValidateAll() error
- type EmptyCacheTaskResponseMultiError
- type EmptyCacheTaskResponseValidationError
- func (e EmptyCacheTaskResponseValidationError) Cause() error
- func (e EmptyCacheTaskResponseValidationError) Error() string
- func (e EmptyCacheTaskResponseValidationError) ErrorName() string
- func (e EmptyCacheTaskResponseValidationError) Field() string
- func (e EmptyCacheTaskResponseValidationError) Key() bool
- func (e EmptyCacheTaskResponseValidationError) Reason() string
- type EmptyPersistentCacheTaskResponse
- func (*EmptyPersistentCacheTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (*EmptyPersistentCacheTaskResponse) ProtoMessage()
- func (x *EmptyPersistentCacheTaskResponse) ProtoReflect() protoreflect.Message
- func (x *EmptyPersistentCacheTaskResponse) Reset()
- func (x *EmptyPersistentCacheTaskResponse) String() string
- func (m *EmptyPersistentCacheTaskResponse) Validate() error
- func (m *EmptyPersistentCacheTaskResponse) ValidateAll() error
- type EmptyPersistentCacheTaskResponseMultiError
- type EmptyPersistentCacheTaskResponseValidationError
- func (e EmptyPersistentCacheTaskResponseValidationError) Cause() error
- func (e EmptyPersistentCacheTaskResponseValidationError) Error() string
- func (e EmptyPersistentCacheTaskResponseValidationError) ErrorName() string
- func (e EmptyPersistentCacheTaskResponseValidationError) Field() string
- func (e EmptyPersistentCacheTaskResponseValidationError) Key() bool
- func (e EmptyPersistentCacheTaskResponseValidationError) Reason() string
- type EmptyPersistentTaskResponse
- func (*EmptyPersistentTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (*EmptyPersistentTaskResponse) ProtoMessage()
- func (x *EmptyPersistentTaskResponse) ProtoReflect() protoreflect.Message
- func (x *EmptyPersistentTaskResponse) Reset()
- func (x *EmptyPersistentTaskResponse) String() string
- func (m *EmptyPersistentTaskResponse) Validate() error
- func (m *EmptyPersistentTaskResponse) ValidateAll() error
- type EmptyPersistentTaskResponseMultiError
- type EmptyPersistentTaskResponseValidationError
- func (e EmptyPersistentTaskResponseValidationError) Cause() error
- func (e EmptyPersistentTaskResponseValidationError) Error() string
- func (e EmptyPersistentTaskResponseValidationError) ErrorName() string
- func (e EmptyPersistentTaskResponseValidationError) Field() string
- func (e EmptyPersistentTaskResponseValidationError) Key() bool
- func (e EmptyPersistentTaskResponseValidationError) Reason() string
- type EmptyTaskResponse
- func (*EmptyTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (*EmptyTaskResponse) ProtoMessage()
- func (x *EmptyTaskResponse) ProtoReflect() protoreflect.Message
- func (x *EmptyTaskResponse) Reset()
- func (x *EmptyTaskResponse) String() string
- func (m *EmptyTaskResponse) Validate() error
- func (m *EmptyTaskResponse) ValidateAll() error
- type EmptyTaskResponseMultiError
- type EmptyTaskResponseValidationError
- func (e EmptyTaskResponseValidationError) Cause() error
- func (e EmptyTaskResponseValidationError) Error() string
- func (e EmptyTaskResponseValidationError) ErrorName() string
- func (e EmptyTaskResponseValidationError) Field() string
- func (e EmptyTaskResponseValidationError) Key() bool
- func (e EmptyTaskResponseValidationError) Reason() string
- type File
- func (*File) Descriptor() ([]byte, []int)deprecated
- func (x *File) GetIsFinished() bool
- func (x *File) GetUrl() string
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (x *File) String() string
- func (m *File) Validate() error
- func (m *File) ValidateAll() error
- type FileMultiError
- type FileValidationError
- type Image
- type ImageMultiError
- type ImageValidationError
- type Layer
- func (*Layer) Descriptor() ([]byte, []int)deprecated
- func (x *Layer) GetIsFinished() bool
- func (x *Layer) GetUrl() string
- func (*Layer) ProtoMessage()
- func (x *Layer) ProtoReflect() protoreflect.Message
- func (x *Layer) Reset()
- func (x *Layer) String() string
- func (m *Layer) Validate() error
- func (m *Layer) ValidateAll() error
- type LayerMultiError
- type LayerValidationError
- type ListHostsRequest
- func (*ListHostsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListHostsRequest) GetType() uint32
- func (*ListHostsRequest) ProtoMessage()
- func (x *ListHostsRequest) ProtoReflect() protoreflect.Message
- func (x *ListHostsRequest) Reset()
- func (x *ListHostsRequest) String() string
- func (m *ListHostsRequest) Validate() error
- func (m *ListHostsRequest) ValidateAll() error
- type ListHostsRequestMultiError
- type ListHostsRequestValidationError
- func (e ListHostsRequestValidationError) Cause() error
- func (e ListHostsRequestValidationError) Error() string
- func (e ListHostsRequestValidationError) ErrorName() string
- func (e ListHostsRequestValidationError) Field() string
- func (e ListHostsRequestValidationError) Key() bool
- func (e ListHostsRequestValidationError) Reason() string
- type ListHostsResponse
- func (*ListHostsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListHostsResponse) GetHosts() []*v2.Host
- func (*ListHostsResponse) ProtoMessage()
- func (x *ListHostsResponse) ProtoReflect() protoreflect.Message
- func (x *ListHostsResponse) Reset()
- func (x *ListHostsResponse) String() string
- func (m *ListHostsResponse) Validate() error
- func (m *ListHostsResponse) ValidateAll() error
- type ListHostsResponseMultiError
- type ListHostsResponseValidationError
- func (e ListHostsResponseValidationError) Cause() error
- func (e ListHostsResponseValidationError) Error() string
- func (e ListHostsResponseValidationError) ErrorName() string
- func (e ListHostsResponseValidationError) Field() string
- func (e ListHostsResponseValidationError) Key() bool
- func (e ListHostsResponseValidationError) Reason() string
- type NeedBackToSourceResponse
- func (*NeedBackToSourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NeedBackToSourceResponse) GetDescription() string
- func (*NeedBackToSourceResponse) ProtoMessage()
- func (x *NeedBackToSourceResponse) ProtoReflect() protoreflect.Message
- func (x *NeedBackToSourceResponse) Reset()
- func (x *NeedBackToSourceResponse) String() string
- func (m *NeedBackToSourceResponse) Validate() error
- func (m *NeedBackToSourceResponse) ValidateAll() error
- type NeedBackToSourceResponseMultiError
- type NeedBackToSourceResponseValidationError
- func (e NeedBackToSourceResponseValidationError) Cause() error
- func (e NeedBackToSourceResponseValidationError) Error() string
- func (e NeedBackToSourceResponseValidationError) ErrorName() string
- func (e NeedBackToSourceResponseValidationError) Field() string
- func (e NeedBackToSourceResponseValidationError) Key() bool
- func (e NeedBackToSourceResponseValidationError) Reason() string
- type NormalCacheTaskResponse
- func (*NormalCacheTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NormalCacheTaskResponse) GetCandidateParents() []*v2.CachePeer
- func (*NormalCacheTaskResponse) ProtoMessage()
- func (x *NormalCacheTaskResponse) ProtoReflect() protoreflect.Message
- func (x *NormalCacheTaskResponse) Reset()
- func (x *NormalCacheTaskResponse) String() string
- func (m *NormalCacheTaskResponse) Validate() error
- func (m *NormalCacheTaskResponse) ValidateAll() error
- type NormalCacheTaskResponseMultiError
- type NormalCacheTaskResponseValidationError
- func (e NormalCacheTaskResponseValidationError) Cause() error
- func (e NormalCacheTaskResponseValidationError) Error() string
- func (e NormalCacheTaskResponseValidationError) ErrorName() string
- func (e NormalCacheTaskResponseValidationError) Field() string
- func (e NormalCacheTaskResponseValidationError) Key() bool
- func (e NormalCacheTaskResponseValidationError) Reason() string
- type NormalPersistentCacheTaskResponse
- func (*NormalPersistentCacheTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NormalPersistentCacheTaskResponse) GetCandidateParents() []*v2.PersistentCachePeer
- func (*NormalPersistentCacheTaskResponse) ProtoMessage()
- func (x *NormalPersistentCacheTaskResponse) ProtoReflect() protoreflect.Message
- func (x *NormalPersistentCacheTaskResponse) Reset()
- func (x *NormalPersistentCacheTaskResponse) String() string
- func (m *NormalPersistentCacheTaskResponse) Validate() error
- func (m *NormalPersistentCacheTaskResponse) ValidateAll() error
- type NormalPersistentCacheTaskResponseMultiError
- type NormalPersistentCacheTaskResponseValidationError
- func (e NormalPersistentCacheTaskResponseValidationError) Cause() error
- func (e NormalPersistentCacheTaskResponseValidationError) Error() string
- func (e NormalPersistentCacheTaskResponseValidationError) ErrorName() string
- func (e NormalPersistentCacheTaskResponseValidationError) Field() string
- func (e NormalPersistentCacheTaskResponseValidationError) Key() bool
- func (e NormalPersistentCacheTaskResponseValidationError) Reason() string
- type NormalPersistentTaskResponse
- func (*NormalPersistentTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NormalPersistentTaskResponse) GetCandidateParents() []*v2.PersistentPeer
- func (*NormalPersistentTaskResponse) ProtoMessage()
- func (x *NormalPersistentTaskResponse) ProtoReflect() protoreflect.Message
- func (x *NormalPersistentTaskResponse) Reset()
- func (x *NormalPersistentTaskResponse) String() string
- func (m *NormalPersistentTaskResponse) Validate() error
- func (m *NormalPersistentTaskResponse) ValidateAll() error
- type NormalPersistentTaskResponseMultiError
- type NormalPersistentTaskResponseValidationError
- func (e NormalPersistentTaskResponseValidationError) Cause() error
- func (e NormalPersistentTaskResponseValidationError) Error() string
- func (e NormalPersistentTaskResponseValidationError) ErrorName() string
- func (e NormalPersistentTaskResponseValidationError) Field() string
- func (e NormalPersistentTaskResponseValidationError) Key() bool
- func (e NormalPersistentTaskResponseValidationError) Reason() string
- type NormalTaskResponse
- func (*NormalTaskResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NormalTaskResponse) GetCandidateParents() []*v2.Peer
- func (*NormalTaskResponse) ProtoMessage()
- func (x *NormalTaskResponse) ProtoReflect() protoreflect.Message
- func (x *NormalTaskResponse) Reset()
- func (x *NormalTaskResponse) String() string
- func (m *NormalTaskResponse) Validate() error
- func (m *NormalTaskResponse) ValidateAll() error
- type NormalTaskResponseMultiError
- type NormalTaskResponseValidationError
- func (e NormalTaskResponseValidationError) Cause() error
- func (e NormalTaskResponseValidationError) Error() string
- func (e NormalTaskResponseValidationError) ErrorName() string
- func (e NormalTaskResponseValidationError) Field() string
- func (e NormalTaskResponseValidationError) Key() bool
- func (e NormalTaskResponseValidationError) Reason() string
- type PeerFile
- func (*PeerFile) Descriptor() ([]byte, []int)deprecated
- func (x *PeerFile) GetCachedFiles() []*File
- func (x *PeerFile) GetHostname() string
- func (x *PeerFile) GetIp() string
- func (*PeerFile) ProtoMessage()
- func (x *PeerFile) ProtoReflect() protoreflect.Message
- func (x *PeerFile) Reset()
- func (x *PeerFile) String() string
- func (m *PeerFile) Validate() error
- func (m *PeerFile) ValidateAll() error
- type PeerFileMultiError
- type PeerFileValidationError
- type PeerImage
- func (*PeerImage) Descriptor() ([]byte, []int)deprecated
- func (x *PeerImage) GetCachedLayers() []*Layer
- func (x *PeerImage) GetHostname() string
- func (x *PeerImage) GetIp() string
- func (*PeerImage) ProtoMessage()
- func (x *PeerImage) ProtoReflect() protoreflect.Message
- func (x *PeerImage) Reset()
- func (x *PeerImage) String() string
- func (m *PeerImage) Validate() error
- func (m *PeerImage) ValidateAll() error
- type PeerImageMultiError
- type PeerImageValidationError
- type PreheatFileRequest
- func (*PreheatFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PreheatFileRequest) GetApplication() string
- func (x *PreheatFileRequest) GetCertificateChain() [][]byte
- func (x *PreheatFileRequest) GetConcurrentPeerCount() int64
- func (x *PreheatFileRequest) GetConcurrentTaskCount() int64
- func (x *PreheatFileRequest) GetCount() uint32
- func (x *PreheatFileRequest) GetFilteredQueryParams() []string
- func (x *PreheatFileRequest) GetHdfs() *v2.HDFS
- func (x *PreheatFileRequest) GetHeader() map[string]string
- func (x *PreheatFileRequest) GetInsecureSkipVerify() bool
- func (x *PreheatFileRequest) GetIps() []string
- func (x *PreheatFileRequest) GetObjectStorage() *v2.ObjectStorage
- func (x *PreheatFileRequest) GetOutputPath() string
- func (x *PreheatFileRequest) GetPercentage() uint32
- func (x *PreheatFileRequest) GetPieceLength() uint64
- func (x *PreheatFileRequest) GetPriority() v2.Priority
- func (x *PreheatFileRequest) GetScope() string
- func (x *PreheatFileRequest) GetTag() string
- func (x *PreheatFileRequest) GetTimeout() *durationpb.Duration
- func (x *PreheatFileRequest) GetUrl() string
- func (*PreheatFileRequest) ProtoMessage()
- func (x *PreheatFileRequest) ProtoReflect() protoreflect.Message
- func (x *PreheatFileRequest) Reset()
- func (x *PreheatFileRequest) String() string
- func (m *PreheatFileRequest) Validate() error
- func (m *PreheatFileRequest) ValidateAll() error
- type PreheatFileRequestMultiError
- type PreheatFileRequestValidationError
- func (e PreheatFileRequestValidationError) Cause() error
- func (e PreheatFileRequestValidationError) Error() string
- func (e PreheatFileRequestValidationError) ErrorName() string
- func (e PreheatFileRequestValidationError) Field() string
- func (e PreheatFileRequestValidationError) Key() bool
- func (e PreheatFileRequestValidationError) Reason() string
- type PreheatImageRequest
- func (*PreheatImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PreheatImageRequest) GetApplication() string
- func (x *PreheatImageRequest) GetCertificateChain() [][]byte
- func (x *PreheatImageRequest) GetConcurrentPeerCount() int64
- func (x *PreheatImageRequest) GetConcurrentTaskCount() int64
- func (x *PreheatImageRequest) GetCount() uint32
- func (x *PreheatImageRequest) GetFilteredQueryParams() []string
- func (x *PreheatImageRequest) GetHeader() map[string]string
- func (x *PreheatImageRequest) GetInsecureSkipVerify() bool
- func (x *PreheatImageRequest) GetIps() []string
- func (x *PreheatImageRequest) GetPassword() string
- func (x *PreheatImageRequest) GetPercentage() uint32
- func (x *PreheatImageRequest) GetPieceLength() uint64
- func (x *PreheatImageRequest) GetPlatform() string
- func (x *PreheatImageRequest) GetPriority() v2.Priority
- func (x *PreheatImageRequest) GetScope() string
- func (x *PreheatImageRequest) GetTag() string
- func (x *PreheatImageRequest) GetTimeout() *durationpb.Duration
- func (x *PreheatImageRequest) GetUrl() string
- func (x *PreheatImageRequest) GetUsername() string
- func (*PreheatImageRequest) ProtoMessage()
- func (x *PreheatImageRequest) ProtoReflect() protoreflect.Message
- func (x *PreheatImageRequest) Reset()
- func (x *PreheatImageRequest) String() string
- func (m *PreheatImageRequest) Validate() error
- func (m *PreheatImageRequest) ValidateAll() error
- type PreheatImageRequestMultiError
- type PreheatImageRequestValidationError
- func (e PreheatImageRequestValidationError) Cause() error
- func (e PreheatImageRequestValidationError) Error() string
- func (e PreheatImageRequestValidationError) ErrorName() string
- func (e PreheatImageRequestValidationError) Field() string
- func (e PreheatImageRequestValidationError) Key() bool
- func (e PreheatImageRequestValidationError) Reason() string
- type RegisterCachePeerRequest
- func (*RegisterCachePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterCachePeerRequest) GetActualContentLength() uint64
- func (x *RegisterCachePeerRequest) GetActualPieceCount() uint64
- func (x *RegisterCachePeerRequest) GetActualPieceLength() uint64
- func (x *RegisterCachePeerRequest) GetApplication() string
- func (x *RegisterCachePeerRequest) GetCertificateChain() [][]byte
- func (x *RegisterCachePeerRequest) GetConcurrentPieceCount() uint32
- func (x *RegisterCachePeerRequest) GetContentForCalculatingTaskId() string
- func (x *RegisterCachePeerRequest) GetDigest() string
- func (x *RegisterCachePeerRequest) GetDisableBackToSource() bool
- func (x *RegisterCachePeerRequest) GetFilteredQueryParams() []string
- func (x *RegisterCachePeerRequest) GetHdfs() *v2.HDFS
- func (x *RegisterCachePeerRequest) GetIsPrefetch() bool
- func (x *RegisterCachePeerRequest) GetNeedBackToSource() bool
- func (x *RegisterCachePeerRequest) GetNeedPieceContent() bool
- func (x *RegisterCachePeerRequest) GetObjectStorage() *v2.ObjectStorage
- func (x *RegisterCachePeerRequest) GetOutputPath() string
- func (x *RegisterCachePeerRequest) GetPieceLength() uint64
- func (x *RegisterCachePeerRequest) GetPrefetch() bool
- func (x *RegisterCachePeerRequest) GetPriority() v2.Priority
- func (x *RegisterCachePeerRequest) GetRange() *v2.Range
- func (x *RegisterCachePeerRequest) GetRemoteIp() string
- func (x *RegisterCachePeerRequest) GetRequestHeader() map[string]string
- func (x *RegisterCachePeerRequest) GetTag() string
- func (x *RegisterCachePeerRequest) GetTimeout() *durationpb.Duration
- func (x *RegisterCachePeerRequest) GetType() v2.TaskType
- func (x *RegisterCachePeerRequest) GetUrl() string
- func (*RegisterCachePeerRequest) ProtoMessage()
- func (x *RegisterCachePeerRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterCachePeerRequest) Reset()
- func (x *RegisterCachePeerRequest) String() string
- func (m *RegisterCachePeerRequest) Validate() error
- func (m *RegisterCachePeerRequest) ValidateAll() error
- type RegisterCachePeerRequestMultiError
- type RegisterCachePeerRequestValidationError
- func (e RegisterCachePeerRequestValidationError) Cause() error
- func (e RegisterCachePeerRequestValidationError) Error() string
- func (e RegisterCachePeerRequestValidationError) ErrorName() string
- func (e RegisterCachePeerRequestValidationError) Field() string
- func (e RegisterCachePeerRequestValidationError) Key() bool
- func (e RegisterCachePeerRequestValidationError) Reason() string
- type RegisterPeerRequest
- func (*RegisterPeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterPeerRequest) GetDownload() *v2.Download
- func (*RegisterPeerRequest) ProtoMessage()
- func (x *RegisterPeerRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterPeerRequest) Reset()
- func (x *RegisterPeerRequest) String() string
- func (m *RegisterPeerRequest) Validate() error
- func (m *RegisterPeerRequest) ValidateAll() error
- type RegisterPeerRequestMultiError
- type RegisterPeerRequestValidationError
- func (e RegisterPeerRequestValidationError) Cause() error
- func (e RegisterPeerRequestValidationError) Error() string
- func (e RegisterPeerRequestValidationError) ErrorName() string
- func (e RegisterPeerRequestValidationError) Field() string
- func (e RegisterPeerRequestValidationError) Key() bool
- func (e RegisterPeerRequestValidationError) Reason() string
- type RegisterPersistentCachePeerRequest
- func (*RegisterPersistentCachePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterPersistentCachePeerRequest) GetApplication() string
- func (x *RegisterPersistentCachePeerRequest) GetConcurrentPieceCount() uint32
- func (x *RegisterPersistentCachePeerRequest) GetOutputPath() string
- func (x *RegisterPersistentCachePeerRequest) GetPersistent() bool
- func (x *RegisterPersistentCachePeerRequest) GetPieceCount() uint64
- func (x *RegisterPersistentCachePeerRequest) GetPieceLength() uint64
- func (x *RegisterPersistentCachePeerRequest) GetTag() string
- func (*RegisterPersistentCachePeerRequest) ProtoMessage()
- func (x *RegisterPersistentCachePeerRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterPersistentCachePeerRequest) Reset()
- func (x *RegisterPersistentCachePeerRequest) String() string
- func (m *RegisterPersistentCachePeerRequest) Validate() error
- func (m *RegisterPersistentCachePeerRequest) ValidateAll() error
- type RegisterPersistentCachePeerRequestMultiError
- type RegisterPersistentCachePeerRequestValidationError
- func (e RegisterPersistentCachePeerRequestValidationError) Cause() error
- func (e RegisterPersistentCachePeerRequestValidationError) Error() string
- func (e RegisterPersistentCachePeerRequestValidationError) ErrorName() string
- func (e RegisterPersistentCachePeerRequestValidationError) Field() string
- func (e RegisterPersistentCachePeerRequestValidationError) Key() bool
- func (e RegisterPersistentCachePeerRequestValidationError) Reason() string
- type RegisterPersistentPeerRequest
- func (*RegisterPersistentPeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterPersistentPeerRequest) GetConcurrentPieceCount() uint32
- func (x *RegisterPersistentPeerRequest) GetNeedBackToSource() bool
- func (x *RegisterPersistentPeerRequest) GetObjectStorage() *v2.ObjectStorage
- func (x *RegisterPersistentPeerRequest) GetOutputPath() string
- func (x *RegisterPersistentPeerRequest) GetPersistent() bool
- func (x *RegisterPersistentPeerRequest) GetPieceCount() uint64
- func (x *RegisterPersistentPeerRequest) GetUrl() string
- func (*RegisterPersistentPeerRequest) ProtoMessage()
- func (x *RegisterPersistentPeerRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterPersistentPeerRequest) Reset()
- func (x *RegisterPersistentPeerRequest) String() string
- func (m *RegisterPersistentPeerRequest) Validate() error
- func (m *RegisterPersistentPeerRequest) ValidateAll() error
- type RegisterPersistentPeerRequestMultiError
- type RegisterPersistentPeerRequestValidationError
- func (e RegisterPersistentPeerRequestValidationError) Cause() error
- func (e RegisterPersistentPeerRequestValidationError) Error() string
- func (e RegisterPersistentPeerRequestValidationError) ErrorName() string
- func (e RegisterPersistentPeerRequestValidationError) Field() string
- func (e RegisterPersistentPeerRequestValidationError) Key() bool
- func (e RegisterPersistentPeerRequestValidationError) Reason() string
- type RescheduleCachePeerRequest
- func (*RescheduleCachePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RescheduleCachePeerRequest) GetCandidateParents() []*v2.CachePeer
- func (x *RescheduleCachePeerRequest) GetDescription() string
- func (*RescheduleCachePeerRequest) ProtoMessage()
- func (x *RescheduleCachePeerRequest) ProtoReflect() protoreflect.Message
- func (x *RescheduleCachePeerRequest) Reset()
- func (x *RescheduleCachePeerRequest) String() string
- func (m *RescheduleCachePeerRequest) Validate() error
- func (m *RescheduleCachePeerRequest) ValidateAll() error
- type RescheduleCachePeerRequestMultiError
- type RescheduleCachePeerRequestValidationError
- func (e RescheduleCachePeerRequestValidationError) Cause() error
- func (e RescheduleCachePeerRequestValidationError) Error() string
- func (e RescheduleCachePeerRequestValidationError) ErrorName() string
- func (e RescheduleCachePeerRequestValidationError) Field() string
- func (e RescheduleCachePeerRequestValidationError) Key() bool
- func (e RescheduleCachePeerRequestValidationError) Reason() string
- type ReschedulePeerRequest
- func (*ReschedulePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReschedulePeerRequest) GetCandidateParents() []*v2.Peer
- func (x *ReschedulePeerRequest) GetDescription() string
- func (*ReschedulePeerRequest) ProtoMessage()
- func (x *ReschedulePeerRequest) ProtoReflect() protoreflect.Message
- func (x *ReschedulePeerRequest) Reset()
- func (x *ReschedulePeerRequest) String() string
- func (m *ReschedulePeerRequest) Validate() error
- func (m *ReschedulePeerRequest) ValidateAll() error
- type ReschedulePeerRequestMultiError
- type ReschedulePeerRequestValidationError
- func (e ReschedulePeerRequestValidationError) Cause() error
- func (e ReschedulePeerRequestValidationError) Error() string
- func (e ReschedulePeerRequestValidationError) ErrorName() string
- func (e ReschedulePeerRequestValidationError) Field() string
- func (e ReschedulePeerRequestValidationError) Key() bool
- func (e ReschedulePeerRequestValidationError) Reason() string
- type ReschedulePersistentCachePeerRequest
- func (*ReschedulePersistentCachePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReschedulePersistentCachePeerRequest) GetCandidateParents() []*v2.PersistentCachePeer
- func (x *ReschedulePersistentCachePeerRequest) GetDescription() string
- func (*ReschedulePersistentCachePeerRequest) ProtoMessage()
- func (x *ReschedulePersistentCachePeerRequest) ProtoReflect() protoreflect.Message
- func (x *ReschedulePersistentCachePeerRequest) Reset()
- func (x *ReschedulePersistentCachePeerRequest) String() string
- func (m *ReschedulePersistentCachePeerRequest) Validate() error
- func (m *ReschedulePersistentCachePeerRequest) ValidateAll() error
- type ReschedulePersistentCachePeerRequestMultiError
- type ReschedulePersistentCachePeerRequestValidationError
- func (e ReschedulePersistentCachePeerRequestValidationError) Cause() error
- func (e ReschedulePersistentCachePeerRequestValidationError) Error() string
- func (e ReschedulePersistentCachePeerRequestValidationError) ErrorName() string
- func (e ReschedulePersistentCachePeerRequestValidationError) Field() string
- func (e ReschedulePersistentCachePeerRequestValidationError) Key() bool
- func (e ReschedulePersistentCachePeerRequestValidationError) Reason() string
- type ReschedulePersistentPeerRequest
- func (*ReschedulePersistentPeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReschedulePersistentPeerRequest) GetCandidateParents() []*v2.PersistentPeer
- func (x *ReschedulePersistentPeerRequest) GetDescription() string
- func (*ReschedulePersistentPeerRequest) ProtoMessage()
- func (x *ReschedulePersistentPeerRequest) ProtoReflect() protoreflect.Message
- func (x *ReschedulePersistentPeerRequest) Reset()
- func (x *ReschedulePersistentPeerRequest) String() string
- func (m *ReschedulePersistentPeerRequest) Validate() error
- func (m *ReschedulePersistentPeerRequest) ValidateAll() error
- type ReschedulePersistentPeerRequestMultiError
- type ReschedulePersistentPeerRequestValidationError
- func (e ReschedulePersistentPeerRequestValidationError) Cause() error
- func (e ReschedulePersistentPeerRequestValidationError) Error() string
- func (e ReschedulePersistentPeerRequestValidationError) ErrorName() string
- func (e ReschedulePersistentPeerRequestValidationError) Field() string
- func (e ReschedulePersistentPeerRequestValidationError) Key() bool
- func (e ReschedulePersistentPeerRequestValidationError) Reason() string
- type SchedulerClient
- type SchedulerServer
- type Scheduler_AnnounceCachePeerClient
- type Scheduler_AnnounceCachePeerServer
- type Scheduler_AnnouncePeerClient
- type Scheduler_AnnouncePeerServer
- type Scheduler_AnnouncePersistentCachePeerClient
- type Scheduler_AnnouncePersistentCachePeerServer
- type Scheduler_AnnouncePersistentPeerClient
- type Scheduler_AnnouncePersistentPeerServer
- type StatCachePeerRequest
- func (*StatCachePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatCachePeerRequest) GetHostId() string
- func (x *StatCachePeerRequest) GetPeerId() string
- func (x *StatCachePeerRequest) GetTaskId() string
- func (*StatCachePeerRequest) ProtoMessage()
- func (x *StatCachePeerRequest) ProtoReflect() protoreflect.Message
- func (x *StatCachePeerRequest) Reset()
- func (x *StatCachePeerRequest) String() string
- func (m *StatCachePeerRequest) Validate() error
- func (m *StatCachePeerRequest) ValidateAll() error
- type StatCachePeerRequestMultiError
- type StatCachePeerRequestValidationError
- func (e StatCachePeerRequestValidationError) Cause() error
- func (e StatCachePeerRequestValidationError) Error() string
- func (e StatCachePeerRequestValidationError) ErrorName() string
- func (e StatCachePeerRequestValidationError) Field() string
- func (e StatCachePeerRequestValidationError) Key() bool
- func (e StatCachePeerRequestValidationError) Reason() string
- type StatCacheTaskRequest
- func (*StatCacheTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatCacheTaskRequest) GetHostId() string
- func (x *StatCacheTaskRequest) GetTaskId() string
- func (*StatCacheTaskRequest) ProtoMessage()
- func (x *StatCacheTaskRequest) ProtoReflect() protoreflect.Message
- func (x *StatCacheTaskRequest) Reset()
- func (x *StatCacheTaskRequest) String() string
- func (m *StatCacheTaskRequest) Validate() error
- func (m *StatCacheTaskRequest) ValidateAll() error
- type StatCacheTaskRequestMultiError
- type StatCacheTaskRequestValidationError
- func (e StatCacheTaskRequestValidationError) Cause() error
- func (e StatCacheTaskRequestValidationError) Error() string
- func (e StatCacheTaskRequestValidationError) ErrorName() string
- func (e StatCacheTaskRequestValidationError) Field() string
- func (e StatCacheTaskRequestValidationError) Key() bool
- func (e StatCacheTaskRequestValidationError) Reason() string
- type StatFileRequest
- func (*StatFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatFileRequest) GetApplication() string
- func (x *StatFileRequest) GetCertificateChain() [][]byte
- func (x *StatFileRequest) GetConcurrentPeerCount() int64
- func (x *StatFileRequest) GetFilteredQueryParams() []string
- func (x *StatFileRequest) GetHdfs() *v2.HDFS
- func (x *StatFileRequest) GetHeader() map[string]string
- func (x *StatFileRequest) GetInsecureSkipVerify() bool
- func (x *StatFileRequest) GetObjectStorage() *v2.ObjectStorage
- func (x *StatFileRequest) GetPieceLength() uint64
- func (x *StatFileRequest) GetTag() string
- func (x *StatFileRequest) GetTimeout() *durationpb.Duration
- func (x *StatFileRequest) GetUrl() string
- func (*StatFileRequest) ProtoMessage()
- func (x *StatFileRequest) ProtoReflect() protoreflect.Message
- func (x *StatFileRequest) Reset()
- func (x *StatFileRequest) String() string
- func (m *StatFileRequest) Validate() error
- func (m *StatFileRequest) ValidateAll() error
- type StatFileRequestMultiError
- type StatFileRequestValidationError
- func (e StatFileRequestValidationError) Cause() error
- func (e StatFileRequestValidationError) Error() string
- func (e StatFileRequestValidationError) ErrorName() string
- func (e StatFileRequestValidationError) Field() string
- func (e StatFileRequestValidationError) Key() bool
- func (e StatFileRequestValidationError) Reason() string
- type StatFileResponse
- func (*StatFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatFileResponse) GetPeers() []*PeerFile
- func (*StatFileResponse) ProtoMessage()
- func (x *StatFileResponse) ProtoReflect() protoreflect.Message
- func (x *StatFileResponse) Reset()
- func (x *StatFileResponse) String() string
- func (m *StatFileResponse) Validate() error
- func (m *StatFileResponse) ValidateAll() error
- type StatFileResponseMultiError
- type StatFileResponseValidationError
- func (e StatFileResponseValidationError) Cause() error
- func (e StatFileResponseValidationError) Error() string
- func (e StatFileResponseValidationError) ErrorName() string
- func (e StatFileResponseValidationError) Field() string
- func (e StatFileResponseValidationError) Key() bool
- func (e StatFileResponseValidationError) Reason() string
- type StatImageRequest
- func (*StatImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatImageRequest) GetApplication() string
- func (x *StatImageRequest) GetCertificateChain() [][]byte
- func (x *StatImageRequest) GetConcurrentLayerCount() int64
- func (x *StatImageRequest) GetConcurrentPeerCount() int64
- func (x *StatImageRequest) GetFilteredQueryParams() []string
- func (x *StatImageRequest) GetHeader() map[string]string
- func (x *StatImageRequest) GetInsecureSkipVerify() bool
- func (x *StatImageRequest) GetPassword() string
- func (x *StatImageRequest) GetPieceLength() uint64
- func (x *StatImageRequest) GetPlatform() string
- func (x *StatImageRequest) GetTag() string
- func (x *StatImageRequest) GetTimeout() *durationpb.Duration
- func (x *StatImageRequest) GetUrl() string
- func (x *StatImageRequest) GetUsername() string
- func (*StatImageRequest) ProtoMessage()
- func (x *StatImageRequest) ProtoReflect() protoreflect.Message
- func (x *StatImageRequest) Reset()
- func (x *StatImageRequest) String() string
- func (m *StatImageRequest) Validate() error
- func (m *StatImageRequest) ValidateAll() error
- type StatImageRequestMultiError
- type StatImageRequestValidationError
- func (e StatImageRequestValidationError) Cause() error
- func (e StatImageRequestValidationError) Error() string
- func (e StatImageRequestValidationError) ErrorName() string
- func (e StatImageRequestValidationError) Field() string
- func (e StatImageRequestValidationError) Key() bool
- func (e StatImageRequestValidationError) Reason() string
- type StatImageResponse
- func (*StatImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatImageResponse) GetImage() *Image
- func (x *StatImageResponse) GetPeers() []*PeerImage
- func (*StatImageResponse) ProtoMessage()
- func (x *StatImageResponse) ProtoReflect() protoreflect.Message
- func (x *StatImageResponse) Reset()
- func (x *StatImageResponse) String() string
- func (m *StatImageResponse) Validate() error
- func (m *StatImageResponse) ValidateAll() error
- type StatImageResponseMultiError
- type StatImageResponseValidationError
- func (e StatImageResponseValidationError) Cause() error
- func (e StatImageResponseValidationError) Error() string
- func (e StatImageResponseValidationError) ErrorName() string
- func (e StatImageResponseValidationError) Field() string
- func (e StatImageResponseValidationError) Key() bool
- func (e StatImageResponseValidationError) Reason() string
- type StatPeerRequest
- func (*StatPeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatPeerRequest) GetHostId() string
- func (x *StatPeerRequest) GetPeerId() string
- func (x *StatPeerRequest) GetTaskId() string
- func (*StatPeerRequest) ProtoMessage()
- func (x *StatPeerRequest) ProtoReflect() protoreflect.Message
- func (x *StatPeerRequest) Reset()
- func (x *StatPeerRequest) String() string
- func (m *StatPeerRequest) Validate() error
- func (m *StatPeerRequest) ValidateAll() error
- type StatPeerRequestMultiError
- type StatPeerRequestValidationError
- func (e StatPeerRequestValidationError) Cause() error
- func (e StatPeerRequestValidationError) Error() string
- func (e StatPeerRequestValidationError) ErrorName() string
- func (e StatPeerRequestValidationError) Field() string
- func (e StatPeerRequestValidationError) Key() bool
- func (e StatPeerRequestValidationError) Reason() string
- type StatPersistentCachePeerRequest
- func (*StatPersistentCachePeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatPersistentCachePeerRequest) GetHostId() string
- func (x *StatPersistentCachePeerRequest) GetPeerId() string
- func (x *StatPersistentCachePeerRequest) GetTaskId() string
- func (*StatPersistentCachePeerRequest) ProtoMessage()
- func (x *StatPersistentCachePeerRequest) ProtoReflect() protoreflect.Message
- func (x *StatPersistentCachePeerRequest) Reset()
- func (x *StatPersistentCachePeerRequest) String() string
- func (m *StatPersistentCachePeerRequest) Validate() error
- func (m *StatPersistentCachePeerRequest) ValidateAll() error
- type StatPersistentCachePeerRequestMultiError
- type StatPersistentCachePeerRequestValidationError
- func (e StatPersistentCachePeerRequestValidationError) Cause() error
- func (e StatPersistentCachePeerRequestValidationError) Error() string
- func (e StatPersistentCachePeerRequestValidationError) ErrorName() string
- func (e StatPersistentCachePeerRequestValidationError) Field() string
- func (e StatPersistentCachePeerRequestValidationError) Key() bool
- func (e StatPersistentCachePeerRequestValidationError) Reason() string
- type StatPersistentCacheTaskRequest
- func (*StatPersistentCacheTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatPersistentCacheTaskRequest) GetHostId() string
- func (x *StatPersistentCacheTaskRequest) GetTaskId() string
- func (*StatPersistentCacheTaskRequest) ProtoMessage()
- func (x *StatPersistentCacheTaskRequest) ProtoReflect() protoreflect.Message
- func (x *StatPersistentCacheTaskRequest) Reset()
- func (x *StatPersistentCacheTaskRequest) String() string
- func (m *StatPersistentCacheTaskRequest) Validate() error
- func (m *StatPersistentCacheTaskRequest) ValidateAll() error
- type StatPersistentCacheTaskRequestMultiError
- type StatPersistentCacheTaskRequestValidationError
- func (e StatPersistentCacheTaskRequestValidationError) Cause() error
- func (e StatPersistentCacheTaskRequestValidationError) Error() string
- func (e StatPersistentCacheTaskRequestValidationError) ErrorName() string
- func (e StatPersistentCacheTaskRequestValidationError) Field() string
- func (e StatPersistentCacheTaskRequestValidationError) Key() bool
- func (e StatPersistentCacheTaskRequestValidationError) Reason() string
- type StatPersistentPeerRequest
- func (*StatPersistentPeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatPersistentPeerRequest) GetHostId() string
- func (x *StatPersistentPeerRequest) GetPeerId() string
- func (x *StatPersistentPeerRequest) GetTaskId() string
- func (*StatPersistentPeerRequest) ProtoMessage()
- func (x *StatPersistentPeerRequest) ProtoReflect() protoreflect.Message
- func (x *StatPersistentPeerRequest) Reset()
- func (x *StatPersistentPeerRequest) String() string
- func (m *StatPersistentPeerRequest) Validate() error
- func (m *StatPersistentPeerRequest) ValidateAll() error
- type StatPersistentPeerRequestMultiError
- type StatPersistentPeerRequestValidationError
- func (e StatPersistentPeerRequestValidationError) Cause() error
- func (e StatPersistentPeerRequestValidationError) Error() string
- func (e StatPersistentPeerRequestValidationError) ErrorName() string
- func (e StatPersistentPeerRequestValidationError) Field() string
- func (e StatPersistentPeerRequestValidationError) Key() bool
- func (e StatPersistentPeerRequestValidationError) Reason() string
- type StatPersistentTaskRequest
- func (*StatPersistentTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatPersistentTaskRequest) GetHostId() string
- func (x *StatPersistentTaskRequest) GetTaskId() string
- func (*StatPersistentTaskRequest) ProtoMessage()
- func (x *StatPersistentTaskRequest) ProtoReflect() protoreflect.Message
- func (x *StatPersistentTaskRequest) Reset()
- func (x *StatPersistentTaskRequest) String() string
- func (m *StatPersistentTaskRequest) Validate() error
- func (m *StatPersistentTaskRequest) ValidateAll() error
- type StatPersistentTaskRequestMultiError
- type StatPersistentTaskRequestValidationError
- func (e StatPersistentTaskRequestValidationError) Cause() error
- func (e StatPersistentTaskRequestValidationError) Error() string
- func (e StatPersistentTaskRequestValidationError) ErrorName() string
- func (e StatPersistentTaskRequestValidationError) Field() string
- func (e StatPersistentTaskRequestValidationError) Key() bool
- func (e StatPersistentTaskRequestValidationError) Reason() string
- type StatTaskRequest
- func (*StatTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatTaskRequest) GetHostId() string
- func (x *StatTaskRequest) GetTaskId() string
- func (*StatTaskRequest) ProtoMessage()
- func (x *StatTaskRequest) ProtoReflect() protoreflect.Message
- func (x *StatTaskRequest) Reset()
- func (x *StatTaskRequest) String() string
- func (m *StatTaskRequest) Validate() error
- func (m *StatTaskRequest) ValidateAll() error
- type StatTaskRequestMultiError
- type StatTaskRequestValidationError
- func (e StatTaskRequestValidationError) Cause() error
- func (e StatTaskRequestValidationError) Error() string
- func (e StatTaskRequestValidationError) ErrorName() string
- func (e StatTaskRequestValidationError) Field() string
- func (e StatTaskRequestValidationError) Key() bool
- func (e StatTaskRequestValidationError) Reason() string
- type UnimplementedSchedulerServer
- func (UnimplementedSchedulerServer) AnnounceCachePeer(Scheduler_AnnounceCachePeerServer) error
- func (UnimplementedSchedulerServer) AnnounceHost(context.Context, *AnnounceHostRequest) (*emptypb.Empty, error)
- func (UnimplementedSchedulerServer) AnnouncePeer(Scheduler_AnnouncePeerServer) error
- func (UnimplementedSchedulerServer) AnnouncePersistentCachePeer(Scheduler_AnnouncePersistentCachePeerServer) error
- func (UnimplementedSchedulerServer) AnnouncePersistentPeer(Scheduler_AnnouncePersistentPeerServer) error
- func (UnimplementedSchedulerServer) DeleteCachePeer(context.Context, *DeleteCachePeerRequest) (*emptypb.Empty, error)
- func (UnimplementedSchedulerServer) DeleteCacheTask(context.Context, *DeleteCacheTaskRequest) (*emptypb.Empty, error)
- func (UnimplementedSchedulerServer) DeleteHost(context.Context, *DeleteHostRequest) (*emptypb.Empty, error)
- func (UnimplementedSchedulerServer) DeletePeer(context.Context, *DeletePeerRequest) (*emptypb.Empty, error)
- func (UnimplementedSchedulerServer) DeletePersistentCachePeer(context.Context, *DeletePersistentCachePeerRequest) (*emptypb.Empty, error)
- func (UnimplementedSchedulerServer) DeletePersistentCacheTask(context.Context, *DeletePersistentCacheTaskRequest) (*emptypb.Empty, error)
- func (UnimplementedSchedulerServer) DeletePersistentPeer(context.Context, *DeletePersistentPeerRequest) (*emptypb.Empty, error)
- func (UnimplementedSchedulerServer) DeletePersistentTask(context.Context, *DeletePersistentTaskRequest) (*emptypb.Empty, error)
- func (UnimplementedSchedulerServer) DeleteTask(context.Context, *DeleteTaskRequest) (*emptypb.Empty, error)
- func (UnimplementedSchedulerServer) ListHosts(context.Context, *ListHostsRequest) (*ListHostsResponse, error)
- func (UnimplementedSchedulerServer) PreheatFile(context.Context, *PreheatFileRequest) (*emptypb.Empty, error)
- func (UnimplementedSchedulerServer) PreheatImage(context.Context, *PreheatImageRequest) (*emptypb.Empty, error)
- func (UnimplementedSchedulerServer) StatCachePeer(context.Context, *StatCachePeerRequest) (*v2.CachePeer, error)
- func (UnimplementedSchedulerServer) StatCacheTask(context.Context, *StatCacheTaskRequest) (*v2.CacheTask, error)
- func (UnimplementedSchedulerServer) StatFile(context.Context, *StatFileRequest) (*StatFileResponse, error)
- func (UnimplementedSchedulerServer) StatImage(context.Context, *StatImageRequest) (*StatImageResponse, error)
- func (UnimplementedSchedulerServer) StatPeer(context.Context, *StatPeerRequest) (*v2.Peer, error)
- func (UnimplementedSchedulerServer) StatPersistentCachePeer(context.Context, *StatPersistentCachePeerRequest) (*v2.PersistentCachePeer, error)
- func (UnimplementedSchedulerServer) StatPersistentCacheTask(context.Context, *StatPersistentCacheTaskRequest) (*v2.PersistentCacheTask, error)
- func (UnimplementedSchedulerServer) StatPersistentPeer(context.Context, *StatPersistentPeerRequest) (*v2.PersistentPeer, error)
- func (UnimplementedSchedulerServer) StatPersistentTask(context.Context, *StatPersistentTaskRequest) (*v2.PersistentTask, error)
- func (UnimplementedSchedulerServer) StatTask(context.Context, *StatTaskRequest) (*v2.Task, error)
- func (UnimplementedSchedulerServer) UploadPersistentCacheTaskFailed(context.Context, *UploadPersistentCacheTaskFailedRequest) (*emptypb.Empty, error)
- func (UnimplementedSchedulerServer) UploadPersistentCacheTaskFinished(context.Context, *UploadPersistentCacheTaskFinishedRequest) (*v2.PersistentCacheTask, error)
- func (UnimplementedSchedulerServer) UploadPersistentCacheTaskStarted(context.Context, *UploadPersistentCacheTaskStartedRequest) (*emptypb.Empty, error)
- func (UnimplementedSchedulerServer) UploadPersistentTaskFailed(context.Context, *UploadPersistentTaskFailedRequest) (*emptypb.Empty, error)
- func (UnimplementedSchedulerServer) UploadPersistentTaskFinished(context.Context, *UploadPersistentTaskFinishedRequest) (*v2.PersistentTask, error)
- func (UnimplementedSchedulerServer) UploadPersistentTaskStarted(context.Context, *UploadPersistentTaskStartedRequest) (*emptypb.Empty, error)
- type UnsafeSchedulerServer
- type UploadPersistentCacheTaskFailedRequest
- func (*UploadPersistentCacheTaskFailedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadPersistentCacheTaskFailedRequest) GetDescription() string
- func (x *UploadPersistentCacheTaskFailedRequest) GetHostId() string
- func (x *UploadPersistentCacheTaskFailedRequest) GetPeerId() string
- func (x *UploadPersistentCacheTaskFailedRequest) GetTaskId() string
- func (*UploadPersistentCacheTaskFailedRequest) ProtoMessage()
- func (x *UploadPersistentCacheTaskFailedRequest) ProtoReflect() protoreflect.Message
- func (x *UploadPersistentCacheTaskFailedRequest) Reset()
- func (x *UploadPersistentCacheTaskFailedRequest) String() string
- func (m *UploadPersistentCacheTaskFailedRequest) Validate() error
- func (m *UploadPersistentCacheTaskFailedRequest) ValidateAll() error
- type UploadPersistentCacheTaskFailedRequestMultiError
- type UploadPersistentCacheTaskFailedRequestValidationError
- func (e UploadPersistentCacheTaskFailedRequestValidationError) Cause() error
- func (e UploadPersistentCacheTaskFailedRequestValidationError) Error() string
- func (e UploadPersistentCacheTaskFailedRequestValidationError) ErrorName() string
- func (e UploadPersistentCacheTaskFailedRequestValidationError) Field() string
- func (e UploadPersistentCacheTaskFailedRequestValidationError) Key() bool
- func (e UploadPersistentCacheTaskFailedRequestValidationError) Reason() string
- type UploadPersistentCacheTaskFinishedRequest
- func (*UploadPersistentCacheTaskFinishedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadPersistentCacheTaskFinishedRequest) GetHostId() string
- func (x *UploadPersistentCacheTaskFinishedRequest) GetPeerId() string
- func (x *UploadPersistentCacheTaskFinishedRequest) GetTaskId() string
- func (*UploadPersistentCacheTaskFinishedRequest) ProtoMessage()
- func (x *UploadPersistentCacheTaskFinishedRequest) ProtoReflect() protoreflect.Message
- func (x *UploadPersistentCacheTaskFinishedRequest) Reset()
- func (x *UploadPersistentCacheTaskFinishedRequest) String() string
- func (m *UploadPersistentCacheTaskFinishedRequest) Validate() error
- func (m *UploadPersistentCacheTaskFinishedRequest) ValidateAll() error
- type UploadPersistentCacheTaskFinishedRequestMultiError
- type UploadPersistentCacheTaskFinishedRequestValidationError
- func (e UploadPersistentCacheTaskFinishedRequestValidationError) Cause() error
- func (e UploadPersistentCacheTaskFinishedRequestValidationError) Error() string
- func (e UploadPersistentCacheTaskFinishedRequestValidationError) ErrorName() string
- func (e UploadPersistentCacheTaskFinishedRequestValidationError) Field() string
- func (e UploadPersistentCacheTaskFinishedRequestValidationError) Key() bool
- func (e UploadPersistentCacheTaskFinishedRequestValidationError) Reason() string
- type UploadPersistentCacheTaskStartedRequest
- func (*UploadPersistentCacheTaskStartedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadPersistentCacheTaskStartedRequest) GetApplication() string
- func (x *UploadPersistentCacheTaskStartedRequest) GetContentLength() uint64
- func (x *UploadPersistentCacheTaskStartedRequest) GetHostId() string
- func (x *UploadPersistentCacheTaskStartedRequest) GetPeerId() string
- func (x *UploadPersistentCacheTaskStartedRequest) GetPersistentReplicaCount() uint64
- func (x *UploadPersistentCacheTaskStartedRequest) GetPieceCount() uint32
- func (x *UploadPersistentCacheTaskStartedRequest) GetPieceLength() uint64
- func (x *UploadPersistentCacheTaskStartedRequest) GetTag() string
- func (x *UploadPersistentCacheTaskStartedRequest) GetTaskId() string
- func (x *UploadPersistentCacheTaskStartedRequest) GetTtl() *durationpb.Duration
- func (*UploadPersistentCacheTaskStartedRequest) ProtoMessage()
- func (x *UploadPersistentCacheTaskStartedRequest) ProtoReflect() protoreflect.Message
- func (x *UploadPersistentCacheTaskStartedRequest) Reset()
- func (x *UploadPersistentCacheTaskStartedRequest) String() string
- func (m *UploadPersistentCacheTaskStartedRequest) Validate() error
- func (m *UploadPersistentCacheTaskStartedRequest) ValidateAll() error
- type UploadPersistentCacheTaskStartedRequestMultiError
- type UploadPersistentCacheTaskStartedRequestValidationError
- func (e UploadPersistentCacheTaskStartedRequestValidationError) Cause() error
- func (e UploadPersistentCacheTaskStartedRequestValidationError) Error() string
- func (e UploadPersistentCacheTaskStartedRequestValidationError) ErrorName() string
- func (e UploadPersistentCacheTaskStartedRequestValidationError) Field() string
- func (e UploadPersistentCacheTaskStartedRequestValidationError) Key() bool
- func (e UploadPersistentCacheTaskStartedRequestValidationError) Reason() string
- type UploadPersistentTaskFailedRequest
- func (*UploadPersistentTaskFailedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadPersistentTaskFailedRequest) GetDescription() string
- func (x *UploadPersistentTaskFailedRequest) GetHostId() string
- func (x *UploadPersistentTaskFailedRequest) GetPeerId() string
- func (x *UploadPersistentTaskFailedRequest) GetTaskId() string
- func (*UploadPersistentTaskFailedRequest) ProtoMessage()
- func (x *UploadPersistentTaskFailedRequest) ProtoReflect() protoreflect.Message
- func (x *UploadPersistentTaskFailedRequest) Reset()
- func (x *UploadPersistentTaskFailedRequest) String() string
- func (m *UploadPersistentTaskFailedRequest) Validate() error
- func (m *UploadPersistentTaskFailedRequest) ValidateAll() error
- type UploadPersistentTaskFailedRequestMultiError
- type UploadPersistentTaskFailedRequestValidationError
- func (e UploadPersistentTaskFailedRequestValidationError) Cause() error
- func (e UploadPersistentTaskFailedRequestValidationError) Error() string
- func (e UploadPersistentTaskFailedRequestValidationError) ErrorName() string
- func (e UploadPersistentTaskFailedRequestValidationError) Field() string
- func (e UploadPersistentTaskFailedRequestValidationError) Key() bool
- func (e UploadPersistentTaskFailedRequestValidationError) Reason() string
- type UploadPersistentTaskFinishedRequest
- func (*UploadPersistentTaskFinishedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadPersistentTaskFinishedRequest) GetHostId() string
- func (x *UploadPersistentTaskFinishedRequest) GetPeerId() string
- func (x *UploadPersistentTaskFinishedRequest) GetTaskId() string
- func (*UploadPersistentTaskFinishedRequest) ProtoMessage()
- func (x *UploadPersistentTaskFinishedRequest) ProtoReflect() protoreflect.Message
- func (x *UploadPersistentTaskFinishedRequest) Reset()
- func (x *UploadPersistentTaskFinishedRequest) String() string
- func (m *UploadPersistentTaskFinishedRequest) Validate() error
- func (m *UploadPersistentTaskFinishedRequest) ValidateAll() error
- type UploadPersistentTaskFinishedRequestMultiError
- type UploadPersistentTaskFinishedRequestValidationError
- func (e UploadPersistentTaskFinishedRequestValidationError) Cause() error
- func (e UploadPersistentTaskFinishedRequestValidationError) Error() string
- func (e UploadPersistentTaskFinishedRequestValidationError) ErrorName() string
- func (e UploadPersistentTaskFinishedRequestValidationError) Field() string
- func (e UploadPersistentTaskFinishedRequestValidationError) Key() bool
- func (e UploadPersistentTaskFinishedRequestValidationError) Reason() string
- type UploadPersistentTaskStartedRequest
- func (*UploadPersistentTaskStartedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadPersistentTaskStartedRequest) GetContentLength() uint64
- func (x *UploadPersistentTaskStartedRequest) GetHostId() string
- func (x *UploadPersistentTaskStartedRequest) GetObjectStorage() *v2.ObjectStorage
- func (x *UploadPersistentTaskStartedRequest) GetPeerId() string
- func (x *UploadPersistentTaskStartedRequest) GetPersistentReplicaCount() uint64
- func (x *UploadPersistentTaskStartedRequest) GetPieceCount() uint32
- func (x *UploadPersistentTaskStartedRequest) GetTaskId() string
- func (x *UploadPersistentTaskStartedRequest) GetTtl() *durationpb.Duration
- func (x *UploadPersistentTaskStartedRequest) GetUrl() string
- func (*UploadPersistentTaskStartedRequest) ProtoMessage()
- func (x *UploadPersistentTaskStartedRequest) ProtoReflect() protoreflect.Message
- func (x *UploadPersistentTaskStartedRequest) Reset()
- func (x *UploadPersistentTaskStartedRequest) String() string
- func (m *UploadPersistentTaskStartedRequest) Validate() error
- func (m *UploadPersistentTaskStartedRequest) ValidateAll() error
- type UploadPersistentTaskStartedRequestMultiError
- type UploadPersistentTaskStartedRequestValidationError
- func (e UploadPersistentTaskStartedRequestValidationError) Cause() error
- func (e UploadPersistentTaskStartedRequestValidationError) Error() string
- func (e UploadPersistentTaskStartedRequestValidationError) ErrorName() string
- func (e UploadPersistentTaskStartedRequestValidationError) Field() string
- func (e UploadPersistentTaskStartedRequestValidationError) Key() bool
- func (e UploadPersistentTaskStartedRequestValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_pkg_apis_scheduler_v2_scheduler_proto protoreflect.FileDescriptor
var Scheduler_ServiceDesc = grpc.ServiceDesc{ ServiceName: "scheduler.v2.Scheduler", HandlerType: (*SchedulerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "StatPeer", Handler: _Scheduler_StatPeer_Handler, }, { MethodName: "DeletePeer", Handler: _Scheduler_DeletePeer_Handler, }, { MethodName: "StatTask", Handler: _Scheduler_StatTask_Handler, }, { MethodName: "DeleteTask", Handler: _Scheduler_DeleteTask_Handler, }, { MethodName: "AnnounceHost", Handler: _Scheduler_AnnounceHost_Handler, }, { MethodName: "ListHosts", Handler: _Scheduler_ListHosts_Handler, }, { MethodName: "DeleteHost", Handler: _Scheduler_DeleteHost_Handler, }, { MethodName: "StatCachePeer", Handler: _Scheduler_StatCachePeer_Handler, }, { MethodName: "DeleteCachePeer", Handler: _Scheduler_DeleteCachePeer_Handler, }, { MethodName: "StatCacheTask", Handler: _Scheduler_StatCacheTask_Handler, }, { MethodName: "DeleteCacheTask", Handler: _Scheduler_DeleteCacheTask_Handler, }, { MethodName: "StatPersistentPeer", Handler: _Scheduler_StatPersistentPeer_Handler, }, { MethodName: "DeletePersistentPeer", Handler: _Scheduler_DeletePersistentPeer_Handler, }, { MethodName: "UploadPersistentTaskStarted", Handler: _Scheduler_UploadPersistentTaskStarted_Handler, }, { MethodName: "UploadPersistentTaskFinished", Handler: _Scheduler_UploadPersistentTaskFinished_Handler, }, { MethodName: "UploadPersistentTaskFailed", Handler: _Scheduler_UploadPersistentTaskFailed_Handler, }, { MethodName: "StatPersistentTask", Handler: _Scheduler_StatPersistentTask_Handler, }, { MethodName: "DeletePersistentTask", Handler: _Scheduler_DeletePersistentTask_Handler, }, { MethodName: "StatPersistentCachePeer", Handler: _Scheduler_StatPersistentCachePeer_Handler, }, { MethodName: "DeletePersistentCachePeer", Handler: _Scheduler_DeletePersistentCachePeer_Handler, }, { MethodName: "UploadPersistentCacheTaskStarted", Handler: _Scheduler_UploadPersistentCacheTaskStarted_Handler, }, { MethodName: "UploadPersistentCacheTaskFinished", Handler: _Scheduler_UploadPersistentCacheTaskFinished_Handler, }, { MethodName: "UploadPersistentCacheTaskFailed", Handler: _Scheduler_UploadPersistentCacheTaskFailed_Handler, }, { MethodName: "StatPersistentCacheTask", Handler: _Scheduler_StatPersistentCacheTask_Handler, }, { MethodName: "DeletePersistentCacheTask", Handler: _Scheduler_DeletePersistentCacheTask_Handler, }, { MethodName: "PreheatImage", Handler: _Scheduler_PreheatImage_Handler, }, { MethodName: "StatImage", Handler: _Scheduler_StatImage_Handler, }, { MethodName: "PreheatFile", Handler: _Scheduler_PreheatFile_Handler, }, { MethodName: "StatFile", Handler: _Scheduler_StatFile_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "AnnouncePeer", Handler: _Scheduler_AnnouncePeer_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "AnnounceCachePeer", Handler: _Scheduler_AnnounceCachePeer_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "AnnouncePersistentPeer", Handler: _Scheduler_AnnouncePersistentPeer_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "AnnouncePersistentCachePeer", Handler: _Scheduler_AnnouncePersistentCachePeer_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "pkg/apis/scheduler/v2/scheduler.proto", }
Scheduler_ServiceDesc is the grpc.ServiceDesc for Scheduler service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSchedulerServer ¶
func RegisterSchedulerServer(s grpc.ServiceRegistrar, srv SchedulerServer)
Types ¶
type AnnounceCachePeerRequest ¶ added in v2.0.121
type AnnounceCachePeerRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// Types that are assignable to Request:
//
// *AnnounceCachePeerRequest_RegisterCachePeerRequest
// *AnnounceCachePeerRequest_DownloadCachePeerStartedRequest
// *AnnounceCachePeerRequest_DownloadCachePeerBackToSourceStartedRequest
// *AnnounceCachePeerRequest_RescheduleCachePeerRequest
// *AnnounceCachePeerRequest_DownloadCachePeerFinishedRequest
// *AnnounceCachePeerRequest_DownloadCachePeerBackToSourceFinishedRequest
// *AnnounceCachePeerRequest_DownloadCachePeerFailedRequest
// *AnnounceCachePeerRequest_DownloadCachePeerBackToSourceFailedRequest
// *AnnounceCachePeerRequest_DownloadPieceFinishedRequest
// *AnnounceCachePeerRequest_DownloadPieceBackToSourceFinishedRequest
// *AnnounceCachePeerRequest_DownloadPieceFailedRequest
// *AnnounceCachePeerRequest_DownloadPieceBackToSourceFailedRequest
Request isAnnounceCachePeerRequest_Request `protobuf_oneof:"request"`
// contains filtered or unexported fields
}
AnnounceCachePeerRequest represents request of AnnounceCachePeer.
func (*AnnounceCachePeerRequest) Descriptor
deprecated
added in
v2.0.121
func (*AnnounceCachePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnnounceCachePeerRequest.ProtoReflect.Descriptor instead.
func (*AnnounceCachePeerRequest) GetDownloadCachePeerBackToSourceFailedRequest ¶ added in v2.1.50
func (x *AnnounceCachePeerRequest) GetDownloadCachePeerBackToSourceFailedRequest() *DownloadCachePeerBackToSourceFailedRequest
func (*AnnounceCachePeerRequest) GetDownloadCachePeerBackToSourceFinishedRequest ¶ added in v2.1.50
func (x *AnnounceCachePeerRequest) GetDownloadCachePeerBackToSourceFinishedRequest() *DownloadCachePeerBackToSourceFinishedRequest
func (*AnnounceCachePeerRequest) GetDownloadCachePeerBackToSourceStartedRequest ¶ added in v2.1.50
func (x *AnnounceCachePeerRequest) GetDownloadCachePeerBackToSourceStartedRequest() *DownloadCachePeerBackToSourceStartedRequest
func (*AnnounceCachePeerRequest) GetDownloadCachePeerFailedRequest ¶ added in v2.0.121
func (x *AnnounceCachePeerRequest) GetDownloadCachePeerFailedRequest() *DownloadCachePeerFailedRequest
func (*AnnounceCachePeerRequest) GetDownloadCachePeerFinishedRequest ¶ added in v2.0.121
func (x *AnnounceCachePeerRequest) GetDownloadCachePeerFinishedRequest() *DownloadCachePeerFinishedRequest
func (*AnnounceCachePeerRequest) GetDownloadCachePeerStartedRequest ¶ added in v2.0.121
func (x *AnnounceCachePeerRequest) GetDownloadCachePeerStartedRequest() *DownloadCachePeerStartedRequest
func (*AnnounceCachePeerRequest) GetDownloadPieceBackToSourceFailedRequest ¶ added in v2.1.50
func (x *AnnounceCachePeerRequest) GetDownloadPieceBackToSourceFailedRequest() *DownloadPieceBackToSourceFailedRequest
func (*AnnounceCachePeerRequest) GetDownloadPieceBackToSourceFinishedRequest ¶ added in v2.1.50
func (x *AnnounceCachePeerRequest) GetDownloadPieceBackToSourceFinishedRequest() *DownloadPieceBackToSourceFinishedRequest
func (*AnnounceCachePeerRequest) GetDownloadPieceFailedRequest ¶ added in v2.0.121
func (x *AnnounceCachePeerRequest) GetDownloadPieceFailedRequest() *DownloadPieceFailedRequest
func (*AnnounceCachePeerRequest) GetDownloadPieceFinishedRequest ¶ added in v2.0.121
func (x *AnnounceCachePeerRequest) GetDownloadPieceFinishedRequest() *DownloadPieceFinishedRequest
func (*AnnounceCachePeerRequest) GetHostId ¶ added in v2.0.121
func (x *AnnounceCachePeerRequest) GetHostId() string
func (*AnnounceCachePeerRequest) GetPeerId ¶ added in v2.0.121
func (x *AnnounceCachePeerRequest) GetPeerId() string
func (*AnnounceCachePeerRequest) GetRegisterCachePeerRequest ¶ added in v2.0.121
func (x *AnnounceCachePeerRequest) GetRegisterCachePeerRequest() *RegisterCachePeerRequest
func (*AnnounceCachePeerRequest) GetRequest ¶ added in v2.0.121
func (m *AnnounceCachePeerRequest) GetRequest() isAnnounceCachePeerRequest_Request
func (*AnnounceCachePeerRequest) GetRescheduleCachePeerRequest ¶ added in v2.0.121
func (x *AnnounceCachePeerRequest) GetRescheduleCachePeerRequest() *RescheduleCachePeerRequest
func (*AnnounceCachePeerRequest) GetTaskId ¶ added in v2.0.121
func (x *AnnounceCachePeerRequest) GetTaskId() string
func (*AnnounceCachePeerRequest) ProtoMessage ¶ added in v2.0.121
func (*AnnounceCachePeerRequest) ProtoMessage()
func (*AnnounceCachePeerRequest) ProtoReflect ¶ added in v2.0.121
func (x *AnnounceCachePeerRequest) ProtoReflect() protoreflect.Message
func (*AnnounceCachePeerRequest) Reset ¶ added in v2.0.121
func (x *AnnounceCachePeerRequest) Reset()
func (*AnnounceCachePeerRequest) String ¶ added in v2.0.121
func (x *AnnounceCachePeerRequest) String() string
func (*AnnounceCachePeerRequest) Validate ¶ added in v2.0.121
func (m *AnnounceCachePeerRequest) Validate() error
Validate checks the field values on AnnounceCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AnnounceCachePeerRequest) ValidateAll ¶ added in v2.0.121
func (m *AnnounceCachePeerRequest) ValidateAll() error
ValidateAll checks the field values on AnnounceCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnounceCachePeerRequestMultiError, or nil if none found.
type AnnounceCachePeerRequestMultiError ¶ added in v2.0.121
type AnnounceCachePeerRequestMultiError []error
AnnounceCachePeerRequestMultiError is an error wrapping multiple validation errors returned by AnnounceCachePeerRequest.ValidateAll() if the designated constraints aren't met.
func (AnnounceCachePeerRequestMultiError) AllErrors ¶ added in v2.0.121
func (m AnnounceCachePeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AnnounceCachePeerRequestMultiError) Error ¶ added in v2.0.121
func (m AnnounceCachePeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AnnounceCachePeerRequestValidationError ¶ added in v2.0.121
type AnnounceCachePeerRequestValidationError struct {
// contains filtered or unexported fields
}
AnnounceCachePeerRequestValidationError is the validation error returned by AnnounceCachePeerRequest.Validate if the designated constraints aren't met.
func (AnnounceCachePeerRequestValidationError) Cause ¶ added in v2.0.121
func (e AnnounceCachePeerRequestValidationError) Cause() error
Cause function returns cause value.
func (AnnounceCachePeerRequestValidationError) Error ¶ added in v2.0.121
func (e AnnounceCachePeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AnnounceCachePeerRequestValidationError) ErrorName ¶ added in v2.0.121
func (e AnnounceCachePeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AnnounceCachePeerRequestValidationError) Field ¶ added in v2.0.121
func (e AnnounceCachePeerRequestValidationError) Field() string
Field function returns field value.
func (AnnounceCachePeerRequestValidationError) Key ¶ added in v2.0.121
func (e AnnounceCachePeerRequestValidationError) Key() bool
Key function returns key value.
func (AnnounceCachePeerRequestValidationError) Reason ¶ added in v2.0.121
func (e AnnounceCachePeerRequestValidationError) Reason() string
Reason function returns reason value.
type AnnounceCachePeerRequest_DownloadCachePeerBackToSourceFailedRequest ¶ added in v2.1.50
type AnnounceCachePeerRequest_DownloadCachePeerBackToSourceFailedRequest struct {
DownloadCachePeerBackToSourceFailedRequest *DownloadCachePeerBackToSourceFailedRequest `` /* 139-byte string literal not displayed */
}
type AnnounceCachePeerRequest_DownloadCachePeerBackToSourceFinishedRequest ¶ added in v2.1.50
type AnnounceCachePeerRequest_DownloadCachePeerBackToSourceFinishedRequest struct {
DownloadCachePeerBackToSourceFinishedRequest *DownloadCachePeerBackToSourceFinishedRequest `` /* 142-byte string literal not displayed */
}
type AnnounceCachePeerRequest_DownloadCachePeerBackToSourceStartedRequest ¶ added in v2.1.50
type AnnounceCachePeerRequest_DownloadCachePeerBackToSourceStartedRequest struct {
DownloadCachePeerBackToSourceStartedRequest *DownloadCachePeerBackToSourceStartedRequest `` /* 140-byte string literal not displayed */
}
type AnnounceCachePeerRequest_DownloadCachePeerFailedRequest ¶ added in v2.0.121
type AnnounceCachePeerRequest_DownloadCachePeerFailedRequest struct {
DownloadCachePeerFailedRequest *DownloadCachePeerFailedRequest `protobuf:"bytes,10,opt,name=download_cache_peer_failed_request,json=downloadCachePeerFailedRequest,proto3,oneof"`
}
type AnnounceCachePeerRequest_DownloadCachePeerFinishedRequest ¶ added in v2.0.121
type AnnounceCachePeerRequest_DownloadCachePeerFinishedRequest struct {
DownloadCachePeerFinishedRequest *DownloadCachePeerFinishedRequest `protobuf:"bytes,8,opt,name=download_cache_peer_finished_request,json=downloadCachePeerFinishedRequest,proto3,oneof"`
}
type AnnounceCachePeerRequest_DownloadCachePeerStartedRequest ¶ added in v2.0.121
type AnnounceCachePeerRequest_DownloadCachePeerStartedRequest struct {
DownloadCachePeerStartedRequest *DownloadCachePeerStartedRequest `protobuf:"bytes,5,opt,name=download_cache_peer_started_request,json=downloadCachePeerStartedRequest,proto3,oneof"`
}
type AnnounceCachePeerRequest_DownloadPieceBackToSourceFailedRequest ¶ added in v2.1.50
type AnnounceCachePeerRequest_DownloadPieceBackToSourceFailedRequest struct {
DownloadPieceBackToSourceFailedRequest *DownloadPieceBackToSourceFailedRequest `` /* 130-byte string literal not displayed */
}
type AnnounceCachePeerRequest_DownloadPieceBackToSourceFinishedRequest ¶ added in v2.1.50
type AnnounceCachePeerRequest_DownloadPieceBackToSourceFinishedRequest struct {
DownloadPieceBackToSourceFinishedRequest *DownloadPieceBackToSourceFinishedRequest `` /* 134-byte string literal not displayed */
}
type AnnounceCachePeerRequest_DownloadPieceFailedRequest ¶ added in v2.0.121
type AnnounceCachePeerRequest_DownloadPieceFailedRequest struct {
DownloadPieceFailedRequest *DownloadPieceFailedRequest `protobuf:"bytes,14,opt,name=download_piece_failed_request,json=downloadPieceFailedRequest,proto3,oneof"`
}
type AnnounceCachePeerRequest_DownloadPieceFinishedRequest ¶ added in v2.0.121
type AnnounceCachePeerRequest_DownloadPieceFinishedRequest struct {
DownloadPieceFinishedRequest *DownloadPieceFinishedRequest `protobuf:"bytes,12,opt,name=download_piece_finished_request,json=downloadPieceFinishedRequest,proto3,oneof"`
}
type AnnounceCachePeerRequest_RegisterCachePeerRequest ¶ added in v2.0.121
type AnnounceCachePeerRequest_RegisterCachePeerRequest struct {
RegisterCachePeerRequest *RegisterCachePeerRequest `protobuf:"bytes,4,opt,name=register_cache_peer_request,json=registerCachePeerRequest,proto3,oneof"`
}
type AnnounceCachePeerRequest_RescheduleCachePeerRequest ¶ added in v2.0.121
type AnnounceCachePeerRequest_RescheduleCachePeerRequest struct {
RescheduleCachePeerRequest *RescheduleCachePeerRequest `protobuf:"bytes,7,opt,name=reschedule_cache_peer_request,json=rescheduleCachePeerRequest,proto3,oneof"`
}
type AnnounceCachePeerResponse ¶ added in v2.0.121
type AnnounceCachePeerResponse struct {
// Types that are assignable to Response:
//
// *AnnounceCachePeerResponse_EmptyCacheTaskResponse
// *AnnounceCachePeerResponse_NormalCacheTaskResponse
// *AnnounceCachePeerResponse_NeedBackToSourceResponse
Response isAnnounceCachePeerResponse_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
AnnounceCachePeerResponse represents response of AnnounceCachePeer.
func (*AnnounceCachePeerResponse) Descriptor
deprecated
added in
v2.0.121
func (*AnnounceCachePeerResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnnounceCachePeerResponse.ProtoReflect.Descriptor instead.
func (*AnnounceCachePeerResponse) GetEmptyCacheTaskResponse ¶ added in v2.0.139
func (x *AnnounceCachePeerResponse) GetEmptyCacheTaskResponse() *EmptyCacheTaskResponse
func (*AnnounceCachePeerResponse) GetNeedBackToSourceResponse ¶ added in v2.1.50
func (x *AnnounceCachePeerResponse) GetNeedBackToSourceResponse() *NeedBackToSourceResponse
func (*AnnounceCachePeerResponse) GetNormalCacheTaskResponse ¶ added in v2.0.139
func (x *AnnounceCachePeerResponse) GetNormalCacheTaskResponse() *NormalCacheTaskResponse
func (*AnnounceCachePeerResponse) GetResponse ¶ added in v2.0.121
func (m *AnnounceCachePeerResponse) GetResponse() isAnnounceCachePeerResponse_Response
func (*AnnounceCachePeerResponse) ProtoMessage ¶ added in v2.0.121
func (*AnnounceCachePeerResponse) ProtoMessage()
func (*AnnounceCachePeerResponse) ProtoReflect ¶ added in v2.0.121
func (x *AnnounceCachePeerResponse) ProtoReflect() protoreflect.Message
func (*AnnounceCachePeerResponse) Reset ¶ added in v2.0.121
func (x *AnnounceCachePeerResponse) Reset()
func (*AnnounceCachePeerResponse) String ¶ added in v2.0.121
func (x *AnnounceCachePeerResponse) String() string
func (*AnnounceCachePeerResponse) Validate ¶ added in v2.0.121
func (m *AnnounceCachePeerResponse) Validate() error
Validate checks the field values on AnnounceCachePeerResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AnnounceCachePeerResponse) ValidateAll ¶ added in v2.0.121
func (m *AnnounceCachePeerResponse) ValidateAll() error
ValidateAll checks the field values on AnnounceCachePeerResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnounceCachePeerResponseMultiError, or nil if none found.
type AnnounceCachePeerResponseMultiError ¶ added in v2.0.121
type AnnounceCachePeerResponseMultiError []error
AnnounceCachePeerResponseMultiError is an error wrapping multiple validation errors returned by AnnounceCachePeerResponse.ValidateAll() if the designated constraints aren't met.
func (AnnounceCachePeerResponseMultiError) AllErrors ¶ added in v2.0.121
func (m AnnounceCachePeerResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AnnounceCachePeerResponseMultiError) Error ¶ added in v2.0.121
func (m AnnounceCachePeerResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AnnounceCachePeerResponseValidationError ¶ added in v2.0.121
type AnnounceCachePeerResponseValidationError struct {
// contains filtered or unexported fields
}
AnnounceCachePeerResponseValidationError is the validation error returned by AnnounceCachePeerResponse.Validate if the designated constraints aren't met.
func (AnnounceCachePeerResponseValidationError) Cause ¶ added in v2.0.121
func (e AnnounceCachePeerResponseValidationError) Cause() error
Cause function returns cause value.
func (AnnounceCachePeerResponseValidationError) Error ¶ added in v2.0.121
func (e AnnounceCachePeerResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AnnounceCachePeerResponseValidationError) ErrorName ¶ added in v2.0.121
func (e AnnounceCachePeerResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AnnounceCachePeerResponseValidationError) Field ¶ added in v2.0.121
func (e AnnounceCachePeerResponseValidationError) Field() string
Field function returns field value.
func (AnnounceCachePeerResponseValidationError) Key ¶ added in v2.0.121
func (e AnnounceCachePeerResponseValidationError) Key() bool
Key function returns key value.
func (AnnounceCachePeerResponseValidationError) Reason ¶ added in v2.0.121
func (e AnnounceCachePeerResponseValidationError) Reason() string
Reason function returns reason value.
type AnnounceCachePeerResponse_EmptyCacheTaskResponse ¶ added in v2.0.139
type AnnounceCachePeerResponse_EmptyCacheTaskResponse struct {
EmptyCacheTaskResponse *EmptyCacheTaskResponse `protobuf:"bytes,1,opt,name=empty_cache_task_response,json=emptyCacheTaskResponse,proto3,oneof"`
}
type AnnounceCachePeerResponse_NeedBackToSourceResponse ¶ added in v2.1.50
type AnnounceCachePeerResponse_NeedBackToSourceResponse struct {
NeedBackToSourceResponse *NeedBackToSourceResponse `protobuf:"bytes,3,opt,name=need_back_to_source_response,json=needBackToSourceResponse,proto3,oneof"`
}
type AnnounceCachePeerResponse_NormalCacheTaskResponse ¶ added in v2.0.139
type AnnounceCachePeerResponse_NormalCacheTaskResponse struct {
NormalCacheTaskResponse *NormalCacheTaskResponse `protobuf:"bytes,2,opt,name=normal_cache_task_response,json=normalCacheTaskResponse,proto3,oneof"`
}
type AnnounceHostRequest ¶
type AnnounceHostRequest struct {
// Host info.
Host *v2.Host `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
// The interval between dfdaemon announces to scheduler.
Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3,oneof" json:"interval,omitempty"`
// contains filtered or unexported fields
}
AnnounceHostRequest represents request of AnnounceHost.
func (*AnnounceHostRequest) Descriptor
deprecated
func (*AnnounceHostRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnnounceHostRequest.ProtoReflect.Descriptor instead.
func (*AnnounceHostRequest) GetHost ¶
func (x *AnnounceHostRequest) GetHost() *v2.Host
func (*AnnounceHostRequest) GetInterval ¶ added in v2.0.125
func (x *AnnounceHostRequest) GetInterval() *durationpb.Duration
func (*AnnounceHostRequest) ProtoMessage ¶
func (*AnnounceHostRequest) ProtoMessage()
func (*AnnounceHostRequest) ProtoReflect ¶
func (x *AnnounceHostRequest) ProtoReflect() protoreflect.Message
func (*AnnounceHostRequest) Reset ¶
func (x *AnnounceHostRequest) Reset()
func (*AnnounceHostRequest) String ¶
func (x *AnnounceHostRequest) String() string
func (*AnnounceHostRequest) Validate ¶
func (m *AnnounceHostRequest) Validate() error
Validate checks the field values on AnnounceHostRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AnnounceHostRequest) ValidateAll ¶
func (m *AnnounceHostRequest) ValidateAll() error
ValidateAll checks the field values on AnnounceHostRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnounceHostRequestMultiError, or nil if none found.
type AnnounceHostRequestMultiError ¶
type AnnounceHostRequestMultiError []error
AnnounceHostRequestMultiError is an error wrapping multiple validation errors returned by AnnounceHostRequest.ValidateAll() if the designated constraints aren't met.
func (AnnounceHostRequestMultiError) AllErrors ¶
func (m AnnounceHostRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AnnounceHostRequestMultiError) Error ¶
func (m AnnounceHostRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AnnounceHostRequestValidationError ¶
type AnnounceHostRequestValidationError struct {
// contains filtered or unexported fields
}
AnnounceHostRequestValidationError is the validation error returned by AnnounceHostRequest.Validate if the designated constraints aren't met.
func (AnnounceHostRequestValidationError) Cause ¶
func (e AnnounceHostRequestValidationError) Cause() error
Cause function returns cause value.
func (AnnounceHostRequestValidationError) Error ¶
func (e AnnounceHostRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AnnounceHostRequestValidationError) ErrorName ¶
func (e AnnounceHostRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AnnounceHostRequestValidationError) Field ¶
func (e AnnounceHostRequestValidationError) Field() string
Field function returns field value.
func (AnnounceHostRequestValidationError) Key ¶
func (e AnnounceHostRequestValidationError) Key() bool
Key function returns key value.
func (AnnounceHostRequestValidationError) Reason ¶
func (e AnnounceHostRequestValidationError) Reason() string
Reason function returns reason value.
type AnnouncePeerRequest ¶
type AnnouncePeerRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// Types that are assignable to Request:
//
// *AnnouncePeerRequest_RegisterPeerRequest
// *AnnouncePeerRequest_DownloadPeerStartedRequest
// *AnnouncePeerRequest_DownloadPeerBackToSourceStartedRequest
// *AnnouncePeerRequest_ReschedulePeerRequest
// *AnnouncePeerRequest_DownloadPeerFinishedRequest
// *AnnouncePeerRequest_DownloadPeerBackToSourceFinishedRequest
// *AnnouncePeerRequest_DownloadPeerFailedRequest
// *AnnouncePeerRequest_DownloadPeerBackToSourceFailedRequest
// *AnnouncePeerRequest_DownloadPieceFinishedRequest
// *AnnouncePeerRequest_DownloadPieceBackToSourceFinishedRequest
// *AnnouncePeerRequest_DownloadPieceFailedRequest
// *AnnouncePeerRequest_DownloadPieceBackToSourceFailedRequest
Request isAnnouncePeerRequest_Request `protobuf_oneof:"request"`
// contains filtered or unexported fields
}
AnnouncePeerRequest represents request of AnnouncePeer.
func (*AnnouncePeerRequest) Descriptor
deprecated
func (*AnnouncePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnnouncePeerRequest.ProtoReflect.Descriptor instead.
func (*AnnouncePeerRequest) GetDownloadPeerBackToSourceFailedRequest ¶
func (x *AnnouncePeerRequest) GetDownloadPeerBackToSourceFailedRequest() *DownloadPeerBackToSourceFailedRequest
func (*AnnouncePeerRequest) GetDownloadPeerBackToSourceFinishedRequest ¶
func (x *AnnouncePeerRequest) GetDownloadPeerBackToSourceFinishedRequest() *DownloadPeerBackToSourceFinishedRequest
func (*AnnouncePeerRequest) GetDownloadPeerBackToSourceStartedRequest ¶
func (x *AnnouncePeerRequest) GetDownloadPeerBackToSourceStartedRequest() *DownloadPeerBackToSourceStartedRequest
func (*AnnouncePeerRequest) GetDownloadPeerFailedRequest ¶
func (x *AnnouncePeerRequest) GetDownloadPeerFailedRequest() *DownloadPeerFailedRequest
func (*AnnouncePeerRequest) GetDownloadPeerFinishedRequest ¶
func (x *AnnouncePeerRequest) GetDownloadPeerFinishedRequest() *DownloadPeerFinishedRequest
func (*AnnouncePeerRequest) GetDownloadPeerStartedRequest ¶
func (x *AnnouncePeerRequest) GetDownloadPeerStartedRequest() *DownloadPeerStartedRequest
func (*AnnouncePeerRequest) GetDownloadPieceBackToSourceFailedRequest ¶
func (x *AnnouncePeerRequest) GetDownloadPieceBackToSourceFailedRequest() *DownloadPieceBackToSourceFailedRequest
func (*AnnouncePeerRequest) GetDownloadPieceBackToSourceFinishedRequest ¶
func (x *AnnouncePeerRequest) GetDownloadPieceBackToSourceFinishedRequest() *DownloadPieceBackToSourceFinishedRequest
func (*AnnouncePeerRequest) GetDownloadPieceFailedRequest ¶
func (x *AnnouncePeerRequest) GetDownloadPieceFailedRequest() *DownloadPieceFailedRequest
func (*AnnouncePeerRequest) GetDownloadPieceFinishedRequest ¶
func (x *AnnouncePeerRequest) GetDownloadPieceFinishedRequest() *DownloadPieceFinishedRequest
func (*AnnouncePeerRequest) GetHostId ¶
func (x *AnnouncePeerRequest) GetHostId() string
func (*AnnouncePeerRequest) GetPeerId ¶
func (x *AnnouncePeerRequest) GetPeerId() string
func (*AnnouncePeerRequest) GetRegisterPeerRequest ¶
func (x *AnnouncePeerRequest) GetRegisterPeerRequest() *RegisterPeerRequest
func (*AnnouncePeerRequest) GetRequest ¶
func (m *AnnouncePeerRequest) GetRequest() isAnnouncePeerRequest_Request
func (*AnnouncePeerRequest) GetReschedulePeerRequest ¶ added in v2.0.121
func (x *AnnouncePeerRequest) GetReschedulePeerRequest() *ReschedulePeerRequest
func (*AnnouncePeerRequest) GetTaskId ¶
func (x *AnnouncePeerRequest) GetTaskId() string
func (*AnnouncePeerRequest) ProtoMessage ¶
func (*AnnouncePeerRequest) ProtoMessage()
func (*AnnouncePeerRequest) ProtoReflect ¶
func (x *AnnouncePeerRequest) ProtoReflect() protoreflect.Message
func (*AnnouncePeerRequest) Reset ¶
func (x *AnnouncePeerRequest) Reset()
func (*AnnouncePeerRequest) String ¶
func (x *AnnouncePeerRequest) String() string
func (*AnnouncePeerRequest) Validate ¶
func (m *AnnouncePeerRequest) Validate() error
Validate checks the field values on AnnouncePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AnnouncePeerRequest) ValidateAll ¶
func (m *AnnouncePeerRequest) ValidateAll() error
ValidateAll checks the field values on AnnouncePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnouncePeerRequestMultiError, or nil if none found.
type AnnouncePeerRequestMultiError ¶
type AnnouncePeerRequestMultiError []error
AnnouncePeerRequestMultiError is an error wrapping multiple validation errors returned by AnnouncePeerRequest.ValidateAll() if the designated constraints aren't met.
func (AnnouncePeerRequestMultiError) AllErrors ¶
func (m AnnouncePeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AnnouncePeerRequestMultiError) Error ¶
func (m AnnouncePeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AnnouncePeerRequestValidationError ¶
type AnnouncePeerRequestValidationError struct {
// contains filtered or unexported fields
}
AnnouncePeerRequestValidationError is the validation error returned by AnnouncePeerRequest.Validate if the designated constraints aren't met.
func (AnnouncePeerRequestValidationError) Cause ¶
func (e AnnouncePeerRequestValidationError) Cause() error
Cause function returns cause value.
func (AnnouncePeerRequestValidationError) Error ¶
func (e AnnouncePeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AnnouncePeerRequestValidationError) ErrorName ¶
func (e AnnouncePeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AnnouncePeerRequestValidationError) Field ¶
func (e AnnouncePeerRequestValidationError) Field() string
Field function returns field value.
func (AnnouncePeerRequestValidationError) Key ¶
func (e AnnouncePeerRequestValidationError) Key() bool
Key function returns key value.
func (AnnouncePeerRequestValidationError) Reason ¶
func (e AnnouncePeerRequestValidationError) Reason() string
Reason function returns reason value.
type AnnouncePeerRequest_DownloadPeerBackToSourceFailedRequest ¶
type AnnouncePeerRequest_DownloadPeerBackToSourceFailedRequest struct {
DownloadPeerBackToSourceFailedRequest *DownloadPeerBackToSourceFailedRequest `` /* 128-byte string literal not displayed */
}
type AnnouncePeerRequest_DownloadPeerBackToSourceFinishedRequest ¶
type AnnouncePeerRequest_DownloadPeerBackToSourceFinishedRequest struct {
DownloadPeerBackToSourceFinishedRequest *DownloadPeerBackToSourceFinishedRequest `` /* 131-byte string literal not displayed */
}
type AnnouncePeerRequest_DownloadPeerBackToSourceStartedRequest ¶
type AnnouncePeerRequest_DownloadPeerBackToSourceStartedRequest struct {
DownloadPeerBackToSourceStartedRequest *DownloadPeerBackToSourceStartedRequest `` /* 129-byte string literal not displayed */
}
type AnnouncePeerRequest_DownloadPeerFailedRequest ¶
type AnnouncePeerRequest_DownloadPeerFailedRequest struct {
DownloadPeerFailedRequest *DownloadPeerFailedRequest `protobuf:"bytes,10,opt,name=download_peer_failed_request,json=downloadPeerFailedRequest,proto3,oneof"`
}
type AnnouncePeerRequest_DownloadPeerFinishedRequest ¶
type AnnouncePeerRequest_DownloadPeerFinishedRequest struct {
DownloadPeerFinishedRequest *DownloadPeerFinishedRequest `protobuf:"bytes,8,opt,name=download_peer_finished_request,json=downloadPeerFinishedRequest,proto3,oneof"`
}
type AnnouncePeerRequest_DownloadPeerStartedRequest ¶
type AnnouncePeerRequest_DownloadPeerStartedRequest struct {
DownloadPeerStartedRequest *DownloadPeerStartedRequest `protobuf:"bytes,5,opt,name=download_peer_started_request,json=downloadPeerStartedRequest,proto3,oneof"`
}
type AnnouncePeerRequest_DownloadPieceBackToSourceFailedRequest ¶
type AnnouncePeerRequest_DownloadPieceBackToSourceFailedRequest struct {
DownloadPieceBackToSourceFailedRequest *DownloadPieceBackToSourceFailedRequest `` /* 130-byte string literal not displayed */
}
type AnnouncePeerRequest_DownloadPieceBackToSourceFinishedRequest ¶
type AnnouncePeerRequest_DownloadPieceBackToSourceFinishedRequest struct {
DownloadPieceBackToSourceFinishedRequest *DownloadPieceBackToSourceFinishedRequest `` /* 134-byte string literal not displayed */
}
type AnnouncePeerRequest_DownloadPieceFailedRequest ¶
type AnnouncePeerRequest_DownloadPieceFailedRequest struct {
DownloadPieceFailedRequest *DownloadPieceFailedRequest `protobuf:"bytes,14,opt,name=download_piece_failed_request,json=downloadPieceFailedRequest,proto3,oneof"`
}
type AnnouncePeerRequest_DownloadPieceFinishedRequest ¶
type AnnouncePeerRequest_DownloadPieceFinishedRequest struct {
DownloadPieceFinishedRequest *DownloadPieceFinishedRequest `protobuf:"bytes,12,opt,name=download_piece_finished_request,json=downloadPieceFinishedRequest,proto3,oneof"`
}
type AnnouncePeerRequest_RegisterPeerRequest ¶
type AnnouncePeerRequest_RegisterPeerRequest struct {
RegisterPeerRequest *RegisterPeerRequest `protobuf:"bytes,4,opt,name=register_peer_request,json=registerPeerRequest,proto3,oneof"`
}
type AnnouncePeerRequest_ReschedulePeerRequest ¶ added in v2.0.121
type AnnouncePeerRequest_ReschedulePeerRequest struct {
ReschedulePeerRequest *ReschedulePeerRequest `protobuf:"bytes,7,opt,name=reschedule_peer_request,json=reschedulePeerRequest,proto3,oneof"`
}
type AnnouncePeerResponse ¶
type AnnouncePeerResponse struct {
// Types that are assignable to Response:
//
// *AnnouncePeerResponse_EmptyTaskResponse
// *AnnouncePeerResponse_NormalTaskResponse
// *AnnouncePeerResponse_NeedBackToSourceResponse
Response isAnnouncePeerResponse_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
AnnouncePeerResponse represents response of AnnouncePeer.
func (*AnnouncePeerResponse) Descriptor
deprecated
func (*AnnouncePeerResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnnouncePeerResponse.ProtoReflect.Descriptor instead.
func (*AnnouncePeerResponse) GetEmptyTaskResponse ¶
func (x *AnnouncePeerResponse) GetEmptyTaskResponse() *EmptyTaskResponse
func (*AnnouncePeerResponse) GetNeedBackToSourceResponse ¶
func (x *AnnouncePeerResponse) GetNeedBackToSourceResponse() *NeedBackToSourceResponse
func (*AnnouncePeerResponse) GetNormalTaskResponse ¶
func (x *AnnouncePeerResponse) GetNormalTaskResponse() *NormalTaskResponse
func (*AnnouncePeerResponse) GetResponse ¶
func (m *AnnouncePeerResponse) GetResponse() isAnnouncePeerResponse_Response
func (*AnnouncePeerResponse) ProtoMessage ¶
func (*AnnouncePeerResponse) ProtoMessage()
func (*AnnouncePeerResponse) ProtoReflect ¶
func (x *AnnouncePeerResponse) ProtoReflect() protoreflect.Message
func (*AnnouncePeerResponse) Reset ¶
func (x *AnnouncePeerResponse) Reset()
func (*AnnouncePeerResponse) String ¶
func (x *AnnouncePeerResponse) String() string
func (*AnnouncePeerResponse) Validate ¶
func (m *AnnouncePeerResponse) Validate() error
Validate checks the field values on AnnouncePeerResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AnnouncePeerResponse) ValidateAll ¶
func (m *AnnouncePeerResponse) ValidateAll() error
ValidateAll checks the field values on AnnouncePeerResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnouncePeerResponseMultiError, or nil if none found.
type AnnouncePeerResponseMultiError ¶
type AnnouncePeerResponseMultiError []error
AnnouncePeerResponseMultiError is an error wrapping multiple validation errors returned by AnnouncePeerResponse.ValidateAll() if the designated constraints aren't met.
func (AnnouncePeerResponseMultiError) AllErrors ¶
func (m AnnouncePeerResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AnnouncePeerResponseMultiError) Error ¶
func (m AnnouncePeerResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AnnouncePeerResponseValidationError ¶
type AnnouncePeerResponseValidationError struct {
// contains filtered or unexported fields
}
AnnouncePeerResponseValidationError is the validation error returned by AnnouncePeerResponse.Validate if the designated constraints aren't met.
func (AnnouncePeerResponseValidationError) Cause ¶
func (e AnnouncePeerResponseValidationError) Cause() error
Cause function returns cause value.
func (AnnouncePeerResponseValidationError) Error ¶
func (e AnnouncePeerResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AnnouncePeerResponseValidationError) ErrorName ¶
func (e AnnouncePeerResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AnnouncePeerResponseValidationError) Field ¶
func (e AnnouncePeerResponseValidationError) Field() string
Field function returns field value.
func (AnnouncePeerResponseValidationError) Key ¶
func (e AnnouncePeerResponseValidationError) Key() bool
Key function returns key value.
func (AnnouncePeerResponseValidationError) Reason ¶
func (e AnnouncePeerResponseValidationError) Reason() string
Reason function returns reason value.
type AnnouncePeerResponse_EmptyTaskResponse ¶
type AnnouncePeerResponse_EmptyTaskResponse struct {
EmptyTaskResponse *EmptyTaskResponse `protobuf:"bytes,1,opt,name=empty_task_response,json=emptyTaskResponse,proto3,oneof"`
}
type AnnouncePeerResponse_NeedBackToSourceResponse ¶
type AnnouncePeerResponse_NeedBackToSourceResponse struct {
NeedBackToSourceResponse *NeedBackToSourceResponse `protobuf:"bytes,3,opt,name=need_back_to_source_response,json=needBackToSourceResponse,proto3,oneof"`
}
type AnnouncePeerResponse_NormalTaskResponse ¶
type AnnouncePeerResponse_NormalTaskResponse struct {
NormalTaskResponse *NormalTaskResponse `protobuf:"bytes,2,opt,name=normal_task_response,json=normalTaskResponse,proto3,oneof"`
}
type AnnouncePersistentCachePeerRequest ¶ added in v2.0.161
type AnnouncePersistentCachePeerRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// Types that are assignable to Request:
//
// *AnnouncePersistentCachePeerRequest_RegisterPersistentCachePeerRequest
// *AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerStartedRequest
// *AnnouncePersistentCachePeerRequest_ReschedulePersistentCachePeerRequest
// *AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerFinishedRequest
// *AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerFailedRequest
// *AnnouncePersistentCachePeerRequest_DownloadPieceFinishedRequest
// *AnnouncePersistentCachePeerRequest_DownloadPieceFailedRequest
Request isAnnouncePersistentCachePeerRequest_Request `protobuf_oneof:"request"`
// contains filtered or unexported fields
}
AnnouncePersistentCachePeerRequest represents request of AnnouncePersistentCachePeer.
func (*AnnouncePersistentCachePeerRequest) Descriptor
deprecated
added in
v2.0.161
func (*AnnouncePersistentCachePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnnouncePersistentCachePeerRequest.ProtoReflect.Descriptor instead.
func (*AnnouncePersistentCachePeerRequest) GetDownloadPersistentCachePeerFailedRequest ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerRequest) GetDownloadPersistentCachePeerFailedRequest() *DownloadPersistentCachePeerFailedRequest
func (*AnnouncePersistentCachePeerRequest) GetDownloadPersistentCachePeerFinishedRequest ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerRequest) GetDownloadPersistentCachePeerFinishedRequest() *DownloadPersistentCachePeerFinishedRequest
func (*AnnouncePersistentCachePeerRequest) GetDownloadPersistentCachePeerStartedRequest ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerRequest) GetDownloadPersistentCachePeerStartedRequest() *DownloadPersistentCachePeerStartedRequest
func (*AnnouncePersistentCachePeerRequest) GetDownloadPieceFailedRequest ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerRequest) GetDownloadPieceFailedRequest() *DownloadPieceFailedRequest
func (*AnnouncePersistentCachePeerRequest) GetDownloadPieceFinishedRequest ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerRequest) GetDownloadPieceFinishedRequest() *DownloadPieceFinishedRequest
func (*AnnouncePersistentCachePeerRequest) GetHostId ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerRequest) GetHostId() string
func (*AnnouncePersistentCachePeerRequest) GetPeerId ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerRequest) GetPeerId() string
func (*AnnouncePersistentCachePeerRequest) GetRegisterPersistentCachePeerRequest ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerRequest) GetRegisterPersistentCachePeerRequest() *RegisterPersistentCachePeerRequest
func (*AnnouncePersistentCachePeerRequest) GetRequest ¶ added in v2.0.161
func (m *AnnouncePersistentCachePeerRequest) GetRequest() isAnnouncePersistentCachePeerRequest_Request
func (*AnnouncePersistentCachePeerRequest) GetReschedulePersistentCachePeerRequest ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerRequest) GetReschedulePersistentCachePeerRequest() *ReschedulePersistentCachePeerRequest
func (*AnnouncePersistentCachePeerRequest) GetTaskId ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerRequest) GetTaskId() string
func (*AnnouncePersistentCachePeerRequest) ProtoMessage ¶ added in v2.0.161
func (*AnnouncePersistentCachePeerRequest) ProtoMessage()
func (*AnnouncePersistentCachePeerRequest) ProtoReflect ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerRequest) ProtoReflect() protoreflect.Message
func (*AnnouncePersistentCachePeerRequest) Reset ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerRequest) Reset()
func (*AnnouncePersistentCachePeerRequest) String ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerRequest) String() string
func (*AnnouncePersistentCachePeerRequest) Validate ¶ added in v2.0.161
func (m *AnnouncePersistentCachePeerRequest) Validate() error
Validate checks the field values on AnnouncePersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AnnouncePersistentCachePeerRequest) ValidateAll ¶ added in v2.0.161
func (m *AnnouncePersistentCachePeerRequest) ValidateAll() error
ValidateAll checks the field values on AnnouncePersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnouncePersistentCachePeerRequestMultiError, or nil if none found.
type AnnouncePersistentCachePeerRequestMultiError ¶ added in v2.0.161
type AnnouncePersistentCachePeerRequestMultiError []error
AnnouncePersistentCachePeerRequestMultiError is an error wrapping multiple validation errors returned by AnnouncePersistentCachePeerRequest.ValidateAll() if the designated constraints aren't met.
func (AnnouncePersistentCachePeerRequestMultiError) AllErrors ¶ added in v2.0.161
func (m AnnouncePersistentCachePeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AnnouncePersistentCachePeerRequestMultiError) Error ¶ added in v2.0.161
func (m AnnouncePersistentCachePeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AnnouncePersistentCachePeerRequestValidationError ¶ added in v2.0.161
type AnnouncePersistentCachePeerRequestValidationError struct {
// contains filtered or unexported fields
}
AnnouncePersistentCachePeerRequestValidationError is the validation error returned by AnnouncePersistentCachePeerRequest.Validate if the designated constraints aren't met.
func (AnnouncePersistentCachePeerRequestValidationError) Cause ¶ added in v2.0.161
func (e AnnouncePersistentCachePeerRequestValidationError) Cause() error
Cause function returns cause value.
func (AnnouncePersistentCachePeerRequestValidationError) Error ¶ added in v2.0.161
func (e AnnouncePersistentCachePeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AnnouncePersistentCachePeerRequestValidationError) ErrorName ¶ added in v2.0.161
func (e AnnouncePersistentCachePeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AnnouncePersistentCachePeerRequestValidationError) Field ¶ added in v2.0.161
func (e AnnouncePersistentCachePeerRequestValidationError) Field() string
Field function returns field value.
func (AnnouncePersistentCachePeerRequestValidationError) Key ¶ added in v2.0.161
func (e AnnouncePersistentCachePeerRequestValidationError) Key() bool
Key function returns key value.
func (AnnouncePersistentCachePeerRequestValidationError) Reason ¶ added in v2.0.161
func (e AnnouncePersistentCachePeerRequestValidationError) Reason() string
Reason function returns reason value.
type AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerFailedRequest ¶ added in v2.0.161
type AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerFailedRequest struct {
DownloadPersistentCachePeerFailedRequest *DownloadPersistentCachePeerFailedRequest `` /* 132-byte string literal not displayed */
}
type AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerFinishedRequest ¶ added in v2.0.161
type AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerFinishedRequest struct {
DownloadPersistentCachePeerFinishedRequest *DownloadPersistentCachePeerFinishedRequest `` /* 136-byte string literal not displayed */
}
type AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerStartedRequest ¶ added in v2.0.161
type AnnouncePersistentCachePeerRequest_DownloadPersistentCachePeerStartedRequest struct {
DownloadPersistentCachePeerStartedRequest *DownloadPersistentCachePeerStartedRequest `` /* 134-byte string literal not displayed */
}
type AnnouncePersistentCachePeerRequest_DownloadPieceFailedRequest ¶ added in v2.0.161
type AnnouncePersistentCachePeerRequest_DownloadPieceFailedRequest struct {
DownloadPieceFailedRequest *DownloadPieceFailedRequest `protobuf:"bytes,10,opt,name=download_piece_failed_request,json=downloadPieceFailedRequest,proto3,oneof"`
}
type AnnouncePersistentCachePeerRequest_DownloadPieceFinishedRequest ¶ added in v2.0.161
type AnnouncePersistentCachePeerRequest_DownloadPieceFinishedRequest struct {
DownloadPieceFinishedRequest *DownloadPieceFinishedRequest `protobuf:"bytes,9,opt,name=download_piece_finished_request,json=downloadPieceFinishedRequest,proto3,oneof"`
}
type AnnouncePersistentCachePeerRequest_RegisterPersistentCachePeerRequest ¶ added in v2.0.161
type AnnouncePersistentCachePeerRequest_RegisterPersistentCachePeerRequest struct {
RegisterPersistentCachePeerRequest *RegisterPersistentCachePeerRequest `protobuf:"bytes,4,opt,name=register_persistent_cache_peer_request,json=registerPersistentCachePeerRequest,proto3,oneof"`
}
type AnnouncePersistentCachePeerRequest_ReschedulePersistentCachePeerRequest ¶ added in v2.0.161
type AnnouncePersistentCachePeerRequest_ReschedulePersistentCachePeerRequest struct {
ReschedulePersistentCachePeerRequest *ReschedulePersistentCachePeerRequest `protobuf:"bytes,6,opt,name=reschedule_persistent_cache_peer_request,json=reschedulePersistentCachePeerRequest,proto3,oneof"`
}
type AnnouncePersistentCachePeerResponse ¶ added in v2.0.161
type AnnouncePersistentCachePeerResponse struct {
// Types that are assignable to Response:
//
// *AnnouncePersistentCachePeerResponse_EmptyPersistentCacheTaskResponse
// *AnnouncePersistentCachePeerResponse_NormalPersistentCacheTaskResponse
Response isAnnouncePersistentCachePeerResponse_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
AnnouncePersistentCachePeerResponse represents response of AnnouncePersistentCachePeer.
func (*AnnouncePersistentCachePeerResponse) Descriptor
deprecated
added in
v2.0.161
func (*AnnouncePersistentCachePeerResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnnouncePersistentCachePeerResponse.ProtoReflect.Descriptor instead.
func (*AnnouncePersistentCachePeerResponse) GetEmptyPersistentCacheTaskResponse ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerResponse) GetEmptyPersistentCacheTaskResponse() *EmptyPersistentCacheTaskResponse
func (*AnnouncePersistentCachePeerResponse) GetNormalPersistentCacheTaskResponse ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerResponse) GetNormalPersistentCacheTaskResponse() *NormalPersistentCacheTaskResponse
func (*AnnouncePersistentCachePeerResponse) GetResponse ¶ added in v2.0.161
func (m *AnnouncePersistentCachePeerResponse) GetResponse() isAnnouncePersistentCachePeerResponse_Response
func (*AnnouncePersistentCachePeerResponse) ProtoMessage ¶ added in v2.0.161
func (*AnnouncePersistentCachePeerResponse) ProtoMessage()
func (*AnnouncePersistentCachePeerResponse) ProtoReflect ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerResponse) ProtoReflect() protoreflect.Message
func (*AnnouncePersistentCachePeerResponse) Reset ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerResponse) Reset()
func (*AnnouncePersistentCachePeerResponse) String ¶ added in v2.0.161
func (x *AnnouncePersistentCachePeerResponse) String() string
func (*AnnouncePersistentCachePeerResponse) Validate ¶ added in v2.0.161
func (m *AnnouncePersistentCachePeerResponse) Validate() error
Validate checks the field values on AnnouncePersistentCachePeerResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AnnouncePersistentCachePeerResponse) ValidateAll ¶ added in v2.0.161
func (m *AnnouncePersistentCachePeerResponse) ValidateAll() error
ValidateAll checks the field values on AnnouncePersistentCachePeerResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnouncePersistentCachePeerResponseMultiError, or nil if none found.
type AnnouncePersistentCachePeerResponseMultiError ¶ added in v2.0.161
type AnnouncePersistentCachePeerResponseMultiError []error
AnnouncePersistentCachePeerResponseMultiError is an error wrapping multiple validation errors returned by AnnouncePersistentCachePeerResponse.ValidateAll() if the designated constraints aren't met.
func (AnnouncePersistentCachePeerResponseMultiError) AllErrors ¶ added in v2.0.161
func (m AnnouncePersistentCachePeerResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AnnouncePersistentCachePeerResponseMultiError) Error ¶ added in v2.0.161
func (m AnnouncePersistentCachePeerResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AnnouncePersistentCachePeerResponseValidationError ¶ added in v2.0.161
type AnnouncePersistentCachePeerResponseValidationError struct {
// contains filtered or unexported fields
}
AnnouncePersistentCachePeerResponseValidationError is the validation error returned by AnnouncePersistentCachePeerResponse.Validate if the designated constraints aren't met.
func (AnnouncePersistentCachePeerResponseValidationError) Cause ¶ added in v2.0.161
func (e AnnouncePersistentCachePeerResponseValidationError) Cause() error
Cause function returns cause value.
func (AnnouncePersistentCachePeerResponseValidationError) Error ¶ added in v2.0.161
func (e AnnouncePersistentCachePeerResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AnnouncePersistentCachePeerResponseValidationError) ErrorName ¶ added in v2.0.161
func (e AnnouncePersistentCachePeerResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AnnouncePersistentCachePeerResponseValidationError) Field ¶ added in v2.0.161
func (e AnnouncePersistentCachePeerResponseValidationError) Field() string
Field function returns field value.
func (AnnouncePersistentCachePeerResponseValidationError) Key ¶ added in v2.0.161
func (e AnnouncePersistentCachePeerResponseValidationError) Key() bool
Key function returns key value.
func (AnnouncePersistentCachePeerResponseValidationError) Reason ¶ added in v2.0.161
func (e AnnouncePersistentCachePeerResponseValidationError) Reason() string
Reason function returns reason value.
type AnnouncePersistentCachePeerResponse_EmptyPersistentCacheTaskResponse ¶ added in v2.0.161
type AnnouncePersistentCachePeerResponse_EmptyPersistentCacheTaskResponse struct {
EmptyPersistentCacheTaskResponse *EmptyPersistentCacheTaskResponse `protobuf:"bytes,1,opt,name=empty_persistent_cache_task_response,json=emptyPersistentCacheTaskResponse,proto3,oneof"`
}
type AnnouncePersistentCachePeerResponse_NormalPersistentCacheTaskResponse ¶ added in v2.0.161
type AnnouncePersistentCachePeerResponse_NormalPersistentCacheTaskResponse struct {
NormalPersistentCacheTaskResponse *NormalPersistentCacheTaskResponse `protobuf:"bytes,2,opt,name=normal_persistent_cache_task_response,json=normalPersistentCacheTaskResponse,proto3,oneof"`
}
type AnnouncePersistentPeerRequest ¶ added in v2.1.86
type AnnouncePersistentPeerRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// Types that are assignable to Request:
//
// *AnnouncePersistentPeerRequest_RegisterPersistentPeerRequest
// *AnnouncePersistentPeerRequest_DownloadPersistentPeerStartedRequest
// *AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceStartedRequest
// *AnnouncePersistentPeerRequest_ReschedulePersistentPeerRequest
// *AnnouncePersistentPeerRequest_DownloadPersistentPeerFinishedRequest
// *AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceFinishedRequest
// *AnnouncePersistentPeerRequest_DownloadPersistentPeerFailedRequest
// *AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceFailedRequest
// *AnnouncePersistentPeerRequest_DownloadPieceFinishedRequest
// *AnnouncePersistentPeerRequest_DownloadPieceBackToSourceFinishedRequest
// *AnnouncePersistentPeerRequest_DownloadPieceFailedRequest
// *AnnouncePersistentPeerRequest_DownloadPieceBackToSourceFailedRequest
Request isAnnouncePersistentPeerRequest_Request `protobuf_oneof:"request"`
// contains filtered or unexported fields
}
AnnouncePersistentPeerRequest represents request of AnnouncePersistentPeer.
func (*AnnouncePersistentPeerRequest) Descriptor
deprecated
added in
v2.1.86
func (*AnnouncePersistentPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnnouncePersistentPeerRequest.ProtoReflect.Descriptor instead.
func (*AnnouncePersistentPeerRequest) GetDownloadPersistentPeerBackToSourceFailedRequest ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerBackToSourceFailedRequest() *DownloadPersistentPeerBackToSourceFailedRequest
func (*AnnouncePersistentPeerRequest) GetDownloadPersistentPeerBackToSourceFinishedRequest ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerBackToSourceFinishedRequest() *DownloadPersistentPeerBackToSourceFinishedRequest
func (*AnnouncePersistentPeerRequest) GetDownloadPersistentPeerBackToSourceStartedRequest ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerBackToSourceStartedRequest() *DownloadPersistentPeerBackToSourceStartedRequest
func (*AnnouncePersistentPeerRequest) GetDownloadPersistentPeerFailedRequest ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerFailedRequest() *DownloadPersistentPeerFailedRequest
func (*AnnouncePersistentPeerRequest) GetDownloadPersistentPeerFinishedRequest ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerFinishedRequest() *DownloadPersistentPeerFinishedRequest
func (*AnnouncePersistentPeerRequest) GetDownloadPersistentPeerStartedRequest ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) GetDownloadPersistentPeerStartedRequest() *DownloadPersistentPeerStartedRequest
func (*AnnouncePersistentPeerRequest) GetDownloadPieceBackToSourceFailedRequest ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) GetDownloadPieceBackToSourceFailedRequest() *DownloadPieceBackToSourceFailedRequest
func (*AnnouncePersistentPeerRequest) GetDownloadPieceBackToSourceFinishedRequest ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) GetDownloadPieceBackToSourceFinishedRequest() *DownloadPieceBackToSourceFinishedRequest
func (*AnnouncePersistentPeerRequest) GetDownloadPieceFailedRequest ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) GetDownloadPieceFailedRequest() *DownloadPieceFailedRequest
func (*AnnouncePersistentPeerRequest) GetDownloadPieceFinishedRequest ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) GetDownloadPieceFinishedRequest() *DownloadPieceFinishedRequest
func (*AnnouncePersistentPeerRequest) GetHostId ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) GetHostId() string
func (*AnnouncePersistentPeerRequest) GetPeerId ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) GetPeerId() string
func (*AnnouncePersistentPeerRequest) GetRegisterPersistentPeerRequest ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) GetRegisterPersistentPeerRequest() *RegisterPersistentPeerRequest
func (*AnnouncePersistentPeerRequest) GetRequest ¶ added in v2.1.86
func (m *AnnouncePersistentPeerRequest) GetRequest() isAnnouncePersistentPeerRequest_Request
func (*AnnouncePersistentPeerRequest) GetReschedulePersistentPeerRequest ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) GetReschedulePersistentPeerRequest() *ReschedulePersistentPeerRequest
func (*AnnouncePersistentPeerRequest) GetTaskId ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) GetTaskId() string
func (*AnnouncePersistentPeerRequest) ProtoMessage ¶ added in v2.1.86
func (*AnnouncePersistentPeerRequest) ProtoMessage()
func (*AnnouncePersistentPeerRequest) ProtoReflect ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) ProtoReflect() protoreflect.Message
func (*AnnouncePersistentPeerRequest) Reset ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) Reset()
func (*AnnouncePersistentPeerRequest) String ¶ added in v2.1.86
func (x *AnnouncePersistentPeerRequest) String() string
func (*AnnouncePersistentPeerRequest) Validate ¶ added in v2.1.86
func (m *AnnouncePersistentPeerRequest) Validate() error
Validate checks the field values on AnnouncePersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AnnouncePersistentPeerRequest) ValidateAll ¶ added in v2.1.86
func (m *AnnouncePersistentPeerRequest) ValidateAll() error
ValidateAll checks the field values on AnnouncePersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnouncePersistentPeerRequestMultiError, or nil if none found.
type AnnouncePersistentPeerRequestMultiError ¶ added in v2.1.86
type AnnouncePersistentPeerRequestMultiError []error
AnnouncePersistentPeerRequestMultiError is an error wrapping multiple validation errors returned by AnnouncePersistentPeerRequest.ValidateAll() if the designated constraints aren't met.
func (AnnouncePersistentPeerRequestMultiError) AllErrors ¶ added in v2.1.86
func (m AnnouncePersistentPeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AnnouncePersistentPeerRequestMultiError) Error ¶ added in v2.1.86
func (m AnnouncePersistentPeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AnnouncePersistentPeerRequestValidationError ¶ added in v2.1.86
type AnnouncePersistentPeerRequestValidationError struct {
// contains filtered or unexported fields
}
AnnouncePersistentPeerRequestValidationError is the validation error returned by AnnouncePersistentPeerRequest.Validate if the designated constraints aren't met.
func (AnnouncePersistentPeerRequestValidationError) Cause ¶ added in v2.1.86
func (e AnnouncePersistentPeerRequestValidationError) Cause() error
Cause function returns cause value.
func (AnnouncePersistentPeerRequestValidationError) Error ¶ added in v2.1.86
func (e AnnouncePersistentPeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AnnouncePersistentPeerRequestValidationError) ErrorName ¶ added in v2.1.86
func (e AnnouncePersistentPeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AnnouncePersistentPeerRequestValidationError) Field ¶ added in v2.1.86
func (e AnnouncePersistentPeerRequestValidationError) Field() string
Field function returns field value.
func (AnnouncePersistentPeerRequestValidationError) Key ¶ added in v2.1.86
func (e AnnouncePersistentPeerRequestValidationError) Key() bool
Key function returns key value.
func (AnnouncePersistentPeerRequestValidationError) Reason ¶ added in v2.1.86
func (e AnnouncePersistentPeerRequestValidationError) Reason() string
Reason function returns reason value.
type AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceFailedRequest ¶ added in v2.1.86
type AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceFailedRequest struct {
DownloadPersistentPeerBackToSourceFailedRequest *DownloadPersistentPeerBackToSourceFailedRequest `` /* 149-byte string literal not displayed */
}
type AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceFinishedRequest ¶ added in v2.1.86
type AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceFinishedRequest struct {
DownloadPersistentPeerBackToSourceFinishedRequest *DownloadPersistentPeerBackToSourceFinishedRequest `` /* 152-byte string literal not displayed */
}
type AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceStartedRequest ¶ added in v2.1.86
type AnnouncePersistentPeerRequest_DownloadPersistentPeerBackToSourceStartedRequest struct {
DownloadPersistentPeerBackToSourceStartedRequest *DownloadPersistentPeerBackToSourceStartedRequest `` /* 150-byte string literal not displayed */
}
type AnnouncePersistentPeerRequest_DownloadPersistentPeerFailedRequest ¶ added in v2.1.86
type AnnouncePersistentPeerRequest_DownloadPersistentPeerFailedRequest struct {
DownloadPersistentPeerFailedRequest *DownloadPersistentPeerFailedRequest `protobuf:"bytes,10,opt,name=download_persistent_peer_failed_request,json=downloadPersistentPeerFailedRequest,proto3,oneof"`
}
type AnnouncePersistentPeerRequest_DownloadPersistentPeerFinishedRequest ¶ added in v2.1.86
type AnnouncePersistentPeerRequest_DownloadPersistentPeerFinishedRequest struct {
DownloadPersistentPeerFinishedRequest *DownloadPersistentPeerFinishedRequest `protobuf:"bytes,8,opt,name=download_persistent_peer_finished_request,json=downloadPersistentPeerFinishedRequest,proto3,oneof"`
}
type AnnouncePersistentPeerRequest_DownloadPersistentPeerStartedRequest ¶ added in v2.1.86
type AnnouncePersistentPeerRequest_DownloadPersistentPeerStartedRequest struct {
DownloadPersistentPeerStartedRequest *DownloadPersistentPeerStartedRequest `protobuf:"bytes,5,opt,name=download_persistent_peer_started_request,json=downloadPersistentPeerStartedRequest,proto3,oneof"`
}
type AnnouncePersistentPeerRequest_DownloadPieceBackToSourceFailedRequest ¶ added in v2.1.86
type AnnouncePersistentPeerRequest_DownloadPieceBackToSourceFailedRequest struct {
DownloadPieceBackToSourceFailedRequest *DownloadPieceBackToSourceFailedRequest `` /* 130-byte string literal not displayed */
}
type AnnouncePersistentPeerRequest_DownloadPieceBackToSourceFinishedRequest ¶ added in v2.1.86
type AnnouncePersistentPeerRequest_DownloadPieceBackToSourceFinishedRequest struct {
DownloadPieceBackToSourceFinishedRequest *DownloadPieceBackToSourceFinishedRequest `` /* 134-byte string literal not displayed */
}
type AnnouncePersistentPeerRequest_DownloadPieceFailedRequest ¶ added in v2.1.86
type AnnouncePersistentPeerRequest_DownloadPieceFailedRequest struct {
DownloadPieceFailedRequest *DownloadPieceFailedRequest `protobuf:"bytes,14,opt,name=download_piece_failed_request,json=downloadPieceFailedRequest,proto3,oneof"`
}
type AnnouncePersistentPeerRequest_DownloadPieceFinishedRequest ¶ added in v2.1.86
type AnnouncePersistentPeerRequest_DownloadPieceFinishedRequest struct {
DownloadPieceFinishedRequest *DownloadPieceFinishedRequest `protobuf:"bytes,12,opt,name=download_piece_finished_request,json=downloadPieceFinishedRequest,proto3,oneof"`
}
type AnnouncePersistentPeerRequest_RegisterPersistentPeerRequest ¶ added in v2.1.86
type AnnouncePersistentPeerRequest_RegisterPersistentPeerRequest struct {
RegisterPersistentPeerRequest *RegisterPersistentPeerRequest `protobuf:"bytes,4,opt,name=register_persistent_peer_request,json=registerPersistentPeerRequest,proto3,oneof"`
}
type AnnouncePersistentPeerRequest_ReschedulePersistentPeerRequest ¶ added in v2.1.86
type AnnouncePersistentPeerRequest_ReschedulePersistentPeerRequest struct {
ReschedulePersistentPeerRequest *ReschedulePersistentPeerRequest `protobuf:"bytes,7,opt,name=reschedule_persistent_peer_request,json=reschedulePersistentPeerRequest,proto3,oneof"`
}
type AnnouncePersistentPeerResponse ¶ added in v2.1.86
type AnnouncePersistentPeerResponse struct {
// Types that are assignable to Response:
//
// *AnnouncePersistentPeerResponse_EmptyPersistentTaskResponse
// *AnnouncePersistentPeerResponse_NormalPersistentTaskResponse
// *AnnouncePersistentPeerResponse_NeedBackToSourceResponse
Response isAnnouncePersistentPeerResponse_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
AnnouncePersistentPeerResponse represents response of AnnouncePersistentPeer.
func (*AnnouncePersistentPeerResponse) Descriptor
deprecated
added in
v2.1.86
func (*AnnouncePersistentPeerResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnnouncePersistentPeerResponse.ProtoReflect.Descriptor instead.
func (*AnnouncePersistentPeerResponse) GetEmptyPersistentTaskResponse ¶ added in v2.1.86
func (x *AnnouncePersistentPeerResponse) GetEmptyPersistentTaskResponse() *EmptyPersistentTaskResponse
func (*AnnouncePersistentPeerResponse) GetNeedBackToSourceResponse ¶ added in v2.1.86
func (x *AnnouncePersistentPeerResponse) GetNeedBackToSourceResponse() *NeedBackToSourceResponse
func (*AnnouncePersistentPeerResponse) GetNormalPersistentTaskResponse ¶ added in v2.1.86
func (x *AnnouncePersistentPeerResponse) GetNormalPersistentTaskResponse() *NormalPersistentTaskResponse
func (*AnnouncePersistentPeerResponse) GetResponse ¶ added in v2.1.86
func (m *AnnouncePersistentPeerResponse) GetResponse() isAnnouncePersistentPeerResponse_Response
func (*AnnouncePersistentPeerResponse) ProtoMessage ¶ added in v2.1.86
func (*AnnouncePersistentPeerResponse) ProtoMessage()
func (*AnnouncePersistentPeerResponse) ProtoReflect ¶ added in v2.1.86
func (x *AnnouncePersistentPeerResponse) ProtoReflect() protoreflect.Message
func (*AnnouncePersistentPeerResponse) Reset ¶ added in v2.1.86
func (x *AnnouncePersistentPeerResponse) Reset()
func (*AnnouncePersistentPeerResponse) String ¶ added in v2.1.86
func (x *AnnouncePersistentPeerResponse) String() string
func (*AnnouncePersistentPeerResponse) Validate ¶ added in v2.1.86
func (m *AnnouncePersistentPeerResponse) Validate() error
Validate checks the field values on AnnouncePersistentPeerResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AnnouncePersistentPeerResponse) ValidateAll ¶ added in v2.1.86
func (m *AnnouncePersistentPeerResponse) ValidateAll() error
ValidateAll checks the field values on AnnouncePersistentPeerResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AnnouncePersistentPeerResponseMultiError, or nil if none found.
type AnnouncePersistentPeerResponseMultiError ¶ added in v2.1.86
type AnnouncePersistentPeerResponseMultiError []error
AnnouncePersistentPeerResponseMultiError is an error wrapping multiple validation errors returned by AnnouncePersistentPeerResponse.ValidateAll() if the designated constraints aren't met.
func (AnnouncePersistentPeerResponseMultiError) AllErrors ¶ added in v2.1.86
func (m AnnouncePersistentPeerResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AnnouncePersistentPeerResponseMultiError) Error ¶ added in v2.1.86
func (m AnnouncePersistentPeerResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AnnouncePersistentPeerResponseValidationError ¶ added in v2.1.86
type AnnouncePersistentPeerResponseValidationError struct {
// contains filtered or unexported fields
}
AnnouncePersistentPeerResponseValidationError is the validation error returned by AnnouncePersistentPeerResponse.Validate if the designated constraints aren't met.
func (AnnouncePersistentPeerResponseValidationError) Cause ¶ added in v2.1.86
func (e AnnouncePersistentPeerResponseValidationError) Cause() error
Cause function returns cause value.
func (AnnouncePersistentPeerResponseValidationError) Error ¶ added in v2.1.86
func (e AnnouncePersistentPeerResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AnnouncePersistentPeerResponseValidationError) ErrorName ¶ added in v2.1.86
func (e AnnouncePersistentPeerResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AnnouncePersistentPeerResponseValidationError) Field ¶ added in v2.1.86
func (e AnnouncePersistentPeerResponseValidationError) Field() string
Field function returns field value.
func (AnnouncePersistentPeerResponseValidationError) Key ¶ added in v2.1.86
func (e AnnouncePersistentPeerResponseValidationError) Key() bool
Key function returns key value.
func (AnnouncePersistentPeerResponseValidationError) Reason ¶ added in v2.1.86
func (e AnnouncePersistentPeerResponseValidationError) Reason() string
Reason function returns reason value.
type AnnouncePersistentPeerResponse_EmptyPersistentTaskResponse ¶ added in v2.1.86
type AnnouncePersistentPeerResponse_EmptyPersistentTaskResponse struct {
EmptyPersistentTaskResponse *EmptyPersistentTaskResponse `protobuf:"bytes,1,opt,name=empty_persistent_task_response,json=emptyPersistentTaskResponse,proto3,oneof"`
}
type AnnouncePersistentPeerResponse_NeedBackToSourceResponse ¶ added in v2.1.86
type AnnouncePersistentPeerResponse_NeedBackToSourceResponse struct {
NeedBackToSourceResponse *NeedBackToSourceResponse `protobuf:"bytes,3,opt,name=need_back_to_source_response,json=needBackToSourceResponse,proto3,oneof"`
}
type AnnouncePersistentPeerResponse_NormalPersistentTaskResponse ¶ added in v2.1.86
type AnnouncePersistentPeerResponse_NormalPersistentTaskResponse struct {
NormalPersistentTaskResponse *NormalPersistentTaskResponse `protobuf:"bytes,2,opt,name=normal_persistent_task_response,json=normalPersistentTaskResponse,proto3,oneof"`
}
type DeleteCachePeerRequest ¶ added in v2.0.121
type DeleteCachePeerRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// contains filtered or unexported fields
}
DeleteCachePeerRequest represents request of DeleteCachePeer.
func (*DeleteCachePeerRequest) Descriptor
deprecated
added in
v2.0.121
func (*DeleteCachePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCachePeerRequest.ProtoReflect.Descriptor instead.
func (*DeleteCachePeerRequest) GetHostId ¶ added in v2.0.121
func (x *DeleteCachePeerRequest) GetHostId() string
func (*DeleteCachePeerRequest) GetPeerId ¶ added in v2.0.121
func (x *DeleteCachePeerRequest) GetPeerId() string
func (*DeleteCachePeerRequest) GetTaskId ¶ added in v2.0.121
func (x *DeleteCachePeerRequest) GetTaskId() string
func (*DeleteCachePeerRequest) ProtoMessage ¶ added in v2.0.121
func (*DeleteCachePeerRequest) ProtoMessage()
func (*DeleteCachePeerRequest) ProtoReflect ¶ added in v2.0.121
func (x *DeleteCachePeerRequest) ProtoReflect() protoreflect.Message
func (*DeleteCachePeerRequest) Reset ¶ added in v2.0.121
func (x *DeleteCachePeerRequest) Reset()
func (*DeleteCachePeerRequest) String ¶ added in v2.0.121
func (x *DeleteCachePeerRequest) String() string
func (*DeleteCachePeerRequest) Validate ¶ added in v2.0.121
func (m *DeleteCachePeerRequest) Validate() error
Validate checks the field values on DeleteCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteCachePeerRequest) ValidateAll ¶ added in v2.0.121
func (m *DeleteCachePeerRequest) ValidateAll() error
ValidateAll checks the field values on DeleteCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteCachePeerRequestMultiError, or nil if none found.
type DeleteCachePeerRequestMultiError ¶ added in v2.0.121
type DeleteCachePeerRequestMultiError []error
DeleteCachePeerRequestMultiError is an error wrapping multiple validation errors returned by DeleteCachePeerRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteCachePeerRequestMultiError) AllErrors ¶ added in v2.0.121
func (m DeleteCachePeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteCachePeerRequestMultiError) Error ¶ added in v2.0.121
func (m DeleteCachePeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteCachePeerRequestValidationError ¶ added in v2.0.121
type DeleteCachePeerRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteCachePeerRequestValidationError is the validation error returned by DeleteCachePeerRequest.Validate if the designated constraints aren't met.
func (DeleteCachePeerRequestValidationError) Cause ¶ added in v2.0.121
func (e DeleteCachePeerRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteCachePeerRequestValidationError) Error ¶ added in v2.0.121
func (e DeleteCachePeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteCachePeerRequestValidationError) ErrorName ¶ added in v2.0.121
func (e DeleteCachePeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteCachePeerRequestValidationError) Field ¶ added in v2.0.121
func (e DeleteCachePeerRequestValidationError) Field() string
Field function returns field value.
func (DeleteCachePeerRequestValidationError) Key ¶ added in v2.0.121
func (e DeleteCachePeerRequestValidationError) Key() bool
Key function returns key value.
func (DeleteCachePeerRequestValidationError) Reason ¶ added in v2.0.121
func (e DeleteCachePeerRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteCacheTaskRequest ¶ added in v2.0.121
type DeleteCacheTaskRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// contains filtered or unexported fields
}
DeleteCacheTaskRequest represents request of DeleteCacheTask.
func (*DeleteCacheTaskRequest) Descriptor
deprecated
added in
v2.0.121
func (*DeleteCacheTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCacheTaskRequest.ProtoReflect.Descriptor instead.
func (*DeleteCacheTaskRequest) GetHostId ¶ added in v2.0.121
func (x *DeleteCacheTaskRequest) GetHostId() string
func (*DeleteCacheTaskRequest) GetTaskId ¶ added in v2.0.121
func (x *DeleteCacheTaskRequest) GetTaskId() string
func (*DeleteCacheTaskRequest) ProtoMessage ¶ added in v2.0.121
func (*DeleteCacheTaskRequest) ProtoMessage()
func (*DeleteCacheTaskRequest) ProtoReflect ¶ added in v2.0.121
func (x *DeleteCacheTaskRequest) ProtoReflect() protoreflect.Message
func (*DeleteCacheTaskRequest) Reset ¶ added in v2.0.121
func (x *DeleteCacheTaskRequest) Reset()
func (*DeleteCacheTaskRequest) String ¶ added in v2.0.121
func (x *DeleteCacheTaskRequest) String() string
func (*DeleteCacheTaskRequest) Validate ¶ added in v2.0.121
func (m *DeleteCacheTaskRequest) Validate() error
Validate checks the field values on DeleteCacheTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteCacheTaskRequest) ValidateAll ¶ added in v2.0.121
func (m *DeleteCacheTaskRequest) ValidateAll() error
ValidateAll checks the field values on DeleteCacheTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteCacheTaskRequestMultiError, or nil if none found.
type DeleteCacheTaskRequestMultiError ¶ added in v2.0.121
type DeleteCacheTaskRequestMultiError []error
DeleteCacheTaskRequestMultiError is an error wrapping multiple validation errors returned by DeleteCacheTaskRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteCacheTaskRequestMultiError) AllErrors ¶ added in v2.0.121
func (m DeleteCacheTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteCacheTaskRequestMultiError) Error ¶ added in v2.0.121
func (m DeleteCacheTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteCacheTaskRequestValidationError ¶ added in v2.0.121
type DeleteCacheTaskRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteCacheTaskRequestValidationError is the validation error returned by DeleteCacheTaskRequest.Validate if the designated constraints aren't met.
func (DeleteCacheTaskRequestValidationError) Cause ¶ added in v2.0.121
func (e DeleteCacheTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteCacheTaskRequestValidationError) Error ¶ added in v2.0.121
func (e DeleteCacheTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteCacheTaskRequestValidationError) ErrorName ¶ added in v2.0.121
func (e DeleteCacheTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteCacheTaskRequestValidationError) Field ¶ added in v2.0.121
func (e DeleteCacheTaskRequestValidationError) Field() string
Field function returns field value.
func (DeleteCacheTaskRequestValidationError) Key ¶ added in v2.0.121
func (e DeleteCacheTaskRequestValidationError) Key() bool
Key function returns key value.
func (DeleteCacheTaskRequestValidationError) Reason ¶ added in v2.0.121
func (e DeleteCacheTaskRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteHostRequest ¶ added in v2.0.118
type DeleteHostRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// contains filtered or unexported fields
}
DeleteHostRequest represents request of DeleteHost.
func (*DeleteHostRequest) Descriptor
deprecated
added in
v2.0.118
func (*DeleteHostRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteHostRequest.ProtoReflect.Descriptor instead.
func (*DeleteHostRequest) GetHostId ¶ added in v2.0.121
func (x *DeleteHostRequest) GetHostId() string
func (*DeleteHostRequest) ProtoMessage ¶ added in v2.0.118
func (*DeleteHostRequest) ProtoMessage()
func (*DeleteHostRequest) ProtoReflect ¶ added in v2.0.118
func (x *DeleteHostRequest) ProtoReflect() protoreflect.Message
func (*DeleteHostRequest) Reset ¶ added in v2.0.118
func (x *DeleteHostRequest) Reset()
func (*DeleteHostRequest) String ¶ added in v2.0.118
func (x *DeleteHostRequest) String() string
func (*DeleteHostRequest) Validate ¶ added in v2.0.118
func (m *DeleteHostRequest) Validate() error
Validate checks the field values on DeleteHostRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteHostRequest) ValidateAll ¶ added in v2.0.118
func (m *DeleteHostRequest) ValidateAll() error
ValidateAll checks the field values on DeleteHostRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteHostRequestMultiError, or nil if none found.
type DeleteHostRequestMultiError ¶ added in v2.0.118
type DeleteHostRequestMultiError []error
DeleteHostRequestMultiError is an error wrapping multiple validation errors returned by DeleteHostRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteHostRequestMultiError) AllErrors ¶ added in v2.0.118
func (m DeleteHostRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteHostRequestMultiError) Error ¶ added in v2.0.118
func (m DeleteHostRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteHostRequestValidationError ¶ added in v2.0.118
type DeleteHostRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteHostRequestValidationError is the validation error returned by DeleteHostRequest.Validate if the designated constraints aren't met.
func (DeleteHostRequestValidationError) Cause ¶ added in v2.0.118
func (e DeleteHostRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteHostRequestValidationError) Error ¶ added in v2.0.118
func (e DeleteHostRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteHostRequestValidationError) ErrorName ¶ added in v2.0.118
func (e DeleteHostRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteHostRequestValidationError) Field ¶ added in v2.0.118
func (e DeleteHostRequestValidationError) Field() string
Field function returns field value.
func (DeleteHostRequestValidationError) Key ¶ added in v2.0.118
func (e DeleteHostRequestValidationError) Key() bool
Key function returns key value.
func (DeleteHostRequestValidationError) Reason ¶ added in v2.0.118
func (e DeleteHostRequestValidationError) Reason() string
Reason function returns reason value.
type DeletePeerRequest ¶ added in v2.0.118
type DeletePeerRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// contains filtered or unexported fields
}
DeletePeerRequest represents request of DeletePeer.
func (*DeletePeerRequest) Descriptor
deprecated
added in
v2.0.118
func (*DeletePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePeerRequest.ProtoReflect.Descriptor instead.
func (*DeletePeerRequest) GetHostId ¶ added in v2.0.118
func (x *DeletePeerRequest) GetHostId() string
func (*DeletePeerRequest) GetPeerId ¶ added in v2.0.118
func (x *DeletePeerRequest) GetPeerId() string
func (*DeletePeerRequest) GetTaskId ¶ added in v2.0.118
func (x *DeletePeerRequest) GetTaskId() string
func (*DeletePeerRequest) ProtoMessage ¶ added in v2.0.118
func (*DeletePeerRequest) ProtoMessage()
func (*DeletePeerRequest) ProtoReflect ¶ added in v2.0.118
func (x *DeletePeerRequest) ProtoReflect() protoreflect.Message
func (*DeletePeerRequest) Reset ¶ added in v2.0.118
func (x *DeletePeerRequest) Reset()
func (*DeletePeerRequest) String ¶ added in v2.0.118
func (x *DeletePeerRequest) String() string
func (*DeletePeerRequest) Validate ¶ added in v2.0.118
func (m *DeletePeerRequest) Validate() error
Validate checks the field values on DeletePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeletePeerRequest) ValidateAll ¶ added in v2.0.118
func (m *DeletePeerRequest) ValidateAll() error
ValidateAll checks the field values on DeletePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePeerRequestMultiError, or nil if none found.
type DeletePeerRequestMultiError ¶ added in v2.0.118
type DeletePeerRequestMultiError []error
DeletePeerRequestMultiError is an error wrapping multiple validation errors returned by DeletePeerRequest.ValidateAll() if the designated constraints aren't met.
func (DeletePeerRequestMultiError) AllErrors ¶ added in v2.0.118
func (m DeletePeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeletePeerRequestMultiError) Error ¶ added in v2.0.118
func (m DeletePeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeletePeerRequestValidationError ¶ added in v2.0.118
type DeletePeerRequestValidationError struct {
// contains filtered or unexported fields
}
DeletePeerRequestValidationError is the validation error returned by DeletePeerRequest.Validate if the designated constraints aren't met.
func (DeletePeerRequestValidationError) Cause ¶ added in v2.0.118
func (e DeletePeerRequestValidationError) Cause() error
Cause function returns cause value.
func (DeletePeerRequestValidationError) Error ¶ added in v2.0.118
func (e DeletePeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePeerRequestValidationError) ErrorName ¶ added in v2.0.118
func (e DeletePeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePeerRequestValidationError) Field ¶ added in v2.0.118
func (e DeletePeerRequestValidationError) Field() string
Field function returns field value.
func (DeletePeerRequestValidationError) Key ¶ added in v2.0.118
func (e DeletePeerRequestValidationError) Key() bool
Key function returns key value.
func (DeletePeerRequestValidationError) Reason ¶ added in v2.0.118
func (e DeletePeerRequestValidationError) Reason() string
Reason function returns reason value.
type DeletePersistentCachePeerRequest ¶ added in v2.0.161
type DeletePersistentCachePeerRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// contains filtered or unexported fields
}
DeletePersistentCachePeerRequest represents request of DeletePersistentCachePeer.
func (*DeletePersistentCachePeerRequest) Descriptor
deprecated
added in
v2.0.161
func (*DeletePersistentCachePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePersistentCachePeerRequest.ProtoReflect.Descriptor instead.
func (*DeletePersistentCachePeerRequest) GetHostId ¶ added in v2.0.161
func (x *DeletePersistentCachePeerRequest) GetHostId() string
func (*DeletePersistentCachePeerRequest) GetPeerId ¶ added in v2.0.161
func (x *DeletePersistentCachePeerRequest) GetPeerId() string
func (*DeletePersistentCachePeerRequest) GetTaskId ¶ added in v2.0.161
func (x *DeletePersistentCachePeerRequest) GetTaskId() string
func (*DeletePersistentCachePeerRequest) ProtoMessage ¶ added in v2.0.161
func (*DeletePersistentCachePeerRequest) ProtoMessage()
func (*DeletePersistentCachePeerRequest) ProtoReflect ¶ added in v2.0.161
func (x *DeletePersistentCachePeerRequest) ProtoReflect() protoreflect.Message
func (*DeletePersistentCachePeerRequest) Reset ¶ added in v2.0.161
func (x *DeletePersistentCachePeerRequest) Reset()
func (*DeletePersistentCachePeerRequest) String ¶ added in v2.0.161
func (x *DeletePersistentCachePeerRequest) String() string
func (*DeletePersistentCachePeerRequest) Validate ¶ added in v2.0.161
func (m *DeletePersistentCachePeerRequest) Validate() error
Validate checks the field values on DeletePersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeletePersistentCachePeerRequest) ValidateAll ¶ added in v2.0.161
func (m *DeletePersistentCachePeerRequest) ValidateAll() error
ValidateAll checks the field values on DeletePersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePersistentCachePeerRequestMultiError, or nil if none found.
type DeletePersistentCachePeerRequestMultiError ¶ added in v2.0.161
type DeletePersistentCachePeerRequestMultiError []error
DeletePersistentCachePeerRequestMultiError is an error wrapping multiple validation errors returned by DeletePersistentCachePeerRequest.ValidateAll() if the designated constraints aren't met.
func (DeletePersistentCachePeerRequestMultiError) AllErrors ¶ added in v2.0.161
func (m DeletePersistentCachePeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeletePersistentCachePeerRequestMultiError) Error ¶ added in v2.0.161
func (m DeletePersistentCachePeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeletePersistentCachePeerRequestValidationError ¶ added in v2.0.161
type DeletePersistentCachePeerRequestValidationError struct {
// contains filtered or unexported fields
}
DeletePersistentCachePeerRequestValidationError is the validation error returned by DeletePersistentCachePeerRequest.Validate if the designated constraints aren't met.
func (DeletePersistentCachePeerRequestValidationError) Cause ¶ added in v2.0.161
func (e DeletePersistentCachePeerRequestValidationError) Cause() error
Cause function returns cause value.
func (DeletePersistentCachePeerRequestValidationError) Error ¶ added in v2.0.161
func (e DeletePersistentCachePeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePersistentCachePeerRequestValidationError) ErrorName ¶ added in v2.0.161
func (e DeletePersistentCachePeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePersistentCachePeerRequestValidationError) Field ¶ added in v2.0.161
func (e DeletePersistentCachePeerRequestValidationError) Field() string
Field function returns field value.
func (DeletePersistentCachePeerRequestValidationError) Key ¶ added in v2.0.161
func (e DeletePersistentCachePeerRequestValidationError) Key() bool
Key function returns key value.
func (DeletePersistentCachePeerRequestValidationError) Reason ¶ added in v2.0.161
func (e DeletePersistentCachePeerRequestValidationError) Reason() string
Reason function returns reason value.
type DeletePersistentCacheTaskRequest ¶ added in v2.0.161
type DeletePersistentCacheTaskRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// contains filtered or unexported fields
}
DeletePersistentCacheTaskRequest represents request of DeletePersistentCacheTask.
func (*DeletePersistentCacheTaskRequest) Descriptor
deprecated
added in
v2.0.161
func (*DeletePersistentCacheTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePersistentCacheTaskRequest.ProtoReflect.Descriptor instead.
func (*DeletePersistentCacheTaskRequest) GetHostId ¶ added in v2.0.161
func (x *DeletePersistentCacheTaskRequest) GetHostId() string
func (*DeletePersistentCacheTaskRequest) GetTaskId ¶ added in v2.0.161
func (x *DeletePersistentCacheTaskRequest) GetTaskId() string
func (*DeletePersistentCacheTaskRequest) ProtoMessage ¶ added in v2.0.161
func (*DeletePersistentCacheTaskRequest) ProtoMessage()
func (*DeletePersistentCacheTaskRequest) ProtoReflect ¶ added in v2.0.161
func (x *DeletePersistentCacheTaskRequest) ProtoReflect() protoreflect.Message
func (*DeletePersistentCacheTaskRequest) Reset ¶ added in v2.0.161
func (x *DeletePersistentCacheTaskRequest) Reset()
func (*DeletePersistentCacheTaskRequest) String ¶ added in v2.0.161
func (x *DeletePersistentCacheTaskRequest) String() string
func (*DeletePersistentCacheTaskRequest) Validate ¶ added in v2.0.161
func (m *DeletePersistentCacheTaskRequest) Validate() error
Validate checks the field values on DeletePersistentCacheTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeletePersistentCacheTaskRequest) ValidateAll ¶ added in v2.0.161
func (m *DeletePersistentCacheTaskRequest) ValidateAll() error
ValidateAll checks the field values on DeletePersistentCacheTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePersistentCacheTaskRequestMultiError, or nil if none found.
type DeletePersistentCacheTaskRequestMultiError ¶ added in v2.0.161
type DeletePersistentCacheTaskRequestMultiError []error
DeletePersistentCacheTaskRequestMultiError is an error wrapping multiple validation errors returned by DeletePersistentCacheTaskRequest.ValidateAll() if the designated constraints aren't met.
func (DeletePersistentCacheTaskRequestMultiError) AllErrors ¶ added in v2.0.161
func (m DeletePersistentCacheTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeletePersistentCacheTaskRequestMultiError) Error ¶ added in v2.0.161
func (m DeletePersistentCacheTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeletePersistentCacheTaskRequestValidationError ¶ added in v2.0.161
type DeletePersistentCacheTaskRequestValidationError struct {
// contains filtered or unexported fields
}
DeletePersistentCacheTaskRequestValidationError is the validation error returned by DeletePersistentCacheTaskRequest.Validate if the designated constraints aren't met.
func (DeletePersistentCacheTaskRequestValidationError) Cause ¶ added in v2.0.161
func (e DeletePersistentCacheTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (DeletePersistentCacheTaskRequestValidationError) Error ¶ added in v2.0.161
func (e DeletePersistentCacheTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePersistentCacheTaskRequestValidationError) ErrorName ¶ added in v2.0.161
func (e DeletePersistentCacheTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePersistentCacheTaskRequestValidationError) Field ¶ added in v2.0.161
func (e DeletePersistentCacheTaskRequestValidationError) Field() string
Field function returns field value.
func (DeletePersistentCacheTaskRequestValidationError) Key ¶ added in v2.0.161
func (e DeletePersistentCacheTaskRequestValidationError) Key() bool
Key function returns key value.
func (DeletePersistentCacheTaskRequestValidationError) Reason ¶ added in v2.0.161
func (e DeletePersistentCacheTaskRequestValidationError) Reason() string
Reason function returns reason value.
type DeletePersistentPeerRequest ¶ added in v2.1.86
type DeletePersistentPeerRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// contains filtered or unexported fields
}
DeletePersistentPeerRequest represents request of DeletePersistentPeer.
func (*DeletePersistentPeerRequest) Descriptor
deprecated
added in
v2.1.86
func (*DeletePersistentPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePersistentPeerRequest.ProtoReflect.Descriptor instead.
func (*DeletePersistentPeerRequest) GetHostId ¶ added in v2.1.86
func (x *DeletePersistentPeerRequest) GetHostId() string
func (*DeletePersistentPeerRequest) GetPeerId ¶ added in v2.1.86
func (x *DeletePersistentPeerRequest) GetPeerId() string
func (*DeletePersistentPeerRequest) GetTaskId ¶ added in v2.1.86
func (x *DeletePersistentPeerRequest) GetTaskId() string
func (*DeletePersistentPeerRequest) ProtoMessage ¶ added in v2.1.86
func (*DeletePersistentPeerRequest) ProtoMessage()
func (*DeletePersistentPeerRequest) ProtoReflect ¶ added in v2.1.86
func (x *DeletePersistentPeerRequest) ProtoReflect() protoreflect.Message
func (*DeletePersistentPeerRequest) Reset ¶ added in v2.1.86
func (x *DeletePersistentPeerRequest) Reset()
func (*DeletePersistentPeerRequest) String ¶ added in v2.1.86
func (x *DeletePersistentPeerRequest) String() string
func (*DeletePersistentPeerRequest) Validate ¶ added in v2.1.86
func (m *DeletePersistentPeerRequest) Validate() error
Validate checks the field values on DeletePersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeletePersistentPeerRequest) ValidateAll ¶ added in v2.1.86
func (m *DeletePersistentPeerRequest) ValidateAll() error
ValidateAll checks the field values on DeletePersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePersistentPeerRequestMultiError, or nil if none found.
type DeletePersistentPeerRequestMultiError ¶ added in v2.1.86
type DeletePersistentPeerRequestMultiError []error
DeletePersistentPeerRequestMultiError is an error wrapping multiple validation errors returned by DeletePersistentPeerRequest.ValidateAll() if the designated constraints aren't met.
func (DeletePersistentPeerRequestMultiError) AllErrors ¶ added in v2.1.86
func (m DeletePersistentPeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeletePersistentPeerRequestMultiError) Error ¶ added in v2.1.86
func (m DeletePersistentPeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeletePersistentPeerRequestValidationError ¶ added in v2.1.86
type DeletePersistentPeerRequestValidationError struct {
// contains filtered or unexported fields
}
DeletePersistentPeerRequestValidationError is the validation error returned by DeletePersistentPeerRequest.Validate if the designated constraints aren't met.
func (DeletePersistentPeerRequestValidationError) Cause ¶ added in v2.1.86
func (e DeletePersistentPeerRequestValidationError) Cause() error
Cause function returns cause value.
func (DeletePersistentPeerRequestValidationError) Error ¶ added in v2.1.86
func (e DeletePersistentPeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePersistentPeerRequestValidationError) ErrorName ¶ added in v2.1.86
func (e DeletePersistentPeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePersistentPeerRequestValidationError) Field ¶ added in v2.1.86
func (e DeletePersistentPeerRequestValidationError) Field() string
Field function returns field value.
func (DeletePersistentPeerRequestValidationError) Key ¶ added in v2.1.86
func (e DeletePersistentPeerRequestValidationError) Key() bool
Key function returns key value.
func (DeletePersistentPeerRequestValidationError) Reason ¶ added in v2.1.86
func (e DeletePersistentPeerRequestValidationError) Reason() string
Reason function returns reason value.
type DeletePersistentTaskRequest ¶ added in v2.1.86
type DeletePersistentTaskRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// contains filtered or unexported fields
}
DeletePersistentTaskRequest represents request of DeletePersistentTask.
func (*DeletePersistentTaskRequest) Descriptor
deprecated
added in
v2.1.86
func (*DeletePersistentTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePersistentTaskRequest.ProtoReflect.Descriptor instead.
func (*DeletePersistentTaskRequest) GetHostId ¶ added in v2.1.86
func (x *DeletePersistentTaskRequest) GetHostId() string
func (*DeletePersistentTaskRequest) GetTaskId ¶ added in v2.1.86
func (x *DeletePersistentTaskRequest) GetTaskId() string
func (*DeletePersistentTaskRequest) ProtoMessage ¶ added in v2.1.86
func (*DeletePersistentTaskRequest) ProtoMessage()
func (*DeletePersistentTaskRequest) ProtoReflect ¶ added in v2.1.86
func (x *DeletePersistentTaskRequest) ProtoReflect() protoreflect.Message
func (*DeletePersistentTaskRequest) Reset ¶ added in v2.1.86
func (x *DeletePersistentTaskRequest) Reset()
func (*DeletePersistentTaskRequest) String ¶ added in v2.1.86
func (x *DeletePersistentTaskRequest) String() string
func (*DeletePersistentTaskRequest) Validate ¶ added in v2.1.86
func (m *DeletePersistentTaskRequest) Validate() error
Validate checks the field values on DeletePersistentTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeletePersistentTaskRequest) ValidateAll ¶ added in v2.1.86
func (m *DeletePersistentTaskRequest) ValidateAll() error
ValidateAll checks the field values on DeletePersistentTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePersistentTaskRequestMultiError, or nil if none found.
type DeletePersistentTaskRequestMultiError ¶ added in v2.1.86
type DeletePersistentTaskRequestMultiError []error
DeletePersistentTaskRequestMultiError is an error wrapping multiple validation errors returned by DeletePersistentTaskRequest.ValidateAll() if the designated constraints aren't met.
func (DeletePersistentTaskRequestMultiError) AllErrors ¶ added in v2.1.86
func (m DeletePersistentTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeletePersistentTaskRequestMultiError) Error ¶ added in v2.1.86
func (m DeletePersistentTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeletePersistentTaskRequestValidationError ¶ added in v2.1.86
type DeletePersistentTaskRequestValidationError struct {
// contains filtered or unexported fields
}
DeletePersistentTaskRequestValidationError is the validation error returned by DeletePersistentTaskRequest.Validate if the designated constraints aren't met.
func (DeletePersistentTaskRequestValidationError) Cause ¶ added in v2.1.86
func (e DeletePersistentTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (DeletePersistentTaskRequestValidationError) Error ¶ added in v2.1.86
func (e DeletePersistentTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePersistentTaskRequestValidationError) ErrorName ¶ added in v2.1.86
func (e DeletePersistentTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePersistentTaskRequestValidationError) Field ¶ added in v2.1.86
func (e DeletePersistentTaskRequestValidationError) Field() string
Field function returns field value.
func (DeletePersistentTaskRequestValidationError) Key ¶ added in v2.1.86
func (e DeletePersistentTaskRequestValidationError) Key() bool
Key function returns key value.
func (DeletePersistentTaskRequestValidationError) Reason ¶ added in v2.1.86
func (e DeletePersistentTaskRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteTaskRequest ¶ added in v2.0.118
type DeleteTaskRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// contains filtered or unexported fields
}
DeleteTaskRequest represents request of DeleteTask.
func (*DeleteTaskRequest) Descriptor
deprecated
added in
v2.0.118
func (*DeleteTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTaskRequest.ProtoReflect.Descriptor instead.
func (*DeleteTaskRequest) GetHostId ¶ added in v2.0.118
func (x *DeleteTaskRequest) GetHostId() string
func (*DeleteTaskRequest) GetTaskId ¶ added in v2.0.118
func (x *DeleteTaskRequest) GetTaskId() string
func (*DeleteTaskRequest) ProtoMessage ¶ added in v2.0.118
func (*DeleteTaskRequest) ProtoMessage()
func (*DeleteTaskRequest) ProtoReflect ¶ added in v2.0.118
func (x *DeleteTaskRequest) ProtoReflect() protoreflect.Message
func (*DeleteTaskRequest) Reset ¶ added in v2.0.118
func (x *DeleteTaskRequest) Reset()
func (*DeleteTaskRequest) String ¶ added in v2.0.118
func (x *DeleteTaskRequest) String() string
func (*DeleteTaskRequest) Validate ¶ added in v2.0.118
func (m *DeleteTaskRequest) Validate() error
Validate checks the field values on DeleteTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteTaskRequest) ValidateAll ¶ added in v2.0.118
func (m *DeleteTaskRequest) ValidateAll() error
ValidateAll checks the field values on DeleteTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTaskRequestMultiError, or nil if none found.
type DeleteTaskRequestMultiError ¶ added in v2.0.118
type DeleteTaskRequestMultiError []error
DeleteTaskRequestMultiError is an error wrapping multiple validation errors returned by DeleteTaskRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteTaskRequestMultiError) AllErrors ¶ added in v2.0.118
func (m DeleteTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTaskRequestMultiError) Error ¶ added in v2.0.118
func (m DeleteTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTaskRequestValidationError ¶ added in v2.0.118
type DeleteTaskRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteTaskRequestValidationError is the validation error returned by DeleteTaskRequest.Validate if the designated constraints aren't met.
func (DeleteTaskRequestValidationError) Cause ¶ added in v2.0.118
func (e DeleteTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteTaskRequestValidationError) Error ¶ added in v2.0.118
func (e DeleteTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTaskRequestValidationError) ErrorName ¶ added in v2.0.118
func (e DeleteTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTaskRequestValidationError) Field ¶ added in v2.0.118
func (e DeleteTaskRequestValidationError) Field() string
Field function returns field value.
func (DeleteTaskRequestValidationError) Key ¶ added in v2.0.118
func (e DeleteTaskRequestValidationError) Key() bool
Key function returns key value.
func (DeleteTaskRequestValidationError) Reason ¶ added in v2.0.118
func (e DeleteTaskRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadCachePeerBackToSourceFailedRequest ¶ added in v2.1.50
type DownloadCachePeerBackToSourceFailedRequest struct {
// The description of the download back-to-source failed.
Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
DownloadCachePeerBackToSourceFailedRequest represents cache peer download back-to-source failed request of AnnounceCachePeerRequest.
func (*DownloadCachePeerBackToSourceFailedRequest) Descriptor
deprecated
added in
v2.1.50
func (*DownloadCachePeerBackToSourceFailedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadCachePeerBackToSourceFailedRequest.ProtoReflect.Descriptor instead.
func (*DownloadCachePeerBackToSourceFailedRequest) GetDescription ¶ added in v2.1.50
func (x *DownloadCachePeerBackToSourceFailedRequest) GetDescription() string
func (*DownloadCachePeerBackToSourceFailedRequest) ProtoMessage ¶ added in v2.1.50
func (*DownloadCachePeerBackToSourceFailedRequest) ProtoMessage()
func (*DownloadCachePeerBackToSourceFailedRequest) ProtoReflect ¶ added in v2.1.50
func (x *DownloadCachePeerBackToSourceFailedRequest) ProtoReflect() protoreflect.Message
func (*DownloadCachePeerBackToSourceFailedRequest) Reset ¶ added in v2.1.50
func (x *DownloadCachePeerBackToSourceFailedRequest) Reset()
func (*DownloadCachePeerBackToSourceFailedRequest) String ¶ added in v2.1.50
func (x *DownloadCachePeerBackToSourceFailedRequest) String() string
func (*DownloadCachePeerBackToSourceFailedRequest) Validate ¶ added in v2.1.50
func (m *DownloadCachePeerBackToSourceFailedRequest) Validate() error
Validate checks the field values on DownloadCachePeerBackToSourceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadCachePeerBackToSourceFailedRequest) ValidateAll ¶ added in v2.1.50
func (m *DownloadCachePeerBackToSourceFailedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadCachePeerBackToSourceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadCachePeerBackToSourceFailedRequestMultiError, or nil if none found.
type DownloadCachePeerBackToSourceFailedRequestMultiError ¶ added in v2.1.50
type DownloadCachePeerBackToSourceFailedRequestMultiError []error
DownloadCachePeerBackToSourceFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadCachePeerBackToSourceFailedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadCachePeerBackToSourceFailedRequestMultiError) AllErrors ¶ added in v2.1.50
func (m DownloadCachePeerBackToSourceFailedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadCachePeerBackToSourceFailedRequestMultiError) Error ¶ added in v2.1.50
func (m DownloadCachePeerBackToSourceFailedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadCachePeerBackToSourceFailedRequestValidationError ¶ added in v2.1.50
type DownloadCachePeerBackToSourceFailedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadCachePeerBackToSourceFailedRequestValidationError is the validation error returned by DownloadCachePeerBackToSourceFailedRequest.Validate if the designated constraints aren't met.
func (DownloadCachePeerBackToSourceFailedRequestValidationError) Cause ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceFailedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadCachePeerBackToSourceFailedRequestValidationError) Error ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceFailedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadCachePeerBackToSourceFailedRequestValidationError) ErrorName ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceFailedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadCachePeerBackToSourceFailedRequestValidationError) Field ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceFailedRequestValidationError) Field() string
Field function returns field value.
func (DownloadCachePeerBackToSourceFailedRequestValidationError) Key ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceFailedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadCachePeerBackToSourceFailedRequestValidationError) Reason ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceFailedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadCachePeerBackToSourceFinishedRequest ¶ added in v2.1.50
type DownloadCachePeerBackToSourceFinishedRequest struct {
// contains filtered or unexported fields
}
DownloadCachePeerBackToSourceFinishedRequest represents cache peer download back-to-source finished request of AnnounceCachePeerRequest.
func (*DownloadCachePeerBackToSourceFinishedRequest) Descriptor
deprecated
added in
v2.1.50
func (*DownloadCachePeerBackToSourceFinishedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadCachePeerBackToSourceFinishedRequest.ProtoReflect.Descriptor instead.
func (*DownloadCachePeerBackToSourceFinishedRequest) ProtoMessage ¶ added in v2.1.50
func (*DownloadCachePeerBackToSourceFinishedRequest) ProtoMessage()
func (*DownloadCachePeerBackToSourceFinishedRequest) ProtoReflect ¶ added in v2.1.50
func (x *DownloadCachePeerBackToSourceFinishedRequest) ProtoReflect() protoreflect.Message
func (*DownloadCachePeerBackToSourceFinishedRequest) Reset ¶ added in v2.1.50
func (x *DownloadCachePeerBackToSourceFinishedRequest) Reset()
func (*DownloadCachePeerBackToSourceFinishedRequest) String ¶ added in v2.1.50
func (x *DownloadCachePeerBackToSourceFinishedRequest) String() string
func (*DownloadCachePeerBackToSourceFinishedRequest) Validate ¶ added in v2.1.50
func (m *DownloadCachePeerBackToSourceFinishedRequest) Validate() error
Validate checks the field values on DownloadCachePeerBackToSourceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadCachePeerBackToSourceFinishedRequest) ValidateAll ¶ added in v2.1.50
func (m *DownloadCachePeerBackToSourceFinishedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadCachePeerBackToSourceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadCachePeerBackToSourceFinishedRequestMultiError, or nil if none found.
type DownloadCachePeerBackToSourceFinishedRequestMultiError ¶ added in v2.1.50
type DownloadCachePeerBackToSourceFinishedRequestMultiError []error
DownloadCachePeerBackToSourceFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadCachePeerBackToSourceFinishedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadCachePeerBackToSourceFinishedRequestMultiError) AllErrors ¶ added in v2.1.50
func (m DownloadCachePeerBackToSourceFinishedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadCachePeerBackToSourceFinishedRequestMultiError) Error ¶ added in v2.1.50
func (m DownloadCachePeerBackToSourceFinishedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadCachePeerBackToSourceFinishedRequestValidationError ¶ added in v2.1.50
type DownloadCachePeerBackToSourceFinishedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadCachePeerBackToSourceFinishedRequestValidationError is the validation error returned by DownloadCachePeerBackToSourceFinishedRequest.Validate if the designated constraints aren't met.
func (DownloadCachePeerBackToSourceFinishedRequestValidationError) Cause ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceFinishedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadCachePeerBackToSourceFinishedRequestValidationError) Error ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceFinishedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadCachePeerBackToSourceFinishedRequestValidationError) ErrorName ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceFinishedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadCachePeerBackToSourceFinishedRequestValidationError) Field ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceFinishedRequestValidationError) Field() string
Field function returns field value.
func (DownloadCachePeerBackToSourceFinishedRequestValidationError) Key ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceFinishedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadCachePeerBackToSourceFinishedRequestValidationError) Reason ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceFinishedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadCachePeerBackToSourceStartedRequest ¶ added in v2.1.50
type DownloadCachePeerBackToSourceStartedRequest struct {
// The description of the back-to-source reason.
Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
DownloadCachePeerBackToSourceStartedRequest represents cache peer download back-to-source started request of AnnounceCachePeerRequest.
func (*DownloadCachePeerBackToSourceStartedRequest) Descriptor
deprecated
added in
v2.1.50
func (*DownloadCachePeerBackToSourceStartedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadCachePeerBackToSourceStartedRequest.ProtoReflect.Descriptor instead.
func (*DownloadCachePeerBackToSourceStartedRequest) GetDescription ¶ added in v2.1.50
func (x *DownloadCachePeerBackToSourceStartedRequest) GetDescription() string
func (*DownloadCachePeerBackToSourceStartedRequest) ProtoMessage ¶ added in v2.1.50
func (*DownloadCachePeerBackToSourceStartedRequest) ProtoMessage()
func (*DownloadCachePeerBackToSourceStartedRequest) ProtoReflect ¶ added in v2.1.50
func (x *DownloadCachePeerBackToSourceStartedRequest) ProtoReflect() protoreflect.Message
func (*DownloadCachePeerBackToSourceStartedRequest) Reset ¶ added in v2.1.50
func (x *DownloadCachePeerBackToSourceStartedRequest) Reset()
func (*DownloadCachePeerBackToSourceStartedRequest) String ¶ added in v2.1.50
func (x *DownloadCachePeerBackToSourceStartedRequest) String() string
func (*DownloadCachePeerBackToSourceStartedRequest) Validate ¶ added in v2.1.50
func (m *DownloadCachePeerBackToSourceStartedRequest) Validate() error
Validate checks the field values on DownloadCachePeerBackToSourceStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadCachePeerBackToSourceStartedRequest) ValidateAll ¶ added in v2.1.50
func (m *DownloadCachePeerBackToSourceStartedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadCachePeerBackToSourceStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadCachePeerBackToSourceStartedRequestMultiError, or nil if none found.
type DownloadCachePeerBackToSourceStartedRequestMultiError ¶ added in v2.1.50
type DownloadCachePeerBackToSourceStartedRequestMultiError []error
DownloadCachePeerBackToSourceStartedRequestMultiError is an error wrapping multiple validation errors returned by DownloadCachePeerBackToSourceStartedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadCachePeerBackToSourceStartedRequestMultiError) AllErrors ¶ added in v2.1.50
func (m DownloadCachePeerBackToSourceStartedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadCachePeerBackToSourceStartedRequestMultiError) Error ¶ added in v2.1.50
func (m DownloadCachePeerBackToSourceStartedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadCachePeerBackToSourceStartedRequestValidationError ¶ added in v2.1.50
type DownloadCachePeerBackToSourceStartedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadCachePeerBackToSourceStartedRequestValidationError is the validation error returned by DownloadCachePeerBackToSourceStartedRequest.Validate if the designated constraints aren't met.
func (DownloadCachePeerBackToSourceStartedRequestValidationError) Cause ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceStartedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadCachePeerBackToSourceStartedRequestValidationError) Error ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceStartedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadCachePeerBackToSourceStartedRequestValidationError) ErrorName ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceStartedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadCachePeerBackToSourceStartedRequestValidationError) Field ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceStartedRequestValidationError) Field() string
Field function returns field value.
func (DownloadCachePeerBackToSourceStartedRequestValidationError) Key ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceStartedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadCachePeerBackToSourceStartedRequestValidationError) Reason ¶ added in v2.1.50
func (e DownloadCachePeerBackToSourceStartedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadCachePeerFailedRequest ¶ added in v2.0.121
type DownloadCachePeerFailedRequest struct {
// The description of the download failed.
Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
DownloadCachePeerFailedRequest represents cache peer download failed request of AnnounceCachePeerRequest.
func (*DownloadCachePeerFailedRequest) Descriptor
deprecated
added in
v2.0.121
func (*DownloadCachePeerFailedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadCachePeerFailedRequest.ProtoReflect.Descriptor instead.
func (*DownloadCachePeerFailedRequest) GetDescription ¶ added in v2.0.121
func (x *DownloadCachePeerFailedRequest) GetDescription() string
func (*DownloadCachePeerFailedRequest) ProtoMessage ¶ added in v2.0.121
func (*DownloadCachePeerFailedRequest) ProtoMessage()
func (*DownloadCachePeerFailedRequest) ProtoReflect ¶ added in v2.0.121
func (x *DownloadCachePeerFailedRequest) ProtoReflect() protoreflect.Message
func (*DownloadCachePeerFailedRequest) Reset ¶ added in v2.0.121
func (x *DownloadCachePeerFailedRequest) Reset()
func (*DownloadCachePeerFailedRequest) String ¶ added in v2.0.121
func (x *DownloadCachePeerFailedRequest) String() string
func (*DownloadCachePeerFailedRequest) Validate ¶ added in v2.0.121
func (m *DownloadCachePeerFailedRequest) Validate() error
Validate checks the field values on DownloadCachePeerFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadCachePeerFailedRequest) ValidateAll ¶ added in v2.0.121
func (m *DownloadCachePeerFailedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadCachePeerFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadCachePeerFailedRequestMultiError, or nil if none found.
type DownloadCachePeerFailedRequestMultiError ¶ added in v2.0.121
type DownloadCachePeerFailedRequestMultiError []error
DownloadCachePeerFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadCachePeerFailedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadCachePeerFailedRequestMultiError) AllErrors ¶ added in v2.0.121
func (m DownloadCachePeerFailedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadCachePeerFailedRequestMultiError) Error ¶ added in v2.0.121
func (m DownloadCachePeerFailedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadCachePeerFailedRequestValidationError ¶ added in v2.0.121
type DownloadCachePeerFailedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadCachePeerFailedRequestValidationError is the validation error returned by DownloadCachePeerFailedRequest.Validate if the designated constraints aren't met.
func (DownloadCachePeerFailedRequestValidationError) Cause ¶ added in v2.0.121
func (e DownloadCachePeerFailedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadCachePeerFailedRequestValidationError) Error ¶ added in v2.0.121
func (e DownloadCachePeerFailedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadCachePeerFailedRequestValidationError) ErrorName ¶ added in v2.0.121
func (e DownloadCachePeerFailedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadCachePeerFailedRequestValidationError) Field ¶ added in v2.0.121
func (e DownloadCachePeerFailedRequestValidationError) Field() string
Field function returns field value.
func (DownloadCachePeerFailedRequestValidationError) Key ¶ added in v2.0.121
func (e DownloadCachePeerFailedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadCachePeerFailedRequestValidationError) Reason ¶ added in v2.0.121
func (e DownloadCachePeerFailedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadCachePeerFinishedRequest ¶ added in v2.0.121
type DownloadCachePeerFinishedRequest struct {
// contains filtered or unexported fields
}
DownloadCachePeerFinishedRequest represents cache peer download finished request of AnnounceCachePeerRequest.
func (*DownloadCachePeerFinishedRequest) Descriptor
deprecated
added in
v2.0.121
func (*DownloadCachePeerFinishedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadCachePeerFinishedRequest.ProtoReflect.Descriptor instead.
func (*DownloadCachePeerFinishedRequest) ProtoMessage ¶ added in v2.0.121
func (*DownloadCachePeerFinishedRequest) ProtoMessage()
func (*DownloadCachePeerFinishedRequest) ProtoReflect ¶ added in v2.0.121
func (x *DownloadCachePeerFinishedRequest) ProtoReflect() protoreflect.Message
func (*DownloadCachePeerFinishedRequest) Reset ¶ added in v2.0.121
func (x *DownloadCachePeerFinishedRequest) Reset()
func (*DownloadCachePeerFinishedRequest) String ¶ added in v2.0.121
func (x *DownloadCachePeerFinishedRequest) String() string
func (*DownloadCachePeerFinishedRequest) Validate ¶ added in v2.0.121
func (m *DownloadCachePeerFinishedRequest) Validate() error
Validate checks the field values on DownloadCachePeerFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadCachePeerFinishedRequest) ValidateAll ¶ added in v2.0.121
func (m *DownloadCachePeerFinishedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadCachePeerFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadCachePeerFinishedRequestMultiError, or nil if none found.
type DownloadCachePeerFinishedRequestMultiError ¶ added in v2.0.121
type DownloadCachePeerFinishedRequestMultiError []error
DownloadCachePeerFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadCachePeerFinishedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadCachePeerFinishedRequestMultiError) AllErrors ¶ added in v2.0.121
func (m DownloadCachePeerFinishedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadCachePeerFinishedRequestMultiError) Error ¶ added in v2.0.121
func (m DownloadCachePeerFinishedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadCachePeerFinishedRequestValidationError ¶ added in v2.0.121
type DownloadCachePeerFinishedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadCachePeerFinishedRequestValidationError is the validation error returned by DownloadCachePeerFinishedRequest.Validate if the designated constraints aren't met.
func (DownloadCachePeerFinishedRequestValidationError) Cause ¶ added in v2.0.121
func (e DownloadCachePeerFinishedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadCachePeerFinishedRequestValidationError) Error ¶ added in v2.0.121
func (e DownloadCachePeerFinishedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadCachePeerFinishedRequestValidationError) ErrorName ¶ added in v2.0.121
func (e DownloadCachePeerFinishedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadCachePeerFinishedRequestValidationError) Field ¶ added in v2.0.121
func (e DownloadCachePeerFinishedRequestValidationError) Field() string
Field function returns field value.
func (DownloadCachePeerFinishedRequestValidationError) Key ¶ added in v2.0.121
func (e DownloadCachePeerFinishedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadCachePeerFinishedRequestValidationError) Reason ¶ added in v2.0.121
func (e DownloadCachePeerFinishedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadCachePeerStartedRequest ¶ added in v2.0.121
type DownloadCachePeerStartedRequest struct {
// contains filtered or unexported fields
}
DownloadCachePeerStartedRequest represents cache peer download started request of AnnounceCachePeerRequest.
func (*DownloadCachePeerStartedRequest) Descriptor
deprecated
added in
v2.0.121
func (*DownloadCachePeerStartedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadCachePeerStartedRequest.ProtoReflect.Descriptor instead.
func (*DownloadCachePeerStartedRequest) ProtoMessage ¶ added in v2.0.121
func (*DownloadCachePeerStartedRequest) ProtoMessage()
func (*DownloadCachePeerStartedRequest) ProtoReflect ¶ added in v2.0.121
func (x *DownloadCachePeerStartedRequest) ProtoReflect() protoreflect.Message
func (*DownloadCachePeerStartedRequest) Reset ¶ added in v2.0.121
func (x *DownloadCachePeerStartedRequest) Reset()
func (*DownloadCachePeerStartedRequest) String ¶ added in v2.0.121
func (x *DownloadCachePeerStartedRequest) String() string
func (*DownloadCachePeerStartedRequest) Validate ¶ added in v2.0.121
func (m *DownloadCachePeerStartedRequest) Validate() error
Validate checks the field values on DownloadCachePeerStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadCachePeerStartedRequest) ValidateAll ¶ added in v2.0.121
func (m *DownloadCachePeerStartedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadCachePeerStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadCachePeerStartedRequestMultiError, or nil if none found.
type DownloadCachePeerStartedRequestMultiError ¶ added in v2.0.121
type DownloadCachePeerStartedRequestMultiError []error
DownloadCachePeerStartedRequestMultiError is an error wrapping multiple validation errors returned by DownloadCachePeerStartedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadCachePeerStartedRequestMultiError) AllErrors ¶ added in v2.0.121
func (m DownloadCachePeerStartedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadCachePeerStartedRequestMultiError) Error ¶ added in v2.0.121
func (m DownloadCachePeerStartedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadCachePeerStartedRequestValidationError ¶ added in v2.0.121
type DownloadCachePeerStartedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadCachePeerStartedRequestValidationError is the validation error returned by DownloadCachePeerStartedRequest.Validate if the designated constraints aren't met.
func (DownloadCachePeerStartedRequestValidationError) Cause ¶ added in v2.0.121
func (e DownloadCachePeerStartedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadCachePeerStartedRequestValidationError) Error ¶ added in v2.0.121
func (e DownloadCachePeerStartedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadCachePeerStartedRequestValidationError) ErrorName ¶ added in v2.0.121
func (e DownloadCachePeerStartedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadCachePeerStartedRequestValidationError) Field ¶ added in v2.0.121
func (e DownloadCachePeerStartedRequestValidationError) Field() string
Field function returns field value.
func (DownloadCachePeerStartedRequestValidationError) Key ¶ added in v2.0.121
func (e DownloadCachePeerStartedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadCachePeerStartedRequestValidationError) Reason ¶ added in v2.0.121
func (e DownloadCachePeerStartedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPeerBackToSourceFailedRequest ¶
type DownloadPeerBackToSourceFailedRequest struct {
// The description of the download back-to-source failed.
Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
DownloadPeerBackToSourceFailedRequest represents peer download back-to-source failed request of AnnouncePeerRequest.
func (*DownloadPeerBackToSourceFailedRequest) Descriptor
deprecated
func (*DownloadPeerBackToSourceFailedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPeerBackToSourceFailedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPeerBackToSourceFailedRequest) GetDescription ¶
func (x *DownloadPeerBackToSourceFailedRequest) GetDescription() string
func (*DownloadPeerBackToSourceFailedRequest) ProtoMessage ¶
func (*DownloadPeerBackToSourceFailedRequest) ProtoMessage()
func (*DownloadPeerBackToSourceFailedRequest) ProtoReflect ¶
func (x *DownloadPeerBackToSourceFailedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPeerBackToSourceFailedRequest) Reset ¶
func (x *DownloadPeerBackToSourceFailedRequest) Reset()
func (*DownloadPeerBackToSourceFailedRequest) String ¶
func (x *DownloadPeerBackToSourceFailedRequest) String() string
func (*DownloadPeerBackToSourceFailedRequest) Validate ¶
func (m *DownloadPeerBackToSourceFailedRequest) Validate() error
Validate checks the field values on DownloadPeerBackToSourceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPeerBackToSourceFailedRequest) ValidateAll ¶
func (m *DownloadPeerBackToSourceFailedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPeerBackToSourceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPeerBackToSourceFailedRequestMultiError, or nil if none found.
type DownloadPeerBackToSourceFailedRequestMultiError ¶
type DownloadPeerBackToSourceFailedRequestMultiError []error
DownloadPeerBackToSourceFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerBackToSourceFailedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPeerBackToSourceFailedRequestMultiError) AllErrors ¶
func (m DownloadPeerBackToSourceFailedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPeerBackToSourceFailedRequestMultiError) Error ¶
func (m DownloadPeerBackToSourceFailedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPeerBackToSourceFailedRequestValidationError ¶
type DownloadPeerBackToSourceFailedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPeerBackToSourceFailedRequestValidationError is the validation error returned by DownloadPeerBackToSourceFailedRequest.Validate if the designated constraints aren't met.
func (DownloadPeerBackToSourceFailedRequestValidationError) Cause ¶
func (e DownloadPeerBackToSourceFailedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPeerBackToSourceFailedRequestValidationError) Error ¶
func (e DownloadPeerBackToSourceFailedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPeerBackToSourceFailedRequestValidationError) ErrorName ¶
func (e DownloadPeerBackToSourceFailedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPeerBackToSourceFailedRequestValidationError) Field ¶
func (e DownloadPeerBackToSourceFailedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPeerBackToSourceFailedRequestValidationError) Key ¶
func (e DownloadPeerBackToSourceFailedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadPeerBackToSourceFailedRequestValidationError) Reason ¶
func (e DownloadPeerBackToSourceFailedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPeerBackToSourceFinishedRequest ¶
type DownloadPeerBackToSourceFinishedRequest struct {
// contains filtered or unexported fields
}
DownloadPeerBackToSourceFinishedRequest represents peer download back-to-source finished request of AnnouncePeerRequest.
func (*DownloadPeerBackToSourceFinishedRequest) Descriptor
deprecated
func (*DownloadPeerBackToSourceFinishedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPeerBackToSourceFinishedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPeerBackToSourceFinishedRequest) ProtoMessage ¶
func (*DownloadPeerBackToSourceFinishedRequest) ProtoMessage()
func (*DownloadPeerBackToSourceFinishedRequest) ProtoReflect ¶
func (x *DownloadPeerBackToSourceFinishedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPeerBackToSourceFinishedRequest) Reset ¶
func (x *DownloadPeerBackToSourceFinishedRequest) Reset()
func (*DownloadPeerBackToSourceFinishedRequest) String ¶
func (x *DownloadPeerBackToSourceFinishedRequest) String() string
func (*DownloadPeerBackToSourceFinishedRequest) Validate ¶
func (m *DownloadPeerBackToSourceFinishedRequest) Validate() error
Validate checks the field values on DownloadPeerBackToSourceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPeerBackToSourceFinishedRequest) ValidateAll ¶
func (m *DownloadPeerBackToSourceFinishedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPeerBackToSourceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPeerBackToSourceFinishedRequestMultiError, or nil if none found.
type DownloadPeerBackToSourceFinishedRequestMultiError ¶
type DownloadPeerBackToSourceFinishedRequestMultiError []error
DownloadPeerBackToSourceFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerBackToSourceFinishedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPeerBackToSourceFinishedRequestMultiError) AllErrors ¶
func (m DownloadPeerBackToSourceFinishedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPeerBackToSourceFinishedRequestMultiError) Error ¶
func (m DownloadPeerBackToSourceFinishedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPeerBackToSourceFinishedRequestValidationError ¶
type DownloadPeerBackToSourceFinishedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPeerBackToSourceFinishedRequestValidationError is the validation error returned by DownloadPeerBackToSourceFinishedRequest.Validate if the designated constraints aren't met.
func (DownloadPeerBackToSourceFinishedRequestValidationError) Cause ¶
func (e DownloadPeerBackToSourceFinishedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPeerBackToSourceFinishedRequestValidationError) Error ¶
func (e DownloadPeerBackToSourceFinishedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPeerBackToSourceFinishedRequestValidationError) ErrorName ¶
func (e DownloadPeerBackToSourceFinishedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPeerBackToSourceFinishedRequestValidationError) Field ¶
func (e DownloadPeerBackToSourceFinishedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPeerBackToSourceFinishedRequestValidationError) Key ¶
func (e DownloadPeerBackToSourceFinishedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadPeerBackToSourceFinishedRequestValidationError) Reason ¶
func (e DownloadPeerBackToSourceFinishedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPeerBackToSourceStartedRequest ¶
type DownloadPeerBackToSourceStartedRequest struct {
// The description of the back-to-source reason.
Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
DownloadPeerBackToSourceStartedRequest represents peer download back-to-source started request of AnnouncePeerRequest.
func (*DownloadPeerBackToSourceStartedRequest) Descriptor
deprecated
func (*DownloadPeerBackToSourceStartedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPeerBackToSourceStartedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPeerBackToSourceStartedRequest) GetDescription ¶
func (x *DownloadPeerBackToSourceStartedRequest) GetDescription() string
func (*DownloadPeerBackToSourceStartedRequest) ProtoMessage ¶
func (*DownloadPeerBackToSourceStartedRequest) ProtoMessage()
func (*DownloadPeerBackToSourceStartedRequest) ProtoReflect ¶
func (x *DownloadPeerBackToSourceStartedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPeerBackToSourceStartedRequest) Reset ¶
func (x *DownloadPeerBackToSourceStartedRequest) Reset()
func (*DownloadPeerBackToSourceStartedRequest) String ¶
func (x *DownloadPeerBackToSourceStartedRequest) String() string
func (*DownloadPeerBackToSourceStartedRequest) Validate ¶
func (m *DownloadPeerBackToSourceStartedRequest) Validate() error
Validate checks the field values on DownloadPeerBackToSourceStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPeerBackToSourceStartedRequest) ValidateAll ¶
func (m *DownloadPeerBackToSourceStartedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPeerBackToSourceStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPeerBackToSourceStartedRequestMultiError, or nil if none found.
type DownloadPeerBackToSourceStartedRequestMultiError ¶
type DownloadPeerBackToSourceStartedRequestMultiError []error
DownloadPeerBackToSourceStartedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerBackToSourceStartedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPeerBackToSourceStartedRequestMultiError) AllErrors ¶
func (m DownloadPeerBackToSourceStartedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPeerBackToSourceStartedRequestMultiError) Error ¶
func (m DownloadPeerBackToSourceStartedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPeerBackToSourceStartedRequestValidationError ¶
type DownloadPeerBackToSourceStartedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPeerBackToSourceStartedRequestValidationError is the validation error returned by DownloadPeerBackToSourceStartedRequest.Validate if the designated constraints aren't met.
func (DownloadPeerBackToSourceStartedRequestValidationError) Cause ¶
func (e DownloadPeerBackToSourceStartedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPeerBackToSourceStartedRequestValidationError) Error ¶
func (e DownloadPeerBackToSourceStartedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPeerBackToSourceStartedRequestValidationError) ErrorName ¶
func (e DownloadPeerBackToSourceStartedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPeerBackToSourceStartedRequestValidationError) Field ¶
func (e DownloadPeerBackToSourceStartedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPeerBackToSourceStartedRequestValidationError) Key ¶
func (e DownloadPeerBackToSourceStartedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadPeerBackToSourceStartedRequestValidationError) Reason ¶
func (e DownloadPeerBackToSourceStartedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPeerFailedRequest ¶
type DownloadPeerFailedRequest struct {
// The description of the download failed.
Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
DownloadPeerFailedRequest represents peer download failed request of AnnouncePeerRequest.
func (*DownloadPeerFailedRequest) Descriptor
deprecated
func (*DownloadPeerFailedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPeerFailedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPeerFailedRequest) GetDescription ¶
func (x *DownloadPeerFailedRequest) GetDescription() string
func (*DownloadPeerFailedRequest) ProtoMessage ¶
func (*DownloadPeerFailedRequest) ProtoMessage()
func (*DownloadPeerFailedRequest) ProtoReflect ¶
func (x *DownloadPeerFailedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPeerFailedRequest) Reset ¶
func (x *DownloadPeerFailedRequest) Reset()
func (*DownloadPeerFailedRequest) String ¶
func (x *DownloadPeerFailedRequest) String() string
func (*DownloadPeerFailedRequest) Validate ¶
func (m *DownloadPeerFailedRequest) Validate() error
Validate checks the field values on DownloadPeerFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPeerFailedRequest) ValidateAll ¶
func (m *DownloadPeerFailedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPeerFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPeerFailedRequestMultiError, or nil if none found.
type DownloadPeerFailedRequestMultiError ¶
type DownloadPeerFailedRequestMultiError []error
DownloadPeerFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerFailedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPeerFailedRequestMultiError) AllErrors ¶
func (m DownloadPeerFailedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPeerFailedRequestMultiError) Error ¶
func (m DownloadPeerFailedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPeerFailedRequestValidationError ¶
type DownloadPeerFailedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPeerFailedRequestValidationError is the validation error returned by DownloadPeerFailedRequest.Validate if the designated constraints aren't met.
func (DownloadPeerFailedRequestValidationError) Cause ¶
func (e DownloadPeerFailedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPeerFailedRequestValidationError) Error ¶
func (e DownloadPeerFailedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPeerFailedRequestValidationError) ErrorName ¶
func (e DownloadPeerFailedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPeerFailedRequestValidationError) Field ¶
func (e DownloadPeerFailedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPeerFailedRequestValidationError) Key ¶
func (e DownloadPeerFailedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadPeerFailedRequestValidationError) Reason ¶
func (e DownloadPeerFailedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPeerFinishedRequest ¶
type DownloadPeerFinishedRequest struct {
// contains filtered or unexported fields
}
DownloadPeerFinishedRequest represents peer download finished request of AnnouncePeerRequest.
func (*DownloadPeerFinishedRequest) Descriptor
deprecated
func (*DownloadPeerFinishedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPeerFinishedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPeerFinishedRequest) ProtoMessage ¶
func (*DownloadPeerFinishedRequest) ProtoMessage()
func (*DownloadPeerFinishedRequest) ProtoReflect ¶
func (x *DownloadPeerFinishedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPeerFinishedRequest) Reset ¶
func (x *DownloadPeerFinishedRequest) Reset()
func (*DownloadPeerFinishedRequest) String ¶
func (x *DownloadPeerFinishedRequest) String() string
func (*DownloadPeerFinishedRequest) Validate ¶
func (m *DownloadPeerFinishedRequest) Validate() error
Validate checks the field values on DownloadPeerFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPeerFinishedRequest) ValidateAll ¶
func (m *DownloadPeerFinishedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPeerFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPeerFinishedRequestMultiError, or nil if none found.
type DownloadPeerFinishedRequestMultiError ¶
type DownloadPeerFinishedRequestMultiError []error
DownloadPeerFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerFinishedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPeerFinishedRequestMultiError) AllErrors ¶
func (m DownloadPeerFinishedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPeerFinishedRequestMultiError) Error ¶
func (m DownloadPeerFinishedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPeerFinishedRequestValidationError ¶
type DownloadPeerFinishedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPeerFinishedRequestValidationError is the validation error returned by DownloadPeerFinishedRequest.Validate if the designated constraints aren't met.
func (DownloadPeerFinishedRequestValidationError) Cause ¶
func (e DownloadPeerFinishedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPeerFinishedRequestValidationError) Error ¶
func (e DownloadPeerFinishedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPeerFinishedRequestValidationError) ErrorName ¶
func (e DownloadPeerFinishedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPeerFinishedRequestValidationError) Field ¶
func (e DownloadPeerFinishedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPeerFinishedRequestValidationError) Key ¶
func (e DownloadPeerFinishedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadPeerFinishedRequestValidationError) Reason ¶
func (e DownloadPeerFinishedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPeerStartedRequest ¶
type DownloadPeerStartedRequest struct {
// contains filtered or unexported fields
}
DownloadPeerStartedRequest represents peer download started request of AnnouncePeerRequest.
func (*DownloadPeerStartedRequest) Descriptor
deprecated
func (*DownloadPeerStartedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPeerStartedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPeerStartedRequest) ProtoMessage ¶
func (*DownloadPeerStartedRequest) ProtoMessage()
func (*DownloadPeerStartedRequest) ProtoReflect ¶
func (x *DownloadPeerStartedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPeerStartedRequest) Reset ¶
func (x *DownloadPeerStartedRequest) Reset()
func (*DownloadPeerStartedRequest) String ¶
func (x *DownloadPeerStartedRequest) String() string
func (*DownloadPeerStartedRequest) Validate ¶
func (m *DownloadPeerStartedRequest) Validate() error
Validate checks the field values on DownloadPeerStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPeerStartedRequest) ValidateAll ¶
func (m *DownloadPeerStartedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPeerStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPeerStartedRequestMultiError, or nil if none found.
type DownloadPeerStartedRequestMultiError ¶
type DownloadPeerStartedRequestMultiError []error
DownloadPeerStartedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPeerStartedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPeerStartedRequestMultiError) AllErrors ¶
func (m DownloadPeerStartedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPeerStartedRequestMultiError) Error ¶
func (m DownloadPeerStartedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPeerStartedRequestValidationError ¶
type DownloadPeerStartedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPeerStartedRequestValidationError is the validation error returned by DownloadPeerStartedRequest.Validate if the designated constraints aren't met.
func (DownloadPeerStartedRequestValidationError) Cause ¶
func (e DownloadPeerStartedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPeerStartedRequestValidationError) Error ¶
func (e DownloadPeerStartedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPeerStartedRequestValidationError) ErrorName ¶
func (e DownloadPeerStartedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPeerStartedRequestValidationError) Field ¶
func (e DownloadPeerStartedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPeerStartedRequestValidationError) Key ¶
func (e DownloadPeerStartedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadPeerStartedRequestValidationError) Reason ¶
func (e DownloadPeerStartedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPersistentCachePeerFailedRequest ¶ added in v2.0.161
type DownloadPersistentCachePeerFailedRequest struct {
// The description of the download failed.
Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
DownloadPersistentCachePeerFailedRequest represents persistent cache peer download failed request of AnnouncePersistentCachePeerRequest.
func (*DownloadPersistentCachePeerFailedRequest) Descriptor
deprecated
added in
v2.0.161
func (*DownloadPersistentCachePeerFailedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPersistentCachePeerFailedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPersistentCachePeerFailedRequest) GetDescription ¶ added in v2.0.161
func (x *DownloadPersistentCachePeerFailedRequest) GetDescription() string
func (*DownloadPersistentCachePeerFailedRequest) ProtoMessage ¶ added in v2.0.161
func (*DownloadPersistentCachePeerFailedRequest) ProtoMessage()
func (*DownloadPersistentCachePeerFailedRequest) ProtoReflect ¶ added in v2.0.161
func (x *DownloadPersistentCachePeerFailedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPersistentCachePeerFailedRequest) Reset ¶ added in v2.0.161
func (x *DownloadPersistentCachePeerFailedRequest) Reset()
func (*DownloadPersistentCachePeerFailedRequest) String ¶ added in v2.0.161
func (x *DownloadPersistentCachePeerFailedRequest) String() string
func (*DownloadPersistentCachePeerFailedRequest) Validate ¶ added in v2.0.161
func (m *DownloadPersistentCachePeerFailedRequest) Validate() error
Validate checks the field values on DownloadPersistentCachePeerFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPersistentCachePeerFailedRequest) ValidateAll ¶ added in v2.0.161
func (m *DownloadPersistentCachePeerFailedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPersistentCachePeerFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentCachePeerFailedRequestMultiError, or nil if none found.
type DownloadPersistentCachePeerFailedRequestMultiError ¶ added in v2.0.161
type DownloadPersistentCachePeerFailedRequestMultiError []error
DownloadPersistentCachePeerFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentCachePeerFailedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPersistentCachePeerFailedRequestMultiError) AllErrors ¶ added in v2.0.161
func (m DownloadPersistentCachePeerFailedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPersistentCachePeerFailedRequestMultiError) Error ¶ added in v2.0.161
func (m DownloadPersistentCachePeerFailedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPersistentCachePeerFailedRequestValidationError ¶ added in v2.0.161
type DownloadPersistentCachePeerFailedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPersistentCachePeerFailedRequestValidationError is the validation error returned by DownloadPersistentCachePeerFailedRequest.Validate if the designated constraints aren't met.
func (DownloadPersistentCachePeerFailedRequestValidationError) Cause ¶ added in v2.0.161
func (e DownloadPersistentCachePeerFailedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPersistentCachePeerFailedRequestValidationError) Error ¶ added in v2.0.161
func (e DownloadPersistentCachePeerFailedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPersistentCachePeerFailedRequestValidationError) ErrorName ¶ added in v2.0.161
func (e DownloadPersistentCachePeerFailedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPersistentCachePeerFailedRequestValidationError) Field ¶ added in v2.0.161
func (e DownloadPersistentCachePeerFailedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPersistentCachePeerFailedRequestValidationError) Key ¶ added in v2.0.161
func (e DownloadPersistentCachePeerFailedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadPersistentCachePeerFailedRequestValidationError) Reason ¶ added in v2.0.161
func (e DownloadPersistentCachePeerFailedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPersistentCachePeerFinishedRequest ¶ added in v2.0.161
type DownloadPersistentCachePeerFinishedRequest struct {
// contains filtered or unexported fields
}
DownloadPersistentCachePeerFinishedRequest represents persistent cache peer download finished request of AnnouncePersistentCachePeerRequest.
func (*DownloadPersistentCachePeerFinishedRequest) Descriptor
deprecated
added in
v2.0.161
func (*DownloadPersistentCachePeerFinishedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPersistentCachePeerFinishedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPersistentCachePeerFinishedRequest) ProtoMessage ¶ added in v2.0.161
func (*DownloadPersistentCachePeerFinishedRequest) ProtoMessage()
func (*DownloadPersistentCachePeerFinishedRequest) ProtoReflect ¶ added in v2.0.161
func (x *DownloadPersistentCachePeerFinishedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPersistentCachePeerFinishedRequest) Reset ¶ added in v2.0.161
func (x *DownloadPersistentCachePeerFinishedRequest) Reset()
func (*DownloadPersistentCachePeerFinishedRequest) String ¶ added in v2.0.161
func (x *DownloadPersistentCachePeerFinishedRequest) String() string
func (*DownloadPersistentCachePeerFinishedRequest) Validate ¶ added in v2.0.161
func (m *DownloadPersistentCachePeerFinishedRequest) Validate() error
Validate checks the field values on DownloadPersistentCachePeerFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPersistentCachePeerFinishedRequest) ValidateAll ¶ added in v2.0.161
func (m *DownloadPersistentCachePeerFinishedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPersistentCachePeerFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentCachePeerFinishedRequestMultiError, or nil if none found.
type DownloadPersistentCachePeerFinishedRequestMultiError ¶ added in v2.0.161
type DownloadPersistentCachePeerFinishedRequestMultiError []error
DownloadPersistentCachePeerFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentCachePeerFinishedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPersistentCachePeerFinishedRequestMultiError) AllErrors ¶ added in v2.0.161
func (m DownloadPersistentCachePeerFinishedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPersistentCachePeerFinishedRequestMultiError) Error ¶ added in v2.0.161
func (m DownloadPersistentCachePeerFinishedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPersistentCachePeerFinishedRequestValidationError ¶ added in v2.0.161
type DownloadPersistentCachePeerFinishedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPersistentCachePeerFinishedRequestValidationError is the validation error returned by DownloadPersistentCachePeerFinishedRequest.Validate if the designated constraints aren't met.
func (DownloadPersistentCachePeerFinishedRequestValidationError) Cause ¶ added in v2.0.161
func (e DownloadPersistentCachePeerFinishedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPersistentCachePeerFinishedRequestValidationError) Error ¶ added in v2.0.161
func (e DownloadPersistentCachePeerFinishedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPersistentCachePeerFinishedRequestValidationError) ErrorName ¶ added in v2.0.161
func (e DownloadPersistentCachePeerFinishedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPersistentCachePeerFinishedRequestValidationError) Field ¶ added in v2.0.161
func (e DownloadPersistentCachePeerFinishedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPersistentCachePeerFinishedRequestValidationError) Key ¶ added in v2.0.161
func (e DownloadPersistentCachePeerFinishedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadPersistentCachePeerFinishedRequestValidationError) Reason ¶ added in v2.0.161
func (e DownloadPersistentCachePeerFinishedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPersistentCachePeerStartedRequest ¶ added in v2.0.161
type DownloadPersistentCachePeerStartedRequest struct {
// contains filtered or unexported fields
}
DownloadPersistentCachePeerStartedRequest represents persistent cache peer download started request of AnnouncePersistentCachePeerRequest.
func (*DownloadPersistentCachePeerStartedRequest) Descriptor
deprecated
added in
v2.0.161
func (*DownloadPersistentCachePeerStartedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPersistentCachePeerStartedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPersistentCachePeerStartedRequest) ProtoMessage ¶ added in v2.0.161
func (*DownloadPersistentCachePeerStartedRequest) ProtoMessage()
func (*DownloadPersistentCachePeerStartedRequest) ProtoReflect ¶ added in v2.0.161
func (x *DownloadPersistentCachePeerStartedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPersistentCachePeerStartedRequest) Reset ¶ added in v2.0.161
func (x *DownloadPersistentCachePeerStartedRequest) Reset()
func (*DownloadPersistentCachePeerStartedRequest) String ¶ added in v2.0.161
func (x *DownloadPersistentCachePeerStartedRequest) String() string
func (*DownloadPersistentCachePeerStartedRequest) Validate ¶ added in v2.0.161
func (m *DownloadPersistentCachePeerStartedRequest) Validate() error
Validate checks the field values on DownloadPersistentCachePeerStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPersistentCachePeerStartedRequest) ValidateAll ¶ added in v2.0.161
func (m *DownloadPersistentCachePeerStartedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPersistentCachePeerStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentCachePeerStartedRequestMultiError, or nil if none found.
type DownloadPersistentCachePeerStartedRequestMultiError ¶ added in v2.0.161
type DownloadPersistentCachePeerStartedRequestMultiError []error
DownloadPersistentCachePeerStartedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentCachePeerStartedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPersistentCachePeerStartedRequestMultiError) AllErrors ¶ added in v2.0.161
func (m DownloadPersistentCachePeerStartedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPersistentCachePeerStartedRequestMultiError) Error ¶ added in v2.0.161
func (m DownloadPersistentCachePeerStartedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPersistentCachePeerStartedRequestValidationError ¶ added in v2.0.161
type DownloadPersistentCachePeerStartedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPersistentCachePeerStartedRequestValidationError is the validation error returned by DownloadPersistentCachePeerStartedRequest.Validate if the designated constraints aren't met.
func (DownloadPersistentCachePeerStartedRequestValidationError) Cause ¶ added in v2.0.161
func (e DownloadPersistentCachePeerStartedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPersistentCachePeerStartedRequestValidationError) Error ¶ added in v2.0.161
func (e DownloadPersistentCachePeerStartedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPersistentCachePeerStartedRequestValidationError) ErrorName ¶ added in v2.0.161
func (e DownloadPersistentCachePeerStartedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPersistentCachePeerStartedRequestValidationError) Field ¶ added in v2.0.161
func (e DownloadPersistentCachePeerStartedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPersistentCachePeerStartedRequestValidationError) Key ¶ added in v2.0.161
func (e DownloadPersistentCachePeerStartedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadPersistentCachePeerStartedRequestValidationError) Reason ¶ added in v2.0.161
func (e DownloadPersistentCachePeerStartedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPersistentPeerBackToSourceFailedRequest ¶ added in v2.1.86
type DownloadPersistentPeerBackToSourceFailedRequest struct {
// The description of the download back-to-source failed.
Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
DownloadPersistentPeerBackToSourceFailedRequest represents cache peer download back-to-source failed request of AnnouncePersistentPeerRequest.
func (*DownloadPersistentPeerBackToSourceFailedRequest) Descriptor
deprecated
added in
v2.1.86
func (*DownloadPersistentPeerBackToSourceFailedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPersistentPeerBackToSourceFailedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPersistentPeerBackToSourceFailedRequest) GetDescription ¶ added in v2.1.86
func (x *DownloadPersistentPeerBackToSourceFailedRequest) GetDescription() string
func (*DownloadPersistentPeerBackToSourceFailedRequest) ProtoMessage ¶ added in v2.1.86
func (*DownloadPersistentPeerBackToSourceFailedRequest) ProtoMessage()
func (*DownloadPersistentPeerBackToSourceFailedRequest) ProtoReflect ¶ added in v2.1.86
func (x *DownloadPersistentPeerBackToSourceFailedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPersistentPeerBackToSourceFailedRequest) Reset ¶ added in v2.1.86
func (x *DownloadPersistentPeerBackToSourceFailedRequest) Reset()
func (*DownloadPersistentPeerBackToSourceFailedRequest) String ¶ added in v2.1.86
func (x *DownloadPersistentPeerBackToSourceFailedRequest) String() string
func (*DownloadPersistentPeerBackToSourceFailedRequest) Validate ¶ added in v2.1.86
func (m *DownloadPersistentPeerBackToSourceFailedRequest) Validate() error
Validate checks the field values on DownloadPersistentPeerBackToSourceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPersistentPeerBackToSourceFailedRequest) ValidateAll ¶ added in v2.1.86
func (m *DownloadPersistentPeerBackToSourceFailedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPersistentPeerBackToSourceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentPeerBackToSourceFailedRequestMultiError, or nil if none found.
type DownloadPersistentPeerBackToSourceFailedRequestMultiError ¶ added in v2.1.86
type DownloadPersistentPeerBackToSourceFailedRequestMultiError []error
DownloadPersistentPeerBackToSourceFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentPeerBackToSourceFailedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPersistentPeerBackToSourceFailedRequestMultiError) AllErrors ¶ added in v2.1.86
func (m DownloadPersistentPeerBackToSourceFailedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPersistentPeerBackToSourceFailedRequestMultiError) Error ¶ added in v2.1.86
func (m DownloadPersistentPeerBackToSourceFailedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPersistentPeerBackToSourceFailedRequestValidationError ¶ added in v2.1.86
type DownloadPersistentPeerBackToSourceFailedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPersistentPeerBackToSourceFailedRequestValidationError is the validation error returned by DownloadPersistentPeerBackToSourceFailedRequest.Validate if the designated constraints aren't met.
func (DownloadPersistentPeerBackToSourceFailedRequestValidationError) Cause ¶ added in v2.1.86
func (e DownloadPersistentPeerBackToSourceFailedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPersistentPeerBackToSourceFailedRequestValidationError) Error ¶ added in v2.1.86
func (e DownloadPersistentPeerBackToSourceFailedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPersistentPeerBackToSourceFailedRequestValidationError) ErrorName ¶ added in v2.1.86
func (e DownloadPersistentPeerBackToSourceFailedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPersistentPeerBackToSourceFailedRequestValidationError) Field ¶ added in v2.1.86
func (e DownloadPersistentPeerBackToSourceFailedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPersistentPeerBackToSourceFailedRequestValidationError) Key ¶ added in v2.1.86
Key function returns key value.
func (DownloadPersistentPeerBackToSourceFailedRequestValidationError) Reason ¶ added in v2.1.86
func (e DownloadPersistentPeerBackToSourceFailedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPersistentPeerBackToSourceFinishedRequest ¶ added in v2.1.86
type DownloadPersistentPeerBackToSourceFinishedRequest struct {
// contains filtered or unexported fields
}
DownloadPersistentPeerBackToSourceFinishedRequest represents cache peer download back-to-source finished request of AnnouncePersistentPeerRequest.
func (*DownloadPersistentPeerBackToSourceFinishedRequest) Descriptor
deprecated
added in
v2.1.86
func (*DownloadPersistentPeerBackToSourceFinishedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPersistentPeerBackToSourceFinishedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPersistentPeerBackToSourceFinishedRequest) ProtoMessage ¶ added in v2.1.86
func (*DownloadPersistentPeerBackToSourceFinishedRequest) ProtoMessage()
func (*DownloadPersistentPeerBackToSourceFinishedRequest) ProtoReflect ¶ added in v2.1.86
func (x *DownloadPersistentPeerBackToSourceFinishedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPersistentPeerBackToSourceFinishedRequest) Reset ¶ added in v2.1.86
func (x *DownloadPersistentPeerBackToSourceFinishedRequest) Reset()
func (*DownloadPersistentPeerBackToSourceFinishedRequest) String ¶ added in v2.1.86
func (x *DownloadPersistentPeerBackToSourceFinishedRequest) String() string
func (*DownloadPersistentPeerBackToSourceFinishedRequest) Validate ¶ added in v2.1.86
func (m *DownloadPersistentPeerBackToSourceFinishedRequest) Validate() error
Validate checks the field values on DownloadPersistentPeerBackToSourceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPersistentPeerBackToSourceFinishedRequest) ValidateAll ¶ added in v2.1.86
func (m *DownloadPersistentPeerBackToSourceFinishedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPersistentPeerBackToSourceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentPeerBackToSourceFinishedRequestMultiError, or nil if none found.
type DownloadPersistentPeerBackToSourceFinishedRequestMultiError ¶ added in v2.1.86
type DownloadPersistentPeerBackToSourceFinishedRequestMultiError []error
DownloadPersistentPeerBackToSourceFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentPeerBackToSourceFinishedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPersistentPeerBackToSourceFinishedRequestMultiError) AllErrors ¶ added in v2.1.86
func (m DownloadPersistentPeerBackToSourceFinishedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPersistentPeerBackToSourceFinishedRequestMultiError) Error ¶ added in v2.1.86
func (m DownloadPersistentPeerBackToSourceFinishedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPersistentPeerBackToSourceFinishedRequestValidationError ¶ added in v2.1.86
type DownloadPersistentPeerBackToSourceFinishedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPersistentPeerBackToSourceFinishedRequestValidationError is the validation error returned by DownloadPersistentPeerBackToSourceFinishedRequest.Validate if the designated constraints aren't met.
func (DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Cause ¶ added in v2.1.86
func (e DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Error ¶ added in v2.1.86
func (e DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPersistentPeerBackToSourceFinishedRequestValidationError) ErrorName ¶ added in v2.1.86
func (e DownloadPersistentPeerBackToSourceFinishedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Field ¶ added in v2.1.86
func (e DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Key ¶ added in v2.1.86
Key function returns key value.
func (DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Reason ¶ added in v2.1.86
func (e DownloadPersistentPeerBackToSourceFinishedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPersistentPeerBackToSourceStartedRequest ¶ added in v2.1.86
type DownloadPersistentPeerBackToSourceStartedRequest struct {
// The description of the back-to-source reason.
Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
DownloadPersistentPeerBackToSourceStartedRequest represents cache peer download back-to-source started request of AnnouncePersistentPeerRequest.
func (*DownloadPersistentPeerBackToSourceStartedRequest) Descriptor
deprecated
added in
v2.1.86
func (*DownloadPersistentPeerBackToSourceStartedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPersistentPeerBackToSourceStartedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPersistentPeerBackToSourceStartedRequest) GetDescription ¶ added in v2.1.86
func (x *DownloadPersistentPeerBackToSourceStartedRequest) GetDescription() string
func (*DownloadPersistentPeerBackToSourceStartedRequest) ProtoMessage ¶ added in v2.1.86
func (*DownloadPersistentPeerBackToSourceStartedRequest) ProtoMessage()
func (*DownloadPersistentPeerBackToSourceStartedRequest) ProtoReflect ¶ added in v2.1.86
func (x *DownloadPersistentPeerBackToSourceStartedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPersistentPeerBackToSourceStartedRequest) Reset ¶ added in v2.1.86
func (x *DownloadPersistentPeerBackToSourceStartedRequest) Reset()
func (*DownloadPersistentPeerBackToSourceStartedRequest) String ¶ added in v2.1.86
func (x *DownloadPersistentPeerBackToSourceStartedRequest) String() string
func (*DownloadPersistentPeerBackToSourceStartedRequest) Validate ¶ added in v2.1.86
func (m *DownloadPersistentPeerBackToSourceStartedRequest) Validate() error
Validate checks the field values on DownloadPersistentPeerBackToSourceStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPersistentPeerBackToSourceStartedRequest) ValidateAll ¶ added in v2.1.86
func (m *DownloadPersistentPeerBackToSourceStartedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPersistentPeerBackToSourceStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentPeerBackToSourceStartedRequestMultiError, or nil if none found.
type DownloadPersistentPeerBackToSourceStartedRequestMultiError ¶ added in v2.1.86
type DownloadPersistentPeerBackToSourceStartedRequestMultiError []error
DownloadPersistentPeerBackToSourceStartedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentPeerBackToSourceStartedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPersistentPeerBackToSourceStartedRequestMultiError) AllErrors ¶ added in v2.1.86
func (m DownloadPersistentPeerBackToSourceStartedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPersistentPeerBackToSourceStartedRequestMultiError) Error ¶ added in v2.1.86
func (m DownloadPersistentPeerBackToSourceStartedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPersistentPeerBackToSourceStartedRequestValidationError ¶ added in v2.1.86
type DownloadPersistentPeerBackToSourceStartedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPersistentPeerBackToSourceStartedRequestValidationError is the validation error returned by DownloadPersistentPeerBackToSourceStartedRequest.Validate if the designated constraints aren't met.
func (DownloadPersistentPeerBackToSourceStartedRequestValidationError) Cause ¶ added in v2.1.86
func (e DownloadPersistentPeerBackToSourceStartedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPersistentPeerBackToSourceStartedRequestValidationError) Error ¶ added in v2.1.86
func (e DownloadPersistentPeerBackToSourceStartedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPersistentPeerBackToSourceStartedRequestValidationError) ErrorName ¶ added in v2.1.86
func (e DownloadPersistentPeerBackToSourceStartedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPersistentPeerBackToSourceStartedRequestValidationError) Field ¶ added in v2.1.86
func (e DownloadPersistentPeerBackToSourceStartedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPersistentPeerBackToSourceStartedRequestValidationError) Key ¶ added in v2.1.86
Key function returns key value.
func (DownloadPersistentPeerBackToSourceStartedRequestValidationError) Reason ¶ added in v2.1.86
func (e DownloadPersistentPeerBackToSourceStartedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPersistentPeerFailedRequest ¶ added in v2.1.86
type DownloadPersistentPeerFailedRequest struct {
// The description of the download failed.
Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
DownloadPersistentPeerFailedRequest represents persistent peer download failed request of AnnouncePersistentPeerRequest.
func (*DownloadPersistentPeerFailedRequest) Descriptor
deprecated
added in
v2.1.86
func (*DownloadPersistentPeerFailedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPersistentPeerFailedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPersistentPeerFailedRequest) GetDescription ¶ added in v2.1.86
func (x *DownloadPersistentPeerFailedRequest) GetDescription() string
func (*DownloadPersistentPeerFailedRequest) ProtoMessage ¶ added in v2.1.86
func (*DownloadPersistentPeerFailedRequest) ProtoMessage()
func (*DownloadPersistentPeerFailedRequest) ProtoReflect ¶ added in v2.1.86
func (x *DownloadPersistentPeerFailedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPersistentPeerFailedRequest) Reset ¶ added in v2.1.86
func (x *DownloadPersistentPeerFailedRequest) Reset()
func (*DownloadPersistentPeerFailedRequest) String ¶ added in v2.1.86
func (x *DownloadPersistentPeerFailedRequest) String() string
func (*DownloadPersistentPeerFailedRequest) Validate ¶ added in v2.1.86
func (m *DownloadPersistentPeerFailedRequest) Validate() error
Validate checks the field values on DownloadPersistentPeerFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPersistentPeerFailedRequest) ValidateAll ¶ added in v2.1.86
func (m *DownloadPersistentPeerFailedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPersistentPeerFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentPeerFailedRequestMultiError, or nil if none found.
type DownloadPersistentPeerFailedRequestMultiError ¶ added in v2.1.86
type DownloadPersistentPeerFailedRequestMultiError []error
DownloadPersistentPeerFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentPeerFailedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPersistentPeerFailedRequestMultiError) AllErrors ¶ added in v2.1.86
func (m DownloadPersistentPeerFailedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPersistentPeerFailedRequestMultiError) Error ¶ added in v2.1.86
func (m DownloadPersistentPeerFailedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPersistentPeerFailedRequestValidationError ¶ added in v2.1.86
type DownloadPersistentPeerFailedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPersistentPeerFailedRequestValidationError is the validation error returned by DownloadPersistentPeerFailedRequest.Validate if the designated constraints aren't met.
func (DownloadPersistentPeerFailedRequestValidationError) Cause ¶ added in v2.1.86
func (e DownloadPersistentPeerFailedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPersistentPeerFailedRequestValidationError) Error ¶ added in v2.1.86
func (e DownloadPersistentPeerFailedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPersistentPeerFailedRequestValidationError) ErrorName ¶ added in v2.1.86
func (e DownloadPersistentPeerFailedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPersistentPeerFailedRequestValidationError) Field ¶ added in v2.1.86
func (e DownloadPersistentPeerFailedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPersistentPeerFailedRequestValidationError) Key ¶ added in v2.1.86
func (e DownloadPersistentPeerFailedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadPersistentPeerFailedRequestValidationError) Reason ¶ added in v2.1.86
func (e DownloadPersistentPeerFailedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPersistentPeerFinishedRequest ¶ added in v2.1.86
type DownloadPersistentPeerFinishedRequest struct {
// contains filtered or unexported fields
}
DownloadPersistentPeerFinishedRequest represents persistent peer download finished request of AnnouncePersistentPeerRequest.
func (*DownloadPersistentPeerFinishedRequest) Descriptor
deprecated
added in
v2.1.86
func (*DownloadPersistentPeerFinishedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPersistentPeerFinishedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPersistentPeerFinishedRequest) ProtoMessage ¶ added in v2.1.86
func (*DownloadPersistentPeerFinishedRequest) ProtoMessage()
func (*DownloadPersistentPeerFinishedRequest) ProtoReflect ¶ added in v2.1.86
func (x *DownloadPersistentPeerFinishedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPersistentPeerFinishedRequest) Reset ¶ added in v2.1.86
func (x *DownloadPersistentPeerFinishedRequest) Reset()
func (*DownloadPersistentPeerFinishedRequest) String ¶ added in v2.1.86
func (x *DownloadPersistentPeerFinishedRequest) String() string
func (*DownloadPersistentPeerFinishedRequest) Validate ¶ added in v2.1.86
func (m *DownloadPersistentPeerFinishedRequest) Validate() error
Validate checks the field values on DownloadPersistentPeerFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPersistentPeerFinishedRequest) ValidateAll ¶ added in v2.1.86
func (m *DownloadPersistentPeerFinishedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPersistentPeerFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentPeerFinishedRequestMultiError, or nil if none found.
type DownloadPersistentPeerFinishedRequestMultiError ¶ added in v2.1.86
type DownloadPersistentPeerFinishedRequestMultiError []error
DownloadPersistentPeerFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentPeerFinishedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPersistentPeerFinishedRequestMultiError) AllErrors ¶ added in v2.1.86
func (m DownloadPersistentPeerFinishedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPersistentPeerFinishedRequestMultiError) Error ¶ added in v2.1.86
func (m DownloadPersistentPeerFinishedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPersistentPeerFinishedRequestValidationError ¶ added in v2.1.86
type DownloadPersistentPeerFinishedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPersistentPeerFinishedRequestValidationError is the validation error returned by DownloadPersistentPeerFinishedRequest.Validate if the designated constraints aren't met.
func (DownloadPersistentPeerFinishedRequestValidationError) Cause ¶ added in v2.1.86
func (e DownloadPersistentPeerFinishedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPersistentPeerFinishedRequestValidationError) Error ¶ added in v2.1.86
func (e DownloadPersistentPeerFinishedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPersistentPeerFinishedRequestValidationError) ErrorName ¶ added in v2.1.86
func (e DownloadPersistentPeerFinishedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPersistentPeerFinishedRequestValidationError) Field ¶ added in v2.1.86
func (e DownloadPersistentPeerFinishedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPersistentPeerFinishedRequestValidationError) Key ¶ added in v2.1.86
func (e DownloadPersistentPeerFinishedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadPersistentPeerFinishedRequestValidationError) Reason ¶ added in v2.1.86
func (e DownloadPersistentPeerFinishedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPersistentPeerStartedRequest ¶ added in v2.1.86
type DownloadPersistentPeerStartedRequest struct {
// contains filtered or unexported fields
}
DownloadPersistentPeerStartedRequest represents persistent peer download started request of AnnouncePersistentPeerRequest.
func (*DownloadPersistentPeerStartedRequest) Descriptor
deprecated
added in
v2.1.86
func (*DownloadPersistentPeerStartedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPersistentPeerStartedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPersistentPeerStartedRequest) ProtoMessage ¶ added in v2.1.86
func (*DownloadPersistentPeerStartedRequest) ProtoMessage()
func (*DownloadPersistentPeerStartedRequest) ProtoReflect ¶ added in v2.1.86
func (x *DownloadPersistentPeerStartedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPersistentPeerStartedRequest) Reset ¶ added in v2.1.86
func (x *DownloadPersistentPeerStartedRequest) Reset()
func (*DownloadPersistentPeerStartedRequest) String ¶ added in v2.1.86
func (x *DownloadPersistentPeerStartedRequest) String() string
func (*DownloadPersistentPeerStartedRequest) Validate ¶ added in v2.1.86
func (m *DownloadPersistentPeerStartedRequest) Validate() error
Validate checks the field values on DownloadPersistentPeerStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPersistentPeerStartedRequest) ValidateAll ¶ added in v2.1.86
func (m *DownloadPersistentPeerStartedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPersistentPeerStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPersistentPeerStartedRequestMultiError, or nil if none found.
type DownloadPersistentPeerStartedRequestMultiError ¶ added in v2.1.86
type DownloadPersistentPeerStartedRequestMultiError []error
DownloadPersistentPeerStartedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPersistentPeerStartedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPersistentPeerStartedRequestMultiError) AllErrors ¶ added in v2.1.86
func (m DownloadPersistentPeerStartedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPersistentPeerStartedRequestMultiError) Error ¶ added in v2.1.86
func (m DownloadPersistentPeerStartedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPersistentPeerStartedRequestValidationError ¶ added in v2.1.86
type DownloadPersistentPeerStartedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPersistentPeerStartedRequestValidationError is the validation error returned by DownloadPersistentPeerStartedRequest.Validate if the designated constraints aren't met.
func (DownloadPersistentPeerStartedRequestValidationError) Cause ¶ added in v2.1.86
func (e DownloadPersistentPeerStartedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPersistentPeerStartedRequestValidationError) Error ¶ added in v2.1.86
func (e DownloadPersistentPeerStartedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPersistentPeerStartedRequestValidationError) ErrorName ¶ added in v2.1.86
func (e DownloadPersistentPeerStartedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPersistentPeerStartedRequestValidationError) Field ¶ added in v2.1.86
func (e DownloadPersistentPeerStartedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPersistentPeerStartedRequestValidationError) Key ¶ added in v2.1.86
func (e DownloadPersistentPeerStartedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadPersistentPeerStartedRequestValidationError) Reason ¶ added in v2.1.86
func (e DownloadPersistentPeerStartedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPieceBackToSourceFailedRequest ¶
type DownloadPieceBackToSourceFailedRequest struct {
// Piece number.
PieceNumber *uint32 `protobuf:"varint,1,opt,name=piece_number,json=pieceNumber,proto3,oneof" json:"piece_number,omitempty"`
// Types that are assignable to Response:
//
// *DownloadPieceBackToSourceFailedRequest_Backend
// *DownloadPieceBackToSourceFailedRequest_Unknown
Response isDownloadPieceBackToSourceFailedRequest_Response `protobuf_oneof:"response"`
// contains filtered or unexported fields
}
DownloadPieceBackToSourceFailedRequest downloads piece back-to-source failed request of AnnouncePeerRequest.
func (*DownloadPieceBackToSourceFailedRequest) Descriptor
deprecated
func (*DownloadPieceBackToSourceFailedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPieceBackToSourceFailedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPieceBackToSourceFailedRequest) GetBackend ¶ added in v2.0.114
func (x *DownloadPieceBackToSourceFailedRequest) GetBackend() *v21.Backend
func (*DownloadPieceBackToSourceFailedRequest) GetPieceNumber ¶ added in v2.0.47
func (x *DownloadPieceBackToSourceFailedRequest) GetPieceNumber() uint32
func (*DownloadPieceBackToSourceFailedRequest) GetResponse ¶
func (m *DownloadPieceBackToSourceFailedRequest) GetResponse() isDownloadPieceBackToSourceFailedRequest_Response
func (*DownloadPieceBackToSourceFailedRequest) GetUnknown ¶ added in v2.0.172
func (x *DownloadPieceBackToSourceFailedRequest) GetUnknown() *v21.Unknown
func (*DownloadPieceBackToSourceFailedRequest) ProtoMessage ¶
func (*DownloadPieceBackToSourceFailedRequest) ProtoMessage()
func (*DownloadPieceBackToSourceFailedRequest) ProtoReflect ¶
func (x *DownloadPieceBackToSourceFailedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPieceBackToSourceFailedRequest) Reset ¶
func (x *DownloadPieceBackToSourceFailedRequest) Reset()
func (*DownloadPieceBackToSourceFailedRequest) String ¶
func (x *DownloadPieceBackToSourceFailedRequest) String() string
func (*DownloadPieceBackToSourceFailedRequest) Validate ¶
func (m *DownloadPieceBackToSourceFailedRequest) Validate() error
Validate checks the field values on DownloadPieceBackToSourceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPieceBackToSourceFailedRequest) ValidateAll ¶
func (m *DownloadPieceBackToSourceFailedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPieceBackToSourceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPieceBackToSourceFailedRequestMultiError, or nil if none found.
type DownloadPieceBackToSourceFailedRequestMultiError ¶
type DownloadPieceBackToSourceFailedRequestMultiError []error
DownloadPieceBackToSourceFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPieceBackToSourceFailedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPieceBackToSourceFailedRequestMultiError) AllErrors ¶
func (m DownloadPieceBackToSourceFailedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPieceBackToSourceFailedRequestMultiError) Error ¶
func (m DownloadPieceBackToSourceFailedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPieceBackToSourceFailedRequestValidationError ¶
type DownloadPieceBackToSourceFailedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPieceBackToSourceFailedRequestValidationError is the validation error returned by DownloadPieceBackToSourceFailedRequest.Validate if the designated constraints aren't met.
func (DownloadPieceBackToSourceFailedRequestValidationError) Cause ¶
func (e DownloadPieceBackToSourceFailedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPieceBackToSourceFailedRequestValidationError) Error ¶
func (e DownloadPieceBackToSourceFailedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPieceBackToSourceFailedRequestValidationError) ErrorName ¶
func (e DownloadPieceBackToSourceFailedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPieceBackToSourceFailedRequestValidationError) Field ¶
func (e DownloadPieceBackToSourceFailedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPieceBackToSourceFailedRequestValidationError) Key ¶
func (e DownloadPieceBackToSourceFailedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadPieceBackToSourceFailedRequestValidationError) Reason ¶
func (e DownloadPieceBackToSourceFailedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPieceBackToSourceFailedRequest_Backend ¶ added in v2.0.114
type DownloadPieceBackToSourceFailedRequest_Unknown ¶ added in v2.0.172
type DownloadPieceBackToSourceFinishedRequest ¶
type DownloadPieceBackToSourceFinishedRequest struct {
// Piece info.
Piece *v2.Piece `protobuf:"bytes,1,opt,name=piece,proto3" json:"piece,omitempty"`
// contains filtered or unexported fields
}
DownloadPieceBackToSourceFinishedRequest represents piece download back-to-source finished request of AnnouncePeerRequest.
func (*DownloadPieceBackToSourceFinishedRequest) Descriptor
deprecated
func (*DownloadPieceBackToSourceFinishedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPieceBackToSourceFinishedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPieceBackToSourceFinishedRequest) GetPiece ¶
func (x *DownloadPieceBackToSourceFinishedRequest) GetPiece() *v2.Piece
func (*DownloadPieceBackToSourceFinishedRequest) ProtoMessage ¶
func (*DownloadPieceBackToSourceFinishedRequest) ProtoMessage()
func (*DownloadPieceBackToSourceFinishedRequest) ProtoReflect ¶
func (x *DownloadPieceBackToSourceFinishedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPieceBackToSourceFinishedRequest) Reset ¶
func (x *DownloadPieceBackToSourceFinishedRequest) Reset()
func (*DownloadPieceBackToSourceFinishedRequest) String ¶
func (x *DownloadPieceBackToSourceFinishedRequest) String() string
func (*DownloadPieceBackToSourceFinishedRequest) Validate ¶
func (m *DownloadPieceBackToSourceFinishedRequest) Validate() error
Validate checks the field values on DownloadPieceBackToSourceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPieceBackToSourceFinishedRequest) ValidateAll ¶
func (m *DownloadPieceBackToSourceFinishedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPieceBackToSourceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPieceBackToSourceFinishedRequestMultiError, or nil if none found.
type DownloadPieceBackToSourceFinishedRequestMultiError ¶
type DownloadPieceBackToSourceFinishedRequestMultiError []error
DownloadPieceBackToSourceFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPieceBackToSourceFinishedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPieceBackToSourceFinishedRequestMultiError) AllErrors ¶
func (m DownloadPieceBackToSourceFinishedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPieceBackToSourceFinishedRequestMultiError) Error ¶
func (m DownloadPieceBackToSourceFinishedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPieceBackToSourceFinishedRequestValidationError ¶
type DownloadPieceBackToSourceFinishedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPieceBackToSourceFinishedRequestValidationError is the validation error returned by DownloadPieceBackToSourceFinishedRequest.Validate if the designated constraints aren't met.
func (DownloadPieceBackToSourceFinishedRequestValidationError) Cause ¶
func (e DownloadPieceBackToSourceFinishedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPieceBackToSourceFinishedRequestValidationError) Error ¶
func (e DownloadPieceBackToSourceFinishedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPieceBackToSourceFinishedRequestValidationError) ErrorName ¶
func (e DownloadPieceBackToSourceFinishedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPieceBackToSourceFinishedRequestValidationError) Field ¶
func (e DownloadPieceBackToSourceFinishedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPieceBackToSourceFinishedRequestValidationError) Key ¶
func (e DownloadPieceBackToSourceFinishedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadPieceBackToSourceFinishedRequestValidationError) Reason ¶
func (e DownloadPieceBackToSourceFinishedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPieceFailedRequest ¶
type DownloadPieceFailedRequest struct {
// Piece number.
PieceNumber *uint32 `protobuf:"varint,1,opt,name=piece_number,json=pieceNumber,proto3,oneof" json:"piece_number,omitempty"`
// Parent id.
ParentId string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
// Temporary indicates whether the error is temporary.
Temporary bool `protobuf:"varint,3,opt,name=temporary,proto3" json:"temporary,omitempty"`
// contains filtered or unexported fields
}
DownloadPieceFailedRequest downloads piece failed request of AnnouncePeerRequest.
func (*DownloadPieceFailedRequest) Descriptor
deprecated
func (*DownloadPieceFailedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPieceFailedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPieceFailedRequest) GetParentId ¶ added in v2.0.47
func (x *DownloadPieceFailedRequest) GetParentId() string
func (*DownloadPieceFailedRequest) GetPieceNumber ¶ added in v2.0.47
func (x *DownloadPieceFailedRequest) GetPieceNumber() uint32
func (*DownloadPieceFailedRequest) GetTemporary ¶
func (x *DownloadPieceFailedRequest) GetTemporary() bool
func (*DownloadPieceFailedRequest) ProtoMessage ¶
func (*DownloadPieceFailedRequest) ProtoMessage()
func (*DownloadPieceFailedRequest) ProtoReflect ¶
func (x *DownloadPieceFailedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPieceFailedRequest) Reset ¶
func (x *DownloadPieceFailedRequest) Reset()
func (*DownloadPieceFailedRequest) String ¶
func (x *DownloadPieceFailedRequest) String() string
func (*DownloadPieceFailedRequest) Validate ¶
func (m *DownloadPieceFailedRequest) Validate() error
Validate checks the field values on DownloadPieceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPieceFailedRequest) ValidateAll ¶
func (m *DownloadPieceFailedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPieceFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPieceFailedRequestMultiError, or nil if none found.
type DownloadPieceFailedRequestMultiError ¶
type DownloadPieceFailedRequestMultiError []error
DownloadPieceFailedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPieceFailedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPieceFailedRequestMultiError) AllErrors ¶
func (m DownloadPieceFailedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPieceFailedRequestMultiError) Error ¶
func (m DownloadPieceFailedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPieceFailedRequestValidationError ¶
type DownloadPieceFailedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPieceFailedRequestValidationError is the validation error returned by DownloadPieceFailedRequest.Validate if the designated constraints aren't met.
func (DownloadPieceFailedRequestValidationError) Cause ¶
func (e DownloadPieceFailedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPieceFailedRequestValidationError) Error ¶
func (e DownloadPieceFailedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPieceFailedRequestValidationError) ErrorName ¶
func (e DownloadPieceFailedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPieceFailedRequestValidationError) Field ¶
func (e DownloadPieceFailedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPieceFailedRequestValidationError) Key ¶
func (e DownloadPieceFailedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadPieceFailedRequestValidationError) Reason ¶
func (e DownloadPieceFailedRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadPieceFinishedRequest ¶
type DownloadPieceFinishedRequest struct {
// Piece info.
Piece *v2.Piece `protobuf:"bytes,1,opt,name=piece,proto3" json:"piece,omitempty"`
// contains filtered or unexported fields
}
DownloadPieceFinishedRequest represents piece download finished request of AnnouncePeerRequest.
func (*DownloadPieceFinishedRequest) Descriptor
deprecated
func (*DownloadPieceFinishedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPieceFinishedRequest.ProtoReflect.Descriptor instead.
func (*DownloadPieceFinishedRequest) GetPiece ¶
func (x *DownloadPieceFinishedRequest) GetPiece() *v2.Piece
func (*DownloadPieceFinishedRequest) ProtoMessage ¶
func (*DownloadPieceFinishedRequest) ProtoMessage()
func (*DownloadPieceFinishedRequest) ProtoReflect ¶
func (x *DownloadPieceFinishedRequest) ProtoReflect() protoreflect.Message
func (*DownloadPieceFinishedRequest) Reset ¶
func (x *DownloadPieceFinishedRequest) Reset()
func (*DownloadPieceFinishedRequest) String ¶
func (x *DownloadPieceFinishedRequest) String() string
func (*DownloadPieceFinishedRequest) Validate ¶
func (m *DownloadPieceFinishedRequest) Validate() error
Validate checks the field values on DownloadPieceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadPieceFinishedRequest) ValidateAll ¶
func (m *DownloadPieceFinishedRequest) ValidateAll() error
ValidateAll checks the field values on DownloadPieceFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadPieceFinishedRequestMultiError, or nil if none found.
type DownloadPieceFinishedRequestMultiError ¶
type DownloadPieceFinishedRequestMultiError []error
DownloadPieceFinishedRequestMultiError is an error wrapping multiple validation errors returned by DownloadPieceFinishedRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadPieceFinishedRequestMultiError) AllErrors ¶
func (m DownloadPieceFinishedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPieceFinishedRequestMultiError) Error ¶
func (m DownloadPieceFinishedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPieceFinishedRequestValidationError ¶
type DownloadPieceFinishedRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadPieceFinishedRequestValidationError is the validation error returned by DownloadPieceFinishedRequest.Validate if the designated constraints aren't met.
func (DownloadPieceFinishedRequestValidationError) Cause ¶
func (e DownloadPieceFinishedRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadPieceFinishedRequestValidationError) Error ¶
func (e DownloadPieceFinishedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPieceFinishedRequestValidationError) ErrorName ¶
func (e DownloadPieceFinishedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPieceFinishedRequestValidationError) Field ¶
func (e DownloadPieceFinishedRequestValidationError) Field() string
Field function returns field value.
func (DownloadPieceFinishedRequestValidationError) Key ¶
func (e DownloadPieceFinishedRequestValidationError) Key() bool
Key function returns key value.
func (DownloadPieceFinishedRequestValidationError) Reason ¶
func (e DownloadPieceFinishedRequestValidationError) Reason() string
Reason function returns reason value.
type EmptyCacheTaskResponse ¶ added in v2.0.121
type EmptyCacheTaskResponse struct {
// contains filtered or unexported fields
}
EmptyCacheTaskResponse represents empty cache task response of AnnounceCachePeerResponse.
func (*EmptyCacheTaskResponse) Descriptor
deprecated
added in
v2.0.121
func (*EmptyCacheTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use EmptyCacheTaskResponse.ProtoReflect.Descriptor instead.
func (*EmptyCacheTaskResponse) ProtoMessage ¶ added in v2.0.121
func (*EmptyCacheTaskResponse) ProtoMessage()
func (*EmptyCacheTaskResponse) ProtoReflect ¶ added in v2.0.121
func (x *EmptyCacheTaskResponse) ProtoReflect() protoreflect.Message
func (*EmptyCacheTaskResponse) Reset ¶ added in v2.0.121
func (x *EmptyCacheTaskResponse) Reset()
func (*EmptyCacheTaskResponse) String ¶ added in v2.0.121
func (x *EmptyCacheTaskResponse) String() string
func (*EmptyCacheTaskResponse) Validate ¶ added in v2.0.121
func (m *EmptyCacheTaskResponse) Validate() error
Validate checks the field values on EmptyCacheTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EmptyCacheTaskResponse) ValidateAll ¶ added in v2.0.121
func (m *EmptyCacheTaskResponse) ValidateAll() error
ValidateAll checks the field values on EmptyCacheTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EmptyCacheTaskResponseMultiError, or nil if none found.
type EmptyCacheTaskResponseMultiError ¶ added in v2.0.121
type EmptyCacheTaskResponseMultiError []error
EmptyCacheTaskResponseMultiError is an error wrapping multiple validation errors returned by EmptyCacheTaskResponse.ValidateAll() if the designated constraints aren't met.
func (EmptyCacheTaskResponseMultiError) AllErrors ¶ added in v2.0.121
func (m EmptyCacheTaskResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EmptyCacheTaskResponseMultiError) Error ¶ added in v2.0.121
func (m EmptyCacheTaskResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EmptyCacheTaskResponseValidationError ¶ added in v2.0.121
type EmptyCacheTaskResponseValidationError struct {
// contains filtered or unexported fields
}
EmptyCacheTaskResponseValidationError is the validation error returned by EmptyCacheTaskResponse.Validate if the designated constraints aren't met.
func (EmptyCacheTaskResponseValidationError) Cause ¶ added in v2.0.121
func (e EmptyCacheTaskResponseValidationError) Cause() error
Cause function returns cause value.
func (EmptyCacheTaskResponseValidationError) Error ¶ added in v2.0.121
func (e EmptyCacheTaskResponseValidationError) Error() string
Error satisfies the builtin error interface
func (EmptyCacheTaskResponseValidationError) ErrorName ¶ added in v2.0.121
func (e EmptyCacheTaskResponseValidationError) ErrorName() string
ErrorName returns error name.
func (EmptyCacheTaskResponseValidationError) Field ¶ added in v2.0.121
func (e EmptyCacheTaskResponseValidationError) Field() string
Field function returns field value.
func (EmptyCacheTaskResponseValidationError) Key ¶ added in v2.0.121
func (e EmptyCacheTaskResponseValidationError) Key() bool
Key function returns key value.
func (EmptyCacheTaskResponseValidationError) Reason ¶ added in v2.0.121
func (e EmptyCacheTaskResponseValidationError) Reason() string
Reason function returns reason value.
type EmptyPersistentCacheTaskResponse ¶ added in v2.0.161
type EmptyPersistentCacheTaskResponse struct {
// contains filtered or unexported fields
}
EmptyPersistentCacheTaskResponse represents empty persistent cache task response of AnnouncePersistentCachePeerResponse.
func (*EmptyPersistentCacheTaskResponse) Descriptor
deprecated
added in
v2.0.161
func (*EmptyPersistentCacheTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use EmptyPersistentCacheTaskResponse.ProtoReflect.Descriptor instead.
func (*EmptyPersistentCacheTaskResponse) ProtoMessage ¶ added in v2.0.161
func (*EmptyPersistentCacheTaskResponse) ProtoMessage()
func (*EmptyPersistentCacheTaskResponse) ProtoReflect ¶ added in v2.0.161
func (x *EmptyPersistentCacheTaskResponse) ProtoReflect() protoreflect.Message
func (*EmptyPersistentCacheTaskResponse) Reset ¶ added in v2.0.161
func (x *EmptyPersistentCacheTaskResponse) Reset()
func (*EmptyPersistentCacheTaskResponse) String ¶ added in v2.0.161
func (x *EmptyPersistentCacheTaskResponse) String() string
func (*EmptyPersistentCacheTaskResponse) Validate ¶ added in v2.0.161
func (m *EmptyPersistentCacheTaskResponse) Validate() error
Validate checks the field values on EmptyPersistentCacheTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EmptyPersistentCacheTaskResponse) ValidateAll ¶ added in v2.0.161
func (m *EmptyPersistentCacheTaskResponse) ValidateAll() error
ValidateAll checks the field values on EmptyPersistentCacheTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EmptyPersistentCacheTaskResponseMultiError, or nil if none found.
type EmptyPersistentCacheTaskResponseMultiError ¶ added in v2.0.161
type EmptyPersistentCacheTaskResponseMultiError []error
EmptyPersistentCacheTaskResponseMultiError is an error wrapping multiple validation errors returned by EmptyPersistentCacheTaskResponse.ValidateAll() if the designated constraints aren't met.
func (EmptyPersistentCacheTaskResponseMultiError) AllErrors ¶ added in v2.0.161
func (m EmptyPersistentCacheTaskResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EmptyPersistentCacheTaskResponseMultiError) Error ¶ added in v2.0.161
func (m EmptyPersistentCacheTaskResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EmptyPersistentCacheTaskResponseValidationError ¶ added in v2.0.161
type EmptyPersistentCacheTaskResponseValidationError struct {
// contains filtered or unexported fields
}
EmptyPersistentCacheTaskResponseValidationError is the validation error returned by EmptyPersistentCacheTaskResponse.Validate if the designated constraints aren't met.
func (EmptyPersistentCacheTaskResponseValidationError) Cause ¶ added in v2.0.161
func (e EmptyPersistentCacheTaskResponseValidationError) Cause() error
Cause function returns cause value.
func (EmptyPersistentCacheTaskResponseValidationError) Error ¶ added in v2.0.161
func (e EmptyPersistentCacheTaskResponseValidationError) Error() string
Error satisfies the builtin error interface
func (EmptyPersistentCacheTaskResponseValidationError) ErrorName ¶ added in v2.0.161
func (e EmptyPersistentCacheTaskResponseValidationError) ErrorName() string
ErrorName returns error name.
func (EmptyPersistentCacheTaskResponseValidationError) Field ¶ added in v2.0.161
func (e EmptyPersistentCacheTaskResponseValidationError) Field() string
Field function returns field value.
func (EmptyPersistentCacheTaskResponseValidationError) Key ¶ added in v2.0.161
func (e EmptyPersistentCacheTaskResponseValidationError) Key() bool
Key function returns key value.
func (EmptyPersistentCacheTaskResponseValidationError) Reason ¶ added in v2.0.161
func (e EmptyPersistentCacheTaskResponseValidationError) Reason() string
Reason function returns reason value.
type EmptyPersistentTaskResponse ¶ added in v2.1.86
type EmptyPersistentTaskResponse struct {
// contains filtered or unexported fields
}
EmptyPersistentTaskResponse represents empty persistent task response of AnnouncePersistentPeerResponse.
func (*EmptyPersistentTaskResponse) Descriptor
deprecated
added in
v2.1.86
func (*EmptyPersistentTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use EmptyPersistentTaskResponse.ProtoReflect.Descriptor instead.
func (*EmptyPersistentTaskResponse) ProtoMessage ¶ added in v2.1.86
func (*EmptyPersistentTaskResponse) ProtoMessage()
func (*EmptyPersistentTaskResponse) ProtoReflect ¶ added in v2.1.86
func (x *EmptyPersistentTaskResponse) ProtoReflect() protoreflect.Message
func (*EmptyPersistentTaskResponse) Reset ¶ added in v2.1.86
func (x *EmptyPersistentTaskResponse) Reset()
func (*EmptyPersistentTaskResponse) String ¶ added in v2.1.86
func (x *EmptyPersistentTaskResponse) String() string
func (*EmptyPersistentTaskResponse) Validate ¶ added in v2.1.86
func (m *EmptyPersistentTaskResponse) Validate() error
Validate checks the field values on EmptyPersistentTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EmptyPersistentTaskResponse) ValidateAll ¶ added in v2.1.86
func (m *EmptyPersistentTaskResponse) ValidateAll() error
ValidateAll checks the field values on EmptyPersistentTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EmptyPersistentTaskResponseMultiError, or nil if none found.
type EmptyPersistentTaskResponseMultiError ¶ added in v2.1.86
type EmptyPersistentTaskResponseMultiError []error
EmptyPersistentTaskResponseMultiError is an error wrapping multiple validation errors returned by EmptyPersistentTaskResponse.ValidateAll() if the designated constraints aren't met.
func (EmptyPersistentTaskResponseMultiError) AllErrors ¶ added in v2.1.86
func (m EmptyPersistentTaskResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EmptyPersistentTaskResponseMultiError) Error ¶ added in v2.1.86
func (m EmptyPersistentTaskResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EmptyPersistentTaskResponseValidationError ¶ added in v2.1.86
type EmptyPersistentTaskResponseValidationError struct {
// contains filtered or unexported fields
}
EmptyPersistentTaskResponseValidationError is the validation error returned by EmptyPersistentTaskResponse.Validate if the designated constraints aren't met.
func (EmptyPersistentTaskResponseValidationError) Cause ¶ added in v2.1.86
func (e EmptyPersistentTaskResponseValidationError) Cause() error
Cause function returns cause value.
func (EmptyPersistentTaskResponseValidationError) Error ¶ added in v2.1.86
func (e EmptyPersistentTaskResponseValidationError) Error() string
Error satisfies the builtin error interface
func (EmptyPersistentTaskResponseValidationError) ErrorName ¶ added in v2.1.86
func (e EmptyPersistentTaskResponseValidationError) ErrorName() string
ErrorName returns error name.
func (EmptyPersistentTaskResponseValidationError) Field ¶ added in v2.1.86
func (e EmptyPersistentTaskResponseValidationError) Field() string
Field function returns field value.
func (EmptyPersistentTaskResponseValidationError) Key ¶ added in v2.1.86
func (e EmptyPersistentTaskResponseValidationError) Key() bool
Key function returns key value.
func (EmptyPersistentTaskResponseValidationError) Reason ¶ added in v2.1.86
func (e EmptyPersistentTaskResponseValidationError) Reason() string
Reason function returns reason value.
type EmptyTaskResponse ¶
type EmptyTaskResponse struct {
// contains filtered or unexported fields
}
EmptyTaskResponse represents empty task response of AnnouncePeerResponse.
func (*EmptyTaskResponse) Descriptor
deprecated
func (*EmptyTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use EmptyTaskResponse.ProtoReflect.Descriptor instead.
func (*EmptyTaskResponse) ProtoMessage ¶
func (*EmptyTaskResponse) ProtoMessage()
func (*EmptyTaskResponse) ProtoReflect ¶
func (x *EmptyTaskResponse) ProtoReflect() protoreflect.Message
func (*EmptyTaskResponse) Reset ¶
func (x *EmptyTaskResponse) Reset()
func (*EmptyTaskResponse) String ¶
func (x *EmptyTaskResponse) String() string
func (*EmptyTaskResponse) Validate ¶
func (m *EmptyTaskResponse) Validate() error
Validate checks the field values on EmptyTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EmptyTaskResponse) ValidateAll ¶
func (m *EmptyTaskResponse) ValidateAll() error
ValidateAll checks the field values on EmptyTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EmptyTaskResponseMultiError, or nil if none found.
type EmptyTaskResponseMultiError ¶
type EmptyTaskResponseMultiError []error
EmptyTaskResponseMultiError is an error wrapping multiple validation errors returned by EmptyTaskResponse.ValidateAll() if the designated constraints aren't met.
func (EmptyTaskResponseMultiError) AllErrors ¶
func (m EmptyTaskResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EmptyTaskResponseMultiError) Error ¶
func (m EmptyTaskResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EmptyTaskResponseValidationError ¶
type EmptyTaskResponseValidationError struct {
// contains filtered or unexported fields
}
EmptyTaskResponseValidationError is the validation error returned by EmptyTaskResponse.Validate if the designated constraints aren't met.
func (EmptyTaskResponseValidationError) Cause ¶
func (e EmptyTaskResponseValidationError) Cause() error
Cause function returns cause value.
func (EmptyTaskResponseValidationError) Error ¶
func (e EmptyTaskResponseValidationError) Error() string
Error satisfies the builtin error interface
func (EmptyTaskResponseValidationError) ErrorName ¶
func (e EmptyTaskResponseValidationError) ErrorName() string
ErrorName returns error name.
func (EmptyTaskResponseValidationError) Field ¶
func (e EmptyTaskResponseValidationError) Field() string
Field function returns field value.
func (EmptyTaskResponseValidationError) Key ¶
func (e EmptyTaskResponseValidationError) Key() bool
Key function returns key value.
func (EmptyTaskResponseValidationError) Reason ¶
func (e EmptyTaskResponseValidationError) Reason() string
Reason function returns reason value.
type File ¶ added in v2.1.91
type File struct {
// URL is the url of the file.
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// IsFinished indicates whether the file has finished downloading on the peer.
IsFinished *bool `protobuf:"varint,2,opt,name=is_finished,json=isFinished,proto3,oneof" json:"is_finished,omitempty"`
// contains filtered or unexported fields
}
File represents the file information.
func (*File) Descriptor
deprecated
added in
v2.1.91
func (*File) GetIsFinished ¶ added in v2.1.91
func (*File) ProtoMessage ¶ added in v2.1.91
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶ added in v2.1.91
func (x *File) ProtoReflect() protoreflect.Message
func (*File) Validate ¶ added in v2.1.91
Validate checks the field values on File with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*File) ValidateAll ¶ added in v2.1.91
ValidateAll checks the field values on File with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FileMultiError, or nil if none found.
type FileMultiError ¶ added in v2.1.91
type FileMultiError []error
FileMultiError is an error wrapping multiple validation errors returned by File.ValidateAll() if the designated constraints aren't met.
func (FileMultiError) AllErrors ¶ added in v2.1.91
func (m FileMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileMultiError) Error ¶ added in v2.1.91
func (m FileMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileValidationError ¶ added in v2.1.91
type FileValidationError struct {
// contains filtered or unexported fields
}
FileValidationError is the validation error returned by File.Validate if the designated constraints aren't met.
func (FileValidationError) Cause ¶ added in v2.1.91
func (e FileValidationError) Cause() error
Cause function returns cause value.
func (FileValidationError) Error ¶ added in v2.1.91
func (e FileValidationError) Error() string
Error satisfies the builtin error interface
func (FileValidationError) ErrorName ¶ added in v2.1.91
func (e FileValidationError) ErrorName() string
ErrorName returns error name.
func (FileValidationError) Field ¶ added in v2.1.91
func (e FileValidationError) Field() string
Field function returns field value.
func (FileValidationError) Key ¶ added in v2.1.91
func (e FileValidationError) Key() bool
Key function returns key value.
func (FileValidationError) Reason ¶ added in v2.1.91
func (e FileValidationError) Reason() string
Reason function returns reason value.
type Image ¶ added in v2.1.52
type Image struct {
// Layers is the list of layers of the image.
Layers []*Layer `protobuf:"bytes,1,rep,name=layers,proto3" json:"layers,omitempty"`
// contains filtered or unexported fields
}
Image represents the image information.
func (*Image) Descriptor
deprecated
added in
v2.1.52
func (*Image) ProtoMessage ¶ added in v2.1.52
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶ added in v2.1.52
func (x *Image) ProtoReflect() protoreflect.Message
func (*Image) Validate ¶ added in v2.1.52
Validate checks the field values on Image with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Image) ValidateAll ¶ added in v2.1.52
ValidateAll checks the field values on Image with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ImageMultiError, or nil if none found.
type ImageMultiError ¶ added in v2.1.52
type ImageMultiError []error
ImageMultiError is an error wrapping multiple validation errors returned by Image.ValidateAll() if the designated constraints aren't met.
func (ImageMultiError) AllErrors ¶ added in v2.1.52
func (m ImageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ImageMultiError) Error ¶ added in v2.1.52
func (m ImageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ImageValidationError ¶ added in v2.1.52
type ImageValidationError struct {
// contains filtered or unexported fields
}
ImageValidationError is the validation error returned by Image.Validate if the designated constraints aren't met.
func (ImageValidationError) Cause ¶ added in v2.1.52
func (e ImageValidationError) Cause() error
Cause function returns cause value.
func (ImageValidationError) Error ¶ added in v2.1.52
func (e ImageValidationError) Error() string
Error satisfies the builtin error interface
func (ImageValidationError) ErrorName ¶ added in v2.1.52
func (e ImageValidationError) ErrorName() string
ErrorName returns error name.
func (ImageValidationError) Field ¶ added in v2.1.52
func (e ImageValidationError) Field() string
Field function returns field value.
func (ImageValidationError) Key ¶ added in v2.1.52
func (e ImageValidationError) Key() bool
Key function returns key value.
func (ImageValidationError) Reason ¶ added in v2.1.52
func (e ImageValidationError) Reason() string
Reason function returns reason value.
type Layer ¶ added in v2.1.52
type Layer struct {
// URL is the URL of the layer.
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// IsFinished indicates whether the layer has finished downloading on the peer.
IsFinished *bool `protobuf:"varint,2,opt,name=is_finished,json=isFinished,proto3,oneof" json:"is_finished,omitempty"`
// contains filtered or unexported fields
}
Layer represents a layer of the image.
func (*Layer) Descriptor
deprecated
added in
v2.1.52
func (*Layer) GetIsFinished ¶ added in v2.1.91
func (*Layer) ProtoMessage ¶ added in v2.1.52
func (*Layer) ProtoMessage()
func (*Layer) ProtoReflect ¶ added in v2.1.52
func (x *Layer) ProtoReflect() protoreflect.Message
func (*Layer) Validate ¶ added in v2.1.52
Validate checks the field values on Layer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Layer) ValidateAll ¶ added in v2.1.52
ValidateAll checks the field values on Layer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LayerMultiError, or nil if none found.
type LayerMultiError ¶ added in v2.1.52
type LayerMultiError []error
LayerMultiError is an error wrapping multiple validation errors returned by Layer.ValidateAll() if the designated constraints aren't met.
func (LayerMultiError) AllErrors ¶ added in v2.1.52
func (m LayerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LayerMultiError) Error ¶ added in v2.1.52
func (m LayerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LayerValidationError ¶ added in v2.1.52
type LayerValidationError struct {
// contains filtered or unexported fields
}
LayerValidationError is the validation error returned by Layer.Validate if the designated constraints aren't met.
func (LayerValidationError) Cause ¶ added in v2.1.52
func (e LayerValidationError) Cause() error
Cause function returns cause value.
func (LayerValidationError) Error ¶ added in v2.1.52
func (e LayerValidationError) Error() string
Error satisfies the builtin error interface
func (LayerValidationError) ErrorName ¶ added in v2.1.52
func (e LayerValidationError) ErrorName() string
ErrorName returns error name.
func (LayerValidationError) Field ¶ added in v2.1.52
func (e LayerValidationError) Field() string
Field function returns field value.
func (LayerValidationError) Key ¶ added in v2.1.52
func (e LayerValidationError) Key() bool
Key function returns key value.
func (LayerValidationError) Reason ¶ added in v2.1.52
func (e LayerValidationError) Reason() string
Reason function returns reason value.
type ListHostsRequest ¶ added in v2.1.69
type ListHostsRequest struct {
// Type to filter hosts.
Type *uint32 `protobuf:"varint,1,opt,name=type,proto3,oneof" json:"type,omitempty"`
// contains filtered or unexported fields
}
ListHostsRequest represents request of ListHosts.
func (*ListHostsRequest) Descriptor
deprecated
added in
v2.1.69
func (*ListHostsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListHostsRequest.ProtoReflect.Descriptor instead.
func (*ListHostsRequest) GetType ¶ added in v2.1.69
func (x *ListHostsRequest) GetType() uint32
func (*ListHostsRequest) ProtoMessage ¶ added in v2.1.69
func (*ListHostsRequest) ProtoMessage()
func (*ListHostsRequest) ProtoReflect ¶ added in v2.1.69
func (x *ListHostsRequest) ProtoReflect() protoreflect.Message
func (*ListHostsRequest) Reset ¶ added in v2.1.69
func (x *ListHostsRequest) Reset()
func (*ListHostsRequest) String ¶ added in v2.1.69
func (x *ListHostsRequest) String() string
func (*ListHostsRequest) Validate ¶ added in v2.1.69
func (m *ListHostsRequest) Validate() error
Validate checks the field values on ListHostsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListHostsRequest) ValidateAll ¶ added in v2.1.69
func (m *ListHostsRequest) ValidateAll() error
ValidateAll checks the field values on ListHostsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListHostsRequestMultiError, or nil if none found.
type ListHostsRequestMultiError ¶ added in v2.1.69
type ListHostsRequestMultiError []error
ListHostsRequestMultiError is an error wrapping multiple validation errors returned by ListHostsRequest.ValidateAll() if the designated constraints aren't met.
func (ListHostsRequestMultiError) AllErrors ¶ added in v2.1.69
func (m ListHostsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListHostsRequestMultiError) Error ¶ added in v2.1.69
func (m ListHostsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListHostsRequestValidationError ¶ added in v2.1.69
type ListHostsRequestValidationError struct {
// contains filtered or unexported fields
}
ListHostsRequestValidationError is the validation error returned by ListHostsRequest.Validate if the designated constraints aren't met.
func (ListHostsRequestValidationError) Cause ¶ added in v2.1.69
func (e ListHostsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListHostsRequestValidationError) Error ¶ added in v2.1.69
func (e ListHostsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListHostsRequestValidationError) ErrorName ¶ added in v2.1.69
func (e ListHostsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListHostsRequestValidationError) Field ¶ added in v2.1.69
func (e ListHostsRequestValidationError) Field() string
Field function returns field value.
func (ListHostsRequestValidationError) Key ¶ added in v2.1.69
func (e ListHostsRequestValidationError) Key() bool
Key function returns key value.
func (ListHostsRequestValidationError) Reason ¶ added in v2.1.69
func (e ListHostsRequestValidationError) Reason() string
Reason function returns reason value.
type ListHostsResponse ¶ added in v2.0.158
type ListHostsResponse struct {
// Hosts info.
Hosts []*v2.Host `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
// contains filtered or unexported fields
}
ListHostsResponse represents response of ListHosts.
func (*ListHostsResponse) Descriptor
deprecated
added in
v2.0.158
func (*ListHostsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListHostsResponse.ProtoReflect.Descriptor instead.
func (*ListHostsResponse) GetHosts ¶ added in v2.0.158
func (x *ListHostsResponse) GetHosts() []*v2.Host
func (*ListHostsResponse) ProtoMessage ¶ added in v2.0.158
func (*ListHostsResponse) ProtoMessage()
func (*ListHostsResponse) ProtoReflect ¶ added in v2.0.158
func (x *ListHostsResponse) ProtoReflect() protoreflect.Message
func (*ListHostsResponse) Reset ¶ added in v2.0.158
func (x *ListHostsResponse) Reset()
func (*ListHostsResponse) String ¶ added in v2.0.158
func (x *ListHostsResponse) String() string
func (*ListHostsResponse) Validate ¶ added in v2.0.158
func (m *ListHostsResponse) Validate() error
Validate checks the field values on ListHostsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListHostsResponse) ValidateAll ¶ added in v2.0.158
func (m *ListHostsResponse) ValidateAll() error
ValidateAll checks the field values on ListHostsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListHostsResponseMultiError, or nil if none found.
type ListHostsResponseMultiError ¶ added in v2.0.158
type ListHostsResponseMultiError []error
ListHostsResponseMultiError is an error wrapping multiple validation errors returned by ListHostsResponse.ValidateAll() if the designated constraints aren't met.
func (ListHostsResponseMultiError) AllErrors ¶ added in v2.0.158
func (m ListHostsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListHostsResponseMultiError) Error ¶ added in v2.0.158
func (m ListHostsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListHostsResponseValidationError ¶ added in v2.0.158
type ListHostsResponseValidationError struct {
// contains filtered or unexported fields
}
ListHostsResponseValidationError is the validation error returned by ListHostsResponse.Validate if the designated constraints aren't met.
func (ListHostsResponseValidationError) Cause ¶ added in v2.0.158
func (e ListHostsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListHostsResponseValidationError) Error ¶ added in v2.0.158
func (e ListHostsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListHostsResponseValidationError) ErrorName ¶ added in v2.0.158
func (e ListHostsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListHostsResponseValidationError) Field ¶ added in v2.0.158
func (e ListHostsResponseValidationError) Field() string
Field function returns field value.
func (ListHostsResponseValidationError) Key ¶ added in v2.0.158
func (e ListHostsResponseValidationError) Key() bool
Key function returns key value.
func (ListHostsResponseValidationError) Reason ¶ added in v2.0.158
func (e ListHostsResponseValidationError) Reason() string
Reason function returns reason value.
type NeedBackToSourceResponse ¶
type NeedBackToSourceResponse struct {
// The description of the back-to-source reason.
Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
NeedBackToSourceResponse represents need back-to-source response of AnnouncePeerResponse.
func (*NeedBackToSourceResponse) Descriptor
deprecated
func (*NeedBackToSourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use NeedBackToSourceResponse.ProtoReflect.Descriptor instead.
func (*NeedBackToSourceResponse) GetDescription ¶
func (x *NeedBackToSourceResponse) GetDescription() string
func (*NeedBackToSourceResponse) ProtoMessage ¶
func (*NeedBackToSourceResponse) ProtoMessage()
func (*NeedBackToSourceResponse) ProtoReflect ¶
func (x *NeedBackToSourceResponse) ProtoReflect() protoreflect.Message
func (*NeedBackToSourceResponse) Reset ¶
func (x *NeedBackToSourceResponse) Reset()
func (*NeedBackToSourceResponse) String ¶
func (x *NeedBackToSourceResponse) String() string
func (*NeedBackToSourceResponse) Validate ¶
func (m *NeedBackToSourceResponse) Validate() error
Validate checks the field values on NeedBackToSourceResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*NeedBackToSourceResponse) ValidateAll ¶
func (m *NeedBackToSourceResponse) ValidateAll() error
ValidateAll checks the field values on NeedBackToSourceResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NeedBackToSourceResponseMultiError, or nil if none found.
type NeedBackToSourceResponseMultiError ¶
type NeedBackToSourceResponseMultiError []error
NeedBackToSourceResponseMultiError is an error wrapping multiple validation errors returned by NeedBackToSourceResponse.ValidateAll() if the designated constraints aren't met.
func (NeedBackToSourceResponseMultiError) AllErrors ¶
func (m NeedBackToSourceResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NeedBackToSourceResponseMultiError) Error ¶
func (m NeedBackToSourceResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NeedBackToSourceResponseValidationError ¶
type NeedBackToSourceResponseValidationError struct {
// contains filtered or unexported fields
}
NeedBackToSourceResponseValidationError is the validation error returned by NeedBackToSourceResponse.Validate if the designated constraints aren't met.
func (NeedBackToSourceResponseValidationError) Cause ¶
func (e NeedBackToSourceResponseValidationError) Cause() error
Cause function returns cause value.
func (NeedBackToSourceResponseValidationError) Error ¶
func (e NeedBackToSourceResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NeedBackToSourceResponseValidationError) ErrorName ¶
func (e NeedBackToSourceResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NeedBackToSourceResponseValidationError) Field ¶
func (e NeedBackToSourceResponseValidationError) Field() string
Field function returns field value.
func (NeedBackToSourceResponseValidationError) Key ¶
func (e NeedBackToSourceResponseValidationError) Key() bool
Key function returns key value.
func (NeedBackToSourceResponseValidationError) Reason ¶
func (e NeedBackToSourceResponseValidationError) Reason() string
Reason function returns reason value.
type NormalCacheTaskResponse ¶ added in v2.0.121
type NormalCacheTaskResponse struct {
// Candidate parents.
CandidateParents []*v2.CachePeer `protobuf:"bytes,1,rep,name=candidate_parents,json=candidateParents,proto3" json:"candidate_parents,omitempty"`
// contains filtered or unexported fields
}
NormalCacheTaskResponse represents normal cache task response of AnnounceCachePeerResponse.
func (*NormalCacheTaskResponse) Descriptor
deprecated
added in
v2.0.121
func (*NormalCacheTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use NormalCacheTaskResponse.ProtoReflect.Descriptor instead.
func (*NormalCacheTaskResponse) GetCandidateParents ¶ added in v2.0.121
func (x *NormalCacheTaskResponse) GetCandidateParents() []*v2.CachePeer
func (*NormalCacheTaskResponse) ProtoMessage ¶ added in v2.0.121
func (*NormalCacheTaskResponse) ProtoMessage()
func (*NormalCacheTaskResponse) ProtoReflect ¶ added in v2.0.121
func (x *NormalCacheTaskResponse) ProtoReflect() protoreflect.Message
func (*NormalCacheTaskResponse) Reset ¶ added in v2.0.121
func (x *NormalCacheTaskResponse) Reset()
func (*NormalCacheTaskResponse) String ¶ added in v2.0.121
func (x *NormalCacheTaskResponse) String() string
func (*NormalCacheTaskResponse) Validate ¶ added in v2.0.121
func (m *NormalCacheTaskResponse) Validate() error
Validate checks the field values on NormalCacheTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*NormalCacheTaskResponse) ValidateAll ¶ added in v2.0.121
func (m *NormalCacheTaskResponse) ValidateAll() error
ValidateAll checks the field values on NormalCacheTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NormalCacheTaskResponseMultiError, or nil if none found.
type NormalCacheTaskResponseMultiError ¶ added in v2.0.121
type NormalCacheTaskResponseMultiError []error
NormalCacheTaskResponseMultiError is an error wrapping multiple validation errors returned by NormalCacheTaskResponse.ValidateAll() if the designated constraints aren't met.
func (NormalCacheTaskResponseMultiError) AllErrors ¶ added in v2.0.121
func (m NormalCacheTaskResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NormalCacheTaskResponseMultiError) Error ¶ added in v2.0.121
func (m NormalCacheTaskResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NormalCacheTaskResponseValidationError ¶ added in v2.0.121
type NormalCacheTaskResponseValidationError struct {
// contains filtered or unexported fields
}
NormalCacheTaskResponseValidationError is the validation error returned by NormalCacheTaskResponse.Validate if the designated constraints aren't met.
func (NormalCacheTaskResponseValidationError) Cause ¶ added in v2.0.121
func (e NormalCacheTaskResponseValidationError) Cause() error
Cause function returns cause value.
func (NormalCacheTaskResponseValidationError) Error ¶ added in v2.0.121
func (e NormalCacheTaskResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NormalCacheTaskResponseValidationError) ErrorName ¶ added in v2.0.121
func (e NormalCacheTaskResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NormalCacheTaskResponseValidationError) Field ¶ added in v2.0.121
func (e NormalCacheTaskResponseValidationError) Field() string
Field function returns field value.
func (NormalCacheTaskResponseValidationError) Key ¶ added in v2.0.121
func (e NormalCacheTaskResponseValidationError) Key() bool
Key function returns key value.
func (NormalCacheTaskResponseValidationError) Reason ¶ added in v2.0.121
func (e NormalCacheTaskResponseValidationError) Reason() string
Reason function returns reason value.
type NormalPersistentCacheTaskResponse ¶ added in v2.0.161
type NormalPersistentCacheTaskResponse struct {
// Candidate parents.
CandidateParents []*v2.PersistentCachePeer `protobuf:"bytes,1,rep,name=candidate_parents,json=candidateParents,proto3" json:"candidate_parents,omitempty"`
// contains filtered or unexported fields
}
NormalPersistentCacheTaskResponse represents normal persistent cache task response of AnnouncePersistentCachePeerResponse.
func (*NormalPersistentCacheTaskResponse) Descriptor
deprecated
added in
v2.0.161
func (*NormalPersistentCacheTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use NormalPersistentCacheTaskResponse.ProtoReflect.Descriptor instead.
func (*NormalPersistentCacheTaskResponse) GetCandidateParents ¶ added in v2.0.161
func (x *NormalPersistentCacheTaskResponse) GetCandidateParents() []*v2.PersistentCachePeer
func (*NormalPersistentCacheTaskResponse) ProtoMessage ¶ added in v2.0.161
func (*NormalPersistentCacheTaskResponse) ProtoMessage()
func (*NormalPersistentCacheTaskResponse) ProtoReflect ¶ added in v2.0.161
func (x *NormalPersistentCacheTaskResponse) ProtoReflect() protoreflect.Message
func (*NormalPersistentCacheTaskResponse) Reset ¶ added in v2.0.161
func (x *NormalPersistentCacheTaskResponse) Reset()
func (*NormalPersistentCacheTaskResponse) String ¶ added in v2.0.161
func (x *NormalPersistentCacheTaskResponse) String() string
func (*NormalPersistentCacheTaskResponse) Validate ¶ added in v2.0.161
func (m *NormalPersistentCacheTaskResponse) Validate() error
Validate checks the field values on NormalPersistentCacheTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*NormalPersistentCacheTaskResponse) ValidateAll ¶ added in v2.0.161
func (m *NormalPersistentCacheTaskResponse) ValidateAll() error
ValidateAll checks the field values on NormalPersistentCacheTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NormalPersistentCacheTaskResponseMultiError, or nil if none found.
type NormalPersistentCacheTaskResponseMultiError ¶ added in v2.0.161
type NormalPersistentCacheTaskResponseMultiError []error
NormalPersistentCacheTaskResponseMultiError is an error wrapping multiple validation errors returned by NormalPersistentCacheTaskResponse.ValidateAll() if the designated constraints aren't met.
func (NormalPersistentCacheTaskResponseMultiError) AllErrors ¶ added in v2.0.161
func (m NormalPersistentCacheTaskResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NormalPersistentCacheTaskResponseMultiError) Error ¶ added in v2.0.161
func (m NormalPersistentCacheTaskResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NormalPersistentCacheTaskResponseValidationError ¶ added in v2.0.161
type NormalPersistentCacheTaskResponseValidationError struct {
// contains filtered or unexported fields
}
NormalPersistentCacheTaskResponseValidationError is the validation error returned by NormalPersistentCacheTaskResponse.Validate if the designated constraints aren't met.
func (NormalPersistentCacheTaskResponseValidationError) Cause ¶ added in v2.0.161
func (e NormalPersistentCacheTaskResponseValidationError) Cause() error
Cause function returns cause value.
func (NormalPersistentCacheTaskResponseValidationError) Error ¶ added in v2.0.161
func (e NormalPersistentCacheTaskResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NormalPersistentCacheTaskResponseValidationError) ErrorName ¶ added in v2.0.161
func (e NormalPersistentCacheTaskResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NormalPersistentCacheTaskResponseValidationError) Field ¶ added in v2.0.161
func (e NormalPersistentCacheTaskResponseValidationError) Field() string
Field function returns field value.
func (NormalPersistentCacheTaskResponseValidationError) Key ¶ added in v2.0.161
func (e NormalPersistentCacheTaskResponseValidationError) Key() bool
Key function returns key value.
func (NormalPersistentCacheTaskResponseValidationError) Reason ¶ added in v2.0.161
func (e NormalPersistentCacheTaskResponseValidationError) Reason() string
Reason function returns reason value.
type NormalPersistentTaskResponse ¶ added in v2.1.86
type NormalPersistentTaskResponse struct {
// Candidate parents.
CandidateParents []*v2.PersistentPeer `protobuf:"bytes,1,rep,name=candidate_parents,json=candidateParents,proto3" json:"candidate_parents,omitempty"`
// contains filtered or unexported fields
}
NormalPersistentTaskResponse represents normal persistent task response of AnnouncePersistentPeerResponse.
func (*NormalPersistentTaskResponse) Descriptor
deprecated
added in
v2.1.86
func (*NormalPersistentTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use NormalPersistentTaskResponse.ProtoReflect.Descriptor instead.
func (*NormalPersistentTaskResponse) GetCandidateParents ¶ added in v2.1.86
func (x *NormalPersistentTaskResponse) GetCandidateParents() []*v2.PersistentPeer
func (*NormalPersistentTaskResponse) ProtoMessage ¶ added in v2.1.86
func (*NormalPersistentTaskResponse) ProtoMessage()
func (*NormalPersistentTaskResponse) ProtoReflect ¶ added in v2.1.86
func (x *NormalPersistentTaskResponse) ProtoReflect() protoreflect.Message
func (*NormalPersistentTaskResponse) Reset ¶ added in v2.1.86
func (x *NormalPersistentTaskResponse) Reset()
func (*NormalPersistentTaskResponse) String ¶ added in v2.1.86
func (x *NormalPersistentTaskResponse) String() string
func (*NormalPersistentTaskResponse) Validate ¶ added in v2.1.86
func (m *NormalPersistentTaskResponse) Validate() error
Validate checks the field values on NormalPersistentTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*NormalPersistentTaskResponse) ValidateAll ¶ added in v2.1.86
func (m *NormalPersistentTaskResponse) ValidateAll() error
ValidateAll checks the field values on NormalPersistentTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NormalPersistentTaskResponseMultiError, or nil if none found.
type NormalPersistentTaskResponseMultiError ¶ added in v2.1.86
type NormalPersistentTaskResponseMultiError []error
NormalPersistentTaskResponseMultiError is an error wrapping multiple validation errors returned by NormalPersistentTaskResponse.ValidateAll() if the designated constraints aren't met.
func (NormalPersistentTaskResponseMultiError) AllErrors ¶ added in v2.1.86
func (m NormalPersistentTaskResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NormalPersistentTaskResponseMultiError) Error ¶ added in v2.1.86
func (m NormalPersistentTaskResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NormalPersistentTaskResponseValidationError ¶ added in v2.1.86
type NormalPersistentTaskResponseValidationError struct {
// contains filtered or unexported fields
}
NormalPersistentTaskResponseValidationError is the validation error returned by NormalPersistentTaskResponse.Validate if the designated constraints aren't met.
func (NormalPersistentTaskResponseValidationError) Cause ¶ added in v2.1.86
func (e NormalPersistentTaskResponseValidationError) Cause() error
Cause function returns cause value.
func (NormalPersistentTaskResponseValidationError) Error ¶ added in v2.1.86
func (e NormalPersistentTaskResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NormalPersistentTaskResponseValidationError) ErrorName ¶ added in v2.1.86
func (e NormalPersistentTaskResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NormalPersistentTaskResponseValidationError) Field ¶ added in v2.1.86
func (e NormalPersistentTaskResponseValidationError) Field() string
Field function returns field value.
func (NormalPersistentTaskResponseValidationError) Key ¶ added in v2.1.86
func (e NormalPersistentTaskResponseValidationError) Key() bool
Key function returns key value.
func (NormalPersistentTaskResponseValidationError) Reason ¶ added in v2.1.86
func (e NormalPersistentTaskResponseValidationError) Reason() string
Reason function returns reason value.
type NormalTaskResponse ¶
type NormalTaskResponse struct {
// Candidate parents.
CandidateParents []*v2.Peer `protobuf:"bytes,1,rep,name=candidate_parents,json=candidateParents,proto3" json:"candidate_parents,omitempty"`
// contains filtered or unexported fields
}
NormalTaskResponse represents normal task response of AnnouncePeerResponse.
func (*NormalTaskResponse) Descriptor
deprecated
func (*NormalTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use NormalTaskResponse.ProtoReflect.Descriptor instead.
func (*NormalTaskResponse) GetCandidateParents ¶
func (x *NormalTaskResponse) GetCandidateParents() []*v2.Peer
func (*NormalTaskResponse) ProtoMessage ¶
func (*NormalTaskResponse) ProtoMessage()
func (*NormalTaskResponse) ProtoReflect ¶
func (x *NormalTaskResponse) ProtoReflect() protoreflect.Message
func (*NormalTaskResponse) Reset ¶
func (x *NormalTaskResponse) Reset()
func (*NormalTaskResponse) String ¶
func (x *NormalTaskResponse) String() string
func (*NormalTaskResponse) Validate ¶
func (m *NormalTaskResponse) Validate() error
Validate checks the field values on NormalTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*NormalTaskResponse) ValidateAll ¶
func (m *NormalTaskResponse) ValidateAll() error
ValidateAll checks the field values on NormalTaskResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in NormalTaskResponseMultiError, or nil if none found.
type NormalTaskResponseMultiError ¶
type NormalTaskResponseMultiError []error
NormalTaskResponseMultiError is an error wrapping multiple validation errors returned by NormalTaskResponse.ValidateAll() if the designated constraints aren't met.
func (NormalTaskResponseMultiError) AllErrors ¶
func (m NormalTaskResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (NormalTaskResponseMultiError) Error ¶
func (m NormalTaskResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type NormalTaskResponseValidationError ¶
type NormalTaskResponseValidationError struct {
// contains filtered or unexported fields
}
NormalTaskResponseValidationError is the validation error returned by NormalTaskResponse.Validate if the designated constraints aren't met.
func (NormalTaskResponseValidationError) Cause ¶
func (e NormalTaskResponseValidationError) Cause() error
Cause function returns cause value.
func (NormalTaskResponseValidationError) Error ¶
func (e NormalTaskResponseValidationError) Error() string
Error satisfies the builtin error interface
func (NormalTaskResponseValidationError) ErrorName ¶
func (e NormalTaskResponseValidationError) ErrorName() string
ErrorName returns error name.
func (NormalTaskResponseValidationError) Field ¶
func (e NormalTaskResponseValidationError) Field() string
Field function returns field value.
func (NormalTaskResponseValidationError) Key ¶
func (e NormalTaskResponseValidationError) Key() bool
Key function returns key value.
func (NormalTaskResponseValidationError) Reason ¶
func (e NormalTaskResponseValidationError) Reason() string
Reason function returns reason value.
type PeerFile ¶ added in v2.1.73
type PeerFile struct {
// IP is the IP address of the peer.
Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
// Hostname is the hostname of the peer.
Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
// CachedFiles is the list of files that the peer has downloaded.
CachedFiles []*File `protobuf:"bytes,3,rep,name=cached_files,json=cachedFiles,proto3" json:"cached_files,omitempty"`
// contains filtered or unexported fields
}
PeerFile represents a peer in the get file job.
func (*PeerFile) Descriptor
deprecated
added in
v2.1.73
func (*PeerFile) GetCachedFiles ¶ added in v2.1.91
func (*PeerFile) GetHostname ¶ added in v2.1.73
func (*PeerFile) ProtoMessage ¶ added in v2.1.73
func (*PeerFile) ProtoMessage()
func (*PeerFile) ProtoReflect ¶ added in v2.1.73
func (x *PeerFile) ProtoReflect() protoreflect.Message
func (*PeerFile) Validate ¶ added in v2.1.73
Validate checks the field values on PeerFile with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PeerFile) ValidateAll ¶ added in v2.1.73
ValidateAll checks the field values on PeerFile with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PeerFileMultiError, or nil if none found.
type PeerFileMultiError ¶ added in v2.1.73
type PeerFileMultiError []error
PeerFileMultiError is an error wrapping multiple validation errors returned by PeerFile.ValidateAll() if the designated constraints aren't met.
func (PeerFileMultiError) AllErrors ¶ added in v2.1.73
func (m PeerFileMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PeerFileMultiError) Error ¶ added in v2.1.73
func (m PeerFileMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PeerFileValidationError ¶ added in v2.1.73
type PeerFileValidationError struct {
// contains filtered or unexported fields
}
PeerFileValidationError is the validation error returned by PeerFile.Validate if the designated constraints aren't met.
func (PeerFileValidationError) Cause ¶ added in v2.1.73
func (e PeerFileValidationError) Cause() error
Cause function returns cause value.
func (PeerFileValidationError) Error ¶ added in v2.1.73
func (e PeerFileValidationError) Error() string
Error satisfies the builtin error interface
func (PeerFileValidationError) ErrorName ¶ added in v2.1.73
func (e PeerFileValidationError) ErrorName() string
ErrorName returns error name.
func (PeerFileValidationError) Field ¶ added in v2.1.73
func (e PeerFileValidationError) Field() string
Field function returns field value.
func (PeerFileValidationError) Key ¶ added in v2.1.73
func (e PeerFileValidationError) Key() bool
Key function returns key value.
func (PeerFileValidationError) Reason ¶ added in v2.1.73
func (e PeerFileValidationError) Reason() string
Reason function returns reason value.
type PeerImage ¶ added in v2.1.52
type PeerImage struct {
// IP is the IP address of the peer.
Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
// Hostname is the hostname of the peer.
Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
// CachedLayers is the list of layers that the peer has downloaded.
CachedLayers []*Layer `protobuf:"bytes,3,rep,name=cached_layers,json=cachedLayers,proto3" json:"cached_layers,omitempty"`
// contains filtered or unexported fields
}
PeerImage represents a peer in the get image job.
func (*PeerImage) Descriptor
deprecated
added in
v2.1.52
func (*PeerImage) GetCachedLayers ¶ added in v2.1.52
func (*PeerImage) GetHostname ¶ added in v2.1.52
func (*PeerImage) ProtoMessage ¶ added in v2.1.52
func (*PeerImage) ProtoMessage()
func (*PeerImage) ProtoReflect ¶ added in v2.1.52
func (x *PeerImage) ProtoReflect() protoreflect.Message
func (*PeerImage) Validate ¶ added in v2.1.52
Validate checks the field values on PeerImage with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PeerImage) ValidateAll ¶ added in v2.1.52
ValidateAll checks the field values on PeerImage with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PeerImageMultiError, or nil if none found.
type PeerImageMultiError ¶ added in v2.1.52
type PeerImageMultiError []error
PeerImageMultiError is an error wrapping multiple validation errors returned by PeerImage.ValidateAll() if the designated constraints aren't met.
func (PeerImageMultiError) AllErrors ¶ added in v2.1.52
func (m PeerImageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PeerImageMultiError) Error ¶ added in v2.1.52
func (m PeerImageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PeerImageValidationError ¶ added in v2.1.52
type PeerImageValidationError struct {
// contains filtered or unexported fields
}
PeerImageValidationError is the validation error returned by PeerImage.Validate if the designated constraints aren't met.
func (PeerImageValidationError) Cause ¶ added in v2.1.52
func (e PeerImageValidationError) Cause() error
Cause function returns cause value.
func (PeerImageValidationError) Error ¶ added in v2.1.52
func (e PeerImageValidationError) Error() string
Error satisfies the builtin error interface
func (PeerImageValidationError) ErrorName ¶ added in v2.1.52
func (e PeerImageValidationError) ErrorName() string
ErrorName returns error name.
func (PeerImageValidationError) Field ¶ added in v2.1.52
func (e PeerImageValidationError) Field() string
Field function returns field value.
func (PeerImageValidationError) Key ¶ added in v2.1.52
func (e PeerImageValidationError) Key() bool
Key function returns key value.
func (PeerImageValidationError) Reason ¶ added in v2.1.52
func (e PeerImageValidationError) Reason() string
Reason function returns reason value.
type PreheatFileRequest ¶ added in v2.1.73
type PreheatFileRequest struct {
// URL is the file url for preheating.
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// Piece Length is the piece length(bytes) for downloading file. The value needs to
// be greater than 4MiB (4,194,304 bytes) and less than 64MiB (67,108,864 bytes),
// for example: 4194304(4mib), 8388608(8mib). If the piece length is not specified,
// the piece length will be calculated according to the file size.
PieceLength *uint64 `protobuf:"varint,2,opt,name=piece_length,json=pieceLength,proto3,oneof" json:"piece_length,omitempty"`
// Tag is the tag for preheating.
Tag *string `protobuf:"bytes,3,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
// Application is the application string for preheating.
Application *string `protobuf:"bytes,4,opt,name=application,proto3,oneof" json:"application,omitempty"`
// Filtered query params to generate the task id.
// When filter is ["Signature", "Expires", "ns"], for example:
// http://example.com/xyz?Expires=e1&Signature=s1&ns=docker.io and http://example.com/xyz?Expires=e2&Signature=s2&ns=docker.io
// will generate the same task id.
// Default value includes the filtered query params of s3, gcs, oss, obs, cos.
FilteredQueryParams []string `protobuf:"bytes,5,rep,name=filtered_query_params,json=filteredQueryParams,proto3" json:"filtered_query_params,omitempty"`
// Header is the http headers for authentication.
Header map[string]string `` /* 153-byte string literal not displayed */
// Scope is the scope for preheating, it can be one of the following values:
// - single_seed_peer: preheat from a single seed peer.
// - all_peers: preheat from all available peers.
// - all_seed_peers: preheat from all seed peers.
Scope string `protobuf:"bytes,7,opt,name=scope,proto3" json:"scope,omitempty"`
// IPs is a list of specific peer IPs for preheating.
// This field has the highest priority: if provided, both 'Count' and 'Percentage' will be ignored.
// Applies to 'all_peers' and 'all_seed_peers' scopes.
Ips []string `protobuf:"bytes,8,rep,name=ips,proto3" json:"ips,omitempty"`
// Percentage is the percentage of available peers to preheat.
// This field has the lowest priority and is only used if both 'IPs' and 'Count' are not provided.
// It must be a value between 1 and 100 (inclusive) if provided.
// Applies to 'all_peers' and 'all_seed_peers' scopes.
Percentage *uint32 `protobuf:"varint,9,opt,name=percentage,proto3,oneof" json:"percentage,omitempty"`
// Count is the desired number of peers to preheat.
// This field is used only when 'IPs' is not specified. It has priority over 'Percentage'.
// It must be a value between 1 and 200 (inclusive) if provided.
// Applies to 'all_peers' and 'all_seed_peers' scopes.
Count *uint32 `protobuf:"varint,10,opt,name=count,proto3,oneof" json:"count,omitempty"`
// ConcurrentTaskCount specifies the maximum number of tasks to preheat concurrently.
// For example, if preheating 100 files with ConcurrentTaskCount set to 10, up to 10 files are processed simultaneously.
// If ConcurrentPeerCount is 10 for 1000 peers, each file is preheated by 10 peers concurrently.
// Default is 8, maximum is 100.
ConcurrentTaskCount *int64 `` /* 128-byte string literal not displayed */
// ConcurrentPeerCount specifies the maximum number of peers to preheat concurrently for a single task.
// For example, if preheating a file with ConcurrentPeerCount set to 10, up to 10 peers process that file simultaneously.
// Default is 500, maximum is 1000.
ConcurrentPeerCount *int64 `` /* 128-byte string literal not displayed */
// Timeout is the timeout for preheating, default is 30 minutes.
Timeout *durationpb.Duration `protobuf:"bytes,13,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// Preheat priority.
Priority v2.Priority `protobuf:"varint,14,opt,name=priority,proto3,enum=common.v2.Priority" json:"priority,omitempty"`
// certificate_chain is the client certs with DER format for the backend client.
CertificateChain [][]byte `protobuf:"bytes,15,rep,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
// insecure_skip_verify indicates whether to skip TLS verification.
InsecureSkipVerify bool `protobuf:"varint,16,opt,name=insecure_skip_verify,json=insecureSkipVerify,proto3" json:"insecure_skip_verify,omitempty"`
// Object storage protocol information.
ObjectStorage *v2.ObjectStorage `protobuf:"bytes,17,opt,name=object_storage,json=objectStorage,proto3,oneof" json:"object_storage,omitempty"`
// HDFS protocol information.
Hdfs *v2.HDFS `protobuf:"bytes,18,opt,name=hdfs,proto3,oneof" json:"hdfs,omitempty"`
// output_path is the path to preheat the file or directory to destination.
OutputPath *string `protobuf:"bytes,19,opt,name=output_path,json=outputPath,proto3,oneof" json:"output_path,omitempty"`
// contains filtered or unexported fields
}
PreheatFileRequest represents request of PreheatFile.
func (*PreheatFileRequest) Descriptor
deprecated
added in
v2.1.73
func (*PreheatFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreheatFileRequest.ProtoReflect.Descriptor instead.
func (*PreheatFileRequest) GetApplication ¶ added in v2.1.73
func (x *PreheatFileRequest) GetApplication() string
func (*PreheatFileRequest) GetCertificateChain ¶ added in v2.1.73
func (x *PreheatFileRequest) GetCertificateChain() [][]byte
func (*PreheatFileRequest) GetConcurrentPeerCount ¶ added in v2.1.73
func (x *PreheatFileRequest) GetConcurrentPeerCount() int64
func (*PreheatFileRequest) GetConcurrentTaskCount ¶ added in v2.1.73
func (x *PreheatFileRequest) GetConcurrentTaskCount() int64
func (*PreheatFileRequest) GetCount ¶ added in v2.1.73
func (x *PreheatFileRequest) GetCount() uint32
func (*PreheatFileRequest) GetFilteredQueryParams ¶ added in v2.1.73
func (x *PreheatFileRequest) GetFilteredQueryParams() []string
func (*PreheatFileRequest) GetHdfs ¶ added in v2.1.73
func (x *PreheatFileRequest) GetHdfs() *v2.HDFS
func (*PreheatFileRequest) GetHeader ¶ added in v2.1.73
func (x *PreheatFileRequest) GetHeader() map[string]string
func (*PreheatFileRequest) GetInsecureSkipVerify ¶ added in v2.1.73
func (x *PreheatFileRequest) GetInsecureSkipVerify() bool
func (*PreheatFileRequest) GetIps ¶ added in v2.1.73
func (x *PreheatFileRequest) GetIps() []string
func (*PreheatFileRequest) GetObjectStorage ¶ added in v2.1.73
func (x *PreheatFileRequest) GetObjectStorage() *v2.ObjectStorage
func (*PreheatFileRequest) GetOutputPath ¶ added in v2.1.84
func (x *PreheatFileRequest) GetOutputPath() string
func (*PreheatFileRequest) GetPercentage ¶ added in v2.1.73
func (x *PreheatFileRequest) GetPercentage() uint32
func (*PreheatFileRequest) GetPieceLength ¶ added in v2.1.73
func (x *PreheatFileRequest) GetPieceLength() uint64
func (*PreheatFileRequest) GetPriority ¶ added in v2.1.73
func (x *PreheatFileRequest) GetPriority() v2.Priority
func (*PreheatFileRequest) GetScope ¶ added in v2.1.73
func (x *PreheatFileRequest) GetScope() string
func (*PreheatFileRequest) GetTag ¶ added in v2.1.73
func (x *PreheatFileRequest) GetTag() string
func (*PreheatFileRequest) GetTimeout ¶ added in v2.1.73
func (x *PreheatFileRequest) GetTimeout() *durationpb.Duration
func (*PreheatFileRequest) GetUrl ¶ added in v2.1.73
func (x *PreheatFileRequest) GetUrl() string
func (*PreheatFileRequest) ProtoMessage ¶ added in v2.1.73
func (*PreheatFileRequest) ProtoMessage()
func (*PreheatFileRequest) ProtoReflect ¶ added in v2.1.73
func (x *PreheatFileRequest) ProtoReflect() protoreflect.Message
func (*PreheatFileRequest) Reset ¶ added in v2.1.73
func (x *PreheatFileRequest) Reset()
func (*PreheatFileRequest) String ¶ added in v2.1.73
func (x *PreheatFileRequest) String() string
func (*PreheatFileRequest) Validate ¶ added in v2.1.73
func (m *PreheatFileRequest) Validate() error
Validate checks the field values on PreheatFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PreheatFileRequest) ValidateAll ¶ added in v2.1.73
func (m *PreheatFileRequest) ValidateAll() error
ValidateAll checks the field values on PreheatFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PreheatFileRequestMultiError, or nil if none found.
type PreheatFileRequestMultiError ¶ added in v2.1.73
type PreheatFileRequestMultiError []error
PreheatFileRequestMultiError is an error wrapping multiple validation errors returned by PreheatFileRequest.ValidateAll() if the designated constraints aren't met.
func (PreheatFileRequestMultiError) AllErrors ¶ added in v2.1.73
func (m PreheatFileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PreheatFileRequestMultiError) Error ¶ added in v2.1.73
func (m PreheatFileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PreheatFileRequestValidationError ¶ added in v2.1.73
type PreheatFileRequestValidationError struct {
// contains filtered or unexported fields
}
PreheatFileRequestValidationError is the validation error returned by PreheatFileRequest.Validate if the designated constraints aren't met.
func (PreheatFileRequestValidationError) Cause ¶ added in v2.1.73
func (e PreheatFileRequestValidationError) Cause() error
Cause function returns cause value.
func (PreheatFileRequestValidationError) Error ¶ added in v2.1.73
func (e PreheatFileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PreheatFileRequestValidationError) ErrorName ¶ added in v2.1.73
func (e PreheatFileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PreheatFileRequestValidationError) Field ¶ added in v2.1.73
func (e PreheatFileRequestValidationError) Field() string
Field function returns field value.
func (PreheatFileRequestValidationError) Key ¶ added in v2.1.73
func (e PreheatFileRequestValidationError) Key() bool
Key function returns key value.
func (PreheatFileRequestValidationError) Reason ¶ added in v2.1.73
func (e PreheatFileRequestValidationError) Reason() string
Reason function returns reason value.
type PreheatImageRequest ¶ added in v2.1.52
type PreheatImageRequest struct {
// URL is the image manifest url for preheating.
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// Piece Length is the piece length(bytes) for downloading file. The value needs to
// be greater than 4MiB (4,194,304 bytes) and less than 64MiB (67,108,864 bytes),
// for example: 4194304(4mib), 8388608(8mib). If the piece length is not specified,
// the piece length will be calculated according to the file size.
PieceLength *uint64 `protobuf:"varint,2,opt,name=piece_length,json=pieceLength,proto3,oneof" json:"piece_length,omitempty"`
// Tag is the tag for preheating.
Tag *string `protobuf:"bytes,3,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
// Application is the application string for preheating.
Application *string `protobuf:"bytes,4,opt,name=application,proto3,oneof" json:"application,omitempty"`
// Filtered query params to generate the task id.
// When filter is ["Signature", "Expires", "ns"], for example:
// http://example.com/xyz?Expires=e1&Signature=s1&ns=docker.io and http://example.com/xyz?Expires=e2&Signature=s2&ns=docker.io
// will generate the same task id.
// Default value includes the filtered query params of s3, gcs, oss, obs, cos.
FilteredQueryParams []string `protobuf:"bytes,5,rep,name=filtered_query_params,json=filteredQueryParams,proto3" json:"filtered_query_params,omitempty"`
// Header is the http headers for authentication.
Header map[string]string `` /* 153-byte string literal not displayed */
// Username is the username for authentication.
Username *string `protobuf:"bytes,7,opt,name=username,proto3,oneof" json:"username,omitempty"`
// Password is the password for authentication.
Password *string `protobuf:"bytes,8,opt,name=password,proto3,oneof" json:"password,omitempty"`
// Platform is the platform for preheating, such as linux/amd64, linux/arm64, etc.
Platform *string `protobuf:"bytes,9,opt,name=platform,proto3,oneof" json:"platform,omitempty"`
// Scope is the scope for preheating, it can be one of the following values:
// - single_seed_peer: preheat from a single seed peer.
// - all_seed_peers: preheat from all seed peers.
// - all_peers: preheat from all available peers.
Scope string `protobuf:"bytes,10,opt,name=scope,proto3" json:"scope,omitempty"`
// IPs is a list of specific peer IPs for preheating.
// This field has the highest priority: if provided, both 'Count' and 'Percentage' will be ignored.
// Applies to 'all_peers' and 'all_seed_peers' scopes.
Ips []string `protobuf:"bytes,11,rep,name=ips,proto3" json:"ips,omitempty"`
// Percentage is the percentage of available peers to preheat.
// This field has the lowest priority and is only used if both 'IPs' and 'Count' are not provided.
// It must be a value between 1 and 100 (inclusive) if provided.
// Applies to 'all_peers' and 'all_seed_peers' scopes.
Percentage *uint32 `protobuf:"varint,12,opt,name=percentage,proto3,oneof" json:"percentage,omitempty"`
// Count is the desired number of peers to preheat.
// This field is used only when 'IPs' is not specified. It has priority over 'Percentage'.
// It must be a value between 1 and 200 (inclusive) if provided.
// Applies to 'all_peers' and 'all_seed_peers' scopes.
Count *uint32 `protobuf:"varint,13,opt,name=count,proto3,oneof" json:"count,omitempty"`
// ConcurrentTaskCount specifies the maximum number of tasks (e.g., image layers) to preheat concurrently.
// For example, if preheating 100 layers with ConcurrentTaskCount set to 10, up to 10 layers are processed simultaneously.
// If ConcurrentPeerCount is 10 for 1000 peers, each layer is preheated by 10 peers concurrently.
// Default is 8, maximum is 100.
ConcurrentTaskCount *int64 `` /* 128-byte string literal not displayed */
// ConcurrentPeerCount specifies the maximum number of peers to preheat concurrently for a single task (e.g., an image layer).
// For example, if preheating a layer with ConcurrentPeerCount set to 10, up to 10 peers process that layer simultaneously.
// Default is 500, maximum is 1000.
ConcurrentPeerCount *int64 `` /* 128-byte string literal not displayed */
// Timeout is the timeout for preheating, default is 30 minutes.
Timeout *durationpb.Duration `protobuf:"bytes,16,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// Preheat priority.
Priority v2.Priority `protobuf:"varint,17,opt,name=priority,proto3,enum=common.v2.Priority" json:"priority,omitempty"`
// certificate_chain is the client certs with DER format for the backend client.
CertificateChain [][]byte `protobuf:"bytes,18,rep,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
// insecure_skip_verify indicates whether to skip TLS verification.
InsecureSkipVerify bool `protobuf:"varint,19,opt,name=insecure_skip_verify,json=insecureSkipVerify,proto3" json:"insecure_skip_verify,omitempty"`
// contains filtered or unexported fields
}
PreheatImageRequest represents request of PreheatImage.
func (*PreheatImageRequest) Descriptor
deprecated
added in
v2.1.52
func (*PreheatImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreheatImageRequest.ProtoReflect.Descriptor instead.
func (*PreheatImageRequest) GetApplication ¶ added in v2.1.52
func (x *PreheatImageRequest) GetApplication() string
func (*PreheatImageRequest) GetCertificateChain ¶ added in v2.1.53
func (x *PreheatImageRequest) GetCertificateChain() [][]byte
func (*PreheatImageRequest) GetConcurrentPeerCount ¶ added in v2.1.52
func (x *PreheatImageRequest) GetConcurrentPeerCount() int64
func (*PreheatImageRequest) GetConcurrentTaskCount ¶ added in v2.1.52
func (x *PreheatImageRequest) GetConcurrentTaskCount() int64
func (*PreheatImageRequest) GetCount ¶ added in v2.1.52
func (x *PreheatImageRequest) GetCount() uint32
func (*PreheatImageRequest) GetFilteredQueryParams ¶ added in v2.1.52
func (x *PreheatImageRequest) GetFilteredQueryParams() []string
func (*PreheatImageRequest) GetHeader ¶ added in v2.1.52
func (x *PreheatImageRequest) GetHeader() map[string]string
func (*PreheatImageRequest) GetInsecureSkipVerify ¶ added in v2.1.53
func (x *PreheatImageRequest) GetInsecureSkipVerify() bool
func (*PreheatImageRequest) GetIps ¶ added in v2.1.52
func (x *PreheatImageRequest) GetIps() []string
func (*PreheatImageRequest) GetPassword ¶ added in v2.1.52
func (x *PreheatImageRequest) GetPassword() string
func (*PreheatImageRequest) GetPercentage ¶ added in v2.1.52
func (x *PreheatImageRequest) GetPercentage() uint32
func (*PreheatImageRequest) GetPieceLength ¶ added in v2.1.52
func (x *PreheatImageRequest) GetPieceLength() uint64
func (*PreheatImageRequest) GetPlatform ¶ added in v2.1.52
func (x *PreheatImageRequest) GetPlatform() string
func (*PreheatImageRequest) GetPriority ¶ added in v2.1.53
func (x *PreheatImageRequest) GetPriority() v2.Priority
func (*PreheatImageRequest) GetScope ¶ added in v2.1.52
func (x *PreheatImageRequest) GetScope() string
func (*PreheatImageRequest) GetTag ¶ added in v2.1.52
func (x *PreheatImageRequest) GetTag() string
func (*PreheatImageRequest) GetTimeout ¶ added in v2.1.52
func (x *PreheatImageRequest) GetTimeout() *durationpb.Duration
func (*PreheatImageRequest) GetUrl ¶ added in v2.1.52
func (x *PreheatImageRequest) GetUrl() string
func (*PreheatImageRequest) GetUsername ¶ added in v2.1.52
func (x *PreheatImageRequest) GetUsername() string
func (*PreheatImageRequest) ProtoMessage ¶ added in v2.1.52
func (*PreheatImageRequest) ProtoMessage()
func (*PreheatImageRequest) ProtoReflect ¶ added in v2.1.52
func (x *PreheatImageRequest) ProtoReflect() protoreflect.Message
func (*PreheatImageRequest) Reset ¶ added in v2.1.52
func (x *PreheatImageRequest) Reset()
func (*PreheatImageRequest) String ¶ added in v2.1.52
func (x *PreheatImageRequest) String() string
func (*PreheatImageRequest) Validate ¶ added in v2.1.52
func (m *PreheatImageRequest) Validate() error
Validate checks the field values on PreheatImageRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PreheatImageRequest) ValidateAll ¶ added in v2.1.52
func (m *PreheatImageRequest) ValidateAll() error
ValidateAll checks the field values on PreheatImageRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PreheatImageRequestMultiError, or nil if none found.
type PreheatImageRequestMultiError ¶ added in v2.1.52
type PreheatImageRequestMultiError []error
PreheatImageRequestMultiError is an error wrapping multiple validation errors returned by PreheatImageRequest.ValidateAll() if the designated constraints aren't met.
func (PreheatImageRequestMultiError) AllErrors ¶ added in v2.1.52
func (m PreheatImageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PreheatImageRequestMultiError) Error ¶ added in v2.1.52
func (m PreheatImageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PreheatImageRequestValidationError ¶ added in v2.1.52
type PreheatImageRequestValidationError struct {
// contains filtered or unexported fields
}
PreheatImageRequestValidationError is the validation error returned by PreheatImageRequest.Validate if the designated constraints aren't met.
func (PreheatImageRequestValidationError) Cause ¶ added in v2.1.52
func (e PreheatImageRequestValidationError) Cause() error
Cause function returns cause value.
func (PreheatImageRequestValidationError) Error ¶ added in v2.1.52
func (e PreheatImageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PreheatImageRequestValidationError) ErrorName ¶ added in v2.1.52
func (e PreheatImageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PreheatImageRequestValidationError) Field ¶ added in v2.1.52
func (e PreheatImageRequestValidationError) Field() string
Field function returns field value.
func (PreheatImageRequestValidationError) Key ¶ added in v2.1.52
func (e PreheatImageRequestValidationError) Key() bool
Key function returns key value.
func (PreheatImageRequestValidationError) Reason ¶ added in v2.1.52
func (e PreheatImageRequestValidationError) Reason() string
Reason function returns reason value.
type RegisterCachePeerRequest ¶ added in v2.0.121
type RegisterCachePeerRequest struct {
// Download url.
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// Digest of the task digest, for example blake3:xxx or sha256:yyy.
Digest *string `protobuf:"bytes,2,opt,name=digest,proto3,oneof" json:"digest,omitempty"`
// Range is url range of request. If protocol is http, range
// will set in request header. If protocol is others, range
// will set in range field.
Range *v2.Range `protobuf:"bytes,3,opt,name=range,proto3,oneof" json:"range,omitempty"`
// Task type.
Type v2.TaskType `protobuf:"varint,4,opt,name=type,proto3,enum=common.v2.TaskType" json:"type,omitempty"`
// URL tag identifies different task for same url.
Tag *string `protobuf:"bytes,5,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
// Application of task.
Application *string `protobuf:"bytes,6,opt,name=application,proto3,oneof" json:"application,omitempty"`
// Peer priority.
Priority v2.Priority `protobuf:"varint,7,opt,name=priority,proto3,enum=common.v2.Priority" json:"priority,omitempty"`
// Filtered query params to generate the task id.
// When filter is ["Signature", "Expires", "ns"], for example:
// http://example.com/xyz?Expires=e1&Signature=s1&ns=docker.io and http://example.com/xyz?Expires=e2&Signature=s2&ns=docker.io
// will generate the same task id.
// Default value includes the filtered query params of s3, gcs, oss, obs, cos.
FilteredQueryParams []string `protobuf:"bytes,8,rep,name=filtered_query_params,json=filteredQueryParams,proto3" json:"filtered_query_params,omitempty"`
// Task request headers.
RequestHeader map[string]string `` /* 188-byte string literal not displayed */
// Piece Length is the piece length(bytes) for downloading file. The value needs to
// be greater than 4MiB (4,194,304 bytes) and less than 64MiB (67,108,864 bytes),
// for example: 4194304(4mib), 8388608(8mib). If the piece length is not specified,
// the piece length will be calculated according to the file size.
PieceLength *uint64 `protobuf:"varint,10,opt,name=piece_length,json=pieceLength,proto3,oneof" json:"piece_length,omitempty"`
// File path to be downloaded. If output_path is set, the downloaded file will be saved to the specified path.
// Dfdaemon will try to create hard link to the output path before starting the download. If hard link creation fails,
// it will copy the file to the output path after the download is completed.
// For more details refer to https://github.com/dragonflyoss/design/blob/main/systems-analysis/file-download-workflow-with-hard-link/README.md.
OutputPath *string `protobuf:"bytes,11,opt,name=output_path,json=outputPath,proto3,oneof" json:"output_path,omitempty"`
// Download timeout.
Timeout *durationpb.Duration `protobuf:"bytes,12,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// Dfdaemon cannot download the task from the source if disable_back_to_source is true.
DisableBackToSource bool `protobuf:"varint,13,opt,name=disable_back_to_source,json=disableBackToSource,proto3" json:"disable_back_to_source,omitempty"`
// Scheduler needs to schedule the task downloads from the source if need_back_to_source is true.
NeedBackToSource bool `protobuf:"varint,14,opt,name=need_back_to_source,json=needBackToSource,proto3" json:"need_back_to_source,omitempty"`
// certificate_chain is the client certs with DER format for the backend client to download back-to-source.
CertificateChain [][]byte `protobuf:"bytes,15,rep,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
// Prefetch pre-downloads all pieces of the task when the download task request is a range request.
Prefetch bool `protobuf:"varint,16,opt,name=prefetch,proto3" json:"prefetch,omitempty"`
// Object storage protocol information.
ObjectStorage *v2.ObjectStorage `protobuf:"bytes,17,opt,name=object_storage,json=objectStorage,proto3,oneof" json:"object_storage,omitempty"`
// HDFS protocol information.
Hdfs *v2.HDFS `protobuf:"bytes,18,opt,name=hdfs,proto3,oneof" json:"hdfs,omitempty"`
// is_prefetch is the flag to indicate whether the request is a prefetch request.
IsPrefetch bool `protobuf:"varint,19,opt,name=is_prefetch,json=isPrefetch,proto3" json:"is_prefetch,omitempty"`
// need_piece_content is the flag to indicate whether the response needs to return piece content.
NeedPieceContent bool `protobuf:"varint,20,opt,name=need_piece_content,json=needPieceContent,proto3" json:"need_piece_content,omitempty"`
// content_for_calculating_task_id is the content used to calculate the task id.
// If content_for_calculating_task_id is set, use its value to calculate the task ID.
// Otherwise, calculate the task ID based on url, piece_length, tag, application, and filtered_query_params.
ContentForCalculatingTaskId *string `` /* 155-byte string literal not displayed */
// remote_ip represents the IP address of the client initiating the download request.
// For proxy requests, it is set to the IP address of the request source.
// For dfget requests, it is set to the IP address of the dfget.
RemoteIp *string `protobuf:"bytes,22,opt,name=remote_ip,json=remoteIp,proto3,oneof" json:"remote_ip,omitempty"`
// concurrent_piece_count is the number of pieces that can be downloaded concurrently.
ConcurrentPieceCount *uint32 `` /* 131-byte string literal not displayed */
// Actual piece length by calculating based on the piece_length field and content length.
ActualPieceLength *uint64 `protobuf:"varint,24,opt,name=actual_piece_length,json=actualPieceLength,proto3,oneof" json:"actual_piece_length,omitempty"`
// Actual content length by getting from the backend.
ActualContentLength *uint64 `` /* 128-byte string literal not displayed */
// Actual piece count by calculating.
ActualPieceCount *uint64 `protobuf:"varint,26,opt,name=actual_piece_count,json=actualPieceCount,proto3,oneof" json:"actual_piece_count,omitempty"`
// contains filtered or unexported fields
}
RegisterCachePeerRequest represents cache peer registered request of AnnounceCachePeerRequest.
func (*RegisterCachePeerRequest) Descriptor
deprecated
added in
v2.0.121
func (*RegisterCachePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterCachePeerRequest.ProtoReflect.Descriptor instead.
func (*RegisterCachePeerRequest) GetActualContentLength ¶ added in v2.1.77
func (x *RegisterCachePeerRequest) GetActualContentLength() uint64
func (*RegisterCachePeerRequest) GetActualPieceCount ¶ added in v2.1.77
func (x *RegisterCachePeerRequest) GetActualPieceCount() uint64
func (*RegisterCachePeerRequest) GetActualPieceLength ¶ added in v2.1.77
func (x *RegisterCachePeerRequest) GetActualPieceLength() uint64
func (*RegisterCachePeerRequest) GetApplication ¶ added in v2.0.121
func (x *RegisterCachePeerRequest) GetApplication() string
func (*RegisterCachePeerRequest) GetCertificateChain ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetCertificateChain() [][]byte
func (*RegisterCachePeerRequest) GetConcurrentPieceCount ¶ added in v2.1.64
func (x *RegisterCachePeerRequest) GetConcurrentPieceCount() uint32
func (*RegisterCachePeerRequest) GetContentForCalculatingTaskId ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetContentForCalculatingTaskId() string
func (*RegisterCachePeerRequest) GetDigest ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetDigest() string
func (*RegisterCachePeerRequest) GetDisableBackToSource ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetDisableBackToSource() bool
func (*RegisterCachePeerRequest) GetFilteredQueryParams ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetFilteredQueryParams() []string
func (*RegisterCachePeerRequest) GetHdfs ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetHdfs() *v2.HDFS
func (*RegisterCachePeerRequest) GetIsPrefetch ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetIsPrefetch() bool
func (*RegisterCachePeerRequest) GetNeedBackToSource ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetNeedBackToSource() bool
func (*RegisterCachePeerRequest) GetNeedPieceContent ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetNeedPieceContent() bool
func (*RegisterCachePeerRequest) GetObjectStorage ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetObjectStorage() *v2.ObjectStorage
func (*RegisterCachePeerRequest) GetOutputPath ¶ added in v2.0.121
func (x *RegisterCachePeerRequest) GetOutputPath() string
func (*RegisterCachePeerRequest) GetPieceLength ¶ added in v2.0.121
func (x *RegisterCachePeerRequest) GetPieceLength() uint64
func (*RegisterCachePeerRequest) GetPrefetch ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetPrefetch() bool
func (*RegisterCachePeerRequest) GetPriority ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetPriority() v2.Priority
func (*RegisterCachePeerRequest) GetRange ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetRange() *v2.Range
func (*RegisterCachePeerRequest) GetRemoteIp ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetRemoteIp() string
func (*RegisterCachePeerRequest) GetRequestHeader ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetRequestHeader() map[string]string
func (*RegisterCachePeerRequest) GetTag ¶ added in v2.0.121
func (x *RegisterCachePeerRequest) GetTag() string
func (*RegisterCachePeerRequest) GetTimeout ¶ added in v2.0.121
func (x *RegisterCachePeerRequest) GetTimeout() *durationpb.Duration
func (*RegisterCachePeerRequest) GetType ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetType() v2.TaskType
func (*RegisterCachePeerRequest) GetUrl ¶ added in v2.1.50
func (x *RegisterCachePeerRequest) GetUrl() string
func (*RegisterCachePeerRequest) ProtoMessage ¶ added in v2.0.121
func (*RegisterCachePeerRequest) ProtoMessage()
func (*RegisterCachePeerRequest) ProtoReflect ¶ added in v2.0.121
func (x *RegisterCachePeerRequest) ProtoReflect() protoreflect.Message
func (*RegisterCachePeerRequest) Reset ¶ added in v2.0.121
func (x *RegisterCachePeerRequest) Reset()
func (*RegisterCachePeerRequest) String ¶ added in v2.0.121
func (x *RegisterCachePeerRequest) String() string
func (*RegisterCachePeerRequest) Validate ¶ added in v2.0.121
func (m *RegisterCachePeerRequest) Validate() error
Validate checks the field values on RegisterCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RegisterCachePeerRequest) ValidateAll ¶ added in v2.0.121
func (m *RegisterCachePeerRequest) ValidateAll() error
ValidateAll checks the field values on RegisterCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterCachePeerRequestMultiError, or nil if none found.
type RegisterCachePeerRequestMultiError ¶ added in v2.0.121
type RegisterCachePeerRequestMultiError []error
RegisterCachePeerRequestMultiError is an error wrapping multiple validation errors returned by RegisterCachePeerRequest.ValidateAll() if the designated constraints aren't met.
func (RegisterCachePeerRequestMultiError) AllErrors ¶ added in v2.0.121
func (m RegisterCachePeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterCachePeerRequestMultiError) Error ¶ added in v2.0.121
func (m RegisterCachePeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterCachePeerRequestValidationError ¶ added in v2.0.121
type RegisterCachePeerRequestValidationError struct {
// contains filtered or unexported fields
}
RegisterCachePeerRequestValidationError is the validation error returned by RegisterCachePeerRequest.Validate if the designated constraints aren't met.
func (RegisterCachePeerRequestValidationError) Cause ¶ added in v2.0.121
func (e RegisterCachePeerRequestValidationError) Cause() error
Cause function returns cause value.
func (RegisterCachePeerRequestValidationError) Error ¶ added in v2.0.121
func (e RegisterCachePeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterCachePeerRequestValidationError) ErrorName ¶ added in v2.0.121
func (e RegisterCachePeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterCachePeerRequestValidationError) Field ¶ added in v2.0.121
func (e RegisterCachePeerRequestValidationError) Field() string
Field function returns field value.
func (RegisterCachePeerRequestValidationError) Key ¶ added in v2.0.121
func (e RegisterCachePeerRequestValidationError) Key() bool
Key function returns key value.
func (RegisterCachePeerRequestValidationError) Reason ¶ added in v2.0.121
func (e RegisterCachePeerRequestValidationError) Reason() string
Reason function returns reason value.
type RegisterPeerRequest ¶
type RegisterPeerRequest struct {
// Download information.
Download *v2.Download `protobuf:"bytes,1,opt,name=download,proto3" json:"download,omitempty"`
// contains filtered or unexported fields
}
RegisterPeerRequest represents peer registered request of AnnouncePeerRequest.
func (*RegisterPeerRequest) Descriptor
deprecated
func (*RegisterPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPeerRequest.ProtoReflect.Descriptor instead.
func (*RegisterPeerRequest) GetDownload ¶
func (x *RegisterPeerRequest) GetDownload() *v2.Download
func (*RegisterPeerRequest) ProtoMessage ¶
func (*RegisterPeerRequest) ProtoMessage()
func (*RegisterPeerRequest) ProtoReflect ¶
func (x *RegisterPeerRequest) ProtoReflect() protoreflect.Message
func (*RegisterPeerRequest) Reset ¶
func (x *RegisterPeerRequest) Reset()
func (*RegisterPeerRequest) String ¶
func (x *RegisterPeerRequest) String() string
func (*RegisterPeerRequest) Validate ¶
func (m *RegisterPeerRequest) Validate() error
Validate checks the field values on RegisterPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RegisterPeerRequest) ValidateAll ¶
func (m *RegisterPeerRequest) ValidateAll() error
ValidateAll checks the field values on RegisterPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterPeerRequestMultiError, or nil if none found.
type RegisterPeerRequestMultiError ¶
type RegisterPeerRequestMultiError []error
RegisterPeerRequestMultiError is an error wrapping multiple validation errors returned by RegisterPeerRequest.ValidateAll() if the designated constraints aren't met.
func (RegisterPeerRequestMultiError) AllErrors ¶
func (m RegisterPeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterPeerRequestMultiError) Error ¶
func (m RegisterPeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterPeerRequestValidationError ¶
type RegisterPeerRequestValidationError struct {
// contains filtered or unexported fields
}
RegisterPeerRequestValidationError is the validation error returned by RegisterPeerRequest.Validate if the designated constraints aren't met.
func (RegisterPeerRequestValidationError) Cause ¶
func (e RegisterPeerRequestValidationError) Cause() error
Cause function returns cause value.
func (RegisterPeerRequestValidationError) Error ¶
func (e RegisterPeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterPeerRequestValidationError) ErrorName ¶
func (e RegisterPeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterPeerRequestValidationError) Field ¶
func (e RegisterPeerRequestValidationError) Field() string
Field function returns field value.
func (RegisterPeerRequestValidationError) Key ¶
func (e RegisterPeerRequestValidationError) Key() bool
Key function returns key value.
func (RegisterPeerRequestValidationError) Reason ¶
func (e RegisterPeerRequestValidationError) Reason() string
Reason function returns reason value.
type RegisterPersistentCachePeerRequest ¶ added in v2.0.161
type RegisterPersistentCachePeerRequest struct {
// Persistent represents whether the persistent cache task is persistent.
// If the persistent cache task is persistent, the persistent cache peer will
// not be deleted when dfdaemon runs garbage collection.
Persistent bool `protobuf:"varint,1,opt,name=persistent,proto3" json:"persistent,omitempty"`
// Tag is used to distinguish different persistent cache tasks.
Tag *string `protobuf:"bytes,2,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
// Application of task.
Application *string `protobuf:"bytes,3,opt,name=application,proto3,oneof" json:"application,omitempty"`
// Task piece length, the value needs to be greater than or equal to 4194304(4MiB)
PieceLength uint64 `protobuf:"varint,4,opt,name=piece_length,json=pieceLength,proto3" json:"piece_length,omitempty"`
// File path to be exported.
OutputPath *string `protobuf:"bytes,5,opt,name=output_path,json=outputPath,proto3,oneof" json:"output_path,omitempty"`
// concurrent_piece_count is the number of pieces that can be downloaded concurrently.
ConcurrentPieceCount *uint32 `` /* 130-byte string literal not displayed */
// Task piece count.
PieceCount uint64 `protobuf:"varint,7,opt,name=piece_count,json=pieceCount,proto3" json:"piece_count,omitempty"`
// contains filtered or unexported fields
}
RegisterPersistentCachePeerRequest represents persistent cache peer registered request of AnnouncePersistentCachePeerRequest.
func (*RegisterPersistentCachePeerRequest) Descriptor
deprecated
added in
v2.0.161
func (*RegisterPersistentCachePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPersistentCachePeerRequest.ProtoReflect.Descriptor instead.
func (*RegisterPersistentCachePeerRequest) GetApplication ¶ added in v2.0.161
func (x *RegisterPersistentCachePeerRequest) GetApplication() string
func (*RegisterPersistentCachePeerRequest) GetConcurrentPieceCount ¶ added in v2.1.64
func (x *RegisterPersistentCachePeerRequest) GetConcurrentPieceCount() uint32
func (*RegisterPersistentCachePeerRequest) GetOutputPath ¶ added in v2.0.161
func (x *RegisterPersistentCachePeerRequest) GetOutputPath() string
func (*RegisterPersistentCachePeerRequest) GetPersistent ¶ added in v2.1.19
func (x *RegisterPersistentCachePeerRequest) GetPersistent() bool
func (*RegisterPersistentCachePeerRequest) GetPieceCount ¶ added in v2.1.74
func (x *RegisterPersistentCachePeerRequest) GetPieceCount() uint64
func (*RegisterPersistentCachePeerRequest) GetPieceLength ¶ added in v2.0.161
func (x *RegisterPersistentCachePeerRequest) GetPieceLength() uint64
func (*RegisterPersistentCachePeerRequest) GetTag ¶ added in v2.0.161
func (x *RegisterPersistentCachePeerRequest) GetTag() string
func (*RegisterPersistentCachePeerRequest) ProtoMessage ¶ added in v2.0.161
func (*RegisterPersistentCachePeerRequest) ProtoMessage()
func (*RegisterPersistentCachePeerRequest) ProtoReflect ¶ added in v2.0.161
func (x *RegisterPersistentCachePeerRequest) ProtoReflect() protoreflect.Message
func (*RegisterPersistentCachePeerRequest) Reset ¶ added in v2.0.161
func (x *RegisterPersistentCachePeerRequest) Reset()
func (*RegisterPersistentCachePeerRequest) String ¶ added in v2.0.161
func (x *RegisterPersistentCachePeerRequest) String() string
func (*RegisterPersistentCachePeerRequest) Validate ¶ added in v2.0.161
func (m *RegisterPersistentCachePeerRequest) Validate() error
Validate checks the field values on RegisterPersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RegisterPersistentCachePeerRequest) ValidateAll ¶ added in v2.0.161
func (m *RegisterPersistentCachePeerRequest) ValidateAll() error
ValidateAll checks the field values on RegisterPersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterPersistentCachePeerRequestMultiError, or nil if none found.
type RegisterPersistentCachePeerRequestMultiError ¶ added in v2.0.161
type RegisterPersistentCachePeerRequestMultiError []error
RegisterPersistentCachePeerRequestMultiError is an error wrapping multiple validation errors returned by RegisterPersistentCachePeerRequest.ValidateAll() if the designated constraints aren't met.
func (RegisterPersistentCachePeerRequestMultiError) AllErrors ¶ added in v2.0.161
func (m RegisterPersistentCachePeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterPersistentCachePeerRequestMultiError) Error ¶ added in v2.0.161
func (m RegisterPersistentCachePeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterPersistentCachePeerRequestValidationError ¶ added in v2.0.161
type RegisterPersistentCachePeerRequestValidationError struct {
// contains filtered or unexported fields
}
RegisterPersistentCachePeerRequestValidationError is the validation error returned by RegisterPersistentCachePeerRequest.Validate if the designated constraints aren't met.
func (RegisterPersistentCachePeerRequestValidationError) Cause ¶ added in v2.0.161
func (e RegisterPersistentCachePeerRequestValidationError) Cause() error
Cause function returns cause value.
func (RegisterPersistentCachePeerRequestValidationError) Error ¶ added in v2.0.161
func (e RegisterPersistentCachePeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterPersistentCachePeerRequestValidationError) ErrorName ¶ added in v2.0.161
func (e RegisterPersistentCachePeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterPersistentCachePeerRequestValidationError) Field ¶ added in v2.0.161
func (e RegisterPersistentCachePeerRequestValidationError) Field() string
Field function returns field value.
func (RegisterPersistentCachePeerRequestValidationError) Key ¶ added in v2.0.161
func (e RegisterPersistentCachePeerRequestValidationError) Key() bool
Key function returns key value.
func (RegisterPersistentCachePeerRequestValidationError) Reason ¶ added in v2.0.161
func (e RegisterPersistentCachePeerRequestValidationError) Reason() string
Reason function returns reason value.
type RegisterPersistentPeerRequest ¶ added in v2.1.86
type RegisterPersistentPeerRequest struct {
// This is the key of the object storage where the persistent task will be stored,
// for example: `file.txt` or `dir/file.txt`. The combination of object_storage_key,
// object_storage.endpoint and object_storage.region must be unique, because
// the persistent task cannot be overwritten once it is uploaded.
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// Object storage protocol information.
ObjectStorage *v2.ObjectStorage `protobuf:"bytes,2,opt,name=object_storage,json=objectStorage,proto3" json:"object_storage,omitempty"`
// Persistent represents whether the persistent task is persistent.
// If the persistent task is persistent, the persistent peer will
// not be deleted when dfdaemon runs garbage collection.
Persistent bool `protobuf:"varint,3,opt,name=persistent,proto3" json:"persistent,omitempty"`
// File path to be exported.
OutputPath *string `protobuf:"bytes,4,opt,name=output_path,json=outputPath,proto3,oneof" json:"output_path,omitempty"`
// concurrent_piece_count is the number of pieces that can be downloaded concurrently.
ConcurrentPieceCount *uint32 `` /* 130-byte string literal not displayed */
// Task piece count.
PieceCount uint64 `protobuf:"varint,6,opt,name=piece_count,json=pieceCount,proto3" json:"piece_count,omitempty"`
// NeedBackToSource needs downloaded from source.
NeedBackToSource bool `protobuf:"varint,7,opt,name=need_back_to_source,json=needBackToSource,proto3" json:"need_back_to_source,omitempty"`
// contains filtered or unexported fields
}
RegisterPersistentPeerRequest represents persistent peer registered request of AnnouncePersistentPeerRequest.
func (*RegisterPersistentPeerRequest) Descriptor
deprecated
added in
v2.1.86
func (*RegisterPersistentPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPersistentPeerRequest.ProtoReflect.Descriptor instead.
func (*RegisterPersistentPeerRequest) GetConcurrentPieceCount ¶ added in v2.1.86
func (x *RegisterPersistentPeerRequest) GetConcurrentPieceCount() uint32
func (*RegisterPersistentPeerRequest) GetNeedBackToSource ¶ added in v2.2.8
func (x *RegisterPersistentPeerRequest) GetNeedBackToSource() bool
func (*RegisterPersistentPeerRequest) GetObjectStorage ¶ added in v2.1.86
func (x *RegisterPersistentPeerRequest) GetObjectStorage() *v2.ObjectStorage
func (*RegisterPersistentPeerRequest) GetOutputPath ¶ added in v2.1.86
func (x *RegisterPersistentPeerRequest) GetOutputPath() string
func (*RegisterPersistentPeerRequest) GetPersistent ¶ added in v2.1.86
func (x *RegisterPersistentPeerRequest) GetPersistent() bool
func (*RegisterPersistentPeerRequest) GetPieceCount ¶ added in v2.1.86
func (x *RegisterPersistentPeerRequest) GetPieceCount() uint64
func (*RegisterPersistentPeerRequest) GetUrl ¶ added in v2.2.1
func (x *RegisterPersistentPeerRequest) GetUrl() string
func (*RegisterPersistentPeerRequest) ProtoMessage ¶ added in v2.1.86
func (*RegisterPersistentPeerRequest) ProtoMessage()
func (*RegisterPersistentPeerRequest) ProtoReflect ¶ added in v2.1.86
func (x *RegisterPersistentPeerRequest) ProtoReflect() protoreflect.Message
func (*RegisterPersistentPeerRequest) Reset ¶ added in v2.1.86
func (x *RegisterPersistentPeerRequest) Reset()
func (*RegisterPersistentPeerRequest) String ¶ added in v2.1.86
func (x *RegisterPersistentPeerRequest) String() string
func (*RegisterPersistentPeerRequest) Validate ¶ added in v2.1.86
func (m *RegisterPersistentPeerRequest) Validate() error
Validate checks the field values on RegisterPersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RegisterPersistentPeerRequest) ValidateAll ¶ added in v2.1.86
func (m *RegisterPersistentPeerRequest) ValidateAll() error
ValidateAll checks the field values on RegisterPersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterPersistentPeerRequestMultiError, or nil if none found.
type RegisterPersistentPeerRequestMultiError ¶ added in v2.1.86
type RegisterPersistentPeerRequestMultiError []error
RegisterPersistentPeerRequestMultiError is an error wrapping multiple validation errors returned by RegisterPersistentPeerRequest.ValidateAll() if the designated constraints aren't met.
func (RegisterPersistentPeerRequestMultiError) AllErrors ¶ added in v2.1.86
func (m RegisterPersistentPeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterPersistentPeerRequestMultiError) Error ¶ added in v2.1.86
func (m RegisterPersistentPeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterPersistentPeerRequestValidationError ¶ added in v2.1.86
type RegisterPersistentPeerRequestValidationError struct {
// contains filtered or unexported fields
}
RegisterPersistentPeerRequestValidationError is the validation error returned by RegisterPersistentPeerRequest.Validate if the designated constraints aren't met.
func (RegisterPersistentPeerRequestValidationError) Cause ¶ added in v2.1.86
func (e RegisterPersistentPeerRequestValidationError) Cause() error
Cause function returns cause value.
func (RegisterPersistentPeerRequestValidationError) Error ¶ added in v2.1.86
func (e RegisterPersistentPeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterPersistentPeerRequestValidationError) ErrorName ¶ added in v2.1.86
func (e RegisterPersistentPeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterPersistentPeerRequestValidationError) Field ¶ added in v2.1.86
func (e RegisterPersistentPeerRequestValidationError) Field() string
Field function returns field value.
func (RegisterPersistentPeerRequestValidationError) Key ¶ added in v2.1.86
func (e RegisterPersistentPeerRequestValidationError) Key() bool
Key function returns key value.
func (RegisterPersistentPeerRequestValidationError) Reason ¶ added in v2.1.86
func (e RegisterPersistentPeerRequestValidationError) Reason() string
Reason function returns reason value.
type RescheduleCachePeerRequest ¶ added in v2.0.121
type RescheduleCachePeerRequest struct {
// Candidate parent ids.
CandidateParents []*v2.CachePeer `protobuf:"bytes,1,rep,name=candidate_parents,json=candidateParents,proto3" json:"candidate_parents,omitempty"`
// The description of the reschedule reason.
Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
RescheduleCachePeerRequest represents reschedule request of AnnounceCachePeerRequest.
func (*RescheduleCachePeerRequest) Descriptor
deprecated
added in
v2.0.121
func (*RescheduleCachePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RescheduleCachePeerRequest.ProtoReflect.Descriptor instead.
func (*RescheduleCachePeerRequest) GetCandidateParents ¶ added in v2.0.121
func (x *RescheduleCachePeerRequest) GetCandidateParents() []*v2.CachePeer
func (*RescheduleCachePeerRequest) GetDescription ¶ added in v2.0.121
func (x *RescheduleCachePeerRequest) GetDescription() string
func (*RescheduleCachePeerRequest) ProtoMessage ¶ added in v2.0.121
func (*RescheduleCachePeerRequest) ProtoMessage()
func (*RescheduleCachePeerRequest) ProtoReflect ¶ added in v2.0.121
func (x *RescheduleCachePeerRequest) ProtoReflect() protoreflect.Message
func (*RescheduleCachePeerRequest) Reset ¶ added in v2.0.121
func (x *RescheduleCachePeerRequest) Reset()
func (*RescheduleCachePeerRequest) String ¶ added in v2.0.121
func (x *RescheduleCachePeerRequest) String() string
func (*RescheduleCachePeerRequest) Validate ¶ added in v2.0.121
func (m *RescheduleCachePeerRequest) Validate() error
Validate checks the field values on RescheduleCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RescheduleCachePeerRequest) ValidateAll ¶ added in v2.0.121
func (m *RescheduleCachePeerRequest) ValidateAll() error
ValidateAll checks the field values on RescheduleCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RescheduleCachePeerRequestMultiError, or nil if none found.
type RescheduleCachePeerRequestMultiError ¶ added in v2.0.121
type RescheduleCachePeerRequestMultiError []error
RescheduleCachePeerRequestMultiError is an error wrapping multiple validation errors returned by RescheduleCachePeerRequest.ValidateAll() if the designated constraints aren't met.
func (RescheduleCachePeerRequestMultiError) AllErrors ¶ added in v2.0.121
func (m RescheduleCachePeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RescheduleCachePeerRequestMultiError) Error ¶ added in v2.0.121
func (m RescheduleCachePeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RescheduleCachePeerRequestValidationError ¶ added in v2.0.121
type RescheduleCachePeerRequestValidationError struct {
// contains filtered or unexported fields
}
RescheduleCachePeerRequestValidationError is the validation error returned by RescheduleCachePeerRequest.Validate if the designated constraints aren't met.
func (RescheduleCachePeerRequestValidationError) Cause ¶ added in v2.0.121
func (e RescheduleCachePeerRequestValidationError) Cause() error
Cause function returns cause value.
func (RescheduleCachePeerRequestValidationError) Error ¶ added in v2.0.121
func (e RescheduleCachePeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RescheduleCachePeerRequestValidationError) ErrorName ¶ added in v2.0.121
func (e RescheduleCachePeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RescheduleCachePeerRequestValidationError) Field ¶ added in v2.0.121
func (e RescheduleCachePeerRequestValidationError) Field() string
Field function returns field value.
func (RescheduleCachePeerRequestValidationError) Key ¶ added in v2.0.121
func (e RescheduleCachePeerRequestValidationError) Key() bool
Key function returns key value.
func (RescheduleCachePeerRequestValidationError) Reason ¶ added in v2.0.121
func (e RescheduleCachePeerRequestValidationError) Reason() string
Reason function returns reason value.
type ReschedulePeerRequest ¶ added in v2.0.121
type ReschedulePeerRequest struct {
// Candidate parent ids.
CandidateParents []*v2.Peer `protobuf:"bytes,1,rep,name=candidate_parents,json=candidateParents,proto3" json:"candidate_parents,omitempty"`
// The description of the reschedule reason.
Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
ReschedulePeerRequest represents reschedule request of AnnouncePeerRequest.
func (*ReschedulePeerRequest) Descriptor
deprecated
added in
v2.0.121
func (*ReschedulePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReschedulePeerRequest.ProtoReflect.Descriptor instead.
func (*ReschedulePeerRequest) GetCandidateParents ¶ added in v2.0.121
func (x *ReschedulePeerRequest) GetCandidateParents() []*v2.Peer
func (*ReschedulePeerRequest) GetDescription ¶ added in v2.0.121
func (x *ReschedulePeerRequest) GetDescription() string
func (*ReschedulePeerRequest) ProtoMessage ¶ added in v2.0.121
func (*ReschedulePeerRequest) ProtoMessage()
func (*ReschedulePeerRequest) ProtoReflect ¶ added in v2.0.121
func (x *ReschedulePeerRequest) ProtoReflect() protoreflect.Message
func (*ReschedulePeerRequest) Reset ¶ added in v2.0.121
func (x *ReschedulePeerRequest) Reset()
func (*ReschedulePeerRequest) String ¶ added in v2.0.121
func (x *ReschedulePeerRequest) String() string
func (*ReschedulePeerRequest) Validate ¶ added in v2.0.121
func (m *ReschedulePeerRequest) Validate() error
Validate checks the field values on ReschedulePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReschedulePeerRequest) ValidateAll ¶ added in v2.0.121
func (m *ReschedulePeerRequest) ValidateAll() error
ValidateAll checks the field values on ReschedulePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReschedulePeerRequestMultiError, or nil if none found.
type ReschedulePeerRequestMultiError ¶ added in v2.0.121
type ReschedulePeerRequestMultiError []error
ReschedulePeerRequestMultiError is an error wrapping multiple validation errors returned by ReschedulePeerRequest.ValidateAll() if the designated constraints aren't met.
func (ReschedulePeerRequestMultiError) AllErrors ¶ added in v2.0.121
func (m ReschedulePeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReschedulePeerRequestMultiError) Error ¶ added in v2.0.121
func (m ReschedulePeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReschedulePeerRequestValidationError ¶ added in v2.0.121
type ReschedulePeerRequestValidationError struct {
// contains filtered or unexported fields
}
ReschedulePeerRequestValidationError is the validation error returned by ReschedulePeerRequest.Validate if the designated constraints aren't met.
func (ReschedulePeerRequestValidationError) Cause ¶ added in v2.0.121
func (e ReschedulePeerRequestValidationError) Cause() error
Cause function returns cause value.
func (ReschedulePeerRequestValidationError) Error ¶ added in v2.0.121
func (e ReschedulePeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReschedulePeerRequestValidationError) ErrorName ¶ added in v2.0.121
func (e ReschedulePeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReschedulePeerRequestValidationError) Field ¶ added in v2.0.121
func (e ReschedulePeerRequestValidationError) Field() string
Field function returns field value.
func (ReschedulePeerRequestValidationError) Key ¶ added in v2.0.121
func (e ReschedulePeerRequestValidationError) Key() bool
Key function returns key value.
func (ReschedulePeerRequestValidationError) Reason ¶ added in v2.0.121
func (e ReschedulePeerRequestValidationError) Reason() string
Reason function returns reason value.
type ReschedulePersistentCachePeerRequest ¶ added in v2.0.161
type ReschedulePersistentCachePeerRequest struct {
// Candidate parent ids.
CandidateParents []*v2.PersistentCachePeer `protobuf:"bytes,1,rep,name=candidate_parents,json=candidateParents,proto3" json:"candidate_parents,omitempty"`
// The description of the reschedule reason.
Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
ReschedulePersistentCachePeerRequest represents reschedule request of AnnouncePersistentCachePeerRequest.
func (*ReschedulePersistentCachePeerRequest) Descriptor
deprecated
added in
v2.0.161
func (*ReschedulePersistentCachePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReschedulePersistentCachePeerRequest.ProtoReflect.Descriptor instead.
func (*ReschedulePersistentCachePeerRequest) GetCandidateParents ¶ added in v2.0.161
func (x *ReschedulePersistentCachePeerRequest) GetCandidateParents() []*v2.PersistentCachePeer
func (*ReschedulePersistentCachePeerRequest) GetDescription ¶ added in v2.0.161
func (x *ReschedulePersistentCachePeerRequest) GetDescription() string
func (*ReschedulePersistentCachePeerRequest) ProtoMessage ¶ added in v2.0.161
func (*ReschedulePersistentCachePeerRequest) ProtoMessage()
func (*ReschedulePersistentCachePeerRequest) ProtoReflect ¶ added in v2.0.161
func (x *ReschedulePersistentCachePeerRequest) ProtoReflect() protoreflect.Message
func (*ReschedulePersistentCachePeerRequest) Reset ¶ added in v2.0.161
func (x *ReschedulePersistentCachePeerRequest) Reset()
func (*ReschedulePersistentCachePeerRequest) String ¶ added in v2.0.161
func (x *ReschedulePersistentCachePeerRequest) String() string
func (*ReschedulePersistentCachePeerRequest) Validate ¶ added in v2.0.161
func (m *ReschedulePersistentCachePeerRequest) Validate() error
Validate checks the field values on ReschedulePersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReschedulePersistentCachePeerRequest) ValidateAll ¶ added in v2.0.161
func (m *ReschedulePersistentCachePeerRequest) ValidateAll() error
ValidateAll checks the field values on ReschedulePersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReschedulePersistentCachePeerRequestMultiError, or nil if none found.
type ReschedulePersistentCachePeerRequestMultiError ¶ added in v2.0.161
type ReschedulePersistentCachePeerRequestMultiError []error
ReschedulePersistentCachePeerRequestMultiError is an error wrapping multiple validation errors returned by ReschedulePersistentCachePeerRequest.ValidateAll() if the designated constraints aren't met.
func (ReschedulePersistentCachePeerRequestMultiError) AllErrors ¶ added in v2.0.161
func (m ReschedulePersistentCachePeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReschedulePersistentCachePeerRequestMultiError) Error ¶ added in v2.0.161
func (m ReschedulePersistentCachePeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReschedulePersistentCachePeerRequestValidationError ¶ added in v2.0.161
type ReschedulePersistentCachePeerRequestValidationError struct {
// contains filtered or unexported fields
}
ReschedulePersistentCachePeerRequestValidationError is the validation error returned by ReschedulePersistentCachePeerRequest.Validate if the designated constraints aren't met.
func (ReschedulePersistentCachePeerRequestValidationError) Cause ¶ added in v2.0.161
func (e ReschedulePersistentCachePeerRequestValidationError) Cause() error
Cause function returns cause value.
func (ReschedulePersistentCachePeerRequestValidationError) Error ¶ added in v2.0.161
func (e ReschedulePersistentCachePeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReschedulePersistentCachePeerRequestValidationError) ErrorName ¶ added in v2.0.161
func (e ReschedulePersistentCachePeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReschedulePersistentCachePeerRequestValidationError) Field ¶ added in v2.0.161
func (e ReschedulePersistentCachePeerRequestValidationError) Field() string
Field function returns field value.
func (ReschedulePersistentCachePeerRequestValidationError) Key ¶ added in v2.0.161
func (e ReschedulePersistentCachePeerRequestValidationError) Key() bool
Key function returns key value.
func (ReschedulePersistentCachePeerRequestValidationError) Reason ¶ added in v2.0.161
func (e ReschedulePersistentCachePeerRequestValidationError) Reason() string
Reason function returns reason value.
type ReschedulePersistentPeerRequest ¶ added in v2.1.86
type ReschedulePersistentPeerRequest struct {
// Candidate parent ids.
CandidateParents []*v2.PersistentPeer `protobuf:"bytes,1,rep,name=candidate_parents,json=candidateParents,proto3" json:"candidate_parents,omitempty"`
// The description of the reschedule reason.
Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
ReschedulePersistentPeerRequest represents reschedule request of AnnouncePersistentPeerRequest.
func (*ReschedulePersistentPeerRequest) Descriptor
deprecated
added in
v2.1.86
func (*ReschedulePersistentPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReschedulePersistentPeerRequest.ProtoReflect.Descriptor instead.
func (*ReschedulePersistentPeerRequest) GetCandidateParents ¶ added in v2.1.86
func (x *ReschedulePersistentPeerRequest) GetCandidateParents() []*v2.PersistentPeer
func (*ReschedulePersistentPeerRequest) GetDescription ¶ added in v2.1.86
func (x *ReschedulePersistentPeerRequest) GetDescription() string
func (*ReschedulePersistentPeerRequest) ProtoMessage ¶ added in v2.1.86
func (*ReschedulePersistentPeerRequest) ProtoMessage()
func (*ReschedulePersistentPeerRequest) ProtoReflect ¶ added in v2.1.86
func (x *ReschedulePersistentPeerRequest) ProtoReflect() protoreflect.Message
func (*ReschedulePersistentPeerRequest) Reset ¶ added in v2.1.86
func (x *ReschedulePersistentPeerRequest) Reset()
func (*ReschedulePersistentPeerRequest) String ¶ added in v2.1.86
func (x *ReschedulePersistentPeerRequest) String() string
func (*ReschedulePersistentPeerRequest) Validate ¶ added in v2.1.86
func (m *ReschedulePersistentPeerRequest) Validate() error
Validate checks the field values on ReschedulePersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReschedulePersistentPeerRequest) ValidateAll ¶ added in v2.1.86
func (m *ReschedulePersistentPeerRequest) ValidateAll() error
ValidateAll checks the field values on ReschedulePersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReschedulePersistentPeerRequestMultiError, or nil if none found.
type ReschedulePersistentPeerRequestMultiError ¶ added in v2.1.86
type ReschedulePersistentPeerRequestMultiError []error
ReschedulePersistentPeerRequestMultiError is an error wrapping multiple validation errors returned by ReschedulePersistentPeerRequest.ValidateAll() if the designated constraints aren't met.
func (ReschedulePersistentPeerRequestMultiError) AllErrors ¶ added in v2.1.86
func (m ReschedulePersistentPeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReschedulePersistentPeerRequestMultiError) Error ¶ added in v2.1.86
func (m ReschedulePersistentPeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReschedulePersistentPeerRequestValidationError ¶ added in v2.1.86
type ReschedulePersistentPeerRequestValidationError struct {
// contains filtered or unexported fields
}
ReschedulePersistentPeerRequestValidationError is the validation error returned by ReschedulePersistentPeerRequest.Validate if the designated constraints aren't met.
func (ReschedulePersistentPeerRequestValidationError) Cause ¶ added in v2.1.86
func (e ReschedulePersistentPeerRequestValidationError) Cause() error
Cause function returns cause value.
func (ReschedulePersistentPeerRequestValidationError) Error ¶ added in v2.1.86
func (e ReschedulePersistentPeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReschedulePersistentPeerRequestValidationError) ErrorName ¶ added in v2.1.86
func (e ReschedulePersistentPeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReschedulePersistentPeerRequestValidationError) Field ¶ added in v2.1.86
func (e ReschedulePersistentPeerRequestValidationError) Field() string
Field function returns field value.
func (ReschedulePersistentPeerRequestValidationError) Key ¶ added in v2.1.86
func (e ReschedulePersistentPeerRequestValidationError) Key() bool
Key function returns key value.
func (ReschedulePersistentPeerRequestValidationError) Reason ¶ added in v2.1.86
func (e ReschedulePersistentPeerRequestValidationError) Reason() string
Reason function returns reason value.
type SchedulerClient ¶
type SchedulerClient interface {
// AnnouncePeer announces peer to scheduler.
AnnouncePeer(ctx context.Context, opts ...grpc.CallOption) (Scheduler_AnnouncePeerClient, error)
// Checks information of peer.
StatPeer(ctx context.Context, in *StatPeerRequest, opts ...grpc.CallOption) (*v2.Peer, error)
// DeletePeer releases peer in scheduler.
DeletePeer(ctx context.Context, in *DeletePeerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Checks information of task.
StatTask(ctx context.Context, in *StatTaskRequest, opts ...grpc.CallOption) (*v2.Task, error)
// DeleteTask releases task in scheduler.
DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// AnnounceHost announces host to scheduler.
AnnounceHost(ctx context.Context, in *AnnounceHostRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// ListHosts lists hosts in scheduler.
ListHosts(ctx context.Context, in *ListHostsRequest, opts ...grpc.CallOption) (*ListHostsResponse, error)
// DeleteHost releases host in scheduler.
DeleteHost(ctx context.Context, in *DeleteHostRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// AnnounceCachePeer announces cache peer to scheduler.
AnnounceCachePeer(ctx context.Context, opts ...grpc.CallOption) (Scheduler_AnnounceCachePeerClient, error)
// Checks information of cache peer.
StatCachePeer(ctx context.Context, in *StatCachePeerRequest, opts ...grpc.CallOption) (*v2.CachePeer, error)
// DeleteCachePeer releases cache peer in scheduler.
DeleteCachePeer(ctx context.Context, in *DeleteCachePeerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Checks information of cache task.
StatCacheTask(ctx context.Context, in *StatCacheTaskRequest, opts ...grpc.CallOption) (*v2.CacheTask, error)
// DeleteCacheTask releases cache task in scheduler.
DeleteCacheTask(ctx context.Context, in *DeleteCacheTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// AnnouncePersistentPeer announces persistent peer to scheduler.
AnnouncePersistentPeer(ctx context.Context, opts ...grpc.CallOption) (Scheduler_AnnouncePersistentPeerClient, error)
// Checks information of persistent peer.
StatPersistentPeer(ctx context.Context, in *StatPersistentPeerRequest, opts ...grpc.CallOption) (*v2.PersistentPeer, error)
// DeletePersistentPeer releases persistent peer in scheduler.
DeletePersistentPeer(ctx context.Context, in *DeletePersistentPeerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// UploadPersistentTaskStarted uploads persistent task started to scheduler.
UploadPersistentTaskStarted(ctx context.Context, in *UploadPersistentTaskStartedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// UploadPersistentTaskFinished uploads persistent task finished to scheduler.
UploadPersistentTaskFinished(ctx context.Context, in *UploadPersistentTaskFinishedRequest, opts ...grpc.CallOption) (*v2.PersistentTask, error)
// UploadPersistentTaskFailed uploads persistent task failed to scheduler.
UploadPersistentTaskFailed(ctx context.Context, in *UploadPersistentTaskFailedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Checks information of persistent task.
StatPersistentTask(ctx context.Context, in *StatPersistentTaskRequest, opts ...grpc.CallOption) (*v2.PersistentTask, error)
// DeletePersistentTask releases persistent task in scheduler.
DeletePersistentTask(ctx context.Context, in *DeletePersistentTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// AnnouncePersistentCachePeer announces persistent cache peer to scheduler.
AnnouncePersistentCachePeer(ctx context.Context, opts ...grpc.CallOption) (Scheduler_AnnouncePersistentCachePeerClient, error)
// Checks information of persistent cache peer.
StatPersistentCachePeer(ctx context.Context, in *StatPersistentCachePeerRequest, opts ...grpc.CallOption) (*v2.PersistentCachePeer, error)
// DeletePersistentCachePeer releases persistent cache peer in scheduler.
DeletePersistentCachePeer(ctx context.Context, in *DeletePersistentCachePeerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// UploadPersistentCacheTaskStarted uploads persistent cache task started to scheduler.
UploadPersistentCacheTaskStarted(ctx context.Context, in *UploadPersistentCacheTaskStartedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// UploadPersistentCacheTaskFinished uploads persistent cache task finished to scheduler.
UploadPersistentCacheTaskFinished(ctx context.Context, in *UploadPersistentCacheTaskFinishedRequest, opts ...grpc.CallOption) (*v2.PersistentCacheTask, error)
// UploadPersistentCacheTaskFailed uploads persistent cache task failed to scheduler.
UploadPersistentCacheTaskFailed(ctx context.Context, in *UploadPersistentCacheTaskFailedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Checks information of persistent cache task.
StatPersistentCacheTask(ctx context.Context, in *StatPersistentCacheTaskRequest, opts ...grpc.CallOption) (*v2.PersistentCacheTask, error)
// DeletePersistentCacheTask releases persistent cache task in scheduler.
DeletePersistentCacheTask(ctx context.Context, in *DeletePersistentCacheTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// PreheatImage synchronously resolves an image manifest and triggers an asynchronous preheat task.
//
// This is a blocking call. The RPC will not return until the server has completed the
// initial synchronous work: resolving the image manifest and preparing all layer URLs.
//
// After this call successfully returns, a scheduler on the server begins the actual
// preheating process, instructing peers to download the layers in the background.
//
// A successful response (google.protobuf.Empty) confirms that the preparation is complete
// and the asynchronous download task has been scheduled.
PreheatImage(ctx context.Context, in *PreheatImageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// StatImage provides detailed status for a container image's distribution in peers.
//
// This is a blocking call that first resolves the image manifest and then queries
// all peers to collect the image's download state across the network.
// The response includes both layer information and the status on each peer.
StatImage(ctx context.Context, in *StatImageRequest, opts ...grpc.CallOption) (*StatImageResponse, error)
// PreheatFile synchronously resolves a file URL and triggers an asynchronous preheat task.
//
// This is a blocking call. The RPC will not return until the server has completed the
// initial synchronous work: resolving the file URL.
//
// After this call successfully returns, a scheduler on the server begins the actual
// preheating process, instructing peers to download the file in the background.
//
// A successful response (google.protobuf.Empty) confirms that the preparation is complete
// and the asynchronous download task has been scheduled.
PreheatFile(ctx context.Context, in *PreheatFileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// StatFile provides detailed status for a file's distribution in peers.
//
// This is a blocking call that first resolves the file URL and then queries
// all peers to collect the file's download state across the network.
// The response includes both file information and the status on each peer.
StatFile(ctx context.Context, in *StatFileRequest, opts ...grpc.CallOption) (*StatFileResponse, error)
}
SchedulerClient is the client API for Scheduler service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSchedulerClient ¶
func NewSchedulerClient(cc grpc.ClientConnInterface) SchedulerClient
type SchedulerServer ¶
type SchedulerServer interface {
// AnnouncePeer announces peer to scheduler.
AnnouncePeer(Scheduler_AnnouncePeerServer) error
// Checks information of peer.
StatPeer(context.Context, *StatPeerRequest) (*v2.Peer, error)
// DeletePeer releases peer in scheduler.
DeletePeer(context.Context, *DeletePeerRequest) (*emptypb.Empty, error)
// Checks information of task.
StatTask(context.Context, *StatTaskRequest) (*v2.Task, error)
// DeleteTask releases task in scheduler.
DeleteTask(context.Context, *DeleteTaskRequest) (*emptypb.Empty, error)
// AnnounceHost announces host to scheduler.
AnnounceHost(context.Context, *AnnounceHostRequest) (*emptypb.Empty, error)
// ListHosts lists hosts in scheduler.
ListHosts(context.Context, *ListHostsRequest) (*ListHostsResponse, error)
// DeleteHost releases host in scheduler.
DeleteHost(context.Context, *DeleteHostRequest) (*emptypb.Empty, error)
// AnnounceCachePeer announces cache peer to scheduler.
AnnounceCachePeer(Scheduler_AnnounceCachePeerServer) error
// Checks information of cache peer.
StatCachePeer(context.Context, *StatCachePeerRequest) (*v2.CachePeer, error)
// DeleteCachePeer releases cache peer in scheduler.
DeleteCachePeer(context.Context, *DeleteCachePeerRequest) (*emptypb.Empty, error)
// Checks information of cache task.
StatCacheTask(context.Context, *StatCacheTaskRequest) (*v2.CacheTask, error)
// DeleteCacheTask releases cache task in scheduler.
DeleteCacheTask(context.Context, *DeleteCacheTaskRequest) (*emptypb.Empty, error)
// AnnouncePersistentPeer announces persistent peer to scheduler.
AnnouncePersistentPeer(Scheduler_AnnouncePersistentPeerServer) error
// Checks information of persistent peer.
StatPersistentPeer(context.Context, *StatPersistentPeerRequest) (*v2.PersistentPeer, error)
// DeletePersistentPeer releases persistent peer in scheduler.
DeletePersistentPeer(context.Context, *DeletePersistentPeerRequest) (*emptypb.Empty, error)
// UploadPersistentTaskStarted uploads persistent task started to scheduler.
UploadPersistentTaskStarted(context.Context, *UploadPersistentTaskStartedRequest) (*emptypb.Empty, error)
// UploadPersistentTaskFinished uploads persistent task finished to scheduler.
UploadPersistentTaskFinished(context.Context, *UploadPersistentTaskFinishedRequest) (*v2.PersistentTask, error)
// UploadPersistentTaskFailed uploads persistent task failed to scheduler.
UploadPersistentTaskFailed(context.Context, *UploadPersistentTaskFailedRequest) (*emptypb.Empty, error)
// Checks information of persistent task.
StatPersistentTask(context.Context, *StatPersistentTaskRequest) (*v2.PersistentTask, error)
// DeletePersistentTask releases persistent task in scheduler.
DeletePersistentTask(context.Context, *DeletePersistentTaskRequest) (*emptypb.Empty, error)
// AnnouncePersistentCachePeer announces persistent cache peer to scheduler.
AnnouncePersistentCachePeer(Scheduler_AnnouncePersistentCachePeerServer) error
// Checks information of persistent cache peer.
StatPersistentCachePeer(context.Context, *StatPersistentCachePeerRequest) (*v2.PersistentCachePeer, error)
// DeletePersistentCachePeer releases persistent cache peer in scheduler.
DeletePersistentCachePeer(context.Context, *DeletePersistentCachePeerRequest) (*emptypb.Empty, error)
// UploadPersistentCacheTaskStarted uploads persistent cache task started to scheduler.
UploadPersistentCacheTaskStarted(context.Context, *UploadPersistentCacheTaskStartedRequest) (*emptypb.Empty, error)
// UploadPersistentCacheTaskFinished uploads persistent cache task finished to scheduler.
UploadPersistentCacheTaskFinished(context.Context, *UploadPersistentCacheTaskFinishedRequest) (*v2.PersistentCacheTask, error)
// UploadPersistentCacheTaskFailed uploads persistent cache task failed to scheduler.
UploadPersistentCacheTaskFailed(context.Context, *UploadPersistentCacheTaskFailedRequest) (*emptypb.Empty, error)
// Checks information of persistent cache task.
StatPersistentCacheTask(context.Context, *StatPersistentCacheTaskRequest) (*v2.PersistentCacheTask, error)
// DeletePersistentCacheTask releases persistent cache task in scheduler.
DeletePersistentCacheTask(context.Context, *DeletePersistentCacheTaskRequest) (*emptypb.Empty, error)
// PreheatImage synchronously resolves an image manifest and triggers an asynchronous preheat task.
//
// This is a blocking call. The RPC will not return until the server has completed the
// initial synchronous work: resolving the image manifest and preparing all layer URLs.
//
// After this call successfully returns, a scheduler on the server begins the actual
// preheating process, instructing peers to download the layers in the background.
//
// A successful response (google.protobuf.Empty) confirms that the preparation is complete
// and the asynchronous download task has been scheduled.
PreheatImage(context.Context, *PreheatImageRequest) (*emptypb.Empty, error)
// StatImage provides detailed status for a container image's distribution in peers.
//
// This is a blocking call that first resolves the image manifest and then queries
// all peers to collect the image's download state across the network.
// The response includes both layer information and the status on each peer.
StatImage(context.Context, *StatImageRequest) (*StatImageResponse, error)
// PreheatFile synchronously resolves a file URL and triggers an asynchronous preheat task.
//
// This is a blocking call. The RPC will not return until the server has completed the
// initial synchronous work: resolving the file URL.
//
// After this call successfully returns, a scheduler on the server begins the actual
// preheating process, instructing peers to download the file in the background.
//
// A successful response (google.protobuf.Empty) confirms that the preparation is complete
// and the asynchronous download task has been scheduled.
PreheatFile(context.Context, *PreheatFileRequest) (*emptypb.Empty, error)
// StatFile provides detailed status for a file's distribution in peers.
//
// This is a blocking call that first resolves the file URL and then queries
// all peers to collect the file's download state across the network.
// The response includes both file information and the status on each peer.
StatFile(context.Context, *StatFileRequest) (*StatFileResponse, error)
}
SchedulerServer is the server API for Scheduler service. All implementations should embed UnimplementedSchedulerServer for forward compatibility
type Scheduler_AnnounceCachePeerClient ¶ added in v2.0.121
type Scheduler_AnnounceCachePeerClient interface {
Send(*AnnounceCachePeerRequest) error
Recv() (*AnnounceCachePeerResponse, error)
grpc.ClientStream
}
type Scheduler_AnnounceCachePeerServer ¶ added in v2.0.121
type Scheduler_AnnounceCachePeerServer interface {
Send(*AnnounceCachePeerResponse) error
Recv() (*AnnounceCachePeerRequest, error)
grpc.ServerStream
}
type Scheduler_AnnouncePeerClient ¶
type Scheduler_AnnouncePeerClient interface {
Send(*AnnouncePeerRequest) error
Recv() (*AnnouncePeerResponse, error)
grpc.ClientStream
}
type Scheduler_AnnouncePeerServer ¶
type Scheduler_AnnouncePeerServer interface {
Send(*AnnouncePeerResponse) error
Recv() (*AnnouncePeerRequest, error)
grpc.ServerStream
}
type Scheduler_AnnouncePersistentCachePeerClient ¶ added in v2.0.161
type Scheduler_AnnouncePersistentCachePeerClient interface {
Send(*AnnouncePersistentCachePeerRequest) error
Recv() (*AnnouncePersistentCachePeerResponse, error)
grpc.ClientStream
}
type Scheduler_AnnouncePersistentCachePeerServer ¶ added in v2.0.161
type Scheduler_AnnouncePersistentCachePeerServer interface {
Send(*AnnouncePersistentCachePeerResponse) error
Recv() (*AnnouncePersistentCachePeerRequest, error)
grpc.ServerStream
}
type Scheduler_AnnouncePersistentPeerClient ¶ added in v2.1.86
type Scheduler_AnnouncePersistentPeerClient interface {
Send(*AnnouncePersistentPeerRequest) error
Recv() (*AnnouncePersistentPeerResponse, error)
grpc.ClientStream
}
type Scheduler_AnnouncePersistentPeerServer ¶ added in v2.1.86
type Scheduler_AnnouncePersistentPeerServer interface {
Send(*AnnouncePersistentPeerResponse) error
Recv() (*AnnouncePersistentPeerRequest, error)
grpc.ServerStream
}
type StatCachePeerRequest ¶ added in v2.0.121
type StatCachePeerRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// contains filtered or unexported fields
}
StatCachePeerRequest represents request of StatCachePeer.
func (*StatCachePeerRequest) Descriptor
deprecated
added in
v2.0.121
func (*StatCachePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatCachePeerRequest.ProtoReflect.Descriptor instead.
func (*StatCachePeerRequest) GetHostId ¶ added in v2.0.121
func (x *StatCachePeerRequest) GetHostId() string
func (*StatCachePeerRequest) GetPeerId ¶ added in v2.0.121
func (x *StatCachePeerRequest) GetPeerId() string
func (*StatCachePeerRequest) GetTaskId ¶ added in v2.0.121
func (x *StatCachePeerRequest) GetTaskId() string
func (*StatCachePeerRequest) ProtoMessage ¶ added in v2.0.121
func (*StatCachePeerRequest) ProtoMessage()
func (*StatCachePeerRequest) ProtoReflect ¶ added in v2.0.121
func (x *StatCachePeerRequest) ProtoReflect() protoreflect.Message
func (*StatCachePeerRequest) Reset ¶ added in v2.0.121
func (x *StatCachePeerRequest) Reset()
func (*StatCachePeerRequest) String ¶ added in v2.0.121
func (x *StatCachePeerRequest) String() string
func (*StatCachePeerRequest) Validate ¶ added in v2.0.121
func (m *StatCachePeerRequest) Validate() error
Validate checks the field values on StatCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatCachePeerRequest) ValidateAll ¶ added in v2.0.121
func (m *StatCachePeerRequest) ValidateAll() error
ValidateAll checks the field values on StatCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatCachePeerRequestMultiError, or nil if none found.
type StatCachePeerRequestMultiError ¶ added in v2.0.121
type StatCachePeerRequestMultiError []error
StatCachePeerRequestMultiError is an error wrapping multiple validation errors returned by StatCachePeerRequest.ValidateAll() if the designated constraints aren't met.
func (StatCachePeerRequestMultiError) AllErrors ¶ added in v2.0.121
func (m StatCachePeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatCachePeerRequestMultiError) Error ¶ added in v2.0.121
func (m StatCachePeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatCachePeerRequestValidationError ¶ added in v2.0.121
type StatCachePeerRequestValidationError struct {
// contains filtered or unexported fields
}
StatCachePeerRequestValidationError is the validation error returned by StatCachePeerRequest.Validate if the designated constraints aren't met.
func (StatCachePeerRequestValidationError) Cause ¶ added in v2.0.121
func (e StatCachePeerRequestValidationError) Cause() error
Cause function returns cause value.
func (StatCachePeerRequestValidationError) Error ¶ added in v2.0.121
func (e StatCachePeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatCachePeerRequestValidationError) ErrorName ¶ added in v2.0.121
func (e StatCachePeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatCachePeerRequestValidationError) Field ¶ added in v2.0.121
func (e StatCachePeerRequestValidationError) Field() string
Field function returns field value.
func (StatCachePeerRequestValidationError) Key ¶ added in v2.0.121
func (e StatCachePeerRequestValidationError) Key() bool
Key function returns key value.
func (StatCachePeerRequestValidationError) Reason ¶ added in v2.0.121
func (e StatCachePeerRequestValidationError) Reason() string
Reason function returns reason value.
type StatCacheTaskRequest ¶ added in v2.0.121
type StatCacheTaskRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// contains filtered or unexported fields
}
StatCacheTaskRequest represents request of StatCacheTask.
func (*StatCacheTaskRequest) Descriptor
deprecated
added in
v2.0.121
func (*StatCacheTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatCacheTaskRequest.ProtoReflect.Descriptor instead.
func (*StatCacheTaskRequest) GetHostId ¶ added in v2.0.131
func (x *StatCacheTaskRequest) GetHostId() string
func (*StatCacheTaskRequest) GetTaskId ¶ added in v2.0.121
func (x *StatCacheTaskRequest) GetTaskId() string
func (*StatCacheTaskRequest) ProtoMessage ¶ added in v2.0.121
func (*StatCacheTaskRequest) ProtoMessage()
func (*StatCacheTaskRequest) ProtoReflect ¶ added in v2.0.121
func (x *StatCacheTaskRequest) ProtoReflect() protoreflect.Message
func (*StatCacheTaskRequest) Reset ¶ added in v2.0.121
func (x *StatCacheTaskRequest) Reset()
func (*StatCacheTaskRequest) String ¶ added in v2.0.121
func (x *StatCacheTaskRequest) String() string
func (*StatCacheTaskRequest) Validate ¶ added in v2.0.121
func (m *StatCacheTaskRequest) Validate() error
Validate checks the field values on StatCacheTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatCacheTaskRequest) ValidateAll ¶ added in v2.0.121
func (m *StatCacheTaskRequest) ValidateAll() error
ValidateAll checks the field values on StatCacheTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatCacheTaskRequestMultiError, or nil if none found.
type StatCacheTaskRequestMultiError ¶ added in v2.0.121
type StatCacheTaskRequestMultiError []error
StatCacheTaskRequestMultiError is an error wrapping multiple validation errors returned by StatCacheTaskRequest.ValidateAll() if the designated constraints aren't met.
func (StatCacheTaskRequestMultiError) AllErrors ¶ added in v2.0.121
func (m StatCacheTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatCacheTaskRequestMultiError) Error ¶ added in v2.0.121
func (m StatCacheTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatCacheTaskRequestValidationError ¶ added in v2.0.121
type StatCacheTaskRequestValidationError struct {
// contains filtered or unexported fields
}
StatCacheTaskRequestValidationError is the validation error returned by StatCacheTaskRequest.Validate if the designated constraints aren't met.
func (StatCacheTaskRequestValidationError) Cause ¶ added in v2.0.121
func (e StatCacheTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (StatCacheTaskRequestValidationError) Error ¶ added in v2.0.121
func (e StatCacheTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatCacheTaskRequestValidationError) ErrorName ¶ added in v2.0.121
func (e StatCacheTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatCacheTaskRequestValidationError) Field ¶ added in v2.0.121
func (e StatCacheTaskRequestValidationError) Field() string
Field function returns field value.
func (StatCacheTaskRequestValidationError) Key ¶ added in v2.0.121
func (e StatCacheTaskRequestValidationError) Key() bool
Key function returns key value.
func (StatCacheTaskRequestValidationError) Reason ¶ added in v2.0.121
func (e StatCacheTaskRequestValidationError) Reason() string
Reason function returns reason value.
type StatFileRequest ¶ added in v2.1.73
type StatFileRequest struct {
// URL is the file url for stat.
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// Piece Length is the piece length(bytes) for downloading file. The value needs to
// be greater than 4MiB (4,194,304 bytes) and less than 64MiB (67,108,864 bytes),
// for example: 4194304(4mib), 8388608(8mib). If the piece length is not specified,
// the piece length will be calculated according to the file size.
PieceLength *uint64 `protobuf:"varint,2,opt,name=piece_length,json=pieceLength,proto3,oneof" json:"piece_length,omitempty"`
// Tag is the tag for stat.
Tag *string `protobuf:"bytes,3,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
// Application is the application string for stat.
Application *string `protobuf:"bytes,4,opt,name=application,proto3,oneof" json:"application,omitempty"`
// Filtered query params to generate the task id.
// When filter is ["Signature", "Expires", "ns"], for example:
// http://example.com/xyz?Expires=e1&Signature=s1&ns=docker.io and http://example.com/xyz?Expires=e2&Signature=s2&ns=docker.io
// will generate the same task id.
// Default value includes the filtered query params of s3, gcs, oss, obs, cos.
FilteredQueryParams []string `protobuf:"bytes,5,rep,name=filtered_query_params,json=filteredQueryParams,proto3" json:"filtered_query_params,omitempty"`
// Header is the http headers for authentication.
Header map[string]string `` /* 153-byte string literal not displayed */
// ConcurrentPeerCount specifies the maximum number of peers stat concurrently for a single task.
// For example, if stat a file with ConcurrentPeerCount set to 10, up to 10 peers process that file simultaneously.
// Default is 500, maximum is 1000.
ConcurrentPeerCount *int64 `` /* 127-byte string literal not displayed */
// Timeout is the timeout for stat, default is 30 minutes.
Timeout *durationpb.Duration `protobuf:"bytes,8,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// certificate_chain is the client certs with DER format for the backend client.
CertificateChain [][]byte `protobuf:"bytes,9,rep,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
// insecure_skip_verify indicates whether to skip TLS verification.
InsecureSkipVerify bool `protobuf:"varint,10,opt,name=insecure_skip_verify,json=insecureSkipVerify,proto3" json:"insecure_skip_verify,omitempty"`
// Object storage protocol information.
ObjectStorage *v2.ObjectStorage `protobuf:"bytes,11,opt,name=object_storage,json=objectStorage,proto3,oneof" json:"object_storage,omitempty"`
// HDFS protocol information.
Hdfs *v2.HDFS `protobuf:"bytes,12,opt,name=hdfs,proto3,oneof" json:"hdfs,omitempty"`
// contains filtered or unexported fields
}
StatFileRequest represents request of StatFile.
func (*StatFileRequest) Descriptor
deprecated
added in
v2.1.73
func (*StatFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatFileRequest.ProtoReflect.Descriptor instead.
func (*StatFileRequest) GetApplication ¶ added in v2.1.73
func (x *StatFileRequest) GetApplication() string
func (*StatFileRequest) GetCertificateChain ¶ added in v2.1.73
func (x *StatFileRequest) GetCertificateChain() [][]byte
func (*StatFileRequest) GetConcurrentPeerCount ¶ added in v2.1.73
func (x *StatFileRequest) GetConcurrentPeerCount() int64
func (*StatFileRequest) GetFilteredQueryParams ¶ added in v2.1.73
func (x *StatFileRequest) GetFilteredQueryParams() []string
func (*StatFileRequest) GetHdfs ¶ added in v2.1.73
func (x *StatFileRequest) GetHdfs() *v2.HDFS
func (*StatFileRequest) GetHeader ¶ added in v2.1.73
func (x *StatFileRequest) GetHeader() map[string]string
func (*StatFileRequest) GetInsecureSkipVerify ¶ added in v2.1.73
func (x *StatFileRequest) GetInsecureSkipVerify() bool
func (*StatFileRequest) GetObjectStorage ¶ added in v2.1.73
func (x *StatFileRequest) GetObjectStorage() *v2.ObjectStorage
func (*StatFileRequest) GetPieceLength ¶ added in v2.1.73
func (x *StatFileRequest) GetPieceLength() uint64
func (*StatFileRequest) GetTag ¶ added in v2.1.73
func (x *StatFileRequest) GetTag() string
func (*StatFileRequest) GetTimeout ¶ added in v2.1.73
func (x *StatFileRequest) GetTimeout() *durationpb.Duration
func (*StatFileRequest) GetUrl ¶ added in v2.1.73
func (x *StatFileRequest) GetUrl() string
func (*StatFileRequest) ProtoMessage ¶ added in v2.1.73
func (*StatFileRequest) ProtoMessage()
func (*StatFileRequest) ProtoReflect ¶ added in v2.1.73
func (x *StatFileRequest) ProtoReflect() protoreflect.Message
func (*StatFileRequest) Reset ¶ added in v2.1.73
func (x *StatFileRequest) Reset()
func (*StatFileRequest) String ¶ added in v2.1.73
func (x *StatFileRequest) String() string
func (*StatFileRequest) Validate ¶ added in v2.1.73
func (m *StatFileRequest) Validate() error
Validate checks the field values on StatFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatFileRequest) ValidateAll ¶ added in v2.1.73
func (m *StatFileRequest) ValidateAll() error
ValidateAll checks the field values on StatFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatFileRequestMultiError, or nil if none found.
type StatFileRequestMultiError ¶ added in v2.1.73
type StatFileRequestMultiError []error
StatFileRequestMultiError is an error wrapping multiple validation errors returned by StatFileRequest.ValidateAll() if the designated constraints aren't met.
func (StatFileRequestMultiError) AllErrors ¶ added in v2.1.73
func (m StatFileRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatFileRequestMultiError) Error ¶ added in v2.1.73
func (m StatFileRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatFileRequestValidationError ¶ added in v2.1.73
type StatFileRequestValidationError struct {
// contains filtered or unexported fields
}
StatFileRequestValidationError is the validation error returned by StatFileRequest.Validate if the designated constraints aren't met.
func (StatFileRequestValidationError) Cause ¶ added in v2.1.73
func (e StatFileRequestValidationError) Cause() error
Cause function returns cause value.
func (StatFileRequestValidationError) Error ¶ added in v2.1.73
func (e StatFileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatFileRequestValidationError) ErrorName ¶ added in v2.1.73
func (e StatFileRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatFileRequestValidationError) Field ¶ added in v2.1.73
func (e StatFileRequestValidationError) Field() string
Field function returns field value.
func (StatFileRequestValidationError) Key ¶ added in v2.1.73
func (e StatFileRequestValidationError) Key() bool
Key function returns key value.
func (StatFileRequestValidationError) Reason ¶ added in v2.1.73
func (e StatFileRequestValidationError) Reason() string
Reason function returns reason value.
type StatFileResponse ¶ added in v2.1.73
type StatFileResponse struct {
// Peers is the peers that have downloaded the file.
Peers []*PeerFile `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
// contains filtered or unexported fields
}
StatFileResponse represents response of StatFile.
func (*StatFileResponse) Descriptor
deprecated
added in
v2.1.73
func (*StatFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatFileResponse.ProtoReflect.Descriptor instead.
func (*StatFileResponse) GetPeers ¶ added in v2.1.73
func (x *StatFileResponse) GetPeers() []*PeerFile
func (*StatFileResponse) ProtoMessage ¶ added in v2.1.73
func (*StatFileResponse) ProtoMessage()
func (*StatFileResponse) ProtoReflect ¶ added in v2.1.73
func (x *StatFileResponse) ProtoReflect() protoreflect.Message
func (*StatFileResponse) Reset ¶ added in v2.1.73
func (x *StatFileResponse) Reset()
func (*StatFileResponse) String ¶ added in v2.1.73
func (x *StatFileResponse) String() string
func (*StatFileResponse) Validate ¶ added in v2.1.73
func (m *StatFileResponse) Validate() error
Validate checks the field values on StatFileResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatFileResponse) ValidateAll ¶ added in v2.1.73
func (m *StatFileResponse) ValidateAll() error
ValidateAll checks the field values on StatFileResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatFileResponseMultiError, or nil if none found.
type StatFileResponseMultiError ¶ added in v2.1.73
type StatFileResponseMultiError []error
StatFileResponseMultiError is an error wrapping multiple validation errors returned by StatFileResponse.ValidateAll() if the designated constraints aren't met.
func (StatFileResponseMultiError) AllErrors ¶ added in v2.1.73
func (m StatFileResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatFileResponseMultiError) Error ¶ added in v2.1.73
func (m StatFileResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatFileResponseValidationError ¶ added in v2.1.73
type StatFileResponseValidationError struct {
// contains filtered or unexported fields
}
StatFileResponseValidationError is the validation error returned by StatFileResponse.Validate if the designated constraints aren't met.
func (StatFileResponseValidationError) Cause ¶ added in v2.1.73
func (e StatFileResponseValidationError) Cause() error
Cause function returns cause value.
func (StatFileResponseValidationError) Error ¶ added in v2.1.73
func (e StatFileResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StatFileResponseValidationError) ErrorName ¶ added in v2.1.73
func (e StatFileResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StatFileResponseValidationError) Field ¶ added in v2.1.73
func (e StatFileResponseValidationError) Field() string
Field function returns field value.
func (StatFileResponseValidationError) Key ¶ added in v2.1.73
func (e StatFileResponseValidationError) Key() bool
Key function returns key value.
func (StatFileResponseValidationError) Reason ¶ added in v2.1.73
func (e StatFileResponseValidationError) Reason() string
Reason function returns reason value.
type StatImageRequest ¶ added in v2.1.52
type StatImageRequest struct {
// URL is the image manifest url for preheating.
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// Piece Length is the piece length(bytes) for downloading file. The value needs to
// be greater than 4MiB (4,194,304 bytes) and less than 64MiB (67,108,864 bytes),
// for example: 4194304(4mib), 8388608(8mib). If the piece length is not specified,
// the piece length will be calculated according to the file size.
PieceLength *uint64 `protobuf:"varint,2,opt,name=piece_length,json=pieceLength,proto3,oneof" json:"piece_length,omitempty"`
// Tag is the tag for preheating.
Tag *string `protobuf:"bytes,3,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
// Application is the application string for preheating.
Application *string `protobuf:"bytes,4,opt,name=application,proto3,oneof" json:"application,omitempty"`
// Filtered query params to generate the task id.
// When filter is ["Signature", "Expires", "ns"], for example:
// http://example.com/xyz?Expires=e1&Signature=s1&ns=docker.io and http://example.com/xyz?Expires=e2&Signature=s2&ns=docker.io
// will generate the same task id.
// Default value includes the filtered query params of s3, gcs, oss, obs, cos.
FilteredQueryParams []string `protobuf:"bytes,5,rep,name=filtered_query_params,json=filteredQueryParams,proto3" json:"filtered_query_params,omitempty"`
// Header is the http headers for authentication.
Header map[string]string `` /* 153-byte string literal not displayed */
// Username is the username for authentication.
Username *string `protobuf:"bytes,7,opt,name=username,proto3,oneof" json:"username,omitempty"`
// Password is the password for authentication.
Password *string `protobuf:"bytes,8,opt,name=password,proto3,oneof" json:"password,omitempty"`
// Platform is the platform for preheating, such as linux/amd64, linux/arm64, etc.
Platform *string `protobuf:"bytes,9,opt,name=platform,proto3,oneof" json:"platform,omitempty"`
// ConcurrentLayerCount specifies the maximum number of layers to get concurrently.
// For example, if stat 100 layers with ConcurrentLayerCount set to 10, up to 10 layers are processed simultaneously.
// If ConcurrentPeerCount is 10 for 1000 peers, each layer is stated by 10 peers concurrently.
// Default is 8, maximum is 100.
ConcurrentLayerCount *int64 `` /* 131-byte string literal not displayed */
// ConcurrentPeerCount specifies the maximum number of peers stat concurrently for a single task (e.g., an image layer).
// For example, if stat a layer with ConcurrentPeerCount set to 10, up to 10 peers process that layer simultaneously.
// Default is 500, maximum is 1000.
ConcurrentPeerCount *int64 `` /* 128-byte string literal not displayed */
// Timeout is the timeout for preheating, default is 30 minutes.
Timeout *durationpb.Duration `protobuf:"bytes,12,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// certificate_chain is the client certs with DER format for the backend client.
CertificateChain [][]byte `protobuf:"bytes,13,rep,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
// insecure_skip_verify indicates whether to skip TLS verification.
InsecureSkipVerify bool `protobuf:"varint,14,opt,name=insecure_skip_verify,json=insecureSkipVerify,proto3" json:"insecure_skip_verify,omitempty"`
// contains filtered or unexported fields
}
StatImageRequest represents request of StatImage.
func (*StatImageRequest) Descriptor
deprecated
added in
v2.1.52
func (*StatImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatImageRequest.ProtoReflect.Descriptor instead.
func (*StatImageRequest) GetApplication ¶ added in v2.1.52
func (x *StatImageRequest) GetApplication() string
func (*StatImageRequest) GetCertificateChain ¶ added in v2.1.54
func (x *StatImageRequest) GetCertificateChain() [][]byte
func (*StatImageRequest) GetConcurrentLayerCount ¶ added in v2.1.52
func (x *StatImageRequest) GetConcurrentLayerCount() int64
func (*StatImageRequest) GetConcurrentPeerCount ¶ added in v2.1.52
func (x *StatImageRequest) GetConcurrentPeerCount() int64
func (*StatImageRequest) GetFilteredQueryParams ¶ added in v2.1.52
func (x *StatImageRequest) GetFilteredQueryParams() []string
func (*StatImageRequest) GetHeader ¶ added in v2.1.52
func (x *StatImageRequest) GetHeader() map[string]string
func (*StatImageRequest) GetInsecureSkipVerify ¶ added in v2.1.54
func (x *StatImageRequest) GetInsecureSkipVerify() bool
func (*StatImageRequest) GetPassword ¶ added in v2.1.52
func (x *StatImageRequest) GetPassword() string
func (*StatImageRequest) GetPieceLength ¶ added in v2.1.52
func (x *StatImageRequest) GetPieceLength() uint64
func (*StatImageRequest) GetPlatform ¶ added in v2.1.52
func (x *StatImageRequest) GetPlatform() string
func (*StatImageRequest) GetTag ¶ added in v2.1.52
func (x *StatImageRequest) GetTag() string
func (*StatImageRequest) GetTimeout ¶ added in v2.1.54
func (x *StatImageRequest) GetTimeout() *durationpb.Duration
func (*StatImageRequest) GetUrl ¶ added in v2.1.52
func (x *StatImageRequest) GetUrl() string
func (*StatImageRequest) GetUsername ¶ added in v2.1.52
func (x *StatImageRequest) GetUsername() string
func (*StatImageRequest) ProtoMessage ¶ added in v2.1.52
func (*StatImageRequest) ProtoMessage()
func (*StatImageRequest) ProtoReflect ¶ added in v2.1.52
func (x *StatImageRequest) ProtoReflect() protoreflect.Message
func (*StatImageRequest) Reset ¶ added in v2.1.52
func (x *StatImageRequest) Reset()
func (*StatImageRequest) String ¶ added in v2.1.52
func (x *StatImageRequest) String() string
func (*StatImageRequest) Validate ¶ added in v2.1.52
func (m *StatImageRequest) Validate() error
Validate checks the field values on StatImageRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatImageRequest) ValidateAll ¶ added in v2.1.52
func (m *StatImageRequest) ValidateAll() error
ValidateAll checks the field values on StatImageRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatImageRequestMultiError, or nil if none found.
type StatImageRequestMultiError ¶ added in v2.1.52
type StatImageRequestMultiError []error
StatImageRequestMultiError is an error wrapping multiple validation errors returned by StatImageRequest.ValidateAll() if the designated constraints aren't met.
func (StatImageRequestMultiError) AllErrors ¶ added in v2.1.52
func (m StatImageRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatImageRequestMultiError) Error ¶ added in v2.1.52
func (m StatImageRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatImageRequestValidationError ¶ added in v2.1.52
type StatImageRequestValidationError struct {
// contains filtered or unexported fields
}
StatImageRequestValidationError is the validation error returned by StatImageRequest.Validate if the designated constraints aren't met.
func (StatImageRequestValidationError) Cause ¶ added in v2.1.52
func (e StatImageRequestValidationError) Cause() error
Cause function returns cause value.
func (StatImageRequestValidationError) Error ¶ added in v2.1.52
func (e StatImageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatImageRequestValidationError) ErrorName ¶ added in v2.1.52
func (e StatImageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatImageRequestValidationError) Field ¶ added in v2.1.52
func (e StatImageRequestValidationError) Field() string
Field function returns field value.
func (StatImageRequestValidationError) Key ¶ added in v2.1.52
func (e StatImageRequestValidationError) Key() bool
Key function returns key value.
func (StatImageRequestValidationError) Reason ¶ added in v2.1.52
func (e StatImageRequestValidationError) Reason() string
Reason function returns reason value.
type StatImageResponse ¶ added in v2.1.52
type StatImageResponse struct {
// Image is the image information.
Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
// Peers is the peers that have downloaded the image.
Peers []*PeerImage `protobuf:"bytes,2,rep,name=peers,proto3" json:"peers,omitempty"`
// contains filtered or unexported fields
}
StatImageResponse represents response of StatImage.
func (*StatImageResponse) Descriptor
deprecated
added in
v2.1.52
func (*StatImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatImageResponse.ProtoReflect.Descriptor instead.
func (*StatImageResponse) GetImage ¶ added in v2.1.52
func (x *StatImageResponse) GetImage() *Image
func (*StatImageResponse) GetPeers ¶ added in v2.1.52
func (x *StatImageResponse) GetPeers() []*PeerImage
func (*StatImageResponse) ProtoMessage ¶ added in v2.1.52
func (*StatImageResponse) ProtoMessage()
func (*StatImageResponse) ProtoReflect ¶ added in v2.1.52
func (x *StatImageResponse) ProtoReflect() protoreflect.Message
func (*StatImageResponse) Reset ¶ added in v2.1.52
func (x *StatImageResponse) Reset()
func (*StatImageResponse) String ¶ added in v2.1.52
func (x *StatImageResponse) String() string
func (*StatImageResponse) Validate ¶ added in v2.1.52
func (m *StatImageResponse) Validate() error
Validate checks the field values on StatImageResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatImageResponse) ValidateAll ¶ added in v2.1.52
func (m *StatImageResponse) ValidateAll() error
ValidateAll checks the field values on StatImageResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatImageResponseMultiError, or nil if none found.
type StatImageResponseMultiError ¶ added in v2.1.52
type StatImageResponseMultiError []error
StatImageResponseMultiError is an error wrapping multiple validation errors returned by StatImageResponse.ValidateAll() if the designated constraints aren't met.
func (StatImageResponseMultiError) AllErrors ¶ added in v2.1.52
func (m StatImageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatImageResponseMultiError) Error ¶ added in v2.1.52
func (m StatImageResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatImageResponseValidationError ¶ added in v2.1.52
type StatImageResponseValidationError struct {
// contains filtered or unexported fields
}
StatImageResponseValidationError is the validation error returned by StatImageResponse.Validate if the designated constraints aren't met.
func (StatImageResponseValidationError) Cause ¶ added in v2.1.52
func (e StatImageResponseValidationError) Cause() error
Cause function returns cause value.
func (StatImageResponseValidationError) Error ¶ added in v2.1.52
func (e StatImageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StatImageResponseValidationError) ErrorName ¶ added in v2.1.52
func (e StatImageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StatImageResponseValidationError) Field ¶ added in v2.1.52
func (e StatImageResponseValidationError) Field() string
Field function returns field value.
func (StatImageResponseValidationError) Key ¶ added in v2.1.52
func (e StatImageResponseValidationError) Key() bool
Key function returns key value.
func (StatImageResponseValidationError) Reason ¶ added in v2.1.52
func (e StatImageResponseValidationError) Reason() string
Reason function returns reason value.
type StatPeerRequest ¶
type StatPeerRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// contains filtered or unexported fields
}
StatPeerRequest represents request of StatPeer.
func (*StatPeerRequest) Descriptor
deprecated
func (*StatPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatPeerRequest.ProtoReflect.Descriptor instead.
func (*StatPeerRequest) GetHostId ¶
func (x *StatPeerRequest) GetHostId() string
func (*StatPeerRequest) GetPeerId ¶
func (x *StatPeerRequest) GetPeerId() string
func (*StatPeerRequest) GetTaskId ¶
func (x *StatPeerRequest) GetTaskId() string
func (*StatPeerRequest) ProtoMessage ¶
func (*StatPeerRequest) ProtoMessage()
func (*StatPeerRequest) ProtoReflect ¶
func (x *StatPeerRequest) ProtoReflect() protoreflect.Message
func (*StatPeerRequest) Reset ¶
func (x *StatPeerRequest) Reset()
func (*StatPeerRequest) String ¶
func (x *StatPeerRequest) String() string
func (*StatPeerRequest) Validate ¶
func (m *StatPeerRequest) Validate() error
Validate checks the field values on StatPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatPeerRequest) ValidateAll ¶
func (m *StatPeerRequest) ValidateAll() error
ValidateAll checks the field values on StatPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatPeerRequestMultiError, or nil if none found.
type StatPeerRequestMultiError ¶
type StatPeerRequestMultiError []error
StatPeerRequestMultiError is an error wrapping multiple validation errors returned by StatPeerRequest.ValidateAll() if the designated constraints aren't met.
func (StatPeerRequestMultiError) AllErrors ¶
func (m StatPeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatPeerRequestMultiError) Error ¶
func (m StatPeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatPeerRequestValidationError ¶
type StatPeerRequestValidationError struct {
// contains filtered or unexported fields
}
StatPeerRequestValidationError is the validation error returned by StatPeerRequest.Validate if the designated constraints aren't met.
func (StatPeerRequestValidationError) Cause ¶
func (e StatPeerRequestValidationError) Cause() error
Cause function returns cause value.
func (StatPeerRequestValidationError) Error ¶
func (e StatPeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatPeerRequestValidationError) ErrorName ¶
func (e StatPeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatPeerRequestValidationError) Field ¶
func (e StatPeerRequestValidationError) Field() string
Field function returns field value.
func (StatPeerRequestValidationError) Key ¶
func (e StatPeerRequestValidationError) Key() bool
Key function returns key value.
func (StatPeerRequestValidationError) Reason ¶
func (e StatPeerRequestValidationError) Reason() string
Reason function returns reason value.
type StatPersistentCachePeerRequest ¶ added in v2.0.161
type StatPersistentCachePeerRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// contains filtered or unexported fields
}
StatPersistentCachePeerRequest represents request of StatPersistentCachePeer.
func (*StatPersistentCachePeerRequest) Descriptor
deprecated
added in
v2.0.161
func (*StatPersistentCachePeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatPersistentCachePeerRequest.ProtoReflect.Descriptor instead.
func (*StatPersistentCachePeerRequest) GetHostId ¶ added in v2.0.161
func (x *StatPersistentCachePeerRequest) GetHostId() string
func (*StatPersistentCachePeerRequest) GetPeerId ¶ added in v2.0.161
func (x *StatPersistentCachePeerRequest) GetPeerId() string
func (*StatPersistentCachePeerRequest) GetTaskId ¶ added in v2.0.161
func (x *StatPersistentCachePeerRequest) GetTaskId() string
func (*StatPersistentCachePeerRequest) ProtoMessage ¶ added in v2.0.161
func (*StatPersistentCachePeerRequest) ProtoMessage()
func (*StatPersistentCachePeerRequest) ProtoReflect ¶ added in v2.0.161
func (x *StatPersistentCachePeerRequest) ProtoReflect() protoreflect.Message
func (*StatPersistentCachePeerRequest) Reset ¶ added in v2.0.161
func (x *StatPersistentCachePeerRequest) Reset()
func (*StatPersistentCachePeerRequest) String ¶ added in v2.0.161
func (x *StatPersistentCachePeerRequest) String() string
func (*StatPersistentCachePeerRequest) Validate ¶ added in v2.0.161
func (m *StatPersistentCachePeerRequest) Validate() error
Validate checks the field values on StatPersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatPersistentCachePeerRequest) ValidateAll ¶ added in v2.0.161
func (m *StatPersistentCachePeerRequest) ValidateAll() error
ValidateAll checks the field values on StatPersistentCachePeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatPersistentCachePeerRequestMultiError, or nil if none found.
type StatPersistentCachePeerRequestMultiError ¶ added in v2.0.161
type StatPersistentCachePeerRequestMultiError []error
StatPersistentCachePeerRequestMultiError is an error wrapping multiple validation errors returned by StatPersistentCachePeerRequest.ValidateAll() if the designated constraints aren't met.
func (StatPersistentCachePeerRequestMultiError) AllErrors ¶ added in v2.0.161
func (m StatPersistentCachePeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatPersistentCachePeerRequestMultiError) Error ¶ added in v2.0.161
func (m StatPersistentCachePeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatPersistentCachePeerRequestValidationError ¶ added in v2.0.161
type StatPersistentCachePeerRequestValidationError struct {
// contains filtered or unexported fields
}
StatPersistentCachePeerRequestValidationError is the validation error returned by StatPersistentCachePeerRequest.Validate if the designated constraints aren't met.
func (StatPersistentCachePeerRequestValidationError) Cause ¶ added in v2.0.161
func (e StatPersistentCachePeerRequestValidationError) Cause() error
Cause function returns cause value.
func (StatPersistentCachePeerRequestValidationError) Error ¶ added in v2.0.161
func (e StatPersistentCachePeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatPersistentCachePeerRequestValidationError) ErrorName ¶ added in v2.0.161
func (e StatPersistentCachePeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatPersistentCachePeerRequestValidationError) Field ¶ added in v2.0.161
func (e StatPersistentCachePeerRequestValidationError) Field() string
Field function returns field value.
func (StatPersistentCachePeerRequestValidationError) Key ¶ added in v2.0.161
func (e StatPersistentCachePeerRequestValidationError) Key() bool
Key function returns key value.
func (StatPersistentCachePeerRequestValidationError) Reason ¶ added in v2.0.161
func (e StatPersistentCachePeerRequestValidationError) Reason() string
Reason function returns reason value.
type StatPersistentCacheTaskRequest ¶ added in v2.0.161
type StatPersistentCacheTaskRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// contains filtered or unexported fields
}
StatPersistentCacheTaskRequest represents request of StatPersistentCacheTask.
func (*StatPersistentCacheTaskRequest) Descriptor
deprecated
added in
v2.0.161
func (*StatPersistentCacheTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatPersistentCacheTaskRequest.ProtoReflect.Descriptor instead.
func (*StatPersistentCacheTaskRequest) GetHostId ¶ added in v2.0.161
func (x *StatPersistentCacheTaskRequest) GetHostId() string
func (*StatPersistentCacheTaskRequest) GetTaskId ¶ added in v2.0.161
func (x *StatPersistentCacheTaskRequest) GetTaskId() string
func (*StatPersistentCacheTaskRequest) ProtoMessage ¶ added in v2.0.161
func (*StatPersistentCacheTaskRequest) ProtoMessage()
func (*StatPersistentCacheTaskRequest) ProtoReflect ¶ added in v2.0.161
func (x *StatPersistentCacheTaskRequest) ProtoReflect() protoreflect.Message
func (*StatPersistentCacheTaskRequest) Reset ¶ added in v2.0.161
func (x *StatPersistentCacheTaskRequest) Reset()
func (*StatPersistentCacheTaskRequest) String ¶ added in v2.0.161
func (x *StatPersistentCacheTaskRequest) String() string
func (*StatPersistentCacheTaskRequest) Validate ¶ added in v2.0.161
func (m *StatPersistentCacheTaskRequest) Validate() error
Validate checks the field values on StatPersistentCacheTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatPersistentCacheTaskRequest) ValidateAll ¶ added in v2.0.161
func (m *StatPersistentCacheTaskRequest) ValidateAll() error
ValidateAll checks the field values on StatPersistentCacheTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatPersistentCacheTaskRequestMultiError, or nil if none found.
type StatPersistentCacheTaskRequestMultiError ¶ added in v2.0.161
type StatPersistentCacheTaskRequestMultiError []error
StatPersistentCacheTaskRequestMultiError is an error wrapping multiple validation errors returned by StatPersistentCacheTaskRequest.ValidateAll() if the designated constraints aren't met.
func (StatPersistentCacheTaskRequestMultiError) AllErrors ¶ added in v2.0.161
func (m StatPersistentCacheTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatPersistentCacheTaskRequestMultiError) Error ¶ added in v2.0.161
func (m StatPersistentCacheTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatPersistentCacheTaskRequestValidationError ¶ added in v2.0.161
type StatPersistentCacheTaskRequestValidationError struct {
// contains filtered or unexported fields
}
StatPersistentCacheTaskRequestValidationError is the validation error returned by StatPersistentCacheTaskRequest.Validate if the designated constraints aren't met.
func (StatPersistentCacheTaskRequestValidationError) Cause ¶ added in v2.0.161
func (e StatPersistentCacheTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (StatPersistentCacheTaskRequestValidationError) Error ¶ added in v2.0.161
func (e StatPersistentCacheTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatPersistentCacheTaskRequestValidationError) ErrorName ¶ added in v2.0.161
func (e StatPersistentCacheTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatPersistentCacheTaskRequestValidationError) Field ¶ added in v2.0.161
func (e StatPersistentCacheTaskRequestValidationError) Field() string
Field function returns field value.
func (StatPersistentCacheTaskRequestValidationError) Key ¶ added in v2.0.161
func (e StatPersistentCacheTaskRequestValidationError) Key() bool
Key function returns key value.
func (StatPersistentCacheTaskRequestValidationError) Reason ¶ added in v2.0.161
func (e StatPersistentCacheTaskRequestValidationError) Reason() string
Reason function returns reason value.
type StatPersistentPeerRequest ¶ added in v2.1.86
type StatPersistentPeerRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// contains filtered or unexported fields
}
StatPersistentPeerRequest represents request of StatPersistentPeer.
func (*StatPersistentPeerRequest) Descriptor
deprecated
added in
v2.1.86
func (*StatPersistentPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatPersistentPeerRequest.ProtoReflect.Descriptor instead.
func (*StatPersistentPeerRequest) GetHostId ¶ added in v2.1.86
func (x *StatPersistentPeerRequest) GetHostId() string
func (*StatPersistentPeerRequest) GetPeerId ¶ added in v2.1.86
func (x *StatPersistentPeerRequest) GetPeerId() string
func (*StatPersistentPeerRequest) GetTaskId ¶ added in v2.1.86
func (x *StatPersistentPeerRequest) GetTaskId() string
func (*StatPersistentPeerRequest) ProtoMessage ¶ added in v2.1.86
func (*StatPersistentPeerRequest) ProtoMessage()
func (*StatPersistentPeerRequest) ProtoReflect ¶ added in v2.1.86
func (x *StatPersistentPeerRequest) ProtoReflect() protoreflect.Message
func (*StatPersistentPeerRequest) Reset ¶ added in v2.1.86
func (x *StatPersistentPeerRequest) Reset()
func (*StatPersistentPeerRequest) String ¶ added in v2.1.86
func (x *StatPersistentPeerRequest) String() string
func (*StatPersistentPeerRequest) Validate ¶ added in v2.1.86
func (m *StatPersistentPeerRequest) Validate() error
Validate checks the field values on StatPersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatPersistentPeerRequest) ValidateAll ¶ added in v2.1.86
func (m *StatPersistentPeerRequest) ValidateAll() error
ValidateAll checks the field values on StatPersistentPeerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatPersistentPeerRequestMultiError, or nil if none found.
type StatPersistentPeerRequestMultiError ¶ added in v2.1.86
type StatPersistentPeerRequestMultiError []error
StatPersistentPeerRequestMultiError is an error wrapping multiple validation errors returned by StatPersistentPeerRequest.ValidateAll() if the designated constraints aren't met.
func (StatPersistentPeerRequestMultiError) AllErrors ¶ added in v2.1.86
func (m StatPersistentPeerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatPersistentPeerRequestMultiError) Error ¶ added in v2.1.86
func (m StatPersistentPeerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatPersistentPeerRequestValidationError ¶ added in v2.1.86
type StatPersistentPeerRequestValidationError struct {
// contains filtered or unexported fields
}
StatPersistentPeerRequestValidationError is the validation error returned by StatPersistentPeerRequest.Validate if the designated constraints aren't met.
func (StatPersistentPeerRequestValidationError) Cause ¶ added in v2.1.86
func (e StatPersistentPeerRequestValidationError) Cause() error
Cause function returns cause value.
func (StatPersistentPeerRequestValidationError) Error ¶ added in v2.1.86
func (e StatPersistentPeerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatPersistentPeerRequestValidationError) ErrorName ¶ added in v2.1.86
func (e StatPersistentPeerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatPersistentPeerRequestValidationError) Field ¶ added in v2.1.86
func (e StatPersistentPeerRequestValidationError) Field() string
Field function returns field value.
func (StatPersistentPeerRequestValidationError) Key ¶ added in v2.1.86
func (e StatPersistentPeerRequestValidationError) Key() bool
Key function returns key value.
func (StatPersistentPeerRequestValidationError) Reason ¶ added in v2.1.86
func (e StatPersistentPeerRequestValidationError) Reason() string
Reason function returns reason value.
type StatPersistentTaskRequest ¶ added in v2.1.86
type StatPersistentTaskRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// contains filtered or unexported fields
}
StatPersistentTaskRequest represents request of StatPersistentTask.
func (*StatPersistentTaskRequest) Descriptor
deprecated
added in
v2.1.86
func (*StatPersistentTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatPersistentTaskRequest.ProtoReflect.Descriptor instead.
func (*StatPersistentTaskRequest) GetHostId ¶ added in v2.1.86
func (x *StatPersistentTaskRequest) GetHostId() string
func (*StatPersistentTaskRequest) GetTaskId ¶ added in v2.1.86
func (x *StatPersistentTaskRequest) GetTaskId() string
func (*StatPersistentTaskRequest) ProtoMessage ¶ added in v2.1.86
func (*StatPersistentTaskRequest) ProtoMessage()
func (*StatPersistentTaskRequest) ProtoReflect ¶ added in v2.1.86
func (x *StatPersistentTaskRequest) ProtoReflect() protoreflect.Message
func (*StatPersistentTaskRequest) Reset ¶ added in v2.1.86
func (x *StatPersistentTaskRequest) Reset()
func (*StatPersistentTaskRequest) String ¶ added in v2.1.86
func (x *StatPersistentTaskRequest) String() string
func (*StatPersistentTaskRequest) Validate ¶ added in v2.1.86
func (m *StatPersistentTaskRequest) Validate() error
Validate checks the field values on StatPersistentTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatPersistentTaskRequest) ValidateAll ¶ added in v2.1.86
func (m *StatPersistentTaskRequest) ValidateAll() error
ValidateAll checks the field values on StatPersistentTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatPersistentTaskRequestMultiError, or nil if none found.
type StatPersistentTaskRequestMultiError ¶ added in v2.1.86
type StatPersistentTaskRequestMultiError []error
StatPersistentTaskRequestMultiError is an error wrapping multiple validation errors returned by StatPersistentTaskRequest.ValidateAll() if the designated constraints aren't met.
func (StatPersistentTaskRequestMultiError) AllErrors ¶ added in v2.1.86
func (m StatPersistentTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatPersistentTaskRequestMultiError) Error ¶ added in v2.1.86
func (m StatPersistentTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatPersistentTaskRequestValidationError ¶ added in v2.1.86
type StatPersistentTaskRequestValidationError struct {
// contains filtered or unexported fields
}
StatPersistentTaskRequestValidationError is the validation error returned by StatPersistentTaskRequest.Validate if the designated constraints aren't met.
func (StatPersistentTaskRequestValidationError) Cause ¶ added in v2.1.86
func (e StatPersistentTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (StatPersistentTaskRequestValidationError) Error ¶ added in v2.1.86
func (e StatPersistentTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatPersistentTaskRequestValidationError) ErrorName ¶ added in v2.1.86
func (e StatPersistentTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatPersistentTaskRequestValidationError) Field ¶ added in v2.1.86
func (e StatPersistentTaskRequestValidationError) Field() string
Field function returns field value.
func (StatPersistentTaskRequestValidationError) Key ¶ added in v2.1.86
func (e StatPersistentTaskRequestValidationError) Key() bool
Key function returns key value.
func (StatPersistentTaskRequestValidationError) Reason ¶ added in v2.1.86
func (e StatPersistentTaskRequestValidationError) Reason() string
Reason function returns reason value.
type StatTaskRequest ¶
type StatTaskRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// contains filtered or unexported fields
}
StatTaskRequest represents request of StatTask.
func (*StatTaskRequest) Descriptor
deprecated
func (*StatTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatTaskRequest.ProtoReflect.Descriptor instead.
func (*StatTaskRequest) GetHostId ¶ added in v2.0.131
func (x *StatTaskRequest) GetHostId() string
func (*StatTaskRequest) GetTaskId ¶ added in v2.0.121
func (x *StatTaskRequest) GetTaskId() string
func (*StatTaskRequest) ProtoMessage ¶
func (*StatTaskRequest) ProtoMessage()
func (*StatTaskRequest) ProtoReflect ¶
func (x *StatTaskRequest) ProtoReflect() protoreflect.Message
func (*StatTaskRequest) Reset ¶
func (x *StatTaskRequest) Reset()
func (*StatTaskRequest) String ¶
func (x *StatTaskRequest) String() string
func (*StatTaskRequest) Validate ¶
func (m *StatTaskRequest) Validate() error
Validate checks the field values on StatTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatTaskRequest) ValidateAll ¶
func (m *StatTaskRequest) ValidateAll() error
ValidateAll checks the field values on StatTaskRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatTaskRequestMultiError, or nil if none found.
type StatTaskRequestMultiError ¶
type StatTaskRequestMultiError []error
StatTaskRequestMultiError is an error wrapping multiple validation errors returned by StatTaskRequest.ValidateAll() if the designated constraints aren't met.
func (StatTaskRequestMultiError) AllErrors ¶
func (m StatTaskRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatTaskRequestMultiError) Error ¶
func (m StatTaskRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatTaskRequestValidationError ¶
type StatTaskRequestValidationError struct {
// contains filtered or unexported fields
}
StatTaskRequestValidationError is the validation error returned by StatTaskRequest.Validate if the designated constraints aren't met.
func (StatTaskRequestValidationError) Cause ¶
func (e StatTaskRequestValidationError) Cause() error
Cause function returns cause value.
func (StatTaskRequestValidationError) Error ¶
func (e StatTaskRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatTaskRequestValidationError) ErrorName ¶
func (e StatTaskRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatTaskRequestValidationError) Field ¶
func (e StatTaskRequestValidationError) Field() string
Field function returns field value.
func (StatTaskRequestValidationError) Key ¶
func (e StatTaskRequestValidationError) Key() bool
Key function returns key value.
func (StatTaskRequestValidationError) Reason ¶
func (e StatTaskRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedSchedulerServer ¶
type UnimplementedSchedulerServer struct {
}
UnimplementedSchedulerServer should be embedded to have forward compatible implementations.
func (UnimplementedSchedulerServer) AnnounceCachePeer ¶ added in v2.0.121
func (UnimplementedSchedulerServer) AnnounceCachePeer(Scheduler_AnnounceCachePeerServer) error
func (UnimplementedSchedulerServer) AnnounceHost ¶
func (UnimplementedSchedulerServer) AnnounceHost(context.Context, *AnnounceHostRequest) (*emptypb.Empty, error)
func (UnimplementedSchedulerServer) AnnouncePeer ¶
func (UnimplementedSchedulerServer) AnnouncePeer(Scheduler_AnnouncePeerServer) error
func (UnimplementedSchedulerServer) AnnouncePersistentCachePeer ¶ added in v2.0.161
func (UnimplementedSchedulerServer) AnnouncePersistentCachePeer(Scheduler_AnnouncePersistentCachePeerServer) error
func (UnimplementedSchedulerServer) AnnouncePersistentPeer ¶ added in v2.1.86
func (UnimplementedSchedulerServer) AnnouncePersistentPeer(Scheduler_AnnouncePersistentPeerServer) error
func (UnimplementedSchedulerServer) DeleteCachePeer ¶ added in v2.0.121
func (UnimplementedSchedulerServer) DeleteCachePeer(context.Context, *DeleteCachePeerRequest) (*emptypb.Empty, error)
func (UnimplementedSchedulerServer) DeleteCacheTask ¶ added in v2.0.121
func (UnimplementedSchedulerServer) DeleteCacheTask(context.Context, *DeleteCacheTaskRequest) (*emptypb.Empty, error)
func (UnimplementedSchedulerServer) DeleteHost ¶ added in v2.0.118
func (UnimplementedSchedulerServer) DeleteHost(context.Context, *DeleteHostRequest) (*emptypb.Empty, error)
func (UnimplementedSchedulerServer) DeletePeer ¶ added in v2.0.118
func (UnimplementedSchedulerServer) DeletePeer(context.Context, *DeletePeerRequest) (*emptypb.Empty, error)
func (UnimplementedSchedulerServer) DeletePersistentCachePeer ¶ added in v2.0.161
func (UnimplementedSchedulerServer) DeletePersistentCachePeer(context.Context, *DeletePersistentCachePeerRequest) (*emptypb.Empty, error)
func (UnimplementedSchedulerServer) DeletePersistentCacheTask ¶ added in v2.0.161
func (UnimplementedSchedulerServer) DeletePersistentCacheTask(context.Context, *DeletePersistentCacheTaskRequest) (*emptypb.Empty, error)
func (UnimplementedSchedulerServer) DeletePersistentPeer ¶ added in v2.1.86
func (UnimplementedSchedulerServer) DeletePersistentPeer(context.Context, *DeletePersistentPeerRequest) (*emptypb.Empty, error)
func (UnimplementedSchedulerServer) DeletePersistentTask ¶ added in v2.1.86
func (UnimplementedSchedulerServer) DeletePersistentTask(context.Context, *DeletePersistentTaskRequest) (*emptypb.Empty, error)
func (UnimplementedSchedulerServer) DeleteTask ¶ added in v2.0.118
func (UnimplementedSchedulerServer) DeleteTask(context.Context, *DeleteTaskRequest) (*emptypb.Empty, error)
func (UnimplementedSchedulerServer) ListHosts ¶ added in v2.0.158
func (UnimplementedSchedulerServer) ListHosts(context.Context, *ListHostsRequest) (*ListHostsResponse, error)
func (UnimplementedSchedulerServer) PreheatFile ¶ added in v2.1.73
func (UnimplementedSchedulerServer) PreheatFile(context.Context, *PreheatFileRequest) (*emptypb.Empty, error)
func (UnimplementedSchedulerServer) PreheatImage ¶ added in v2.1.52
func (UnimplementedSchedulerServer) PreheatImage(context.Context, *PreheatImageRequest) (*emptypb.Empty, error)
func (UnimplementedSchedulerServer) StatCachePeer ¶ added in v2.0.121
func (UnimplementedSchedulerServer) StatCachePeer(context.Context, *StatCachePeerRequest) (*v2.CachePeer, error)
func (UnimplementedSchedulerServer) StatCacheTask ¶ added in v2.0.121
func (UnimplementedSchedulerServer) StatCacheTask(context.Context, *StatCacheTaskRequest) (*v2.CacheTask, error)
func (UnimplementedSchedulerServer) StatFile ¶ added in v2.1.73
func (UnimplementedSchedulerServer) StatFile(context.Context, *StatFileRequest) (*StatFileResponse, error)
func (UnimplementedSchedulerServer) StatImage ¶ added in v2.1.52
func (UnimplementedSchedulerServer) StatImage(context.Context, *StatImageRequest) (*StatImageResponse, error)
func (UnimplementedSchedulerServer) StatPeer ¶
func (UnimplementedSchedulerServer) StatPeer(context.Context, *StatPeerRequest) (*v2.Peer, error)
func (UnimplementedSchedulerServer) StatPersistentCachePeer ¶ added in v2.0.161
func (UnimplementedSchedulerServer) StatPersistentCachePeer(context.Context, *StatPersistentCachePeerRequest) (*v2.PersistentCachePeer, error)
func (UnimplementedSchedulerServer) StatPersistentCacheTask ¶ added in v2.0.161
func (UnimplementedSchedulerServer) StatPersistentCacheTask(context.Context, *StatPersistentCacheTaskRequest) (*v2.PersistentCacheTask, error)
func (UnimplementedSchedulerServer) StatPersistentPeer ¶ added in v2.1.86
func (UnimplementedSchedulerServer) StatPersistentPeer(context.Context, *StatPersistentPeerRequest) (*v2.PersistentPeer, error)
func (UnimplementedSchedulerServer) StatPersistentTask ¶ added in v2.1.86
func (UnimplementedSchedulerServer) StatPersistentTask(context.Context, *StatPersistentTaskRequest) (*v2.PersistentTask, error)
func (UnimplementedSchedulerServer) StatTask ¶
func (UnimplementedSchedulerServer) StatTask(context.Context, *StatTaskRequest) (*v2.Task, error)
func (UnimplementedSchedulerServer) UploadPersistentCacheTaskFailed ¶ added in v2.0.161
func (UnimplementedSchedulerServer) UploadPersistentCacheTaskFailed(context.Context, *UploadPersistentCacheTaskFailedRequest) (*emptypb.Empty, error)
func (UnimplementedSchedulerServer) UploadPersistentCacheTaskFinished ¶ added in v2.0.161
func (UnimplementedSchedulerServer) UploadPersistentCacheTaskFinished(context.Context, *UploadPersistentCacheTaskFinishedRequest) (*v2.PersistentCacheTask, error)
func (UnimplementedSchedulerServer) UploadPersistentCacheTaskStarted ¶ added in v2.0.161
func (UnimplementedSchedulerServer) UploadPersistentCacheTaskStarted(context.Context, *UploadPersistentCacheTaskStartedRequest) (*emptypb.Empty, error)
func (UnimplementedSchedulerServer) UploadPersistentTaskFailed ¶ added in v2.1.86
func (UnimplementedSchedulerServer) UploadPersistentTaskFailed(context.Context, *UploadPersistentTaskFailedRequest) (*emptypb.Empty, error)
func (UnimplementedSchedulerServer) UploadPersistentTaskFinished ¶ added in v2.1.86
func (UnimplementedSchedulerServer) UploadPersistentTaskFinished(context.Context, *UploadPersistentTaskFinishedRequest) (*v2.PersistentTask, error)
func (UnimplementedSchedulerServer) UploadPersistentTaskStarted ¶ added in v2.1.86
func (UnimplementedSchedulerServer) UploadPersistentTaskStarted(context.Context, *UploadPersistentTaskStartedRequest) (*emptypb.Empty, error)
type UnsafeSchedulerServer ¶
type UnsafeSchedulerServer interface {
// contains filtered or unexported methods
}
UnsafeSchedulerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SchedulerServer will result in compilation errors.
type UploadPersistentCacheTaskFailedRequest ¶ added in v2.0.161
type UploadPersistentCacheTaskFailedRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// The description of the upload failed.
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
UploadPersistentCacheTaskFailedRequest represents upload persistent cache task failed request of UploadPersistentCacheTaskFailedRequest.
func (*UploadPersistentCacheTaskFailedRequest) Descriptor
deprecated
added in
v2.0.161
func (*UploadPersistentCacheTaskFailedRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadPersistentCacheTaskFailedRequest.ProtoReflect.Descriptor instead.
func (*UploadPersistentCacheTaskFailedRequest) GetDescription ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskFailedRequest) GetDescription() string
func (*UploadPersistentCacheTaskFailedRequest) GetHostId ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskFailedRequest) GetHostId() string
func (*UploadPersistentCacheTaskFailedRequest) GetPeerId ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskFailedRequest) GetPeerId() string
func (*UploadPersistentCacheTaskFailedRequest) GetTaskId ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskFailedRequest) GetTaskId() string
func (*UploadPersistentCacheTaskFailedRequest) ProtoMessage ¶ added in v2.0.161
func (*UploadPersistentCacheTaskFailedRequest) ProtoMessage()
func (*UploadPersistentCacheTaskFailedRequest) ProtoReflect ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskFailedRequest) ProtoReflect() protoreflect.Message
func (*UploadPersistentCacheTaskFailedRequest) Reset ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskFailedRequest) Reset()
func (*UploadPersistentCacheTaskFailedRequest) String ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskFailedRequest) String() string
func (*UploadPersistentCacheTaskFailedRequest) Validate ¶ added in v2.0.161
func (m *UploadPersistentCacheTaskFailedRequest) Validate() error
Validate checks the field values on UploadPersistentCacheTaskFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UploadPersistentCacheTaskFailedRequest) ValidateAll ¶ added in v2.0.161
func (m *UploadPersistentCacheTaskFailedRequest) ValidateAll() error
ValidateAll checks the field values on UploadPersistentCacheTaskFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadPersistentCacheTaskFailedRequestMultiError, or nil if none found.
type UploadPersistentCacheTaskFailedRequestMultiError ¶ added in v2.0.161
type UploadPersistentCacheTaskFailedRequestMultiError []error
UploadPersistentCacheTaskFailedRequestMultiError is an error wrapping multiple validation errors returned by UploadPersistentCacheTaskFailedRequest.ValidateAll() if the designated constraints aren't met.
func (UploadPersistentCacheTaskFailedRequestMultiError) AllErrors ¶ added in v2.0.161
func (m UploadPersistentCacheTaskFailedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UploadPersistentCacheTaskFailedRequestMultiError) Error ¶ added in v2.0.161
func (m UploadPersistentCacheTaskFailedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UploadPersistentCacheTaskFailedRequestValidationError ¶ added in v2.0.161
type UploadPersistentCacheTaskFailedRequestValidationError struct {
// contains filtered or unexported fields
}
UploadPersistentCacheTaskFailedRequestValidationError is the validation error returned by UploadPersistentCacheTaskFailedRequest.Validate if the designated constraints aren't met.
func (UploadPersistentCacheTaskFailedRequestValidationError) Cause ¶ added in v2.0.161
func (e UploadPersistentCacheTaskFailedRequestValidationError) Cause() error
Cause function returns cause value.
func (UploadPersistentCacheTaskFailedRequestValidationError) Error ¶ added in v2.0.161
func (e UploadPersistentCacheTaskFailedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UploadPersistentCacheTaskFailedRequestValidationError) ErrorName ¶ added in v2.0.161
func (e UploadPersistentCacheTaskFailedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UploadPersistentCacheTaskFailedRequestValidationError) Field ¶ added in v2.0.161
func (e UploadPersistentCacheTaskFailedRequestValidationError) Field() string
Field function returns field value.
func (UploadPersistentCacheTaskFailedRequestValidationError) Key ¶ added in v2.0.161
func (e UploadPersistentCacheTaskFailedRequestValidationError) Key() bool
Key function returns key value.
func (UploadPersistentCacheTaskFailedRequestValidationError) Reason ¶ added in v2.0.161
func (e UploadPersistentCacheTaskFailedRequestValidationError) Reason() string
Reason function returns reason value.
type UploadPersistentCacheTaskFinishedRequest ¶ added in v2.0.161
type UploadPersistentCacheTaskFinishedRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// contains filtered or unexported fields
}
UploadPersistentCacheTaskFinishedRequest represents upload persistent cache task finished request of UploadPersistentCacheTaskFinishedRequest.
func (*UploadPersistentCacheTaskFinishedRequest) Descriptor
deprecated
added in
v2.0.161
func (*UploadPersistentCacheTaskFinishedRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadPersistentCacheTaskFinishedRequest.ProtoReflect.Descriptor instead.
func (*UploadPersistentCacheTaskFinishedRequest) GetHostId ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskFinishedRequest) GetHostId() string
func (*UploadPersistentCacheTaskFinishedRequest) GetPeerId ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskFinishedRequest) GetPeerId() string
func (*UploadPersistentCacheTaskFinishedRequest) GetTaskId ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskFinishedRequest) GetTaskId() string
func (*UploadPersistentCacheTaskFinishedRequest) ProtoMessage ¶ added in v2.0.161
func (*UploadPersistentCacheTaskFinishedRequest) ProtoMessage()
func (*UploadPersistentCacheTaskFinishedRequest) ProtoReflect ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskFinishedRequest) ProtoReflect() protoreflect.Message
func (*UploadPersistentCacheTaskFinishedRequest) Reset ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskFinishedRequest) Reset()
func (*UploadPersistentCacheTaskFinishedRequest) String ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskFinishedRequest) String() string
func (*UploadPersistentCacheTaskFinishedRequest) Validate ¶ added in v2.0.161
func (m *UploadPersistentCacheTaskFinishedRequest) Validate() error
Validate checks the field values on UploadPersistentCacheTaskFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UploadPersistentCacheTaskFinishedRequest) ValidateAll ¶ added in v2.0.161
func (m *UploadPersistentCacheTaskFinishedRequest) ValidateAll() error
ValidateAll checks the field values on UploadPersistentCacheTaskFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadPersistentCacheTaskFinishedRequestMultiError, or nil if none found.
type UploadPersistentCacheTaskFinishedRequestMultiError ¶ added in v2.0.161
type UploadPersistentCacheTaskFinishedRequestMultiError []error
UploadPersistentCacheTaskFinishedRequestMultiError is an error wrapping multiple validation errors returned by UploadPersistentCacheTaskFinishedRequest.ValidateAll() if the designated constraints aren't met.
func (UploadPersistentCacheTaskFinishedRequestMultiError) AllErrors ¶ added in v2.0.161
func (m UploadPersistentCacheTaskFinishedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UploadPersistentCacheTaskFinishedRequestMultiError) Error ¶ added in v2.0.161
func (m UploadPersistentCacheTaskFinishedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UploadPersistentCacheTaskFinishedRequestValidationError ¶ added in v2.0.161
type UploadPersistentCacheTaskFinishedRequestValidationError struct {
// contains filtered or unexported fields
}
UploadPersistentCacheTaskFinishedRequestValidationError is the validation error returned by UploadPersistentCacheTaskFinishedRequest.Validate if the designated constraints aren't met.
func (UploadPersistentCacheTaskFinishedRequestValidationError) Cause ¶ added in v2.0.161
func (e UploadPersistentCacheTaskFinishedRequestValidationError) Cause() error
Cause function returns cause value.
func (UploadPersistentCacheTaskFinishedRequestValidationError) Error ¶ added in v2.0.161
func (e UploadPersistentCacheTaskFinishedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UploadPersistentCacheTaskFinishedRequestValidationError) ErrorName ¶ added in v2.0.161
func (e UploadPersistentCacheTaskFinishedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UploadPersistentCacheTaskFinishedRequestValidationError) Field ¶ added in v2.0.161
func (e UploadPersistentCacheTaskFinishedRequestValidationError) Field() string
Field function returns field value.
func (UploadPersistentCacheTaskFinishedRequestValidationError) Key ¶ added in v2.0.161
func (e UploadPersistentCacheTaskFinishedRequestValidationError) Key() bool
Key function returns key value.
func (UploadPersistentCacheTaskFinishedRequestValidationError) Reason ¶ added in v2.0.161
func (e UploadPersistentCacheTaskFinishedRequestValidationError) Reason() string
Reason function returns reason value.
type UploadPersistentCacheTaskStartedRequest ¶ added in v2.0.161
type UploadPersistentCacheTaskStartedRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// Replica count of the persistent cache task.
PersistentReplicaCount uint64 `` /* 130-byte string literal not displayed */
// Tag is used to distinguish different persistent cache tasks.
Tag *string `protobuf:"bytes,5,opt,name=tag,proto3,oneof" json:"tag,omitempty"`
// Application of task.
Application *string `protobuf:"bytes,6,opt,name=application,proto3,oneof" json:"application,omitempty"`
// Task piece length, the value needs to be greater than or equal to 4194304(4MiB)
PieceLength uint64 `protobuf:"varint,7,opt,name=piece_length,json=pieceLength,proto3" json:"piece_length,omitempty"`
// Task content length.
ContentLength uint64 `protobuf:"varint,8,opt,name=content_length,json=contentLength,proto3" json:"content_length,omitempty"`
// Task piece count.
PieceCount uint32 `protobuf:"varint,9,opt,name=piece_count,json=pieceCount,proto3" json:"piece_count,omitempty"`
// TTL of the persistent cache task.
Ttl *durationpb.Duration `protobuf:"bytes,10,opt,name=ttl,proto3" json:"ttl,omitempty"`
// contains filtered or unexported fields
}
UploadPersistentCacheTaskStartedRequest represents upload persistent cache task started request of UploadPersistentCacheTaskStartedRequest.
func (*UploadPersistentCacheTaskStartedRequest) Descriptor
deprecated
added in
v2.0.161
func (*UploadPersistentCacheTaskStartedRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadPersistentCacheTaskStartedRequest.ProtoReflect.Descriptor instead.
func (*UploadPersistentCacheTaskStartedRequest) GetApplication ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskStartedRequest) GetApplication() string
func (*UploadPersistentCacheTaskStartedRequest) GetContentLength ¶ added in v2.0.168
func (x *UploadPersistentCacheTaskStartedRequest) GetContentLength() uint64
func (*UploadPersistentCacheTaskStartedRequest) GetHostId ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskStartedRequest) GetHostId() string
func (*UploadPersistentCacheTaskStartedRequest) GetPeerId ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskStartedRequest) GetPeerId() string
func (*UploadPersistentCacheTaskStartedRequest) GetPersistentReplicaCount ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskStartedRequest) GetPersistentReplicaCount() uint64
func (*UploadPersistentCacheTaskStartedRequest) GetPieceCount ¶ added in v2.0.168
func (x *UploadPersistentCacheTaskStartedRequest) GetPieceCount() uint32
func (*UploadPersistentCacheTaskStartedRequest) GetPieceLength ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskStartedRequest) GetPieceLength() uint64
func (*UploadPersistentCacheTaskStartedRequest) GetTag ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskStartedRequest) GetTag() string
func (*UploadPersistentCacheTaskStartedRequest) GetTaskId ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskStartedRequest) GetTaskId() string
func (*UploadPersistentCacheTaskStartedRequest) GetTtl ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskStartedRequest) GetTtl() *durationpb.Duration
func (*UploadPersistentCacheTaskStartedRequest) ProtoMessage ¶ added in v2.0.161
func (*UploadPersistentCacheTaskStartedRequest) ProtoMessage()
func (*UploadPersistentCacheTaskStartedRequest) ProtoReflect ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskStartedRequest) ProtoReflect() protoreflect.Message
func (*UploadPersistentCacheTaskStartedRequest) Reset ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskStartedRequest) Reset()
func (*UploadPersistentCacheTaskStartedRequest) String ¶ added in v2.0.161
func (x *UploadPersistentCacheTaskStartedRequest) String() string
func (*UploadPersistentCacheTaskStartedRequest) Validate ¶ added in v2.0.161
func (m *UploadPersistentCacheTaskStartedRequest) Validate() error
Validate checks the field values on UploadPersistentCacheTaskStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UploadPersistentCacheTaskStartedRequest) ValidateAll ¶ added in v2.0.161
func (m *UploadPersistentCacheTaskStartedRequest) ValidateAll() error
ValidateAll checks the field values on UploadPersistentCacheTaskStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadPersistentCacheTaskStartedRequestMultiError, or nil if none found.
type UploadPersistentCacheTaskStartedRequestMultiError ¶ added in v2.0.161
type UploadPersistentCacheTaskStartedRequestMultiError []error
UploadPersistentCacheTaskStartedRequestMultiError is an error wrapping multiple validation errors returned by UploadPersistentCacheTaskStartedRequest.ValidateAll() if the designated constraints aren't met.
func (UploadPersistentCacheTaskStartedRequestMultiError) AllErrors ¶ added in v2.0.161
func (m UploadPersistentCacheTaskStartedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UploadPersistentCacheTaskStartedRequestMultiError) Error ¶ added in v2.0.161
func (m UploadPersistentCacheTaskStartedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UploadPersistentCacheTaskStartedRequestValidationError ¶ added in v2.0.161
type UploadPersistentCacheTaskStartedRequestValidationError struct {
// contains filtered or unexported fields
}
UploadPersistentCacheTaskStartedRequestValidationError is the validation error returned by UploadPersistentCacheTaskStartedRequest.Validate if the designated constraints aren't met.
func (UploadPersistentCacheTaskStartedRequestValidationError) Cause ¶ added in v2.0.161
func (e UploadPersistentCacheTaskStartedRequestValidationError) Cause() error
Cause function returns cause value.
func (UploadPersistentCacheTaskStartedRequestValidationError) Error ¶ added in v2.0.161
func (e UploadPersistentCacheTaskStartedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UploadPersistentCacheTaskStartedRequestValidationError) ErrorName ¶ added in v2.0.161
func (e UploadPersistentCacheTaskStartedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UploadPersistentCacheTaskStartedRequestValidationError) Field ¶ added in v2.0.161
func (e UploadPersistentCacheTaskStartedRequestValidationError) Field() string
Field function returns field value.
func (UploadPersistentCacheTaskStartedRequestValidationError) Key ¶ added in v2.0.161
func (e UploadPersistentCacheTaskStartedRequestValidationError) Key() bool
Key function returns key value.
func (UploadPersistentCacheTaskStartedRequestValidationError) Reason ¶ added in v2.0.161
func (e UploadPersistentCacheTaskStartedRequestValidationError) Reason() string
Reason function returns reason value.
type UploadPersistentTaskFailedRequest ¶ added in v2.1.86
type UploadPersistentTaskFailedRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// The description of the upload failed.
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
// contains filtered or unexported fields
}
UploadPersistentTaskFailedRequest represents upload persistent task failed request of UploadPersistentTaskFailed.
func (*UploadPersistentTaskFailedRequest) Descriptor
deprecated
added in
v2.1.86
func (*UploadPersistentTaskFailedRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadPersistentTaskFailedRequest.ProtoReflect.Descriptor instead.
func (*UploadPersistentTaskFailedRequest) GetDescription ¶ added in v2.1.86
func (x *UploadPersistentTaskFailedRequest) GetDescription() string
func (*UploadPersistentTaskFailedRequest) GetHostId ¶ added in v2.1.86
func (x *UploadPersistentTaskFailedRequest) GetHostId() string
func (*UploadPersistentTaskFailedRequest) GetPeerId ¶ added in v2.1.86
func (x *UploadPersistentTaskFailedRequest) GetPeerId() string
func (*UploadPersistentTaskFailedRequest) GetTaskId ¶ added in v2.1.86
func (x *UploadPersistentTaskFailedRequest) GetTaskId() string
func (*UploadPersistentTaskFailedRequest) ProtoMessage ¶ added in v2.1.86
func (*UploadPersistentTaskFailedRequest) ProtoMessage()
func (*UploadPersistentTaskFailedRequest) ProtoReflect ¶ added in v2.1.86
func (x *UploadPersistentTaskFailedRequest) ProtoReflect() protoreflect.Message
func (*UploadPersistentTaskFailedRequest) Reset ¶ added in v2.1.86
func (x *UploadPersistentTaskFailedRequest) Reset()
func (*UploadPersistentTaskFailedRequest) String ¶ added in v2.1.86
func (x *UploadPersistentTaskFailedRequest) String() string
func (*UploadPersistentTaskFailedRequest) Validate ¶ added in v2.1.86
func (m *UploadPersistentTaskFailedRequest) Validate() error
Validate checks the field values on UploadPersistentTaskFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UploadPersistentTaskFailedRequest) ValidateAll ¶ added in v2.1.86
func (m *UploadPersistentTaskFailedRequest) ValidateAll() error
ValidateAll checks the field values on UploadPersistentTaskFailedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadPersistentTaskFailedRequestMultiError, or nil if none found.
type UploadPersistentTaskFailedRequestMultiError ¶ added in v2.1.86
type UploadPersistentTaskFailedRequestMultiError []error
UploadPersistentTaskFailedRequestMultiError is an error wrapping multiple validation errors returned by UploadPersistentTaskFailedRequest.ValidateAll() if the designated constraints aren't met.
func (UploadPersistentTaskFailedRequestMultiError) AllErrors ¶ added in v2.1.86
func (m UploadPersistentTaskFailedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UploadPersistentTaskFailedRequestMultiError) Error ¶ added in v2.1.86
func (m UploadPersistentTaskFailedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UploadPersistentTaskFailedRequestValidationError ¶ added in v2.1.86
type UploadPersistentTaskFailedRequestValidationError struct {
// contains filtered or unexported fields
}
UploadPersistentTaskFailedRequestValidationError is the validation error returned by UploadPersistentTaskFailedRequest.Validate if the designated constraints aren't met.
func (UploadPersistentTaskFailedRequestValidationError) Cause ¶ added in v2.1.86
func (e UploadPersistentTaskFailedRequestValidationError) Cause() error
Cause function returns cause value.
func (UploadPersistentTaskFailedRequestValidationError) Error ¶ added in v2.1.86
func (e UploadPersistentTaskFailedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UploadPersistentTaskFailedRequestValidationError) ErrorName ¶ added in v2.1.86
func (e UploadPersistentTaskFailedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UploadPersistentTaskFailedRequestValidationError) Field ¶ added in v2.1.86
func (e UploadPersistentTaskFailedRequestValidationError) Field() string
Field function returns field value.
func (UploadPersistentTaskFailedRequestValidationError) Key ¶ added in v2.1.86
func (e UploadPersistentTaskFailedRequestValidationError) Key() bool
Key function returns key value.
func (UploadPersistentTaskFailedRequestValidationError) Reason ¶ added in v2.1.86
func (e UploadPersistentTaskFailedRequestValidationError) Reason() string
Reason function returns reason value.
type UploadPersistentTaskFinishedRequest ¶ added in v2.1.86
type UploadPersistentTaskFinishedRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// contains filtered or unexported fields
}
UploadPersistentTaskFinishedRequest represents upload persistent task finished request of UploadPersistentTaskFinished.
func (*UploadPersistentTaskFinishedRequest) Descriptor
deprecated
added in
v2.1.86
func (*UploadPersistentTaskFinishedRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadPersistentTaskFinishedRequest.ProtoReflect.Descriptor instead.
func (*UploadPersistentTaskFinishedRequest) GetHostId ¶ added in v2.1.86
func (x *UploadPersistentTaskFinishedRequest) GetHostId() string
func (*UploadPersistentTaskFinishedRequest) GetPeerId ¶ added in v2.1.86
func (x *UploadPersistentTaskFinishedRequest) GetPeerId() string
func (*UploadPersistentTaskFinishedRequest) GetTaskId ¶ added in v2.1.86
func (x *UploadPersistentTaskFinishedRequest) GetTaskId() string
func (*UploadPersistentTaskFinishedRequest) ProtoMessage ¶ added in v2.1.86
func (*UploadPersistentTaskFinishedRequest) ProtoMessage()
func (*UploadPersistentTaskFinishedRequest) ProtoReflect ¶ added in v2.1.86
func (x *UploadPersistentTaskFinishedRequest) ProtoReflect() protoreflect.Message
func (*UploadPersistentTaskFinishedRequest) Reset ¶ added in v2.1.86
func (x *UploadPersistentTaskFinishedRequest) Reset()
func (*UploadPersistentTaskFinishedRequest) String ¶ added in v2.1.86
func (x *UploadPersistentTaskFinishedRequest) String() string
func (*UploadPersistentTaskFinishedRequest) Validate ¶ added in v2.1.86
func (m *UploadPersistentTaskFinishedRequest) Validate() error
Validate checks the field values on UploadPersistentTaskFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UploadPersistentTaskFinishedRequest) ValidateAll ¶ added in v2.1.86
func (m *UploadPersistentTaskFinishedRequest) ValidateAll() error
ValidateAll checks the field values on UploadPersistentTaskFinishedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadPersistentTaskFinishedRequestMultiError, or nil if none found.
type UploadPersistentTaskFinishedRequestMultiError ¶ added in v2.1.86
type UploadPersistentTaskFinishedRequestMultiError []error
UploadPersistentTaskFinishedRequestMultiError is an error wrapping multiple validation errors returned by UploadPersistentTaskFinishedRequest.ValidateAll() if the designated constraints aren't met.
func (UploadPersistentTaskFinishedRequestMultiError) AllErrors ¶ added in v2.1.86
func (m UploadPersistentTaskFinishedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UploadPersistentTaskFinishedRequestMultiError) Error ¶ added in v2.1.86
func (m UploadPersistentTaskFinishedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UploadPersistentTaskFinishedRequestValidationError ¶ added in v2.1.86
type UploadPersistentTaskFinishedRequestValidationError struct {
// contains filtered or unexported fields
}
UploadPersistentTaskFinishedRequestValidationError is the validation error returned by UploadPersistentTaskFinishedRequest.Validate if the designated constraints aren't met.
func (UploadPersistentTaskFinishedRequestValidationError) Cause ¶ added in v2.1.86
func (e UploadPersistentTaskFinishedRequestValidationError) Cause() error
Cause function returns cause value.
func (UploadPersistentTaskFinishedRequestValidationError) Error ¶ added in v2.1.86
func (e UploadPersistentTaskFinishedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UploadPersistentTaskFinishedRequestValidationError) ErrorName ¶ added in v2.1.86
func (e UploadPersistentTaskFinishedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UploadPersistentTaskFinishedRequestValidationError) Field ¶ added in v2.1.86
func (e UploadPersistentTaskFinishedRequestValidationError) Field() string
Field function returns field value.
func (UploadPersistentTaskFinishedRequestValidationError) Key ¶ added in v2.1.86
func (e UploadPersistentTaskFinishedRequestValidationError) Key() bool
Key function returns key value.
func (UploadPersistentTaskFinishedRequestValidationError) Reason ¶ added in v2.1.86
func (e UploadPersistentTaskFinishedRequestValidationError) Reason() string
Reason function returns reason value.
type UploadPersistentTaskStartedRequest ¶ added in v2.1.86
type UploadPersistentTaskStartedRequest struct {
// Host id.
HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
// Task id.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Peer id.
PeerId string `protobuf:"bytes,3,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// This is the key of the object storage where the persistent task will be stored,
// for example: `file.txt` or `dir/file.txt`. The combination of object_storage_key,
// object_storage.endpoint and object_storage.region must be unique, because
// the persistent task cannot be overwritten once it is uploaded.
Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
// Object storage protocol information.
ObjectStorage *v2.ObjectStorage `protobuf:"bytes,5,opt,name=object_storage,json=objectStorage,proto3" json:"object_storage,omitempty"`
// Replica count of the persistent task.
PersistentReplicaCount uint64 `` /* 130-byte string literal not displayed */
// Task content length.
ContentLength uint64 `protobuf:"varint,7,opt,name=content_length,json=contentLength,proto3" json:"content_length,omitempty"`
// Task piece count.
PieceCount uint32 `protobuf:"varint,8,opt,name=piece_count,json=pieceCount,proto3" json:"piece_count,omitempty"`
// TTL of the persistent task.
Ttl *durationpb.Duration `protobuf:"bytes,9,opt,name=ttl,proto3" json:"ttl,omitempty"`
// contains filtered or unexported fields
}
UploadPersistentTaskStartedRequest represents upload persistent task started request of UploadPersistentTaskStarted.
func (*UploadPersistentTaskStartedRequest) Descriptor
deprecated
added in
v2.1.86
func (*UploadPersistentTaskStartedRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadPersistentTaskStartedRequest.ProtoReflect.Descriptor instead.
func (*UploadPersistentTaskStartedRequest) GetContentLength ¶ added in v2.1.86
func (x *UploadPersistentTaskStartedRequest) GetContentLength() uint64
func (*UploadPersistentTaskStartedRequest) GetHostId ¶ added in v2.1.86
func (x *UploadPersistentTaskStartedRequest) GetHostId() string
func (*UploadPersistentTaskStartedRequest) GetObjectStorage ¶ added in v2.1.86
func (x *UploadPersistentTaskStartedRequest) GetObjectStorage() *v2.ObjectStorage
func (*UploadPersistentTaskStartedRequest) GetPeerId ¶ added in v2.1.86
func (x *UploadPersistentTaskStartedRequest) GetPeerId() string
func (*UploadPersistentTaskStartedRequest) GetPersistentReplicaCount ¶ added in v2.1.86
func (x *UploadPersistentTaskStartedRequest) GetPersistentReplicaCount() uint64
func (*UploadPersistentTaskStartedRequest) GetPieceCount ¶ added in v2.1.86
func (x *UploadPersistentTaskStartedRequest) GetPieceCount() uint32
func (*UploadPersistentTaskStartedRequest) GetTaskId ¶ added in v2.1.86
func (x *UploadPersistentTaskStartedRequest) GetTaskId() string
func (*UploadPersistentTaskStartedRequest) GetTtl ¶ added in v2.1.86
func (x *UploadPersistentTaskStartedRequest) GetTtl() *durationpb.Duration
func (*UploadPersistentTaskStartedRequest) GetUrl ¶ added in v2.2.1
func (x *UploadPersistentTaskStartedRequest) GetUrl() string
func (*UploadPersistentTaskStartedRequest) ProtoMessage ¶ added in v2.1.86
func (*UploadPersistentTaskStartedRequest) ProtoMessage()
func (*UploadPersistentTaskStartedRequest) ProtoReflect ¶ added in v2.1.86
func (x *UploadPersistentTaskStartedRequest) ProtoReflect() protoreflect.Message
func (*UploadPersistentTaskStartedRequest) Reset ¶ added in v2.1.86
func (x *UploadPersistentTaskStartedRequest) Reset()
func (*UploadPersistentTaskStartedRequest) String ¶ added in v2.1.86
func (x *UploadPersistentTaskStartedRequest) String() string
func (*UploadPersistentTaskStartedRequest) Validate ¶ added in v2.1.86
func (m *UploadPersistentTaskStartedRequest) Validate() error
Validate checks the field values on UploadPersistentTaskStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UploadPersistentTaskStartedRequest) ValidateAll ¶ added in v2.1.86
func (m *UploadPersistentTaskStartedRequest) ValidateAll() error
ValidateAll checks the field values on UploadPersistentTaskStartedRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadPersistentTaskStartedRequestMultiError, or nil if none found.
type UploadPersistentTaskStartedRequestMultiError ¶ added in v2.1.86
type UploadPersistentTaskStartedRequestMultiError []error
UploadPersistentTaskStartedRequestMultiError is an error wrapping multiple validation errors returned by UploadPersistentTaskStartedRequest.ValidateAll() if the designated constraints aren't met.
func (UploadPersistentTaskStartedRequestMultiError) AllErrors ¶ added in v2.1.86
func (m UploadPersistentTaskStartedRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UploadPersistentTaskStartedRequestMultiError) Error ¶ added in v2.1.86
func (m UploadPersistentTaskStartedRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UploadPersistentTaskStartedRequestValidationError ¶ added in v2.1.86
type UploadPersistentTaskStartedRequestValidationError struct {
// contains filtered or unexported fields
}
UploadPersistentTaskStartedRequestValidationError is the validation error returned by UploadPersistentTaskStartedRequest.Validate if the designated constraints aren't met.
func (UploadPersistentTaskStartedRequestValidationError) Cause ¶ added in v2.1.86
func (e UploadPersistentTaskStartedRequestValidationError) Cause() error
Cause function returns cause value.
func (UploadPersistentTaskStartedRequestValidationError) Error ¶ added in v2.1.86
func (e UploadPersistentTaskStartedRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UploadPersistentTaskStartedRequestValidationError) ErrorName ¶ added in v2.1.86
func (e UploadPersistentTaskStartedRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UploadPersistentTaskStartedRequestValidationError) Field ¶ added in v2.1.86
func (e UploadPersistentTaskStartedRequestValidationError) Field() string
Field function returns field value.
func (UploadPersistentTaskStartedRequestValidationError) Key ¶ added in v2.1.86
func (e UploadPersistentTaskStartedRequestValidationError) Key() bool
Key function returns key value.
func (UploadPersistentTaskStartedRequestValidationError) Reason ¶ added in v2.1.86
func (e UploadPersistentTaskStartedRequestValidationError) Reason() string
Reason function returns reason value.