Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_filters_http_grpc_web_v3_grpc_web_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GrpcWeb ¶
type GrpcWeb struct {
// contains filtered or unexported fields
}
gRPC Web filter config.
func (*GrpcWeb) Descriptor
deprecated
func (*GrpcWeb) ProtoMessage ¶
func (*GrpcWeb) ProtoMessage()
func (*GrpcWeb) ProtoReflect ¶
func (x *GrpcWeb) ProtoReflect() protoreflect.Message
func (*GrpcWeb) Validate ¶
Validate checks the field values on GrpcWeb 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 (*GrpcWeb) ValidateAll ¶
ValidateAll checks the field values on GrpcWeb 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 GrpcWebMultiError, or nil if none found.
type GrpcWebMultiError ¶
type GrpcWebMultiError []error
GrpcWebMultiError is an error wrapping multiple validation errors returned by GrpcWeb.ValidateAll() if the designated constraints aren't met.
func (GrpcWebMultiError) AllErrors ¶
func (m GrpcWebMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrpcWebMultiError) Error ¶
func (m GrpcWebMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrpcWebValidationError ¶
type GrpcWebValidationError struct {
// contains filtered or unexported fields
}
GrpcWebValidationError is the validation error returned by GrpcWeb.Validate if the designated constraints aren't met.
func (GrpcWebValidationError) Cause ¶
func (e GrpcWebValidationError) Cause() error
Cause function returns cause value.
func (GrpcWebValidationError) Error ¶
func (e GrpcWebValidationError) Error() string
Error satisfies the builtin error interface
func (GrpcWebValidationError) ErrorName ¶
func (e GrpcWebValidationError) ErrorName() string
ErrorName returns error name.
func (GrpcWebValidationError) Field ¶
func (e GrpcWebValidationError) Field() string
Field function returns field value.
func (GrpcWebValidationError) Key ¶
func (e GrpcWebValidationError) Key() bool
Key function returns key value.
func (GrpcWebValidationError) Reason ¶
func (e GrpcWebValidationError) Reason() string
Reason function returns reason value.