Documentation ¶
Index ¶
- Variables
- type HeaderMutation
- func (*HeaderMutation) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderMutation) GetMutations() *Mutations
- func (*HeaderMutation) ProtoMessage()
- func (x *HeaderMutation) ProtoReflect() protoreflect.Message
- func (x *HeaderMutation) Reset()
- func (x *HeaderMutation) String() string
- func (m *HeaderMutation) Validate() error
- func (m *HeaderMutation) ValidateAll() error
- type HeaderMutationMultiError
- type HeaderMutationPerRoute
- func (*HeaderMutationPerRoute) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderMutationPerRoute) GetMutations() *Mutations
- func (*HeaderMutationPerRoute) ProtoMessage()
- func (x *HeaderMutationPerRoute) ProtoReflect() protoreflect.Message
- func (x *HeaderMutationPerRoute) Reset()
- func (x *HeaderMutationPerRoute) String() string
- func (m *HeaderMutationPerRoute) Validate() error
- func (m *HeaderMutationPerRoute) ValidateAll() error
- type HeaderMutationPerRouteMultiError
- type HeaderMutationPerRouteValidationError
- func (e HeaderMutationPerRouteValidationError) Cause() error
- func (e HeaderMutationPerRouteValidationError) Error() string
- func (e HeaderMutationPerRouteValidationError) ErrorName() string
- func (e HeaderMutationPerRouteValidationError) Field() string
- func (e HeaderMutationPerRouteValidationError) Key() bool
- func (e HeaderMutationPerRouteValidationError) Reason() string
- type HeaderMutationValidationError
- func (e HeaderMutationValidationError) Cause() error
- func (e HeaderMutationValidationError) Error() string
- func (e HeaderMutationValidationError) ErrorName() string
- func (e HeaderMutationValidationError) Field() string
- func (e HeaderMutationValidationError) Key() bool
- func (e HeaderMutationValidationError) Reason() string
- type Mutations
- func (*Mutations) Descriptor() ([]byte, []int)deprecated
- func (x *Mutations) GetRequestMutations() []*v3.HeaderMutation
- func (x *Mutations) GetResponseMutations() []*v3.HeaderMutation
- func (*Mutations) ProtoMessage()
- func (x *Mutations) ProtoReflect() protoreflect.Message
- func (x *Mutations) Reset()
- func (x *Mutations) String() string
- func (m *Mutations) Validate() error
- func (m *Mutations) ValidateAll() error
- type MutationsMultiError
- type MutationsValidationError
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_filters_http_header_mutation_v3_header_mutation_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HeaderMutation ¶
type HeaderMutation struct { Mutations *Mutations `protobuf:"bytes,1,opt,name=mutations,proto3" json:"mutations,omitempty"` // contains filtered or unexported fields }
Configuration for the header mutation filter. The mutation rules in the filter configuration will always be applied first and then the per-route mutation rules, if both are specified.
func (*HeaderMutation) Descriptor
deprecated
func (*HeaderMutation) Descriptor() ([]byte, []int)
Deprecated: Use HeaderMutation.ProtoReflect.Descriptor instead.
func (*HeaderMutation) GetMutations ¶
func (x *HeaderMutation) GetMutations() *Mutations
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 HeaderMutationPerRoute ¶
type HeaderMutationPerRoute struct { Mutations *Mutations `protobuf:"bytes,1,opt,name=mutations,proto3" json:"mutations,omitempty"` // contains filtered or unexported fields }
Per route configuration for the header mutation filter. If this is configured at multiple levels (route level, virtual host level, and route table level), only the most specific one will be used.
func (*HeaderMutationPerRoute) Descriptor
deprecated
func (*HeaderMutationPerRoute) Descriptor() ([]byte, []int)
Deprecated: Use HeaderMutationPerRoute.ProtoReflect.Descriptor instead.
func (*HeaderMutationPerRoute) GetMutations ¶
func (x *HeaderMutationPerRoute) GetMutations() *Mutations
func (*HeaderMutationPerRoute) ProtoMessage ¶
func (*HeaderMutationPerRoute) ProtoMessage()
func (*HeaderMutationPerRoute) ProtoReflect ¶
func (x *HeaderMutationPerRoute) ProtoReflect() protoreflect.Message
func (*HeaderMutationPerRoute) Reset ¶
func (x *HeaderMutationPerRoute) Reset()
func (*HeaderMutationPerRoute) String ¶
func (x *HeaderMutationPerRoute) String() string
func (*HeaderMutationPerRoute) Validate ¶
func (m *HeaderMutationPerRoute) Validate() error
Validate checks the field values on HeaderMutationPerRoute 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 (*HeaderMutationPerRoute) ValidateAll ¶
func (m *HeaderMutationPerRoute) ValidateAll() error
ValidateAll checks the field values on HeaderMutationPerRoute 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 HeaderMutationPerRouteMultiError, or nil if none found.
type HeaderMutationPerRouteMultiError ¶
type HeaderMutationPerRouteMultiError []error
HeaderMutationPerRouteMultiError is an error wrapping multiple validation errors returned by HeaderMutationPerRoute.ValidateAll() if the designated constraints aren't met.
func (HeaderMutationPerRouteMultiError) AllErrors ¶
func (m HeaderMutationPerRouteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HeaderMutationPerRouteMultiError) Error ¶
func (m HeaderMutationPerRouteMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HeaderMutationPerRouteValidationError ¶
type HeaderMutationPerRouteValidationError struct {
// contains filtered or unexported fields
}
HeaderMutationPerRouteValidationError is the validation error returned by HeaderMutationPerRoute.Validate if the designated constraints aren't met.
func (HeaderMutationPerRouteValidationError) Cause ¶
func (e HeaderMutationPerRouteValidationError) Cause() error
Cause function returns cause value.
func (HeaderMutationPerRouteValidationError) Error ¶
func (e HeaderMutationPerRouteValidationError) Error() string
Error satisfies the builtin error interface
func (HeaderMutationPerRouteValidationError) ErrorName ¶
func (e HeaderMutationPerRouteValidationError) ErrorName() string
ErrorName returns error name.
func (HeaderMutationPerRouteValidationError) Field ¶
func (e HeaderMutationPerRouteValidationError) Field() string
Field function returns field value.
func (HeaderMutationPerRouteValidationError) Key ¶
func (e HeaderMutationPerRouteValidationError) Key() bool
Key function returns key value.
func (HeaderMutationPerRouteValidationError) Reason ¶
func (e HeaderMutationPerRouteValidationError) Reason() string
Reason function returns reason value.
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 ¶
func (e HeaderMutationValidationError) Cause() error
Cause function returns cause value.
func (HeaderMutationValidationError) Error ¶
func (e HeaderMutationValidationError) Error() string
Error satisfies the builtin error interface
func (HeaderMutationValidationError) ErrorName ¶
func (e HeaderMutationValidationError) ErrorName() string
ErrorName returns error name.
func (HeaderMutationValidationError) Field ¶
func (e HeaderMutationValidationError) Field() string
Field function returns field value.
func (HeaderMutationValidationError) Key ¶
func (e HeaderMutationValidationError) Key() bool
Key function returns key value.
func (HeaderMutationValidationError) Reason ¶
func (e HeaderMutationValidationError) Reason() string
Reason function returns reason value.
type Mutations ¶
type Mutations struct { // The request mutations are applied before the request is forwarded to the upstream cluster. RequestMutations []*v3.HeaderMutation `protobuf:"bytes,1,rep,name=request_mutations,json=requestMutations,proto3" json:"request_mutations,omitempty"` // The response mutations are applied before the response is sent to the downstream client. ResponseMutations []*v3.HeaderMutation `protobuf:"bytes,2,rep,name=response_mutations,json=responseMutations,proto3" json:"response_mutations,omitempty"` // contains filtered or unexported fields }
func (*Mutations) Descriptor
deprecated
func (*Mutations) GetRequestMutations ¶
func (x *Mutations) GetRequestMutations() []*v3.HeaderMutation
func (*Mutations) GetResponseMutations ¶
func (x *Mutations) GetResponseMutations() []*v3.HeaderMutation
func (*Mutations) ProtoMessage ¶
func (*Mutations) ProtoMessage()
func (*Mutations) ProtoReflect ¶
func (x *Mutations) ProtoReflect() protoreflect.Message
func (*Mutations) Validate ¶
Validate checks the field values on Mutations 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 (*Mutations) ValidateAll ¶
ValidateAll checks the field values on Mutations 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 MutationsMultiError, or nil if none found.
type MutationsMultiError ¶
type MutationsMultiError []error
MutationsMultiError is an error wrapping multiple validation errors returned by Mutations.ValidateAll() if the designated constraints aren't met.
func (MutationsMultiError) AllErrors ¶
func (m MutationsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MutationsMultiError) Error ¶
func (m MutationsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MutationsValidationError ¶
type MutationsValidationError struct {
// contains filtered or unexported fields
}
MutationsValidationError is the validation error returned by Mutations.Validate if the designated constraints aren't met.
func (MutationsValidationError) Cause ¶
func (e MutationsValidationError) Cause() error
Cause function returns cause value.
func (MutationsValidationError) Error ¶
func (e MutationsValidationError) Error() string
Error satisfies the builtin error interface
func (MutationsValidationError) ErrorName ¶
func (e MutationsValidationError) ErrorName() string
ErrorName returns error name.
func (MutationsValidationError) Field ¶
func (e MutationsValidationError) Field() string
Field function returns field value.
func (MutationsValidationError) Key ¶
func (e MutationsValidationError) Key() bool
Key function returns key value.
func (MutationsValidationError) Reason ¶
func (e MutationsValidationError) Reason() string
Reason function returns reason value.