- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for proxyMatch (0.11 sec)
-
pilot/pkg/model/envoyfilter_test.go
if filter.ProxyPrefixMatch != tt.expectedVersionPrefix { t.Errorf("unexpected prefix: got %v wanted %v", filter.ProxyPrefixMatch, tt.expectedVersionPrefix) } for ver, match := range tt.matches { got := proxyMatch(&Proxy{Metadata: &NodeMetadata{IstioVersion: ver}}, filter) if got != match { t.Errorf("expected %v to match %v, got %v", ver, match, got) } } }) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 27 04:20:28 UTC 2023 - 7.4K bytes - Viewed (0) -
pilot/pkg/model/envoyfilter.go
cpw.Operation = networking.EnvoyFilter_Patch_ADD } } out.Patches[cp.ApplyTo] = append(out.Patches[cp.ApplyTo], cpw) } return out } func proxyMatch(proxy *Proxy, cp *EnvoyFilterConfigPatchWrapper) bool { if cp.Match.Proxy == nil { return true } if cp.ProxyPrefixMatch != "" { if !strings.HasPrefix(proxy.Metadata.IstioVersion, cp.ProxyPrefixMatch) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 13:57:28 UTC 2024 - 7.1K bytes - Viewed (0) -
pilot/pkg/model/push_context.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0)