package envoy_config_health_checker_redis_v2
import "github.com/envoyproxy/go-control-plane/envoy/config/health_checker/redis/v2"
Index ¶
- Variables
- type Redis
- func (*Redis) Descriptor() ([]byte, []int)
- func (x *Redis) GetKey() string
- func (*Redis) ProtoMessage()
- func (x *Redis) ProtoReflect() protoreflect.Message
- func (x *Redis) Reset()
- func (x *Redis) String() string
- func (m *Redis) Validate() error
- type RedisValidationError
Variables ¶
var File_envoy_config_health_checker_redis_v2_redis_proto protoreflect.FileDescriptor
Types ¶
type Redis ¶
type Redis struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*Redis) Descriptor ¶
Deprecated: Use Redis.ProtoReflect.Descriptor instead.
func (*Redis) GetKey ¶
func (*Redis) ProtoMessage ¶
func (*Redis) ProtoMessage()
func (*Redis) ProtoReflect ¶
func (x *Redis) ProtoReflect() protoreflect.Message
func (*Redis) Reset ¶
func (x *Redis) Reset()
func (*Redis) String ¶
func (*Redis) Validate ¶
Validate checks the field values on Redis with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RedisValidationError ¶
type RedisValidationError struct {
// contains filtered or unexported fields
}
RedisValidationError is the validation error returned by Redis.Validate if the designated constraints aren't met.
func (RedisValidationError) Cause ¶
func (e RedisValidationError) Cause() error
Cause function returns cause value.
func (RedisValidationError) Error ¶
func (e RedisValidationError) Error() string
Error satisfies the builtin error interface
func (RedisValidationError) ErrorName ¶
func (e RedisValidationError) ErrorName() string
ErrorName returns error name.
func (RedisValidationError) Field ¶
func (e RedisValidationError) Field() string
Field function returns field value.
func (RedisValidationError) Key ¶
func (e RedisValidationError) Key() bool
Key function returns key value.
func (RedisValidationError) Reason ¶
func (e RedisValidationError) Reason() string
Reason function returns reason value.
Source Files ¶
redis.pb.go redis.pb.validate.go
- Version
- v0.9.6
- Published
- Jul 5, 2020
- Platform
- linux/amd64
- Imports
- 17 packages
- Last checked
- 51 minutes ago –
Tools for package owners.