Documentation ¶
Index ¶
- Variables
- type DownloadPeerBackToSourceFailed
- func (*DownloadPeerBackToSourceFailed) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadPeerBackToSourceFailed) GetDescription() string
- func (*DownloadPeerBackToSourceFailed) ProtoMessage()
- func (x *DownloadPeerBackToSourceFailed) ProtoReflect() protoreflect.Message
- func (x *DownloadPeerBackToSourceFailed) Reset()
- func (x *DownloadPeerBackToSourceFailed) String() string
- func (m *DownloadPeerBackToSourceFailed) Validate() error
- func (m *DownloadPeerBackToSourceFailed) ValidateAll() error
- type DownloadPeerBackToSourceFailedMultiError
- type DownloadPeerBackToSourceFailedValidationError
- func (e DownloadPeerBackToSourceFailedValidationError) Cause() error
- func (e DownloadPeerBackToSourceFailedValidationError) Error() string
- func (e DownloadPeerBackToSourceFailedValidationError) ErrorName() string
- func (e DownloadPeerBackToSourceFailedValidationError) Field() string
- func (e DownloadPeerBackToSourceFailedValidationError) Key() bool
- func (e DownloadPeerBackToSourceFailedValidationError) Reason() string
- type DownloadPieceBackToSourceFailed
- func (*DownloadPieceBackToSourceFailed) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadPieceBackToSourceFailed) GetDescription() string
- func (x *DownloadPieceBackToSourceFailed) GetExtendAttribute() *v2.ExtendAttribute
- func (x *DownloadPieceBackToSourceFailed) GetPieceNumber() uint32
- func (x *DownloadPieceBackToSourceFailed) GetTemporary() bool
- func (*DownloadPieceBackToSourceFailed) ProtoMessage()
- func (x *DownloadPieceBackToSourceFailed) ProtoReflect() protoreflect.Message
- func (x *DownloadPieceBackToSourceFailed) Reset()
- func (x *DownloadPieceBackToSourceFailed) String() string
- func (m *DownloadPieceBackToSourceFailed) Validate() error
- func (m *DownloadPieceBackToSourceFailed) ValidateAll() error
- type DownloadPieceBackToSourceFailedMultiError
- type DownloadPieceBackToSourceFailedValidationError
- func (e DownloadPieceBackToSourceFailedValidationError) Cause() error
- func (e DownloadPieceBackToSourceFailedValidationError) Error() string
- func (e DownloadPieceBackToSourceFailedValidationError) ErrorName() string
- func (e DownloadPieceBackToSourceFailedValidationError) Field() string
- func (e DownloadPieceBackToSourceFailedValidationError) Key() bool
- func (e DownloadPieceBackToSourceFailedValidationError) Reason() string
- type DownloadPieceFailed
- func (*DownloadPieceFailed) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadPieceFailed) GetDescription() string
- func (x *DownloadPieceFailed) GetExtendAttribute() *v2.ExtendAttribute
- func (x *DownloadPieceFailed) GetParentId() string
- func (x *DownloadPieceFailed) GetPieceNumber() uint32
- func (x *DownloadPieceFailed) GetTemporary() bool
- func (*DownloadPieceFailed) ProtoMessage()
- func (x *DownloadPieceFailed) ProtoReflect() protoreflect.Message
- func (x *DownloadPieceFailed) Reset()
- func (x *DownloadPieceFailed) String() string
- func (m *DownloadPieceFailed) Validate() error
- func (m *DownloadPieceFailed) ValidateAll() error
- type DownloadPieceFailedMultiError
- type DownloadPieceFailedValidationError
- func (e DownloadPieceFailedValidationError) Cause() error
- func (e DownloadPieceFailedValidationError) Error() string
- func (e DownloadPieceFailedValidationError) ErrorName() string
- func (e DownloadPieceFailedValidationError) Field() string
- func (e DownloadPieceFailedValidationError) Key() bool
- func (e DownloadPieceFailedValidationError) Reason() string
- type SchedulePeerFailed
- func (*SchedulePeerFailed) Descriptor() ([]byte, []int)deprecated
- func (x *SchedulePeerFailed) GetDescription() string
- func (*SchedulePeerFailed) ProtoMessage()
- func (x *SchedulePeerFailed) ProtoReflect() protoreflect.Message
- func (x *SchedulePeerFailed) Reset()
- func (x *SchedulePeerFailed) String() string
- func (m *SchedulePeerFailed) Validate() error
- func (m *SchedulePeerFailed) ValidateAll() error
- type SchedulePeerFailedMultiError
- type SchedulePeerFailedValidationError
- func (e SchedulePeerFailedValidationError) Cause() error
- func (e SchedulePeerFailedValidationError) Error() string
- func (e SchedulePeerFailedValidationError) ErrorName() string
- func (e SchedulePeerFailedValidationError) Field() string
- func (e SchedulePeerFailedValidationError) Key() bool
- func (e SchedulePeerFailedValidationError) Reason() string
- type SchedulePeerForbidden
- func (*SchedulePeerForbidden) Descriptor() ([]byte, []int)deprecated
- func (x *SchedulePeerForbidden) GetDescription() string
- func (*SchedulePeerForbidden) ProtoMessage()
- func (x *SchedulePeerForbidden) ProtoReflect() protoreflect.Message
- func (x *SchedulePeerForbidden) Reset()
- func (x *SchedulePeerForbidden) String() string
- func (m *SchedulePeerForbidden) Validate() error
- func (m *SchedulePeerForbidden) ValidateAll() error
- type SchedulePeerForbiddenMultiError
- type SchedulePeerForbiddenValidationError
- func (e SchedulePeerForbiddenValidationError) Cause() error
- func (e SchedulePeerForbiddenValidationError) Error() string
- func (e SchedulePeerForbiddenValidationError) ErrorName() string
- func (e SchedulePeerForbiddenValidationError) Field() string
- func (e SchedulePeerForbiddenValidationError) Key() bool
- func (e SchedulePeerForbiddenValidationError) Reason() string
- type SyncPiecesFailed
- func (*SyncPiecesFailed) Descriptor() ([]byte, []int)deprecated
- func (x *SyncPiecesFailed) GetDescription() string
- func (x *SyncPiecesFailed) GetParentId() string
- func (x *SyncPiecesFailed) GetTemporary() bool
- func (*SyncPiecesFailed) ProtoMessage()
- func (x *SyncPiecesFailed) ProtoReflect() protoreflect.Message
- func (x *SyncPiecesFailed) Reset()
- func (x *SyncPiecesFailed) String() string
- func (m *SyncPiecesFailed) Validate() error
- func (m *SyncPiecesFailed) ValidateAll() error
- type SyncPiecesFailedMultiError
- type SyncPiecesFailedValidationError
- func (e SyncPiecesFailedValidationError) Cause() error
- func (e SyncPiecesFailedValidationError) Error() string
- func (e SyncPiecesFailedValidationError) ErrorName() string
- func (e SyncPiecesFailedValidationError) Field() string
- func (e SyncPiecesFailedValidationError) Key() bool
- func (e SyncPiecesFailedValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_pkg_apis_errordetails_v2_errordetails_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DownloadPeerBackToSourceFailed ¶ added in v1.4.1
type DownloadPeerBackToSourceFailed struct { // The description of the error. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
DownloadPeerBackToSourceFailed is error detail of downloading peer back-to-source.
func (*DownloadPeerBackToSourceFailed) Descriptor
deprecated
added in
v1.4.1
func (*DownloadPeerBackToSourceFailed) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPeerBackToSourceFailed.ProtoReflect.Descriptor instead.
func (*DownloadPeerBackToSourceFailed) GetDescription ¶ added in v1.4.1
func (x *DownloadPeerBackToSourceFailed) GetDescription() string
func (*DownloadPeerBackToSourceFailed) ProtoMessage ¶ added in v1.4.1
func (*DownloadPeerBackToSourceFailed) ProtoMessage()
func (*DownloadPeerBackToSourceFailed) ProtoReflect ¶ added in v1.4.1
func (x *DownloadPeerBackToSourceFailed) ProtoReflect() protoreflect.Message
func (*DownloadPeerBackToSourceFailed) Reset ¶ added in v1.4.1
func (x *DownloadPeerBackToSourceFailed) Reset()
func (*DownloadPeerBackToSourceFailed) String ¶ added in v1.4.1
func (x *DownloadPeerBackToSourceFailed) String() string
func (*DownloadPeerBackToSourceFailed) Validate ¶ added in v1.4.1
func (m *DownloadPeerBackToSourceFailed) Validate() error
Validate checks the field values on DownloadPeerBackToSourceFailed 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 (*DownloadPeerBackToSourceFailed) ValidateAll ¶ added in v1.4.1
func (m *DownloadPeerBackToSourceFailed) ValidateAll() error
ValidateAll checks the field values on DownloadPeerBackToSourceFailed 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 DownloadPeerBackToSourceFailedMultiError, or nil if none found.
type DownloadPeerBackToSourceFailedMultiError ¶ added in v1.4.1
type DownloadPeerBackToSourceFailedMultiError []error
DownloadPeerBackToSourceFailedMultiError is an error wrapping multiple validation errors returned by DownloadPeerBackToSourceFailed.ValidateAll() if the designated constraints aren't met.
func (DownloadPeerBackToSourceFailedMultiError) AllErrors ¶ added in v1.4.1
func (m DownloadPeerBackToSourceFailedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPeerBackToSourceFailedMultiError) Error ¶ added in v1.4.1
func (m DownloadPeerBackToSourceFailedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPeerBackToSourceFailedValidationError ¶ added in v1.4.1
type DownloadPeerBackToSourceFailedValidationError struct {
// contains filtered or unexported fields
}
DownloadPeerBackToSourceFailedValidationError is the validation error returned by DownloadPeerBackToSourceFailed.Validate if the designated constraints aren't met.
func (DownloadPeerBackToSourceFailedValidationError) Cause ¶ added in v1.4.1
func (e DownloadPeerBackToSourceFailedValidationError) Cause() error
Cause function returns cause value.
func (DownloadPeerBackToSourceFailedValidationError) Error ¶ added in v1.4.1
func (e DownloadPeerBackToSourceFailedValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPeerBackToSourceFailedValidationError) ErrorName ¶ added in v1.4.1
func (e DownloadPeerBackToSourceFailedValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPeerBackToSourceFailedValidationError) Field ¶ added in v1.4.1
func (e DownloadPeerBackToSourceFailedValidationError) Field() string
Field function returns field value.
func (DownloadPeerBackToSourceFailedValidationError) Key ¶ added in v1.4.1
func (e DownloadPeerBackToSourceFailedValidationError) Key() bool
Key function returns key value.
func (DownloadPeerBackToSourceFailedValidationError) Reason ¶ added in v1.4.1
func (e DownloadPeerBackToSourceFailedValidationError) Reason() string
Reason function returns reason value.
type DownloadPieceBackToSourceFailed ¶ added in v1.4.1
type DownloadPieceBackToSourceFailed struct { // Temporary recoverable error of source. Temporary bool `protobuf:"varint,1,opt,name=temporary,proto3" json:"temporary,omitempty"` // Source response metadata, eg: HTTP Status Code, HTTP Status, HTTP Header ExtendAttribute *v2.ExtendAttribute `protobuf:"bytes,2,opt,name=extend_attribute,json=extendAttribute,proto3" json:"extend_attribute,omitempty"` // The number of piece. PieceNumber uint32 `protobuf:"varint,3,opt,name=piece_number,json=pieceNumber,proto3" json:"piece_number,omitempty"` // The description of the error. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
DownloadPieceBackToSourceFailed is error detail of downloading piece back-to-source.
func (*DownloadPieceBackToSourceFailed) Descriptor
deprecated
added in
v1.4.1
func (*DownloadPieceBackToSourceFailed) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPieceBackToSourceFailed.ProtoReflect.Descriptor instead.
func (*DownloadPieceBackToSourceFailed) GetDescription ¶ added in v1.4.1
func (x *DownloadPieceBackToSourceFailed) GetDescription() string
func (*DownloadPieceBackToSourceFailed) GetExtendAttribute ¶ added in v1.5.0
func (x *DownloadPieceBackToSourceFailed) GetExtendAttribute() *v2.ExtendAttribute
func (*DownloadPieceBackToSourceFailed) GetPieceNumber ¶ added in v1.4.1
func (x *DownloadPieceBackToSourceFailed) GetPieceNumber() uint32
func (*DownloadPieceBackToSourceFailed) GetTemporary ¶ added in v1.4.1
func (x *DownloadPieceBackToSourceFailed) GetTemporary() bool
func (*DownloadPieceBackToSourceFailed) ProtoMessage ¶ added in v1.4.1
func (*DownloadPieceBackToSourceFailed) ProtoMessage()
func (*DownloadPieceBackToSourceFailed) ProtoReflect ¶ added in v1.4.1
func (x *DownloadPieceBackToSourceFailed) ProtoReflect() protoreflect.Message
func (*DownloadPieceBackToSourceFailed) Reset ¶ added in v1.4.1
func (x *DownloadPieceBackToSourceFailed) Reset()
func (*DownloadPieceBackToSourceFailed) String ¶ added in v1.4.1
func (x *DownloadPieceBackToSourceFailed) String() string
func (*DownloadPieceBackToSourceFailed) Validate ¶ added in v1.4.1
func (m *DownloadPieceBackToSourceFailed) Validate() error
Validate checks the field values on DownloadPieceBackToSourceFailed 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 (*DownloadPieceBackToSourceFailed) ValidateAll ¶ added in v1.4.1
func (m *DownloadPieceBackToSourceFailed) ValidateAll() error
ValidateAll checks the field values on DownloadPieceBackToSourceFailed 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 DownloadPieceBackToSourceFailedMultiError, or nil if none found.
type DownloadPieceBackToSourceFailedMultiError ¶ added in v1.4.1
type DownloadPieceBackToSourceFailedMultiError []error
DownloadPieceBackToSourceFailedMultiError is an error wrapping multiple validation errors returned by DownloadPieceBackToSourceFailed.ValidateAll() if the designated constraints aren't met.
func (DownloadPieceBackToSourceFailedMultiError) AllErrors ¶ added in v1.4.1
func (m DownloadPieceBackToSourceFailedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPieceBackToSourceFailedMultiError) Error ¶ added in v1.4.1
func (m DownloadPieceBackToSourceFailedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPieceBackToSourceFailedValidationError ¶ added in v1.4.1
type DownloadPieceBackToSourceFailedValidationError struct {
// contains filtered or unexported fields
}
DownloadPieceBackToSourceFailedValidationError is the validation error returned by DownloadPieceBackToSourceFailed.Validate if the designated constraints aren't met.
func (DownloadPieceBackToSourceFailedValidationError) Cause ¶ added in v1.4.1
func (e DownloadPieceBackToSourceFailedValidationError) Cause() error
Cause function returns cause value.
func (DownloadPieceBackToSourceFailedValidationError) Error ¶ added in v1.4.1
func (e DownloadPieceBackToSourceFailedValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPieceBackToSourceFailedValidationError) ErrorName ¶ added in v1.4.1
func (e DownloadPieceBackToSourceFailedValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPieceBackToSourceFailedValidationError) Field ¶ added in v1.4.1
func (e DownloadPieceBackToSourceFailedValidationError) Field() string
Field function returns field value.
func (DownloadPieceBackToSourceFailedValidationError) Key ¶ added in v1.4.1
func (e DownloadPieceBackToSourceFailedValidationError) Key() bool
Key function returns key value.
func (DownloadPieceBackToSourceFailedValidationError) Reason ¶ added in v1.4.1
func (e DownloadPieceBackToSourceFailedValidationError) Reason() string
Reason function returns reason value.
type DownloadPieceFailed ¶ added in v1.4.1
type DownloadPieceFailed struct { // Temporary recoverable error of parent peer. Temporary bool `protobuf:"varint,1,opt,name=temporary,proto3" json:"temporary,omitempty"` // Source response metadata, eg: HTTP Status Code, HTTP Status, HTTP Header ExtendAttribute *v2.ExtendAttribute `protobuf:"bytes,2,opt,name=extend_attribute,json=extendAttribute,proto3" json:"extend_attribute,omitempty"` // Piece is information of piece. ParentId string `protobuf:"bytes,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // The number of piece. PieceNumber uint32 `protobuf:"varint,4,opt,name=piece_number,json=pieceNumber,proto3" json:"piece_number,omitempty"` // The description of the error. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
DownloadPieceFailed is error detail of downloading piece.
func (*DownloadPieceFailed) Descriptor
deprecated
added in
v1.4.1
func (*DownloadPieceFailed) Descriptor() ([]byte, []int)
Deprecated: Use DownloadPieceFailed.ProtoReflect.Descriptor instead.
func (*DownloadPieceFailed) GetDescription ¶ added in v1.4.1
func (x *DownloadPieceFailed) GetDescription() string
func (*DownloadPieceFailed) GetExtendAttribute ¶ added in v1.5.0
func (x *DownloadPieceFailed) GetExtendAttribute() *v2.ExtendAttribute
func (*DownloadPieceFailed) GetParentId ¶ added in v1.4.1
func (x *DownloadPieceFailed) GetParentId() string
func (*DownloadPieceFailed) GetPieceNumber ¶ added in v1.4.1
func (x *DownloadPieceFailed) GetPieceNumber() uint32
func (*DownloadPieceFailed) GetTemporary ¶ added in v1.4.1
func (x *DownloadPieceFailed) GetTemporary() bool
func (*DownloadPieceFailed) ProtoMessage ¶ added in v1.4.1
func (*DownloadPieceFailed) ProtoMessage()
func (*DownloadPieceFailed) ProtoReflect ¶ added in v1.4.1
func (x *DownloadPieceFailed) ProtoReflect() protoreflect.Message
func (*DownloadPieceFailed) Reset ¶ added in v1.4.1
func (x *DownloadPieceFailed) Reset()
func (*DownloadPieceFailed) String ¶ added in v1.4.1
func (x *DownloadPieceFailed) String() string
func (*DownloadPieceFailed) Validate ¶ added in v1.4.1
func (m *DownloadPieceFailed) Validate() error
Validate checks the field values on DownloadPieceFailed 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 (*DownloadPieceFailed) ValidateAll ¶ added in v1.4.1
func (m *DownloadPieceFailed) ValidateAll() error
ValidateAll checks the field values on DownloadPieceFailed 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 DownloadPieceFailedMultiError, or nil if none found.
type DownloadPieceFailedMultiError ¶ added in v1.4.1
type DownloadPieceFailedMultiError []error
DownloadPieceFailedMultiError is an error wrapping multiple validation errors returned by DownloadPieceFailed.ValidateAll() if the designated constraints aren't met.
func (DownloadPieceFailedMultiError) AllErrors ¶ added in v1.4.1
func (m DownloadPieceFailedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadPieceFailedMultiError) Error ¶ added in v1.4.1
func (m DownloadPieceFailedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadPieceFailedValidationError ¶ added in v1.4.1
type DownloadPieceFailedValidationError struct {
// contains filtered or unexported fields
}
DownloadPieceFailedValidationError is the validation error returned by DownloadPieceFailed.Validate if the designated constraints aren't met.
func (DownloadPieceFailedValidationError) Cause ¶ added in v1.4.1
func (e DownloadPieceFailedValidationError) Cause() error
Cause function returns cause value.
func (DownloadPieceFailedValidationError) Error ¶ added in v1.4.1
func (e DownloadPieceFailedValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadPieceFailedValidationError) ErrorName ¶ added in v1.4.1
func (e DownloadPieceFailedValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadPieceFailedValidationError) Field ¶ added in v1.4.1
func (e DownloadPieceFailedValidationError) Field() string
Field function returns field value.
func (DownloadPieceFailedValidationError) Key ¶ added in v1.4.1
func (e DownloadPieceFailedValidationError) Key() bool
Key function returns key value.
func (DownloadPieceFailedValidationError) Reason ¶ added in v1.4.1
func (e DownloadPieceFailedValidationError) Reason() string
Reason function returns reason value.
type SchedulePeerFailed ¶ added in v1.4.1
type SchedulePeerFailed struct { // The description of the error. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
SchedulePeerFailed is error detail of scheduling.
func (*SchedulePeerFailed) Descriptor
deprecated
added in
v1.4.1
func (*SchedulePeerFailed) Descriptor() ([]byte, []int)
Deprecated: Use SchedulePeerFailed.ProtoReflect.Descriptor instead.
func (*SchedulePeerFailed) GetDescription ¶ added in v1.4.1
func (x *SchedulePeerFailed) GetDescription() string
func (*SchedulePeerFailed) ProtoMessage ¶ added in v1.4.1
func (*SchedulePeerFailed) ProtoMessage()
func (*SchedulePeerFailed) ProtoReflect ¶ added in v1.4.1
func (x *SchedulePeerFailed) ProtoReflect() protoreflect.Message
func (*SchedulePeerFailed) Reset ¶ added in v1.4.1
func (x *SchedulePeerFailed) Reset()
func (*SchedulePeerFailed) String ¶ added in v1.4.1
func (x *SchedulePeerFailed) String() string
func (*SchedulePeerFailed) Validate ¶ added in v1.4.1
func (m *SchedulePeerFailed) Validate() error
Validate checks the field values on SchedulePeerFailed 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 (*SchedulePeerFailed) ValidateAll ¶ added in v1.4.1
func (m *SchedulePeerFailed) ValidateAll() error
ValidateAll checks the field values on SchedulePeerFailed 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 SchedulePeerFailedMultiError, or nil if none found.
type SchedulePeerFailedMultiError ¶ added in v1.4.1
type SchedulePeerFailedMultiError []error
SchedulePeerFailedMultiError is an error wrapping multiple validation errors returned by SchedulePeerFailed.ValidateAll() if the designated constraints aren't met.
func (SchedulePeerFailedMultiError) AllErrors ¶ added in v1.4.1
func (m SchedulePeerFailedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SchedulePeerFailedMultiError) Error ¶ added in v1.4.1
func (m SchedulePeerFailedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SchedulePeerFailedValidationError ¶ added in v1.4.1
type SchedulePeerFailedValidationError struct {
// contains filtered or unexported fields
}
SchedulePeerFailedValidationError is the validation error returned by SchedulePeerFailed.Validate if the designated constraints aren't met.
func (SchedulePeerFailedValidationError) Cause ¶ added in v1.4.1
func (e SchedulePeerFailedValidationError) Cause() error
Cause function returns cause value.
func (SchedulePeerFailedValidationError) Error ¶ added in v1.4.1
func (e SchedulePeerFailedValidationError) Error() string
Error satisfies the builtin error interface
func (SchedulePeerFailedValidationError) ErrorName ¶ added in v1.4.1
func (e SchedulePeerFailedValidationError) ErrorName() string
ErrorName returns error name.
func (SchedulePeerFailedValidationError) Field ¶ added in v1.4.1
func (e SchedulePeerFailedValidationError) Field() string
Field function returns field value.
func (SchedulePeerFailedValidationError) Key ¶ added in v1.4.1
func (e SchedulePeerFailedValidationError) Key() bool
Key function returns key value.
func (SchedulePeerFailedValidationError) Reason ¶ added in v1.4.1
func (e SchedulePeerFailedValidationError) Reason() string
Reason function returns reason value.
type SchedulePeerForbidden ¶ added in v1.4.1
type SchedulePeerForbidden struct { // The description of the error. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
SchedulePeerForbidden is error detail of forbidden.
func (*SchedulePeerForbidden) Descriptor
deprecated
added in
v1.4.1
func (*SchedulePeerForbidden) Descriptor() ([]byte, []int)
Deprecated: Use SchedulePeerForbidden.ProtoReflect.Descriptor instead.
func (*SchedulePeerForbidden) GetDescription ¶ added in v1.4.1
func (x *SchedulePeerForbidden) GetDescription() string
func (*SchedulePeerForbidden) ProtoMessage ¶ added in v1.4.1
func (*SchedulePeerForbidden) ProtoMessage()
func (*SchedulePeerForbidden) ProtoReflect ¶ added in v1.4.1
func (x *SchedulePeerForbidden) ProtoReflect() protoreflect.Message
func (*SchedulePeerForbidden) Reset ¶ added in v1.4.1
func (x *SchedulePeerForbidden) Reset()
func (*SchedulePeerForbidden) String ¶ added in v1.4.1
func (x *SchedulePeerForbidden) String() string
func (*SchedulePeerForbidden) Validate ¶ added in v1.4.1
func (m *SchedulePeerForbidden) Validate() error
Validate checks the field values on SchedulePeerForbidden 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 (*SchedulePeerForbidden) ValidateAll ¶ added in v1.4.1
func (m *SchedulePeerForbidden) ValidateAll() error
ValidateAll checks the field values on SchedulePeerForbidden 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 SchedulePeerForbiddenMultiError, or nil if none found.
type SchedulePeerForbiddenMultiError ¶ added in v1.4.1
type SchedulePeerForbiddenMultiError []error
SchedulePeerForbiddenMultiError is an error wrapping multiple validation errors returned by SchedulePeerForbidden.ValidateAll() if the designated constraints aren't met.
func (SchedulePeerForbiddenMultiError) AllErrors ¶ added in v1.4.1
func (m SchedulePeerForbiddenMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SchedulePeerForbiddenMultiError) Error ¶ added in v1.4.1
func (m SchedulePeerForbiddenMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SchedulePeerForbiddenValidationError ¶ added in v1.4.1
type SchedulePeerForbiddenValidationError struct {
// contains filtered or unexported fields
}
SchedulePeerForbiddenValidationError is the validation error returned by SchedulePeerForbidden.Validate if the designated constraints aren't met.
func (SchedulePeerForbiddenValidationError) Cause ¶ added in v1.4.1
func (e SchedulePeerForbiddenValidationError) Cause() error
Cause function returns cause value.
func (SchedulePeerForbiddenValidationError) Error ¶ added in v1.4.1
func (e SchedulePeerForbiddenValidationError) Error() string
Error satisfies the builtin error interface
func (SchedulePeerForbiddenValidationError) ErrorName ¶ added in v1.4.1
func (e SchedulePeerForbiddenValidationError) ErrorName() string
ErrorName returns error name.
func (SchedulePeerForbiddenValidationError) Field ¶ added in v1.4.1
func (e SchedulePeerForbiddenValidationError) Field() string
Field function returns field value.
func (SchedulePeerForbiddenValidationError) Key ¶ added in v1.4.1
func (e SchedulePeerForbiddenValidationError) Key() bool
Key function returns key value.
func (SchedulePeerForbiddenValidationError) Reason ¶ added in v1.4.1
func (e SchedulePeerForbiddenValidationError) Reason() string
Reason function returns reason value.
type SyncPiecesFailed ¶ added in v1.4.1
type SyncPiecesFailed struct { // Temporary recoverable error of parent peer. Temporary bool `protobuf:"varint,1,opt,name=temporary,proto3" json:"temporary,omitempty"` // Parent peer id. ParentId string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // The description of the error. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
SyncPiecesFailed is error detail of syncing pieces.
func (*SyncPiecesFailed) Descriptor
deprecated
added in
v1.4.1
func (*SyncPiecesFailed) Descriptor() ([]byte, []int)
Deprecated: Use SyncPiecesFailed.ProtoReflect.Descriptor instead.
func (*SyncPiecesFailed) GetDescription ¶ added in v1.4.1
func (x *SyncPiecesFailed) GetDescription() string
func (*SyncPiecesFailed) GetParentId ¶ added in v1.4.1
func (x *SyncPiecesFailed) GetParentId() string
func (*SyncPiecesFailed) GetTemporary ¶ added in v1.4.1
func (x *SyncPiecesFailed) GetTemporary() bool
func (*SyncPiecesFailed) ProtoMessage ¶ added in v1.4.1
func (*SyncPiecesFailed) ProtoMessage()
func (*SyncPiecesFailed) ProtoReflect ¶ added in v1.4.1
func (x *SyncPiecesFailed) ProtoReflect() protoreflect.Message
func (*SyncPiecesFailed) Reset ¶ added in v1.4.1
func (x *SyncPiecesFailed) Reset()
func (*SyncPiecesFailed) String ¶ added in v1.4.1
func (x *SyncPiecesFailed) String() string
func (*SyncPiecesFailed) Validate ¶ added in v1.4.1
func (m *SyncPiecesFailed) Validate() error
Validate checks the field values on SyncPiecesFailed 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 (*SyncPiecesFailed) ValidateAll ¶ added in v1.4.1
func (m *SyncPiecesFailed) ValidateAll() error
ValidateAll checks the field values on SyncPiecesFailed 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 SyncPiecesFailedMultiError, or nil if none found.
type SyncPiecesFailedMultiError ¶ added in v1.4.1
type SyncPiecesFailedMultiError []error
SyncPiecesFailedMultiError is an error wrapping multiple validation errors returned by SyncPiecesFailed.ValidateAll() if the designated constraints aren't met.
func (SyncPiecesFailedMultiError) AllErrors ¶ added in v1.4.1
func (m SyncPiecesFailedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SyncPiecesFailedMultiError) Error ¶ added in v1.4.1
func (m SyncPiecesFailedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SyncPiecesFailedValidationError ¶ added in v1.4.1
type SyncPiecesFailedValidationError struct {
// contains filtered or unexported fields
}
SyncPiecesFailedValidationError is the validation error returned by SyncPiecesFailed.Validate if the designated constraints aren't met.
func (SyncPiecesFailedValidationError) Cause ¶ added in v1.4.1
func (e SyncPiecesFailedValidationError) Cause() error
Cause function returns cause value.
func (SyncPiecesFailedValidationError) Error ¶ added in v1.4.1
func (e SyncPiecesFailedValidationError) Error() string
Error satisfies the builtin error interface
func (SyncPiecesFailedValidationError) ErrorName ¶ added in v1.4.1
func (e SyncPiecesFailedValidationError) ErrorName() string
ErrorName returns error name.
func (SyncPiecesFailedValidationError) Field ¶ added in v1.4.1
func (e SyncPiecesFailedValidationError) Field() string
Field function returns field value.
func (SyncPiecesFailedValidationError) Key ¶ added in v1.4.1
func (e SyncPiecesFailedValidationError) Key() bool
Key function returns key value.
func (SyncPiecesFailedValidationError) Reason ¶ added in v1.4.1
func (e SyncPiecesFailedValidationError) Reason() string
Reason function returns reason value.