envoy_config_common_dynamic_forward_proxy_v2alpha

package
v1.13.2-rc.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DnsCacheConfig

type DnsCacheConfig struct {
	Name                  string                     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DnsLookupFamily       v2.Cluster_DnsLookupFamily `` /* 151-byte string literal not displayed */
	DnsRefreshRate        *duration.Duration         `protobuf:"bytes,3,opt,name=dns_refresh_rate,json=dnsRefreshRate,proto3" json:"dns_refresh_rate,omitempty"`
	HostTtl               *duration.Duration         `protobuf:"bytes,4,opt,name=host_ttl,json=hostTtl,proto3" json:"host_ttl,omitempty"`
	MaxHosts              *wrappers.UInt32Value      `protobuf:"bytes,5,opt,name=max_hosts,json=maxHosts,proto3" json:"max_hosts,omitempty"`
	DnsFailureRefreshRate *v2.Cluster_RefreshRate    `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DnsCacheConfig) Descriptor deprecated

func (*DnsCacheConfig) Descriptor() ([]byte, []int)

Deprecated: Use DnsCacheConfig.ProtoReflect.Descriptor instead.

func (*DnsCacheConfig) GetDnsFailureRefreshRate added in v1.5.0

func (x *DnsCacheConfig) GetDnsFailureRefreshRate() *v2.Cluster_RefreshRate

func (*DnsCacheConfig) GetDnsLookupFamily

func (x *DnsCacheConfig) GetDnsLookupFamily() v2.Cluster_DnsLookupFamily

func (*DnsCacheConfig) GetDnsRefreshRate

func (x *DnsCacheConfig) GetDnsRefreshRate() *duration.Duration

func (*DnsCacheConfig) GetHostTtl

func (x *DnsCacheConfig) GetHostTtl() *duration.Duration

func (*DnsCacheConfig) GetMaxHosts

func (x *DnsCacheConfig) GetMaxHosts() *wrappers.UInt32Value

func (*DnsCacheConfig) GetName

func (x *DnsCacheConfig) GetName() string

func (*DnsCacheConfig) ProtoMessage

func (*DnsCacheConfig) ProtoMessage()

func (*DnsCacheConfig) ProtoReflect added in v1.7.0

func (x *DnsCacheConfig) ProtoReflect() protoreflect.Message

func (*DnsCacheConfig) Reset

func (x *DnsCacheConfig) Reset()

func (*DnsCacheConfig) String

func (x *DnsCacheConfig) String() string

func (*DnsCacheConfig) Validate

func (m *DnsCacheConfig) Validate() error

Validate checks the field values on DnsCacheConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DnsCacheConfigValidationError

type DnsCacheConfigValidationError struct {
	// contains filtered or unexported fields
}

DnsCacheConfigValidationError is the validation error returned by DnsCacheConfig.Validate if the designated constraints aren't met.

func (DnsCacheConfigValidationError) Cause

Cause function returns cause value.

func (DnsCacheConfigValidationError) Error

Error satisfies the builtin error interface

func (DnsCacheConfigValidationError) ErrorName

func (e DnsCacheConfigValidationError) ErrorName() string

ErrorName returns error name.

func (DnsCacheConfigValidationError) Field

Field function returns field value.

func (DnsCacheConfigValidationError) Key

Key function returns key value.

func (DnsCacheConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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