package v3alpha

import "github.com/envoyproxy/go-control-plane/contrib/envoy/extensions/config/v3alpha"

Index

Variables

var File_contrib_envoy_extensions_config_v3alpha_kv_store_xds_delegate_config_proto protoreflect.FileDescriptor

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

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.

Source Files

kv_store_xds_delegate_config.pb.go kv_store_xds_delegate_config.pb.validate.go

Version
v0.11.0
Published
Jan 30, 2023
Platform
linux/amd64
Imports
18 packages
Last checked
11 minutes ago

Tools for package owners.