Documentation ¶
Index ¶
- Variables
- type KeyValueStoreXdsDelegateConfig
- func (*KeyValueStoreXdsDelegateConfig) Descriptor() ([]byte, []int)deprecated
- func (x *KeyValueStoreXdsDelegateConfig) GetKeyValueStoreConfig() *v3.KeyValueStoreConfig
- func (*KeyValueStoreXdsDelegateConfig) ProtoMessage()
- func (x *KeyValueStoreXdsDelegateConfig) ProtoReflect() protoreflect.Message
- func (x *KeyValueStoreXdsDelegateConfig) Reset()
- func (x *KeyValueStoreXdsDelegateConfig) String() string
- func (m *KeyValueStoreXdsDelegateConfig) Validate() error
- func (m *KeyValueStoreXdsDelegateConfig) ValidateAll() error
- type KeyValueStoreXdsDelegateConfigMultiError
- type KeyValueStoreXdsDelegateConfigValidationError
- func (e KeyValueStoreXdsDelegateConfigValidationError) Cause() error
- func (e KeyValueStoreXdsDelegateConfigValidationError) Error() string
- func (e KeyValueStoreXdsDelegateConfigValidationError) ErrorName() string
- func (e KeyValueStoreXdsDelegateConfigValidationError) Field() string
- func (e KeyValueStoreXdsDelegateConfigValidationError) Key() bool
- func (e KeyValueStoreXdsDelegateConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_contrib_envoy_extensions_config_v3alpha_kv_store_xds_delegate_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type KeyValueStoreXdsDelegateConfig ¶
type KeyValueStoreXdsDelegateConfig struct { // Configuration for the KeyValueStore that holds the xDS resources. // [#allow-fully-qualified-name:] KeyValueStoreConfig *v3.KeyValueStoreConfig `protobuf:"bytes,1,opt,name=key_value_store_config,json=keyValueStoreConfig,proto3" json:"key_value_store_config,omitempty"` // contains filtered or unexported fields }
[#extension: envoy.xds_delegates.kv_store]
Configuration for a KeyValueStore-based XdsResourcesDelegate implementation. This implementation updates the underlying KV store with xDS resources received from the configured management servers, enabling configuration to be persisted locally and used on startup in case connectivity with the xDS management servers could not be established.
The KV Store based delegate's handling of wildcard resources (empty resource list or "*") is designed for use with O(100) resources or fewer, so it's not currently advised to use this feature for large configurations with heavy use of wildcard resources.
func (*KeyValueStoreXdsDelegateConfig) Descriptor
deprecated
func (*KeyValueStoreXdsDelegateConfig) Descriptor() ([]byte, []int)
Deprecated: Use KeyValueStoreXdsDelegateConfig.ProtoReflect.Descriptor instead.
func (*KeyValueStoreXdsDelegateConfig) GetKeyValueStoreConfig ¶
func (x *KeyValueStoreXdsDelegateConfig) GetKeyValueStoreConfig() *v3.KeyValueStoreConfig
func (*KeyValueStoreXdsDelegateConfig) ProtoMessage ¶
func (*KeyValueStoreXdsDelegateConfig) ProtoMessage()
func (*KeyValueStoreXdsDelegateConfig) ProtoReflect ¶
func (x *KeyValueStoreXdsDelegateConfig) ProtoReflect() protoreflect.Message
func (*KeyValueStoreXdsDelegateConfig) Reset ¶
func (x *KeyValueStoreXdsDelegateConfig) Reset()
func (*KeyValueStoreXdsDelegateConfig) String ¶
func (x *KeyValueStoreXdsDelegateConfig) String() string
func (*KeyValueStoreXdsDelegateConfig) Validate ¶
func (m *KeyValueStoreXdsDelegateConfig) Validate() error
Validate checks the field values on KeyValueStoreXdsDelegateConfig 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 (*KeyValueStoreXdsDelegateConfig) ValidateAll ¶
func (m *KeyValueStoreXdsDelegateConfig) ValidateAll() error
ValidateAll checks the field values on KeyValueStoreXdsDelegateConfig 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 KeyValueStoreXdsDelegateConfigMultiError, or nil if none found.
type KeyValueStoreXdsDelegateConfigMultiError ¶
type KeyValueStoreXdsDelegateConfigMultiError []error
KeyValueStoreXdsDelegateConfigMultiError is an error wrapping multiple validation errors returned by KeyValueStoreXdsDelegateConfig.ValidateAll() if the designated constraints aren't met.
func (KeyValueStoreXdsDelegateConfigMultiError) AllErrors ¶
func (m KeyValueStoreXdsDelegateConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KeyValueStoreXdsDelegateConfigMultiError) Error ¶
func (m KeyValueStoreXdsDelegateConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KeyValueStoreXdsDelegateConfigValidationError ¶
type KeyValueStoreXdsDelegateConfigValidationError struct {
// contains filtered or unexported fields
}
KeyValueStoreXdsDelegateConfigValidationError is the validation error returned by KeyValueStoreXdsDelegateConfig.Validate if the designated constraints aren't met.
func (KeyValueStoreXdsDelegateConfigValidationError) Cause ¶
func (e KeyValueStoreXdsDelegateConfigValidationError) Cause() error
Cause function returns cause value.
func (KeyValueStoreXdsDelegateConfigValidationError) Error ¶
func (e KeyValueStoreXdsDelegateConfigValidationError) Error() string
Error satisfies the builtin error interface
func (KeyValueStoreXdsDelegateConfigValidationError) ErrorName ¶
func (e KeyValueStoreXdsDelegateConfigValidationError) ErrorName() string
ErrorName returns error name.
func (KeyValueStoreXdsDelegateConfigValidationError) Field ¶
func (e KeyValueStoreXdsDelegateConfigValidationError) Field() string
Field function returns field value.
func (KeyValueStoreXdsDelegateConfigValidationError) Key ¶
func (e KeyValueStoreXdsDelegateConfigValidationError) Key() bool
Key function returns key value.
func (KeyValueStoreXdsDelegateConfigValidationError) Reason ¶
func (e KeyValueStoreXdsDelegateConfigValidationError) Reason() string
Reason function returns reason value.