previous_hostsv2

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 17 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_retry_previous_hosts_v2_previous_hosts_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PreviousHostsPredicate

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

func (*PreviousHostsPredicate) Descriptor deprecated

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

Deprecated: Use PreviousHostsPredicate.ProtoReflect.Descriptor instead.

func (*PreviousHostsPredicate) ProtoMessage

func (*PreviousHostsPredicate) ProtoMessage()

func (*PreviousHostsPredicate) ProtoReflect added in v0.9.6

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

func (*PreviousHostsPredicate) Reset

func (x *PreviousHostsPredicate) Reset()

func (*PreviousHostsPredicate) String

func (x *PreviousHostsPredicate) String() string

func (*PreviousHostsPredicate) Validate

func (m *PreviousHostsPredicate) Validate() error

Validate checks the field values on PreviousHostsPredicate 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 (*PreviousHostsPredicate) ValidateAll added in v0.10.0

func (m *PreviousHostsPredicate) ValidateAll() error

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

type PreviousHostsPredicateMultiError added in v0.10.0

type PreviousHostsPredicateMultiError []error

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

func (PreviousHostsPredicateMultiError) AllErrors added in v0.10.0

func (m PreviousHostsPredicateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PreviousHostsPredicateMultiError) Error added in v0.10.0

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

type PreviousHostsPredicateValidationError

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

PreviousHostsPredicateValidationError is the validation error returned by PreviousHostsPredicate.Validate if the designated constraints aren't met.

func (PreviousHostsPredicateValidationError) Cause

Cause function returns cause value.

func (PreviousHostsPredicateValidationError) Error

Error satisfies the builtin error interface

func (PreviousHostsPredicateValidationError) ErrorName

ErrorName returns error name.

func (PreviousHostsPredicateValidationError) Field

Field function returns field value.

func (PreviousHostsPredicateValidationError) Key

Key function returns key value.

func (PreviousHostsPredicateValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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