router

package
v0.11.8-merged-prereqs Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_solo_io_gloo_projects_gloo_api_v1_options_router_router_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Router

type Router struct {

	// Do not add any additional x-envoy- headers to requests or responses. This only affects the router filter generated x-envoy- headers, other Envoy filters and the HTTP connection manager may continue to set x-envoy- headers.
	SuppressEnvoyHeaders *wrappers.BoolValue `protobuf:"bytes,1,opt,name=suppress_envoy_headers,json=suppressEnvoyHeaders,proto3" json:"suppress_envoy_headers,omitempty"`
	// Whether dynamic stats should be enabled or disabled. If not set, or if
	// set to true, dynamic stats will be enabled. Otherwise, if set to false,
	// dynamic stats will be disabled. It is strongly recommended to leave this
	// in the default state in production - it should only be set to false in
	// very specific benchmarking or profiling scenarios.
	DynamicStats *wrappers.BoolValue `protobuf:"bytes,2,opt,name=dynamic_stats,json=dynamicStats,proto3" json:"dynamic_stats,omitempty"`
	// contains filtered or unexported fields
}

Router is an envoy http filter Maps to https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/router/v3/router.proto

func (*Router) Descriptor deprecated

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

Deprecated: Use Router.ProtoReflect.Descriptor instead.

func (*Router) GetDynamicStats added in v1.16.10

func (x *Router) GetDynamicStats() *wrappers.BoolValue

func (*Router) GetSuppressEnvoyHeaders

func (x *Router) GetSuppressEnvoyHeaders() *wrappers.BoolValue

func (*Router) ProtoMessage

func (*Router) ProtoMessage()

func (*Router) ProtoReflect

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

func (*Router) Reset

func (x *Router) Reset()

func (*Router) String

func (x *Router) String() string

Jump to

Keyboard shortcuts

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