Documentation ¶
Index ¶
- Variables
- type GetAddrInfoDnsResolverConfig
- func (*GetAddrInfoDnsResolverConfig) Descriptor() ([]byte, []int)deprecated
- func (x *GetAddrInfoDnsResolverConfig) GetNumRetries() *wrapperspb.UInt32Value
- func (*GetAddrInfoDnsResolverConfig) ProtoMessage()
- func (x *GetAddrInfoDnsResolverConfig) ProtoReflect() protoreflect.Message
- func (x *GetAddrInfoDnsResolverConfig) Reset()
- func (x *GetAddrInfoDnsResolverConfig) String() string
- func (m *GetAddrInfoDnsResolverConfig) Validate() error
- func (m *GetAddrInfoDnsResolverConfig) ValidateAll() error
- type GetAddrInfoDnsResolverConfigMultiError
- type GetAddrInfoDnsResolverConfigValidationError
- func (e GetAddrInfoDnsResolverConfigValidationError) Cause() error
- func (e GetAddrInfoDnsResolverConfigValidationError) Error() string
- func (e GetAddrInfoDnsResolverConfigValidationError) ErrorName() string
- func (e GetAddrInfoDnsResolverConfigValidationError) Field() string
- func (e GetAddrInfoDnsResolverConfigValidationError) Key() bool
- func (e GetAddrInfoDnsResolverConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_network_dns_resolver_getaddrinfo_v3_getaddrinfo_dns_resolver_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GetAddrInfoDnsResolverConfig ¶
type GetAddrInfoDnsResolverConfig struct { // Specifies the number of retries before the resolver gives up. If not specified, the resolver will // retry indefinitely until it succeeds or the DNS query times out. NumRetries *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=num_retries,json=numRetries,proto3" json:"num_retries,omitempty"` // contains filtered or unexported fields }
Configuration for getaddrinfo DNS resolver. This resolver will use the system's getaddrinfo() function to resolve hosts.
.. attention::
This resolver uses a single background thread to do resolutions. As such, it is not currently advised for use in situations requiring a high resolution rate. A thread pool can be added in the future if needed.
.. attention::
Resolutions currently use a hard coded TTL of 60s because the getaddrinfo() API does not provide the actual TTL. Configuration for this can be added in the future if needed.
func (*GetAddrInfoDnsResolverConfig) Descriptor
deprecated
func (*GetAddrInfoDnsResolverConfig) Descriptor() ([]byte, []int)
Deprecated: Use GetAddrInfoDnsResolverConfig.ProtoReflect.Descriptor instead.
func (*GetAddrInfoDnsResolverConfig) GetNumRetries ¶
func (x *GetAddrInfoDnsResolverConfig) GetNumRetries() *wrapperspb.UInt32Value
func (*GetAddrInfoDnsResolverConfig) ProtoMessage ¶
func (*GetAddrInfoDnsResolverConfig) ProtoMessage()
func (*GetAddrInfoDnsResolverConfig) ProtoReflect ¶
func (x *GetAddrInfoDnsResolverConfig) ProtoReflect() protoreflect.Message
func (*GetAddrInfoDnsResolverConfig) Reset ¶
func (x *GetAddrInfoDnsResolverConfig) Reset()
func (*GetAddrInfoDnsResolverConfig) String ¶
func (x *GetAddrInfoDnsResolverConfig) String() string
func (*GetAddrInfoDnsResolverConfig) Validate ¶
func (m *GetAddrInfoDnsResolverConfig) Validate() error
Validate checks the field values on GetAddrInfoDnsResolverConfig 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 (*GetAddrInfoDnsResolverConfig) ValidateAll ¶
func (m *GetAddrInfoDnsResolverConfig) ValidateAll() error
ValidateAll checks the field values on GetAddrInfoDnsResolverConfig 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 GetAddrInfoDnsResolverConfigMultiError, or nil if none found.
type GetAddrInfoDnsResolverConfigMultiError ¶
type GetAddrInfoDnsResolverConfigMultiError []error
GetAddrInfoDnsResolverConfigMultiError is an error wrapping multiple validation errors returned by GetAddrInfoDnsResolverConfig.ValidateAll() if the designated constraints aren't met.
func (GetAddrInfoDnsResolverConfigMultiError) AllErrors ¶
func (m GetAddrInfoDnsResolverConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAddrInfoDnsResolverConfigMultiError) Error ¶
func (m GetAddrInfoDnsResolverConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAddrInfoDnsResolverConfigValidationError ¶
type GetAddrInfoDnsResolverConfigValidationError struct {
// contains filtered or unexported fields
}
GetAddrInfoDnsResolverConfigValidationError is the validation error returned by GetAddrInfoDnsResolverConfig.Validate if the designated constraints aren't met.
func (GetAddrInfoDnsResolverConfigValidationError) Cause ¶
func (e GetAddrInfoDnsResolverConfigValidationError) Cause() error
Cause function returns cause value.
func (GetAddrInfoDnsResolverConfigValidationError) Error ¶
func (e GetAddrInfoDnsResolverConfigValidationError) Error() string
Error satisfies the builtin error interface
func (GetAddrInfoDnsResolverConfigValidationError) ErrorName ¶
func (e GetAddrInfoDnsResolverConfigValidationError) ErrorName() string
ErrorName returns error name.
func (GetAddrInfoDnsResolverConfigValidationError) Field ¶
func (e GetAddrInfoDnsResolverConfigValidationError) Field() string
Field function returns field value.
func (GetAddrInfoDnsResolverConfigValidationError) Key ¶
func (e GetAddrInfoDnsResolverConfigValidationError) Key() bool
Key function returns key value.
func (GetAddrInfoDnsResolverConfigValidationError) Reason ¶
func (e GetAddrInfoDnsResolverConfigValidationError) Reason() string
Reason function returns reason value.