local_address_selectorv3

package
v0.0.0-...-e2f41ce Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_upstream_local_address_selector_v3_default_local_address_selector_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DefaultLocalAddressSelector

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

Default implementation of a local address selector. This implementation is used if :ref:`local_address_selector <envoy_v3_api_field_config.core.v3.BindConfig.local_address_selector>` is not specified. This implementation supports the specification of only one address in :ref:`extra_source_addresses <envoy_v3_api_field_config.core.v3.BindConfig.extra_source_addresses>` which is appended to the address specified in the :ref:`source_address <envoy_v3_api_field_config.core.v3.BindConfig.source_address>` field. The extra address should have a different IP version than the address in the “source_address“ field. The address which has the same IP version with the target host's address IP version will be used as bind address. If there is no same IP version address found, the address in the “source_address“ field will be returned.

func (*DefaultLocalAddressSelector) Descriptor deprecated

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

Deprecated: Use DefaultLocalAddressSelector.ProtoReflect.Descriptor instead.

func (*DefaultLocalAddressSelector) ProtoMessage

func (*DefaultLocalAddressSelector) ProtoMessage()

func (*DefaultLocalAddressSelector) ProtoReflect

func (*DefaultLocalAddressSelector) Reset

func (x *DefaultLocalAddressSelector) Reset()

func (*DefaultLocalAddressSelector) String

func (x *DefaultLocalAddressSelector) String() string

func (*DefaultLocalAddressSelector) Validate

func (m *DefaultLocalAddressSelector) Validate() error

Validate checks the field values on DefaultLocalAddressSelector 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 (*DefaultLocalAddressSelector) ValidateAll

func (m *DefaultLocalAddressSelector) ValidateAll() error

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

type DefaultLocalAddressSelectorMultiError

type DefaultLocalAddressSelectorMultiError []error

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

func (DefaultLocalAddressSelectorMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DefaultLocalAddressSelectorMultiError) Error

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

type DefaultLocalAddressSelectorValidationError

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

DefaultLocalAddressSelectorValidationError is the validation error returned by DefaultLocalAddressSelector.Validate if the designated constraints aren't met.

func (DefaultLocalAddressSelectorValidationError) Cause

Cause function returns cause value.

func (DefaultLocalAddressSelectorValidationError) Error

Error satisfies the builtin error interface

func (DefaultLocalAddressSelectorValidationError) ErrorName

ErrorName returns error name.

func (DefaultLocalAddressSelectorValidationError) Field

Field function returns field value.

func (DefaultLocalAddressSelectorValidationError) Key

Key function returns key value.

func (DefaultLocalAddressSelectorValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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