Documentation ¶
Index ¶
- Variables
- type KeyValueStoreConfig
- func (*KeyValueStoreConfig) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValueStoreConfig) GetConfig() *v3.TypedExtensionConfig
- func (*KeyValueStoreConfig) ProtoMessage()
- func (x *KeyValueStoreConfig) ProtoReflect() protoreflect.Message
- func (x *KeyValueStoreConfig) Reset()
- func (x *KeyValueStoreConfig) String() string
- func (m *KeyValueStoreConfig) Validate() error
- func (m *KeyValueStoreConfig) ValidateAll() error
- type KeyValueStoreConfigMultiError
- type KeyValueStoreConfigValidationError
- func (e KeyValueStoreConfigValidationError) Cause() error
- func (e KeyValueStoreConfigValidationError) Error() string
- func (e KeyValueStoreConfigValidationError) ErrorName() string
- func (e KeyValueStoreConfigValidationError) Field() string
- func (e KeyValueStoreConfigValidationError) Key() bool
- func (e KeyValueStoreConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_config_common_key_value_v3_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type KeyValueStoreConfig ¶
type KeyValueStoreConfig struct { // [#extension-category: envoy.common.key_value] Config *v3.TypedExtensionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
This shared configuration for Envoy key value stores.
func (*KeyValueStoreConfig) Descriptor
deprecated
func (*KeyValueStoreConfig) Descriptor() ([]byte, []int)
Deprecated: Use KeyValueStoreConfig.ProtoReflect.Descriptor instead.
func (*KeyValueStoreConfig) GetConfig ¶
func (x *KeyValueStoreConfig) GetConfig() *v3.TypedExtensionConfig
func (*KeyValueStoreConfig) ProtoMessage ¶
func (*KeyValueStoreConfig) ProtoMessage()
func (*KeyValueStoreConfig) ProtoReflect ¶
func (x *KeyValueStoreConfig) ProtoReflect() protoreflect.Message
func (*KeyValueStoreConfig) Reset ¶
func (x *KeyValueStoreConfig) Reset()
func (*KeyValueStoreConfig) String ¶
func (x *KeyValueStoreConfig) String() string
func (*KeyValueStoreConfig) Validate ¶
func (m *KeyValueStoreConfig) Validate() error
Validate checks the field values on KeyValueStoreConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*KeyValueStoreConfig) ValidateAll ¶
func (m *KeyValueStoreConfig) ValidateAll() error
ValidateAll checks the field values on KeyValueStoreConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KeyValueStoreConfigMultiError, or nil if none found.
type KeyValueStoreConfigMultiError ¶
type KeyValueStoreConfigMultiError []error
KeyValueStoreConfigMultiError is an error wrapping multiple validation errors returned by KeyValueStoreConfig.ValidateAll() if the designated constraints aren't met.
func (KeyValueStoreConfigMultiError) AllErrors ¶
func (m KeyValueStoreConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KeyValueStoreConfigMultiError) Error ¶
func (m KeyValueStoreConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KeyValueStoreConfigValidationError ¶
type KeyValueStoreConfigValidationError struct {
// contains filtered or unexported fields
}
KeyValueStoreConfigValidationError is the validation error returned by KeyValueStoreConfig.Validate if the designated constraints aren't met.
func (KeyValueStoreConfigValidationError) Cause ¶
func (e KeyValueStoreConfigValidationError) Cause() error
Cause function returns cause value.
func (KeyValueStoreConfigValidationError) Error ¶
func (e KeyValueStoreConfigValidationError) Error() string
Error satisfies the builtin error interface
func (KeyValueStoreConfigValidationError) ErrorName ¶
func (e KeyValueStoreConfigValidationError) ErrorName() string
ErrorName returns error name.
func (KeyValueStoreConfigValidationError) Field ¶
func (e KeyValueStoreConfigValidationError) Field() string
Field function returns field value.
func (KeyValueStoreConfigValidationError) Key ¶
func (e KeyValueStoreConfigValidationError) Key() bool
Key function returns key value.
func (KeyValueStoreConfigValidationError) Reason ¶
func (e KeyValueStoreConfigValidationError) Reason() string
Reason function returns reason value.