package previous_hostsv2

import "github.com/envoyproxy/go-control-plane/envoy/config/retry/previous_hosts/v2"

Index

Variables

var File_envoy_config_retry_previous_hosts_v2_previous_hosts_proto protoreflect.FileDescriptor

Types

type PreviousHostsPredicate

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

func (*PreviousHostsPredicate) Descriptor

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

Deprecated: Use PreviousHostsPredicate.ProtoReflect.Descriptor instead.

func (*PreviousHostsPredicate) ProtoMessage

func (*PreviousHostsPredicate) ProtoMessage()

func (*PreviousHostsPredicate) ProtoReflect

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

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

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

func (m PreviousHostsPredicateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PreviousHostsPredicateMultiError) Error

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.

Source Files

previous_hosts.pb.go previous_hosts.pb.validate.go

Version
v1.32.4 (latest)
Published
Feb 3, 2025
Platform
linux/amd64
Imports
17 packages
Last checked
1 day ago

Tools for package owners.