Documentation ¶
Index ¶
- Variables
- type RedisClusterConfig
- func (*RedisClusterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RedisClusterConfig) GetClusterRefreshRate() *duration.Duration
- func (x *RedisClusterConfig) GetClusterRefreshTimeout() *duration.Duration
- func (x *RedisClusterConfig) GetFailureRefreshThreshold() uint32
- func (x *RedisClusterConfig) GetHostDegradedRefreshThreshold() uint32
- func (x *RedisClusterConfig) GetRedirectRefreshInterval() *duration.Duration
- func (x *RedisClusterConfig) GetRedirectRefreshThreshold() *wrappers.UInt32Value
- func (*RedisClusterConfig) ProtoMessage()
- func (x *RedisClusterConfig) ProtoReflect() protoreflect.Message
- func (x *RedisClusterConfig) Reset()
- func (x *RedisClusterConfig) String() string
- func (m *RedisClusterConfig) Validate() 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 ¶
View Source
var File_envoy_config_cluster_redis_redis_cluster_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type RedisClusterConfig ¶
type RedisClusterConfig struct { ClusterRefreshRate *duration.Duration `protobuf:"bytes,1,opt,name=cluster_refresh_rate,json=clusterRefreshRate,proto3" json:"cluster_refresh_rate,omitempty"` ClusterRefreshTimeout *duration.Duration `` /* 126-byte string literal not displayed */ RedirectRefreshInterval *duration.Duration `` /* 132-byte string literal not displayed */ RedirectRefreshThreshold *wrappers.UInt32Value `` /* 135-byte string literal not displayed */ FailureRefreshThreshold uint32 `` /* 133-byte string literal not displayed */ HostDegradedRefreshThreshold uint32 `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RedisClusterConfig) Descriptor
deprecated
func (*RedisClusterConfig) Descriptor() ([]byte, []int)
Deprecated: Use RedisClusterConfig.ProtoReflect.Descriptor instead.
func (*RedisClusterConfig) GetClusterRefreshRate ¶
func (x *RedisClusterConfig) GetClusterRefreshRate() *duration.Duration
func (*RedisClusterConfig) GetClusterRefreshTimeout ¶
func (x *RedisClusterConfig) GetClusterRefreshTimeout() *duration.Duration
func (*RedisClusterConfig) GetFailureRefreshThreshold ¶
func (x *RedisClusterConfig) GetFailureRefreshThreshold() uint32
func (*RedisClusterConfig) GetHostDegradedRefreshThreshold ¶
func (x *RedisClusterConfig) GetHostDegradedRefreshThreshold() uint32
func (*RedisClusterConfig) GetRedirectRefreshInterval ¶
func (x *RedisClusterConfig) GetRedirectRefreshInterval() *duration.Duration
func (*RedisClusterConfig) GetRedirectRefreshThreshold ¶
func (x *RedisClusterConfig) GetRedirectRefreshThreshold() *wrappers.UInt32Value
func (*RedisClusterConfig) ProtoMessage ¶
func (*RedisClusterConfig) ProtoMessage()
func (*RedisClusterConfig) ProtoReflect ¶ added in v0.9.7
func (x *RedisClusterConfig) ProtoReflect() protoreflect.Message
func (*RedisClusterConfig) Reset ¶
func (x *RedisClusterConfig) Reset()
func (*RedisClusterConfig) String ¶
func (x *RedisClusterConfig) String() string
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.
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.