Documentation ¶
Index ¶
- Variables
- type DefaultLocalAddressSelector
- func (*DefaultLocalAddressSelector) Descriptor() ([]byte, []int)deprecated
- func (*DefaultLocalAddressSelector) ProtoMessage()
- func (x *DefaultLocalAddressSelector) ProtoReflect() protoreflect.Message
- func (x *DefaultLocalAddressSelector) Reset()
- func (x *DefaultLocalAddressSelector) String() string
- func (m *DefaultLocalAddressSelector) Validate() error
- func (m *DefaultLocalAddressSelector) ValidateAll() error
- type DefaultLocalAddressSelectorMultiError
- type DefaultLocalAddressSelectorValidationError
- func (e DefaultLocalAddressSelectorValidationError) Cause() error
- func (e DefaultLocalAddressSelectorValidationError) Error() string
- func (e DefaultLocalAddressSelectorValidationError) ErrorName() string
- func (e DefaultLocalAddressSelectorValidationError) Field() string
- func (e DefaultLocalAddressSelectorValidationError) Key() bool
- func (e DefaultLocalAddressSelectorValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
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 (x *DefaultLocalAddressSelector) ProtoReflect() protoreflect.Message
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 ¶
func (m DefaultLocalAddressSelectorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DefaultLocalAddressSelectorMultiError) Error ¶
func (m DefaultLocalAddressSelectorMultiError) Error() string
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 ¶
func (e DefaultLocalAddressSelectorValidationError) Cause() error
Cause function returns cause value.
func (DefaultLocalAddressSelectorValidationError) Error ¶
func (e DefaultLocalAddressSelectorValidationError) Error() string
Error satisfies the builtin error interface
func (DefaultLocalAddressSelectorValidationError) ErrorName ¶
func (e DefaultLocalAddressSelectorValidationError) ErrorName() string
ErrorName returns error name.
func (DefaultLocalAddressSelectorValidationError) Field ¶
func (e DefaultLocalAddressSelectorValidationError) Field() string
Field function returns field value.
func (DefaultLocalAddressSelectorValidationError) Key ¶
func (e DefaultLocalAddressSelectorValidationError) Key() bool
Key function returns key value.
func (DefaultLocalAddressSelectorValidationError) Reason ¶
func (e DefaultLocalAddressSelectorValidationError) Reason() string
Reason function returns reason value.