Documentation ¶
Overview ¶
Package v2 is a generated protocol buffer package.
It is generated from these files:
envoy/config/health_checker/redis/v2/redis.proto
It has these top-level messages:
Redis
Index ¶
- Variables
- type Redis
- func (*Redis) Descriptor() ([]byte, []int)
- func (m *Redis) GetKey() string
- func (m *Redis) Marshal() (dAtA []byte, err error)
- func (m *Redis) MarshalTo(dAtA []byte) (int, error)
- func (*Redis) ProtoMessage()
- func (m *Redis) Reset()
- func (m *Redis) Size() (n int)
- func (m *Redis) String() string
- func (m *Redis) Unmarshal(dAtA []byte) error
- func (m *Redis) Validate() error
- type RedisValidationError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthRedis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRedis = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis struct { // If set, optionally perform “EXISTS <key>“ instead of “PING“. A return value // from Redis of 0 (does not exist) is considered a passing healthcheck. A return value other // than 0 is considered a failure. This allows the user to mark a Redis instance for maintenance // by setting the specified key to any value and waiting for traffic to drain. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` }
func (*Redis) Descriptor ¶
func (*Redis) ProtoMessage ¶
func (*Redis) ProtoMessage()
type RedisValidationError ¶
RedisValidationError is the validation error returned by Redis.Validate if the designated constraints aren't met.
func (RedisValidationError) Error ¶
func (e RedisValidationError) Error() string
Error satisfies the builtin error interface
Click to show internal directories.
Click to hide internal directories.