- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for mergeVirtualServicesIfNeeded (0.28 sec)
-
pilot/pkg/model/virtualservice_test.go
assert.Equal(t, gotOrder, wantOrder) } vses := []config.Config{root, delegate, normal} checkOrder(mergeVirtualServicesIfNeeded(vses, sets.New(visibility.Public))) vses = []config.Config{normal, delegate, root} checkOrder(mergeVirtualServicesIfNeeded(vses, sets.New(visibility.Public))) }) } func TestMergeHttpRoutes(t *testing.T) { dstV1 := &networking.Destination{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 60.6K bytes - Viewed (0) -
pilot/pkg/model/virtualservice.go
if w.Destination != nil { w.Destination.Host = string(ResolveShortnameToFQDN(w.Destination.Host, meta)) } } } } // Return merged virtual services and the root->delegate vs map func mergeVirtualServicesIfNeeded( vServices []config.Config, defaultExportTo sets.Set[visibility.Instance], ) ([]config.Config, map[ConfigKey][]ConfigKey) { out := make([]config.Config, 0, len(vServices))
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/push_context.go
for _, r := range vservices { resolveVirtualServiceShortnames(r.Spec.(*networking.VirtualService), r.Meta) } vservices, ps.virtualServiceIndex.delegates = mergeVirtualServicesIfNeeded(vservices, ps.exportToDefaults.virtualService) for _, virtualService := range vservices { ns := virtualService.Namespace rule := virtualService.Spec.(*networking.VirtualService)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0)