key_valuev3

package
v0.0.0-...-b92c97c Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_common_key_value_v3_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

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 deprecated

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.

Jump to

Keyboard shortcuts

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