applev3

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

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

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

Cause function returns cause value.

func (AppleDnsResolverConfigValidationError) Error

Error satisfies the builtin error interface

func (AppleDnsResolverConfigValidationError) ErrorName

ErrorName returns error name.

func (AppleDnsResolverConfigValidationError) Field

Field function returns field value.

func (AppleDnsResolverConfigValidationError) Key

Key function returns key value.

func (AppleDnsResolverConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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