header_mutationv3

package
v1.34.1-20231023201538... 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"`
	// 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

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

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