- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for VSMatches (0.2 sec)
-
pilot/pkg/model/virtualservice.go
key := vs.NamespacedName() if vsset.Contains(key) { return } rule := vs.Spec.(*networking.VirtualService) useGatewaySemantics := UseGatewaySemantics(vs) for _, vh := range rule.Hosts { if hc.VSMatches(host.Name(vh), useGatewaySemantics) { importedVirtualServices = append(importedVirtualServices, vs) vsset.Insert(key) return } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 11:17:03 UTC 2024 - 17.4K bytes - Viewed (0) -
pilot/pkg/model/sidecar.go
// Check if the hostnames match per usual hostname matching rules if h.SubsetOf(importedHost) { return true } } return false } // VSMatches checks if the hostClassification(sidecar egress hosts) matches the VirtualService's host func (hc hostClassification) VSMatches(vsHost host.Name, useGatewaySemantics bool) bool { // first, check exactHosts if hc.exactHosts.Contains(vsHost) { return true }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 20:32:23 UTC 2024 - 38.4K bytes - Viewed (0)