Documentation ¶
Index ¶
- Variables
- type AppleDnsResolverConfig
- func (*AppleDnsResolverConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AppleDnsResolverConfig) GetIncludeUnroutableFamilies() bool
- func (*AppleDnsResolverConfig) ProtoMessage()
- func (x *AppleDnsResolverConfig) ProtoReflect() protoreflect.Message
- func (x *AppleDnsResolverConfig) Reset()
- func (x *AppleDnsResolverConfig) String() string
- func (m *AppleDnsResolverConfig) Validate() error
- func (m *AppleDnsResolverConfig) ValidateAll() error
- type AppleDnsResolverConfigMultiError
- type AppleDnsResolverConfigValidationError
- func (e AppleDnsResolverConfigValidationError) Cause() error
- func (e AppleDnsResolverConfigValidationError) Error() string
- func (e AppleDnsResolverConfigValidationError) ErrorName() string
- func (e AppleDnsResolverConfigValidationError) Field() string
- func (e AppleDnsResolverConfigValidationError) Key() bool
- func (e AppleDnsResolverConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_network_dns_resolver_apple_v3_apple_dns_resolver_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AppleDnsResolverConfig ¶
type AppleDnsResolverConfig struct { // The resolver will avoid the system's heuristics to only return // IPv4 or IPv6 addresses that it considers to be "routable", instead // returning all possible IPv4 or IPv6 addresses. This setting is // ignored if the DNS lookup family is set to v4-only or v6-only. // This should remain false in the vast majority of cases, but may be // useful when performing custom filtering of addresses, such as with // Happy Eyeballs. IncludeUnroutableFamilies bool `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration for apple DNS resolver.
func (*AppleDnsResolverConfig) Descriptor
deprecated
func (*AppleDnsResolverConfig) Descriptor() ([]byte, []int)
Deprecated: Use AppleDnsResolverConfig.ProtoReflect.Descriptor instead.
func (*AppleDnsResolverConfig) GetIncludeUnroutableFamilies ¶ added in v3.2.0
func (x *AppleDnsResolverConfig) GetIncludeUnroutableFamilies() bool
func (*AppleDnsResolverConfig) ProtoMessage ¶
func (*AppleDnsResolverConfig) ProtoMessage()
func (*AppleDnsResolverConfig) ProtoReflect ¶
func (x *AppleDnsResolverConfig) ProtoReflect() protoreflect.Message
func (*AppleDnsResolverConfig) Reset ¶
func (x *AppleDnsResolverConfig) Reset()
func (*AppleDnsResolverConfig) String ¶
func (x *AppleDnsResolverConfig) String() string
func (*AppleDnsResolverConfig) Validate ¶
func (m *AppleDnsResolverConfig) Validate() error
Validate checks the field values on AppleDnsResolverConfig 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 (*AppleDnsResolverConfig) ValidateAll ¶
func (m *AppleDnsResolverConfig) ValidateAll() error
ValidateAll checks the field values on AppleDnsResolverConfig 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 AppleDnsResolverConfigMultiError, or nil if none found.
type AppleDnsResolverConfigMultiError ¶
type AppleDnsResolverConfigMultiError []error
AppleDnsResolverConfigMultiError is an error wrapping multiple validation errors returned by AppleDnsResolverConfig.ValidateAll() if the designated constraints aren't met.
func (AppleDnsResolverConfigMultiError) AllErrors ¶
func (m AppleDnsResolverConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AppleDnsResolverConfigMultiError) Error ¶
func (m AppleDnsResolverConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AppleDnsResolverConfigValidationError ¶
type AppleDnsResolverConfigValidationError struct {
// contains filtered or unexported fields
}
AppleDnsResolverConfigValidationError is the validation error returned by AppleDnsResolverConfig.Validate if the designated constraints aren't met.
func (AppleDnsResolverConfigValidationError) Cause ¶
func (e AppleDnsResolverConfigValidationError) Cause() error
Cause function returns cause value.
func (AppleDnsResolverConfigValidationError) Error ¶
func (e AppleDnsResolverConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AppleDnsResolverConfigValidationError) ErrorName ¶
func (e AppleDnsResolverConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AppleDnsResolverConfigValidationError) Field ¶
func (e AppleDnsResolverConfigValidationError) Field() string
Field function returns field value.
func (AppleDnsResolverConfigValidationError) Key ¶
func (e AppleDnsResolverConfigValidationError) Key() bool
Key function returns key value.
func (AppleDnsResolverConfigValidationError) Reason ¶
func (e AppleDnsResolverConfigValidationError) Reason() string
Reason function returns reason value.