Documentation ¶
Index ¶
- Variables
- type PeerDownloadBackToSourceFailed
- func (*PeerDownloadBackToSourceFailed) Descriptor() ([]byte, []int)deprecated
- func (x *PeerDownloadBackToSourceFailed) GetDescription() string
- func (x *PeerDownloadBackToSourceFailed) GetMetadata() *v2.ExtendAttribute
- func (x *PeerDownloadBackToSourceFailed) GetTemporary() bool
- func (*PeerDownloadBackToSourceFailed) ProtoMessage()
- func (x *PeerDownloadBackToSourceFailed) ProtoReflect() protoreflect.Message
- func (x *PeerDownloadBackToSourceFailed) Reset()
- func (x *PeerDownloadBackToSourceFailed) String() string
- func (m *PeerDownloadBackToSourceFailed) Validate() error
- func (m *PeerDownloadBackToSourceFailed) ValidateAll() error
- type PeerDownloadBackToSourceFailedMultiError
- type PeerDownloadBackToSourceFailedValidationError
- func (e PeerDownloadBackToSourceFailedValidationError) Cause() error
- func (e PeerDownloadBackToSourceFailedValidationError) Error() string
- func (e PeerDownloadBackToSourceFailedValidationError) ErrorName() string
- func (e PeerDownloadBackToSourceFailedValidationError) Field() string
- func (e PeerDownloadBackToSourceFailedValidationError) Key() bool
- func (e PeerDownloadBackToSourceFailedValidationError) Reason() string
- type PieceDownloadFailed
- func (*PieceDownloadFailed) Descriptor() ([]byte, []int)deprecated
- func (x *PieceDownloadFailed) GetDescription() string
- func (x *PieceDownloadFailed) GetParentId() string
- func (x *PieceDownloadFailed) GetTemporary() bool
- func (*PieceDownloadFailed) ProtoMessage()
- func (x *PieceDownloadFailed) ProtoReflect() protoreflect.Message
- func (x *PieceDownloadFailed) Reset()
- func (x *PieceDownloadFailed) String() string
- func (m *PieceDownloadFailed) Validate() error
- func (m *PieceDownloadFailed) ValidateAll() error
- type PieceDownloadFailedMultiError
- type PieceDownloadFailedValidationError
- func (e PieceDownloadFailedValidationError) Cause() error
- func (e PieceDownloadFailedValidationError) Error() string
- func (e PieceDownloadFailedValidationError) ErrorName() string
- func (e PieceDownloadFailedValidationError) Field() string
- func (e PieceDownloadFailedValidationError) Key() bool
- func (e PieceDownloadFailedValidationError) Reason() string
- type PieceInfoSyncFailed
- func (*PieceInfoSyncFailed) Descriptor() ([]byte, []int)deprecated
- func (x *PieceInfoSyncFailed) GetDescription() string
- func (x *PieceInfoSyncFailed) GetParentId() string
- func (x *PieceInfoSyncFailed) GetTemporary() bool
- func (*PieceInfoSyncFailed) ProtoMessage()
- func (x *PieceInfoSyncFailed) ProtoReflect() protoreflect.Message
- func (x *PieceInfoSyncFailed) Reset()
- func (x *PieceInfoSyncFailed) String() string
- func (m *PieceInfoSyncFailed) Validate() error
- func (m *PieceInfoSyncFailed) ValidateAll() error
- type PieceInfoSyncFailedMultiError
- type PieceInfoSyncFailedValidationError
- func (e PieceInfoSyncFailedValidationError) Cause() error
- func (e PieceInfoSyncFailedValidationError) Error() string
- func (e PieceInfoSyncFailedValidationError) ErrorName() string
- func (e PieceInfoSyncFailedValidationError) Field() string
- func (e PieceInfoSyncFailedValidationError) Key() bool
- func (e PieceInfoSyncFailedValidationError) Reason() string
- type ScheduleFailed
- func (*ScheduleFailed) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleFailed) GetDescription() string
- func (*ScheduleFailed) ProtoMessage()
- func (x *ScheduleFailed) ProtoReflect() protoreflect.Message
- func (x *ScheduleFailed) Reset()
- func (x *ScheduleFailed) String() string
- func (m *ScheduleFailed) Validate() error
- func (m *ScheduleFailed) ValidateAll() error
- type ScheduleFailedMultiError
- type ScheduleFailedValidationError
- func (e ScheduleFailedValidationError) Cause() error
- func (e ScheduleFailedValidationError) Error() string
- func (e ScheduleFailedValidationError) ErrorName() string
- func (e ScheduleFailedValidationError) Field() string
- func (e ScheduleFailedValidationError) Key() bool
- func (e ScheduleFailedValidationError) 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 PeerDownloadBackToSourceFailed ¶
type PeerDownloadBackToSourceFailed 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 Metadata *v2.ExtendAttribute `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // The description of the error. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
PeerDownloadBackToSourceFailed is error detail of downloading back-to-source.
func (*PeerDownloadBackToSourceFailed) Descriptor
deprecated
func (*PeerDownloadBackToSourceFailed) Descriptor() ([]byte, []int)
Deprecated: Use PeerDownloadBackToSourceFailed.ProtoReflect.Descriptor instead.
func (*PeerDownloadBackToSourceFailed) GetDescription ¶
func (x *PeerDownloadBackToSourceFailed) GetDescription() string
func (*PeerDownloadBackToSourceFailed) GetMetadata ¶
func (x *PeerDownloadBackToSourceFailed) GetMetadata() *v2.ExtendAttribute
func (*PeerDownloadBackToSourceFailed) GetTemporary ¶
func (x *PeerDownloadBackToSourceFailed) GetTemporary() bool
func (*PeerDownloadBackToSourceFailed) ProtoMessage ¶
func (*PeerDownloadBackToSourceFailed) ProtoMessage()
func (*PeerDownloadBackToSourceFailed) ProtoReflect ¶
func (x *PeerDownloadBackToSourceFailed) ProtoReflect() protoreflect.Message
func (*PeerDownloadBackToSourceFailed) Reset ¶
func (x *PeerDownloadBackToSourceFailed) Reset()
func (*PeerDownloadBackToSourceFailed) String ¶
func (x *PeerDownloadBackToSourceFailed) String() string
func (*PeerDownloadBackToSourceFailed) Validate ¶
func (m *PeerDownloadBackToSourceFailed) Validate() error
Validate checks the field values on PeerDownloadBackToSourceFailed 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 (*PeerDownloadBackToSourceFailed) ValidateAll ¶
func (m *PeerDownloadBackToSourceFailed) ValidateAll() error
ValidateAll checks the field values on PeerDownloadBackToSourceFailed 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 PeerDownloadBackToSourceFailedMultiError, or nil if none found.
type PeerDownloadBackToSourceFailedMultiError ¶
type PeerDownloadBackToSourceFailedMultiError []error
PeerDownloadBackToSourceFailedMultiError is an error wrapping multiple validation errors returned by PeerDownloadBackToSourceFailed.ValidateAll() if the designated constraints aren't met.
func (PeerDownloadBackToSourceFailedMultiError) AllErrors ¶
func (m PeerDownloadBackToSourceFailedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PeerDownloadBackToSourceFailedMultiError) Error ¶
func (m PeerDownloadBackToSourceFailedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PeerDownloadBackToSourceFailedValidationError ¶
type PeerDownloadBackToSourceFailedValidationError struct {
// contains filtered or unexported fields
}
PeerDownloadBackToSourceFailedValidationError is the validation error returned by PeerDownloadBackToSourceFailed.Validate if the designated constraints aren't met.
func (PeerDownloadBackToSourceFailedValidationError) Cause ¶
func (e PeerDownloadBackToSourceFailedValidationError) Cause() error
Cause function returns cause value.
func (PeerDownloadBackToSourceFailedValidationError) Error ¶
func (e PeerDownloadBackToSourceFailedValidationError) Error() string
Error satisfies the builtin error interface
func (PeerDownloadBackToSourceFailedValidationError) ErrorName ¶
func (e PeerDownloadBackToSourceFailedValidationError) ErrorName() string
ErrorName returns error name.
func (PeerDownloadBackToSourceFailedValidationError) Field ¶
func (e PeerDownloadBackToSourceFailedValidationError) Field() string
Field function returns field value.
func (PeerDownloadBackToSourceFailedValidationError) Key ¶
func (e PeerDownloadBackToSourceFailedValidationError) Key() bool
Key function returns key value.
func (PeerDownloadBackToSourceFailedValidationError) Reason ¶
func (e PeerDownloadBackToSourceFailedValidationError) Reason() string
Reason function returns reason value.
type PieceDownloadFailed ¶
type PieceDownloadFailed 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 }
PieceDownloadFailed is error detail of downloading piece.
func (*PieceDownloadFailed) Descriptor
deprecated
func (*PieceDownloadFailed) Descriptor() ([]byte, []int)
Deprecated: Use PieceDownloadFailed.ProtoReflect.Descriptor instead.
func (*PieceDownloadFailed) GetDescription ¶
func (x *PieceDownloadFailed) GetDescription() string
func (*PieceDownloadFailed) GetParentId ¶
func (x *PieceDownloadFailed) GetParentId() string
func (*PieceDownloadFailed) GetTemporary ¶
func (x *PieceDownloadFailed) GetTemporary() bool
func (*PieceDownloadFailed) ProtoMessage ¶
func (*PieceDownloadFailed) ProtoMessage()
func (*PieceDownloadFailed) ProtoReflect ¶
func (x *PieceDownloadFailed) ProtoReflect() protoreflect.Message
func (*PieceDownloadFailed) Reset ¶
func (x *PieceDownloadFailed) Reset()
func (*PieceDownloadFailed) String ¶
func (x *PieceDownloadFailed) String() string
func (*PieceDownloadFailed) Validate ¶
func (m *PieceDownloadFailed) Validate() error
Validate checks the field values on PieceDownloadFailed 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 (*PieceDownloadFailed) ValidateAll ¶
func (m *PieceDownloadFailed) ValidateAll() error
ValidateAll checks the field values on PieceDownloadFailed 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 PieceDownloadFailedMultiError, or nil if none found.
type PieceDownloadFailedMultiError ¶
type PieceDownloadFailedMultiError []error
PieceDownloadFailedMultiError is an error wrapping multiple validation errors returned by PieceDownloadFailed.ValidateAll() if the designated constraints aren't met.
func (PieceDownloadFailedMultiError) AllErrors ¶
func (m PieceDownloadFailedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PieceDownloadFailedMultiError) Error ¶
func (m PieceDownloadFailedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PieceDownloadFailedValidationError ¶
type PieceDownloadFailedValidationError struct {
// contains filtered or unexported fields
}
PieceDownloadFailedValidationError is the validation error returned by PieceDownloadFailed.Validate if the designated constraints aren't met.
func (PieceDownloadFailedValidationError) Cause ¶
func (e PieceDownloadFailedValidationError) Cause() error
Cause function returns cause value.
func (PieceDownloadFailedValidationError) Error ¶
func (e PieceDownloadFailedValidationError) Error() string
Error satisfies the builtin error interface
func (PieceDownloadFailedValidationError) ErrorName ¶
func (e PieceDownloadFailedValidationError) ErrorName() string
ErrorName returns error name.
func (PieceDownloadFailedValidationError) Field ¶
func (e PieceDownloadFailedValidationError) Field() string
Field function returns field value.
func (PieceDownloadFailedValidationError) Key ¶
func (e PieceDownloadFailedValidationError) Key() bool
Key function returns key value.
func (PieceDownloadFailedValidationError) Reason ¶
func (e PieceDownloadFailedValidationError) Reason() string
Reason function returns reason value.
type PieceInfoSyncFailed ¶
type PieceInfoSyncFailed 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 }
PieceInfoSyncFailed is error detail of syncing piece info.
func (*PieceInfoSyncFailed) Descriptor
deprecated
func (*PieceInfoSyncFailed) Descriptor() ([]byte, []int)
Deprecated: Use PieceInfoSyncFailed.ProtoReflect.Descriptor instead.
func (*PieceInfoSyncFailed) GetDescription ¶
func (x *PieceInfoSyncFailed) GetDescription() string
func (*PieceInfoSyncFailed) GetParentId ¶
func (x *PieceInfoSyncFailed) GetParentId() string
func (*PieceInfoSyncFailed) GetTemporary ¶
func (x *PieceInfoSyncFailed) GetTemporary() bool
func (*PieceInfoSyncFailed) ProtoMessage ¶
func (*PieceInfoSyncFailed) ProtoMessage()
func (*PieceInfoSyncFailed) ProtoReflect ¶
func (x *PieceInfoSyncFailed) ProtoReflect() protoreflect.Message
func (*PieceInfoSyncFailed) Reset ¶
func (x *PieceInfoSyncFailed) Reset()
func (*PieceInfoSyncFailed) String ¶
func (x *PieceInfoSyncFailed) String() string
func (*PieceInfoSyncFailed) Validate ¶
func (m *PieceInfoSyncFailed) Validate() error
Validate checks the field values on PieceInfoSyncFailed 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 (*PieceInfoSyncFailed) ValidateAll ¶
func (m *PieceInfoSyncFailed) ValidateAll() error
ValidateAll checks the field values on PieceInfoSyncFailed 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 PieceInfoSyncFailedMultiError, or nil if none found.
type PieceInfoSyncFailedMultiError ¶
type PieceInfoSyncFailedMultiError []error
PieceInfoSyncFailedMultiError is an error wrapping multiple validation errors returned by PieceInfoSyncFailed.ValidateAll() if the designated constraints aren't met.
func (PieceInfoSyncFailedMultiError) AllErrors ¶
func (m PieceInfoSyncFailedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PieceInfoSyncFailedMultiError) Error ¶
func (m PieceInfoSyncFailedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PieceInfoSyncFailedValidationError ¶
type PieceInfoSyncFailedValidationError struct {
// contains filtered or unexported fields
}
PieceInfoSyncFailedValidationError is the validation error returned by PieceInfoSyncFailed.Validate if the designated constraints aren't met.
func (PieceInfoSyncFailedValidationError) Cause ¶
func (e PieceInfoSyncFailedValidationError) Cause() error
Cause function returns cause value.
func (PieceInfoSyncFailedValidationError) Error ¶
func (e PieceInfoSyncFailedValidationError) Error() string
Error satisfies the builtin error interface
func (PieceInfoSyncFailedValidationError) ErrorName ¶
func (e PieceInfoSyncFailedValidationError) ErrorName() string
ErrorName returns error name.
func (PieceInfoSyncFailedValidationError) Field ¶
func (e PieceInfoSyncFailedValidationError) Field() string
Field function returns field value.
func (PieceInfoSyncFailedValidationError) Key ¶
func (e PieceInfoSyncFailedValidationError) Key() bool
Key function returns key value.
func (PieceInfoSyncFailedValidationError) Reason ¶
func (e PieceInfoSyncFailedValidationError) Reason() string
Reason function returns reason value.
type ScheduleFailed ¶
type ScheduleFailed struct { // The description of the error. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
ScheduleFailed is error detail of scheduling.
func (*ScheduleFailed) Descriptor
deprecated
func (*ScheduleFailed) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleFailed.ProtoReflect.Descriptor instead.
func (*ScheduleFailed) GetDescription ¶
func (x *ScheduleFailed) GetDescription() string
func (*ScheduleFailed) ProtoMessage ¶
func (*ScheduleFailed) ProtoMessage()
func (*ScheduleFailed) ProtoReflect ¶
func (x *ScheduleFailed) ProtoReflect() protoreflect.Message
func (*ScheduleFailed) Reset ¶
func (x *ScheduleFailed) Reset()
func (*ScheduleFailed) String ¶
func (x *ScheduleFailed) String() string
func (*ScheduleFailed) Validate ¶
func (m *ScheduleFailed) Validate() error
Validate checks the field values on ScheduleFailed 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 (*ScheduleFailed) ValidateAll ¶
func (m *ScheduleFailed) ValidateAll() error
ValidateAll checks the field values on ScheduleFailed 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 ScheduleFailedMultiError, or nil if none found.
type ScheduleFailedMultiError ¶
type ScheduleFailedMultiError []error
ScheduleFailedMultiError is an error wrapping multiple validation errors returned by ScheduleFailed.ValidateAll() if the designated constraints aren't met.
func (ScheduleFailedMultiError) AllErrors ¶
func (m ScheduleFailedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ScheduleFailedMultiError) Error ¶
func (m ScheduleFailedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ScheduleFailedValidationError ¶
type ScheduleFailedValidationError struct {
// contains filtered or unexported fields
}
ScheduleFailedValidationError is the validation error returned by ScheduleFailed.Validate if the designated constraints aren't met.
func (ScheduleFailedValidationError) Cause ¶
func (e ScheduleFailedValidationError) Cause() error
Cause function returns cause value.
func (ScheduleFailedValidationError) Error ¶
func (e ScheduleFailedValidationError) Error() string
Error satisfies the builtin error interface
func (ScheduleFailedValidationError) ErrorName ¶
func (e ScheduleFailedValidationError) ErrorName() string
ErrorName returns error name.
func (ScheduleFailedValidationError) Field ¶
func (e ScheduleFailedValidationError) Field() string
Field function returns field value.
func (ScheduleFailedValidationError) Key ¶
func (e ScheduleFailedValidationError) Key() bool
Key function returns key value.
func (ScheduleFailedValidationError) Reason ¶
func (e ScheduleFailedValidationError) Reason() string
Reason function returns reason value.