header_mutationv3

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 19 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_http_early_header_mutation_header_mutation_v3_header_mutation_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HeaderMutation

type HeaderMutation struct {
	Mutations []*v3.HeaderMutation `protobuf:"bytes,1,rep,name=mutations,proto3" json:"mutations,omitempty"`
	// contains filtered or unexported fields
}

This extension allows for early header mutation by the substitution formatter.

func (*HeaderMutation) Descriptor deprecated

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

Deprecated: Use HeaderMutation.ProtoReflect.Descriptor instead.

func (*HeaderMutation) GetMutations

func (x *HeaderMutation) GetMutations() []*v3.HeaderMutation

func (*HeaderMutation) ProtoMessage

func (*HeaderMutation) ProtoMessage()

func (*HeaderMutation) ProtoReflect

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

func (*HeaderMutation) Reset

func (x *HeaderMutation) Reset()

func (*HeaderMutation) String

func (x *HeaderMutation) String() string

func (*HeaderMutation) Validate

func (m *HeaderMutation) Validate() error

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

func (m *HeaderMutation) ValidateAll() error

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

type HeaderMutationMultiError

type HeaderMutationMultiError []error

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

func (HeaderMutationMultiError) AllErrors

func (m HeaderMutationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HeaderMutationMultiError) Error

func (m HeaderMutationMultiError) Error() string

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

type HeaderMutationValidationError

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

HeaderMutationValidationError is the validation error returned by HeaderMutation.Validate if the designated constraints aren't met.

func (HeaderMutationValidationError) Cause

Cause function returns cause value.

func (HeaderMutationValidationError) Error

Error satisfies the builtin error interface

func (HeaderMutationValidationError) ErrorName

func (e HeaderMutationValidationError) ErrorName() string

ErrorName returns error name.

func (HeaderMutationValidationError) Field

Field function returns field value.

func (HeaderMutationValidationError) Key

Key function returns key value.

func (HeaderMutationValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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