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) 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 ¶
View Source
var ( ErrInvalidLengthRedisCluster = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRedisCluster = fmt.Errorf("proto: integer overflow") )
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 */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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) 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.