getaddrinfov3

package
v0.0.0-...-b7bc3d0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 {
	// 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) ProtoMessage

func (*GetAddrInfoDnsResolverConfig) ProtoMessage()

func (*GetAddrInfoDnsResolverConfig) ProtoReflect

func (*GetAddrInfoDnsResolverConfig) Reset

func (x *GetAddrInfoDnsResolverConfig) Reset()

func (*GetAddrInfoDnsResolverConfig) 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

AllErrors returns a list of validation violation errors.

func (GetAddrInfoDnsResolverConfigMultiError) Error

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

Cause function returns cause value.

func (GetAddrInfoDnsResolverConfigValidationError) Error

Error satisfies the builtin error interface

func (GetAddrInfoDnsResolverConfigValidationError) ErrorName

ErrorName returns error name.

func (GetAddrInfoDnsResolverConfigValidationError) Field

Field function returns field value.

func (GetAddrInfoDnsResolverConfigValidationError) Key

Key function returns key value.

func (GetAddrInfoDnsResolverConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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