errordetails

package
v1.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 (*DownloadPeerBackToSourceFailed) Reset added in v1.4.1

func (x *DownloadPeerBackToSourceFailed) Reset()

func (*DownloadPeerBackToSourceFailed) String added in v1.4.1

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

AllErrors returns a list of validation violation errors.

func (DownloadPeerBackToSourceFailedMultiError) Error added in v1.4.1

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

Cause function returns cause value.

func (DownloadPeerBackToSourceFailedValidationError) Error added in v1.4.1

Error satisfies the builtin error interface

func (DownloadPeerBackToSourceFailedValidationError) ErrorName added in v1.4.1

ErrorName returns error name.

func (DownloadPeerBackToSourceFailedValidationError) Field added in v1.4.1

Field function returns field value.

func (DownloadPeerBackToSourceFailedValidationError) Key added in v1.4.1

Key function returns key value.

func (DownloadPeerBackToSourceFailedValidationError) Reason added in v1.4.1

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 (*DownloadPieceBackToSourceFailed) Reset added in v1.4.1

func (*DownloadPieceBackToSourceFailed) String added in v1.4.1

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

AllErrors returns a list of validation violation errors.

func (DownloadPieceBackToSourceFailedMultiError) Error added in v1.4.1

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

Cause function returns cause value.

func (DownloadPieceBackToSourceFailedValidationError) Error added in v1.4.1

Error satisfies the builtin error interface

func (DownloadPieceBackToSourceFailedValidationError) ErrorName added in v1.4.1

ErrorName returns error name.

func (DownloadPieceBackToSourceFailedValidationError) Field added in v1.4.1

Field function returns field value.

func (DownloadPieceBackToSourceFailedValidationError) Key added in v1.4.1

Key function returns key value.

func (DownloadPieceBackToSourceFailedValidationError) Reason added in v1.4.1

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

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

Cause function returns cause value.

func (DownloadPieceFailedValidationError) Error added in v1.4.1

Error satisfies the builtin error interface

func (DownloadPieceFailedValidationError) ErrorName added in v1.4.1

ErrorName returns error name.

func (DownloadPieceFailedValidationError) Field added in v1.4.1

Field function returns field value.

func (DownloadPieceFailedValidationError) Key added in v1.4.1

Key function returns key value.

func (DownloadPieceFailedValidationError) Reason added in v1.4.1

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

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

Cause function returns cause value.

func (SchedulePeerFailedValidationError) Error added in v1.4.1

Error satisfies the builtin error interface

func (SchedulePeerFailedValidationError) ErrorName added in v1.4.1

ErrorName returns error name.

func (SchedulePeerFailedValidationError) Field added in v1.4.1

Field function returns field value.

func (SchedulePeerFailedValidationError) Key added in v1.4.1

Key function returns key value.

func (SchedulePeerFailedValidationError) Reason added in v1.4.1

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

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

Cause function returns cause value.

func (SchedulePeerForbiddenValidationError) Error added in v1.4.1

Error satisfies the builtin error interface

func (SchedulePeerForbiddenValidationError) ErrorName added in v1.4.1

ErrorName returns error name.

func (SchedulePeerForbiddenValidationError) Field added in v1.4.1

Field function returns field value.

func (SchedulePeerForbiddenValidationError) Key added in v1.4.1

Key function returns key value.

func (SchedulePeerForbiddenValidationError) Reason added in v1.4.1

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

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

Cause function returns cause value.

func (SyncPiecesFailedValidationError) Error added in v1.4.1

Error satisfies the builtin error interface

func (SyncPiecesFailedValidationError) ErrorName added in v1.4.1

ErrorName returns error name.

func (SyncPiecesFailedValidationError) Field added in v1.4.1

Field function returns field value.

func (SyncPiecesFailedValidationError) Key added in v1.4.1

Key function returns key value.

func (SyncPiecesFailedValidationError) Reason added in v1.4.1

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL