Documentation ¶
Index ¶
- Variables
- type FileBasedKeyValueStoreConfig
- func (*FileBasedKeyValueStoreConfig) Descriptor() ([]byte, []int)deprecated
- func (x *FileBasedKeyValueStoreConfig) GetFilename() string
- func (x *FileBasedKeyValueStoreConfig) GetFlushInterval() *duration.Duration
- func (x *FileBasedKeyValueStoreConfig) GetMaxEntries() *wrappers.UInt32Value
- func (*FileBasedKeyValueStoreConfig) ProtoMessage()
- func (x *FileBasedKeyValueStoreConfig) ProtoReflect() protoreflect.Message
- func (x *FileBasedKeyValueStoreConfig) Reset()
- func (x *FileBasedKeyValueStoreConfig) String() string
- func (m *FileBasedKeyValueStoreConfig) Validate() error
- func (m *FileBasedKeyValueStoreConfig) ValidateAll() error
- type FileBasedKeyValueStoreConfigMultiError
- type FileBasedKeyValueStoreConfigValidationError
- func (e FileBasedKeyValueStoreConfigValidationError) Cause() error
- func (e FileBasedKeyValueStoreConfigValidationError) Error() string
- func (e FileBasedKeyValueStoreConfigValidationError) ErrorName() string
- func (e FileBasedKeyValueStoreConfigValidationError) Field() string
- func (e FileBasedKeyValueStoreConfigValidationError) Key() bool
- func (e FileBasedKeyValueStoreConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_key_value_file_based_v3_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FileBasedKeyValueStoreConfig ¶
type FileBasedKeyValueStoreConfig struct { // The filename to read the keys and values from, and write the keys and // values to. Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` // The interval at which the key value store should be flushed to the file. FlushInterval *duration.Duration `protobuf:"bytes,2,opt,name=flush_interval,json=flushInterval,proto3" json:"flush_interval,omitempty"` // The maximum number of entries to cache, or 0 to allow for unlimited entries. // Defaults to 1000 if not present. MaxEntries *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=max_entries,json=maxEntries,proto3" json:"max_entries,omitempty"` // contains filtered or unexported fields }
[#extension: envoy.key_value.file_based] This is configuration to flush a key value store out to disk.
func (*FileBasedKeyValueStoreConfig) Descriptor
deprecated
func (*FileBasedKeyValueStoreConfig) Descriptor() ([]byte, []int)
Deprecated: Use FileBasedKeyValueStoreConfig.ProtoReflect.Descriptor instead.
func (*FileBasedKeyValueStoreConfig) GetFilename ¶
func (x *FileBasedKeyValueStoreConfig) GetFilename() string
func (*FileBasedKeyValueStoreConfig) GetFlushInterval ¶
func (x *FileBasedKeyValueStoreConfig) GetFlushInterval() *duration.Duration
func (*FileBasedKeyValueStoreConfig) GetMaxEntries ¶ added in v0.10.2
func (x *FileBasedKeyValueStoreConfig) GetMaxEntries() *wrappers.UInt32Value
func (*FileBasedKeyValueStoreConfig) ProtoMessage ¶
func (*FileBasedKeyValueStoreConfig) ProtoMessage()
func (*FileBasedKeyValueStoreConfig) ProtoReflect ¶
func (x *FileBasedKeyValueStoreConfig) ProtoReflect() protoreflect.Message
func (*FileBasedKeyValueStoreConfig) Reset ¶
func (x *FileBasedKeyValueStoreConfig) Reset()
func (*FileBasedKeyValueStoreConfig) String ¶
func (x *FileBasedKeyValueStoreConfig) String() string
func (*FileBasedKeyValueStoreConfig) Validate ¶
func (m *FileBasedKeyValueStoreConfig) Validate() error
Validate checks the field values on FileBasedKeyValueStoreConfig 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 (*FileBasedKeyValueStoreConfig) ValidateAll ¶
func (m *FileBasedKeyValueStoreConfig) ValidateAll() error
ValidateAll checks the field values on FileBasedKeyValueStoreConfig 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 FileBasedKeyValueStoreConfigMultiError, or nil if none found.
type FileBasedKeyValueStoreConfigMultiError ¶
type FileBasedKeyValueStoreConfigMultiError []error
FileBasedKeyValueStoreConfigMultiError is an error wrapping multiple validation errors returned by FileBasedKeyValueStoreConfig.ValidateAll() if the designated constraints aren't met.
func (FileBasedKeyValueStoreConfigMultiError) AllErrors ¶
func (m FileBasedKeyValueStoreConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileBasedKeyValueStoreConfigMultiError) Error ¶
func (m FileBasedKeyValueStoreConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileBasedKeyValueStoreConfigValidationError ¶
type FileBasedKeyValueStoreConfigValidationError struct {
// contains filtered or unexported fields
}
FileBasedKeyValueStoreConfigValidationError is the validation error returned by FileBasedKeyValueStoreConfig.Validate if the designated constraints aren't met.
func (FileBasedKeyValueStoreConfigValidationError) Cause ¶
func (e FileBasedKeyValueStoreConfigValidationError) Cause() error
Cause function returns cause value.
func (FileBasedKeyValueStoreConfigValidationError) Error ¶
func (e FileBasedKeyValueStoreConfigValidationError) Error() string
Error satisfies the builtin error interface
func (FileBasedKeyValueStoreConfigValidationError) ErrorName ¶
func (e FileBasedKeyValueStoreConfigValidationError) ErrorName() string
ErrorName returns error name.
func (FileBasedKeyValueStoreConfigValidationError) Field ¶
func (e FileBasedKeyValueStoreConfigValidationError) Field() string
Field function returns field value.
func (FileBasedKeyValueStoreConfigValidationError) Key ¶
func (e FileBasedKeyValueStoreConfigValidationError) Key() bool
Key function returns key value.
func (FileBasedKeyValueStoreConfigValidationError) Reason ¶
func (e FileBasedKeyValueStoreConfigValidationError) Reason() string
Reason function returns reason value.