- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for IsHTTPFilterChain (0.24 sec)
-
pilot/pkg/networking/core/listener_test.go
t.Fatalf("expected listener on port %d, but not found", 15080) } if len(l.FilterChains) != 1 { t.Fatalf("expected %d filter chains, found %d", 1, len(l.FilterChains)) } else { if !isHTTPFilterChain(l.FilterChains[0]) { t.Fatalf("expected http filter chain, found %s", l.FilterChains[1].Filters[0].Name) } if len(l.ListenerFilters) > 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 93.6K bytes - Viewed (0) -
pilot/pkg/networking/util/util.go
Kind: &structpb.Value_StringValue{ StringValue: "false", }, } return metadata } // IsHTTPFilterChain returns true if the filter chain contains a HTTP connection manager filter func IsHTTPFilterChain(filterChain *listener.FilterChain) bool { for _, f := range filterChain.Filters { if f.Name == wellknown.HTTPConnectionManager { return true } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 28.5K bytes - Viewed (0) -
pilot/pkg/networking/util/util_test.go
} tcpFilterChain := &listener.FilterChain{ Filters: []*listener.Filter{ { Name: xdsutil.TCPProxy, }, }, } if !IsHTTPFilterChain(httpFilterChain) { t.Errorf("http Filter chain not detected properly") } if IsHTTPFilterChain(tcpFilterChain) { t.Errorf("tcp filter chain detected as http filter chain") } } func TestIsAllowAnyOutbound(t *testing.T) { tests := []struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 40K bytes - Viewed (0)