Documentation ¶
Index ¶
- Variables
- type DatabaseErrors
- func (*DatabaseErrors) Descriptor() ([]byte, []int)deprecated
- func (*DatabaseErrors) ProtoMessage()
- func (x *DatabaseErrors) ProtoReflect() protoreflect.Message
- func (x *DatabaseErrors) Reset()
- func (x *DatabaseErrors) String() string
- func (m *DatabaseErrors) Validate() error
- func (m *DatabaseErrors) ValidateAll() error
- type DatabaseErrorsMultiError
- type DatabaseErrorsValidationError
- func (e DatabaseErrorsValidationError) Cause() error
- func (e DatabaseErrorsValidationError) Error() string
- func (e DatabaseErrorsValidationError) ErrorName() string
- func (e DatabaseErrorsValidationError) Field() string
- func (e DatabaseErrorsValidationError) Key() bool
- func (e DatabaseErrorsValidationError) Reason() string
- type ErrorBuckets
- func (*ErrorBuckets) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorBuckets) GetDatabaseErrors() []*DatabaseErrors
- func (x *ErrorBuckets) GetHttpErrors() []*HttpErrors
- func (x *ErrorBuckets) GetLocalOriginErrors() []*LocalOriginErrors
- func (*ErrorBuckets) ProtoMessage()
- func (x *ErrorBuckets) ProtoReflect() protoreflect.Message
- func (x *ErrorBuckets) Reset()
- func (x *ErrorBuckets) String() string
- func (m *ErrorBuckets) Validate() error
- func (m *ErrorBuckets) ValidateAll() error
- type ErrorBucketsMultiError
- type ErrorBucketsValidationError
- func (e ErrorBucketsValidationError) Cause() error
- func (e ErrorBucketsValidationError) Error() string
- func (e ErrorBucketsValidationError) ErrorName() string
- func (e ErrorBucketsValidationError) Field() string
- func (e ErrorBucketsValidationError) Key() bool
- func (e ErrorBucketsValidationError) Reason() string
- type HttpErrors
- func (*HttpErrors) Descriptor() ([]byte, []int)deprecated
- func (x *HttpErrors) GetRange() *v3.Int32Range
- func (*HttpErrors) ProtoMessage()
- func (x *HttpErrors) ProtoReflect() protoreflect.Message
- func (x *HttpErrors) Reset()
- func (x *HttpErrors) String() string
- func (m *HttpErrors) Validate() error
- func (m *HttpErrors) ValidateAll() error
- type HttpErrorsMultiError
- type HttpErrorsValidationError
- type LocalOriginErrors
- func (*LocalOriginErrors) Descriptor() ([]byte, []int)deprecated
- func (*LocalOriginErrors) ProtoMessage()
- func (x *LocalOriginErrors) ProtoReflect() protoreflect.Message
- func (x *LocalOriginErrors) Reset()
- func (x *LocalOriginErrors) String() string
- func (m *LocalOriginErrors) Validate() error
- func (m *LocalOriginErrors) ValidateAll() error
- type LocalOriginErrorsMultiError
- type LocalOriginErrorsValidationError
- func (e LocalOriginErrorsValidationError) Cause() error
- func (e LocalOriginErrorsValidationError) Error() string
- func (e LocalOriginErrorsValidationError) ErrorName() string
- func (e LocalOriginErrorsValidationError) Field() string
- func (e LocalOriginErrorsValidationError) Key() bool
- func (e LocalOriginErrorsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_outlier_detection_monitors_common_v3_error_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DatabaseErrors ¶
type DatabaseErrors struct {
// contains filtered or unexported fields
}
Error bucket for database errors. Sub-parameters may be added later, like malformed response, error on write, etc. [#not-implemented-hide:]
func (*DatabaseErrors) Descriptor
deprecated
func (*DatabaseErrors) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseErrors.ProtoReflect.Descriptor instead.
func (*DatabaseErrors) ProtoMessage ¶
func (*DatabaseErrors) ProtoMessage()
func (*DatabaseErrors) ProtoReflect ¶
func (x *DatabaseErrors) ProtoReflect() protoreflect.Message
func (*DatabaseErrors) Reset ¶
func (x *DatabaseErrors) Reset()
func (*DatabaseErrors) String ¶
func (x *DatabaseErrors) String() string
func (*DatabaseErrors) Validate ¶
func (m *DatabaseErrors) Validate() error
Validate checks the field values on DatabaseErrors 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 (*DatabaseErrors) ValidateAll ¶
func (m *DatabaseErrors) ValidateAll() error
ValidateAll checks the field values on DatabaseErrors 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 DatabaseErrorsMultiError, or nil if none found.
type DatabaseErrorsMultiError ¶
type DatabaseErrorsMultiError []error
DatabaseErrorsMultiError is an error wrapping multiple validation errors returned by DatabaseErrors.ValidateAll() if the designated constraints aren't met.
func (DatabaseErrorsMultiError) AllErrors ¶
func (m DatabaseErrorsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DatabaseErrorsMultiError) Error ¶
func (m DatabaseErrorsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DatabaseErrorsValidationError ¶
type DatabaseErrorsValidationError struct {
// contains filtered or unexported fields
}
DatabaseErrorsValidationError is the validation error returned by DatabaseErrors.Validate if the designated constraints aren't met.
func (DatabaseErrorsValidationError) Cause ¶
func (e DatabaseErrorsValidationError) Cause() error
Cause function returns cause value.
func (DatabaseErrorsValidationError) Error ¶
func (e DatabaseErrorsValidationError) Error() string
Error satisfies the builtin error interface
func (DatabaseErrorsValidationError) ErrorName ¶
func (e DatabaseErrorsValidationError) ErrorName() string
ErrorName returns error name.
func (DatabaseErrorsValidationError) Field ¶
func (e DatabaseErrorsValidationError) Field() string
Field function returns field value.
func (DatabaseErrorsValidationError) Key ¶
func (e DatabaseErrorsValidationError) Key() bool
Key function returns key value.
func (DatabaseErrorsValidationError) Reason ¶
func (e DatabaseErrorsValidationError) Reason() string
Reason function returns reason value.
type ErrorBuckets ¶
type ErrorBuckets struct { // List of buckets "catching" HTTP codes. HttpErrors []*HttpErrors `protobuf:"bytes,1,rep,name=http_errors,json=httpErrors,proto3" json:"http_errors,omitempty"` // List of buckets "catching" locally originated errors. LocalOriginErrors []*LocalOriginErrors `protobuf:"bytes,2,rep,name=local_origin_errors,json=localOriginErrors,proto3" json:"local_origin_errors,omitempty"` // List of buckets "catching" database errors. DatabaseErrors []*DatabaseErrors `protobuf:"bytes,3,rep,name=database_errors,json=databaseErrors,proto3" json:"database_errors,omitempty"` // contains filtered or unexported fields }
Union of possible error buckets. [#not-implemented-hide:]
func (*ErrorBuckets) Descriptor
deprecated
func (*ErrorBuckets) Descriptor() ([]byte, []int)
Deprecated: Use ErrorBuckets.ProtoReflect.Descriptor instead.
func (*ErrorBuckets) GetDatabaseErrors ¶
func (x *ErrorBuckets) GetDatabaseErrors() []*DatabaseErrors
func (*ErrorBuckets) GetHttpErrors ¶
func (x *ErrorBuckets) GetHttpErrors() []*HttpErrors
func (*ErrorBuckets) GetLocalOriginErrors ¶
func (x *ErrorBuckets) GetLocalOriginErrors() []*LocalOriginErrors
func (*ErrorBuckets) ProtoMessage ¶
func (*ErrorBuckets) ProtoMessage()
func (*ErrorBuckets) ProtoReflect ¶
func (x *ErrorBuckets) ProtoReflect() protoreflect.Message
func (*ErrorBuckets) Reset ¶
func (x *ErrorBuckets) Reset()
func (*ErrorBuckets) String ¶
func (x *ErrorBuckets) String() string
func (*ErrorBuckets) Validate ¶
func (m *ErrorBuckets) Validate() error
Validate checks the field values on ErrorBuckets 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 (*ErrorBuckets) ValidateAll ¶
func (m *ErrorBuckets) ValidateAll() error
ValidateAll checks the field values on ErrorBuckets 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 ErrorBucketsMultiError, or nil if none found.
type ErrorBucketsMultiError ¶
type ErrorBucketsMultiError []error
ErrorBucketsMultiError is an error wrapping multiple validation errors returned by ErrorBuckets.ValidateAll() if the designated constraints aren't met.
func (ErrorBucketsMultiError) AllErrors ¶
func (m ErrorBucketsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ErrorBucketsMultiError) Error ¶
func (m ErrorBucketsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ErrorBucketsValidationError ¶
type ErrorBucketsValidationError struct {
// contains filtered or unexported fields
}
ErrorBucketsValidationError is the validation error returned by ErrorBuckets.Validate if the designated constraints aren't met.
func (ErrorBucketsValidationError) Cause ¶
func (e ErrorBucketsValidationError) Cause() error
Cause function returns cause value.
func (ErrorBucketsValidationError) Error ¶
func (e ErrorBucketsValidationError) Error() string
Error satisfies the builtin error interface
func (ErrorBucketsValidationError) ErrorName ¶
func (e ErrorBucketsValidationError) ErrorName() string
ErrorName returns error name.
func (ErrorBucketsValidationError) Field ¶
func (e ErrorBucketsValidationError) Field() string
Field function returns field value.
func (ErrorBucketsValidationError) Key ¶
func (e ErrorBucketsValidationError) Key() bool
Key function returns key value.
func (ErrorBucketsValidationError) Reason ¶
func (e ErrorBucketsValidationError) Reason() string
Reason function returns reason value.
type HttpErrors ¶
type HttpErrors struct { Range *v3.Int32Range `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"` // contains filtered or unexported fields }
[#protodoc-title: Outlier detection error buckets] Error bucket for HTTP codes. [#not-implemented-hide:]
func (*HttpErrors) Descriptor
deprecated
func (*HttpErrors) Descriptor() ([]byte, []int)
Deprecated: Use HttpErrors.ProtoReflect.Descriptor instead.
func (*HttpErrors) GetRange ¶
func (x *HttpErrors) GetRange() *v3.Int32Range
func (*HttpErrors) ProtoMessage ¶
func (*HttpErrors) ProtoMessage()
func (*HttpErrors) ProtoReflect ¶
func (x *HttpErrors) ProtoReflect() protoreflect.Message
func (*HttpErrors) Reset ¶
func (x *HttpErrors) Reset()
func (*HttpErrors) String ¶
func (x *HttpErrors) String() string
func (*HttpErrors) Validate ¶
func (m *HttpErrors) Validate() error
Validate checks the field values on HttpErrors 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 (*HttpErrors) ValidateAll ¶
func (m *HttpErrors) ValidateAll() error
ValidateAll checks the field values on HttpErrors 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 HttpErrorsMultiError, or nil if none found.
type HttpErrorsMultiError ¶
type HttpErrorsMultiError []error
HttpErrorsMultiError is an error wrapping multiple validation errors returned by HttpErrors.ValidateAll() if the designated constraints aren't met.
func (HttpErrorsMultiError) AllErrors ¶
func (m HttpErrorsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HttpErrorsMultiError) Error ¶
func (m HttpErrorsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HttpErrorsValidationError ¶
type HttpErrorsValidationError struct {
// contains filtered or unexported fields
}
HttpErrorsValidationError is the validation error returned by HttpErrors.Validate if the designated constraints aren't met.
func (HttpErrorsValidationError) Cause ¶
func (e HttpErrorsValidationError) Cause() error
Cause function returns cause value.
func (HttpErrorsValidationError) Error ¶
func (e HttpErrorsValidationError) Error() string
Error satisfies the builtin error interface
func (HttpErrorsValidationError) ErrorName ¶
func (e HttpErrorsValidationError) ErrorName() string
ErrorName returns error name.
func (HttpErrorsValidationError) Field ¶
func (e HttpErrorsValidationError) Field() string
Field function returns field value.
func (HttpErrorsValidationError) Key ¶
func (e HttpErrorsValidationError) Key() bool
Key function returns key value.
func (HttpErrorsValidationError) Reason ¶
func (e HttpErrorsValidationError) Reason() string
Reason function returns reason value.
type LocalOriginErrors ¶
type LocalOriginErrors struct {
// contains filtered or unexported fields
}
Error bucket for locally originated errors. [#not-implemented-hide:]
func (*LocalOriginErrors) Descriptor
deprecated
func (*LocalOriginErrors) Descriptor() ([]byte, []int)
Deprecated: Use LocalOriginErrors.ProtoReflect.Descriptor instead.
func (*LocalOriginErrors) ProtoMessage ¶
func (*LocalOriginErrors) ProtoMessage()
func (*LocalOriginErrors) ProtoReflect ¶
func (x *LocalOriginErrors) ProtoReflect() protoreflect.Message
func (*LocalOriginErrors) Reset ¶
func (x *LocalOriginErrors) Reset()
func (*LocalOriginErrors) String ¶
func (x *LocalOriginErrors) String() string
func (*LocalOriginErrors) Validate ¶
func (m *LocalOriginErrors) Validate() error
Validate checks the field values on LocalOriginErrors 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 (*LocalOriginErrors) ValidateAll ¶
func (m *LocalOriginErrors) ValidateAll() error
ValidateAll checks the field values on LocalOriginErrors 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 LocalOriginErrorsMultiError, or nil if none found.
type LocalOriginErrorsMultiError ¶
type LocalOriginErrorsMultiError []error
LocalOriginErrorsMultiError is an error wrapping multiple validation errors returned by LocalOriginErrors.ValidateAll() if the designated constraints aren't met.
func (LocalOriginErrorsMultiError) AllErrors ¶
func (m LocalOriginErrorsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LocalOriginErrorsMultiError) Error ¶
func (m LocalOriginErrorsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LocalOriginErrorsValidationError ¶
type LocalOriginErrorsValidationError struct {
// contains filtered or unexported fields
}
LocalOriginErrorsValidationError is the validation error returned by LocalOriginErrors.Validate if the designated constraints aren't met.
func (LocalOriginErrorsValidationError) Cause ¶
func (e LocalOriginErrorsValidationError) Cause() error
Cause function returns cause value.
func (LocalOriginErrorsValidationError) Error ¶
func (e LocalOriginErrorsValidationError) Error() string
Error satisfies the builtin error interface
func (LocalOriginErrorsValidationError) ErrorName ¶
func (e LocalOriginErrorsValidationError) ErrorName() string
ErrorName returns error name.
func (LocalOriginErrorsValidationError) Field ¶
func (e LocalOriginErrorsValidationError) Field() string
Field function returns field value.
func (LocalOriginErrorsValidationError) Key ¶
func (e LocalOriginErrorsValidationError) Key() bool
Key function returns key value.
func (LocalOriginErrorsValidationError) Reason ¶
func (e LocalOriginErrorsValidationError) Reason() string
Reason function returns reason value.