header_mutationv3

package
v1.33.0-20240425200945... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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"`
	// If per route HeaderMutationPerRoute config is configured at multiple route levels, header mutations
	// at all specified levels are evaluated. By default, the order is from most specific (i.e. route entry level)
	// to least specific (i.e. route configuration level). Later header mutations may override earlier mutations.
	//
	// This order can be reversed by setting this field to true. In other words, most specific level mutation
	// is evaluated last.
	MostSpecificHeaderMutationsWins bool `` /* 161-byte string literal not displayed */
	// 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) GetMostSpecificHeaderMutationsWins

func (x *HeaderMutation) GetMostSpecificHeaderMutationsWins() bool

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

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.

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

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

Deprecated: Use Mutations.ProtoReflect.Descriptor instead.

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) Reset

func (x *Mutations) Reset()

func (*Mutations) String

func (x *Mutations) String() string

Jump to

Keyboard shortcuts

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