- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for BuildRouterFilter (0.8 sec)
-
pilot/pkg/xds/filters/filters_test.go
TypedConfig: protoconv.MessageToAny(&router.Router{ StartChildSpan: false, }), }, }, }, } for _, tt := range tests { result := BuildRouterFilter(tt.ctx) if !reflect.DeepEqual(result, tt.expected) { t.Errorf("Test %s failed, expected: %v ,got: %v", tt.name, spew.Sdump(result), spew.Sdump(tt.expected)) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Sep 11 15:29:30 UTC 2023 - 2.3K bytes - Viewed (0) -
pilot/pkg/networking/grpcgen/lds.go
xdsfilters "istio.io/istio/pilot/pkg/xds/filters" "istio.io/istio/pkg/istio-agent/grpcxds" "istio.io/istio/pkg/util/sets" ) var supportedFilters = []*hcm.HttpFilter{ xdsfilters.Fault, xdsfilters.BuildRouterFilter(xdsfilters.RouterFilterContext{ StartChildSpan: false, SuppressDebugHeaders: false, // No need to set this to true, gRPC doesn't respect it anyways }), } const (
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 14.6K bytes - Viewed (0) -
pilot/pkg/xds/filters/filters.go
StartChildSpan: startSpan, SuppressEnvoyHeaders: suppressHeaders, }), }, } } } return res }() func BuildRouterFilter(ctx RouterFilterContext) *hcm.HttpFilter { return routers[ctx] } var ( // These ALPNs are injected in the client side by the ALPN filter. // "istio" is added for each upstream protocol in order to make it
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 09 09:24:25 UTC 2024 - 15.5K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_builder.go
if features.EnablePersistentSessionFilter && httpOpts.class != istionetworking.ListenerClassSidecarInbound { filters = append(filters, xdsfilters.EmptySessionFilter) } filters = append(filters, xdsfilters.BuildRouterFilter(xdsfilters.RouterFilterContext{ SuppressDebugHeaders: httpOpts.suppressEnvoyDebugHeaders, })) connectionManager.HttpFilters = filters
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 17.9K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_waypoint.go
} // Filters needed to propagate the tunnel metadata to the inner streams. h.HttpFilters = []*hcm.HttpFilter{ xdsfilters.WaypointDownstreamMetadataFilter, xdsfilters.ConnectAuthorityFilter, xdsfilters.BuildRouterFilter(xdsfilters.RouterFilterContext{ StartChildSpan: false, SuppressDebugHeaders: ph.SuppressDebugHeaders, }), } return []*listener.Filter{ { Name: wellknown.HTTPConnectionManager,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 27.6K bytes - Viewed (0)