Documentation ¶
Index ¶
- type DnsCacheConfig
- func (*DnsCacheConfig) Descriptor() ([]byte, []int)
- func (m *DnsCacheConfig) GetDnsFailureRefreshRate() *v3.Cluster_RefreshRate
- func (m *DnsCacheConfig) GetDnsLookupFamily() v3.Cluster_DnsLookupFamily
- func (m *DnsCacheConfig) GetDnsRefreshRate() *duration.Duration
- func (m *DnsCacheConfig) GetHostTtl() *duration.Duration
- func (m *DnsCacheConfig) GetMaxHosts() *wrappers.UInt32Value
- func (m *DnsCacheConfig) GetName() string
- func (*DnsCacheConfig) ProtoMessage()
- func (m *DnsCacheConfig) Reset()
- func (m *DnsCacheConfig) String() string
- func (m *DnsCacheConfig) Validate() error
- func (m *DnsCacheConfig) XXX_DiscardUnknown()
- func (m *DnsCacheConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DnsCacheConfig) XXX_Merge(src proto.Message)
- func (m *DnsCacheConfig) XXX_Size() int
- func (m *DnsCacheConfig) XXX_Unmarshal(b []byte) 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 ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DnsCacheConfig ¶
type DnsCacheConfig struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` DnsLookupFamily v3.Cluster_DnsLookupFamily `` /* 162-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 *v3.Cluster_RefreshRate `` /* 128-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DnsCacheConfig) Descriptor ¶
func (*DnsCacheConfig) Descriptor() ([]byte, []int)
func (*DnsCacheConfig) GetDnsFailureRefreshRate ¶ added in v0.9.5
func (m *DnsCacheConfig) GetDnsFailureRefreshRate() *v3.Cluster_RefreshRate
func (*DnsCacheConfig) GetDnsLookupFamily ¶
func (m *DnsCacheConfig) GetDnsLookupFamily() v3.Cluster_DnsLookupFamily
func (*DnsCacheConfig) GetDnsRefreshRate ¶
func (m *DnsCacheConfig) GetDnsRefreshRate() *duration.Duration
func (*DnsCacheConfig) GetHostTtl ¶
func (m *DnsCacheConfig) GetHostTtl() *duration.Duration
func (*DnsCacheConfig) GetMaxHosts ¶
func (m *DnsCacheConfig) GetMaxHosts() *wrappers.UInt32Value
func (*DnsCacheConfig) GetName ¶
func (m *DnsCacheConfig) GetName() string
func (*DnsCacheConfig) ProtoMessage ¶
func (*DnsCacheConfig) ProtoMessage()
func (*DnsCacheConfig) Reset ¶
func (m *DnsCacheConfig) Reset()
func (*DnsCacheConfig) String ¶
func (m *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.
func (*DnsCacheConfig) XXX_DiscardUnknown ¶
func (m *DnsCacheConfig) XXX_DiscardUnknown()
func (*DnsCacheConfig) XXX_Marshal ¶
func (m *DnsCacheConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DnsCacheConfig) XXX_Merge ¶
func (m *DnsCacheConfig) XXX_Merge(src proto.Message)
func (*DnsCacheConfig) XXX_Size ¶
func (m *DnsCacheConfig) XXX_Size() int
func (*DnsCacheConfig) XXX_Unmarshal ¶
func (m *DnsCacheConfig) XXX_Unmarshal(b []byte) error
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.