Documentation ¶
Index ¶
- Variables
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster) GetName() string
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (x *Cluster) Reset()
- func (x *Cluster) String() string
- func (m *Cluster) Validate() error
- func (m *Cluster) ValidateAll() error
- type ClusterMultiError
- type ClusterValidationError
Constants ¶
This section is empty.
Variables ¶
var File_core_envoy_v1_envoy_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Represents a single Envoy Cluster
func (*Cluster) Descriptor
deprecated
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶
func (x *Cluster) ProtoReflect() protoreflect.Message
func (*Cluster) Validate ¶
Validate checks the field values on Cluster 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 (*Cluster) ValidateAll ¶
ValidateAll checks the field values on Cluster 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 ClusterMultiError, or nil if none found.
type ClusterMultiError ¶
type ClusterMultiError []error
ClusterMultiError is an error wrapping multiple validation errors returned by Cluster.ValidateAll() if the designated constraints aren't met.
func (ClusterMultiError) AllErrors ¶
func (m ClusterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterMultiError) Error ¶
func (m ClusterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterValidationError ¶
type ClusterValidationError struct {
// contains filtered or unexported fields
}
ClusterValidationError is the validation error returned by Cluster.Validate if the designated constraints aren't met.
func (ClusterValidationError) Cause ¶
func (e ClusterValidationError) Cause() error
Cause function returns cause value.
func (ClusterValidationError) Error ¶
func (e ClusterValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterValidationError) ErrorName ¶
func (e ClusterValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterValidationError) Field ¶
func (e ClusterValidationError) Field() string
Field function returns field value.
func (ClusterValidationError) Key ¶
func (e ClusterValidationError) Key() bool
Key function returns key value.
func (ClusterValidationError) Reason ¶
func (e ClusterValidationError) Reason() string
Reason function returns reason value.