v3alpha

package
v0.0.0-...-5360bea Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 (*KeyValueStoreXdsDelegateConfig) Reset

func (x *KeyValueStoreXdsDelegateConfig) Reset()

func (*KeyValueStoreXdsDelegateConfig) 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

AllErrors returns a list of validation violation errors.

func (KeyValueStoreXdsDelegateConfigMultiError) Error

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

Cause function returns cause value.

func (KeyValueStoreXdsDelegateConfigValidationError) Error

Error satisfies the builtin error interface

func (KeyValueStoreXdsDelegateConfigValidationError) ErrorName

ErrorName returns error name.

func (KeyValueStoreXdsDelegateConfigValidationError) Field

Field function returns field value.

func (KeyValueStoreXdsDelegateConfigValidationError) Key

Key function returns key value.

func (KeyValueStoreXdsDelegateConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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