commonv3

package
v0.0.0-...-bd183b5 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

Cause function returns cause value.

func (DatabaseErrorsValidationError) Error

Error satisfies the builtin error interface

func (DatabaseErrorsValidationError) ErrorName

func (e DatabaseErrorsValidationError) ErrorName() string

ErrorName returns error name.

func (DatabaseErrorsValidationError) Field

Field function returns field value.

func (DatabaseErrorsValidationError) Key

Key function returns key value.

func (DatabaseErrorsValidationError) Reason

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

Cause function returns cause value.

func (ErrorBucketsValidationError) Error

Error satisfies the builtin error interface

func (ErrorBucketsValidationError) ErrorName

func (e ErrorBucketsValidationError) ErrorName() string

ErrorName returns error name.

func (ErrorBucketsValidationError) Field

Field function returns field value.

func (ErrorBucketsValidationError) Key

Key function returns key value.

func (ErrorBucketsValidationError) Reason

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

Error satisfies the builtin error interface

func (HttpErrorsValidationError) ErrorName

func (e HttpErrorsValidationError) ErrorName() string

ErrorName returns error name.

func (HttpErrorsValidationError) Field

Field function returns field value.

func (HttpErrorsValidationError) Key

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

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

Cause function returns cause value.

func (LocalOriginErrorsValidationError) Error

Error satisfies the builtin error interface

func (LocalOriginErrorsValidationError) ErrorName

ErrorName returns error name.

func (LocalOriginErrorsValidationError) Field

Field function returns field value.

func (LocalOriginErrorsValidationError) Key

Key function returns key value.

func (LocalOriginErrorsValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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