Documentation ¶
Index ¶
- Variables
- type RedisClusterConfig
- func (x *RedisClusterConfig) ClearClusterRefreshRate()
- func (x *RedisClusterConfig) ClearClusterRefreshTimeout()
- func (x *RedisClusterConfig) ClearRedirectRefreshInterval()
- func (x *RedisClusterConfig) ClearRedirectRefreshThreshold()
- func (x *RedisClusterConfig) GetClusterRefreshRate() *durationpb.Duration
- func (x *RedisClusterConfig) GetClusterRefreshTimeout() *durationpb.Duration
- func (x *RedisClusterConfig) GetFailureRefreshThreshold() uint32
- func (x *RedisClusterConfig) GetHostDegradedRefreshThreshold() uint32
- func (x *RedisClusterConfig) GetRedirectRefreshInterval() *durationpb.Duration
- func (x *RedisClusterConfig) GetRedirectRefreshThreshold() *wrapperspb.UInt32Value
- func (x *RedisClusterConfig) HasClusterRefreshRate() bool
- func (x *RedisClusterConfig) HasClusterRefreshTimeout() bool
- func (x *RedisClusterConfig) HasRedirectRefreshInterval() bool
- func (x *RedisClusterConfig) HasRedirectRefreshThreshold() bool
- func (*RedisClusterConfig) ProtoMessage()
- func (x *RedisClusterConfig) ProtoReflect() protoreflect.Message
- func (x *RedisClusterConfig) Reset()
- func (x *RedisClusterConfig) SetClusterRefreshRate(v *durationpb.Duration)
- func (x *RedisClusterConfig) SetClusterRefreshTimeout(v *durationpb.Duration)
- func (x *RedisClusterConfig) SetFailureRefreshThreshold(v uint32)
- func (x *RedisClusterConfig) SetHostDegradedRefreshThreshold(v uint32)
- func (x *RedisClusterConfig) SetRedirectRefreshInterval(v *durationpb.Duration)
- func (x *RedisClusterConfig) SetRedirectRefreshThreshold(v *wrapperspb.UInt32Value)
- func (x *RedisClusterConfig) String() string
- type RedisClusterConfig_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_envoy_config_cluster_redis_redis_cluster_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type RedisClusterConfig ¶
type RedisClusterConfig struct { // Interval between successive topology refresh requests. If not set, this defaults to 5s. ClusterRefreshRate *durationpb.Duration `protobuf:"bytes,1,opt,name=cluster_refresh_rate,json=clusterRefreshRate,proto3" json:"cluster_refresh_rate,omitempty"` // Timeout for topology refresh request. If not set, this defaults to 3s. ClusterRefreshTimeout *durationpb.Duration `` /* 126-byte string literal not displayed */ // The minimum interval that must pass after triggering a topology refresh request before a new // request can possibly be triggered again. Any errors received during one of these // time intervals are ignored. If not set, this defaults to 5s. RedirectRefreshInterval *durationpb.Duration `` /* 132-byte string literal not displayed */ // The number of redirection errors that must be received before // triggering a topology refresh request. If not set, this defaults to 5. // If this is set to 0, topology refresh after redirect is disabled. RedirectRefreshThreshold *wrapperspb.UInt32Value `` /* 135-byte string literal not displayed */ // The number of failures that must be received before triggering a topology refresh request. // If not set, this defaults to 0, which disables the topology refresh due to failure. FailureRefreshThreshold uint32 `` /* 133-byte string literal not displayed */ // The number of hosts became degraded or unhealthy before triggering a topology refresh request. // If not set, this defaults to 0, which disables the topology refresh due to degraded or // unhealthy host. HostDegradedRefreshThreshold uint32 `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
[#next-free-field: 7]
func (*RedisClusterConfig) ClearClusterRefreshRate ¶
func (x *RedisClusterConfig) ClearClusterRefreshRate()
func (*RedisClusterConfig) ClearClusterRefreshTimeout ¶
func (x *RedisClusterConfig) ClearClusterRefreshTimeout()
func (*RedisClusterConfig) ClearRedirectRefreshInterval ¶
func (x *RedisClusterConfig) ClearRedirectRefreshInterval()
func (*RedisClusterConfig) ClearRedirectRefreshThreshold ¶
func (x *RedisClusterConfig) ClearRedirectRefreshThreshold()
func (*RedisClusterConfig) GetClusterRefreshRate ¶
func (x *RedisClusterConfig) GetClusterRefreshRate() *durationpb.Duration
func (*RedisClusterConfig) GetClusterRefreshTimeout ¶
func (x *RedisClusterConfig) GetClusterRefreshTimeout() *durationpb.Duration
func (*RedisClusterConfig) GetFailureRefreshThreshold ¶
func (x *RedisClusterConfig) GetFailureRefreshThreshold() uint32
func (*RedisClusterConfig) GetHostDegradedRefreshThreshold ¶
func (x *RedisClusterConfig) GetHostDegradedRefreshThreshold() uint32
func (*RedisClusterConfig) GetRedirectRefreshInterval ¶
func (x *RedisClusterConfig) GetRedirectRefreshInterval() *durationpb.Duration
func (*RedisClusterConfig) GetRedirectRefreshThreshold ¶
func (x *RedisClusterConfig) GetRedirectRefreshThreshold() *wrapperspb.UInt32Value
func (*RedisClusterConfig) HasClusterRefreshRate ¶
func (x *RedisClusterConfig) HasClusterRefreshRate() bool
func (*RedisClusterConfig) HasClusterRefreshTimeout ¶
func (x *RedisClusterConfig) HasClusterRefreshTimeout() bool
func (*RedisClusterConfig) HasRedirectRefreshInterval ¶
func (x *RedisClusterConfig) HasRedirectRefreshInterval() bool
func (*RedisClusterConfig) HasRedirectRefreshThreshold ¶
func (x *RedisClusterConfig) HasRedirectRefreshThreshold() bool
func (*RedisClusterConfig) ProtoMessage ¶
func (*RedisClusterConfig) ProtoMessage()
func (*RedisClusterConfig) ProtoReflect ¶
func (x *RedisClusterConfig) ProtoReflect() protoreflect.Message
func (*RedisClusterConfig) Reset ¶
func (x *RedisClusterConfig) Reset()
func (*RedisClusterConfig) SetClusterRefreshRate ¶
func (x *RedisClusterConfig) SetClusterRefreshRate(v *durationpb.Duration)
func (*RedisClusterConfig) SetClusterRefreshTimeout ¶
func (x *RedisClusterConfig) SetClusterRefreshTimeout(v *durationpb.Duration)
func (*RedisClusterConfig) SetFailureRefreshThreshold ¶
func (x *RedisClusterConfig) SetFailureRefreshThreshold(v uint32)
func (*RedisClusterConfig) SetHostDegradedRefreshThreshold ¶
func (x *RedisClusterConfig) SetHostDegradedRefreshThreshold(v uint32)
func (*RedisClusterConfig) SetRedirectRefreshInterval ¶
func (x *RedisClusterConfig) SetRedirectRefreshInterval(v *durationpb.Duration)
func (*RedisClusterConfig) SetRedirectRefreshThreshold ¶
func (x *RedisClusterConfig) SetRedirectRefreshThreshold(v *wrapperspb.UInt32Value)
func (*RedisClusterConfig) String ¶
func (x *RedisClusterConfig) String() string
type RedisClusterConfig_builder ¶
type RedisClusterConfig_builder struct { // Interval between successive topology refresh requests. If not set, this defaults to 5s. ClusterRefreshRate *durationpb.Duration // Timeout for topology refresh request. If not set, this defaults to 3s. ClusterRefreshTimeout *durationpb.Duration // The minimum interval that must pass after triggering a topology refresh request before a new // request can possibly be triggered again. Any errors received during one of these // time intervals are ignored. If not set, this defaults to 5s. RedirectRefreshInterval *durationpb.Duration // The number of redirection errors that must be received before // triggering a topology refresh request. If not set, this defaults to 5. // If this is set to 0, topology refresh after redirect is disabled. RedirectRefreshThreshold *wrapperspb.UInt32Value // The number of failures that must be received before triggering a topology refresh request. // If not set, this defaults to 0, which disables the topology refresh due to failure. FailureRefreshThreshold uint32 // The number of hosts became degraded or unhealthy before triggering a topology refresh request. // If not set, this defaults to 0, which disables the topology refresh due to degraded or // unhealthy host. HostDegradedRefreshThreshold uint32 // contains filtered or unexported fields }
func (RedisClusterConfig_builder) Build ¶
func (b0 RedisClusterConfig_builder) Build() *RedisClusterConfig
Click to show internal directories.
Click to hide internal directories.