package key_valuev3

import "github.com/envoyproxy/go-control-plane/envoy/config/common/key_value/v3"

Index

Variables

var File_envoy_config_common_key_value_v3_config_proto protoreflect.FileDescriptor

Types

type KeyValueStoreConfig

type KeyValueStoreConfig struct {

	// [#extension-category: envoy.common.key_value]
	Config *v3.TypedExtensionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

This shared configuration for Envoy key value stores.

func (*KeyValueStoreConfig) Descriptor

func (*KeyValueStoreConfig) Descriptor() ([]byte, []int)

Deprecated: Use KeyValueStoreConfig.ProtoReflect.Descriptor instead.

func (*KeyValueStoreConfig) GetConfig

func (*KeyValueStoreConfig) ProtoMessage

func (*KeyValueStoreConfig) ProtoMessage()

func (*KeyValueStoreConfig) ProtoReflect

func (x *KeyValueStoreConfig) ProtoReflect() protoreflect.Message

func (*KeyValueStoreConfig) Reset

func (x *KeyValueStoreConfig) Reset()

func (*KeyValueStoreConfig) String

func (x *KeyValueStoreConfig) String() string

func (*KeyValueStoreConfig) Validate

func (m *KeyValueStoreConfig) Validate() error

Validate checks the field values on KeyValueStoreConfig 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 (*KeyValueStoreConfig) ValidateAll

func (m *KeyValueStoreConfig) ValidateAll() error

ValidateAll checks the field values on KeyValueStoreConfig 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 KeyValueStoreConfigMultiError, or nil if none found.

type KeyValueStoreConfigMultiError

type KeyValueStoreConfigMultiError []error

KeyValueStoreConfigMultiError is an error wrapping multiple validation errors returned by KeyValueStoreConfig.ValidateAll() if the designated constraints aren't met.

func (KeyValueStoreConfigMultiError) AllErrors

func (m KeyValueStoreConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KeyValueStoreConfigMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type KeyValueStoreConfigValidationError

type KeyValueStoreConfigValidationError struct {
	// contains filtered or unexported fields
}

KeyValueStoreConfigValidationError is the validation error returned by KeyValueStoreConfig.Validate if the designated constraints aren't met.

func (KeyValueStoreConfigValidationError) Cause

Cause function returns cause value.

func (KeyValueStoreConfigValidationError) Error

Error satisfies the builtin error interface

func (KeyValueStoreConfigValidationError) ErrorName

ErrorName returns error name.

func (KeyValueStoreConfigValidationError) Field

Field function returns field value.

func (KeyValueStoreConfigValidationError) Key

Key function returns key value.

func (KeyValueStoreConfigValidationError) Reason

Reason function returns reason value.

Source Files

config.pb.go config.pb.validate.go

Version
v1.32.4 (latest)
Published
Feb 3, 2025
Platform
linux/amd64
Imports
20 packages
Last checked
1 day ago

Tools for package owners.