envoy_config_cluster_redis

package
v1.4.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 16 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")
)

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 redirection 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.
	RedirectRefreshThreshold *types.UInt32Value `` /* 135-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) GetRedirectRefreshInterval added in v0.86.0

func (m *RedisClusterConfig) GetRedirectRefreshInterval() *types.Duration

func (*RedisClusterConfig) GetRedirectRefreshThreshold added in v0.86.0

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