Documentation ¶
Index ¶
- Variables
- type RedisClusterConfig
- func (*RedisClusterConfig) Descriptor() ([]byte, []int)
- func (m *RedisClusterConfig) GetClusterRefreshRate() *types.Duration
- func (m *RedisClusterConfig) GetClusterRefreshTimeout() *types.Duration
- func (m *RedisClusterConfig) GetFailureRefreshThreshold() uint32
- func (m *RedisClusterConfig) GetHostDegradedRefreshThreshold() uint32
- func (m *RedisClusterConfig) GetRedirectRefreshInterval() *types.Duration
- func (m *RedisClusterConfig) GetRedirectRefreshThreshold() *types.UInt32Value
- func (m *RedisClusterConfig) Marshal() (dAtA []byte, err error)
- func (m *RedisClusterConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *RedisClusterConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RedisClusterConfig) ProtoMessage()
- func (m *RedisClusterConfig) Reset()
- func (m *RedisClusterConfig) Size() (n int)
- func (m *RedisClusterConfig) String() string
- func (m *RedisClusterConfig) Unmarshal(dAtA []byte) error
- func (m *RedisClusterConfig) Validate() error
- func (m *RedisClusterConfig) XXX_DiscardUnknown()
- func (m *RedisClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedisClusterConfig) XXX_Merge(src proto.Message)
- func (m *RedisClusterConfig) XXX_Size() int
- func (m *RedisClusterConfig) XXX_Unmarshal(b []byte) error
- type RedisClusterConfigValidationError
- func (e RedisClusterConfigValidationError) Cause() error
- func (e RedisClusterConfigValidationError) Error() string
- func (e RedisClusterConfigValidationError) ErrorName() string
- func (e RedisClusterConfigValidationError) Field() string
- func (e RedisClusterConfigValidationError) Key() bool
- func (e RedisClusterConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
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 *types.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 *types.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 *types.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 *types.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 */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#next-free-field: 7]
func (*RedisClusterConfig) Descriptor ¶
func (*RedisClusterConfig) Descriptor() ([]byte, []int)
func (*RedisClusterConfig) GetClusterRefreshRate ¶
func (m *RedisClusterConfig) GetClusterRefreshRate() *types.Duration
func (*RedisClusterConfig) GetClusterRefreshTimeout ¶
func (m *RedisClusterConfig) GetClusterRefreshTimeout() *types.Duration
func (*RedisClusterConfig) GetFailureRefreshThreshold ¶
func (m *RedisClusterConfig) GetFailureRefreshThreshold() uint32
func (*RedisClusterConfig) GetHostDegradedRefreshThreshold ¶
func (m *RedisClusterConfig) GetHostDegradedRefreshThreshold() uint32
func (*RedisClusterConfig) GetRedirectRefreshInterval ¶
func (m *RedisClusterConfig) GetRedirectRefreshInterval() *types.Duration
func (*RedisClusterConfig) GetRedirectRefreshThreshold ¶
func (m *RedisClusterConfig) GetRedirectRefreshThreshold() *types.UInt32Value
func (*RedisClusterConfig) Marshal ¶
func (m *RedisClusterConfig) Marshal() (dAtA []byte, err error)
func (*RedisClusterConfig) MarshalTo ¶
func (m *RedisClusterConfig) MarshalTo(dAtA []byte) (int, error)
func (*RedisClusterConfig) MarshalToSizedBuffer ¶
func (m *RedisClusterConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RedisClusterConfig) ProtoMessage ¶
func (*RedisClusterConfig) ProtoMessage()
func (*RedisClusterConfig) Reset ¶
func (m *RedisClusterConfig) Reset()
func (*RedisClusterConfig) Size ¶
func (m *RedisClusterConfig) Size() (n int)
func (*RedisClusterConfig) String ¶
func (m *RedisClusterConfig) String() string
func (*RedisClusterConfig) Unmarshal ¶
func (m *RedisClusterConfig) Unmarshal(dAtA []byte) error
func (*RedisClusterConfig) Validate ¶
func (m *RedisClusterConfig) Validate() error
Validate checks the field values on RedisClusterConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*RedisClusterConfig) XXX_DiscardUnknown ¶
func (m *RedisClusterConfig) XXX_DiscardUnknown()
func (*RedisClusterConfig) XXX_Marshal ¶
func (m *RedisClusterConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedisClusterConfig) XXX_Merge ¶
func (m *RedisClusterConfig) XXX_Merge(src proto.Message)
func (*RedisClusterConfig) XXX_Size ¶
func (m *RedisClusterConfig) XXX_Size() int
func (*RedisClusterConfig) XXX_Unmarshal ¶
func (m *RedisClusterConfig) XXX_Unmarshal(b []byte) error
type RedisClusterConfigValidationError ¶
type RedisClusterConfigValidationError struct {
// contains filtered or unexported fields
}
RedisClusterConfigValidationError is the validation error returned by RedisClusterConfig.Validate if the designated constraints aren't met.
func (RedisClusterConfigValidationError) Cause ¶
func (e RedisClusterConfigValidationError) Cause() error
Cause function returns cause value.
func (RedisClusterConfigValidationError) Error ¶
func (e RedisClusterConfigValidationError) Error() string
Error satisfies the builtin error interface
func (RedisClusterConfigValidationError) ErrorName ¶
func (e RedisClusterConfigValidationError) ErrorName() string
ErrorName returns error name.
func (RedisClusterConfigValidationError) Field ¶
func (e RedisClusterConfigValidationError) Field() string
Field function returns field value.
func (RedisClusterConfigValidationError) Key ¶
func (e RedisClusterConfigValidationError) Key() bool
Key function returns key value.
func (RedisClusterConfigValidationError) Reason ¶
func (e RedisClusterConfigValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.