- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for GetFilterChains (0.17 sec)
-
pilot/test/xdstest/extract.go
} func ExtractFilterChain(name string, l *listener.Listener) *listener.FilterChain { for _, f := range l.GetFilterChains() { if f.GetName() == name { return f } } return nil } func ExtractFilterChainNames(l *listener.Listener) []string { res := []string{} for _, f := range l.GetFilterChains() { res = append(res, f.GetName()) } return res }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 19 22:42:42 UTC 2023 - 13.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
if l.Port != 0 && retrieveListenerPort(listener) != l.Port { return false } if l.Type != "" && !strings.EqualFold(retrieveListenerType(listener), l.Type) { return false } return true } func getFilterChains(l *listener.Listener) []*listener.FilterChain { res := l.FilterChains if l.DefaultFilterChain != nil { res = append(res, l.DefaultFilterChain) } return res }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 29 12:37:14 UTC 2023 - 18.1K bytes - Viewed (0) -
pilot/test/xdstest/validate.go
// Not an inbound port return } if l.GetTrafficDirection() != core.TrafficDirection_INBOUND { // Not an inbound listener return } for i, fc := range l.GetFilterChains() { if fc.FilterChainMatch == nil { t.Errorf("nil filter chain %d", i) continue } if fc.FilterChainMatch.TransportProtocol == "" && fc.FilterChainMatch.GetDestinationPort().GetValue() != 15006 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 9.2K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_test.go
} } } } func getFilterChains(l *listener.Listener) []*listener.FilterChain { res := l.FilterChains if l.DefaultFilterChain != nil { res = append(res, l.DefaultFilterChain) } return res } func getTCPFilterChain(t *testing.T, l *listener.Listener) *listener.FilterChain { t.Helper() for _, fc := range getFilterChains(l) { for _, f := range fc.Filters {
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/core/gateway.go
ml.mutable.Listener = buildGatewayListener(*ml.opts, ml.transport) log.Debugf("buildGatewayListeners: marshaling listener %q with %d filter chains", ml.mutable.Listener.GetName(), len(ml.mutable.Listener.GetFilterChains())) // Filters are serialized one time into an opaque struct once we have the complete list. if err := ml.mutable.build(builder, *ml.opts); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 46.4K bytes - Viewed (0)