package envoy_config_health_checker_redis_v2

import "github.com/envoyproxy/go-control-plane/envoy/config/health_checker/redis/v2"

Index

Types

type Redis

type Redis struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Redis) Descriptor

func (*Redis) Descriptor() ([]byte, []int)

func (*Redis) GetKey

func (m *Redis) GetKey() string

func (*Redis) ProtoMessage

func (*Redis) ProtoMessage()

func (*Redis) Reset

func (m *Redis) Reset()

func (*Redis) String

func (m *Redis) String() string

func (*Redis) Validate

func (m *Redis) Validate() error

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.

func (*Redis) XXX_DiscardUnknown

func (m *Redis) XXX_DiscardUnknown()

func (*Redis) XXX_Marshal

func (m *Redis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Redis) XXX_Merge

func (m *Redis) XXX_Merge(src proto.Message)

func (*Redis) XXX_Size

func (m *Redis) XXX_Size() int

func (*Redis) XXX_Unmarshal

func (m *Redis) XXX_Unmarshal(b []byte) error

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.1
Published
Nov 9, 2019
Platform
darwin/amd64
Imports
13 packages
Last checked
56 minutes ago

Tools for package owners.