grpc_webv2

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 17 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_filter_http_grpc_web_v2_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) Descriptor() ([]byte, []int)

Deprecated: Use GrpcWeb.ProtoReflect.Descriptor instead.

func (*GrpcWeb) ProtoMessage

func (*GrpcWeb) ProtoMessage()

func (*GrpcWeb) ProtoReflect added in v0.9.6

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

func (*GrpcWeb) Reset

func (x *GrpcWeb) Reset()

func (*GrpcWeb) String

func (x *GrpcWeb) String() string

func (*GrpcWeb) Validate

func (m *GrpcWeb) Validate() error

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 added in v0.10.0

func (m *GrpcWeb) ValidateAll() error

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 added in v0.10.0

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 added in v0.10.0

func (m GrpcWebMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GrpcWebMultiError) Error added in v0.10.0

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.

Jump to

Keyboard shortcuts

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