envoy_extensions_clusters_redis_v3

package
v1.6.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthRedisCluster        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRedisCluster          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRedisCluster = fmt.Errorf("proto: unexpected end of group")
)

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

Cause function returns cause value.

func (RedisClusterConfigValidationError) Error

Error satisfies the builtin error interface

func (RedisClusterConfigValidationError) ErrorName

ErrorName returns error name.

func (RedisClusterConfigValidationError) Field

Field function returns field value.

func (RedisClusterConfigValidationError) Key

Key function returns key value.

func (RedisClusterConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL