Documentation ¶
Index ¶
- Variables
- type ClusterProvided
- func (*ClusterProvided) Descriptor() ([]byte, []int)deprecated
- func (*ClusterProvided) ProtoMessage()
- func (x *ClusterProvided) ProtoReflect() protoreflect.Message
- func (x *ClusterProvided) Reset()
- func (x *ClusterProvided) String() string
- func (m *ClusterProvided) Validate() error
- func (m *ClusterProvided) ValidateAll() error
- type ClusterProvidedMultiError
- type ClusterProvidedValidationError
- func (e ClusterProvidedValidationError) Cause() error
- func (e ClusterProvidedValidationError) Error() string
- func (e ClusterProvidedValidationError) ErrorName() string
- func (e ClusterProvidedValidationError) Field() string
- func (e ClusterProvidedValidationError) Key() bool
- func (e ClusterProvidedValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
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 ¶
func (m ClusterProvidedMultiError) Error() string
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 ¶
func (e ClusterProvidedValidationError) Cause() error
Cause function returns cause value.
func (ClusterProvidedValidationError) Error ¶
func (e ClusterProvidedValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterProvidedValidationError) ErrorName ¶
func (e ClusterProvidedValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterProvidedValidationError) Field ¶
func (e ClusterProvidedValidationError) Field() string
Field function returns field value.
func (ClusterProvidedValidationError) Key ¶
func (e ClusterProvidedValidationError) Key() bool
Key function returns key value.
func (ClusterProvidedValidationError) Reason ¶
func (e ClusterProvidedValidationError) Reason() string
Reason function returns reason value.