Documentation ¶
Index ¶
- Variables
- type DnsCacheConfig
- func (*DnsCacheConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DnsCacheConfig) GetDnsFailureRefreshRate() *v2.Cluster_RefreshRate
- func (x *DnsCacheConfig) GetDnsLookupFamily() v2.Cluster_DnsLookupFamily
- func (x *DnsCacheConfig) GetDnsRefreshRate() *duration.Duration
- func (x *DnsCacheConfig) GetHostTtl() *duration.Duration
- func (x *DnsCacheConfig) GetMaxHosts() *wrappers.UInt32Value
- func (x *DnsCacheConfig) GetName() string
- func (*DnsCacheConfig) ProtoMessage()
- func (x *DnsCacheConfig) ProtoReflect() protoreflect.Message
- func (x *DnsCacheConfig) Reset()
- func (x *DnsCacheConfig) String() string
- func (m *DnsCacheConfig) Validate() error
- type DnsCacheConfigValidationError
- func (e DnsCacheConfigValidationError) Cause() error
- func (e DnsCacheConfigValidationError) Error() string
- func (e DnsCacheConfigValidationError) ErrorName() string
- func (e DnsCacheConfigValidationError) Field() string
- func (e DnsCacheConfigValidationError) Key() bool
- func (e DnsCacheConfigValidationError) Reason() string
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 ¶
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 ¶
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 ¶
func (e DnsCacheConfigValidationError) Cause() error
Cause function returns cause value.
func (DnsCacheConfigValidationError) Error ¶
func (e DnsCacheConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DnsCacheConfigValidationError) ErrorName ¶
func (e DnsCacheConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DnsCacheConfigValidationError) Field ¶
func (e DnsCacheConfigValidationError) Field() string
Field function returns field value.
func (DnsCacheConfigValidationError) Key ¶
func (e DnsCacheConfigValidationError) Key() bool
Key function returns key value.
func (DnsCacheConfigValidationError) Reason ¶
func (e DnsCacheConfigValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.