cluster_providedv3

package
v0.0.0-...-1441982 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ClusterProvided

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

The cluster provided load balancing policy allows cluster to specify its own load balancing. If this extension is configured, the target cluster must provide load balancer when the cluster is created.

.. note::

Cluster provided load balancing policy could not be used as sub-policy of other hierarchical
load balancing policies, such as subset load balancing policy.

func (*ClusterProvided) Descriptor deprecated

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

Deprecated: Use ClusterProvided.ProtoReflect.Descriptor instead.

func (*ClusterProvided) ProtoMessage

func (*ClusterProvided) ProtoMessage()

func (*ClusterProvided) ProtoReflect

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

func (*ClusterProvided) Reset

func (x *ClusterProvided) Reset()

func (*ClusterProvided) String

func (x *ClusterProvided) String() string

func (*ClusterProvided) Validate

func (m *ClusterProvided) Validate() error

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

func (m *ClusterProvided) ValidateAll() error

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

type ClusterProvidedMultiError

type ClusterProvidedMultiError []error

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

func (ClusterProvidedMultiError) AllErrors

func (m ClusterProvidedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClusterProvidedMultiError) Error

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

type ClusterProvidedValidationError

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

ClusterProvidedValidationError is the validation error returned by ClusterProvided.Validate if the designated constraints aren't met.

func (ClusterProvidedValidationError) Cause

Cause function returns cause value.

func (ClusterProvidedValidationError) Error

Error satisfies the builtin error interface

func (ClusterProvidedValidationError) ErrorName

func (e ClusterProvidedValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterProvidedValidationError) Field

Field function returns field value.

func (ClusterProvidedValidationError) Key

Key function returns key value.

func (ClusterProvidedValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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