file_basedv3

package
v1.34.1-20240307201954... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 *durationpb.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 *wrapperspb.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() *durationpb.Duration

func (*FileBasedKeyValueStoreConfig) GetMaxEntries

func (*FileBasedKeyValueStoreConfig) ProtoMessage

func (*FileBasedKeyValueStoreConfig) ProtoMessage()

func (*FileBasedKeyValueStoreConfig) ProtoReflect

func (*FileBasedKeyValueStoreConfig) Reset

func (x *FileBasedKeyValueStoreConfig) Reset()

func (*FileBasedKeyValueStoreConfig) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL