v2

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 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 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 (*PeerDownloadBackToSourceFailed) GetTemporary

func (x *PeerDownloadBackToSourceFailed) GetTemporary() bool

func (*PeerDownloadBackToSourceFailed) ProtoMessage

func (*PeerDownloadBackToSourceFailed) ProtoMessage()

func (*PeerDownloadBackToSourceFailed) ProtoReflect

func (*PeerDownloadBackToSourceFailed) Reset

func (x *PeerDownloadBackToSourceFailed) Reset()

func (*PeerDownloadBackToSourceFailed) 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

AllErrors returns a list of validation violation errors.

func (PeerDownloadBackToSourceFailedMultiError) Error

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

Cause function returns cause value.

func (PeerDownloadBackToSourceFailedValidationError) Error

Error satisfies the builtin error interface

func (PeerDownloadBackToSourceFailedValidationError) ErrorName

ErrorName returns error name.

func (PeerDownloadBackToSourceFailedValidationError) Field

Field function returns field value.

func (PeerDownloadBackToSourceFailedValidationError) Key

Key function returns key value.

func (PeerDownloadBackToSourceFailedValidationError) Reason

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

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

Cause function returns cause value.

func (PieceDownloadFailedValidationError) Error

Error satisfies the builtin error interface

func (PieceDownloadFailedValidationError) ErrorName

ErrorName returns error name.

func (PieceDownloadFailedValidationError) Field

Field function returns field value.

func (PieceDownloadFailedValidationError) Key

Key function returns key value.

func (PieceDownloadFailedValidationError) Reason

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

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

Cause function returns cause value.

func (PieceInfoSyncFailedValidationError) Error

Error satisfies the builtin error interface

func (PieceInfoSyncFailedValidationError) ErrorName

ErrorName returns error name.

func (PieceInfoSyncFailedValidationError) Field

Field function returns field value.

func (PieceInfoSyncFailedValidationError) Key

Key function returns key value.

func (PieceInfoSyncFailedValidationError) Reason

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

Cause function returns cause value.

func (ScheduleFailedValidationError) Error

Error satisfies the builtin error interface

func (ScheduleFailedValidationError) ErrorName

func (e ScheduleFailedValidationError) ErrorName() string

ErrorName returns error name.

func (ScheduleFailedValidationError) Field

Field function returns field value.

func (ScheduleFailedValidationError) Key

Key function returns key value.

func (ScheduleFailedValidationError) Reason

Reason function returns reason value.

type ScheduleForbidden added in v1.3.0

type ScheduleForbidden struct {

	// The description of the error.
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

ScheduleForbidden is error detail of forbidden.

func (*ScheduleForbidden) Descriptor deprecated added in v1.3.0

func (*ScheduleForbidden) Descriptor() ([]byte, []int)

Deprecated: Use ScheduleForbidden.ProtoReflect.Descriptor instead.

func (*ScheduleForbidden) GetDescription added in v1.3.0

func (x *ScheduleForbidden) GetDescription() string

func (*ScheduleForbidden) ProtoMessage added in v1.3.0

func (*ScheduleForbidden) ProtoMessage()

func (*ScheduleForbidden) ProtoReflect added in v1.3.0

func (x *ScheduleForbidden) ProtoReflect() protoreflect.Message

func (*ScheduleForbidden) Reset added in v1.3.0

func (x *ScheduleForbidden) Reset()

func (*ScheduleForbidden) String added in v1.3.0

func (x *ScheduleForbidden) String() string

func (*ScheduleForbidden) Validate added in v1.3.0

func (m *ScheduleForbidden) Validate() error

Validate checks the field values on ScheduleForbidden 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 (*ScheduleForbidden) ValidateAll added in v1.3.0

func (m *ScheduleForbidden) ValidateAll() error

ValidateAll checks the field values on ScheduleForbidden 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 ScheduleForbiddenMultiError, or nil if none found.

type ScheduleForbiddenMultiError added in v1.3.0

type ScheduleForbiddenMultiError []error

ScheduleForbiddenMultiError is an error wrapping multiple validation errors returned by ScheduleForbidden.ValidateAll() if the designated constraints aren't met.

func (ScheduleForbiddenMultiError) AllErrors added in v1.3.0

func (m ScheduleForbiddenMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ScheduleForbiddenMultiError) Error added in v1.3.0

Error returns a concatenation of all the error messages it wraps.

type ScheduleForbiddenValidationError added in v1.3.0

type ScheduleForbiddenValidationError struct {
	// contains filtered or unexported fields
}

ScheduleForbiddenValidationError is the validation error returned by ScheduleForbidden.Validate if the designated constraints aren't met.

func (ScheduleForbiddenValidationError) Cause added in v1.3.0

Cause function returns cause value.

func (ScheduleForbiddenValidationError) Error added in v1.3.0

Error satisfies the builtin error interface

func (ScheduleForbiddenValidationError) ErrorName added in v1.3.0

ErrorName returns error name.

func (ScheduleForbiddenValidationError) Field added in v1.3.0

Field function returns field value.

func (ScheduleForbiddenValidationError) Key added in v1.3.0

Key function returns key value.

func (ScheduleForbiddenValidationError) Reason added in v1.3.0

Reason function returns reason value.

Jump to

Keyboard shortcuts

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